Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

chore(web): 重建完整主线的应用产物

longmeidao71ad82f13614
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 62da03d70..5ee1b32b5 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration]){opacity:0}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-byline]{row-gap:2px;height:calc(2lh + 2px);overflow:hidden}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-who]{flex-basis:100%}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-company-names]{flex-basis:100%}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]),.peach-react [data-catalog-tags]>[data-skeleton=tag]{height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);grid-template-columns:38px minmax(0,1fr);gap:3px 10px;display:grid}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{-webkit-line-clamp:2;overflow-wrap:anywhere;min-height:40px;font:var(--board-body-medium);-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.peach-react [data-jav-identity]{align-items:center;gap:8px;min-width:0;min-height:40px;display:flex}.peach-react [data-jav-faces]{flex-shrink:0;align-items:center;max-width:50%;display:flex}.peach-react [data-jav-faces] [data-media-avatars]{max-width:none}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{--follow-image-arrow-inset:16px;flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-jav-detail] [data-jav-art]{--follow-image-arrow-inset:16px;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{--follow-image-arrow-inset:10px;min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-media-carousel] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-24{height:calc(var(--spacing) * 24)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:flex{display:flex}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:hidden{display:none}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-60{width:calc(var(--spacing) * 60)}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration]){opacity:0}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-byline]{row-gap:2px;height:calc(2lh + 2px);overflow:hidden}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-who]{flex-basis:100%}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-company-names]{flex-basis:100%}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]),.peach-react [data-catalog-tags]>[data-skeleton=tag]{height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);grid-template-columns:38px minmax(0,1fr);gap:3px 10px;display:grid}.peach-react [data-follow-labels]{grid-column:1/-1}.peach-react [data-follow-item] [data-media-meta]>[data-follow-labels]{pointer-events:none}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{color:inherit;text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{-webkit-line-clamp:2;overflow-wrap:anywhere;min-height:40px;font:var(--board-body-medium);-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.peach-react [data-jav-identity]{align-items:center;gap:8px;min-width:0;min-height:40px;display:flex}.peach-react [data-jav-faces]{flex-shrink:0;align-items:center;max-width:50%;display:flex}.peach-react [data-jav-faces] [data-media-avatars]{max-width:none}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{--follow-image-arrow-inset:16px;flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-jav-detail] [data-jav-art]{--follow-image-arrow-inset:16px;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{flex:none;width:18px;height:18px}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rate],.peach-react [data-review-rating] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{--follow-image-arrow-inset:10px;min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:clamp(300px,calc(100dvh - 294px),76dvh)}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{--detail-card-width:216px;background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}[data-settings-panel] [data-settings-service]{z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.ui-externalmark{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden auto}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-cleanuppage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-organizefields{gap:12px;margin-top:12px;display:grid}.ui-organizefield{gap:6px;min-width:0;display:grid}.ui-organizefield>span{color:var(--ink-2);font-size:var(--fs-sm)}.ui-organizepresets{flex-wrap:wrap;gap:8px;display:flex}.ui-cleanuppage{width:100%;max-width:var(--board-content)}.ui-organize-preset-skeleton>[class~=skeleton-text]{width:4.5em;max-width:none}.ui-organize-input-skeleton{align-items:center;display:flex}.ui-resourcesync{scroll-margin-top:calc(var(--topH) + 18px);gap:16px;display:grid}section.ui-resourcesync>h2{font:var(--board-heading);letter-spacing:0;margin:0}.ui-linkstats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 32px;margin-top:16px;display:grid}.ui-linkstats>div,.ui-linkhosts{gap:2px;min-width:0;display:grid}.ui-linkstats span,.ui-linkhosts span{color:var(--muted);font-size:var(--fs-xs)}.ui-linkstats b{font-size:var(--fs-xl);font-variant-numeric:tabular-nums}.ui-linkstats small{color:var(--muted);font-size:var(--fs-xs)}.ui-linkhosts{margin-top:16px}.ui-linkhosts b{font-weight:500;font-size:var(--fs-sm);overflow-wrap:anywhere}.ui-cleanupstats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.ui-board-plain-stat-head{min-width:0;color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;align-items:center;gap:8px;display:flex}.ui-board-stat-tile{background:var(--color-background-primary-default);width:32px;height:32px;color:var(--color-text-primary);border-radius:6px;flex:none;place-items:center;display:grid}.ui-board-stat-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}@media (width<=1119px){.ui-cleanupstats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=559px){.ui-cleanupstats{grid-template-columns:minmax(0,1fr)}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-items:stretch;margin:0;padding:0;display:flex;position:static}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:minmax(0,1fr);gap:20px}body #stats .ui-configpage>.ui-board-local-nav{flex-flow:wrap;grid-area:1/1;position:static;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-media-carousel] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-media-carousel] [data-follow-image-dots]{z-index:4;justify-content:center;align-items:center;gap:var(--media-dot-gap);max-width:calc(100% - var(--media-dot-room));padding:8px var(--media-dot-padding);border-radius:var(--pill-radius);background:#00000080;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel] [data-follow-image-count]{z-index:4;border-radius:var(--pill-radius);color:#fff;font:500 var(--fs-xs) / 16px var(--board-font);font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;background:#00000080;padding:4px 11px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] :is([data-follow-image-dots],[data-follow-image-count]){width:fit-content;margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:var(--surface);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:var(--hover)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-follow-image-dots]{bottom:12px}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 707805d86..4490ec6eb 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -29922,42 +29922,42 @@ function ole(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-var sle = (e) => Math.min(Math.max(e || 0, 0), 100), MD = (e) => Math.round(sle(e) / 20), cle = (e) => {
- let t = MD(e);
+var MD = (e) => Math.min(Math.max(e || 0, 0), 100), ND = (e) => Math.round(MD(e) / 20), sle = (e) => {
+ let t = ND(e);
return t ? `${t} 星` : "未评分";
-}, lle = (e, t) => {
+}, cle = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function ule(e, t) {
+function lle(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = It(t.tagLabel(e.k)), i = n.get(r);
(!i || It(e.k) === r && It(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var ND = (e, t) => (e.tags || []).some((e) => It(e.k) === It(t)), dle = (e, t) => ({
+var PD = (e, t) => (e.tags || []).some((e) => It(e.k) === It(t)), ule = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => It(e.k) !== It(t))
-}), fle = (e, t) => ND(e, t.k) ? e : {
+}), dle = (e, t) => PD(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, ple = "peach.recentTags";
-function mle() {
+}, fle = "peach.recentTags";
+function ple() {
try {
- let e = JSON.parse(localStorage.getItem(ple) || "[]");
+ let e = JSON.parse(localStorage.getItem(fle) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function hle(e) {
+function mle(e) {
try {
- let t = mle().filter((t) => It(t) !== It(e));
- localStorage.setItem(ple, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = ple().filter((t) => It(t) !== It(e));
+ localStorage.setItem(fle, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function gle(e, t, n) {
+function hle(e, t, n) {
let r = It(e), i = new Map(t.map((e) => [It(e.k), e])), a = t.filter((e) => !r || It(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(It(e)) || {
k: e,
n: 0
@@ -29968,73 +29968,73 @@ function gle(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var _le = {
+var gle = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, vle = {
+}, _le = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function yle(e) {
+function vle(e) {
let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: vle[e.kind],
+ title: _le[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var ble = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, xle = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${R(ble(e.part_label))}</small>` : "";
-function Sle(e, t, n, r) {
+var yle = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, ble = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${R(yle(e.part_label))}</small>` : "";
+function xle(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var Cle = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function wle(e, t) {
+var Sle = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function Cle(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function Tle(e) {
+function wle(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function Ele(e, t) {
+function Tle(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/immerse/immerse.ts
-var Dle = (e, t, n) => [
+var Ele = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function Ole(e) {
+function Dle(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var kle = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function Ale(e, t = Math.random) {
+var Ole = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function kle(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function jle(e, t) {
- return Ale(((await B(`/api/items?${e}`)).items || []).filter((e) => kle(e, t)));
+async function Ale(e, t) {
+ return kle(((await B(`/api/items?${e}`)).items || []).filter((e) => Ole(e, t)));
}
-var Mle = (e) => H.ensureQueryData({
+var jle = (e) => H.ensureQueryData({
queryKey: _D(e),
queryFn: ({ signal: t }) => ED(e, t)
});
-function Nle(e, t) {
+function Mle(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function Ple(e) {
+function Nle(e) {
let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";
return {
who: n,
@@ -30043,59 +30043,59 @@ function Ple(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function Fle(e, t, n) {
+function Ple(e, t, n) {
if (!e || !t || !n || !Number.isFinite(n)) return null;
let r = e / t;
return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";
}
-function Ile(e, t) {
+function Fle(e, t) {
return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);
}
-var Lle = 15e3, Rle = {
+var Ile = 15e3, Lle = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, PD = null, FD = null, ID = Rle, LD = /* @__PURE__ */ new Set(), RD = 0, zle = 0, zD = 0, Ble = "", BD = [], VD = 0, HD = !1, UD = !1, WD = null, GD = /* @__PURE__ */ new Set(), KD = "", qD = null, JD = 0, YD = null, XD = !1;
-function ZD() {
- if (!PD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return PD;
+}, FD = null, ID = null, LD = Lle, RD = /* @__PURE__ */ new Set(), zD = 0, Rle = 0, BD = 0, zle = "", VD = [], HD = 0, UD = !1, WD = !1, GD = null, KD = /* @__PURE__ */ new Set(), qD = "", JD = null, YD = 0, XD = null, ZD = !1;
+function QD() {
+ if (!FD) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return FD;
}
-function Vle(e) {
- return LD.add(e), () => {
- LD.delete(e);
+function Ble(e) {
+ return RD.add(e), () => {
+ RD.delete(e);
};
}
-function Hle() {
- for (let e of [...LD]) e();
+function Vle() {
+ for (let e of [...RD]) e();
}
-function QD() {
- (0, mt.flushSync)(Hle);
+function $D() {
+ (0, mt.flushSync)(Vle);
}
-function Ule() {
- let e = qD ? wE(qD.id) : 0;
- return e ? `${KD} · ${EE(e)}` : KD;
+function Hle() {
+ let e = JD ? wE(JD.id) : 0;
+ return e ? `${qD} · ${EE(e)}` : qD;
}
-function $D(e, t = null) {
- clearInterval(JD), JD = 0, e === null ? (ID = {
- ...ID,
+function eO(e, t = null) {
+ clearInterval(YD), YD = 0, e === null ? (LD = {
+ ...LD,
loading: null
- }, QD()) : (KD = e, qD = t, ID = {
- ...ID,
- loading: Ule()
- }, QD(), JD = window.setInterval(() => {
- qD = BD[VD] ?? null, ID = {
- ...ID,
- loading: Ule()
- }, QD();
+ }, $D()) : (qD = e, JD = t, LD = {
+ ...LD,
+ loading: Hle()
+ }, $D(), YD = window.setInterval(() => {
+ JD = VD[HD] ?? null, LD = {
+ ...LD,
+ loading: Hle()
+ }, $D();
}, 500));
}
-function Wle(e) {
+function Ule(e) {
let t = document.createElement("div");
t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);
let n = document.createElement("video");
- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), FD.track.append(t);
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), ID.track.append(t);
let r = UE(), i = () => {}, a = {
el: t,
video: n,
@@ -30107,9 +30107,9 @@ function Wle(e) {
}),
leave: i
};
- return GD.add(a), a;
+ return KD.add(a), a;
}
-function Gle(e, t) {
+function Wle(e, t) {
return new Promise((n) => {
e.release = lD(e.video, {
kind: "immerse",
@@ -30117,227 +30117,227 @@ function Gle(e, t) {
session: e.session,
onLoaded: n,
onEnded: () => {
- ID.open && nO(1);
+ LD.open && rO(1);
}
}), e.gone.then(n);
});
}
-function eO(e) {
- e && !e.disposed && (e.disposed = !0, GD.delete(e), e.leave(), e.release(), e.el.remove(), WD === e && (WD = null));
+function tO(e) {
+ e && !e.disposed && (e.disposed = !0, KD.delete(e), e.leave(), e.release(), e.el.remove(), GD === e && (GD = null));
}
-var Kle = [
+var Gle = [
"loadeddata",
"canplay",
"error"
];
-function qle(e) {
+function Kle(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), Kle.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), Gle.forEach((e) => t.removeEventListener(e, i)), n());
};
- Kle.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, Lle);
+ Gle.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, Ile);
e.gone.then(i);
});
}
-function tO(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Fle(e.videoWidth, e.videoHeight, n);
+function nO(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Ple(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var Jle = () => FD?.track.querySelectorAll("video").forEach(tO);
-function Yle(e) {
- delete e.dataset.fit, e.readyState >= 1 ? tO(e) : e.addEventListener("loadedmetadata", () => tO(e), { once: !0 });
+var qle = () => ID?.track.querySelectorAll("video").forEach(nO);
+function Jle(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? nO(e) : e.addEventListener("loadedmetadata", () => nO(e), { once: !0 });
}
-function Xle(e) {
- ID = {
- ...ID,
+function Yle(e) {
+ LD = {
+ ...LD,
wide: e
- }, QD(), Jle();
+ }, $D(), qle();
}
-var Zle = () => {
- let e = Ble;
+var Xle = () => {
+ let e = zle;
return H.fetchQuery({
- queryKey: Dle(e, zle, zD),
- queryFn: () => jle(e, ZD().sourceOffline),
+ queryKey: Ele(e, Rle, BD),
+ queryFn: () => Ale(e, QD().sourceOffline),
staleTime: Infinity
});
};
-function Qle(e, t) {
+function Zle(e, t) {
let n = () => Bt(e.duration) || Bt(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && FD && (FD.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), YD = {
+ t && ID && (ID.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), XD = {
video: e,
duration: n
};
}
-async function $le(e = 0) {
- let t = BD[VD];
- if (!t || HD) return;
- let n = RD;
- ZD().route(t.id), HD = !0, $D(e ? "切换中…" : "加载中…", t);
+async function Qle(e = 0) {
+ let t = VD[HD];
+ if (!t || UD) return;
+ let n = zD;
+ QD().route(t.id), UD = !0, eO(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await Mle(t.id).catch((e) => {
+ if (await jle(t.id).catch((e) => {
if (!(e instanceof TD)) throw e;
- }), n !== RD) return;
- let i = WD, a = !!(e && i);
- a || eO(i);
- let o = Wle(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, Yle(o.video), await Gle(o, t), await qle(o), o.disposed || (Xle(Ile(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ }), n !== zD) return;
+ let i = GD, a = !!(e && i);
+ a || tO(i);
+ let o = Ule(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, Jle(o.video), await Wle(o, t), await Kle(o), o.disposed || (Yle(Fle(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";
- })), await new Promise((e) => setTimeout(e, 210)), eO(i), o.el.style.transform = ""), o.disposed)) return;
- WD = o, r = null, o.video.play()?.catch(() => {}), ID = {
- ...ID,
+ })), await new Promise((e) => setTimeout(e, 210)), tO(i), o.el.style.transform = ""), o.disposed)) return;
+ GD = o, r = null, o.video.play()?.catch(() => {}), LD = {
+ ...LD,
idle: !1,
shown: {
item: t,
- index: VD,
- length: BD.length
+ index: HD,
+ length: VD.length
}
- }, Qle(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), $D(null);
+ }, Zle(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), eO(null);
} catch {
- eO(r), n === RD && $D(null);
+ tO(r), n === zD && eO(null);
} finally {
- n === RD && (HD = !1);
+ n === zD && (UD = !1);
}
}
-async function nO(e) {
- if (HD || !ID.open) return;
- let t = RD;
- if (VD += e, $D("切换中…", BD[VD] ?? null), VD >= BD.length - 3 && !UD) {
- UD = !0;
+async function rO(e) {
+ if (UD || !LD.open) return;
+ let t = zD;
+ if (HD += e, eO("切换中…", VD[HD] ?? null), HD >= VD.length - 3 && !WD) {
+ WD = !0;
try {
- zD += 1;
- let e = await Zle();
- t === RD && (BD = Nle(BD, e));
+ BD += 1;
+ let e = await Xle();
+ t === zD && (VD = Mle(VD, e));
} catch {} finally {
- UD = !1;
+ WD = !1;
}
}
- t === RD && (VD >= BD.length && (VD = 0), VD < 0 && (VD = BD.length - 1), await $le(e));
+ t === zD && (HD >= VD.length && (HD = 0), HD < 0 && (HD = VD.length - 1), await Qle(e));
}
-async function eue(e) {
- let t = ++RD;
- tue(), zle += 1, zD = 0, Ble = Ole(ZD().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), ID = {
- ...ID,
+async function $le(e) {
+ let t = ++zD;
+ eue(), Rle += 1, BD = 0, zle = Dle(QD().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), LD = {
+ ...LD,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), $D("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), eO("加载内容…");
try {
- let n = await Zle();
+ let n = await Xle();
if (e && !n.some((t) => t.id === e)) {
- let t = await Mle(e).catch((e) => {
+ let t = await jle(e).catch((e) => {
if (e instanceof TD) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== RD) return;
- if (BD = n, !BD.length) {
- rO(), ZD().warn("当前筛选下没有可直接播放的内容");
+ if (t !== zD) return;
+ if (VD = n, !VD.length) {
+ iO(), QD().warn("当前筛选下没有可直接播放的内容");
return;
}
- VD = Math.max(0, BD.findIndex((t) => t.id === e)), await $le();
+ HD = Math.max(0, VD.findIndex((t) => t.id === e)), await Qle();
} catch {
- if (t !== RD) return;
- $D(null), rO();
+ if (t !== zD) return;
+ eO(null), iO();
}
}
-function tue() {
- clearInterval(JD), JD = 0, sO(), oO = null, YD = null, XD = !1, [...GD].forEach(eO), HD = !1;
+function eue() {
+ clearInterval(YD), YD = 0, cO(), sO = null, XD = null, ZD = !1, [...KD].forEach(tO), UD = !1;
}
-function rO() {
- ID.open && (RD++, tue(), ID = Rle, document.body.removeAttribute("data-immerse-open"), QD(), ZD().closed());
+function iO() {
+ LD.open && (zD++, eue(), LD = Lle, document.body.removeAttribute("data-immerse-open"), $D(), QD().closed());
}
-var iO = 0, aO = null, nue = 0, oO = null, rue = 0;
-function sO() {
- clearTimeout(iO), iO = 0, aO = null;
+var aO = 0, oO = null, tue = 0, sO = null, nue = 0;
+function cO() {
+ clearTimeout(aO), aO = 0, oO = null;
}
-function iue(e) {
- let t = WD?.video;
+function rue(e) {
+ let t = GD?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- aO && aO.side === n && r - aO.at <= 280 ? (sO(), dD(t, ZD().seekSeconds() * n)) : (iO && (clearTimeout(iO), iO = 0, uD(t)), aO = {
+ oO && oO.side === n && r - oO.at <= 280 ? (cO(), dD(t, QD().seekSeconds() * n)) : (aO && (clearTimeout(aO), aO = 0, uD(t)), oO = {
side: n,
at: r
- }, iO = window.setTimeout(() => {
- iO = 0, aO = null, ID.open && uD(WD?.video);
+ }, aO = window.setTimeout(() => {
+ aO = 0, oO = null, LD.open && uD(GD?.video);
}, 280));
}
-function aue() {
- Date.now() < nue || uD(WD?.video);
+function iue() {
+ Date.now() < tue || uD(GD?.video);
}
-var cO = (e) => FD?.bar.toggleAttribute("data-scrubbing", e);
-function lO(e) {
- FD && (FD.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var lO = (e) => ID?.bar.toggleAttribute("data-scrubbing", e);
+function uO(e) {
+ ID && (ID.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function oue(e) {
+function aue(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- oO = null;
+ sO = null;
return;
}
- let n = WD?.video;
- oO = {
+ let n = GD?.video;
+ sO = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function sue(e) {
- if (!oO || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - oO.x, n = e.touches[0].clientY - oO.y;
- if (!oO.axis) {
+function oue(e) {
+ if (!sO || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - sO.x, n = e.touches[0].clientY - sO.y;
+ if (!sO.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- oO.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", oO.axis === "x" && cO(!0);
+ sO.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", sO.axis === "x" && lO(!0);
}
- if (oO.axis !== "x") return;
- let r = WD?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), oO.to = Math.min(i, Math.max(0, oO.from + t / window.innerWidth * i)), lO(oO.to / i));
+ if (sO.axis !== "x") return;
+ let r = GD?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), sO.to = Math.min(i, Math.max(0, sO.from + t / window.innerWidth * i)), uO(sO.to / i));
}
-function cue(e) {
- if (!oO) return;
- let t = oO;
- if (oO = null, nue = Date.now() + 700, cO(!1), t.axis === "x") {
- let e = WD?.video;
+function sue(e) {
+ if (!sO) return;
+ let t = sO;
+ if (sO = null, tue = Date.now() + 700, lO(!1), t.axis === "x") {
+ let e = GD?.video;
e && t.to != null && (e.currentTime = t.to);
return;
}
let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;
- Math.abs(i) > 60 ? (sO(), nO(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), iue(n.clientX));
+ Math.abs(i) > 60 ? (cO(), rO(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), rue(n.clientX));
}
-function lue() {
- oO = null, cO(!1);
+function cue() {
+ sO = null, lO(!1);
}
-function uue(e) {
+function lue(e) {
let t = Date.now();
- t - rue < 260 || (rue = t, nO(e.deltaY > 0 ? 1 : -1));
+ t - nue < 260 || (nue = t, rO(e.deltaY > 0 ? 1 : -1));
}
-function uO(e) {
- let t = FD.bar.getBoundingClientRect();
+function dO(e) {
+ let t = ID.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
+function uue(e) {
+ XD?.duration() && (ZD = !0, lO(!0), e.currentTarget.setPointerCapture(e.pointerId), uO(dO(e)), e.preventDefault());
+}
function due(e) {
- YD?.duration() && (XD = !0, cO(!0), e.currentTarget.setPointerCapture(e.pointerId), lO(uO(e)), e.preventDefault());
+ ZD && uO(dO(e));
}
function fue(e) {
- XD && lO(uO(e));
+ if (!ZD) return;
+ ZD = !1, lO(!1);
+ let t = XD?.duration();
+ XD && t && (XD.video.currentTime = t * dO(e));
}
-function pue(e) {
- if (!XD) return;
- XD = !1, cO(!1);
- let t = YD?.duration();
- YD && t && (YD.video.currentTime = t * uO(e));
+function pue() {
+ ZD = !1, lO(!1);
}
-function mue() {
- XD = !1, cO(!1);
-}
-async function dO(e, t) {
+async function fO(e, t) {
let n = await V(bD, {
id: e,
kind: t
@@ -30359,7 +30359,7 @@ async function dO(e, t) {
o_count: i.o_count
}), n;
}
-var hue = [
+var mue = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -30376,7 +30376,7 @@ var hue = [
label: "记一次高潮"
}
];
-function gue(e) {
+function hue(e) {
return dt({
queryKey: _D(e ?? 0),
queryFn: ({ signal: t }) => ED(e, t),
@@ -30384,23 +30384,23 @@ function gue(e) {
staleTime: Infinity
}).data;
}
-function _ue({ kind: e, glyph: t, label: n, id: r }) {
- let i = gue(r), a = ft({
+function gue({ kind: e, glyph: t, label: n, id: r }) {
+ let i = hue(r), a = ft({
mutationFn: async (t) => {
let n = H.getQueryData(_D(t))?.feedback || null;
return {
- result: await dO(t, e),
+ result: await fO(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- ZD().toast(Ele(e, t), { undo: async () => {
- e === "o" ? await dO(r, "o-undo") : (t.feedback && await dO(r, t.feedback), n && await dO(r, n));
+ QD().toast(Tle(e, t), { undo: async () => {
+ e === "o" ? await fO(r, "o-undo") : (t.feedback && await fO(r, t.feedback), n && await fO(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- nO(1);
+ rO(1);
}, 260);
},
- onError: (e) => ZD().failure("更新反馈", e)
+ onError: (e) => QD().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-immerse-action": "",
@@ -30431,11 +30431,11 @@ function _ue({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function vue({ shown: e }) {
- let t = e?.item ?? null, n = gue(t?.id ?? null), r = n ? Ple(n) : null, i = ZD(), a = (e) => {
- e.preventDefault(), n && (rO(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function _ue({ shown: e }) {
+ let t = e?.item ?? null, n = hue(t?.id ?? null), r = n ? Nle(n) : null, i = QD(), a = (e) => {
+ e.preventDefault(), n && (iO(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (rO(), i.openItem(t.id));
+ t && (iO(), i.openItem(t.id));
}, s = r ? ra(r.name, r.ref, Vi(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-immerse-ui": "",
@@ -30464,18 +30464,18 @@ function vue({ shown: e }) {
})]
});
}
-var yue = { __html: $a("媒体加载中") };
-function bue({ view: e }) {
+var vue = { __html: $a("媒体加载中") };
+function yue({ view: e }) {
let t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = (0, b.useRef)(null), i = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
let e = t.current;
- return FD = {
+ return ID = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", oue, { passive: !0 }), e.addEventListener("touchmove", sue, { passive: !1 }), e.addEventListener("touchend", cue, { passive: !1 }), e.addEventListener("touchcancel", lue, { passive: !0 }), e.addEventListener("wheel", uue, { passive: !0 }), () => {
- e.removeEventListener("touchstart", oue), e.removeEventListener("touchmove", sue), e.removeEventListener("touchend", cue), e.removeEventListener("touchcancel", lue), e.removeEventListener("wheel", uue), FD = null;
+ }, e.addEventListener("touchstart", aue, { passive: !0 }), e.addEventListener("touchmove", oue, { passive: !1 }), e.addEventListener("touchend", sue, { passive: !1 }), e.addEventListener("touchcancel", cue, { passive: !0 }), e.addEventListener("wheel", lue, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", aue), e.removeEventListener("touchmove", oue), e.removeEventListener("touchend", sue), e.removeEventListener("touchcancel", cue), e.removeEventListener("wheel", lue), ID = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -30492,10 +30492,10 @@ function bue({ view: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: aue
+ onClick: iue
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-immerse-actions": "",
- children: hue.map((e) => /* @__PURE__ */ (0, x.jsx)(_ue, {
+ children: mue.map((e) => /* @__PURE__ */ (0, x.jsx)(gue, {
...e,
id: a
}, e.kind))
@@ -30508,7 +30508,7 @@ function bue({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: yue
+ dangerouslySetInnerHTML: vue
}), /* @__PURE__ */ (0, x.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -30516,7 +30516,7 @@ function bue({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: rO,
+ onClick: iO,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })
@@ -30525,97 +30525,97 @@ function bue({ view: e }) {
/* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: due,
- onPointerMove: fue,
- onPointerUp: pue,
- onPointerCancel: mue,
+ onPointerDown: uue,
+ onPointerMove: due,
+ onPointerUp: fue,
+ onPointerCancel: pue,
children: /* @__PURE__ */ (0, x.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, x.jsx)(vue, { shown: e.shown })
+ /* @__PURE__ */ (0, x.jsx)(_ue, { shown: e.shown })
]
});
}
-var xue = {
- open: eue,
- close: rO,
- isOpen: () => ID.open,
- activeVideo: () => ID.open ? WD?.video ?? null : null
+var bue = {
+ open: $le,
+ close: iO,
+ isOpen: () => LD.open,
+ activeVideo: () => LD.open ? GD?.video ?? null : null
};
-function Sue(e) {
- if (!ID.open) return;
+function xue(e) {
+ if (!LD.open) return;
let t = e.target;
- (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && nO(1), e.key === "ArrowUp" && nO(-1)));
+ (!t || t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && !t.isContentEditable) && (e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && rO(1), e.key === "ArrowUp" && rO(-1)));
}
-function Cue(e) {
- let t = !PD;
- return PD = e, t && (document.addEventListener("keydown", Sue), addEventListener("resize", () => {
- ID.open && Jle();
+function Sue(e) {
+ let t = !FD;
+ return FD = e, t && (document.addEventListener("keydown", xue), addEventListener("resize", () => {
+ LD.open && qle();
}), addEventListener("pagehide", () => {
- GD.forEach((e) => KE(e.session));
- })), xue;
+ KD.forEach((e) => KE(e.session));
+ })), bue;
}
-function wue() {
- let e = (0, b.useSyncExternalStore)(Vle, () => ID);
- return PD ? /* @__PURE__ */ (0, x.jsx)(bue, { view: e }) : null;
+function Cue() {
+ let e = (0, b.useSyncExternalStore)(Ble, () => LD);
+ return FD ? /* @__PURE__ */ (0, x.jsx)(yue, { view: e }) : null;
}
//#endregion
//#region src/manage-header.ts
-var Tue = {
+var wue = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/scraping": "来源和凭证"
-}, Eue = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]);
-function Due(e) {
- let t = Tue[e.path] ? "cleanup" : e.section;
+}, Tue = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]);
+function Eue(e) {
+ let t = wue[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var Oue = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function fO(e) {
+var Due = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function pO(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = Tue[e.path] ?? "";
+ let n = wue[e.path] ?? "";
return {
title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
- pressed: Due(e),
+ pressed: Eue(e),
crumb: n,
- compact: Eue.has(e.path) || e.section === "configuration",
+ compact: Tue.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: Oue(e.trash),
+ text: Due(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var pO = (e) => e.replace(/[&<>"']/g, (e) => ({
+var mO = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), kue = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${pO(e)}"/></svg>`, Aue = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
-function jue(e) {
- let t = fO(e);
+})[e]), Oue = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${mO(e)}"/></svg>`, kue = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+function Aue(e) {
+ let t = pO(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${pO(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${kue(r)}<span>${pO(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${kue("chevron-right")}</li><li aria-current="true"><span>${pO(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? Aue : `<span data-lede-text="">${pO(t.lede.text)}</span>${t.lede.total ? Mue : ""}`}</p>`;
- return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${pO(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
+ return `<button type="button" data-manage="${mO(e)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${Oue(r)}<span>${mO(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${Oue("chevron-right")}</li><li aria-current="true"><span>${mO(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? kue : `<span data-lede-text="">${mO(t.lede.text)}</span>${t.lede.total ? jue : ""}`}</p>`;
+ return `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${mO(t.title)}</h2>` + r + `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}</div></nav>` + i;
}
-var Mue = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var jue = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function mO({ name: e }) {
+function hO({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function Nue({ name: e }) {
+function Mue({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -30624,52 +30624,52 @@ function Nue({ name: e }) {
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var hO = null, gO = null, _O = /* @__PURE__ */ new Set();
-function Pue(e) {
- return _O.add(e), () => {
- _O.delete(e);
+var gO = null, _O = null, vO = /* @__PURE__ */ new Set();
+function Nue(e) {
+ return vO.add(e), () => {
+ vO.delete(e);
};
}
-function Fue() {
- for (let e of [..._O]) e();
+function Pue() {
+ for (let e of [...vO]) e();
}
-var Iue = { render(e) {
- gO = e, (0, mt.flushSync)(Fue);
+var Fue = { render(e) {
+ _O = e, (0, mt.flushSync)(Pue);
} };
-function Lue(e) {
- return hO = e, gO = null, Iue;
+function Iue(e) {
+ return gO = e, _O = null, Fue;
}
-function Rue() {
- let e = (0, b.useSyncExternalStore)(Pue, () => gO);
- return hO && e ? /* @__PURE__ */ (0, x.jsx)(zue, {
- host: hO,
+function Lue() {
+ let e = (0, b.useSyncExternalStore)(Nue, () => _O);
+ return gO && e ? /* @__PURE__ */ (0, x.jsx)(Rue, {
+ host: gO,
props: e
}) : null;
}
-function zue({ host: e, props: t }) {
- let n = fO(t);
+function Rue({ host: e, props: t }) {
+ let n = pO(t);
return n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("h2", {
"data-manage-title": "",
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.crumb ? /* @__PURE__ */ (0, x.jsx)(Vue, {
+ n.crumb ? /* @__PURE__ */ (0, x.jsx)(Bue, {
host: e,
label: n.crumb
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Bue, {
+ /* @__PURE__ */ (0, x.jsx)(zue, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(Hue, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, x.jsx)(Vue, {
host: e,
lede: n.lede
})
] }) : null;
}
-function Bue({ host: e, pressed: t, menu: n }) {
+function zue({ host: e, pressed: t, menu: n }) {
let r = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -30690,13 +30690,13 @@ function Bue({ host: e, pressed: t, menu: n }) {
"aria-pressed": a,
"aria-current": a ? "page" : void 0,
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, x.jsx)(mO, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, x.jsx)(hO, { name: i }), /* @__PURE__ */ (0, x.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function Vue({ host: e, label: t }) {
+function Bue({ host: e, label: t }) {
return /* @__PURE__ */ (0, x.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -30706,20 +30706,20 @@ function Vue({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, x.jsx)(mO, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
+ }), /* @__PURE__ */ (0, x.jsx)(hO, { name: "chevron-right" })] }), /* @__PURE__ */ (0, x.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, x.jsx)("span", { children: t })
})] })
});
}
-function Hue({ host: e, lede: t }) {
+function Vue({ host: e, lede: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: Aue }
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Uue, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: kue }
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Hue, { text: t.text }), t.total ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -30729,7 +30729,7 @@ function Hue({ host: e, lede: t }) {
}) : null] })
});
}
-function Uue({ text: e }) {
+function Hue({ text: e }) {
let t = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
oo(t.current, e);
@@ -30740,20 +30740,20 @@ function Uue({ text: e }) {
}
//#endregion
//#region src/core/jav-title.ts
-var Wue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Gue = (e, t = e?.name) => {
+var Uue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Wue = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(Wue, "") : n;
-}, Kue = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), que = (e) => {
+ return e?.is_jav ? n.replace(Uue, "") : n;
+}, Gue = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Kue = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(Kue) || t[0] || "";
+ return t.find(Gue) || t[0] || "";
};
-function Jue(e, t = e?.name) {
- let n = Gue(e, t), r = String(e?.code || "").trim().toUpperCase();
+function que(e, t = e?.name) {
+ let n = Wue(e, t), r = String(e?.code || "").trim().toUpperCase();
if (!e?.is_jav || !r) return {
code: "",
title: n
};
- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = que(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Kue(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [
"中字",
"无码",
"无码破解"
@@ -30764,23 +30764,31 @@ function Jue(e, t = e?.name) {
badges: f
};
}
-var vO = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = Jue(e, t);
+var yO = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = que(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function yO(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = Jue(e, t);
+function bO(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = que(e, t);
if (!n) return R(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${R(e)}</small>`).join("");
return `<span class="ui-javidentity"><strong class="ui-javcode">${R(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${R(r)}</span>` : ""}`;
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+var Jue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30788,7 +30796,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Xue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), xO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30796,7 +30804,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), bO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), SO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30804,7 +30812,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), xO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), CO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30812,7 +30820,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), SO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Xue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30820,7 +30828,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Zue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Zue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30828,7 +30836,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Que = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Que = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30836,7 +30844,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), $ue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), $ue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30868,7 +30876,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), CO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), wO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30884,7 +30892,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), wO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), TO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30892,7 +30900,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), TO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), EO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30900,7 +30908,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), EO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), DO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30916,7 +30924,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), DO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), OO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30972,7 +30980,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), OO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), kO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -30980,7 +30988,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), kO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), AO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -31044,7 +31052,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), AO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), jO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -31052,7 +31060,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), jO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), MO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -31068,7 +31076,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
fill: e,
...r,
className: "remixicon " + (n || "")
-}, b.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), MO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
+}, b.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), NO = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -31152,12 +31160,12 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
nextPart: e,
validators: t,
classGroupId: n
-}), NO = "-", Ade = [], jde = "arbitrary..", Mde = (e) => {
+}), PO = "-", Ade = [], jde = "arbitrary..", Mde = (e) => {
let t = Fde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
if (e.startsWith("[") && e.endsWith("]")) return Pde(e);
- let n = e.split(NO);
+ let n = e.split(PO);
return Nde(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
@@ -31177,7 +31185,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(NO) : e.slice(t).join(NO), s = a.length;
+ let o = t === 0 ? e.join(PO) : e.slice(t).join(PO), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
@@ -31192,10 +31200,10 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
let n = kde();
for (let r in e) {
let i = e[r];
- PO(i, n, r, t);
+ FO(i, n, r, t);
}
return n;
-}, PO = (e, t, n, r) => {
+}, FO = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
@@ -31207,15 +31215,15 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
let r = e === "" ? t : Vde(t, e);
r.classGroupId = n;
}, zde = (e, t, n, r) => {
- Hde(e) ? PO(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Ode(n, e)));
+ Hde(e) ? FO(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Ode(n, e)));
}, Bde = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- PO(o, Vde(t, a), n, r);
+ FO(o, Vde(t, a), n, r);
}
}, Vde = (e, t) => {
- let n = e, r = t.split(NO), i = r.length;
+ let n = e, r = t.split(PO), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
i || (i = kde(), n.nextPart.set(t, i)), n = i;
@@ -31239,7 +31247,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
e in n ? n[e] = t : i(e, t);
}
};
-}, FO = "!", Wde = ":", Gde = [], Kde = (e, t, n, r, i) => ({
+}, IO = "!", Wde = ":", Gde = [], Kde = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
@@ -31263,7 +31271,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(FO) ? (c = s.slice(0, -1), l = !0) : s.startsWith(FO) && (c = s.slice(1), l = !0);
+ s.endsWith(IO) ? (c = s.slice(0, -1), l = !0) : s.startsWith(IO) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
return Kde(t, l, c, u);
};
@@ -31322,7 +31330,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + FO : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + IO : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -31350,17 +31358,17 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
return i(e, a), a;
};
return a = o, (...e) => a($de(...e));
-}, nfe = [], IO = (e) => {
+}, nfe = [], LO = (e) => {
let t = (t) => t[e] || nfe;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, rfe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ife = /^\((?:(\w[\w-]*):)?(.+)\)$/i, afe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ofe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, sfe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, cfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, lfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ufe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, LO = (e) => afe.test(e), RO = (e) => !!e && !Number.isNaN(Number(e)), zO = (e) => !!e && Number.isInteger(Number(e)), BO = (e) => e.endsWith("%") && RO(e.slice(0, -1)), VO = (e) => ofe.test(e), dfe = () => !0, ffe = (e) => sfe.test(e) && !cfe.test(e), HO = () => !1, pfe = (e) => lfe.test(e), mfe = (e) => ufe.test(e), hfe = (e) => !UO(e) && !KO(e), gfe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), _fe = (e) => YO(e, Afe, HO), UO = (e) => rfe.test(e), WO = (e) => YO(e, jfe, ffe), vfe = (e) => YO(e, Mfe, RO), yfe = (e) => YO(e, Pfe, dfe), bfe = (e) => YO(e, Nfe, HO), xfe = (e) => YO(e, Ofe, HO), Sfe = (e) => YO(e, kfe, mfe), GO = (e) => YO(e, Ffe, pfe), KO = (e) => ife.test(e), qO = (e) => XO(e, jfe), Cfe = (e) => XO(e, Nfe), wfe = (e) => XO(e, Ofe), Tfe = (e) => XO(e, Afe), Efe = (e) => XO(e, kfe), JO = (e) => XO(e, Ffe, !0), Dfe = (e) => XO(e, Pfe, !0), YO = (e, t, n) => {
+}, rfe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ife = /^\((?:(\w[\w-]*):)?(.+)\)$/i, afe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ofe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, sfe = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, cfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, lfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ufe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, RO = (e) => afe.test(e), zO = (e) => !!e && !Number.isNaN(Number(e)), BO = (e) => !!e && Number.isInteger(Number(e)), VO = (e) => e.endsWith("%") && zO(e.slice(0, -1)), HO = (e) => ofe.test(e), dfe = () => !0, ffe = (e) => sfe.test(e) && !cfe.test(e), UO = () => !1, pfe = (e) => lfe.test(e), mfe = (e) => ufe.test(e), hfe = (e) => !WO(e) && !qO(e), gfe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), _fe = (e) => XO(e, Afe, UO), WO = (e) => rfe.test(e), GO = (e) => XO(e, jfe, ffe), vfe = (e) => XO(e, Mfe, zO), yfe = (e) => XO(e, Pfe, dfe), bfe = (e) => XO(e, Nfe, UO), xfe = (e) => XO(e, Ofe, UO), Sfe = (e) => XO(e, kfe, mfe), KO = (e) => XO(e, Ffe, pfe), qO = (e) => ife.test(e), JO = (e) => ZO(e, jfe), Cfe = (e) => ZO(e, Nfe), wfe = (e) => ZO(e, Ofe), Tfe = (e) => ZO(e, Afe), Efe = (e) => ZO(e, kfe), YO = (e) => ZO(e, Ffe, !0), Dfe = (e) => ZO(e, Pfe, !0), XO = (e, t, n) => {
let r = rfe.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, XO = (e, t, n = !1) => {
+}, ZO = (e, t, n = !1) => {
let r = ife.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
}, Ofe = (e) => e === "position" || e === "percentage", kfe = (e) => e === "image" || e === "url", Afe = (e) => e === "length" || e === "size" || e === "bg-size", jfe = (e) => e === "length", Mfe = (e) => e === "number", Nfe = (e) => e === "family-name", Pfe = (e) => e === "number" || e === "weight", Ffe = (e) => e === "shadow", Ife = () => {
- let e = IO("color"), t = IO("font"), n = IO("text"), r = IO("font-weight"), i = IO("tracking"), a = IO("leading"), o = IO("breakpoint"), s = IO("container"), c = IO("spacing"), l = IO("radius"), u = IO("shadow"), d = IO("inset-shadow"), f = IO("text-shadow"), p = IO("drop-shadow"), m = IO("blur"), h = IO("perspective"), g = IO("aspect"), _ = IO("ease"), v = IO("animate"), y = () => [
+ let e = LO("color"), t = LO("font"), n = LO("text"), r = LO("font-weight"), i = LO("tracking"), a = LO("leading"), o = LO("breakpoint"), s = LO("container"), c = LO("spacing"), l = LO("radius"), u = LO("shadow"), d = LO("inset-shadow"), f = LO("text-shadow"), p = LO("drop-shadow"), m = LO("blur"), h = LO("perspective"), g = LO("aspect"), _ = LO("ease"), v = LO("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -31385,8 +31393,8 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"left-bottom"
], x = () => [
...b(),
- KO,
- UO
+ qO,
+ WO
], S = () => [
"auto",
"hidden",
@@ -31398,43 +31406,43 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"contain",
"none"
], w = () => [
- KO,
- UO,
+ qO,
+ WO,
c
], T = () => [
- LO,
+ RO,
"full",
"auto",
...w()
], E = () => [
- zO,
+ BO,
"none",
"subgrid",
- KO,
- UO
+ qO,
+ WO
], D = () => [
"auto",
{ span: [
"full",
- zO,
- KO,
- UO
+ BO,
+ qO,
+ WO
] },
- zO,
- KO,
- UO
+ BO,
+ qO,
+ WO
], O = () => [
- zO,
+ BO,
"auto",
- KO,
- UO
+ qO,
+ WO
], k = () => [
"auto",
"min",
"max",
"fr",
- KO,
- UO
+ qO,
+ WO
], A = () => [
"start",
"end",
@@ -31454,7 +31462,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- LO,
+ RO,
"auto",
"full",
"dvw",
@@ -31469,7 +31477,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], P = () => [
s,
- LO,
+ RO,
"screen",
"full",
"dvw",
@@ -31480,7 +31488,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fit",
...w()
], ee = () => [
- LO,
+ RO,
"screen",
"full",
"lh",
@@ -31493,13 +31501,13 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
...w()
], F = () => [
e,
- KO,
- UO
+ qO,
+ WO
], te = () => [
...b(),
wfe,
xfe,
- { position: [KO, UO] }
+ { position: [qO, WO] }
], ne = () => ["no-repeat", { repeat: [
"",
"x",
@@ -31512,23 +31520,23 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"contain",
Tfe,
_fe,
- { size: [KO, UO] }
+ { size: [qO, WO] }
], ie = () => [
- BO,
- qO,
- WO
+ VO,
+ JO,
+ GO
], ae = () => [
"",
"none",
"full",
l,
- KO,
- UO
- ], oe = () => [
- "",
- RO,
qO,
WO
+ ], oe = () => [
+ "",
+ zO,
+ JO,
+ GO
], se = () => [
"solid",
"dashed",
@@ -31552,32 +31560,32 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"color",
"luminosity"
], le = () => [
- RO,
- BO,
+ zO,
+ VO,
wfe,
xfe
], ue = () => [
"",
"none",
m,
- KO,
- UO
+ qO,
+ WO
], de = () => [
"none",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
], fe = () => [
"none",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
], pe = () => [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
], me = () => [
- LO,
+ RO,
"full",
...w()
];
@@ -31591,11 +31599,11 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"bounce"
],
aspect: ["video"],
- blur: [VO],
- breakpoint: [VO],
+ blur: [HO],
+ breakpoint: [HO],
color: [dfe],
- container: [VO],
- "drop-shadow": [VO],
+ container: [HO],
+ "drop-shadow": [HO],
ease: [
"in",
"out",
@@ -31613,7 +31621,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"extrabold",
"black"
],
- "inset-shadow": [VO],
+ "inset-shadow": [HO],
leading: [
"none",
"tight",
@@ -31630,11 +31638,11 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"distant",
"none"
],
- radius: [VO],
- shadow: [VO],
- spacing: ["px", RO],
- text: [VO],
- "text-shadow": [VO],
+ radius: [HO],
+ shadow: [HO],
+ spacing: ["px", zO],
+ text: [HO],
+ "text-shadow": [HO],
tracking: [
"tighter",
"tight",
@@ -31648,9 +31656,9 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
aspect: [{ aspect: [
"auto",
"square",
- LO,
- UO,
- KO,
+ RO,
+ WO,
+ qO,
g
] }],
container: ["container"],
@@ -31658,15 +31666,15 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"",
"normal",
"size",
- KO,
- UO
+ qO,
+ WO
] }],
"container-named": [gfe],
columns: [{ columns: [
- RO,
+ zO,
"auto",
- UO,
- KO,
+ WO,
+ qO,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -31763,13 +31771,13 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"collapse"
],
z: [{ z: [
- zO,
+ BO,
"auto",
- KO,
- UO
+ qO,
+ WO
] }],
basis: [{ basis: [
- LO,
+ RO,
"full",
"auto",
s,
@@ -31787,32 +31795,32 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"wrap-reverse"
] }],
flex: [{ flex: [
+ zO,
RO,
- LO,
"auto",
"initial",
"none",
- UO
+ WO
] }],
grow: [{ grow: [
"",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
shrink: [{ shrink: [
"",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
order: [{ order: [
- zO,
+ BO,
"first",
"last",
"none",
- KO,
- UO
+ qO,
+ WO
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -31919,8 +31927,8 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"font-size": [{ text: [
"base",
n,
- qO,
- WO
+ JO,
+ GO
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
@@ -31939,15 +31947,15 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"expanded",
"extra-expanded",
"ultra-expanded",
- BO,
- UO
+ VO,
+ WO
] }],
"font-family": [{ font: [
Cfe,
bfe,
t
] }],
- "font-features": [{ "font-features": [UO] }],
+ "font-features": [{ "font-features": [WO] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -31956,13 +31964,13 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- KO,
- UO
+ qO,
+ WO
] }],
"line-clamp": [{ "line-clamp": [
- RO,
+ zO,
"none",
- KO,
+ qO,
vfe
] }],
leading: [{ leading: [
@@ -31972,16 +31980,16 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
"list-image": [{ "list-image": [
"none",
- KO,
- UO
+ qO,
+ WO
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- KO,
- UO
+ qO,
+ WO
] }],
"text-alignment": [{ text: [
"left",
@@ -32001,18 +32009,18 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- RO,
+ zO,
"from-font",
"auto",
- KO,
- WO
+ qO,
+ GO
] }],
"text-decoration-color": [{ decoration: F() }],
"underline-offset": [{ "underline-offset": [
- RO,
+ zO,
"auto",
- KO,
- UO
+ qO,
+ WO
] }],
"text-transform": [
"uppercase",
@@ -32033,9 +32041,9 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- zO,
- KO,
- UO
+ BO,
+ qO,
+ WO
] }],
"vertical-align": [{ align: [
"baseline",
@@ -32046,8 +32054,8 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"text-bottom",
"sub",
"super",
- KO,
- UO
+ qO,
+ WO
] }],
whitespace: [{ whitespace: [
"normal",
@@ -32075,8 +32083,8 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
] }],
content: [{ content: [
"none",
- KO,
- UO
+ qO,
+ WO
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -32111,20 +32119,20 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"l",
"tl"
] },
- zO,
- KO,
- UO
+ BO,
+ qO,
+ WO
],
radial: [
"",
- KO,
- UO
+ qO,
+ WO
],
conic: [
"",
- zO,
- KO,
- UO
+ BO,
+ qO,
+ WO
]
},
Efe,
@@ -32195,15 +32203,15 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"outline-w": [{ outline: [
"",
- RO,
- qO,
- WO
+ zO,
+ JO,
+ GO
] }],
"outline-color": [{ outline: F() }],
shadow: [{ shadow: [
@@ -32211,35 +32219,35 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"inner",
"none",
u,
- JO,
- GO
+ YO,
+ KO
] }],
"shadow-color": [{ shadow: F() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- JO,
- GO
+ YO,
+ KO
] }],
"inset-shadow-color": [{ "inset-shadow": F() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: F() }],
- "ring-offset-w": [{ "ring-offset": [RO, WO] }],
+ "ring-offset-w": [{ "ring-offset": [zO, GO] }],
"ring-offset-color": [{ "ring-offset": F() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": F() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- JO,
- GO
+ YO,
+ KO
] }],
"text-shadow-color": [{ "text-shadow": F() }],
opacity: [{ opacity: [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"mix-blend": [{ "mix-blend": [
...ce(),
@@ -32261,7 +32269,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [RO] }],
+ "mask-image-linear-pos": [{ "mask-linear": [zO] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": le() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": le() }],
"mask-image-linear-from-color": [{ "mask-linear-from": F() }],
@@ -32290,7 +32298,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-image-y-to-pos": [{ "mask-y-to": le() }],
"mask-image-y-from-color": [{ "mask-y-from": F() }],
"mask-image-y-to-color": [{ "mask-y-to": F() }],
- "mask-image-radial": [{ "mask-radial": [KO, UO] }],
+ "mask-image-radial": [{ "mask-radial": [qO, WO] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": le() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": le() }],
"mask-image-radial-from-color": [{ "mask-radial-from": F() }],
@@ -32301,7 +32309,7 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [RO] }],
+ "mask-image-conic-pos": [{ "mask-conic": [zO] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": le() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": le() }],
"mask-image-conic-from-color": [{ "mask-conic-from": F() }],
@@ -32325,111 +32333,111 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- KO,
- UO
+ qO,
+ WO
] }],
filter: [{ filter: [
"",
"none",
- KO,
- UO
+ qO,
+ WO
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
contrast: [{ contrast: [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- JO,
- GO
+ YO,
+ KO
] }],
"drop-shadow-color": [{ "drop-shadow": F() }],
grayscale: [{ grayscale: [
"",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"hue-rotate": [{ "hue-rotate": [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
invert: [{ invert: [
"",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
saturate: [{ saturate: [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
sepia: [{ sepia: [
"",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- KO,
- UO
+ qO,
+ WO
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -32445,39 +32453,39 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"shadow",
"transform",
"none",
- KO,
- UO
+ qO,
+ WO
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- RO,
+ zO,
"initial",
- KO,
- UO
+ qO,
+ WO
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- KO,
- UO
+ qO,
+ WO
] }],
delay: [{ delay: [
- RO,
- KO,
- UO
+ zO,
+ qO,
+ WO
] }],
animate: [{ animate: [
"none",
v,
- KO,
- UO
+ qO,
+ WO
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- KO,
- UO
+ qO,
+ WO
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: de() }],
@@ -32493,8 +32501,8 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"skew-x": [{ "skew-x": pe() }],
"skew-y": [{ "skew-y": pe() }],
transform: [{ transform: [
- KO,
- UO,
+ qO,
+ WO,
"",
"none",
"gpu",
@@ -32508,9 +32516,9 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"translate-z": [{ "translate-z": me() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- zO,
- KO,
- UO
+ BO,
+ qO,
+ WO
] }],
accent: [{ accent: F() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -32560,8 +32568,8 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"nwse-resize",
"zoom-in",
"zoom-out",
- KO,
- UO
+ qO,
+ WO
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -32647,14 +32655,14 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"scroll",
"contents",
"transform",
- KO,
- UO
+ qO,
+ WO
] }],
fill: [{ fill: ["none", ...F()] }],
"stroke-w": [{ stroke: [
- RO,
- qO,
- WO,
+ zO,
+ JO,
+ GO,
vfe
] }],
stroke: [{ stroke: ["none", ...F()] }],
@@ -32913,13 +32921,13 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"selection"
]
};
-}, Lfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (ZO(e, "cacheSize", t), ZO(e, "prefix", n), ZO(e, "experimentalParseClassName", r), QO(e.theme, a.theme), QO(e.classGroups, a.classGroups), QO(e.conflictingClassGroups, a.conflictingClassGroups), QO(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), ZO(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), ZO(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), $O(e.theme, i.theme), $O(e.classGroups, i.classGroups), $O(e.conflictingClassGroups, i.conflictingClassGroups), $O(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), ek(e, i, "postfixLookupClassGroups"), ek(e, i, "orderSensitiveModifiers"), e), ZO = (e, t, n) => {
+}, Lfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (QO(e, "cacheSize", t), QO(e, "prefix", n), QO(e, "experimentalParseClassName", r), $O(e.theme, a.theme), $O(e.classGroups, a.classGroups), $O(e.conflictingClassGroups, a.conflictingClassGroups), $O(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), QO(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), QO(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), ek(e.theme, i.theme), ek(e.classGroups, i.classGroups), ek(e.conflictingClassGroups, i.conflictingClassGroups), ek(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), tk(e, i, "postfixLookupClassGroups"), tk(e, i, "orderSensitiveModifiers"), e), QO = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, QO = (e, t) => {
- if (t) for (let n in t) ZO(e, n, t[n]);
}, $O = (e, t) => {
- if (t) for (let n in t) ek(e, t, n);
-}, ek = (e, t, n) => {
+ if (t) for (let n in t) QO(e, n, t[n]);
+}, ek = (e, t) => {
+ if (t) for (let n in t) tk(e, t, n);
+}, tk = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
}, Rfe = (e, ...t) => typeof e == "function" ? tfe(Ife, e, ...t) : tfe(() => Lfe(Ife(), e), ...t), zfe = [
@@ -32941,13 +32949,13 @@ var Yue = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => b
"medium",
"semibold",
"bold"
-], tk = Rfe({ extend: { classGroups: { "font-size": [{ text: zfe.flatMap((e) => Bfe.map((t) => `${e}-${t}`)) }] } } });
-function nk(e) {
+], nk = Rfe({ extend: { classGroups: { "font-size": [{ text: zfe.flatMap((e) => Bfe.map((t) => `${e}-${t}`)) }] } } });
+function rk(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var rk = nk({
+var ik = rk({
base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",
variant: {
bold: "py-0.5 text-body-medium",
@@ -32966,16 +32974,16 @@ var rk = nk({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function ik({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function ak({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
ref: r,
- className: tk(rk.base, rk.variant[e], rk.color[t], n),
+ className: nk(ik.base, ik.variant[e], ik.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var ak = nk({
+var ok = rk({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -33034,40 +33042,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, x.jsxs)("button", {
ref: c,
type: s,
- className: tk(ak.base, ak.size[t], ak.variant[e], n && ak.iconOnlySize[t], o),
+ className: nk(ok.base, ok.size[t], ok.variant[e], n && ok.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: ak.icon[t],
+ className: ok.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: ak.label[t],
+ className: ok.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: ak.icon[t],
+ className: ok.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function ok({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function sk({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, x.jsxs)("a", {
ref: s,
- className: tk(ak.base, ak.size[t], ak.variant[e], n && ak.iconOnlySize[t], o),
+ className: nk(ok.base, ok.size[t], ok.variant[e], n && ok.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: ak.icon[t],
+ className: ok.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: ak.label[t],
+ className: ok.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, x.jsx)(i, {
- className: ak.icon[t],
+ className: ok.icon[t],
"aria-hidden": !0
}) : null
]
@@ -33091,7 +33099,7 @@ var Vfe = "min-w-0", Hfe = {
none: "",
default: "p-5"
}, Kfe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", qfe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function sk(e = {}) {
+function ck(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
Vfe,
@@ -33111,7 +33119,7 @@ var Jfe = {
plain: "px-6 py-12",
inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"
};
-function ck({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function lk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-empty-state": "",
@@ -33145,7 +33153,7 @@ function ck({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function lk({ label: e, inline: t = !1 }) {
+function uk({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex shrink-0 items-center gap-1",
@@ -33214,7 +33222,7 @@ function K({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function uk({ children: e }) {
+function dk({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -33222,21 +33230,21 @@ function uk({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var dk = 100, Yfe = .4;
-function fk({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * dk;
+var fk = 100, Yfe = .4;
+function pk({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * fk;
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": i,
"aria-valuenow": a(t),
- viewBox: `0 0 ${dk} 1`,
+ viewBox: `0 0 ${fk} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, x.jsx)("rect", {
- width: dk,
+ width: fk,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -33264,7 +33272,7 @@ function q(e) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function pk(e = "") {
+function mk(e = "") {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(""), [i, a] = (0, b.useState)(e);
(0, b.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -33292,19 +33300,19 @@ function pk(e = "") {
//#region src/react/boardui/components/application/settings/settings-rows.tsx
function Xfe({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: tk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: nk("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
function Zfe({ className: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
- className: tk("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: nk("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function mk({ label: e, description: t, children: n }) {
+function hk({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: tk("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
+ className: nk("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, x.jsx)("p", {
@@ -33319,7 +33327,7 @@ function mk({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var hk = nk({
+var gk = rk({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33343,15 +33351,15 @@ var hk = nk({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function gk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = tk(hk.base, hk.size[t], hk.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+function _k({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = nk(gk.base, gk.size[t], gk.variant[e], a), l = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: hk.icon[t],
+ className: gk.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, x.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, x.jsx)(r, {
- className: hk.icon[t],
+ className: gk.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -33378,7 +33386,7 @@ function gk({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function _k({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
+function vk({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
let o = t ? /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [t, e]
@@ -33406,13 +33414,13 @@ function _k({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
children: s
});
}
-function vk({ children: e }) {
+function yk({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function yk({ divided: e = !1, children: t }) {
+function bk({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -33421,7 +33429,7 @@ function yk({ divided: e = !1, children: t }) {
children: t
});
}
-function bk({ status: e, children: t }) {
+function xk({ status: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -33430,34 +33438,34 @@ function bk({ status: e, children: t }) {
}) : null, t]
});
}
-function xk({ role: e, children: t }) {
+function Sk({ role: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function Sk({ children: e }) {
+function Ck({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function Ck({ children: e }) {
+function wk({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function wk({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, x.jsx)(gk, {
+function Tk({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(_k, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: DO,
+ trailingIcon: OO,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -33465,13 +33473,13 @@ function wk({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function Tk({ children: e }) {
+function Ek({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function Ek({ term: e, children: t }) {
+function Dk({ term: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, x.jsx)("dt", {
@@ -33483,7 +33491,7 @@ function Ek({ term: e, children: t }) {
})]
});
}
-function Dk({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
+function Ok({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i }) {
let a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(!1), [l, u] = (0, b.useState)(t);
return /* @__PURE__ */ (0, x.jsxs)("details", {
ref: (e) => {
@@ -33497,12 +33505,12 @@ function Dk({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
},
className: `${r ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [
- r ? null : /* @__PURE__ */ (0, x.jsx)(SO, {
+ r ? null : /* @__PURE__ */ (0, x.jsx)(CO, {
"aria-hidden": !0,
className: l ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}),
e,
- r ? /* @__PURE__ */ (0, x.jsx)(SO, {
+ r ? /* @__PURE__ */ (0, x.jsx)(CO, {
"aria-hidden": !0,
className: l ? "ml-auto size-4 shrink-0 -rotate-90 transition-transform" : "ml-auto size-4 shrink-0 rotate-90 transition-transform"
}) : null
@@ -33527,7 +33535,7 @@ function Qfe({ name: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function Ok({ mark: e }) {
+function kk({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, x.jsx)("img", {
src: e,
alt: "",
@@ -33542,7 +33550,7 @@ var $fe = "/api/tasks", epe = ["tasks"], tpe = (e, t) => B(`${$fe}?${new URLSear
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function kk(...e) {
+function Ak(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -33557,7 +33565,7 @@ async function ope(e) {
queryFn: () => ape(e)
});
}
-var Ak = {
+var jk = {
manual: "手动",
scheduled: "定时",
startup: "启动",
@@ -33630,12 +33638,12 @@ function dpe(e, t) {
}
return n;
}
-var fpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), jk = (e) => e.status === "pending" || e.status === "running";
+var fpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Mk = (e) => e.status === "pending" || e.status === "running";
function ppe(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;
- return [r, mpe(e.error) || gpe(e.result_summary) || (jk(e) && i > 0 ? `${Nk(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, mpe(e.error) || gpe(e.result_summary) || (Mk(e) && i > 0 ? `${Pk(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function Mk(e) {
+function Nk(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -33644,7 +33652,7 @@ function Mk(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function Nk(e, t) {
+function Pk(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
@@ -33652,7 +33660,7 @@ function mpe(e) {
let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);
return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";
}
-function Pk(e) {
+function Fk(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -33679,28 +33687,28 @@ function gpe(e) {
function _pe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(Ok, { mark: Ja[115] })
+ children: /* @__PURE__ */ (0, x.jsx)(kk, { mark: Ja[115] })
});
}
function vpe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, x.jsx)(Ok, { mark: Ja.pikpak })
+ children: /* @__PURE__ */ (0, x.jsx)(kk, { mark: Ja.pikpak })
});
}
var ype = {
115: _pe,
pikpak: vpe
};
-function Fk({ source: e, label: t }) {
+function Ik({ source: e, label: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(Ok, { mark: Ja[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: Ja[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
});
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var Ik = "/api/downloads", Lk = ["downloads"], bpe = "/api/downloads/cancel", xpe = "/api/downloads/postprocess", Spe = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Cpe = {
+var Lk = "/api/downloads", Rk = ["downloads"], bpe = "/api/downloads/cancel", xpe = "/api/downloads/postprocess", Spe = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Cpe = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
@@ -33708,8 +33716,8 @@ var Ik = "/api/downloads", Lk = ["downloads"], bpe = "/api/downloads/cancel", xp
}, wpe = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, Tpe = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
function Epe() {
let e = (0, b.useId)(), t = dt({
- queryKey: Lk,
- queryFn: ({ signal: e }) => B(`${Ik}?limit=50`, e),
+ queryKey: Rk,
+ queryFn: ({ signal: e }) => B(`${Lk}?limit=50`, e),
refetchInterval: (e) => Spe(e.state.data)
}), n = t.data;
return !n?.tasks.length && !t.error ? null : /* @__PURE__ */ (0, x.jsxs)("section", {
@@ -33737,12 +33745,12 @@ function Epe() {
});
}
function Dpe({ task: e, writable: t }) {
- let n = C(), r = pk(), [i, a] = (0, b.useState)(!1), o = Tpe(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
+ let n = C(), r = mk(), [i, a] = (0, b.useState)(!1), o = Tpe(e), s = e.state === "failed" || e.postprocess_state === "failed", c = [
e.code,
e.target,
- Pk(e.submitted_at)
+ Fk(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: Lk });
+ n.invalidateQueries({ queryKey: Rk });
}, u = () => {
r.run("cancel", (t) => V(bpe, { id: e.id }, "POST", t), l);
}, d = () => {
@@ -33754,7 +33762,7 @@ function Dpe({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => V(Ik, t, "POST", e), l);
+ r.run("resubmit", (e) => V(Lk, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, p = () => {
@@ -33763,7 +33771,7 @@ function Dpe({ task: e, writable: t }) {
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: sk({
+ className: ck({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -33778,11 +33786,11 @@ function Dpe({ task: e, writable: t }) {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: wpe(e)
}),
- /* @__PURE__ */ (0, x.jsx)(ik, {
+ /* @__PURE__ */ (0, x.jsx)(ak, {
color: Cpe[e.state] ?? "neutral",
children: e.state_label
}),
- e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(ik, {
+ e.state === "ingested" ? /* @__PURE__ */ (0, x.jsx)(ak, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : "yellow",
children: e.postprocess_label
}) : null
@@ -33790,7 +33798,7 @@ function Dpe({ task: e, writable: t }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, x.jsx)(Fk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Ik, {
source: e.provider,
label: e.provider_label
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -33798,7 +33806,7 @@ function Dpe({ task: e, writable: t }) {
children: c
})]
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(fk, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, x.jsx)(pk, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -33807,7 +33815,7 @@ function Dpe({ task: e, writable: t }) {
className: "min-w-0 break-all text-caption-1-regular text-text-secondary",
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: r.error }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -33852,7 +33860,7 @@ function Dpe({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/error-excerpt.tsx
-function Rk({ text: e, className: t = "" }) {
+function zk({ text: e, className: t = "" }) {
let [n, r] = (0, b.useState)(!1), i = (0, b.useId)(), a = String(e || "").trim(), o = mpe(a);
if (!o) return null;
let s = o !== a;
@@ -33886,7 +33894,7 @@ var Ope = {
interrupted: "yellow"
};
function kpe({ status: e }) {
- return /* @__PURE__ */ (0, x.jsx)(ik, {
+ return /* @__PURE__ */ (0, x.jsx)(ak, {
color: Ope[e] ?? "neutral",
children: cpe(e)
});
@@ -33920,7 +33928,7 @@ function jpe({ run: e, meta: t, children: n, footer: r, followups: i }) {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: sk({
+ className: ck({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -33945,15 +33953,15 @@ function jpe({ run: e, meta: t, children: n, footer: r, followups: i }) {
}),
i?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, x.jsx)(Dk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: `任务明细 · ${i.length} 项`,
- defaultOpen: i.some((e) => jk(e) || e.status === "failed"),
+ defaultOpen: i.some((e) => Mk(e) || e.status === "failed"),
children: /* @__PURE__ */ (0, x.jsx)(Ape, { rows: i })
})
}) : null,
r ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
- children: /* @__PURE__ */ (0, x.jsx)(Rk, {
+ children: /* @__PURE__ */ (0, x.jsx)(zk, {
text: r,
className: "text-caption-1-regular text-text-secondary"
})
@@ -33962,14 +33970,14 @@ function jpe({ run: e, meta: t, children: n, footer: r, followups: i }) {
});
}
function Mpe({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Mk(e.elapsed_seconds), o = [Ak[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Nk(e.elapsed_seconds), o = [jk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, x.jsx)(jpe, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(fk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(pk, {
label: i,
value: Math.min(r, n),
max: n
@@ -33978,21 +33986,21 @@ function Mpe({ run: e, followups: t }) {
children: [
i,
" · ",
- Nk(r, n),
+ Pk(r, n),
" 项"
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(lk, { label: i })
+ }) : /* @__PURE__ */ (0, x.jsx)(uk, { label: i })
});
}
-function zk({ run: e, followups: t, runs: n }) {
- let r = gpe(e.result_summary), i = Mk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- Ak[e.trigger] || e.trigger,
+function Bk({ run: e, followups: t, runs: n }) {
+ let r = gpe(e.result_summary), i = Nk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ jk[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${Pk(a.finished_at)} – ${Pk(e.finished_at)}`
+ `${Fk(a.finished_at)} – ${Fk(e.finished_at)}`
] : [
- Ak[e.trigger] || e.trigger,
- Pk(e.finished_at),
+ jk[e.trigger] || e.trigger,
+ Fk(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, x.jsx)(jpe, {
@@ -34006,7 +34014,7 @@ function zk({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function Bk({ title: e, children: t }) {
+function Vk({ title: e, children: t }) {
let n = (0, b.useId)();
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-labelledby": n,
@@ -34018,7 +34026,7 @@ function Bk({ title: e, children: t }) {
}), t]
});
}
-function Vk({ live: e = !1, children: t }) {
+function Hk({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
@@ -34031,18 +34039,18 @@ function Npe() {
queryFn: ({ signal: e }) => ape(e),
refetchInterval: (e) => ipe(e.state.data)
}), t = e.data, n = t?.finished, [r, i] = (0, b.useState)([]), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(n);
- n !== s && (c(n), r.length && s && i(kk(r, s)));
+ n !== s && (c(n), r.length && s && i(Ak(r, s)));
let l = ft({
mutationFn: ({ oldest: e }) => tpe(e),
onSuccess: (e, { shown: t }) => {
- i((n) => kk(n, t, e.finished || [])), o(!!e.finished_has_more);
+ i((n) => Ak(n, t, e.finished || [])), o(!!e.finished_has_more);
}
}), u = e.error ? z(e.error) : "";
- if (!t) return /* @__PURE__ */ (0, x.jsx)(uk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u || "读取任务中心失败"
}) });
- let d = kk(t.finished || [], r), f = [
+ let d = Ak(t.finished || [], r), f = [
...t.running || [],
...t.skipped || [],
...d
@@ -34051,8 +34059,8 @@ function Npe() {
oldest: _,
shown: d
});
- }, S = g.filter((e) => p.get(e.id)?.some(jk)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = dpe(T, (e) => fpe(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
- return /* @__PURE__ */ (0, x.jsxs)(uk, { children: [
+ }, S = g.filter((e) => p.get(e.id)?.some(Mk)), C = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !S.includes(e) && !w.some((t) => t.id === e.id)), E = dpe(T, (e) => fpe(e) && !p.get(e.id)?.length), D = !C.length && !S.length && !w.length && !T.length;
+ return /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
u ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: u
@@ -34061,20 +34069,20 @@ function Npe() {
tone: "warning",
children: t.message || "账本上还没有任务中心的表"
}) : null,
- D ? /* @__PURE__ */ (0, x.jsx)(ck, {
+ D ? /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: kO,
+ icon: AO,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(Bk, {
+ /* @__PURE__ */ (0, x.jsx)(Vk, {
title: "正在进行",
- children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(Vk, {
+ children: C.length || S.length ? /* @__PURE__ */ (0, x.jsxs)(Hk, {
live: !0,
children: [C.map((e) => /* @__PURE__ */ (0, x.jsx)(Mpe, {
run: e,
followups: p.get(e.id)
- }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(zk, {
+ }, e.id)), S.map((e) => /* @__PURE__ */ (0, x.jsx)(Bk, {
run: e,
followups: p.get(e.id)
}, e.id))]
@@ -34083,17 +34091,17 @@ function Npe() {
children: "没有任务在跑。"
})
}),
- w.length ? /* @__PURE__ */ (0, x.jsx)(Bk, {
+ w.length ? /* @__PURE__ */ (0, x.jsx)(Vk, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, x.jsx)(Vk, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(zk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Hk, { children: w.map((e) => /* @__PURE__ */ (0, x.jsx)(Bk, {
run: e,
followups: p.get(e.id)
}, e.id)) })
}) : null,
- T.length || v ? /* @__PURE__ */ (0, x.jsxs)(Bk, {
+ T.length || v ? /* @__PURE__ */ (0, x.jsxs)(Vk, {
title: "最近完成",
children: [
- T.length ? /* @__PURE__ */ (0, x.jsx)(Vk, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(zk, {
+ T.length ? /* @__PURE__ */ (0, x.jsx)(Hk, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, x.jsx)(Bk, {
run: e,
runs: t,
followups: p.get(e.id)
@@ -34105,7 +34113,7 @@ function Npe() {
v ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: bO,
+ leadingIcon: xO,
className: "self-start",
...q(l.isPending),
onClick: y,
@@ -34152,7 +34160,7 @@ function Fpe({ title: e, children: t }) {
}), t]
});
}
-function Hk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function Uk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
let d = (0, b.useRef)(null);
return Ppe(d), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: d,
@@ -34161,39 +34169,39 @@ function Hk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: tk("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: nk("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
n === null ? null : /* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: tk("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: nk("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, x.jsx)("div", {
ref: u,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: tk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: nk("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
var Ipe = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function Uk({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+function Wk({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: tk(Ipe, r),
+ className: nk(Ipe, r),
onClick: n,
children: e
});
}
var Lpe = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function Wk({ children: e, onPress: t, busy: n = !1 }) {
+function Gk({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-glass-pill": "",
@@ -34238,7 +34246,7 @@ function zpe(e, t, n) {
h: e.offsetHeight
};
}
-function Gk(e, t, n, r, { axis: i = "x" } = {}) {
+function Kk(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, b.useRef)(null), o = (0, b.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
@@ -34302,12 +34310,12 @@ function Gk(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var Kk = Symbol("default");
-function qk({ values: e, children: t }) {
+var qk = Symbol("default");
+function Jk({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ b.createElement(n.Provider, { value: r }, t);
return t;
}
-function Jk(e) {
+function Yk(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, b.useMemo)(() => {
let e, l, u;
@@ -34341,11 +34349,11 @@ function Jk(e) {
c
]);
}
-function Yk(e, t) {
+function Xk(e, t) {
let n = (0, b.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || Kk;
+ let e = t || qk;
if (!n.slots[e]) {
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
throw Error(`${r} Valid slot names are ${e}.`);
@@ -34354,8 +34362,8 @@ function Yk(e, t) {
}
return n;
}
-function Xk(e, t, n) {
- let { ref: r, ...i } = Yk(n, e.slot) || {}, a = Dv((0, b.useMemo)(() => Sv(t, r), [t, r])), o = W(i, e);
+function Zk(e, t, n) {
+ let { ref: r, ...i } = Xk(n, e.slot) || {}, a = Dv((0, b.useMemo)(() => Sv(t, r), [t, r])), o = W(i, e);
return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
...t.defaultStyle,
@@ -34373,7 +34381,7 @@ function Xk(e, t, n) {
...e.style
}), [o, a];
}
-function Zk(e = !0) {
+function Qk(e = !0) {
let [t, n] = (0, b.useState)(e), r = (0, b.useRef)(!1), i = (0, b.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -34381,7 +34389,7 @@ function Zk(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function Qk(e) {
+function $k(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
@@ -34395,11 +34403,11 @@ function Bpe(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ b.createElement(e, s);
}
-var Vpe = {}, $k = new Proxy({}, { get(e, t) {
+var Vpe = {}, eA = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
let n = Vpe[t];
return n || (n = /*#__PURE__*/ (0, b.forwardRef)(Bpe.bind(null, t)), Vpe[t] = n), n;
-} }), eA = /*#__PURE__*/ (0, b.createContext)(null), tA = /*#__PURE__*/ (0, b.createContext)(null), Hpe = /*#__PURE__*/ (0, b.createContext)(null), nA = {
+} }), tA = /*#__PURE__*/ (0, b.createContext)(null), nA = /*#__PURE__*/ (0, b.createContext)(null), Hpe = /*#__PURE__*/ (0, b.createContext)(null), rA = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
return Upe(e, null, t);
},
@@ -34441,22 +34449,22 @@ function Wpe(e, t, n) {
}
return s;
}
-var rA = /*#__PURE__*/ (0, b.createContext)(nA);
+var iA = /*#__PURE__*/ (0, b.createContext)(rA);
function Gpe(e) {
return (0, b.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var iA = /*#__PURE__*/ (0, b.createContext)({}), Kpe = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Xk(e, t, iA);
- let { elementType: n = "label", ...r } = e, i = $k[n];
+var aA = /*#__PURE__*/ (0, b.createContext)({}), Kpe = /*#__PURE__*/ Mv(function(e, t) {
+ [e, t] = Zk(e, t, aA);
+ let { elementType: n = "label", ...r } = e, i = eA[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), qpe = /*#__PURE__*/ (0, b.createContext)(null), aA = /*#__PURE__*/ (0, b.createContext)({}), Jpe = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Xk(e, t, aA);
+}), qpe = /*#__PURE__*/ (0, b.createContext)(null), oA = /*#__PURE__*/ (0, b.createContext)({}), Jpe = /*#__PURE__*/ Mv(function(e, t) {
+ [e, t] = Zk(e, t, oA);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = yae(e, t);
i = Xpe(i, r);
let { focusProps: o, isFocused: s, isFocusVisible: c } = Hx(e), { hoverProps: l, isHovered: u } = Kx({
@@ -34469,7 +34477,7 @@ var iA = /*#__PURE__*/ (0, b.createContext)({}), Kpe = /*#__PURE__*/ Mv(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = Jk({
+ }, f = Yk({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -34486,7 +34494,7 @@ var iA = /*#__PURE__*/ (0, b.createContext)({}), Kpe = /*#__PURE__*/ Mv(function
p
]);
let _ = uy(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ b.createElement($k.button, {
+ return delete _.onClick, /*#__PURE__*/ b.createElement(eA.button, {
...W(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -34511,26 +34519,26 @@ function Xpe(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var Zpe = /*#__PURE__*/ (0, b.createContext)({}), oA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Xk(e, t, Zpe);
- let { children: n, level: r = 3, className: i, ...a } = e, o = $k[`h${r}`];
+var Zpe = /*#__PURE__*/ (0, b.createContext)({}), sA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = Zk(e, t, Zpe);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = eA[`h${r}`];
return /*#__PURE__*/ b.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), sA = /*#__PURE__*/ (0, b.createContext)({}), Qpe = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Xk(e, t, sA);
- let { elementType: n = "span", ...r } = e, i = $k[n];
+}), cA = /*#__PURE__*/ (0, b.createContext)({}), Qpe = /*#__PURE__*/ Mv(function(e, t) {
+ [e, t] = Zk(e, t, cA);
+ let { elementType: n = "span", ...r } = e, i = eA[n];
return /*#__PURE__*/ b.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), cA = /*#__PURE__*/ (0, b.createContext)(null), lA = /*#__PURE__*/ (0, b.createContext)(null), uA = /*#__PURE__*/ (0, b.createContext)(null), $pe = /*#__PURE__*/ (0, b.createContext)(null), eme = /*#__PURE__*/ (0, b.createContext)(null), tme = /*#__PURE__*/ (0, b.createContext)(null);
+}), lA = /*#__PURE__*/ (0, b.createContext)(null), uA = /*#__PURE__*/ (0, b.createContext)(null), dA = /*#__PURE__*/ (0, b.createContext)(null), $pe = /*#__PURE__*/ (0, b.createContext)(null), eme = /*#__PURE__*/ (0, b.createContext)(null), tme = /*#__PURE__*/ (0, b.createContext)(null);
function nme(e, t) {
- let { validationBehavior: n } = Yk(lA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(eme), a = Dv((0, b.useMemo)(() => Sv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...Qk(e),
+ let { validationBehavior: n } = Xk(uA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useContext)(eme), a = Dv((0, b.useMemo)(() => Sv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...$k(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
@@ -34539,7 +34547,7 @@ function nme(e, t) {
}
var rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Xk(r, t, uA);
+ [e, t] = Zk(r, t, dA);
let [i, a] = nme(e, n);
return /*#__PURE__*/ b.createElement(tme.Provider, { value: {
...i,
@@ -34555,7 +34563,7 @@ var rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, b.useContext)(tme), { isFocused: p, isFocusVisible: m, focusProps: h } = Hx(), g = a || o, { hoverProps: _, isHovered: v } = Kx({
...e,
isDisabled: g
- }), y = Jk({
+ }), y = Yk({
...e,
defaultClassName: u,
values: {
@@ -34571,7 +34579,7 @@ var rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
isRequired: f || !1
}
}), x = uy(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement($k.label, {
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(eA.label, {
...W(x, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -34590,7 +34598,7 @@ var rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
ref: l
})), y.children);
}), ame = /*#__PURE__*/ (0, b.createContext)({}), ome = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Xk(e, t, ame);
+ [e, t] = Zk(e, t, ame);
let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;
n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";
let { hoverProps: l, isHovered: u } = Kx({
@@ -34598,7 +34606,7 @@ var rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = Hx({ within: !0 }), m = Jk({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = Hx({ within: !0 }), m = Yk({
...e,
values: {
isHovered: u,
@@ -34609,7 +34617,7 @@ var rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ b.createElement($k.div, {
+ return /*#__PURE__*/ b.createElement(eA.div, {
...W(c, p, l),
...m,
ref: t,
@@ -34626,14 +34634,14 @@ var rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
}, lme = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Xk(e, t, sme);
+ [e, t] = Zk(e, t, sme);
let { hoverProps: n, isHovered: r } = Kx({
...e,
isDisabled: e.disabled
}), { isFocused: i, isFocusVisible: a, focusProps: o } = Hx({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Jk({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Yk({
...e,
values: {
isHovered: r,
@@ -34644,7 +34652,7 @@ var rme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ b.createElement($k.input, {
+ return /*#__PURE__*/ b.createElement(eA.input, {
...W(cme(e), o, n),
...c,
ref: t,
@@ -34999,11 +35007,11 @@ Wme = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var dA = /*#__PURE__*/ (0, b.createContext)({}), fA = /*#__PURE__*/ (0, b.createContext)(null), Gme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { render: n } = (0, b.useContext)(fA);
+var fA = /*#__PURE__*/ (0, b.createContext)({}), pA = /*#__PURE__*/ (0, b.createContext)(null), Gme = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { render: n } = (0, b.useContext)(pA);
return /*#__PURE__*/ b.createElement(b.Fragment, null, n(e, t));
});
-function pA(e, t) {
+function mA(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, b.useCallback)((e) => {
if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ b.createElement(Gme, { target: e });
}, [
@@ -35036,13 +35044,13 @@ function Kme(e, t, n) {
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
var qme = /*#__PURE__*/ (0, b.createContext)({}), Jme = /*#__PURE__*/ (0, b.createContext)(null);
-function mA(e) {
+function hA(e) {
let t = (0, b.useRef)({});
return /*#__PURE__*/ b.createElement(Jme.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var hA = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), gA = /*#__PURE__*/ (0, b.createContext)({}), Yme = /*#__PURE__*/ Iv(class extends m_ {
+var gA = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), _A = /*#__PURE__*/ (0, b.createContext)({}), Yme = /*#__PURE__*/ Iv(class extends m_ {
static {
this.type = "separator";
}
@@ -35055,10 +35063,10 @@ var hA = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), gA = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = Xk(e, t, gA);
+ [e, t] = Zk(e, t, _A);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = $k[c], { separatorProps: u } = Joe({
+ let l = eA[c], { separatorProps: u } = Joe({
...s,
elementType: n,
orientation: r
@@ -35074,7 +35082,7 @@ var hA = /*#__PURE__*/ (0, b.createContext)({ isSelected: !1 }), gA = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function _A(e) {
+function vA(e) {
let t = b.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
@@ -35124,7 +35132,7 @@ var Xme = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, vA = class e extends Set {
+}, yA = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
@@ -35136,8 +35144,8 @@ function Zme(e, t) {
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function yA(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = xb((0, b.useMemo)(() => Qme(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => Qme(e.defaultSelectedKeys, new vA()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);
+function bA(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, b.useRef)(!1), [, s] = (0, b.useState)(!1), c = (0, b.useRef)(null), l = (0, b.useRef)(null), [, u] = (0, b.useState)(null), [d, f] = xb((0, b.useMemo)(() => Qme(e.selectedKeys), [e.selectedKeys]), (0, b.useMemo)(() => Qme(e.defaultSelectedKeys, new yA()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, b.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, b.useRef)(i);
return (0, b.useEffect)(() => {
@@ -35171,11 +35179,11 @@ function yA(e) {
};
}
function Qme(e, t) {
- return e ? e === "all" ? "all" : new vA(e) : t;
+ return e ? e === "all" ? "all" : new yA(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var bA = class e {
+var xA = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -35258,10 +35266,10 @@ var bA = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new vA([t], t, t);
+ if (this.state.selectedKeys === "all") n = new yA([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new vA(e, r, t);
+ n = new yA(e, r, t);
for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);
for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);
}
@@ -35295,19 +35303,19 @@ var bA = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new vA(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new yA(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);
}
replaceSelection(e) {
if (this.selectionMode === "none") return;
let t = this.getKey(e);
if (t == null) return;
- let n = this.canSelectItem(t) ? new vA([t], t, t) : new vA();
+ let n = this.canSelectItem(t) ? new yA([t], t, t) : new yA();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new vA();
+ let t = new yA();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -35330,7 +35338,7 @@ var bA = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new vA());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new yA());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -35458,7 +35466,7 @@ var bA = class e {
wrapper: the(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${xA(t.type)}> in <${xA(r?.type ?? "unknown parent type")}>. Only <${xA(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${SA(t.type)}> in <${SA(r?.type ?? "unknown parent type")}>. Only <${SA(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -35512,12 +35520,12 @@ function the(e, t) {
if (e) return e;
if (t) return t;
}
-function xA(e) {
+function SA(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function SA(e, t, n) {
+function CA(e, t, n) {
let r = (0, b.useMemo)(() => new $me(), []), { children: i, items: a, collection: o } = e;
return (0, b.useMemo)(() => o || t(r.build({
children: i,
@@ -35533,8 +35541,8 @@ function SA(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function CA(e) {
- let { filter: t, layoutDelegate: n } = e, r = yA(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = SA(e, (0, b.useCallback)((e) => t ? new Xme(t(e)) : new Xme(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new bA(a, r, { layoutDelegate: n }), [
+function wA(e) {
+ let { filter: t, layoutDelegate: n } = e, r = bA(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = CA(e, (0, b.useCallback)((e) => t ? new Xme(t(e)) : new Xme(e), [t]), (0, b.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, b.useMemo)(() => new xA(a, r, { layoutDelegate: n }), [
a,
r,
n
@@ -35581,7 +35589,7 @@ function rhe(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function wA(e, t) {
+function TA(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, b.useRef)(null), s = Jv((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -35605,9 +35613,9 @@ function wA(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var TA = /*#__PURE__*/ (0, b.createContext)(null), EA = /*#__PURE__*/ (0, b.createContext)(null), ihe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Xk(e, t, TA);
- let n = (0, b.useContext)(EA);
+var EA = /*#__PURE__*/ (0, b.createContext)(null), DA = /*#__PURE__*/ (0, b.createContext)(null), ihe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = Zk(e, t, EA);
+ let n = (0, b.useContext)(DA);
return n ? /*#__PURE__*/ b.createElement(ohe, {
state: n,
props: e,
@@ -35625,7 +35633,7 @@ function ahe({ props: e, listBoxRef: t, collection: n }) {
children: null,
items: null
};
- let { layoutDelegate: r } = (0, b.useContext)(rA), i = CA({
+ let { layoutDelegate: r } = (0, b.useContext)(iA), i = wA({
...e,
layoutDelegate: r
});
@@ -35636,11 +35644,11 @@ function ahe({ props: e, listBoxRef: t, collection: n }) {
});
}
function ohe({ state: e, props: t, listBoxRef: n }) {
- [t, n] = Xk(t, n, eA);
+ [t, n] = Zk(t, n, tA);
let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = nhe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ny(), { disabledBehavior: p, disabledKeys: m } = l, h = Fx({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(rA), x = (0, b.useMemo)(() => t.keyboardDelegate || new Lb({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, b.useContext)(iA), x = (0, b.useMemo)(() => t.keyboardDelegate || new Lb({
collection: c,
collator: h,
ref: n,
@@ -35701,7 +35709,7 @@ function ohe({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, P = Jk({
+ }, P = Yk({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -35712,7 +35720,7 @@ function ohe({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(N)));
let F = uy(t, { global: !0 });
- return /*#__PURE__*/ b.createElement(Ny, null, /*#__PURE__*/ b.createElement($k.div, {
+ return /*#__PURE__*/ b.createElement(Ny, null, /*#__PURE__*/ b.createElement(eA.div, {
...W(F, P, S, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -35723,39 +35731,39 @@ function ohe({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ b.createElement(qk, { values: [
- [TA, t],
- [EA, s],
- [dA, {
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [
+ [EA, t],
+ [DA, s],
+ [fA, {
dragAndDropHooks: r,
dragState: C,
dropState: w
}],
- [gA, { elementType: "div" }],
- [fA, { render: lhe }],
+ [_A, { elementType: "div" }],
+ [pA, { render: lhe }],
[Hpe, {
name: "ListBoxSection",
render: she
}]
- ] }, /*#__PURE__*/ b.createElement(mA, null, /*#__PURE__*/ b.createElement(y, {
+ ] }, /*#__PURE__*/ b.createElement(hA, null, /*#__PURE__*/ b.createElement(y, {
collection: c,
scrollRef: n,
persistedKeys: Kme(l, r, w),
- renderDropIndicator: pA(r, w)
+ renderDropIndicator: mA(r, w)
}))), ee, D));
}
function she(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, b.useContext)(EA), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(dA), { CollectionBranch: s } = (0, b.useContext)(rA), [c, l] = Zk(), { headingProps: u, groupProps: d } = hoe({
+ let i = (0, b.useContext)(DA), { dragAndDropHooks: a, dropState: o } = (0, b.useContext)(fA), { CollectionBranch: s } = (0, b.useContext)(iA), [c, l] = Qk(), { headingProps: u, groupProps: d } = hoe({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = Jk({
+ }), f = Yk({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
}), p = uy(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ b.createElement($k.section, {
+ return delete p.id, /*#__PURE__*/ b.createElement(eA.section, {
...W(p, f, d),
ref: t
}, /*#__PURE__*/ b.createElement(qme.Provider, { value: {
@@ -35764,11 +35772,11 @@ function she(e, t, n, r = "react-aria-ListBoxSection") {
} }, /*#__PURE__*/ b.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: pA(a, o)
+ renderDropIndicator: mA(a, o)
})));
}
var che = /*#__PURE__*/ Iv(__, function(e, t, n) {
- let r = Dv(t), i = (0, b.useContext)(EA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(dA), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = goe({
+ let r = Dv(t), i = (0, b.useContext)(DA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(fA), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = goe({
key: n.key,
"aria-label": e?.["aria-label"]
}, i, r), { hoverProps: p, isHovered: m } = Kx({
@@ -35787,7 +35795,7 @@ var che = /*#__PURE__*/ Iv(__, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), x = Jk({
+ let y = o && o.isDragging(n.key), x = Yk({
...e,
id: void 0,
children: e.children,
@@ -35805,7 +35813,7 @@ var che = /*#__PURE__*/ Iv(__, function(e, t, n) {
(0, b.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let S = e.href ? $k.a : $k.div, C = uy(e, { global: !0 });
+ let S = e.href ? eA.a : eA.div, C = uy(e, { global: !0 });
return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ b.createElement(S, {
...W(C, x, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -35819,15 +35827,15 @@ var che = /*#__PURE__*/ Iv(__, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ b.createElement(qk, { values: [[sA, { slots: {
- [Kk]: u,
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [[cA, { slots: {
+ [qk]: u,
label: u,
description: d
- } }], [hA, { isSelected: f.isSelected }]] }, x.children));
+ } }], [gA, { isSelected: f.isSelected }]] }, x.children));
});
function lhe(e, t) {
t = Dv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(dA), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(fA), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
return a ? null : /*#__PURE__*/ b.createElement(dhe, {
...e,
dropIndicatorProps: i,
@@ -35836,12 +35844,12 @@ function lhe(e, t) {
});
}
function uhe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Jk({
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Yk({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($k.div, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(eA.div, {
...n,
...a,
role: "option",
@@ -35851,8 +35859,8 @@ function uhe(e, t) {
}
var dhe = /*#__PURE__*/ (0, b.forwardRef)(uhe);
Iv(g_, function(e, t, n) {
- let r = (0, b.useContext)(EA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- wA((0, b.useMemo)(() => ({
+ let r = (0, b.useContext)(DA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
+ TA((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -35862,7 +35870,7 @@ Iv(g_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = Jk({
+ let l = Yk({
...s,
id: void 0,
children: n.rendered,
@@ -35875,7 +35883,7 @@ Iv(g_, function(e, t, n) {
width: 0,
height: 0
},
- inert: _A(!0)
+ inert: vA(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -35884,7 +35892,7 @@ Iv(g_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($k.div, {
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(eA.div, {
...W(uy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
@@ -35896,7 +35904,7 @@ Iv(g_, function(e, t, n) {
var fhe = /*#__PURE__*/ (0, b.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function DA(e) {
+function OA(e) {
let [t, n] = xb(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, b.useState)(null);
return {
isOpen: t,
@@ -35916,7 +35924,7 @@ function DA(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function OA(e, t = !0, n) {
+function kA(e, t = !0, n) {
let [r, i] = (0, b.useState)(!0), a = r && t;
return z_(() => {
if (!t && e.current) return gv(k_(e.current, "opacity", "0"), k_(e.current, "clip", "rect(0 0 0 0)"), k_(e.current, "clip-path", "inset(50%)"), k_(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
@@ -35924,7 +35932,7 @@ function OA(e, t = !0, n) {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
}, [e, a]), phe(e, a, n, (0, b.useCallback)(() => i(!1), [])), a;
}
-function kA(e, t, n) {
+function AA(e, t, n) {
let [r, i] = (0, b.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -35966,9 +35974,9 @@ function phe(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var AA = /*#__PURE__*/ (0, b.createContext)(null), mhe = /*#__PURE__*/ (0, b.createContext)(null), jA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Xk(e, t, AA);
- let n = (0, b.useContext)(HA), r = DA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = kA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = wie(), { direction: c } = ny();
+var jA = /*#__PURE__*/ (0, b.createContext)(null), mhe = /*#__PURE__*/ (0, b.createContext)(null), MA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = Zk(e, t, jA);
+ let n = (0, b.useContext)(HA), r = OA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = AA(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = wie(), { direction: c } = ny();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -35994,7 +36002,7 @@ function hhe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = OA(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = Jk({
+ }, e), g = i.popoverRef, _ = kA(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = Yk({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -36015,7 +36023,7 @@ function hhe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let w = (0, b.useMemo)(() => {
let e = y.children;
- for (let t of [AA, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);
+ for (let t of [jA, ...r ?? []]) e = /*#__PURE__*/ b.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [T, E] = (0, b.useState)(null), D = (0, b.useCallback)(() => {
i.triggerRef.current && E(i.triggerRef.current.getBoundingClientRect().width + "px");
@@ -36031,7 +36039,7 @@ function hhe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-width": y.style?.["--trigger-width"] || T
};
z_(() => TC(() => u(!0)), []);
- let k = /*#__PURE__*/ b.createElement($k.div, {
+ let k = /*#__PURE__*/ b.createElement(eA.div, {
...W(uy(i, { global: !0 }), d),
...y,
id: S ? i.id : void 0,
@@ -36079,8 +36087,8 @@ function hhe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
var ghe = /*#__PURE__*/ (0, b.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function MA(e) {
- let t = DA(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {
+function _he(e) {
+ let t = OA(e), [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -36106,7 +36114,7 @@ function MA(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var _he = class {
+var vhe = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -36150,8 +36158,8 @@ var _he = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function vhe(e) {
- let { onExpandedChange: t } = e, [n, r] = xb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = yA(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = SA(e, (0, b.useCallback)((e) => new _he(e, { expandedKeys: n }), [n]), null);
+function yhe(e) {
+ let { onExpandedChange: t } = e, [n, r] = xb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = bA(e), a = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = CA(e, (0, b.useCallback)((e) => new vhe(e, { expandedKeys: n }), [n]), null);
return (0, b.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -36159,32 +36167,32 @@ function vhe(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(yhe(n, e));
+ r(bhe(n, e));
},
setExpandedKeys: r,
- selectionManager: new bA(o, i)
+ selectionManager: new xA(o, i)
};
}
-function yhe(e, t) {
+function bhe(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
var NA = /*#__PURE__*/ (0, b.createContext)(null), PA = /*#__PURE__*/ (0, b.createContext)(null), FA = /*#__PURE__*/ (0, b.createContext)(null), IA = /*#__PURE__*/ (0, b.createContext)(null);
-function bhe(e) {
- let t = MA(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = xx({
+function xhe(e) {
+ let t = _he(e), n = (0, b.useRef)(null), { menuTriggerProps: r, menuProps: i } = xx({
...e,
type: "menu"
}, t, n), a = (0, b.useRef)(null);
- return wie() ? null : /*#__PURE__*/ b.createElement(qk, { values: [
+ return wie() ? null : /*#__PURE__*/ b.createElement(Jk, { values: [
[NA, {
...i,
ref: a
}],
[HA, t],
[FA, t],
- [AA, {
+ [jA, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -36198,7 +36206,7 @@ function bhe(e) {
isPressed: t.isOpen
}, e.children));
}
-var xhe = /*#__PURE__*/ (0, b.createContext)(null);
+var She = /*#__PURE__*/ (0, b.createContext)(null);
(class extends m_ {
static {
this.type = "submenutrigger";
@@ -36212,24 +36220,24 @@ var xhe = /*#__PURE__*/ (0, b.createContext)(null);
return null;
}
});
-var She = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return [e, t] = Xk(e, t, NA), /*#__PURE__*/ b.createElement(Pv, { content: /*#__PURE__*/ b.createElement(Rv, e) }, (n) => /*#__PURE__*/ b.createElement(Che, {
+var Che = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ return [e, t] = Zk(e, t, NA), /*#__PURE__*/ b.createElement(Pv, { content: /*#__PURE__*/ b.createElement(Rv, e) }, (n) => /*#__PURE__*/ b.createElement(whe, {
props: e,
collection: n,
menuRef: t
}));
});
-function Che({ props: e, collection: t, menuRef: n }) {
- [e, n] = Xk(e, n, eA);
- let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = vhe({
+function whe({ props: e, collection: t, menuRef: n }) {
+ [e, n] = Zk(e, n, tA);
+ let { filter: r, ...i } = e, a = (0, b.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = yhe({
...e,
collection: a,
children: void 0
- }), s = (0, b.useContext)(FA), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(rA), { menuProps: u } = _oe({
+ }), s = (0, b.useContext)(FA), { isVirtualized: c, CollectionRoot: l } = (0, b.useContext)(iA), { menuProps: u } = _oe({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = Jk({
+ }, o, n), d = Yk({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -36240,35 +36248,35 @@ function Che({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = uy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(Ny, null, /*#__PURE__*/ b.createElement($k.div, {
+ return /*#__PURE__*/ b.createElement(Ny, null, /*#__PURE__*/ b.createElement(eA.div, {
...W(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ b.createElement(qk, { values: [
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [
[PA, o],
- [gA, { elementType: "div" }],
+ [_A, { elementType: "div" }],
[Hpe, {
name: "MenuSection",
render: LA
}],
- [xhe, {
+ [She, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
[zA, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [eA, null],
[tA, null],
+ [nA, null],
[IA, o.selectionManager],
- [FA, s ?? MA({})]
- ] }, /*#__PURE__*/ b.createElement(mA, null, /*#__PURE__*/ b.createElement(l, {
+ [FA, s ?? _he({})]
+ ] }, /*#__PURE__*/ b.createElement(hA, null, /*#__PURE__*/ b.createElement(l, {
collection: o.collection,
persistedKeys: Gpe(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var whe = class extends bA {
+var The = class extends xA {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -36289,10 +36297,10 @@ var whe = class extends bA {
}
};
function LA(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, b.useContext)(PA), { CollectionBranch: a } = (0, b.useContext)(rA), [o, s] = Zk(), { headingProps: c, groupProps: l } = yoe({
+ let i = (0, b.useContext)(PA), { CollectionBranch: a } = (0, b.useContext)(iA), [o, s] = Qk(), { headingProps: c, groupProps: l } = yoe({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = Jk({
+ }), u = Yk({
...e,
id: void 0,
children: void 0,
@@ -36300,11 +36308,11 @@ function LA(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, b.useContext)(IA), f = yA(e), p = e.selectionMode == null ? d : new whe(d, f), m = Yk(zA)?.shouldCloseOnSelect, h = uy(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ b.createElement($k.section, {
+ }), d = (0, b.useContext)(IA), f = bA(e), p = e.selectionMode == null ? d : new The(d, f), m = Xk(zA)?.shouldCloseOnSelect, h = uy(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ b.createElement(eA.section, {
...W(h, u, l),
ref: t
- }, /*#__PURE__*/ b.createElement(qk, { values: [
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [
[qme, {
...c,
ref: o
@@ -36317,14 +36325,14 @@ function LA(e, t, n, r = "react-aria-MenuSection") {
})));
}
var RA = /*#__PURE__*/ Lv(rre, LA), zA = /*#__PURE__*/ (0, b.createContext)(null), BA = /*#__PURE__*/ Iv(__, function(e, t, n) {
- [e, t] = Xk(e, t, zA);
- let r = Yk(zA)?.id, i = (0, b.useContext)(PA), a = Dv(t), o = (0, b.useContext)(IA), { isVirtualized: s } = (0, b.useContext)(rA), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = voe({
+ [e, t] = Zk(e, t, zA);
+ let r = Xk(zA)?.id, i = (0, b.useContext)(PA), a = Dv(t), o = (0, b.useContext)(IA), { isVirtualized: s } = (0, b.useContext)(iA), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = voe({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = Kx({ isDisabled: f.isDisabled }), h = Jk({
+ }, i, a), { hoverProps: p, isHovered: m } = Kx({ isDisabled: f.isDisabled }), h = Yk({
...e,
id: void 0,
children: n.rendered,
@@ -36338,7 +36346,7 @@ var RA = /*#__PURE__*/ Lv(rre, LA), zA = /*#__PURE__*/ (0, b.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? $k.a : $k.div, _ = uy(e, { global: !0 });
+ }), g = e.href ? eA.a : eA.div, _ = uy(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(g, {
...W(_, h, c, p),
ref: a,
@@ -36351,19 +36359,19 @@ var RA = /*#__PURE__*/ Lv(rre, LA), zA = /*#__PURE__*/ (0, b.createContext)(null
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ b.createElement(qk, { values: [
- [sA, { slots: {
- [Kk]: l,
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [
+ [cA, { slots: {
+ [qk]: l,
label: l,
description: u
} }],
[ghe, d],
- [hA, { isSelected: f.isSelected }]
+ [gA, { isSelected: f.isSelected }]
] }, h.children));
});
Iv(g_, function(e, t, n) {
let r = (0, b.useContext)(PA), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, b.useRef)(null);
- wA((0, b.useMemo)(() => ({
+ TA((0, b.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -36373,7 +36381,7 @@ Iv(g_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = Jk({
+ let l = Yk({
...s,
id: void 0,
children: n.rendered,
@@ -36386,7 +36394,7 @@ Iv(g_, function(e, t, n) {
width: 0,
height: 0
},
- inert: _A(!0)
+ inert: vA(!0)
}, /*#__PURE__*/ b.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -36395,7 +36403,7 @@ Iv(g_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement($k.div, {
+ })), i && l.children && /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(eA.div, {
...W(uy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
@@ -36406,43 +36414,43 @@ Iv(g_, function(e, t, n) {
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
var VA = /*#__PURE__*/ (0, b.createContext)(null), HA = /*#__PURE__*/ (0, b.createContext)(null), UA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = Xk(e, t, VA);
+ [e, t] = Zk(e, t, VA);
let { dialogProps: r, titleProps: i, contentProps: a } = roe({
...e,
"aria-labelledby": n
}, t), o = (0, b.useContext)(HA);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = Jk({
+ let s = Yk({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
}), c = uy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement($k.section, {
+ return /*#__PURE__*/ b.createElement(eA.section, {
...W(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ b.createElement(qk, { values: [
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [
[Zpe, { slots: {
- [Kk]: {},
+ [qk]: {},
title: {
...i,
level: 2
}
} }],
- [sA, { slots: {
- [Kk]: {},
+ [cA, { slots: {
+ [qk]: {},
description: a
} }],
- [aA, { slots: {
- [Kk]: {},
+ [oA, { slots: {
+ [qk]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
}), WA = typeof document < "u" && window.visualViewport;
-function The() {
+function Ehe() {
let e = $_(), t = (0, b.useRef)(null), [n, r] = (0, b.useState)(() => e ? {
width: 0,
height: 0
@@ -36473,7 +36481,7 @@ function GA() {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var Ehe = /*#__PURE__*/ (0, b.createContext)(null), KA = /*#__PURE__*/ (0, b.createContext)(null), Dhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+var Dhe = /*#__PURE__*/ (0, b.createContext)(null), KA = /*#__PURE__*/ (0, b.createContext)(null), Ohe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
if ((0, b.useContext)(KA)) return /*#__PURE__*/ b.createElement(JA, {
...e,
modalRef: t
@@ -36494,10 +36502,10 @@ var Ehe = /*#__PURE__*/ (0, b.createContext)(null), KA = /*#__PURE__*/ (0, b.cre
modalRef: t
}, s));
});
-function Ohe(e, t) {
- [e, t] = Xk(e, t, Ehe);
- let n = (0, b.useContext)(HA), r = DA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Dv(t), o = (0, b.useRef)(null), s = kA(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = kA(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = $_();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(khe, {
+function khe(e, t) {
+ [e, t] = Zk(e, t, Dhe);
+ let n = (0, b.useContext)(HA), r = OA(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Dv(t), o = (0, b.useRef)(null), s = AA(a, i.isOpen, e.onExit), c = (0, b.useRef)(null), l = AA(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = $_();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ b.createElement(Ahe, {
...e,
state: i,
isExiting: u,
@@ -36506,12 +36514,12 @@ function Ohe(e, t) {
onExitRef: c
});
}
-var qA = /*#__PURE__*/ (0, b.forwardRef)(Ohe);
-function khe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = OA(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Aoe({
+var qA = /*#__PURE__*/ (0, b.forwardRef)(khe);
+function Ahe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, b.useState)(!1), s = kA(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Aoe({
...n,
isEntering: c
- }, i, r), d = (0, b.useContext)(VA), f = t ? Ahe(d, { isEntering: c }) : d, p = Jk({
+ }, i, r), d = (0, b.useContext)(VA), f = t ? jhe(d, { isEntering: c }) : d, p = Yk({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -36519,7 +36527,7 @@ function khe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = The(), h, g;
+ }), m = Ehe(), h, g;
if (typeof document < "u") {
let e = Qy(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
h = e.scrollWidth - t, g = e.scrollHeight - n;
@@ -36534,14 +36542,14 @@ function khe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
return z_(() => TC(() => o(!0)), []), /*#__PURE__*/ b.createElement(Bx, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ b.createElement($k.div, {
+ }, /*#__PURE__*/ b.createElement(eA.div, {
...W(uy(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ b.createElement(qk, { values: [
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [
[KA, {
modalProps: l,
modalRef: r,
@@ -36554,7 +36562,7 @@ function khe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
[VA, f]
] }, p.children)));
}
-function Ahe(e, t) {
+function jhe(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -36572,7 +36580,7 @@ function Ahe(e, t) {
};
}
function JA(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(KA), s = (0, b.useContext)(HA), c = Dv((0, b.useMemo)(() => Sv(e.modalRef, n), [e.modalRef, n])), l = OA(c, o, e.onEnter), u = Jk({
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, b.useContext)(KA), s = (0, b.useContext)(HA), c = Dv((0, b.useMemo)(() => Sv(e.modalRef, n), [e.modalRef, n])), l = kA(c, o, e.onEnter), u = Yk({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -36583,7 +36591,7 @@ function JA(e) {
});
return z_(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ b.createElement($k.div, {
+ }), /*#__PURE__*/ b.createElement(eA.div, {
...W(uy(e, { global: !0 }), t),
...u,
ref: c,
@@ -36593,9 +36601,9 @@ function JA(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var jhe = Math.round(Math.random() * 1e10), Mhe = 0;
-function Nhe(e) {
- let t = (0, b.useMemo)(() => e.name || `radio-group-${jhe}-${++Mhe}`, [e.name]), [n, r] = xb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = fb({
+var Mhe = Math.round(Math.random() * 1e10), Nhe = 0;
+function Phe(e) {
+ let t = (0, b.useMemo)(() => e.name || `radio-group-${Mhe}-${++Nhe}`, [e.name]), [n, r] = xb(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, b.useState)(n), [a, o] = (0, b.useState)(null), s = fb({
...e,
value: n
}), c = (t) => {
@@ -36618,16 +36626,16 @@ function Nhe(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Phe = /*#__PURE__*/ (0, b.createContext)(null), Fhe = /*#__PURE__*/ (0, b.createContext)(null), YA = /*#__PURE__*/ (0, b.createContext)(null), XA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Xk(e, t, Phe);
- let { validationBehavior: n } = Yk(lA) || {}, r = e.validationBehavior ?? n ?? "native", i = Nhe({
+var Fhe = /*#__PURE__*/ (0, b.createContext)(null), Ihe = /*#__PURE__*/ (0, b.createContext)(null), YA = /*#__PURE__*/ (0, b.createContext)(null), XA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = Zk(e, t, Fhe);
+ let { validationBehavior: n } = Xk(uA) || {}, r = e.validationBehavior ?? n ?? "native", i = Phe({
...e,
validationBehavior: r
- }), [a, o] = Zk(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Woe({
+ }), [a, o] = Qk(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Woe({
...e,
label: o,
validationBehavior: r
- }, i), f = Jk({
+ }, i), f = Yk({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -36639,7 +36647,7 @@ var Phe = /*#__PURE__*/ (0, b.createContext)(null), Fhe = /*#__PURE__*/ (0, b.cr
},
defaultClassName: "react-aria-RadioGroup"
}), p = uy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement($k.div, {
+ return /*#__PURE__*/ b.createElement(eA.div, {
...W(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -36648,39 +36656,39 @@ var Phe = /*#__PURE__*/ (0, b.createContext)(null), Fhe = /*#__PURE__*/ (0, b.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ b.createElement(qk, { values: [
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [
[YA, i],
- [iA, {
+ [aA, {
...c,
ref: a,
elementType: "span"
}],
- [sA, { slots: {
+ [cA, { slots: {
description: l,
errorMessage: u
} }],
- [cA, d]
- ] }, /*#__PURE__*/ b.createElement(mA, null, f.children)));
+ [lA, d]
+ ] }, /*#__PURE__*/ b.createElement(hA, null, f.children)));
}), ZA = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Xk(r, t, Fhe);
+ [e, t] = Zk(r, t, Ihe);
let i = b.useContext(YA), a = Dv((0, b.useMemo)(() => Sv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Uoe({
- ...Qk(e),
+ ...$k(e),
children: typeof e.children == "function" || e.children
}, i, a);
return /*#__PURE__*/ b.createElement(QA.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ b.createElement(Ihe, {
+ } }, /*#__PURE__*/ b.createElement(Lhe, {
...e,
ref: t
}));
-}), QA = /*#__PURE__*/ (0, b.createContext)(null), Ihe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}), QA = /*#__PURE__*/ (0, b.createContext)(null), Lhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, b.useContext)(QA), l = b.useContext(YA), { isFocused: u, isFocusVisible: d, focusProps: f } = Hx(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Kx({
...e,
isDisabled: p
- }), g = Jk({
+ }), g = Yk({
...e,
defaultClassName: s,
values: {
@@ -36695,7 +36703,7 @@ var Phe = /*#__PURE__*/ (0, b.createContext)(null), Fhe = /*#__PURE__*/ (0, b.cr
isRequired: l.isRequired
}
}), _ = uy(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement($k.label, {
+ return delete _.id, delete _.onClick, /*#__PURE__*/ b.createElement(eA.label, {
...W(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -36714,8 +36722,8 @@ var Phe = /*#__PURE__*/ (0, b.createContext)(null), Fhe = /*#__PURE__*/ (0, b.cr
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function Lhe(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = DA(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function Rhe(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = OA(e), [i, a] = (0, b.useState)(null), o = (0, b.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -36731,12 +36739,12 @@ function Lhe(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = CA({
+ }, d = wA({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, b.useMemo)(() => Rhe(l), [l]),
+ selectedKeys: (0, b.useMemo)(() => zhe(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -36773,16 +36781,16 @@ function Lhe(e) {
setFocused: g
};
}
-function Rhe(e) {
+function zhe(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function zhe(e) {
+function Bhe(e) {
return e && e.__esModule ? e.default : e;
}
-var $A = /*#__PURE__*/ (0, b.createContext)(null), ej = /*#__PURE__*/ (0, b.createContext)(null), Bhe = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Xk(e, t, $A);
+var $A = /*#__PURE__*/ (0, b.createContext)(null), ej = /*#__PURE__*/ (0, b.createContext)(null), Vhe = /*#__PURE__*/ Mv(function(e, t) {
+ [e, t] = Zk(e, t, $A);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, b.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -36797,24 +36805,24 @@ var $A = /*#__PURE__*/ (0, b.createContext)(null), ej = /*#__PURE__*/ (0, b.crea
i,
a
]);
- return /*#__PURE__*/ b.createElement(Pv, { content: o }, (n) => /*#__PURE__*/ b.createElement(Hhe, {
+ return /*#__PURE__*/ b.createElement(Pv, { content: o }, (n) => /*#__PURE__*/ b.createElement(Uhe, {
props: e,
collection: n,
selectRef: t
}));
-}), Vhe = [
- iA,
+}), Hhe = [
aA,
- sA
+ oA,
+ cA
];
-function Hhe({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = Yk(lA) || {}, i = e.validationBehavior ?? r ?? "native", a = Lhe({
+function Uhe({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = Xk(uA) || {}, i = e.validationBehavior ?? r ?? "native", a = Rhe({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = Hx({ within: !0 }), c = (0, b.useRef)(null), [l, u] = Zk(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Goe({
- ...Qk(e),
+ }), { isFocusVisible: o, focusProps: s } = Hx({ within: !0 }), c = (0, b.useRef)(null), [l, u] = Qk(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Goe({
+ ...$k(e),
label: u,
validationBehavior: i
}, a, c), y = (0, b.useMemo)(() => ({
@@ -36831,48 +36839,48 @@ function Hhe({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), x = Jk({
+ ]), x = Yk({
...e,
values: y,
defaultClassName: "react-aria-Select"
}), S = uy(e, { global: !0 });
delete S.id;
let C = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(qk, { values: [
+ return /*#__PURE__*/ b.createElement(Jk, { values: [
[$A, e],
[ej, a],
[tj, p],
- [iA, {
+ [aA, {
...d,
ref: l,
elementType: "span"
}],
- [aA, {
+ [oA, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
[HA, a],
- [AA, {
+ [jA, {
trigger: "Select",
triggerRef: c,
scrollRef: C,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Vhe
+ clearContexts: Hhe
}],
- [TA, {
+ [EA, {
...m,
ref: C
}],
- [EA, a],
- [sA, { slots: {
+ [DA, a],
+ [cA, { slots: {
description: h,
errorMessage: g
} }],
- [cA, v]
- ] }, /*#__PURE__*/ b.createElement($k.div, {
+ [lA, v]
+ ] }, /*#__PURE__*/ b.createElement(eA.div, {
...W(S, x, s),
ref: t,
slot: e.slot || void 0,
@@ -36887,9 +36895,9 @@ function Hhe({ props: e, selectRef: t, collection: n }) {
autoComplete: e.autoComplete
})));
}
-for (var tj = /*#__PURE__*/ (0, b.createContext)(null), Uhe = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Xk(e, t, tj);
- let n = (0, b.useContext)(ej), { placeholder: r } = Yk($A), i = n.selectedItems.map((e) => {
+for (var tj = /*#__PURE__*/ (0, b.createContext)(null), Whe = /*#__PURE__*/ Mv(function(e, t) {
+ [e, t] = Zk(e, t, tj);
+ let n = (0, b.useContext)(ej), { placeholder: r } = Xk($A), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -36916,7 +36924,7 @@ for (var tj = /*#__PURE__*/ (0, b.createContext)(null), Uhe = /*#__PURE__*/ Mv(f
a,
o,
i
- ]), u = cy(zhe(Wme), "react-aria-components"), d = Jk({
+ ]), u = cy(Bhe(Wme), "react-aria-components"), d = Yk({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -36928,32 +36936,32 @@ for (var tj = /*#__PURE__*/ (0, b.createContext)(null), Uhe = /*#__PURE__*/ Mv(f
state: n
}
}), f = uy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement($k.span, {
+ return /*#__PURE__*/ b.createElement(eA.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ b.createElement(sA.Provider, { value: void 0 }, d.children));
-}), Whe = /*#__PURE__*/ (0, b.createContext)(null), nj = /*#__PURE__*/ (0, b.createContext)(null), Ghe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ b.createElement(cA.Provider, { value: void 0 }, d.children));
+}), Ghe = /*#__PURE__*/ (0, b.createContext)(null), nj = /*#__PURE__*/ (0, b.createContext)(null), Khe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Xk(r, t, Whe);
+ [e, t] = Zk(r, t, Ghe);
let i = Dv((0, b.useMemo)(() => Sv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Sb(e), o = Yoe({
- ...Qk(e),
+ ...$k(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ b.createElement(qk, { values: [[nj, a], [rj, {
+ return /*#__PURE__*/ b.createElement(Jk, { values: [[nj, a], [rj, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ b.createElement(Khe, {
+ }]] }, /*#__PURE__*/ b.createElement(qhe, {
...e,
ref: t
}));
-}), rj = /*#__PURE__*/ (0, b.createContext)(null), Khe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+}), rj = /*#__PURE__*/ (0, b.createContext)(null), qhe = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, b.useContext)(rj), { isFocused: f, isFocusVisible: p, focusProps: m } = Hx(), h = a || o, g = (0, b.useContext)(nj), { hoverProps: _, isHovered: v } = Kx({
...e,
isDisabled: h
- }), y = Jk({
+ }), y = Yk({
...e,
defaultClassName: u,
values: {
@@ -36969,7 +36977,7 @@ for (var tj = /*#__PURE__*/ (0, b.createContext)(null), Uhe = /*#__PURE__*/ Mv(f
state: g
}
}), x = uy(e, { global: !0 });
- return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement($k.label, {
+ return delete x.id, delete x.onClick, /*#__PURE__*/ b.createElement(eA.label, {
...W(x, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -36986,7 +36994,7 @@ for (var tj = /*#__PURE__*/ (0, b.createContext)(null), Uhe = /*#__PURE__*/ Mv(f
...W(r, m),
ref: l
})), y.children);
-}), ij = 10, aj = 5, qhe = class {
+}), ij = 10, aj = 5, Jhe = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -37094,7 +37102,7 @@ for (var tj = /*#__PURE__*/ (0, b.createContext)(null), Uhe = /*#__PURE__*/ Mv(f
boundaryContext: null
};
}
-}, Jhe = class {
+}, Yhe = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -37249,7 +37257,7 @@ function cj(e, t) {
textValue: ""
}));
}
-var Yhe = class extends Jhe {
+var Xhe = class extends Yhe {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
@@ -37358,8 +37366,8 @@ var Yhe = class extends Jhe {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Xhe(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || yA(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Zhe(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || bA(e), i = (0, b.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
@@ -37370,7 +37378,7 @@ function Xhe(e) {
}
a(e, r);
};
- let o = (0, b.useMemo)(() => new bA(t, r), [t, r]), s = (0, b.useRef)(null);
+ let o = (0, b.useMemo)(() => new xA(t, r), [t, r]), s = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -37409,11 +37417,11 @@ function Xhe(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Zhe = {
+var Qhe = {
ascending: "descending",
descending: "ascending"
};
-function Qhe(e) {
+function $he(e) {
let [t, n] = (0, b.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, b.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -37424,7 +37432,7 @@ function Qhe(e) {
i,
r,
a
- ]), c = SA(e, (0, b.useCallback)((e) => new Yhe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Xhe({
+ ]), c = CA(e, (0, b.useCallback)((e) => new Xhe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Zhe({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -37440,7 +37448,7 @@ function Qhe(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Zhe[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Qhe[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -37453,7 +37461,7 @@ function Qhe(e) {
treeColumn: o
};
}
-function $he(e, t) {
+function ege(e, t) {
let n = (0, b.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -37463,7 +37471,7 @@ function $he(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var ege = class extends v_ {
+var tge = class extends v_ {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -37587,9 +37595,9 @@ var ege = class extends v_ {
constructor(...e) {
super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new fj(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, tge = /*#__PURE__*/ (0, b.createContext)(null), nge = /*#__PURE__*/ (0, b.createContext)(null), lj = /*#__PURE__*/ (0, b.createContext)(null), uj = /*#__PURE__*/ (0, b.createContext)(null), rge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Xk(e, t, nge);
- let n = yA(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({
+}, nge = /*#__PURE__*/ (0, b.createContext)(null), rge = /*#__PURE__*/ (0, b.createContext)(null), lj = /*#__PURE__*/ (0, b.createContext)(null), uj = /*#__PURE__*/ (0, b.createContext)(null), ige = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ [e, t] = Zk(e, t, rge);
+ let n = bA(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, b.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -37599,22 +37607,22 @@ var ege = class extends v_ {
i,
a,
o
- ]), c = /*#__PURE__*/ b.createElement(oge.Provider, { value: s }, /*#__PURE__*/ b.createElement(Rv, e));
+ ]), c = /*#__PURE__*/ b.createElement(sge.Provider, { value: s }, /*#__PURE__*/ b.createElement(Rv, e));
return /*#__PURE__*/ b.createElement(Pv, {
content: c,
- createCollection: () => new ege()
- }, (r) => /*#__PURE__*/ b.createElement(age, {
+ createCollection: () => new tge()
+ }, (r) => /*#__PURE__*/ b.createElement(oge, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), ige = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(rA);
- return n ? /*#__PURE__*/ b.createElement($k.div, {
+}), age = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(iA);
+ return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement($k.table, {
+ }) : /*#__PURE__*/ b.createElement(eA.table, {
...e,
ref: t
});
@@ -37628,26 +37636,26 @@ var ege = class extends v_ {
rtl: "ArrowRight"
}
};
-function age({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = Xk(e, t, eA);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(tge);
+function oge({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = Zk(e, t, tA);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, b.useContext)(nge);
t = Dv((0, b.useMemo)(() => Sv(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = xb(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, b.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Qhe({
+ let d = $he({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = $he(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(rA), { dragAndDropHooks: _ } = e, { gridProps: v } = tse({
+ }), f = ege(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, b.useContext)(iA), { dragAndDropHooks: _ } = e, { gridProps: v } = tse({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, x = !!_?.useDraggableCollectionState, S = !!_?.useDroppableCollectionState;
(0, b.useRef)(x), (0, b.useRef)(S), (0, b.useEffect)(() => {}, [x, S]);
- let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = ny(), [A] = (0, b.useState)(() => new qhe());
+ let C, w, T, E = !1, D = null, O = (0, b.useRef)(null), { direction: k } = ny(), [A] = (0, b.useState)(() => new Jhe());
if (x && _) {
C = _.useDraggableCollectionState({
collection: f.collection,
@@ -37687,7 +37695,7 @@ function age({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}
}, w, t), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: j, isFocused: M, isFocusVisible: N } = Hx(), P = Jk({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = Hx(), P = Yk({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -37704,18 +37712,18 @@ function age({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
width: "min-content"
}));
let ne = uy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(qk, { values: [
+ return /*#__PURE__*/ b.createElement(Jk, { values: [
[lj, f],
[uj, te],
- [dA, {
+ [fA, {
dragAndDropHooks: _,
dragState: C,
dropState: w
}],
- [fA, { render: gge }],
- [eA, null],
- [tA, null]
- ] }, /*#__PURE__*/ b.createElement(Ny, null, /*#__PURE__*/ b.createElement(ige, {
+ [pA, { render: _ge }],
+ [tA, null],
+ [nA, null]
+ ] }, /*#__PURE__*/ b.createElement(Ny, null, /*#__PURE__*/ b.createElement(age, {
...W(ne, P, v, j, T?.collectionProps),
style: F,
ref: t,
@@ -37725,22 +37733,22 @@ function age({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": E || void 0,
"data-focused": M || void 0,
"data-focus-visible": N || void 0
- }, /*#__PURE__*/ b.createElement(mA, null, /*#__PURE__*/ b.createElement(g, {
+ }, /*#__PURE__*/ b.createElement(hA, null, /*#__PURE__*/ b.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
persistedKeys: Kme(y, _, w)
})))), D);
}
-var oge = /*#__PURE__*/ (0, b.createContext)(null), fj = class extends m_ {
+var sge = /*#__PURE__*/ (0, b.createContext)(null), fj = class extends m_ {
static {
this.type = "tableheader";
}
-}, sge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(rA);
- return n ? /*#__PURE__*/ b.createElement($k.div, {
+}, cge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(iA);
+ return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement($k.thead, {
+ }) : /*#__PURE__*/ b.createElement(eA.thead, {
...e,
ref: t
});
@@ -37749,7 +37757,7 @@ var oge = /*#__PURE__*/ (0, b.createContext)(null), fj = class extends m_ {
items: n.headerRows,
children: (0, b.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ b.createElement(lge, { item: e });
+ case "headerrow": return /*#__PURE__*/ b.createElement(uge, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
@@ -37757,13 +37765,13 @@ var oge = /*#__PURE__*/ (0, b.createContext)(null), fj = class extends m_ {
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = Jk({
+ }), s = Yk({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ b.createElement(sge, {
+ return /*#__PURE__*/ b.createElement(cge, {
...W(uy(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -37772,8 +37780,8 @@ var oge = /*#__PURE__*/ (0, b.createContext)(null), fj = class extends m_ {
}, (e) => /*#__PURE__*/ b.createElement(Rv, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), cge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(rA);
+}, e.children)), lge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(iA);
return n ? /*#__PURE__*/ b.createElement("div", {
...e,
ref: t
@@ -37782,41 +37790,41 @@ var oge = /*#__PURE__*/ (0, b.createContext)(null), fj = class extends m_ {
ref: t
});
});
-function lge({ item: e }) {
- let t = (0, b.useRef)(null), n = (0, b.useContext)(lj), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(rA), { rowProps: a } = ase({
+function uge({ item: e }) {
+ let t = (0, b.useRef)(null), n = (0, b.useContext)(lj), { isVirtualized: r, CollectionBranch: i } = (0, b.useContext)(iA), { rowProps: a } = ase({
node: e,
isVirtualized: r
}, n, t), { checkboxProps: o } = fse(n);
- return /*#__PURE__*/ b.createElement(cge, {
+ return /*#__PURE__*/ b.createElement(lge, {
...a,
ref: t
- }, /*#__PURE__*/ b.createElement(qk, { values: [[uA, { slots: { selection: o } }], [$pe, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [[dA, { slots: { selection: o } }], [$pe, { slots: { selection: o } }]] }, /*#__PURE__*/ b.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var uge = class extends m_ {
+var dge = class extends m_ {
static {
this.type = "column";
}
-}, dge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(rA);
- return n ? /*#__PURE__*/ b.createElement($k.div, {
+}, fge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(iA);
+ return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement($k.th, {
+ }) : /*#__PURE__*/ b.createElement(eA.th, {
...e,
ref: t
});
-}), mj = /*#__PURE__*/ Iv(uge, (e, t, n) => {
- let r = Dv(t), i = (0, b.useContext)(lj), { isVirtualized: a } = (0, b.useContext)(rA), { columnHeaderProps: o, isPressed: s } = ise({
+}), mj = /*#__PURE__*/ Iv(dge, (e, t, n) => {
+ let r = Dv(t), i = (0, b.useContext)(lj), { isVirtualized: a } = (0, b.useContext)(iA), { columnHeaderProps: o, isPressed: s } = ise({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
}, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Hx(), d = (0, b.useContext)(uj), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = Kx({ isDisabled: !e.allowsSorting }), h = Jk({
+ let { hoverProps: p, isHovered: m } = Kx({ isDisabled: !e.allowsSorting }), h = Yk({
...e,
id: void 0,
children: n.rendered,
@@ -37843,7 +37851,7 @@ var uge = class extends m_ {
width: d.getColumnWidth(n.key)
});
let _ = uy(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ b.createElement(dge, {
+ return delete _.id, /*#__PURE__*/ b.createElement(fge, {
...W(_, o, u, p),
...h,
style: g,
@@ -37855,28 +37863,28 @@ var uge = class extends m_ {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ b.createElement(qk, { values: [[fge, {
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [[pge, {
column: n,
triggerRef: r
- }], [rA, nA]] }, h.children));
-}), fge = /*#__PURE__*/ (0, b.createContext)(null), hj = class extends h_ {
+ }], [iA, rA]] }, h.children));
+}), pge = /*#__PURE__*/ (0, b.createContext)(null), hj = class extends h_ {
static {
this.type = "tablebody";
}
-}, pge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(rA);
- return n ? /*#__PURE__*/ b.createElement($k.div, {
+}, mge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(iA);
+ return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement($k.tbody, {
+ }) : /*#__PURE__*/ b.createElement(eA.tbody, {
...e,
ref: t
});
}), gj = /*#__PURE__*/ Lv(hj, (e, t, n) => {
- let r = (0, b.useContext)(lj), { isVirtualized: i } = (0, b.useContext)(rA), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(rA), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(dA), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+ let r = (0, b.useContext)(lj), { isVirtualized: i } = (0, b.useContext)(iA), a = r.collection, { CollectionBranch: o } = (0, b.useContext)(iA), { dragAndDropHooks: s, dropState: c } = (0, b.useContext)(fA), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = Jk({
+ }, p = Yk({
...e,
id: void 0,
children: void 0,
@@ -37896,14 +37904,14 @@ var uge = class extends m_ {
}, e.renderEmptyState(f)));
}
let { rowGroupProps: g } = Bw(), _ = uy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement(pge, {
+ return /*#__PURE__*/ b.createElement(mge, {
...W(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ b.createElement(xge, null), /*#__PURE__*/ b.createElement(o, {
+ }, l && /*#__PURE__*/ b.createElement(Sge, null), /*#__PURE__*/ b.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: pA(s, c)
+ renderDropIndicator: mA(s, c)
}), m);
});
(class extends h_ {
@@ -37911,7 +37919,7 @@ var uge = class extends m_ {
this.type = "tablefooter";
}
});
-var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), mge = class extends m_ {
+var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), hge = class extends m_ {
static {
this.type = "item";
}
@@ -37924,16 +37932,16 @@ var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), mg
return null;
}
}, vj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(rA);
- return n ? /*#__PURE__*/ b.createElement($k.div, {
+ let { isVirtualized: n } = (0, b.useContext)(iA);
+ return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement($k.tr, {
+ }) : /*#__PURE__*/ b.createElement(eA.tr, {
...e,
ref: t
});
-}), yj = /*#__PURE__*/ Lv(mge, (e, t, n) => {
- let r = Dv(t), i = (0, b.useContext)(lj), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(dA), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(rA), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = cse({
+}), yj = /*#__PURE__*/ Lv(hge, (e, t, n) => {
+ let r = Dv(t), i = (0, b.useContext)(lj), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, b.useContext)(fA), { isVirtualized: c, CollectionBranch: l } = (0, b.useContext)(iA), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = cse({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -37957,7 +37965,7 @@ var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), mg
(0, b.useEffect)(() => {
o && D.current;
}, []);
- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Jk({
+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Yk({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -38007,17 +38015,17 @@ var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), mg
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ b.createElement(qk, { values: [
- [uA, { slots: {
- [Kk]: {},
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [
+ [dA, { slots: {
+ [qk]: {},
selection: S
} }],
[$pe, { slots: {
- [Kk]: {},
+ [qk]: {},
selection: S
} }],
- [aA, { slots: {
- [Kk]: {},
+ [oA, { slots: {
+ [qk]: {},
chevron: f,
drag: {
...C?.dragButtonProps,
@@ -38025,7 +38033,7 @@ var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), mg
style: { pointerEvents: "none" }
}
} }],
- [hA, { isSelected: p.isSelected }],
+ [gA, { isSelected: p.isSelected }],
[_j, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ b.createElement(l, {
collection: i.collection,
@@ -38039,21 +38047,21 @@ var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), mg
items: e.columns,
idScope: e.id
}, e.children);
-}), hge = class extends m_ {
+}), gge = class extends m_ {
static {
this.type = "cell";
}
}, bj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(rA);
- return n ? /*#__PURE__*/ b.createElement($k.div, {
+ let { isVirtualized: n } = (0, b.useContext)(iA);
+ return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement($k.td, {
+ }) : /*#__PURE__*/ b.createElement(eA.td, {
...e,
ref: t
});
-}), xj = /*#__PURE__*/ Iv(hge, (e, t, n) => {
- let r = Dv(t), i = (0, b.useContext)(lj), { dragState: a } = (0, b.useContext)(dA), { isVirtualized: o } = (0, b.useContext)(rA);
+}), xj = /*#__PURE__*/ Iv(gge, (e, t, n) => {
+ let r = Dv(t), i = (0, b.useContext)(lj), { dragState: a } = (0, b.useContext)(fA), { isVirtualized: o } = (0, b.useContext)(iA);
n.column = i.collection.columns[n.index];
let { gridCellProps: s, isPressed: c } = nse({
node: n,
@@ -38061,7 +38069,7 @@ var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), mg
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Hx(), { hoverProps: f, isHovered: p } = Kx({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(_j), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = Jk({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Hx(), { hoverProps: f, isHovered: p } = Kx({}), { isFocusVisibleWithinRow: m } = (0, b.useContext)(_j), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), x = i.selectionManager.isDisabled(n.parentKey), S = Yk({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -38095,14 +38103,14 @@ var _j = /*#__PURE__*/ (0, b.createContext)({ isFocusVisibleWithinRow: !1 }), mg
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": x || void 0
- }, /*#__PURE__*/ b.createElement(rA.Provider, { value: nA }, S.children));
+ }, /*#__PURE__*/ b.createElement(iA.Provider, { value: rA }, S.children));
});
-function gge(e, t) {
+function _ge(e, t) {
t = Dv(t);
- let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(dA), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, b.useContext)(fA), i = (0, b.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ b.createElement(bge, {
+ return /*#__PURE__*/ b.createElement(xge, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -38111,40 +38119,40 @@ function gge(e, t) {
ref: t
});
}
-var _ge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(rA);
- return n ? /*#__PURE__*/ b.createElement($k.div, {
+var vge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(iA);
+ return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement($k.tr, {
+ }) : /*#__PURE__*/ b.createElement(eA.tr, {
...e,
ref: t
});
-}), vge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, b.useContext)(rA);
- return n ? /*#__PURE__*/ b.createElement($k.div, {
+}), yge = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, b.useContext)(iA);
+ return n ? /*#__PURE__*/ b.createElement(eA.div, {
...e,
ref: t
- }) : /*#__PURE__*/ b.createElement($k.td, {
+ }) : /*#__PURE__*/ b.createElement(eA.td, {
...e,
ref: t
});
});
-function yge(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(lj), { visuallyHiddenProps: c } = Tb(), l = Jk({
+function bge(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, b.useContext)(lj), { visuallyHiddenProps: c } = Tb(), l = Yk({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ b.createElement(_ge, {
+ return /*#__PURE__*/ b.createElement(vge, {
...uy(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ b.createElement(vge, {
+ }, /*#__PURE__*/ b.createElement(yge, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -38155,9 +38163,9 @@ function yge(e, t) {
ref: i
}), l.children));
}
-var bge = /*#__PURE__*/ (0, b.forwardRef)(yge);
-function xge() {
- let e = (0, b.useContext)(lj), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(dA), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Tb();
+var xge = /*#__PURE__*/ (0, b.forwardRef)(bge);
+function Sge() {
+ let e = (0, b.useContext)(lj), { dragAndDropHooks: t, dropState: n } = (0, b.useContext)(fA), r = (0, b.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Tb();
return !a && i["aria-hidden"] ? null : /*#__PURE__*/ b.createElement(vj, {
role: "row",
"aria-hidden": i["aria-hidden"],
@@ -38174,8 +38182,8 @@ function xge() {
})));
}
Iv(g_, function(e, t, n) {
- let r = (0, b.useContext)(lj), { isVirtualized: i } = (0, b.useContext)(rA), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
- wA((0, b.useMemo)(() => ({
+ let r = (0, b.useContext)(lj), { isVirtualized: i } = (0, b.useContext)(iA), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, b.useRef)(null);
+ TA((0, b.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -38185,7 +38193,7 @@ Iv(g_, function(e, t, n) {
s,
r?.collection
]), u);
- let d = Jk({
+ let d = Yk({
...c,
id: void 0,
children: n.rendered,
@@ -38195,7 +38203,7 @@ Iv(g_, function(e, t, n) {
}), f = {}, p = {}, m = {};
return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(vj, {
style: { height: 0 },
- inert: _A(!0)
+ inert: vA(!0)
}, /*#__PURE__*/ b.createElement(bj, { style: {
padding: 0,
border: 0
@@ -38222,8 +38230,8 @@ Iv(g_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Sge(e) {
- let [t, n] = xb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = CA({
+function Cge(e) {
+ let [t, n] = xb(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, b.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = wA({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -38246,8 +38254,8 @@ function Sge(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Cge(e) {
- let t = Sge({
+function wge(e) {
+ let t = Cge({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
@@ -38274,19 +38282,19 @@ function Sj(e, t) {
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
var Cj = /*#__PURE__*/ (0, b.createContext)(null), wj = /*#__PURE__*/ (0, b.createContext)(null), Tj = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- [e, t] = Xk(e, t, Cj);
+ [e, t] = Zk(e, t, Cj);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, b.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ b.createElement(Pv, { content: n }, (n) => /*#__PURE__*/ b.createElement(wge, {
+ }) : n, [n, r]), /*#__PURE__*/ b.createElement(Pv, { content: n }, (n) => /*#__PURE__*/ b.createElement(Tge, {
props: e,
collection: n,
tabsRef: t
}));
});
-function wge({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Cge({
+function Tge({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = wge({
...e,
collection: n,
children: void 0
@@ -38298,12 +38306,12 @@ function wge({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = Jk({
+ ]), l = Yk({
...e,
defaultClassName: "react-aria-Tabs",
values: c
}), u = uy(e, { global: !0 });
- return /*#__PURE__*/ b.createElement($k.div, {
+ return /*#__PURE__*/ b.createElement(eA.div, {
...W(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -38311,20 +38319,20 @@ function wge({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ b.createElement(qk, { values: [[Cj, e], [wj, i]] }, l.children));
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [[Cj, e], [wj, i]] }, l.children));
}
var Ej = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- return (0, b.useContext)(wj) ? /*#__PURE__*/ b.createElement(Tge, {
+ return (0, b.useContext)(wj) ? /*#__PURE__*/ b.createElement(Ege, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ b.createElement(Rv, e);
});
-function Tge({ props: e, forwardedRef: t }) {
- let n = (0, b.useContext)(wj), { CollectionRoot: r } = (0, b.useContext)(rA), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Yk(Cj), o = Dv(t), { tabListProps: s } = hse({
+function Ege({ props: e, forwardedRef: t }) {
+ let n = (0, b.useContext)(wj), { CollectionRoot: r } = (0, b.useContext)(iA), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Xk(Cj), o = Dv(t), { tabListProps: s } = hse({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = Jk({
+ }, n, o), c = Yk({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -38333,11 +38341,11 @@ function Tge({ props: e, forwardedRef: t }) {
state: n
}
}), l = uy(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ b.createElement($k.div, {
+ return delete l.id, /*#__PURE__*/ b.createElement(eA.div, {
...W(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ b.createElement(mA, null, /*#__PURE__*/ b.createElement(r, {
+ }, /*#__PURE__*/ b.createElement(hA, null, /*#__PURE__*/ b.createElement(r, {
collection: n.collection,
persistedKeys: Gpe(n.selectionManager.focusedKey)
})));
@@ -38355,7 +38363,7 @@ var Dj = /*#__PURE__*/ Iv(class extends m_ {
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = Jk({
+ }), m = Yk({
...e,
id: void 0,
children: n.rendered,
@@ -38368,7 +38376,7 @@ var Dj = /*#__PURE__*/ Iv(class extends m_ {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? $k.a : $k.div, g = uy(e, { global: !0 });
+ }), h = n.props.href ? eA.a : eA.div, g = uy(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ b.createElement(h, {
...W(g, m, a, l, f),
ref: i,
@@ -38378,26 +38386,26 @@ var Dj = /*#__PURE__*/ Iv(class extends m_ {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ b.createElement(hA.Provider, { value: { isSelected: o } }, m.children));
+ }, /*#__PURE__*/ b.createElement(gA.Provider, { value: { isSelected: o } }, m.children));
}), Oj = /*#__PURE__*/ Mv(function(e, t) {
let n = (0, b.useContext)(wj), r = Dv(t), i = n.selectedKey === e.id, [a, o] = (0, b.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = kA(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(Ege, {
+ let s = AA(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ b.createElement(Dge, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Ege(e) {
- let t = (0, b.useContext)(wj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = gse(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Hx(), d = t.selectedKey === e.id, f = OA(r) && !i, p = Jk({
+function Dge(e) {
+ let t = (0, b.useContext)(wj), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = gse(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Hx(), d = t.selectedKey === e.id, f = kA(r) && !i, p = Yk({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: _A(!d),
+ isInert: vA(!d),
isEntering: f,
isExiting: a,
state: t
@@ -38405,31 +38413,31 @@ function Ege(e) {
}), m = uy(o, { global: !0 });
delete m.id;
let h = d ? W(m, s, c, p) : W(m, p);
- return /*#__PURE__*/ b.createElement($k.div, {
+ return /*#__PURE__*/ b.createElement(eA.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: _A(!d || e.inert),
+ inert: vA(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ b.createElement(qk, { values: [[Cj, null], [wj, null]] }, /*#__PURE__*/ b.createElement(rA.Provider, { value: nA }, p.children)));
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [[Cj, null], [wj, null]] }, /*#__PURE__*/ b.createElement(iA.Provider, { value: rA }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Dge = /*#__PURE__*/ (0, b.createContext)({}), Oge = /*#__PURE__*/ (0, b.createContext)(null), kge = /*#__PURE__*/ Mv(function(e, t) {
- [e, t] = Xk(e, t, Oge);
- let { validationBehavior: n } = Yk(lA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
- [e, i] = Xk(e, i, tA);
- let [a, o] = Zk(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Uae({
- ...Qk(e),
+var Oge = /*#__PURE__*/ (0, b.createContext)({}), kge = /*#__PURE__*/ (0, b.createContext)(null), Age = /*#__PURE__*/ Mv(function(e, t) {
+ [e, t] = Zk(e, t, kge);
+ let { validationBehavior: n } = Xk(uA) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, b.useRef)(null);
+ [e, i] = Zk(e, i, nA);
+ let [a, o] = Qk(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, b.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Uae({
+ ...$k(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, b.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = Jk({
+ }, [i]), h = Yk({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -38439,7 +38447,7 @@ var Dge = /*#__PURE__*/ (0, b.createContext)({}), Oge = /*#__PURE__*/ (0, b.crea
},
defaultClassName: "react-aria-TextField"
}), g = uy(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ b.createElement($k.div, {
+ return delete g.id, /*#__PURE__*/ b.createElement(eA.div, {
...g,
...h,
ref: t,
@@ -38448,8 +38456,8 @@ var Dge = /*#__PURE__*/ (0, b.createContext)({}), Oge = /*#__PURE__*/ (0, b.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ b.createElement(qk, { values: [
- [iA, {
+ }, /*#__PURE__*/ b.createElement(Jk, { values: [
+ [aA, {
...l,
ref: a
}],
@@ -38457,7 +38465,7 @@ var Dge = /*#__PURE__*/ (0, b.createContext)({}), Oge = /*#__PURE__*/ (0, b.crea
...u,
ref: m
}],
- [Dge, {
+ [Oge, {
...u,
ref: m
}],
@@ -38466,13 +38474,448 @@ var Dge = /*#__PURE__*/ (0, b.createContext)({}), Oge = /*#__PURE__*/ (0, b.crea
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [sA, { slots: {
+ [cA, { slots: {
description: d,
errorMessage: f
} }],
- [cA, p]
+ [lA, p]
] }, h.children));
-}), Age = {
+});
+//#endregion
+//#region src/react/boardui/components/base/input/label.tsx
+function jge({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsxs)(Kpe, {
+ "data-label": "true",
+ ...a,
+ className: nk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ children: [
+ i,
+ e && /* @__PURE__ */ (0, x.jsx)("span", {
+ "aria-hidden": "true",
+ className: "text-body-medium text-text-error-primary",
+ children: "*"
+ }),
+ n && /* @__PURE__ */ (0, x.jsx)(fde, {
+ className: "size-4 shrink-0 text-foreground-icon-quaternary",
+ "aria-hidden": !0
+ })
+ ]
+ });
+}
+//#endregion
+//#region src/react/boardui/components/base/input/hint-text.tsx
+function Mge({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, x.jsx)(Qpe, {
+ slot: e ? "errorMessage" : "description",
+ ...n,
+ className: nk("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ });
+}
+//#endregion
+//#region src/react/boardui/components/base/input/input.tsx
+var kj = (0, b.createContext)({});
+function Aj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(kj.Provider, {
+ value: {
+ size: e,
+ fieldClassName: t,
+ inputClassName: n
+ },
+ children: /* @__PURE__ */ (0, x.jsx)(Age, {
+ ...a,
+ "data-input-size": e,
+ className: nk("group flex h-max w-full flex-col items-start gap-1", r),
+ children: i
+ })
+ });
+}
+Aj.displayName = "TextField";
+var jj = rk({
+ field: [
+ "relative flex w-full items-center",
+ "rounded-2lg",
+ "bg-background-tertiary-default text-foreground-icon-tertiary",
+ "ring-2 ring-inset ring-transparent",
+ "transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease"
+ ].join(" "),
+ fieldSize: {
+ medium: "p-2",
+ small: "h-8 px-1.5 py-2"
+ },
+ fieldWithAddonSize: {
+ medium: "h-9 pl-1 pr-2 py-2",
+ small: "h-8 pl-1 pr-1.5 py-2"
+ },
+ content: "flex w-full items-center gap-2 min-w-0",
+ leftSection: "flex flex-1 items-center gap-0.5 min-w-0",
+ input: [
+ "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0",
+ "font-sans text-body-regular text-text-primary pl-1",
+ "placeholder:text-text-tertiary",
+ "focus:placeholder:text-text-primary",
+ "disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text",
+ "disabled:cursor-not-allowed",
+ "aria-invalid:placeholder:text-text-error-placeholder"
+ ].join(" "),
+ icon: "size-5 shrink-0"
+});
+function Mj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, b.useContext)(kj), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, x.jsx)(ome, {
+ ref: s,
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => nk(jj.field, d ? jj.fieldWithAddonSize[u] : jj.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
+ children: /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: jj.content,
+ children: [/* @__PURE__ */ (0, x.jsxs)("div", {
+ className: jj.leftSection,
+ children: [d ? r : t ? /* @__PURE__ */ (0, x.jsx)(t, {
+ className: jj.icon,
+ "aria-hidden": !0
+ }) : null, /* @__PURE__ */ (0, x.jsx)(lme, {
+ ref: o,
+ ...c,
+ className: nk(jj.input, l.inputClassName, a)
+ })]
+ }), n ? /* @__PURE__ */ (0, x.jsx)(n, {
+ className: jj.icon,
+ "aria-hidden": !0
+ }) : null]
+ })
+ });
+}
+Mj.displayName = "InputBase";
+function Nj({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, x.jsx)(Aj, {
+ ...d,
+ className: u,
+ "aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
+ children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+ e && /* @__PURE__ */ (0, x.jsx)(jge, {
+ isRequired: u,
+ isInvalid: d,
+ tooltip: n,
+ children: e
+ }),
+ /* @__PURE__ */ (0, x.jsx)(Mj, {
+ ref: c,
+ groupRef: l,
+ placeholder: r,
+ leadingIcon: i,
+ trailingIcon: a,
+ leadingAddon: o,
+ fieldClassName: s
+ }),
+ t && /* @__PURE__ */ (0, x.jsx)(Mge, {
+ isInvalid: d,
+ children: t
+ })
+ ] })
+ });
+}
+Nj.displayName = "Input";
+//#endregion
+//#region src/react/components/modal-frame.tsx
+var Nge = {
+ "avatar-picker": "max-w-avatar-picker",
+ "cover-crop": "max-w-cover-crop",
+ form: "max-w-form-modal"
+};
+function Pj({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ let { isFocusVisible: a } = Qre();
+ return /* @__PURE__ */ (0, x.jsx)(qA, {
+ isOpen: e,
+ onOpenChange: t,
+ isDismissable: !0,
+ "data-modal-motion": "",
+ "data-motion-instant": a || void 0,
+ className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
+ children: /* @__PURE__ */ (0, x.jsx)(Ohe, {
+ "data-modal-surface": "",
+ className: `flex max-h-full w-full ${Nge[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, x.jsx)(UA, {
+ "aria-label": r,
+ className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
+ children: i
+ })
+ })
+ });
+}
+function Fj({ children: e }) {
+ return /* @__PURE__ */ (0, x.jsx)("span", {
+ "aria-hidden": !0,
+ className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",
+ children: e
+ });
+}
+//#endregion
+//#region src/react/components/sprite-glyph.tsx
+var Pge = { "text-aa": 1.435 }, Ij = /* @__PURE__ */ new Map();
+function Lj(e) {
+ let t = Ij.get(e);
+ if (t) return t;
+ let n = Pge[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+ "aria-hidden": !0,
+ viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
+ className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
+ children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
+ }) : ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+ "aria-hidden": !0,
+ viewBox: "0 0 24 24",
+ fill: "none",
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+ className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
+ children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
+ });
+ return r.displayName = `SpriteGlyph(${e})`, Ij.set(e, r), r;
+}
+//#endregion
+//#region src/react/library-shortcuts/library-shortcuts.ts
+var Rj = ["library-shortcuts"], zj = "/api/library-shortcuts";
+function Bj(e = !0) {
+ return dt({
+ queryKey: Rj,
+ queryFn: ({ signal: e }) => B(zj, e),
+ enabled: e,
+ refetchOnMount: e ? "always" : !1
+ });
+}
+function Vj() {
+ return ft({
+ mutationKey: Rj,
+ mutationFn: (e) => V(zj, e),
+ onSuccess: (e) => {
+ H.setQueryData(Rj, e);
+ }
+ });
+}
+function Hj(e, t) {
+ return e.some((e) => t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name);
+}
+function Fge(e) {
+ return e.kind === "tag" ? "/?tag=" + encodeURIComponent(e.name) : Dt(e.kind, e.name);
+}
+//#endregion
+//#region src/react/library-shortcuts/shortcut-controls.tsx
+var Uj = Lj("star"), Ige = {
+ performer: "艺人",
+ creator: "创作者",
+ studio: "厂牌",
+ series: "系列",
+ agency: "事务所",
+ tag: "标签"
+};
+function Wj({ item: e }) {
+ return /* @__PURE__ */ (0, x.jsx)(Lge, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
+}
+function Lge({ item: e }) {
+ let t = Bj(!1), n = (0, b.useRef)(t.data), r = Vj(), i = t.data && t.data !== n.current ? Hj(t.data.favorites || [], e) : e.favorite ?? (t.data ? Hj(t.data.favorites || [], e) : !1);
+ return /* @__PURE__ */ (0, x.jsxs)("span", {
+ className: "inline-flex min-w-0 flex-col gap-1",
+ children: [
+ /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ leadingIcon: Uj,
+ "aria-pressed": i,
+ "aria-label": `${i ? "取消收藏" : "收藏"}${e.name}`,
+ ...q(r.isPending),
+ onClick: () => {
+ r.isPending || r.mutate({
+ action: "favorite",
+ ...e,
+ on: !i
+ });
+ },
+ children: i ? "已收藏" : "收藏"
+ }),
+ r.isError ? /* @__PURE__ */ (0, x.jsx)(K, {
+ tone: "error",
+ children: z(r.error)
+ }) : null,
+ t.isError ? /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ onClick: () => void t.refetch(),
+ children: "重试读取收藏"
+ }) : null
+ ]
+ });
+}
+function Gj({ currentHref: e, kind: t }) {
+ let [n, r] = (0, b.useState)(!1);
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ leadingIcon: Uj,
+ onClick: () => r(!0),
+ children: "收藏与筛选"
+ }), /* @__PURE__ */ (0, x.jsx)(Pj, {
+ isOpen: n,
+ onOpenChange: r,
+ width: "form",
+ label: "收藏与筛选",
+ children: n ? /* @__PURE__ */ (0, x.jsx)(Rge, {
+ currentHref: e,
+ kind: t,
+ close: () => r(!1)
+ }) : null
+ })] });
+}
+function Rge({ currentHref: e, kind: t, close: n }) {
+ let r = Bj(), i = Vj(), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(t || "all"), [l, u] = (0, b.useState)(""), d = (t) => {
+ t.preventDefault(), e && a.trim() && !i.isPending && i.mutate({
+ action: "save_filter",
+ name: a.trim(),
+ href: e()
+ }, { onSuccess: () => {
+ o(""), u("筛选已保存");
+ } });
+ }, f = r.data, p = (f?.favorites || []).filter((e) => s === "all" || e.kind === s);
+ return /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex min-h-0 min-w-0 flex-col",
+ children: [/* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex shrink-0 items-center justify-between gap-3 border-b border-separator-border p-5",
+ children: [/* @__PURE__ */ (0, x.jsx)("h2", {
+ className: "text-title-2-semibold text-text-primary",
+ children: "收藏与筛选"
+ }), /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ onClick: n,
+ children: "关闭"
+ })]
+ }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex min-h-0 flex-col gap-4 overflow-y-auto overscroll-contain p-5",
+ children: [
+ r.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
+ "aria-busy": "true",
+ "data-skeleton": "",
+ className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"
+ }) : null,
+ r.isError ? /* @__PURE__ */ (0, x.jsx)(K, {
+ tone: "error",
+ action: /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ onClick: () => void r.refetch(),
+ children: "重试"
+ }),
+ children: z(r.error)
+ }) : null,
+ i.isError ? /* @__PURE__ */ (0, x.jsx)(K, {
+ tone: "error",
+ children: z(i.error)
+ }) : null,
+ f ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+ /* @__PURE__ */ (0, x.jsx)("h3", {
+ className: "text-body-medium text-text-primary",
+ children: "收藏"
+ }),
+ /* @__PURE__ */ (0, x.jsx)("div", {
+ className: "flex flex-wrap gap-2",
+ role: "group",
+ "aria-label": "收藏类型",
+ children: [["all", "全部"], ...Object.entries(Ige)].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ "aria-pressed": s === e,
+ onClick: () => c(e),
+ children: t
+ }, e))
+ }),
+ p.length ? null : /* @__PURE__ */ (0, x.jsx)(lk, {
+ shell: "plain",
+ icon: Uj,
+ title: "还没有收藏",
+ children: "在资料页或标签页收藏常用内容。"
+ }),
+ p.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex min-w-0 items-center justify-between gap-2",
+ children: [/* @__PURE__ */ (0, x.jsx)("a", {
+ href: Fge(e),
+ className: "min-w-0 flex-1 break-all text-body-regular text-text-primary underline",
+ children: e.name
+ }), /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ "aria-label": `取消收藏${e.name}`,
+ ...q(i.isPending),
+ onClick: () => {
+ i.isPending || i.mutate({
+ action: "favorite",
+ ...e,
+ on: !1
+ });
+ },
+ children: "取消收藏"
+ })]
+ }, e.key)),
+ /* @__PURE__ */ (0, x.jsx)("h3", {
+ className: "text-body-medium text-text-primary",
+ children: "保存的筛选"
+ }),
+ f.filters.length ? null : /* @__PURE__ */ (0, x.jsx)(lk, {
+ shell: "plain",
+ icon: Lj("filter"),
+ title: "还没有保存的筛选",
+ children: "在馆藏页保存当前条件,随时打开。"
+ }),
+ f.filters.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex min-w-0 items-center justify-between gap-2",
+ children: [/* @__PURE__ */ (0, x.jsx)("span", {
+ className: "min-w-0 flex-1 overflow-hidden",
+ children: /* @__PURE__ */ (0, x.jsx)(sk, {
+ variant: "secondary",
+ href: e.href,
+ title: e.name,
+ children: e.name
+ })
+ }), /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ "aria-label": `删除筛选${e.name}`,
+ ...q(i.isPending),
+ onClick: () => {
+ i.isPending || i.mutate({
+ action: "delete_filter",
+ id: e.id
+ });
+ },
+ children: "删除"
+ })]
+ }, e.id)),
+ e ? /* @__PURE__ */ (0, x.jsxs)("form", {
+ onSubmit: d,
+ className: "flex flex-col gap-3",
+ "aria-label": "保存当前筛选",
+ children: [
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
+ label: "筛选名称",
+ value: a,
+ onChange: o,
+ maxLength: 80
+ }),
+ /* @__PURE__ */ (0, x.jsx)(G, {
+ type: "submit",
+ disabled: !a.trim(),
+ ...q(i.isPending),
+ children: "保存当前筛选"
+ }),
+ l ? /* @__PURE__ */ (0, x.jsx)("span", {
+ role: "status",
+ className: "text-body-2-regular text-text-secondary",
+ children: l
+ }) : null
+ ]
+ }) : null
+ ] }) : null
+ ]
+ })]
+ });
+}
+//#endregion
+//#region src/react/components/use-moving-surface.ts
+var zge = {
selection: {
type: dd,
duration: .16,
@@ -38484,7 +38927,7 @@ var Dge = /*#__PURE__*/ (0, b.createContext)({}), Oge = /*#__PURE__*/ (0, b.crea
bounce: 0
}
};
-function kj(e) {
+function Kj(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!t) return;
@@ -38505,7 +38948,7 @@ function kj(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = nre(n, { transform: [r, E] }, Age[e]);
+ l = nre(n, { transform: [r, E] }, zge[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -38542,140 +38985,118 @@ function kj(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function Aj(e) {
- let t = kj("selection");
+function qj(e) {
+ let t = Kj("selection");
return /* @__PURE__ */ (0, x.jsx)(Ej, {
...e,
ref: t
});
}
-function jj(e) {
- let t = kj("selection");
+function Jj(e) {
+ let t = Kj("selection");
return /* @__PURE__ */ (0, x.jsx)(XA, {
...e,
ref: t
});
}
-var Mj = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", Nj = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", jge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Pj = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", Fj = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", Mge = { "text-aa": 1.435 }, Ij = /* @__PURE__ */ new Map();
-function Lj(e) {
- let t = Ij.get(e);
- if (t) return t;
- let n = Mge[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
- "aria-hidden": !0,
- viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
- className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
- children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
- }) : ({ className: t }) => /* @__PURE__ */ (0, x.jsx)("svg", {
- "aria-hidden": !0,
- viewBox: "0 0 24 24",
- fill: "none",
- strokeLinecap: "round",
- strokeLinejoin: "round",
- className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
- children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
- });
- return r.displayName = `SpriteGlyph(${e})`, Ij.set(e, r), r;
-}
-//#endregion
-//#region src/react/follow-feed/follow-marks.ts
-var Rj = (e) => typeof e == "string" ? e : "", zj = (e) => e.aliases;
-function Bj(e, t = "") {
+var Yj = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", Xj = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Bge = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Zj = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", Qj = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", $j = (e) => typeof e == "string" ? e : "", eM = (e) => e.aliases;
+function tM(e, t = "") {
let n = Rr(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${R(t)}"${t ? ` title="${R(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function Vj(e, t = "") {
+function nM(e, t = "") {
let n = R($n(t || e)), r = Rr(e);
return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;
}
-var Hj = (e) => Rj(e.title).trim() || "未命名内容", Uj = (e, t) => Qn(e, zj(t));
-function Wj(e) {
+var rM = (e) => $j(e.title).trim() || "未命名内容", iM = (e, t) => Qn(e, eM(t));
+function aM(e) {
let t = e.filter((e) => e.entity_id && e.entity_name);
- return new Set(t.map((e) => e.entity_id)).size === 1 ? Rj(t[0]?.entity_name) : "";
+ return new Set(t.map((e) => e.entity_id)).size === 1 ? $j(t[0]?.entity_name) : "";
}
-function Gj(e, t) {
+function oM(e, t) {
let { src: n, fallback: r } = er(e), i = $n(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${R(i)}</span>`;
let a = r ? ` data-fallbacks="${R(r)}"` : "";
return `<img class="favatar" src="${R(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${R(i)}" data-drop-class="favatar none">`;
}
-function Kj(e, t, n) {
- let r = zj(n), i = e.credit, a = i?.poster;
+function sM(e, t, n) {
+ let r = eM(n), i = e.credit, a = i?.poster;
if (!a) {
let n = Qn(t, r);
return {
- author: n || Rj(e.author) || Rj(e.source_label) || "创作者未取得",
- avatar: Gj(t, n),
+ author: n || $j(e.author) || $j(e.source_label) || "创作者未取得",
+ avatar: oM(t, n),
credited: "",
- entityName: Wj(t)
+ entityName: aM(t)
};
}
let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && Qn(c, r) || a;
return {
author: l,
- avatar: Gj(c, l),
+ avatar: oM(c, l),
credited: i.credited || "",
- entityName: Wj(c)
+ entityName: aM(c)
};
}
-function qj(e, t = e.primary) {
+function cM(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let i = Rj(e.primary.version);
+ let i = $j(e.primary.version);
i && n.push(r("version", R(i)));
- let a = Rj(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = $j(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function Jj(e, t = e.primary) {
+function lM(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => Bj(e, t) || `<span>${R(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => tM(e, t) || `<span>${R(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${R([...n.values()].join("、"))}">另见 ${r}</span>`;
}
-function Yj(e, t) {
- let n = Rj(e.media_error);
+function uM(e, t) {
+ let n = $j(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var Nge = 864e5, Pge = (e, t) => {
+var Vge = 864e5, Hge = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > Nge;
+ return Number.isFinite(n) && n - t > Vge;
};
-function Xj(e, t) {
- let n = Rj(e.published_at);
+function dM(e, t) {
+ let n = $j(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = hn(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: Pge(n, t) ? " · 晚于现在" : ""
+ suffix: Hge(n, t) ? " · 晚于现在" : ""
};
}
-function Zj(e, t = Date.now()) {
- let n = Xj(e, t);
+function fM(e, t = Date.now()) {
+ let n = dM(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function Fge(e, t = Date.now()) {
- let n = Xj(e, t);
+function Uge(e, t = Date.now()) {
+ let n = dM(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);
return `${n.prefix}${r}${n.suffix}`;
}
-var Qj = /* @__PURE__ */ new Set(), $j = [], eM = null;
-function tM() {
- if (eM = null, !$j.length) return;
- let e = $j.splice(0, 200);
+var pM = /* @__PURE__ */ new Set(), mM = [], hM = null;
+function gM() {
+ if (hM = null, !mM.length) return;
+ let e = mM.splice(0, 200);
vt("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), $j.length && (eM = setTimeout(tM, 800));
+ }).catch(() => {}), mM.length && (hM = setTimeout(gM, 800));
}
-function Ige(e, t, n, r) {
+function Wge(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- Qj.has(i) || (Qj.add(i), $j.push(t === null ? {
+ pM.has(i) || (pM.add(i), mM.push(t === null ? {
item: e,
width: n,
height: r
@@ -38684,26 +39105,26 @@ function Ige(e, t, n, r) {
width: n,
height: r,
media: t
- }), eM ||= setTimeout(tM, 800));
+ }), hM ||= setTimeout(gM, 800));
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var Lge = (e) => e === "videos", nM = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var Gge = (e) => e === "videos", _M = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function Rge(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Lge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+function Kge(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Gge(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
k: e,
label: t
- })) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = Gk(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = Gk(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = Gk(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
+ })) : i, m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), y = (0, b.useRef)(null), S = (0, b.useRef)(null), C = Kk(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = Kk(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, b.useRef)(null), E = (0, b.useRef)(null), D = u?.mediaCounts ? u : null, O = Kk(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
return (0, b.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(S.current);
- }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rM, {
+ }, [c]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(vM, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, x.jsx)(Hk, {
+ }), /* @__PURE__ */ (0, x.jsx)(Uk, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -38732,19 +39153,19 @@ function Rge(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Hge, {
+ n ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Xge, {
keys: n,
view: t,
row: _,
glide: w,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, x.jsx)(nM, {}) : null] }) : null,
- D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Bge, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(_M, {}) : null] }) : null,
+ D ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Jge, {
head: D,
row: E,
glide: O,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, x.jsx)(nM, {})] }) : null,
+ }), /* @__PURE__ */ (0, x.jsx)(_M, {})] }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -38765,11 +39186,11 @@ function Rge(e) {
f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));
},
children: e.label
- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(nM, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, x.jsx)(_M, {}) : null]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(Uk, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -38778,17 +39199,17 @@ function Rge(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(Vge, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, x.jsx)(Yge, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, x.jsx)(Uge, { ...e })
+ bottom: /* @__PURE__ */ (0, x.jsx)(Zge, { ...e })
})] });
}
-var zge = [[
+var qge = [[
"videos",
"视频",
"play",
@@ -38799,7 +39220,7 @@ var zge = [[
"pics",
"image"
]];
-function Bge({ head: e, row: t, glide: n, onMedia: r }) {
+function Jge({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
ref: t,
role: "group",
@@ -38807,7 +39228,7 @@ function Bge({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: zge.map(([t, i, a, o]) => {
+ children: qge.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -38825,7 +39246,7 @@ function Bge({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function Vge({ head: e, actions: t }) {
+function Yge({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -38835,10 +39256,10 @@ function Vge({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: Bj(n) }
+ dangerouslySetInnerHTML: { __html: tM(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(nM, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(Uk, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, x.jsx)(_M, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -38851,7 +39272,7 @@ function Vge({ head: e, actions: t }) {
}, e.k))
] });
}
-function Hge({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function Xge({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -38899,7 +39320,7 @@ function Hge({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function rM({ items: e, hidden: t, actions: n }) {
+function vM({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -38919,7 +39340,7 @@ function rM({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Uge(e) {
+function Zge(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, x.jsxs)("button", {
@@ -38931,26 +39352,26 @@ function Uge(e) {
dangerouslySetInnerHTML: { __html: L("chevron-left") }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Wge, {
+ /* @__PURE__ */ (0, x.jsx)(Qge, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)(Gge, {
+ t === "videos" && i ? /* @__PURE__ */ (0, x.jsx)($ge, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(qge, {
+ t === "photos" && a ? /* @__PURE__ */ (0, x.jsx)(t_e, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(Kge, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, x.jsx)(e_e, {
head: e.online,
actions: o
}) : null
] });
}
-function Wge({ text: e, busy: t }) {
+function Qge({ text: e, busy: t }) {
return /* @__PURE__ */ (0, x.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, x.jsx)("span", {
@@ -38960,7 +39381,7 @@ function Wge({ text: e, busy: t }) {
}) : e
});
}
-function iM({ name: e, label: t, value: n, options: r, onChange: i }) {
+function yM({ name: e, label: t, value: n, options: r, onChange: i }) {
return /* @__PURE__ */ (0, x.jsx)(XA, {
name: e,
"aria-label": t,
@@ -38968,14 +39389,14 @@ function iM({ name: e, label: t, value: n, options: r, onChange: i }) {
value: n,
onChange: i,
"data-entity-layout": "",
- className: Pj,
+ className: Zj,
children: r.map(([e, t, n]) => {
let r = Lj(n);
return /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: Fj,
+ className: Qj,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -38985,7 +39406,7 @@ function iM({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function aM({ onPress: e, busy: t = !1 }) {
+function bM({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -38999,25 +39420,25 @@ function aM({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? $a("正在换一批") : L("shuffle") }
});
}
-function Gge({ head: e, actions: t }) {
+function $ge({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(aM, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, x.jsx)(iM, {
+ /* @__PURE__ */ (0, x.jsx)(bM, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, x.jsx)(yM, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, x.jsx)(oM, {
+ /* @__PURE__ */ (0, x.jsx)(xM, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function oM({ sorts: e, onSort: t }) {
+function xM({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: e.map((e) => {
let n = Lj(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, x.jsxs)("button", {
@@ -39031,12 +39452,12 @@ function oM({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function Kge({ head: e, actions: t }) {
+function e_e({ head: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(aM, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(iM, {
+ /* @__PURE__ */ (0, x.jsx)(bM, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(yM, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -39056,27 +39477,27 @@ function Kge({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: L("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, x.jsx)(oM, {
+ /* @__PURE__ */ (0, x.jsx)(xM, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function qge({ head: e, actions: t, helpers: n }) {
+function t_e({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, b.useState)(!1), a = (0, b.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, b.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, x.jsx)(aM, {
+ e.shuffle ? /* @__PURE__ */ (0, x.jsx)(bM, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(iM, {
+ /* @__PURE__ */ (0, x.jsx)(yM, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -39092,34 +39513,34 @@ function qge({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var sM = "";
-function Jge(e) {
- let t = !e.tiers, n = t_e(e.comboHost);
+var SM = "";
+function n_e(e) {
+ let t = !e.tiers, n = l_e(e.comboHost);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(rM, {
+ n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(vM, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, x.jsx)(Zge, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(Yge, { ...e })
+ /* @__PURE__ */ (0, x.jsx)(a_e, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, x.jsx)(r_e, { ...e })
]
});
}
-function Yge(e) {
- let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = Gk(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function r_e(e) {
+ let { actions: t, helpers: n } = e, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = Kk(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, b.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = lM(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = wM(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, b.useLayoutEffect)(() => {
uo(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, x.jsx)(Hk, {
+ }, [u]), /* @__PURE__ */ (0, x.jsx)(Uk, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -39162,17 +39583,17 @@ function Yge(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(cM, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(Xge, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, x.jsx)(CM, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, x.jsx)(i_e, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)($ge, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, x.jsx)(s_e, { ...e })
});
}
-function Xge({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, x.jsxs)(Uk, {
+function i_e({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -39183,12 +39604,12 @@ function Xge({ tag: e, onPress: t }) {
})]
});
}
-function Zge(e) {
+function a_e(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = lM(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = lM(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useCallback)((e) => () => t.moreTops(e), [t]), c = wM(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = wM(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, b.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -39201,7 +39622,7 @@ function Zge(e) {
children: [u ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, x.jsx)(cM, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(CM, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -39218,18 +39639,18 @@ function Zge(e) {
}) : null, d ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, x.jsx)(cM, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, x.jsx)(CM, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, x.jsx)(Qge, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(o_e, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function Qge({ studio: e }) {
+function o_e({ studio: e }) {
let [t, n] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-tier-mark": "",
@@ -39243,7 +39664,7 @@ function Qge({ studio: e }) {
}) : e.fallback
});
}
-function cM({ kind: e }) {
+function CM({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -39259,32 +39680,33 @@ function cM({ kind: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {}), /* @__PURE__ */ (0, x.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function $ge({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function s_e({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, b.useState)(!1);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(e_e, { count: e }), /* @__PURE__ */ (0, x.jsxs)("span", {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(c_e, { count: e }), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(aM, {
+ /* @__PURE__ */ (0, x.jsx)(Gj, { currentHref: i.currentHref }),
+ /* @__PURE__ */ (0, x.jsx)(bM, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, x.jsx)(iM, {
+ n ? /* @__PURE__ */ (0, x.jsx)(yM, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, x.jsx)(oM, {
+ /* @__PURE__ */ (0, x.jsx)(xM, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function e_e({ count: e }) {
+function c_e({ count: e }) {
let t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";
return (0, b.useLayoutEffect)(() => {
if (e === !1) return;
@@ -39293,7 +39715,7 @@ function e_e({ count: e }) {
return;
}
let i = t.current;
- i && (sM && i.dataset.popCount === void 0 && (i.dataset.popCount = sM), sM = r, so(i, r));
+ i && (SM && i.dataset.popCount === void 0 && (i.dataset.popCount = SM), SM = r, so(i, r));
}, [e, r]), e === !1 ? /* @__PURE__ */ (0, x.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, x.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -39309,7 +39731,7 @@ function e_e({ count: e }) {
})
}, "skeleton");
}
-function t_e(e) {
+function l_e(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -39319,7 +39741,7 @@ function t_e(e) {
};
}, [e]), t;
}
-function lM(e, t, n, r, i) {
+function wM(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -39359,7 +39781,7 @@ function lM(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function uM(e, t) {
+function TM(e, t) {
let [n, r] = (0, b.useState)(e ? "skeleton" : "none"), [i] = (0, b.useState)(() => e ? t() : ""), a = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
a.current && Co(a.current);
@@ -39385,7 +39807,7 @@ function uM(e, t) {
fading: n === "fade"
};
}
-function dM({ message: e, onRetry: t }) {
+function EM({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -39399,7 +39821,7 @@ function dM({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function fM({ artwork: e, identity: t = e.html, relayout: n }) {
+function DM({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, b.useState)({
identity: t,
artwork: e
@@ -39419,7 +39841,7 @@ function fM({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/row-click.ts
-var n_e = [
+var u_e = [
"a",
"button",
"input",
@@ -39432,35 +39854,35 @@ var n_e = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function pM(e, t) {
+function OM(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(n_e);
+ let r = n.closest(u_e);
return !r || !t.contains(r) || r === t;
}
-function mM(e) {
+function kM(e) {
e.shiftKey && e.preventDefault();
}
//#endregion
//#region src/react/components/media-card.tsx
-var r_e = 9 / 16, hM = "未命名视频";
-function gM({ name: e }) {
+var d_e = 9 / 16, AM = "未命名视频";
+function jM({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-var i_e = {
+var f_e = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
};
-function _M(e, t, n) {
- return t === "short" ? r_e : UT(n);
+function MM(e, t, n) {
+ return t === "short" ? d_e : UT(n);
}
-function a_e(e) {
+function p_e(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ha(e), s = i[0] || "", c = ta(e);
return {
avatar: r ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -39507,7 +39929,7 @@ function a_e(e) {
})
};
}
-function o_e() {
+function m_e() {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -39526,7 +39948,7 @@ function o_e() {
})]
});
}
-function s_e({ item: e, actions: t }) {
+function h_e({ item: e, actions: t }) {
let [n, r] = (0, b.useState)(null), [i, a] = (0, b.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-later": "",
@@ -39544,21 +39966,21 @@ function s_e({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(gM, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function vM(e, t) {
+function NM(e, t) {
let n = e?.querySelector("video.hv");
n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function c_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function g_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, b.useRef)(null), u = (0, b.useRef)(e);
u.current = e;
let d = (0, b.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && qs(l.current), l.current = e, e && (!t.medium || t.medium === "video") && Ys(e, t);
- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = da(e, h, !1, n.javImage), _ = h === "small" ? g.html : da(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || hM, S = o.titleHtml(e, v).trim() || R(hM), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = a_e(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = da(e, h, !1, n.javImage), _ = h === "small" ? g.html : da(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || AM, S = o.titleHtml(e, v).trim() || R(AM), C = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = p_e(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -39588,9 +40010,9 @@ function c_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
u && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);
}, j = /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(_M(e, t, n)) },
+ style: { "--card-ratio": String(MM(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, x.jsx)(fM, {
+ g.html ? /* @__PURE__ */ (0, x.jsx)(DM, {
artwork: g,
identity: _,
relayout: (e) => zs(e, h)
@@ -39604,11 +40026,11 @@ function c_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(gM, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(gM, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(jM, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
f && !p ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-group": "",
@@ -39635,8 +40057,8 @@ function c_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, x.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, x.jsx)(o_e, {}),
- /* @__PURE__ */ (0, x.jsx)(s_e, {
+ /* @__PURE__ */ (0, x.jsx)(m_e, {}),
+ /* @__PURE__ */ (0, x.jsx)(h_e, {
item: e,
actions: s
}),
@@ -39646,27 +40068,27 @@ function c_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), vM(l.current, -a);
+ e.stopPropagation(), NM(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(gM, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), vM(l.current, a);
+ e.stopPropagation(), NM(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, x.jsx)(gM, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, x.jsx)(gM, { name: "expand" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "expand" })
})
]
})
@@ -39683,7 +40105,7 @@ function c_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: A,
- onMouseDown: mM,
+ onMouseDown: kM,
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -39749,8 +40171,8 @@ function c_e({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
]
});
}
-function l_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : i_e[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
+function __e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : f_e[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
t.preventDefault(), t.stopPropagation(), !s && (c(!0), i.resourceOperation(e, p).catch(() => {}).finally(() => c(!1)));
}, g = (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
@@ -39764,14 +40186,14 @@ function l_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": t ? "" : void 0,
onClick: g,
- onMouseDown: mM,
+ onMouseDown: kM,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, x.jsx)(gM, { name: f }), /* @__PURE__ */ (0, x.jsx)("b", { children: d })]
+ children: [/* @__PURE__ */ (0, x.jsx)(jM, { name: f }), /* @__PURE__ */ (0, x.jsx)("b", { children: d })]
}),
l ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -39783,11 +40205,11 @@ function l_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(gM, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: "check" })
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, x.jsx)(gM, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(jM, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -39797,7 +40219,7 @@ function l_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: h,
"aria-busy": s || void 0,
"aria-disabled": s || void 0,
- children: s ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: $a(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, x.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(gM, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, x.jsx)("span", { children: m })] })
+ children: s ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: $a(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, x.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(jM, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, x.jsx)("span", { children: m })] })
})
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -39806,7 +40228,7 @@ function l_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(gM, { name: f })
+ children: /* @__PURE__ */ (0, x.jsx)(jM, { name: f })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
@@ -39835,23 +40257,23 @@ function l_e({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
})]
});
}
-function u_e(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(l_e, { ...e }) : /* @__PURE__ */ (0, x.jsx)(c_e, { ...e });
+function v_e(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, x.jsx)(__e, { ...e }) : /* @__PURE__ */ (0, x.jsx)(g_e, { ...e });
}
-var yM = (0, b.memo)(u_e), d_e = 1100, f_e = 340, p_e = 5e3;
-function m_e(e, t, n) {
+var PM = (0, b.memo)(v_e), y_e = 1100, b_e = 340, x_e = 5e3;
+function S_e(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, p_e);
+ }, s = () => o(!1), c = setTimeout(s, x_e);
t.cancels.add(s), i.onerror = s, i.onload = () => {
i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);
}, i.src = e;
});
}
-function bM({ load: e, canFlip: t, referrerPolicy: n }) {
+function FM({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, b.useState)([]), [a, o] = (0, b.useState)(0), [s, c] = (0, b.useState)(null), l = (0, b.useRef)({
live: !1,
generation: 0,
@@ -39893,11 +40315,11 @@ function bM({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => m_e(t, e, n)));
+ let s = await Promise.all(a.map((t) => S_e(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, d_e);
+ p(), e.cycle = setInterval(p, y_e);
}));
};
return (0, b.useEffect)(() => d, [d]), {
@@ -39906,7 +40328,7 @@ function bM({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(f_e, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(b_e, () => {
e.armed = null, m();
});
},
@@ -39917,8 +40339,8 @@ function bM({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var xM = Lj("play");
-function h_e({ src: e }) {
+var IM = Lj("play");
+function C_e({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
"data-mix-poster": "",
@@ -39931,8 +40353,8 @@ function h_e({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var SM = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
-function g_e({ faces: e, fallback: t, onOpenEntity: n }) {
+var LM = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
+function w_e({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, x.jsx)("button", {
@@ -39940,18 +40362,18 @@ function g_e({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${SM} cursor-pointer outline-none`,
+ className: `${LM} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: ra(e.name, e, Vi(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${SM} mt-0.5`,
+ className: `${LM} mt-0.5`,
children: t
});
}
-function CM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let S = bM({
+function RM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let S = FM({
load: i,
canFlip: a
}), C = (0, b.useRef)(S.onPointerLeave);
@@ -39978,11 +40400,11 @@ function CM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",
children: [
- f?.html ? /* @__PURE__ */ (0, x.jsx)(fM, {
+ f?.html ? /* @__PURE__ */ (0, x.jsx)(DM, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, x.jsx)(h_e, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, x.jsx)(C_e, { src: r }, r) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -40012,7 +40434,7 @@ function CM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, x.jsx)(xM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(IM, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -40025,8 +40447,8 @@ function CM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, x.jsx)(xM, {})
- }) : /* @__PURE__ */ (0, x.jsx)(g_e, {
+ children: /* @__PURE__ */ (0, x.jsx)(IM, {})
+ }) : /* @__PURE__ */ (0, x.jsx)(w_e, {
faces: o,
fallback: qt(e),
onOpenEntity: s
@@ -40050,20 +40472,20 @@ function CM({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function wM(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(v_e, { ...e });
+function zM(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, x.jsx)(E_e, { ...e });
let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${fD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, x.jsx)(y_e, { ...e }, t);
+ return /* @__PURE__ */ (0, x.jsx)(D_e, { ...e }, t);
}
-function __e({ name: e }) {
+function T_e({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function v_e(e) {
- let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(yM, {
+function E_e(e) {
+ let { actions: t } = e, n = (0, b.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, x.jsx)(PM, {
item: i,
variant: r,
layout: e.layout,
@@ -40083,7 +40505,7 @@ function v_e(e) {
children: i
});
}
-function y_e(e) {
+function D_e(e) {
let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? qce(e) : pD(e), s = i && e.initial ? {
pages: [{
...e.initial,
@@ -40114,7 +40536,7 @@ function y_e(e) {
e.mix,
a,
r.javImage
- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = uM(c.isPending, e.skeletonHtml), h = (0, b.useRef)(null), g = b_e(e, c.data, u, d, h);
+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = TM(c.isPending, e.skeletonHtml), h = (0, b.useRef)(null), g = O_e(e, c.data, u, d, h);
(0, b.useLayoutEffect)(() => {
if (!c.data) return;
let t = !0;
@@ -40141,12 +40563,12 @@ function y_e(e) {
let v = (0, b.useCallback)((e, t) => n.open(e, t), [n]), y = (0, b.useCallback)((e, t) => n.openResource(e, t), [n]), S = (0, b.useCallback)((e) => n.openShort(e), [n]), C = (0, b.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), w = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(S_e, {
+ }, [c.fetchNextPage]), w = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)(A_e, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(yM, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, x.jsx)(PM, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -40163,7 +40585,7 @@ function y_e(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, x.jsx)(dM, {
+ if (!c.data) return /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(c.error),
onRetry: () => void c.refetch()
});
@@ -40183,12 +40605,12 @@ function y_e(e) {
children: ele(u, g).map((t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(w)
- }), t.strip ? /* @__PURE__ */ (0, x.jsx)(x_e, {
+ }), t.strip ? /* @__PURE__ */ (0, x.jsx)(k_e, {
cut: t.strip,
props: e,
onOpen: S
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, x.jsx)(BM, {
entity: i,
load: C,
enabled: () => e.canLoadMore?.() !== !1
@@ -40196,7 +40618,7 @@ function y_e(e) {
})()]
});
}
-function TM({ entity: e, load: t, enabled: n, children: r }) {
+function BM({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, b.useRef)(null), a = (0, b.useRef)(!1), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)({
busy: !1,
error: ""
@@ -40258,12 +40680,12 @@ function TM({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!s.error,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: eo("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, x.jsx)(dM, {
+ }), s.error ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function b_e(e, t, n, r, i) {
+function O_e(e, t, n, r, i) {
let [a, o] = (0, b.useState)([]), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(0), u = (0, b.useRef)(0), d = (0, b.useRef)([]);
return (0, b.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, b.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -40294,7 +40716,7 @@ function b_e(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function x_e({ cut: e, props: t, onOpen: n }) {
+function k_e({ cut: e, props: t, onOpen: n }) {
let r = (0, b.useRef)(null), { wireDrag: i } = t;
return (0, b.useEffect)(() => {
r.current && i(r.current);
@@ -40310,12 +40732,12 @@ function x_e({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, x.jsx)(__e, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(T_e, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, x.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(yM, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, x.jsx)(PM, {
item: e,
variant: "short",
layout: t.layout,
@@ -40329,17 +40751,17 @@ function x_e({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function EM(e, t, n) {
+function VM(e, t, n) {
return fa(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function S_e({ seed: e, layout: t, helpers: n, actions: r }) {
+function A_e({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, b.useRef)(/* @__PURE__ */ new Map()), a = (0, b.useRef)(t);
a.current = t;
let o = _a(e, n.tagLabel), s = (0, b.useCallback)(async () => {
let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => mD(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), EM(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = EM(e, t, !1);
- return /* @__PURE__ */ (0, x.jsx)(CM, {
+ return i.current = new Map(n.map((e) => [String(e.id), VM(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = VM(e, t, !1);
+ return /* @__PURE__ */ (0, x.jsx)(RM, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -40349,12 +40771,12 @@ function S_e({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : EM(e, {
+ artworkIdentity: c === "small" ? l.html : VM(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => zs(e, c),
- ratio: _M(e, "grid", t),
+ ratio: MM(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -40366,41 +40788,41 @@ function S_e({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function DM(e) {
+async function HM(e) {
await H.fetchQuery({
queryKey: dn,
queryFn: () => fn(e)
});
}
-var C_e = [
+var j_e = [
"local",
"115",
"pikpak"
-], w_e = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), T_e = "/api/duplicates?limit=120", OM = ["duplicates"], kM = "/api/batch", AM = (e) => B(T_e, e), E_e = /[\s\-_.()[\]【】/\\]/;
-function D_e(e) {
+], M_e = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), N_e = "/api/duplicates?limit=120", UM = ["duplicates"], WM = "/api/batch", GM = (e) => B(N_e, e), P_e = /[\s\-_.()[\]【】/\\]/;
+function F_e(e) {
if (e.length < 2) return "";
let t = 0, n = e[0];
for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;
e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));
let r = t;
- for (; r > 0 && !E_e.test(n[r - 1]);) --r;
+ for (; r > 0 && !P_e.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var O_e = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function k_e(e) {
+var I_e = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function L_e(e) {
await Promise.all([H.fetchQuery({
- queryKey: OM,
- queryFn: () => AM(e)
- }), DM(e)]);
+ queryKey: UM,
+ queryFn: () => GM(e)
+ }), HM(e)]);
}
-var jM = {
+var KM = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, A_e = (e, t) => t.filter((t) => e.some((e) => e.location === t)), MM = (e, t) => A_e(e, t).filter((t) => e.some((e) => e.location !== t)), j_e = (e, t) => t.filter((t) => e.some((e) => MM(e.files, [t]).length));
-function M_e(e, t) {
+}, R_e = (e, t) => t.filter((t) => e.some((e) => e.location === t)), qM = (e, t) => R_e(e, t).filter((t) => e.some((e) => e.location !== t)), z_e = (e, t) => t.filter((t) => e.some((e) => qM(e.files, [t]).length));
+function B_e(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -40419,47 +40841,47 @@ function M_e(e, t) {
}
return n;
}
-function N_e(e, t) {
+function V_e(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
-async function NM(e, t) {
- for (let n = 0; n < e.length; n += 200) await V(kM, {
+async function JM(e, t) {
+ for (let n = 0; n < e.length; n += 200) await V(WM, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var PM = "/api/library-processing", FM = ["library-processing"], IM = (e) => B(PM, e);
-async function LM(e) {
+var YM = "/api/library-processing", XM = ["library-processing"], ZM = (e) => B(YM, e);
+async function QM(e) {
await H.fetchQuery({
- queryKey: FM,
- queryFn: () => IM(e)
+ queryKey: XM,
+ queryFn: () => ZM(e)
});
}
-var P_e = 2e3, F_e = 1e4, RM = "连接中断,正在重新读取处理进度";
-function I_e(e, t) {
- return e?.status === "running" ? P_e : t ? F_e : !1;
+var H_e = 2e3, U_e = 1e4, $M = "连接中断,正在重新读取处理进度";
+function W_e(e, t) {
+ return e?.status === "running" ? H_e : t ? U_e : !1;
}
-var L_e = {
+var G_e = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, zM = {
+}, eN = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function R_e(e) {
- let t = Object.entries(e).filter(([e, t]) => zM[e] && t > 0).map(([e, t]) => `${zM[e]} ${t.toLocaleString()} 部`);
+function K_e(e) {
+ let t = Object.entries(e).filter(([e, t]) => eN[e] && t > 0).map(([e, t]) => `${eN[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function BM(e) {
- let t = L_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${Mk(e.waited_seconds)}` : "";
+function tN(e) {
+ let t = G_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${Nk(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function z_e(e) {
+function q_e(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -40473,21 +40895,21 @@ function z_e(e) {
log: e.issues_log || ""
} : null;
}
-var VM = "peach.library-processing.announced", B_e = 120;
-function V_e(e, t, n) {
+var nN = "peach.library-processing.announced", J_e = 120;
+function Y_e(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < B_e;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < J_e;
if (n || r) {
try {
- if (e.job_id && localStorage.getItem(VM) === e.job_id) return;
- e.job_id && localStorage.setItem(VM, e.job_id);
+ if (e.job_id && localStorage.getItem(nN) === e.job_id) return;
+ e.job_id && localStorage.setItem(nN, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var HM = "/api/media-repair", UM = ["media-repair"], WM = ["media-repair", "libraries"], H_e = {
+var rN = "/api/media-repair", iN = ["media-repair"], aN = ["media-repair", "libraries"], X_e = {
status: "idle",
library: "",
stage: "",
@@ -40499,41 +40921,41 @@ var HM = "/api/media-repair", UM = ["media-repair"], WM = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, GM = (e) => B(HM, e), KM = async (e) => (await B("/api/libraries", e)).libraries || [];
-async function U_e(e) {
+}, oN = (e) => B(rN, e), sN = async (e) => (await B("/api/libraries", e)).libraries || [];
+async function Z_e(e) {
await Promise.all([H.fetchQuery({
- queryKey: UM,
- queryFn: () => GM(e)
+ queryKey: iN,
+ queryFn: () => oN(e)
}), H.fetchQuery({
- queryKey: WM,
- queryFn: () => KM(e)
+ queryKey: aN,
+ queryFn: () => sN(e)
})]);
}
-var qM = (e) => Number(e).toLocaleString();
-function W_e(e) {
+var cN = (e) => Number(e).toLocaleString();
+function Q_e(e) {
if (e.status === "running") {
- let t = e.total ? `${qM(Math.min(e.checked || 0, e.total))} / ${qM(e.total)}` : "准备中";
+ let t = e.total ? `${cN(Math.min(e.checked || 0, e.total))} / ${cN(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${qM(e.repaired)} 部,${qM(e.failed)} 部修不了` : `修好 ${qM(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${cN(e.repaired)} 部,${cN(e.failed)} 部修不了` : `修好 ${cN(e.repaired)} 部` : "";
}
-var G_e = (e) => `${qM(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, K_e = "/api/quality-goals?limit=200", JM = ["quality-goals"], YM = (e) => B(K_e, e);
-async function q_e(e) {
+var $_e = (e) => `${cN(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, eve = "/api/quality-goals?limit=200", lN = ["quality-goals"], uN = (e) => B(eve, e);
+async function tve(e) {
await H.fetchQuery({
- queryKey: JM,
- queryFn: () => YM(e)
+ queryKey: lN,
+ queryFn: () => uN(e)
});
}
-var XM = (e) => e.has_cover ? Qi(e) : `/poster?id=${e.id}&c=4`;
+var dN = (e) => e.has_cover ? Qi(e) : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/selection.ts
-function ZM(e, t, n, r, i, a = i || !e.has(r)) {
+function fN(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/review/review.ts
-var J_e = "/api/review", Y_e = "/api/review/decision", X_e = "/api/review/genre", QM = ["review"], $M = {
+var nve = "/api/review", rve = "/api/review/decision", ive = "/api/review/genre", pN = ["review"], mN = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -40543,15 +40965,15 @@ var J_e = "/api/review", Y_e = "/api/review/decision", X_e = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, Z_e = Object.keys($M), Q_e = "metadata_fields", eN = (e) => typeof e == "string" && Object.hasOwn($M, e), $_e = {
+}, ave = Object.keys(mN), ove = "metadata_fields", hN = (e) => typeof e == "string" && Object.hasOwn(mN, e), sve = {
creator_tags: "creator",
western_identity: "creator"
};
-function eve(e, t) {
+function cve(e, t) {
let n = [["candidates", t ? "按候选数量" : "全部待复核"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
-function tN(e, t) {
+function gN(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -40568,10 +40990,10 @@ function tN(e, t) {
}
return [...n.values()];
}
-function tve(e, t, n) {
- return n && tN(e, t).find((e) => e.key === n)?.rows || e;
+function lve(e, t, n) {
+ return n && gN(e, t).find((e) => e.key === n)?.rows || e;
}
-function nve(e, t) {
+function uve(e, t) {
let n = ln(e.length, 20), r = un(t, n);
return {
page: r,
@@ -40579,32 +41001,32 @@ function nve(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function rve(e) {
+function dve(e) {
return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];
}
-function ive(e, t, n, r, i, a) {
- return ZM(e, t, n, r, i, a);
+function fve(e, t, n, r, i, a) {
+ return fN(e, t, n, r, i, a);
}
-function nN(e, t) {
+function _N(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function rN(e, t) {
+function vN(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var iN = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function ave(e, t) {
- let n = rN(e, t), r = iN(e, t);
+var yN = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function pve(e, t) {
+ let n = vN(e, t), r = yN(e, t);
return r ? `${n} · ${r}` : n;
}
-var ove = (e) => e.reason || e.evidence || e.note || e.decision_note || "", sve = (e) => String(e.tags || "").split("|").filter(Boolean), cve = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function lve(e) {
+var mve = (e) => e.reason || e.evidence || e.note || e.decision_note || "", hve = (e) => String(e.tags || "").split("|").filter(Boolean), gve = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function _ve(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function aN(e, t, n, r) {
+function bN(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -40620,19 +41042,19 @@ function aN(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var uve = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", oN = (e) => B(J_e, e), sN = (e) => V(Y_e, e), dve = (e, t) => V(X_e, {
+var vve = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", xN = (e) => B(nve, e), SN = (e) => V(rve, e), yve = (e, t) => V(ive, {
genre: e,
tag: t
});
-async function fve(e) {
+async function bve(e) {
await H.fetchQuery({
- queryKey: QM,
- queryFn: () => oN(e)
+ queryKey: pN,
+ queryFn: () => xN(e)
});
}
-function cN(e, t) {
+function CN(e, t) {
let n = new Set(t);
- n.size && H.setQueryData(QM, (t) => {
+ n.size && H.setQueryData(pN, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -40648,193 +41070,193 @@ function cN(e, t) {
};
});
}
-var pve = () => H.invalidateQueries({
- queryKey: QM,
+var xve = () => H.invalidateQueries({
+ queryKey: pN,
exact: !0
});
-function mve(e, t) {
+function Sve(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${hn(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var hve = "/api/links", lN = "/api/links/check", uN = "/api/links/prune", dN = ["links"], fN = ["links", "check"], pN = ["links", "prune"], mN = {
+var Cve = "/api/links", wN = "/api/links/check", TN = "/api/links/prune", EN = ["links"], DN = ["links", "check"], ON = ["links", "prune"], kN = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function hN(e) {
+async function AN(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var gN = (e) => B(hve, e), _N = (e) => V(lN, { status_only: !0 }, "POST", e), gve = ({ retry: e, checkId: t }) => hN(V(lN, e ? {
+var jN = (e) => B(Cve, e), MN = (e) => V(wN, { status_only: !0 }, "POST", e), wve = ({ retry: e, checkId: t }) => AN(V(wN, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), vN = (e) => B(uN, e), _ve = (e) => hN(V(uN, {
+} : { restart: !0 })), NN = (e) => B(TN, e), Tve = (e) => AN(V(TN, {
confirm: !0,
check_id: e,
background: !0
-})), yN = (e) => Number(e || 0).toLocaleString(), vve = (e) => `已删除 ${yN(e.removed)} 条;${e.marked ? `已隐退女优的 ${yN(e.marked)} 条留作不可点的记录;` : ""}保留 ${yN(e.recovered)} 条未确认失效的链接。`;
-function yve(e) {
+})), PN = (e) => Number(e || 0).toLocaleString(), Eve = (e) => `已删除 ${PN(e.removed)} 条;${e.marked ? `已隐退女优的 ${PN(e.marked)} 条留作不可点的记录;` : ""}保留 ${PN(e.recovered)} 条未确认失效的链接。`;
+function Dve(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${yN(e.checked)} / ${yN(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${PN(e.checked)} / ${PN(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var bN = "/api/settings", xN = "/api/follow/schedule", SN = "/api/thumbnail-jobs", CN = ["settings"], wN = ["follow-schedule"], TN = ["thumbnail-jobs"], EN = (e) => B(bN, e), bve = (e) => B(xN, e), xve = (e) => B(SN, e);
-function Sve(e = H) {
+var FN = "/api/settings", IN = "/api/follow/schedule", LN = "/api/thumbnail-jobs", RN = ["settings"], zN = ["follow-schedule"], BN = ["thumbnail-jobs"], VN = (e) => B(FN, e), Ove = (e) => B(IN, e), kve = (e) => B(LN, e);
+function Ave(e = H) {
return e.fetchQuery({
- queryKey: CN,
- queryFn: ({ signal: e }) => EN(e),
+ queryKey: RN,
+ queryFn: ({ signal: e }) => VN(e),
staleTime: 0
}).catch(() => null);
}
-function DN() {
+function HN() {
return ft({
- mutationFn: (e) => V(bN, e),
- onSuccess: (e) => H.setQueryData(CN, e)
+ mutationFn: (e) => V(FN, e),
+ onSuccess: (e) => H.setQueryData(RN, e)
});
}
-function Cve() {
+function jve() {
return ft({
- mutationFn: (e) => V(xN, {
+ mutationFn: (e) => V(IN, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => H.setQueryData(wN, e)
+ onSuccess: (e) => H.setQueryData(zN, e)
});
}
-function wve() {
+function Mve() {
return ft({
- mutationFn: (e) => V(SN, { mode: e }),
- onSuccess: (e) => H.setQueryData(TN, e)
+ mutationFn: (e) => V(LN, { mode: e }),
+ onSuccess: (e) => H.setQueryData(BN, e)
});
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Tve = "/api/organize", Eve = "/api/organize/preview", Dve = "/api/organize/apply", Ove = "/api/organize/rollback", ON = ["organize"], kN = (e) => B(Tve, e);
-async function kve(e) {
+var Nve = "/api/organize", Pve = "/api/organize/preview", Fve = "/api/organize/apply", Ive = "/api/organize/rollback", UN = ["organize"], WN = (e) => B(Nve, e);
+async function Lve(e) {
await H.fetchQuery({
- queryKey: ON,
- queryFn: () => kN(e)
+ queryKey: UN,
+ queryFn: () => WN(e)
});
}
-var Ave = (e) => V(Eve, e), jve = (e) => e.kind === "apply" ? V(Dve, {
+var Rve = (e) => V(Pve, e), zve = (e) => e.kind === "apply" ? V(Fve, {
...e.request,
confirm: !0
-}) : V(Ove, { confirm: !0 });
-async function Mve(e) {
- H.setQueryData(ON, (t) => t && {
+}) : V(Ive, { confirm: !0 });
+async function Bve(e) {
+ H.setQueryData(UN, (t) => t && {
...t,
templates: e
});
try {
- await V(bN, { organizeTemplates: e });
+ await V(FN, { organizeTemplates: e });
} catch {}
}
-var Nve = (e, t) => e && {
+var Vve = (e, t) => e && {
...e,
...t
-}, Pve = /目录模板|分隔符|盘符|`\.`/;
-function AN(e) {
+}, Hve = /目录模板|分隔符|盘符|`\.`/;
+function GN(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var jN = (e) => Number(e || 0).toLocaleString();
-function Fve(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${jN(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${jN(e.counts.change)} 个文件会改名或移动,${jN(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var KN = (e) => Number(e || 0).toLocaleString();
+function Uve(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${KN(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${KN(e.counts.change)} 个文件会改名或移动,${KN(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function MN(e) {
+function qN(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${jN(r)} 个文件${n ? `,${jN(n)} 行未能退回` : ""}。` : `已整理 ${jN(r)} 个文件${n ? `,${jN(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${KN(r)} 个文件${n ? `,${KN(n)} 行未能退回` : ""}。` : `已整理 ${KN(r)} 个文件${n ? `,${KN(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var NN = "/api/resource-sync/scan", PN = "/api/resource-sync/apply", FN = ["resource-sync", "scan"], IN = ["resource-sync", "apply"], LN = (e) => V(NN, {
+var JN = "/api/resource-sync/scan", YN = "/api/resource-sync/apply", XN = ["resource-sync", "scan"], ZN = ["resource-sync", "apply"], QN = (e) => V(JN, {
background: !0,
status_only: !0
-}, "POST", e), Ive = () => V(NN, {
+}, "POST", e), Wve = () => V(JN, {
background: !0,
restart: !0
-}), RN = (e) => B(PN, e), Lve = (e) => V(PN, {
+}), $N = (e) => B(YN, e), Gve = (e) => V(YN, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), zN = (e) => (e?.sources ?? []).some((e) => C_e.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function Rve(e) {
- zN(H.getQueryData(dn)) && await Promise.all([H.fetchQuery({
- queryKey: FN,
- queryFn: () => LN(e)
+}), eP = (e) => (e?.sources ?? []).some((e) => j_e.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Kve(e) {
+ eP(H.getQueryData(dn)) && await Promise.all([H.fetchQuery({
+ queryKey: XN,
+ queryFn: () => QN(e)
}), H.fetchQuery({
- queryKey: IN,
- queryFn: () => RN(e)
+ queryKey: ZN,
+ queryFn: () => $N(e)
})]);
}
-var zve = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Bve = {
+var qve = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Jve = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, BN = (e) => Number(e || 0).toLocaleString(), Vve = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", VN = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), HN = (e) => e.vanish ? `${BN(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", UN = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Hve = (e) => `将永久删除文件已不在盘上的 ${BN(VN(e))} 条记录和 ${BN(e.empty)} 个空文件夹,并清理 ${BN(e.cache?.files)} 个闲置缓存。${UN(e)}${HN(e)}`, Uve = (e) => `将永久删除文件已不在盘上的 ${BN(VN(e))} 条记录(含回收站里的)、${BN(e.empty)} 个空文件夹,并清理 ${BN(e.cache?.files)} 个闲置缓存。来源根目录保留。${UN(e)}${HN(e)}`, Wve = (e) => e.online ? [
- `找不到文件 · 共 ${BN(e.total)} 项`,
- e.vanish ? `${BN(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${BN(e.empty)} 个` : "",
- e.unreadable ? `${BN(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${BN(e.total)} 项`;
-function WN(e) {
+}, tP = (e) => Number(e || 0).toLocaleString(), Yve = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", nP = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), rP = (e) => e.vanish ? `${tP(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", iP = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Xve = (e) => `将永久删除文件已不在盘上的 ${tP(nP(e))} 条记录和 ${tP(e.empty)} 个空文件夹,并清理 ${tP(e.cache?.files)} 个闲置缓存。${iP(e)}${rP(e)}`, Zve = (e) => `将永久删除文件已不在盘上的 ${tP(nP(e))} 条记录(含回收站里的)、${tP(e.empty)} 个空文件夹,并清理 ${tP(e.cache?.files)} 个闲置缓存。来源根目录保留。${iP(e)}${rP(e)}`, Qve = (e) => e.online ? [
+ `找不到文件 · 共 ${tP(e.total)} 项`,
+ e.vanish ? `${tP(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${tP(e.empty)} 个` : "",
+ e.unreadable ? `${tP(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${tP(e.total)} 项`;
+function aP(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${BN(t.length)} 条记录没有删除(${o})` : "",
- n ? `${BN(n)} 个文件夹没有删除` : "",
- r.length ? `${BN(r.length)} 个缓存没有清理` : ""
+ t.length ? `${tP(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${tP(n)} 个文件夹没有删除` : "",
+ r.length ? `${tP(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var Gve = (e, t) => {
- let { rest: n } = WN(e), r = `已永久删除 ${BN(e.purged)} 条失效记录和 ${BN(e.dirs_removed)} 个空文件夹,清理 ${BN(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${BN(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${BN(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var $ve = (e, t) => {
+ let { rest: n } = aP(e), r = `已永久删除 ${tP(e.purged)} 条失效记录和 ${tP(e.dirs_removed)} 个空文件夹,清理 ${tP(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${tP(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${tP(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Kve = "/api/review?counts=1", GN = ["review", "counts"], qve = "/api/ads?limit=1", KN = ["junk-summary"], qN = "/api/items?state=trash&limit=1", JN = ["trash-summary"], Jve = [
+}, eye = "/api/review?counts=1", oP = ["review", "counts"], tye = "/api/ads?limit=1", sP = ["junk-summary"], cP = "/api/items?state=trash&limit=1", lP = ["trash-summary"], nye = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], YN = (e) => B(Kve, e), XN = (e) => B(qve, e), ZN = (e) => {
+], uP = (e) => B(eye, e), dP = (e) => B(tye, e), fP = (e) => {
let t = sessionStorage.getItem("peach.library");
- return B(t ? `${qN}&library=${encodeURIComponent(t)}` : qN, e);
-}, QN = (e) => Number(e || 0).toLocaleString();
-function Yve(e) {
- let t = $M, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
+ return B(t ? `${cP}&library=${encodeURIComponent(t)}` : cP, e);
+}, pP = (e) => Number(e || 0).toLocaleString();
+function rye(e) {
+ let t = mN, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function Xve(e) {
+function iye(e) {
if (!e) return "";
- let t = Jve.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${QN(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${QN(e.dismissed_total)}`), t.join(" · ");
-}
-var Zve = [
- [GN, ({ signal: e }) => YN(e)],
- [JM, ({ signal: e }) => YM(e)],
- [JN, ({ signal: e }) => ZN(e)],
- [dN, ({ signal: e }) => gN(e)],
- [fN, ({ signal: e }) => _N(e)],
- [pN, ({ signal: e }) => vN(e)]
+ let t = nye.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${pP(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${pP(e.dismissed_total)}`), t.join(" · ");
+}
+var aye = [
+ [oP, ({ signal: e }) => uP(e)],
+ [lN, ({ signal: e }) => uN(e)],
+ [lP, ({ signal: e }) => fP(e)],
+ [EN, ({ signal: e }) => jN(e)],
+ [DN, ({ signal: e }) => MN(e)],
+ [ON, ({ signal: e }) => NN(e)]
];
-async function Qve(e) {
- let t = location.hash === "#resource-sync", n = Zve.map(([n, r]) => {
+async function oye(e) {
+ let t = location.hash === "#resource-sync", n = aye.map(([n, r]) => {
if (t) return H.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -40847,49 +41269,49 @@ async function Qve(e) {
await Promise.all([
...n,
H.fetchQuery({
- queryKey: KN,
- queryFn: () => XN(e)
+ queryKey: sP,
+ queryFn: () => dP(e)
}),
H.fetchQuery({
- queryKey: OM,
- queryFn: () => AM(e)
+ queryKey: UM,
+ queryFn: () => GM(e)
}),
- DM(e).then(() => Rve(e)),
- LM(e),
- U_e(e),
- kve(e)
+ HM(e).then(() => Kve(e)),
+ QM(e),
+ Z_e(e),
+ Lve(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var $ve = [
+var sye = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], eye = [
+], cye = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function $N(e = {}) {
- return `${sk({
+function mP(e = {}) {
+ return `${ck({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var eP = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", tye = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function tP({ interactive: e = !1 } = {}) {
- return sk({
+var hP = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", lye = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function gP({ interactive: e = !1 } = {}) {
+ return ck({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var nye = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function nP({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var uye = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function _P({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -40922,13 +41344,13 @@ function nP({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function rP({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function vP({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, x.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${$ve[n % 4]} ${eye[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${sye[n % 4]} ${cye[n % 4]}`,
children: /* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -40950,8 +41372,8 @@ function rP({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function iP(e) {
- let t = kj("hover");
+function yP(e) {
+ let t = Kj("hover");
return /* @__PURE__ */ (0, x.jsx)(UA, {
...e,
ref: t
@@ -40959,7 +41381,7 @@ function iP(e) {
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var aP = [
+var bP = [
"max-w-[calc(100vw-32px)] overflow-y-auto",
"rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
@@ -40967,31 +41389,31 @@ var aP = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), rye = "w-[266px]", iye = "flex w-full flex-col gap-1 outline-none", oP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), sP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", aye = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", cP = {
+].join(" "), dye = "w-[266px]", fye = "flex w-full flex-col gap-1 outline-none", xP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), SP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", pye = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", CP = {
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
-}, oye = {
- medium: cP.medium,
+}, mye = {
+ medium: CP.medium,
small: "size-8 rounded-lg p-0 text-body-medium"
-}, sye = {
+}, hye = {
medium: "size-5 shrink-0",
small: "size-[18px] shrink-0"
-}, cye = {
+}, gye = {
medium: "inline-flex items-center justify-center px-1 shrink-0",
small: "inline-flex items-center justify-center px-0.5 shrink-0"
-}, lye = {
+}, _ye = {
primary: "bg-button-primary text-text-white shadow-xs",
secondary: "bg-background-primary-default text-text-primary border border-border-button-default shadow-xs",
ghost: "bg-button-ghost-background text-button-ghost-foreground"
-}, lP = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
-function uP(e, t = "", n = e) {
- return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${lP("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${R(n)}" value="${R(t)}" placeholder="${R(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;
+}, wP = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
+function TP(e, t = "", n = e) {
+ return `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1"><div data-rac class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0">${wP("search", "size-5 shrink-0")}<input type="search" enterkeyhint="search" readonly tabindex="-1" aria-label="${R(n)}" value="${R(t)}" placeholder="${R(e)}" class="min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary"></div></div></div></div>`;
}
-function dP({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
- let o = r ? cP[t] : oye[t], s = n ? lP(n, sye[t]) : "", c = r ? `<span class="${cye[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
- return `<button type="button" class="${aye} ${o} ${lye[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
+function EP({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
+ let o = r ? CP[t] : mye[t], s = n ? wP(n, hye[t]) : "", c = r ? `<span class="${gye[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
+ return `<button type="button" class="${pye} ${o} ${_ye[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
}
-var uye = {
+var vye = {
md: {
box: "gap-1.5 px-2.5 py-2 text-body-medium",
value: "gap-[5px]",
@@ -41003,156 +41425,156 @@ var uye = {
chevron: "size-3.5"
}
};
-function fP(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
- let i = uye[t];
- return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${lP("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
+function DP(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
+ let i = vye[t];
+ return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${wP("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
}
-var dye = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", fye = "flex min-w-0 flex-col gap-2", pye = "text-body-regular text-text-secondary", mye = "text-display-4-medium tabular-nums text-text-primary", hye = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
-function pP(e) {
- return `<div data-collection-summary="" class="${dye}"><div class="${fye}"><span class="${pye}">${e}</span><strong class="${mye}"><span data-skeleton="count" aria-hidden="true" class="${hye}"></span></strong></div></div>`;
+var yye = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", bye = "flex min-w-0 flex-col gap-2", xye = "text-body-regular text-text-secondary", Sye = "text-display-4-medium tabular-nums text-text-primary", Cye = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
+function OP(e) {
+ return `<div data-collection-summary="" class="${yye}"><div class="${bye}"><span class="${xye}">${e}</span><strong class="${Sye}"><span data-skeleton="count" aria-hidden="true" class="${Cye}"></span></strong></div></div>`;
}
//#endregion
//#region src/management.ts
-var mP = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", hP = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", gP = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", _P = "type=\"button\" disabled data-skeleton-action", vP = "disabled data-skeleton-action", gye = "aria-disabled=\"true\"", yP = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, bP = (e, t) => `<div data-geist-fieldset-content>
+var kP = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", AP = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", jP = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", MP = "type=\"button\" disabled data-skeleton-action", NP = "disabled data-skeleton-action", wye = "aria-disabled=\"true\"", PP = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, FP = (e, t) => `<div data-geist-fieldset-content>
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div>`;
-function _ye() {
- return yP(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${bP("扫描与采集", mP)}
- <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${lP("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${dP({
+function Tye() {
+ return PP(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${FP("扫描与采集", kP)}
+ <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${wP("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${EP({
glyph: "database",
label: "扫描并补全资料",
- attrs: vP
- })}${dP({
+ attrs: NP
+ })}${EP({
glyph: "chevron-down",
- attrs: `${vP} aria-label="更多扫描与采集方式"`
+ attrs: `${NP} aria-label="更多扫描与采集方式"`
})}</span></footer>
</section>`);
}
-function vye() {
- return yP(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${bP("媒体修复", hP)}
- <footer data-geist-fieldset-footer>${fP(gP, {
+function Eye() {
+ return PP(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${FP("媒体修复", AP)}
+ <footer data-geist-fieldset-footer>${DP(jP, {
className: "w-48",
- attrs: gye
- })}${dP({
+ attrs: wye
+ })}${EP({
label: "开始修复",
- attrs: vP
+ attrs: NP
})}</footer>
</section>`);
}
-function xP() {
+function IP() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = `<span class="geist-button ui-organize-preset-skeleton">${gP}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
- <span class="geist-input ui-organize-input-skeleton">${gP}</span></div>`;
+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${jP}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
+ <span class="geist-input ui-organize-input-skeleton">${jP}</span></div>`;
return `<div class="ui-cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态">
<div class="ui-cleanupstats">${e.map(([e, t]) => `
<button type="button" class="board-plain-stat" disabled>
<span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${L(t)}</span>${e}</span>
- <strong>${gP}</strong><span class="cleanupmeta">${gP}</span></button>`).join("")}</div>
+ <strong>${jP}</strong><span class="cleanupmeta">${jP}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${_ye()}</div>
- <div class="cleanupmediarepair">${vye()}</div>
+ <div class="cleanupscraping">${Tye()}</div>
+ <div class="cleanupmediarepair">${Eye()}</div>
<section class="cleanupfieldset cleanuporganize" data-geist-fieldset data-cleanup-task aria-labelledby="cleanup-loading-organize">
<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3>
<p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
<div class="ui-organizefields">
- <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${gP}${L("chevron-down")}</span></span></div>
+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${jP}${L("chevron-down")}</span></span></div>
${n("文件名模板")}
${n("目录模板")}
<div class="ui-organizepresets">${t}</div>
- <p class="cleanupmeta">${gP}</p>
+ <p class="cleanupmeta">${jP}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${_P}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${MP}>预览</button></footer>
</section></div>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>
- <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${gP}</b><small>${gP}</small></div>${[
+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${jP}</b><small>${jP}</small></div>${[
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div><span>${e}</span><b>${gP}</b></div>`).join("")}</div>
- <div class="ui-linkhosts"><span>主要站点</span><b>${gP}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${_P}>${L("unlink")}<span>检查死链</span></button></div>
+ ].map((e) => `<div><span>${e}</span><b>${jP}</b></div>`).join("")}</div>
+ <div class="ui-linkhosts"><span>主要站点</span><b>${jP}</b></div></div></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${MP}>${L("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-sync">
<h2 id="cleanup-loading-sync">资源同步</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3>
<p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${_P}>${L("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${MP}>${L("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/react/components/fieldset.tsx
-var yye = sk({
+var Dye = ck({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), bye = {
+}), Oye = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, xye = {
+}, kye = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
-}, Sye = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Cye = {
+}, Aye = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", jye = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, wye = sk({
+}, Mye = ck({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), SP = "border-t border-border-button-default p-4 first:border-t-0";
-function CP({ tone: e = "neutral", status: t, children: n }) {
+}), LP = "border-t border-border-button-default p-4 first:border-t-0";
+function RP({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `${Sye} ${Cye[e]}`,
+ className: `${Aye} ${jye[e]}`,
children: [t ? /* @__PURE__ */ (0, x.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function wP({ id: e, children: t }) {
+function zP({ id: e, children: t }) {
return /* @__PURE__ */ (0, x.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function TP({ id: e, gap: t = "none", children: n }) {
+function BP({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, x.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function EP({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function VP({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${yye} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${Dye} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: bye[e],
+ className: Oye[e],
children: a
}), i ? /* @__PURE__ */ (0, x.jsx)("footer", {
- className: xye[e],
+ className: kye[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function DP() {
+function HP() {
let e = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
va(e.current);
@@ -41160,7 +41582,7 @@ function DP() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var OP = nk({
+var UP = rk({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -41181,21 +41603,21 @@ var OP = nk({
small: "size-4 shrink-0"
}
});
-function kP({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function WP({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
ref: i,
type: r,
- className: tk(OP.base, OP.size[t], n),
+ className: nk(UP.base, UP.size[t], n),
...a,
children: /* @__PURE__ */ (0, x.jsx)(e, {
- className: OP.icon[t],
+ className: UP.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function Tye({ className: e }) {
+function Nye({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -41208,8 +41630,8 @@ function Tye({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-open" })
});
}
-var Eye = "打开文件管理器失败,请重试";
-function AP({ path: e, prefix: t, className: n, onRevealed: r }) {
+var Pye = "打开文件管理器失败,请重试";
+function GP({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(""), c = (0, b.useRef)(!0);
(0, b.useEffect)(() => () => {
c.current = !1;
@@ -41220,7 +41642,7 @@ function AP({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof en ? e.message : Eye);
+ c.current && s(e instanceof en ? e.message : Pye);
} finally {
c.current && a(!1);
}
@@ -41231,10 +41653,10 @@ function AP({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, x.jsxs)("p", {
- className: tk("min-w-0 break-all", n),
+ className: nk("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, x.jsx)(kP, {
- icon: Tye,
+ }), /* @__PURE__ */ (0, x.jsx)(WP, {
+ icon: Nye,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -41249,38 +41671,38 @@ function AP({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function jP({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function KP({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : sk({
+ className: r ? "flex flex-col gap-1.5" : ck({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(fk, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(pk, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, x.jsx)(lk, { label: e })
+ })] }) : /* @__PURE__ */ (0, x.jsx)(uk, { label: e })
});
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function MP({ toast: e, mode: t, monitor: n }) {
+function qP({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = dt({
- queryKey: FM,
- queryFn: ({ signal: e }) => IM(e),
- refetchInterval: (e) => I_e(e.state.data, r)
+ queryKey: XM,
+ queryFn: ({ signal: e }) => ZM(e),
+ refetchInterval: (e) => W_e(e.state.data, r)
}), [a, o] = (0, b.useState)(null), s = (0, b.useRef)(void 0), c = i.data;
return (0, b.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && V_e(c, e, r);
+ r && o(c), (r || t === "notice") && Y_e(c, e, r);
}, [
c,
t,
@@ -41293,15 +41715,15 @@ function MP({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var Dye = [
+var Fye = [
{
label: "扫描并补全资料",
- icon: TO,
+ icon: EO,
command: {}
},
{
label: "只扫描",
- icon: OO,
+ icon: kO,
command: { stage: "scan" }
},
{
@@ -41309,13 +41731,13 @@ var Dye = [
icon: ude,
command: { stage: "collect" }
}
-], Oye = tk(oP, sP, "text-body-2-medium"), kye = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Aye = (e) => {
+], Iye = nk(xP, SP, "text-body-2-medium"), Lye = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Rye = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
-}, jye = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Aye(e);
-function Mye({ busy: e, onRun: t }) {
+}, zye = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Rye(e);
+function Bye({ busy: e, onRun: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -41324,14 +41746,14 @@ function Mye({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: TO,
+ leadingIcon: EO,
onClick: () => a({}),
...q(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: bO,
+ leadingIcon: xO,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -41340,19 +41762,19 @@ function Mye({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(jA, {
+ }), /* @__PURE__ */ (0, x.jsx)(MA, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: aP,
- children: /* @__PURE__ */ (0, x.jsx)(iP, {
+ className: bP,
+ children: /* @__PURE__ */ (0, x.jsx)(yP, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: Dye.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ children: Fye.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: Oye,
+ className: Iye,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, x.jsx)(t, {
"aria-hidden": !0,
@@ -41362,8 +41784,8 @@ function Mye({ busy: e, onRun: t }) {
})
})] });
}
-function Nye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = z_e(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = R_e(e.notes || {}), c = DP();
+function Vye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = q_e(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = K_e(e.notes || {}), c = HP();
return /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -41371,7 +41793,7 @@ function Nye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "处理较慢",
- children: kye
+ children: Lye
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -41383,7 +41805,7 @@ function Nye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, x.jsxs)(Dk, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Ok, {
summary: a.label,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -41414,7 +41836,7 @@ function Nye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, x.jsx)(AP, {
+ children: /* @__PURE__ */ (0, x.jsx)(GP, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -41428,13 +41850,13 @@ function Nye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "处理完成",
- children: jye(n)
+ children: zye(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, x.jsx)(AP, {
+ children: /* @__PURE__ */ (0, x.jsx)(GP, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -41446,38 +41868,38 @@ function Nye({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function NP(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = MP(e), o = ft({
- mutationFn: (e) => V(PM, e),
+function JP(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = qP(e), o = ft({
+ mutationFn: (e) => V(YM, e),
onSuccess: (e) => {
- a(), H.setQueryData(FM, e), H.invalidateQueries({ queryKey: FM });
+ a(), H.setQueryData(XM, e), H.invalidateQueries({ queryKey: XM });
}
});
(0, b.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? z(o.error) : r.isError ? r.data ? RM : z(r.error) : "", l = o.isPending || s.status === "running", u = BM(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? z(o.error) : r.isError ? r.data ? $M : z(r.error) : "", l = o.isPending || s.status === "running", u = tN(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, x.jsx)(EP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(VP, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(gk, {
+ /* @__PURE__ */ (0, x.jsx)(_k, {
href: "/scraping",
size: "small",
- trailingIcon: xO,
+ trailingIcon: SO,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, x.jsx)(gk, {
+ s.candidates ? /* @__PURE__ */ (0, x.jsx)(_k, {
href: "/review",
size: "small",
- trailingIcon: xO,
+ trailingIcon: SO,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Mye, {
+ /* @__PURE__ */ (0, x.jsx)(Bye, {
busy: l,
onRun: d
})
@@ -41485,12 +41907,12 @@ function NP(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(TP, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, x.jsx)(BP, { children: "扫描与采集" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: mP
+ children: kP
}),
- s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(jP, {
+ s.status === "running" ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: u,
value: Math.min(s.checked || 0, s.total || 0),
@@ -41498,7 +41920,7 @@ function NP(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(Nye, {
+ }), /* @__PURE__ */ (0, x.jsx)(Vye, {
state: s,
problem: c,
settled: i,
@@ -41514,7 +41936,7 @@ function NP(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Pye(e) {
+function Hye(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -41528,7 +41950,7 @@ function Pye(e) {
})
});
}
-function Fye(e) {
+function Uye(e) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -41542,7 +41964,7 @@ function Fye(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Iye(e, t, n) {
+function Wye(e, t, n) {
(0, b.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -41556,7 +41978,7 @@ function Iye(e, t, n) {
n
]);
}
-function Lye(e, t) {
+function Gye(e, t) {
let n = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
if (!e) return;
@@ -41570,33 +41992,33 @@ function Lye(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var PP = (0, b.createContext)("md");
-function FP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var YP = (0, b.createContext)("md");
+function XP({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, b.useRef)(null), u = (0, b.useRef)(null), [d, f] = (0, b.useState)(!1);
- Iye(d, () => f(!1), [l, u]);
- let p = Lye(d, l);
- return /* @__PURE__ */ (0, x.jsx)(Bhe, {
+ Wye(d, () => f(!1), [l, u]);
+ let p = Gye(d, l);
+ return /* @__PURE__ */ (0, x.jsx)(Vhe, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: tk("group flex flex-col", e),
+ className: nk("group flex flex-col", e),
children: ({ isOpen: e }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(Jpe, {
ref: l,
- className: tk("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
- children: [/* @__PURE__ */ (0, x.jsx)(Uhe, {
- className: tk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: nk("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),
+ children: [/* @__PURE__ */ (0, x.jsx)(Whe, {
+ className: nk("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, x.jsx)(Pye, { className: tk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, x.jsx)(jA, {
+ }), /* @__PURE__ */ (0, x.jsx)(Hye, { className: nk("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, x.jsx)(MA, {
ref: u,
isNonModal: !0,
offset: 4,
- className: tk(rye, aP, "p-2", n),
+ className: nk(dye, bP, "p-2", n),
children: /* @__PURE__ */ (0, x.jsx)(ihe, {
items: a,
- className: tk(iye, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, x.jsx)(PP.Provider, {
+ className: nk(fye, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, x.jsx)(YP.Provider, {
value: r,
children: i
})
@@ -41604,19 +42026,19 @@ function FP({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function IP({ className: e, children: t, ...n }) {
- let r = (0, b.useContext)(PP);
+function ZP({ className: e, children: t, ...n }) {
+ let r = (0, b.useContext)(YP);
return /* @__PURE__ */ (0, x.jsx)(che, {
...n,
- className: (t) => tk(oP, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
+ className: (t) => nk(xP, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var LP = 2e3, Rye = (e) => e, zye = (e, t) => t;
-function RP(e) {
- let { queryKey: t, jobOf: n = Rye, withJob: r = zye, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);
+var QP = 2e3, Kye = (e) => e, qye = (e, t) => t;
+function $P(e) {
+ let { queryKey: t, jobOf: n = Kye, withJob: r = qye, idlePollMs: i } = e, [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(null), l = (0, b.useRef)(e);
(0, b.useEffect)(() => {
l.current = e;
});
@@ -41625,7 +42047,7 @@ function RP(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? LP : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? QP : i ?? !1;
}
}), d = ft({
mutationFn: (e) => l.current.start(e),
@@ -41650,32 +42072,32 @@ function RP(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Bye = (e) => Ja[e] || e, zP = (e) => H.setQueryData(UM, e);
-function Vye() {
+var Jye = (e) => Ja[e] || e, eF = (e) => H.setQueryData(iN, e);
+function Yye() {
let e = dt({
- queryKey: UM,
- queryFn: ({ signal: e }) => GM(e),
- refetchInterval: (e) => e.state.data?.status === "running" && LP
+ queryKey: iN,
+ queryFn: ({ signal: e }) => oN(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && QP
}), t = dt({
- queryKey: WM,
- queryFn: ({ signal: e }) => KM(e)
- }), [n, r] = (0, b.useState)(""), i = pk(), a = e.data ?? H_e, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
+ queryKey: aN,
+ queryFn: ({ signal: e }) => sN(e)
+ }), [n, r] = (0, b.useState)(""), i = mk(), a = e.data ?? X_e, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && cs({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => zP(await V(HM, {
+ onConfirm: async () => eF(await V(rN, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => V(HM, { stop: !0 }, "POST", e), zP), d = W_e(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => V(rN, { stop: !0 }, "POST", e), eF), d = Q_e(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, x.jsx)(EP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(VP, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(FP, {
+ footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -41683,10 +42105,10 @@ function Vye() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(IP, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsxs)(ZP, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, x.jsx)(Ok, { mark: Bye(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: Jye(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, x.jsx)(G, {
onClick: u,
@@ -41700,12 +42122,12 @@ function Vye() {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(TP, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, x.jsx)(BP, { children: "媒体修复" }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: hP
+ children: AP
}),
- s && a.total ? /* @__PURE__ */ (0, x.jsx)(fk, {
+ s && a.total ? /* @__PURE__ */ (0, x.jsx)(pk, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -41729,7 +42151,7 @@ function Vye() {
f && a.missing_tool ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "缺少 untrunc",
- children: G_e(a)
+ children: $_e(a)
}) : null,
p ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -41741,7 +42163,7 @@ function Vye() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var BP = {
+var tF = {
md: {
box: "size-4",
glyph: "size-4",
@@ -41755,11 +42177,11 @@ var BP = {
gap: "gap-1.5"
}
};
-function VP({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = BP[t], c = n || r, l = o && !a;
+function nF({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tF[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: tk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? tk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : tk("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: nk("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? nk("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : nk("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -41783,36 +42205,36 @@ function VP({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function HP({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = BP[n];
+function rF({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = tF[n];
return /* @__PURE__ */ (0, x.jsx)(rme, {
ref: r,
...i,
- className: (t) => tk("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(VP, {
+ className: (t) => nk("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(nF, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, x.jsx)("span", {
- className: tk(a.label, "text-text-primary"),
+ className: nk(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function UP({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function iF({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: tk("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, x.jsx)(rge, {
+ className: nk("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, x.jsx)(ige, {
ref: r,
...i,
- className: tk("bui-table", e === "sm" && "bui-table-sm", t)
+ className: nk("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function WP({ children: e, follow: t = !1, onRowClick: n }) {
+function aF({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -41820,15 +42242,15 @@ function WP({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && pM(e, r) && n(r.dataset.key);
+ r && OM(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Hye = Lj("unlink"), GP = Lj("rotate-cw"), Uye = "站点返回 404 或 410,确认这个地址不存在。", Wye = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Gye = "删除前会逐条重验一次;此操作不可撤销。", Kye = "暂时无法读取进度,正在重新连接…", KP = (e) => Number(e || 0).toLocaleString();
-function qP({ label: e, value: t, note: n }) {
+var Xye = Lj("unlink"), oF = Lj("rotate-cw"), Zye = "站点返回 404 或 410,确认这个地址不存在。", Qye = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", $ye = "删除前会逐条重验一次;此操作不可撤销。", ebe = "暂时无法读取进度,正在重新连接…", sF = (e) => Number(e || 0).toLocaleString();
+function cF({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -41847,12 +42269,12 @@ function qP({ label: e, value: t, note: n }) {
]
});
}
-function JP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function lF({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
let [o, s] = (0, b.useState)(!1);
if (!t.length) return null;
let c = r ?? [], l = c.length > 0 && c.length === t.length, u = o ? t : t.slice(0, 10), d = t.length > 10;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: SP,
+ className: LP,
children: [
/* @__PURE__ */ (0, x.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -41865,13 +42287,13 @@ function JP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, x.jsx)(WP, { children: /* @__PURE__ */ (0, x.jsxs)(UP, {
+ /* @__PURE__ */ (0, x.jsx)(aF, { children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": e,
size: "sm",
children: [/* @__PURE__ */ (0, x.jsxs)(pj, { children: [
i ? /* @__PURE__ */ (0, x.jsx)(mj, {
id: "pick",
- children: /* @__PURE__ */ (0, x.jsx)(HP, {
+ children: /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: l,
@@ -41903,7 +42325,7 @@ function JP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
] }), /* @__PURE__ */ (0, x.jsx)(gj, { children: u.map((e) => /* @__PURE__ */ (0, x.jsxs)(yj, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(HP, {
+ i ? /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: c.includes(e.id),
@@ -41913,14 +42335,14 @@ function JP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "block min-w-24 wrap-anywhere",
children: e.entity
}) }),
- /* @__PURE__ */ (0, x.jsx)(xj, { children: mN[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: kN[e.link_kind] || e.link_kind }),
/* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-24 wrap-anywhere",
children: e.label || ""
}) }),
/* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-40 max-w-80",
- children: /* @__PURE__ */ (0, x.jsx)(Rk, {
+ children: /* @__PURE__ */ (0, x.jsx)(zk, {
text: e.note,
className: "tabular-nums text-text-error-primary"
})
@@ -41935,7 +42357,7 @@ function JP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
"data-middle-truncate": !0,
className: "min-w-0 truncate",
children: e.url
- }), /* @__PURE__ */ (0, x.jsx)(DO, {
+ }), /* @__PURE__ */ (0, x.jsx)(OO, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -41957,27 +42379,27 @@ function JP({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function qye() {
+function tbe() {
let e = dt({
- queryKey: dN,
- queryFn: ({ signal: e }) => gN(e)
- }), [t, n] = (0, b.useState)([]), r = RP({
- queryKey: pN,
- queryFn: ({ signal: e }) => vN(e),
- start: _ve,
+ queryKey: EN,
+ queryFn: ({ signal: e }) => jN(e)
+ }), [t, n] = (0, b.useState)([]), r = $P({
+ queryKey: ON,
+ queryFn: ({ signal: e }) => NN(e),
+ start: Tve,
onFinish: () => {
H.invalidateQueries({
- queryKey: dN,
+ queryKey: EN,
exact: !0
}), H.invalidateQueries({
- queryKey: fN,
+ queryKey: DN,
exact: !0
});
}
- }), i = RP({
- queryKey: fN,
- queryFn: ({ signal: e }) => _N(e),
- start: gve,
+ }), i = $P({
+ queryKey: DN,
+ queryFn: ({ signal: e }) => MN(e),
+ start: wve,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -41985,7 +42407,7 @@ function qye() {
(0, b.useEffect)(() => {
n([]);
}, [o]);
- let s = i.running || i.start.isPending, c = r.running || r.start.isPending, l = a?.status === "complete", u = a?.gone ?? [], d = a?.unclear ?? [], f = l ? d : [], p = e.data, m = (p?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${KP(t)}`).join(" · "), h = (e) => {
+ let s = i.running || i.start.isPending, c = r.running || r.start.isPending, l = a?.status === "complete", u = a?.gone ?? [], d = a?.unclear ?? [], f = l ? d : [], p = e.data, m = (p?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${sF(t)}`).join(" · "), h = (e) => {
s || e && !e.length || i.start.mutate(e ? {
retry: e,
checkId: o
@@ -42007,7 +42429,7 @@ function qye() {
else if (_) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "success",
title: "完成",
- children: vve(_)
+ children: Eve(_)
});
else if (v) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -42017,7 +42439,7 @@ function qye() {
else if (i.query.isError && a) S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: Kye
+ children: ebe
});
else if (a?.status === "failed") S = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -42025,12 +42447,12 @@ function qye() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(jP, {
+ y = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
- label: yve(a),
+ label: Dve(a),
value: Math.min(a.checked || 0, a.total || 0),
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, x.jsx)(jP, {
+ }) : null, c ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: Math.min(r.job?.checked || 0, r.job?.total || 0),
@@ -42038,38 +42460,38 @@ function qye() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
S = l || u.length || d.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: wye,
+ className: Mye,
children: [
- /* @__PURE__ */ (0, x.jsx)(JP, {
+ /* @__PURE__ */ (0, x.jsx)(lF, {
title: "地址已失效",
items: u,
- hint: Uye
+ hint: Zye
}),
- /* @__PURE__ */ (0, x.jsx)(JP, {
+ /* @__PURE__ */ (0, x.jsx)(lF, {
title: "本次未访问成功",
items: d,
- hint: Wye,
+ hint: Qye,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, x.jsxs)(CP, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: GP,
+ children: /* @__PURE__ */ (0, x.jsxs)(RP, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ leadingIcon: oF,
disabled: !t.length,
...q(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: GP,
+ leadingIcon: oF,
...q(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, x.jsx)(CP, {
+ l && u.length ? /* @__PURE__ */ (0, x.jsx)(RP, {
tone: "error",
- status: Gye,
+ status: $ye,
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
...q(c),
@@ -42078,7 +42500,7 @@ function qye() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, x.jsx)("p", {
- className: `${SP} text-body-regular text-notification-success-foreground`,
+ className: `${LP} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -42089,21 +42511,21 @@ function qye() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(wP, {
+ /* @__PURE__ */ (0, x.jsx)(zP, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, x.jsxs)(EP, {
+ /* @__PURE__ */ (0, x.jsxs)(VP, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: Hye,
+ leadingIcon: Xye,
...q(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(TP, {
+ /* @__PURE__ */ (0, x.jsx)(BP, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -42114,13 +42536,13 @@ function qye() {
children: z(e.error)
}) : p ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, x.jsx)(qP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(cF, {
label: "链接总数",
- value: KP(p.total),
- note: `分布在 ${KP(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(qP, {
- label: mN[e] || e,
- value: KP(t)
+ value: sF(p.total),
+ note: `分布在 ${sF(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(cF, {
+ label: kN[e] || e,
+ value: sF(t)
}, e))]
}), m ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -42148,151 +42570,19 @@ function qye() {
});
}
//#endregion
-//#region src/react/boardui/components/base/input/label.tsx
-function Jye({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsxs)(Kpe, {
- "data-label": "true",
- ...a,
- className: tk("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
- children: [
- i,
- e && /* @__PURE__ */ (0, x.jsx)("span", {
- "aria-hidden": "true",
- className: "text-body-medium text-text-error-primary",
- children: "*"
- }),
- n && /* @__PURE__ */ (0, x.jsx)(fde, {
- className: "size-4 shrink-0 text-foreground-icon-quaternary",
- "aria-hidden": !0
- })
- ]
- });
-}
-//#endregion
-//#region src/react/boardui/components/base/input/hint-text.tsx
-function Yye({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, x.jsx)(Qpe, {
- slot: e ? "errorMessage" : "description",
- ...n,
- className: tk("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
- });
-}
-//#endregion
-//#region src/react/boardui/components/base/input/input.tsx
-var YP = (0, b.createContext)({});
-function XP({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(YP.Provider, {
- value: {
- size: e,
- fieldClassName: t,
- inputClassName: n
- },
- children: /* @__PURE__ */ (0, x.jsx)(kge, {
- ...a,
- "data-input-size": e,
- className: tk("group flex h-max w-full flex-col items-start gap-1", r),
- children: i
- })
- });
-}
-XP.displayName = "TextField";
-var ZP = nk({
- field: [
- "relative flex w-full items-center",
- "rounded-2lg",
- "bg-background-tertiary-default text-foreground-icon-tertiary",
- "ring-2 ring-inset ring-transparent",
- "transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease"
- ].join(" "),
- fieldSize: {
- medium: "p-2",
- small: "h-8 px-1.5 py-2"
- },
- fieldWithAddonSize: {
- medium: "h-9 pl-1 pr-2 py-2",
- small: "h-8 pl-1 pr-1.5 py-2"
- },
- content: "flex w-full items-center gap-2 min-w-0",
- leftSection: "flex flex-1 items-center gap-0.5 min-w-0",
- input: [
- "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0",
- "font-sans text-body-regular text-text-primary pl-1",
- "placeholder:text-text-tertiary",
- "focus:placeholder:text-text-primary",
- "disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text",
- "disabled:cursor-not-allowed",
- "aria-invalid:placeholder:text-text-error-placeholder"
- ].join(" "),
- icon: "size-5 shrink-0"
-});
-function QP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, b.useContext)(YP), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, x.jsx)(ome, {
- ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => tk(ZP.field, d ? ZP.fieldWithAddonSize[u] : ZP.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
- children: /* @__PURE__ */ (0, x.jsxs)("div", {
- className: ZP.content,
- children: [/* @__PURE__ */ (0, x.jsxs)("div", {
- className: ZP.leftSection,
- children: [d ? r : t ? /* @__PURE__ */ (0, x.jsx)(t, {
- className: ZP.icon,
- "aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, x.jsx)(lme, {
- ref: o,
- ...c,
- className: tk(ZP.input, l.inputClassName, a)
- })]
- }), n ? /* @__PURE__ */ (0, x.jsx)(n, {
- className: ZP.icon,
- "aria-hidden": !0
- }) : null]
- })
- });
-}
-QP.displayName = "InputBase";
-function $P({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, x.jsx)(XP, {
- ...d,
- className: u,
- "aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
- children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- e && /* @__PURE__ */ (0, x.jsx)(Jye, {
- isRequired: u,
- isInvalid: d,
- tooltip: n,
- children: e
- }),
- /* @__PURE__ */ (0, x.jsx)(QP, {
- ref: c,
- groupRef: l,
- placeholder: r,
- leadingIcon: i,
- trailingIcon: a,
- leadingAddon: o,
- fieldClassName: s
- }),
- t && /* @__PURE__ */ (0, x.jsx)(Yye, {
- isInvalid: d,
- children: t
- })
- ] })
- });
-}
-$P.displayName = "Input";
-//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Xye = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Zye = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Qye = 8;
-function $ye({ plan: e }) {
+var nbe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, rbe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", ibe = 8;
+function abe({ plan: e }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Qye).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: e.rows.slice(0, ibe).map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: AN(e.current_path)
+ children: GN(e.current_path)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
@@ -42302,7 +42592,7 @@ function $ye({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: AN(e.target_path)
+ children: GN(e.target_path)
})
]
}, e.current_path))
@@ -42311,10 +42601,10 @@ function $ye({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function ebe({ toast: e, failure: t }) {
+function obe({ toast: e, failure: t }) {
let n = dt({
- queryKey: ON,
- queryFn: ({ signal: e }) => kN(e)
+ queryKey: UN,
+ queryFn: ({ signal: e }) => WN(e)
}), r = n.data, i = r?.locations ?? [], [a, o] = (0, b.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, b.useState)(null), d = l?.location === s ? l : {
location: s,
file: c?.file ?? "",
@@ -42327,38 +42617,38 @@ function ebe({ toast: e, failure: t }) {
file_template: d.file.trim(),
dir_template: d.dir.trim()
}), v = ft({
- mutationFn: Ave,
+ mutationFn: Rve,
onError: (e) => {
- let t = Pve.test(z(e)) ? "dir" : "file";
+ let t = Hve.test(z(e)) ? "dir" : "file";
m(t), (t === "dir" ? g : h).current?.focus();
}
- }), y = RP({
- queryKey: ON,
- queryFn: ({ signal: e }) => kN(e),
- start: jve,
+ }), y = $P({
+ queryKey: UN,
+ queryFn: ({ signal: e }) => WN(e),
+ start: zve,
jobOf: (e) => e,
- withJob: Nve,
+ withJob: Vve,
onStarted: () => v.reset(),
onFinish: (n) => {
if (H.invalidateQueries({
- queryKey: ON,
+ queryKey: UN,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = MN(n);
+ let { text: r, failed: i } = qN(n);
i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));
}
}), S = y.running || y.start.isPending, C = v.data, w = Number(C?.counts?.change || 0), T = Yt[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
!v.isPending && s && (m(null), v.mutate(_()));
}, O = () => void cs({
title: "按模板整理文件",
- body: Xye(T),
+ body: nbe(T),
confirmLabel: "整理文件",
onConfirm: async () => {
let e = _();
await y.start.mutateAsync({
kind: "apply",
request: e
- }), Mve({
+ }), Bve({
...r?.templates ?? {},
[e.location]: {
file: e.file_template,
@@ -42368,13 +42658,13 @@ function ebe({ toast: e, failure: t }) {
}
}), k = () => void cs({
title: "回滚上一批整理",
- body: Zye,
+ body: rbe,
confirmLabel: "回滚整理",
onConfirm: () => y.start.mutateAsync({ kind: "rollback" })
}), A = null, j = y.job, M = y.outcome;
if (j?.status === "running") {
let e = j.message || j.stage || "正在整理文件…";
- A = /* @__PURE__ */ (0, x.jsx)(jP, {
+ A = /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: e,
value: Math.min(j.checked || 0, j.total || 0),
@@ -42386,7 +42676,7 @@ function ebe({ toast: e, failure: t }) {
children: M.error || "请查看任务记录,核对已处理的文件。"
});
else if (M) {
- let { text: e, failed: t } = MN(M);
+ let { text: e, failed: t } = qN(M);
A = /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -42396,7 +42686,7 @@ function ebe({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: z(y.start.error)
- }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(jP, {
+ }) : v.isPending ? A = /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: "正在按模板算计划…"
}) : v.isError ? A = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -42406,9 +42696,9 @@ function ebe({ toast: e, failure: t }) {
}) : C && (A = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "预览结果",
- children: Fve(C)
- }), w ? /* @__PURE__ */ (0, x.jsx)($ye, { plan: C }) : null] }));
- return /* @__PURE__ */ (0, x.jsxs)(EP, {
+ children: Uve(C)
+ }), w ? /* @__PURE__ */ (0, x.jsx)(abe, { plan: C }) : null] }));
+ return /* @__PURE__ */ (0, x.jsxs)(VP, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -42432,7 +42722,7 @@ function ebe({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, x.jsx)(TP, {
+ /* @__PURE__ */ (0, x.jsx)(BP, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -42452,20 +42742,20 @@ function ebe({ toast: e, failure: t }) {
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, x.jsx)(FP, {
+ i.length ? /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: s || null,
onSelectionChange: (e) => {
e !== null && (o(String(e)), m(null), v.reset());
},
- children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(IP, {
+ children: i.map((e) => /* @__PURE__ */ (0, x.jsxs)(ZP, {
id: e.location,
textValue: Yt[e.location] || e.location,
- children: [/* @__PURE__ */ (0, x.jsx)(Ok, { mark: Ja[e.location] || "database" }), Yt[e.location] || e.location]
+ children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: Ja[e.location] || "database" }), Yt[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -42476,7 +42766,7 @@ function ebe({ toast: e, failure: t }) {
f({ file: e }), m(null);
}
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -42521,43 +42811,43 @@ function ebe({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var tbe = "/api/orphan-records", nbe = "/api/orphan-records/attach", eF = ["orphan-records"], rbe = [
+var sbe = "/api/orphan-records", cbe = "/api/orphan-records/attach", uF = ["orphan-records"], lbe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], ibe = (e) => B(tbe, e), abe = (e, t) => V(nbe, {
+], ube = (e) => B(sbe, e), dbe = (e, t) => V(cbe, {
id: e,
target: t
-}), obe = (e) => V(kM, {
+}), fbe = (e) => V(WM, {
ids: [e],
operation: "delete"
-}), sbe = (e) => [
+}), pbe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], tF = (e) => [...rbe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...sbe(e)].filter(Boolean).join(" · "), cbe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", nF = (e) => [e.name, cbe(e.duration)].filter(Boolean).join(" · "), lbe = Lj("play"), rF = () => H.invalidateQueries({
- queryKey: eF,
+], dF = (e) => [...lbe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...pbe(e)].filter(Boolean).join(" · "), mbe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", fF = (e) => [e.name, mbe(e.duration)].filter(Boolean).join(" · "), hbe = Lj("play"), pF = () => H.invalidateQueries({
+ queryKey: uF,
exact: !0
});
-function ube({ item: e, toast: t }) {
+function gbe({ item: e, toast: t }) {
let [n, r] = (0, b.useState)(e.candidates[0]?.id ?? null), i = ft({
- mutationFn: () => abe(e.id, Number(n)),
+ mutationFn: () => dbe(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), rF();
+ t(`记录已接到新文件,批次 ${e.batch}`), pF();
},
onError: (e) => t(z(e))
}), a = ft({
- mutationFn: () => obe(e.id),
+ mutationFn: () => fbe(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), rF();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), pF();
}
}), o = () => {
cs({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${tF(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${dF(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
@@ -42570,7 +42860,7 @@ function ube({ item: e, toast: t }) {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",
- children: [/* @__PURE__ */ (0, x.jsx)(lbe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(hbe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, x.jsx)("img", {
@@ -42594,19 +42884,19 @@ function ube({ item: e, toast: t }) {
}) }),
/* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "block min-w-28",
- children: tF(e.records)
+ children: dF(e.records)
}) }),
- /* @__PURE__ */ (0, x.jsx)(xj, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(FP, {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: e.candidates.length ? /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-52",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e.id,
- textValue: nF(e),
- children: nF(e)
+ textValue: fF(e),
+ children: fF(e)
}, e.id))
}) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-text-secondary",
@@ -42632,23 +42922,23 @@ function ube({ item: e, toast: t }) {
]
});
}
-function dbe({ toast: e }) {
+function _be({ toast: e }) {
let t = dt({
- queryKey: eF,
- queryFn: ({ signal: e }) => ibe(e)
+ queryKey: uF,
+ queryFn: ({ signal: e }) => ube(e)
}), n = t.data?.items ?? [], r = t.data?.total ?? n.length;
return !t.isError && !n.length ? null : /* @__PURE__ */ (0, x.jsxs)("section", {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, x.jsx)(wP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(zP, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, x.jsxs)(EP, {
+ }), /* @__PURE__ */ (0, x.jsxs)(VP, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, x.jsx)(TP, {
+ /* @__PURE__ */ (0, x.jsx)(BP, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -42661,7 +42951,7 @@ function dbe({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: z(t.error)
- }) : /* @__PURE__ */ (0, x.jsx)(WP, { children: /* @__PURE__ */ (0, x.jsxs)(UP, {
+ }) : /* @__PURE__ */ (0, x.jsx)(aF, { children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "文件已消失的作品",
size: "sm",
children: [/* @__PURE__ */ (0, x.jsxs)(pj, { children: [
@@ -42682,7 +42972,7 @@ function dbe({ toast: e }) {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, x.jsx)(gj, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(ube, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(gj, { children: n.map((t) => /* @__PURE__ */ (0, x.jsx)(gbe, {
item: t,
toast: e
}, t.id)) })]
@@ -42697,99 +42987,99 @@ function dbe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var fbe = Lj("git-compare"), pbe = Lj("rotate-cw"), mbe = "暂时无法读取进度,正在重新连接…", iF = "清理失效条目", aF = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", oF = (e) => Number(e || 0).toLocaleString();
-function hbe({ scan: e }) {
+var vbe = Lj("git-compare"), ybe = Lj("rotate-cw"), bbe = "暂时无法读取进度,正在重新连接…", mF = "清理失效条目", hF = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", gF = (e) => Number(e || 0).toLocaleString();
+function xbe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: aF,
+ className: hF,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, x.jsx)("article", {
- className: tP(),
- children: /* @__PURE__ */ (0, x.jsx)(nP, {
- label: Bve[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, x.jsx)(Ok, { mark: Ja[e.location] ?? "database" }),
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
+ label: Jve[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, x.jsx)(kk, { mark: Ja[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, x.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${oF(e.missing)} 项` : "—",
- meta: Wve(e),
+ figure: e.online ? `${gF(e.missing)} 项` : "—",
+ meta: Qve(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, x.jsxs)("div", {
- className: aF,
+ className: hF,
children: [
/* @__PURE__ */ (0, x.jsx)("article", {
- className: tP(),
- children: /* @__PURE__ */ (0, x.jsx)(nP, {
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: "待永久删除",
- figure: `${oF(VN(e))} 项`,
+ figure: `${gF(nP(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: tP(),
- children: /* @__PURE__ */ (0, x.jsx)(nP, {
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: "将标为已消失",
- figure: `${oF(e.vanish)} 项`,
+ figure: `${gF(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: tP(),
- children: /* @__PURE__ */ (0, x.jsx)(nP, {
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: "空文件夹",
- figure: `${oF(e.empty)} 个`,
+ figure: `${gF(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, x.jsx)("article", {
- className: tP(),
- children: /* @__PURE__ */ (0, x.jsx)(nP, {
+ className: gP(),
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: "可清理的缓存",
- figure: `${oF(t.files)} 个`,
+ figure: `${gF(t.files)} 个`,
meta: t.files ? Ut(t.bytes) : ""
})
})
]
})] });
}
-function gbe({ toast: e }) {
- let t = RP({
- queryKey: IN,
- queryFn: ({ signal: e }) => RN(e),
- start: Lve,
+function Sbe({ toast: e }) {
+ let t = $P({
+ queryKey: ZN,
+ queryFn: ({ signal: e }) => $N(e),
+ start: Gve,
onFinish: (t) => {
if (H.invalidateQueries({
- queryKey: JN,
+ queryKey: lP,
exact: !0
}), H.invalidateQueries({
- queryKey: FN,
+ queryKey: XN,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = WN(t);
- r ? e(`已完成 ${oF(n)} 项,${oF(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = aP(t);
+ r ? e(`已完成 ${gF(n)} 项,${gF(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = RP({
- queryKey: FN,
- queryFn: ({ signal: e }) => LN(e),
- start: Ive,
+ }), n = $P({
+ queryKey: XN,
+ queryFn: ({ signal: e }) => QN(e),
+ start: Wve,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void cs({
- title: iF,
- body: Uve(e),
- confirmLabel: iF,
+ title: mF,
+ body: Zve(e),
+ confirmLabel: mF,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = WN(e).left > 0;
+ let t = aP(e).left > 0;
return /* @__PURE__ */ (0, x.jsx)(K, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: Gve(e, Ut)
+ children: $ve(e, Ut)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, x.jsx)(K, {
@@ -42798,7 +43088,7 @@ function gbe({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(jP, {
+ else if (t.running) d = /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -42810,11 +43100,11 @@ function gbe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "任务状态",
- children: mbe
+ children: bbe
});
else if (r?.status === "running") {
- let e = Vve(r);
- d = /* @__PURE__ */ (0, x.jsx)(jP, {
+ let e = Yve(r);
+ d = /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -42831,13 +43121,13 @@ function gbe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = zve(r);
+ let e = qve(r);
f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(hbe, { scan: r }),
+ /* @__PURE__ */ (0, x.jsx)(xbe, { scan: r }),
e ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
title: "清理内容",
- children: Hve(r)
+ children: Xve(r)
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -42845,7 +43135,7 @@ function gbe({ toast: e }) {
variant: "danger",
...q(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : iF
+ children: a ? "正在复核并清理…" : mF
}) : /* @__PURE__ */ (0, x.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -42862,16 +43152,16 @@ function gbe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(wP, {
+ /* @__PURE__ */ (0, x.jsx)(zP, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, x.jsxs)(EP, {
+ /* @__PURE__ */ (0, x.jsxs)(VP, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, x.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? pbe : fbe,
+ leadingIcon: o && !i ? ybe : vbe,
...q(i),
onClick: () => {
i || n.start.mutate();
@@ -42879,7 +43169,7 @@ function gbe({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(TP, {
+ /* @__PURE__ */ (0, x.jsx)(BP, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -42905,16 +43195,16 @@ function gbe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function sF(e, t) {
+function _F(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function cF({ section: e, label: t, icon: n, value: r, open: i }) {
+function vF({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
- className: tP({ interactive: !0 }),
+ className: gP({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, x.jsx)(nP, {
+ children: /* @__PURE__ */ (0, x.jsx)(_P, {
label: t,
icon: n,
figure: r.figure,
@@ -42922,80 +43212,80 @@ function cF({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var _be = Lj("square-check-big"), vbe = Lj("sparkles"), ybe = Lj("file-stack"), bbe = Lj("file-archive"), xbe = Lj("trash"), Sbe = [
- GN,
- JM,
- OM
-], Cbe = () => {
- for (let e of Sbe) H.invalidateQueries({
+var Cbe = Lj("square-check-big"), wbe = Lj("sparkles"), Tbe = Lj("file-stack"), Ebe = Lj("file-archive"), Dbe = Lj("trash"), Obe = [
+ oP,
+ lN,
+ UM
+], kbe = () => {
+ for (let e of Obe) H.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function wbe({ toast: e, failure: t, open: n }) {
+function Abe({ toast: e, failure: t, open: n }) {
let r = dt({
- queryKey: GN,
- queryFn: ({ signal: e }) => YN(e)
+ queryKey: oP,
+ queryFn: ({ signal: e }) => uP(e)
}), i = dt({
- queryKey: JM,
- queryFn: ({ signal: e }) => YM(e)
+ queryKey: lN,
+ queryFn: ({ signal: e }) => uN(e)
}), a = dt({
- queryKey: OM,
- queryFn: ({ signal: e }) => AM(e)
+ queryKey: UM,
+ queryFn: ({ signal: e }) => GM(e)
}), o = dt({
- queryKey: KN,
- queryFn: ({ signal: e }) => XN(e)
+ queryKey: sP,
+ queryFn: ({ signal: e }) => dP(e)
}), s = dt({
- queryKey: JN,
- queryFn: ({ signal: e }) => ZN(e)
+ queryKey: lP,
+ queryFn: ({ signal: e }) => fP(e)
}), c = dt({
queryKey: dn,
queryFn: ({ signal: e }) => fn(e)
}), l = (t) => e(t);
- return /* @__PURE__ */ (0, x.jsxs)(uk, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: nye,
+ className: uye,
children: [
- /* @__PURE__ */ (0, x.jsx)(cF, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "review",
label: "人工复核",
- icon: _be,
+ icon: Cbe,
open: n,
- value: sF(r, Yve)
+ value: _F(r, rye)
}),
- /* @__PURE__ */ (0, x.jsx)(cF, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "quality",
label: "高清版",
- icon: vbe,
+ icon: wbe,
open: n,
- value: sF(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: _F(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, x.jsx)(cF, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "duplicates",
label: "重复文件",
- icon: ybe,
+ icon: Tbe,
open: n,
- value: sF(a, (e) => Number(e.total || 0) ? {
+ value: _F(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${Ut(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, x.jsx)(cF, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "ads",
label: "垃圾文件",
- icon: bbe,
+ icon: Ebe,
open: n,
- value: sF(o, (e) => ({
+ value: _F(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: Xve(e)
+ meta: iye(e)
}))
}),
- /* @__PURE__ */ (0, x.jsx)(cF, {
+ /* @__PURE__ */ (0, x.jsx)(vF, {
section: "trash",
label: "回收站",
- icon: xbe,
+ icon: Dbe,
open: n,
- value: sF(s, (e) => ({
+ value: _F(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${Ut(e.bytes || 0)}` : ""
}))
@@ -43008,31 +43298,31 @@ function wbe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, x.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, x.jsx)(NP, {
+ children: /* @__PURE__ */ (0, x.jsx)(JP, {
toast: l,
monitor: !0,
- onComplete: Cbe
+ onComplete: kbe
})
}),
/* @__PURE__ */ (0, x.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, x.jsx)(Vye, {})
+ children: /* @__PURE__ */ (0, x.jsx)(Yye, {})
}),
- /* @__PURE__ */ (0, x.jsx)(ebe, {
+ /* @__PURE__ */ (0, x.jsx)(obe, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(qye, {}),
- /* @__PURE__ */ (0, x.jsx)(dbe, { toast: l }),
- zN(c.data) ? /* @__PURE__ */ (0, x.jsx)(gbe, { toast: e }) : null
+ /* @__PURE__ */ (0, x.jsx)(tbe, {}),
+ /* @__PURE__ */ (0, x.jsx)(_be, { toast: l }),
+ eP(c.data) ? /* @__PURE__ */ (0, x.jsx)(Sbe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var lF = (e) => ["feed-new", e ?? "home"], Tbe = 8, Ebe = 1500;
-function Dbe(e, t, n) {
+var yF = (e) => ["feed-new", e ?? "home"], jbe = 8, Mbe = 1500;
+function Nbe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -43043,32 +43333,32 @@ function Dbe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function Obe(e, t, n) {
+async function Pbe(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await vt(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await Dbe(s, Tbe, Ebe), {
+ return n && o.length && await Nbe(s, jbe, Mbe), {
items: o,
html: s
};
}
-var uF = (e, t, n = !1) => ({
- queryKey: lF(e),
- queryFn: () => Obe(e, t, n),
+var bF = (e, t, n = !1) => ({
+ queryKey: yF(e),
+ queryFn: () => Pbe(e, t, n),
staleTime: Infinity
-}), dF = (e, t) => vt("/api/feeds/discovery", {
+}), xF = (e, t) => vt("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function kbe(e) {
- H.removeQueries({ queryKey: lF(null) }), await H.fetchQuery(uF(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function Fbe(e) {
+ H.removeQueries({ queryKey: yF(null) }), await H.fetchQuery(bF(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var fF = [
+var SF = [
"loc",
"creator",
"tag",
@@ -43078,51 +43368,51 @@ var fF = [
"orient",
"sort",
"dir"
-], pF = {
+], CF = {
media: "videos",
set: 0
-}, mF = (e, t) => [
+}, wF = (e, t) => [
"entity",
e,
t
-], Abe = (e, t, n, r) => [
+], Ibe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], hF = (e, t, n, r) => [
+], TF = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], gF = (e) => String(e || "").split(",").filter(Boolean), jbe = (e, t) => gF(e).includes(t);
-function _F(e, t, n, r, i = 0) {
+], EF = (e) => String(e || "").split(",").filter(Boolean), Lbe = (e, t) => EF(e).includes(t);
+function DF(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of fF) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ for (let t of SF) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function vF(e, t, n, r, i, a) {
- return await vt(`/api/items?${_F(e, t, n, r, i)}`, a ? { signal: a } : {});
+async function OF(e, t, n, r, i, a) {
+ return await vt(`/api/items?${DF(e, t, n, r, i)}`, a ? { signal: a } : {});
}
-var yF = (e) => {
+var kF = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = _F(e.kind, e.name, e.filters, t).toString();
+ }, n = DF(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: Abe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => vF(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: Ibe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => OF(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, bF = (e, t) => ({
- queryKey: mF(e, t),
+}, AF = (e, t) => ({
+ queryKey: wF(e, t),
queryFn: ({ signal: n }) => vt(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function Mbe(e, t, n, r, i, a) {
+function Rbe(e, t, n, r, i, a) {
let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;
if (i) {
let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;
@@ -43131,10 +43421,10 @@ function Mbe(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var xF = (e, t, n, r) => ({
- queryKey: hF(e, t, n, r),
+var jF = (e, t, n, r) => ({
+ queryKey: TF(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await vt(Mbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await vt(Rbe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -43147,8 +43437,8 @@ var xF = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), SF = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function Nbe(e) {
+}), MF = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function zbe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -43160,25 +43450,25 @@ async function Nbe(e) {
n
] });
await Promise.all([
- H.fetchQuery(bF(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: lF(Number(t.id)) }), H.fetchQuery(uF(Number(t.id), e.helpers.feedRowHtml, !0)))),
- H.fetchQuery(yF(e)),
- H.fetchInfiniteQuery(xF(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(xF(t, n, e.media.set, "")) : null
+ H.fetchQuery(AF(t, n)).then((t) => !t || t.error || !t.id ? null : (H.removeQueries({ queryKey: yF(Number(t.id)) }), H.fetchQuery(bF(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ H.fetchQuery(kF(e)),
+ H.fetchInfiniteQuery(jF(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(jF(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/identity-filter.ts
-var CF = [
+var NF = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], wF = "mb-4 flex flex-wrap gap-2";
-function Pbe(e) {
- let t = CF.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${wF}">${CF.map(([e, n]) => dP({
+], PF = "mb-4 flex flex-wrap gap-2";
+function Bbe(e) {
+ let t = NF.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${PF}">${NF.map(([e, n]) => EP({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -43187,43 +43477,43 @@ function Pbe(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var Fbe = "/api/follow/authors", Ibe = "/api/follow/tags", Lbe = (e) => [
+var Vbe = "/api/follow/authors", Hbe = "/api/follow/tags", Ube = (e) => [
"follow",
"authors",
e
-], Rbe = (e, t) => [
+], Wbe = (e, t) => [
"follow",
"tags",
e,
t
];
-function zbe(e, t, n) {
+function Gbe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${Fbe}?${r}`;
+ return e && r.set("q", e), `${Vbe}?${r}`;
}
-function Bbe(e, t, n, r) {
+function Kbe(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Ibe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Hbe}?${i}`;
}
-var Vbe = (e, t, n, r) => B(zbe(e, t, n), r), Hbe = (e, t, n, r, i) => B(Bbe(e, t, n, r), i), Ube = "/api/index", TF = {
+var qbe = (e, t, n, r) => B(Gbe(e, t, n), r), Jbe = (e, t, n, r, i) => B(Kbe(e, t, n, r), i), Ybe = "/api/index", FF = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Wbe = {
+}, Xbe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, EF = [
+}, IF = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -43233,31 +43523,31 @@ var Vbe = (e, t, n, r) => B(zbe(e, t, n), r), Hbe = (e, t, n, r, i) => B(Bbe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], DF = [
+], LF = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], OF = {
+], RF = {
people: 120,
tags: 180
-}, kF = (e) => e !== "tags", AF = (e) => e === "studios" || e === "agencies";
-function jF(e) {
- if (e.kind === "creators" && e.category === "animation") return jF({
+}, zF = (e) => e !== "tags", BF = (e) => e === "studios" || e === "agencies";
+function VF(e) {
+ if (e.kind === "creators" && e.category === "animation") return VF({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? DF : EF : e.kind === "performers" && t === "local" ? CF : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? LF : IF : e.kind === "performers" && t === "local" ? NF : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function MF(e) {
+function HF(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -43277,50 +43567,50 @@ function MF(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var NF = (e, t, n = "all") => [
+var UF = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function PF(e, t, n, r, i) {
+function WF(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Ube}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Ybe}?${a}`;
}
-function FF(e) {
- let t = e.what === "people" || e.what === "online-authors" ? OF.people : OF.tags, n = {
+function GF(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? RF.people : RF.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: NF(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => B(PF(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: UF(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => B(WF(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: NF("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => B(PF("tags", e.q, e.category, t, n), r)
+ queryKey: UF("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => B(WF("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: Lbe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => Vbe(e.q, t, n, r)
+ queryKey: Ube(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => qbe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: Rbe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Hbe(e.q, e.category, t, n, r)
+ queryKey: Wbe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Jbe(e.q, e.category, t, n, r)
};
}
}
-async function Gbe(e, t) {
- let n = FF(MF(jF(e)));
+async function Zbe(e, t) {
+ let n = GF(HF(VF(e)));
H.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -43334,13 +43624,13 @@ async function Gbe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var Kbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], qbe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, IF = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Jbe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Ybe = {
+var Qbe = (e) => e ? e.pages.flatMap((e) => e.items) : [], $be = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, KF = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", exe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, txe = {
numeric: !0,
sensitivity: "base"
};
-function Xbe(e, t) {
+function nxe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Ybe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", txe))) {
let e = qt(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -43348,7 +43638,7 @@ function Xbe(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function LF({ html: e, face: t, company: n, big: r }) {
+function qF({ html: e, face: t, company: n, big: r }) {
let i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -43360,18 +43650,18 @@ function LF({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var Zbe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Qbe = Lj("rss");
-function RF({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var rxe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", ixe = Lj("rss");
+function JF({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
...o,
"data-index-cell": "",
onClick: a,
- className: sk({
+ className: ck({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${Zbe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${rxe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -43380,10 +43670,10 @@ function RF({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, x.jsx)(ik, {
+ children: /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "blue",
- children: /* @__PURE__ */ (0, x.jsx)(Qbe, {})
+ children: /* @__PURE__ */ (0, x.jsx)(ixe, {})
})
}) : null,
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -43399,24 +43689,24 @@ function RF({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function zF({ kind: e, items: t, layout: n, props: r }) {
- let i = AF(e), a = n === "big";
+function YF({ kind: e, items: t, layout: n, props: r }) {
+ let i = BF(e), a = n === "big";
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || Wbe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, x.jsx)(RF, {
+ let n = t.entity_kind || Xbe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, x.jsx)(JF, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${Jbe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${exe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, x.jsx)(LF, {
+ children: /* @__PURE__ */ (0, x.jsx)(qF, {
html: o.html,
face: o.face,
company: i,
@@ -43426,14 +43716,14 @@ function zF({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function $be({ items: e, layout: t, props: n }) {
+function axe({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(RF, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(JF, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
@@ -43442,7 +43732,7 @@ function $be({ items: e, layout: t, props: n }) {
onPress: () => {
e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);
},
- children: /* @__PURE__ */ (0, x.jsx)(LF, {
+ children: /* @__PURE__ */ (0, x.jsx)(qF, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -43452,24 +43742,24 @@ function $be({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function BF(e) {
+function XF(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
-var VF = /* @__PURE__ */ new WeakSet();
-function exe() {
- if (VF.has(document)) return;
- VF.add(document);
+var ZF = /* @__PURE__ */ new WeakSet();
+function oxe() {
+ if (ZF.has(document)) return;
+ ZF.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(BF), nxe(e), txe(e);
+ e.querySelectorAll("input[type=range]").forEach(XF), cxe(e), sxe(e);
};
e(document), new MutationObserver((t) => {
- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && BF(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && XF(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && BF(e.target);
+ e.target instanceof HTMLInputElement && e.target.type === "range" && XF(e.target);
});
let t = document.createElement("div");
t.className = "ui-board-tooltip", t.id = "board-control-tooltip", t.role = "tooltip", t.popover = "manual", t.hidden = !0, document.body.append(t);
@@ -43494,7 +43784,7 @@ function exe() {
n.matches(":focus-visible") && r.bottom > 0 && r.top < innerHeight ? t.matches(":popover-open") && o(n) : s();
}, !0), window.addEventListener("resize", s);
}
-function txe(e) {
+function sxe(e) {
let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-tabs")) return;
@@ -43518,15 +43808,15 @@ function txe(e) {
r.observe(e);
});
}
-var HF = /* @__PURE__ */ new Map();
-function nxe(e) {
+var QF = /* @__PURE__ */ new Map();
+function cxe(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;
e.dataset.boardSegments = "true";
let t = document.createElement("span");
t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);
- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = HF.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = QF.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -43535,7 +43825,7 @@ function nxe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Go(t, r, a, "x"), r = a, HF.set(n, a);
+ Go(t, r, a, "x"), r = a, QF.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -43552,8 +43842,8 @@ function nxe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var UF = "/vendor/swiper/14.3.0/", WF = null, rxe = () => WF ??= Promise.all([new Promise((e, t) => {
- let n = `${UF}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var $F = "/vendor/swiper/14.3.0/", eI = null, lxe = () => eI ??= Promise.all([new Promise((e, t) => {
+ let n = `${$F}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -43567,11 +43857,11 @@ var UF = "/vendor/swiper/14.3.0/", WF = null, rxe = () => WF ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${UF}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${$F}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw WF = null, e;
+ throw eI = null, e;
});
-function ixe(e, t, n) {
+function uxe(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -43592,47 +43882,47 @@ function ixe(e, t, n) {
}
};
}
-var GF = (e) => {
+var tI = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Ut(t)).replace(" ", "\xA0") : "大小未知";
-}, axe = (e) => e.asset?.name || e.name || "未命名图片";
-function oxe(e, t) {
+}, dxe = (e) => e.asset?.name || e.name || "未命名图片";
+function fxe(e, t) {
let n = e.asset;
- if (n) return [Yt[n.location ?? ""] || n.location || "来源未知", GF(n.size)].join(" · ");
+ if (n) return [Yt[n.location ?? ""] || n.location || "来源未知", tI(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? GF(e.size) : ""
+ e.size ? tI(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var KF = null, qF = null, sxe = 0;
-function cxe() {
- return (!qF || !KF?.isConnected) && (qF?.unmount(), KF = document.createElement("div"), KF.className = "peach-react", KF.dataset.photoLightboxHost = "", document.body.append(KF), qF = (0, ht.createRoot)(KF)), qF;
+var nI = null, rI = null, pxe = 0;
+function mxe() {
+ return (!rI || !nI?.isConnected) && (rI?.unmount(), nI = document.createElement("div"), nI.className = "peach-react", nI.dataset.photoLightboxHost = "", document.body.append(nI), rI = (0, ht.createRoot)(nI)), rI;
}
-async function JF(e, t, n) {
+async function iI(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await rxe();
+ r = await lxe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = cxe();
- (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(lxe, {
+ let i = mxe();
+ (0, mt.flushSync)(() => i.render(/* @__PURE__ */ (0, x.jsx)(hxe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++sxe)));
+ }, ++pxe)));
}
-function YF() {
- qF && (0, mt.flushSync)(() => qF.render(null));
+function aI() {
+ rI && (0, mt.flushSync)(() => rI.render(null));
}
-function lxe({ slides: e, index: t, Swiper: n, host: r }) {
+function hxe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, b.useId)(), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (0, b.useRef)(null), [_, v] = (0, b.useState)(t), [y, S] = (0, b.useState)(100), [C, w] = (0, b.useState)({}), [T, E] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, b.useState)(!1), [j, M] = (0, b.useState)({
at: t,
text: ""
@@ -43675,7 +43965,7 @@ function lxe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = ixe(e, a, S);
+ i(t, 0), h.current = uxe(e, a, S);
let m = rs(e, f.current, p.current), _ = (e = !1) => {
m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();
};
@@ -43692,13 +43982,13 @@ function lxe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let b = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : YF());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : aI());
};
return document.addEventListener("keydown", b, !0), () => {
document.removeEventListener("keydown", b, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, b.useLayoutEffect)(() => {
- m.current && BF(m.current);
+ m.current && XF(m.current);
}, [y]);
let N = e[_], P = N.asset ?? null, ee = async (e) => {
if (!P || !r || e.getAttribute("aria-busy") === "true") return;
@@ -43729,18 +44019,18 @@ function lxe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), YF();
+ e.preventDefault(), aI();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && YF();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && aI();
},
children: [
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: YF,
+ onClick: aI,
dangerouslySetInnerHTML: { __html: L("x") }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -43876,10 +44166,10 @@ function lxe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: axe(N)
+ children: dxe(N)
}, _), /* @__PURE__ */ (0, x.jsx)("span", {
"data-photo-detail-meta": "",
- children: oxe(N, C[_])
+ children: fxe(N, C[_])
})]
}),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -43918,40 +44208,40 @@ function lxe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function uxe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(dxe, {
+function gxe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, x.jsx)(_xe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(fxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(hxe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, x.jsx)(vxe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, x.jsx)(xxe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var XF = OF.people;
-function dxe({ roster: e, props: t }) {
+var oI = RF.people;
+function _xe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, b.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, b.useState)(XF), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
- o((e) => e + XF);
+ }), [n, r]), [a, o] = (0, b.useState)(oI), s = (0, b.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, b.useCallback)(async () => {
+ o((e) => e + oI);
}, []);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zF, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(YF, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, x.jsx)(BM, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function fxe(e) {
- let t = uM(!e.items, e.skeletonHtml);
+function vxe(e) {
+ let t = TM(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(wM, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, x.jsx)(zM, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -43970,33 +44260,33 @@ function fxe(e) {
}) : null]
});
}
-var pxe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var yxe = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), ZF = (e) => e.sample === !0, QF = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, $F = (e) => ZF(e) ? `/sample-thumb?${QF(e)}` : `/photo-thumb?id=${e.id}`, mxe = (e) => ZF(e) ? {
- src: `/sample-image?${QF(e)}`,
- thumb: $F(e),
+})), sI = (e) => e.sample === !0, cI = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, lI = (e) => sI(e) ? `/sample-thumb?${cI(e)}` : `/photo-thumb?id=${e.id}`, bxe = (e) => sI(e) ? {
+ src: `/sample-image?${cI(e)}`,
+ thumb: lI(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: $F(e),
+ thumb: lI(e),
name: e.name || "",
asset: e
};
-function hxe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(pxe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {
+function xxe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, b.useMemo)(() => [...e.codeSets.flatMap(yxe), ...e.items], [e]), [s, c] = (0, b.useState)(() => /* @__PURE__ */ new Set()), l = (0, b.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, b.useCallback)((e) => {
- JF(e, o.map(mxe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(gxe, {
+ iI(e, o.map(bxe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, x.jsx)(Sxe, {
item: e,
index: t,
lost: s.has(t),
@@ -44014,7 +44304,7 @@ function hxe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(eI, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(uI, {
label: e.code,
title: e.name,
meta: [
@@ -44026,7 +44316,7 @@ function hxe({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(eI, {
+ m.length && e.total ? /* @__PURE__ */ (0, x.jsx)(uI, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -44035,14 +44325,14 @@ function hxe({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ e.hasMore ? /* @__PURE__ */ (0, x.jsx)(BM, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function eI({ label: e, title: t, meta: n }) {
+function uI({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -44059,7 +44349,7 @@ function eI({ label: e, title: t, meta: n }) {
]
});
}
-function gxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function Sxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -44068,7 +44358,7 @@ function gxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, x.jsx)("img", {
- src: $F(e),
+ src: lI(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -44079,8 +44369,8 @@ function gxe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var _xe = (e) => Number(e) > 0;
-function tI({ name: e, actions: t, children: n, ...r }) {
+var Cxe = (e) => Number(e) > 0;
+function dI({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
...r,
href: `/creators/${encodeURIComponent(e)}`,
@@ -44090,13 +44380,13 @@ function tI({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var nI = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var fI = ({ provider: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: Vj(e) }
+ dangerouslySetInnerHTML: { __html: nM(e) }
});
-function vxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a }) {
+function wxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a }) {
let [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null);
- return o ? /* @__PURE__ */ (0, x.jsx)(nI, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
+ return o ? /* @__PURE__ */ (0, x.jsx)(fI, { provider: i }) : /* @__PURE__ */ (0, x.jsx)("img", {
src: c ? t : e,
alt: "",
loading: "lazy",
@@ -44115,8 +44405,8 @@ function vxe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function yxe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = oi(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => Ige(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ci(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = ui({
+function Txe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = oi(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => Wge(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? ci(t) : [], S = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, C = ui({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -44124,7 +44414,7 @@ function yxe(e) {
limit: 9
}), w = (0, b.useRef)(C.faces);
w.current = C.faces;
- let T = bM({
+ let T = FM({
load: async () => w.current,
canFlip: () => w.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -44132,7 +44422,7 @@ function yxe(e) {
E.current = T.onPointerLeave;
let D = (0, b.useCallback)((e) => {
e && (e._stopHover = () => E.current());
- }, []), O = Kj(u, n, i), k = Hj(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = Yj(u, i), N = Jj(t, u), P = u.status === "saved", ee = (e) => {
+ }, []), O = sM(u, n, i), k = rM(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = uM(u, i), N = lM(t, u), P = u.status === "saved", ee = (e) => {
e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));
}, F = (e, t) => {
e.stopPropagation(), t();
@@ -44147,7 +44437,7 @@ function yxe(e) {
"data-collection": C.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: ee,
- onMouseDown: mM,
+ onMouseDown: kM,
onMouseEnter: T.onPointerEnter,
onMouseLeave: T.onPointerLeave,
children: [
@@ -44161,14 +44451,14 @@ function yxe(e) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, x.jsx)(vxe, {
+ p ? /* @__PURE__ */ (0, x.jsx)(wxe, {
src: p,
fallback: m,
width: _?.width,
height: _?.height,
provider: A,
onLearn: v
- }, p) : /* @__PURE__ */ (0, x.jsx)(nI, { provider: A }),
+ }, p) : /* @__PURE__ */ (0, x.jsx)(fI, { provider: A }),
C.faces.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-mix-faces": "",
hidden: !T.faces.length,
@@ -44186,7 +44476,7 @@ function yxe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: Vj(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: nM(u.provider, u.provider_label) }
}),
l.toggleSelection ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
@@ -44195,7 +44485,7 @@ function yxe(e) {
},
dangerouslySetInnerHTML: { __html: L("check") }
}) : null,
- _xe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ Cxe(u.duration) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-duration": "",
children: Vt(u.duration)
}) : null,
@@ -44267,7 +44557,7 @@ function yxe(e) {
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-meta": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, x.jsx)(tI, {
+ O.entityName ? /* @__PURE__ */ (0, x.jsx)(dI, {
name: O.entityName,
actions: l,
"data-media-avatar": "",
@@ -44286,12 +44576,12 @@ function yxe(e) {
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: qj(t, u) + R(k) }
+ dangerouslySetInnerHTML: { __html: cM(t, u) + R(k) }
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-byline": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, x.jsx)(tI, {
+ O.entityName ? /* @__PURE__ */ (0, x.jsx)(dI, {
name: O.entityName,
actions: l,
"data-follow-author": "",
@@ -44304,8 +44594,8 @@ function yxe(e) {
}),
/* @__PURE__ */ (0, x.jsx)("time", {
dateTime: u.published_at || "",
- title: Zj(u),
- children: Fge(u)
+ title: fM(u),
+ children: Uge(u)
}),
O.credited ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-credit": "",
@@ -44343,10 +44633,10 @@ function yxe(e) {
]
});
}
-var rI = (0, b.memo)(yxe);
+var pI = (0, b.memo)(Txe);
//#endregion
//#region src/react/components/use-masonry-grid.ts
-function bxe(e, t) {
+function Exe(e, t) {
let n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let t = n.current;
@@ -44382,10 +44672,10 @@ function bxe(e, t) {
}
//#endregion
//#region src/react/follow-feed/follow-feed-page.tsx
-var iI = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var mI = () => /* @__PURE__ */ (0, x.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), xxe = Lj("settings"), aI = Lj("chevron-down"), Sxe = Lj("history"), Cxe = [[
+}), Dxe = Lj("settings"), hI = Lj("chevron-down"), Oxe = Lj("history"), kxe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -44394,7 +44684,7 @@ var iI = () => /* @__PURE__ */ (0, x.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function wxe(e, t, n) {
+function Axe(e, t, n) {
return (0, b.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
@@ -44442,7 +44732,7 @@ function wxe(e, t, n) {
n
]);
}
-function Txe(e) {
+function jxe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = qr(t, r), o = pt(a), s = dt({
queryKey: Jr,
queryFn: ({ signal: e }) => Yr(e)
@@ -44450,7 +44740,7 @@ function Txe(e) {
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = wxe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
+ }), [c, l]), d = Axe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, b.useMemo)(() => ({
tags: ic(d.visible.flatMap($r).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
@@ -44476,10 +44766,10 @@ function Txe(e) {
m,
i
]);
- let h = Dxe(e, !!c);
+ let h = Nxe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, x.jsx)(oI, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(dM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(gI, { onManage: i.openManage }), /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(o.error),
onRetry: () => void o.refetch()
})]
@@ -44492,7 +44782,7 @@ function Txe(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, Uj(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, iM(t, u)])),
providers: d.providers,
works: d.workNames
}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);
@@ -44510,7 +44800,7 @@ function Txe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(oI, {
+ /* @__PURE__ */ (0, x.jsx)(gI, {
onManage: i.openManage,
children: d.sources.length ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
@@ -44524,20 +44814,20 @@ function Txe(e) {
}) : "检查更新"
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(Oxe, {
+ /* @__PURE__ */ (0, x.jsx)(Pxe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(kxe, {
+ /* @__PURE__ */ (0, x.jsx)(Fxe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, x.jsx)(Axe, {
+ /* @__PURE__ */ (0, x.jsx)(Ixe, {
facets: d,
view: t,
total: v,
@@ -44545,7 +44835,7 @@ function Txe(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, x.jsx)(jxe, {
+ /* @__PURE__ */ (0, x.jsx)(Lxe, {
conditions: _,
onDrop: (e) => i.route(gi(t, e)),
onClear: () => g({
@@ -44557,11 +44847,11 @@ function Txe(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, x.jsx)(Mxe, {
+ d.broken.length ? /* @__PURE__ */ (0, x.jsx)(Rxe, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Nxe, {
+ /* @__PURE__ */ (0, x.jsx)(zxe, {
pending: f,
facets: d,
data: c,
@@ -44572,14 +44862,14 @@ function Txe(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-page-action": "",
- children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(TM, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, x.jsxs)(BM, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, x.jsx)(aI, { className: "size-3.5" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(Exe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(hI, { className: "size-3.5" }), "加载更多"]
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, x.jsx)(Mxe, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? _t(o.error) : "",
load: () => {
@@ -44590,7 +44880,7 @@ function Txe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : Sxe,
+ leadingIcon: h.olderBusy ? void 0 : Oxe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -44608,7 +44898,7 @@ function Txe(e) {
})
] });
}
-function oI({ onManage: e, children: t }) {
+function gI({ onManage: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
@@ -44618,7 +44908,7 @@ function oI({ onManage: e, children: t }) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- leadingIcon: xxe,
+ leadingIcon: Dxe,
"data-follow-manage": "",
onClick: e,
children: "管理关注"
@@ -44626,20 +44916,20 @@ function oI({ onManage: e, children: t }) {
})]
});
}
-function Exe({ busy: e, error: t, load: n }) {
+function Mxe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-entity-more": "",
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, x.jsx)(aI, { className: "size-3.5" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, x.jsx)(dM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(hI, { className: "size-3.5" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: t,
onRetry: n
}) : null] });
}
-function Dxe(e, t) {
+function Nxe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, b.useState)(0), [o, s] = (0, b.useState)(!1), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(!1), m = (0, b.useRef)(!1), h = (0, b.useRef)(null), g = (0, b.useRef)({
helpers: n,
actions: r
@@ -44701,12 +44991,12 @@ function Dxe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function Oxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function Pxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, b.useRef)(null);
(0, b.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => Uj(e.authorSources.get(t) || [], n);
+ let o = (t) => iM(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, x.jsx)("div", {
@@ -44714,14 +45004,14 @@ function Oxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
"data-follow-authors": "",
"aria-label": "创作者",
children: e.authorOrder.map((n) => {
- let a = e.authorSources.get(n) || [], s = Wj(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = aM(a), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: Gj(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: oM(a, o(n)) }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, x.jsx)(tI, {
+ return s ? /* @__PURE__ */ (0, x.jsx)(dI, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -44738,7 +45028,7 @@ function Oxe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function kxe({ rows: e, pressed: t, props: n, onPick: r }) {
+function Fxe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -44759,13 +45049,13 @@ function kxe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = Gk(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = Gk(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function Ixe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = Kk(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = Kk(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, b.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
}, [o]);
let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";
- return /* @__PURE__ */ (0, x.jsx)(Hk, {
+ return /* @__PURE__ */ (0, x.jsx)(Uk, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -44817,7 +45107,7 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L(i) }
}, e);
})
- }), /* @__PURE__ */ (0, x.jsx)(iI, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
+ }), /* @__PURE__ */ (0, x.jsx)(mI, {})] }) : null, /* @__PURE__ */ (0, x.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -44837,7 +45127,7 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, x.jsx)(iI, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, x.jsx)(mI, {}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -44850,10 +45140,10 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: Vj(t, n) }
+ dangerouslySetInnerHTML: { __html: nM(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(iI, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(Uk, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, x.jsx)(mI, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${_i(e.groups, n)}`,
@@ -44874,11 +45164,11 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(aM, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(iM, {
+ /* @__PURE__ */ (0, x.jsx)(bM, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(yM, {
label: "图片布局",
value: i.photoLayout,
- options: Cxe,
+ options: kxe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -44915,7 +45205,7 @@ function Axe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function jxe({ conditions: e, onDrop: t, onClear: n }) {
+function Lxe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -44940,7 +45230,7 @@ function jxe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function Mxe({ count: e, onManage: t }) {
+function Rxe({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -44949,12 +45239,12 @@ function Mxe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function Nxe({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = uM(e, () => o.listSkeletonHtml(a.media));
+function zxe({ pending: e, facets: t, data: n, context: r, props: i }) {
+ let { view: a, helpers: o } = i, s = a.media === "images", c = TM(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(Pxe, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, x.jsx)(Bxe, {
facets: t,
data: n,
context: r,
@@ -44963,28 +45253,28 @@ function Nxe({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function Pxe({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, actions: o } = r, s = cI(r), c = i ? {
+function Bxe({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, actions: o } = r, s = vI(r), c = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, l = bxe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), u;
+ } : {}, l = Exe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), u;
return u = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), c = i?.author_key && e.authorSources.get(i.author_key) || [], l = t.primary.id;
- return /* @__PURE__ */ (0, x.jsx)(rI, {
+ return /* @__PURE__ */ (0, x.jsx)(pI, {
group: t,
authorSources: c,
media: a.media,
context: n,
- selected: r.selected.has(sI(t, a)),
+ selected: r.selected.has(_I(t, a)),
selectMode: r.selectMode,
- busy: s.busy.get(sI(t, a)) || "",
- failure: s.failures.get(sI(t, a)) || "",
+ busy: s.busy.get(_I(t, a)) || "",
+ failure: s.failures.get(_I(t, a)) || "",
actions: o,
onStatus: s.status,
onSave: s.save
}, `${l}:${a.media}`);
- }) : /* @__PURE__ */ (0, x.jsx)(Fxe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Vxe, {
data: t,
filtered: !!(a.status || e.author || e.provider || a.work || a.tags.length)
}), /* @__PURE__ */ (0, x.jsx)("div", {
@@ -44995,10 +45285,10 @@ function Pxe({ facets: e, data: t, context: n, props: r, images: i }) {
children: u
});
}
-function sI(e, t) {
+function _I(e, t) {
return oi(e, t.media).id;
}
-function Fxe({ data: e, filtered: t }) {
+function Vxe({ data: e, filtered: t }) {
let n = (e.groups || []).length ? no("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? no("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : no("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : no("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -45006,12 +45296,12 @@ function Fxe({ data: e, filtered: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-var Ixe = {
+var Hxe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function cI(e) {
+function vI(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, b.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, b.useState)(() => /* @__PURE__ */ new Map()), c = qr(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -45034,7 +45324,7 @@ function cI(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(Ixe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(Hxe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await V(wn, {
item: t,
to: i
@@ -45080,9 +45370,9 @@ function cI(e) {
}
//#endregion
//#region src/react/entity-body/entity-online.tsx
-function Lxe(e) {
- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = uM(a, () => i.listSkeletonHtml(r));
- return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(dM, {
+function Uxe(e) {
+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = TM(a, () => i.listSkeletonHtml(r));
+ return !n && t.isError ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(t.error),
onRetry: () => {
t.refetch();
@@ -45093,11 +45383,11 @@ function Lxe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Rxe, {
+ a || !n ? null : /* @__PURE__ */ (0, x.jsx)(Wxe, {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(TM, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, x.jsx)(BM, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -45107,8 +45397,8 @@ function Lxe(e) {
]
});
}
-function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
- let l = cI({
+function Wxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
+ let l = vI({
view: e,
revision: 0,
actions: c
@@ -45126,7 +45416,7 @@ function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
"data-images-only": String(s)
} : {}, p = r.length ? r.map((e) => {
let n = oi(e, t).id, r = u.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, x.jsx)(rI, {
+ return /* @__PURE__ */ (0, x.jsx)(pI, {
group: e,
authorSources: r && u.byAuthor.get(r) || [],
media: t,
@@ -45139,7 +45429,7 @@ function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: l.status,
onSave: l.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, x.jsx)(zxe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
+ }) : /* @__PURE__ */ (0, x.jsx)(Gxe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": d ? "" : void 0,
@@ -45147,7 +45437,7 @@ function Rxe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: p
});
}
-function zxe({ searched: e }) {
+function Gxe({ searched: e }) {
let t = e ? no("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : no("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-empty": "",
@@ -45155,7 +45445,7 @@ function zxe({ searched: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function lI(e) {
+function yI(e) {
return {
x0: 0,
y0: 0,
@@ -45163,7 +45453,7 @@ function lI(e) {
y1: e.height
};
}
-function uI(e) {
+function bI(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -45171,40 +45461,40 @@ function uI(e) {
y1: Math.round(e.y1)
};
}
-function dI(e) {
+function xI(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function fI(e, t) {
- if (!dI(e)) return {
+function SI(e, t) {
+ if (!xI(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return lI(e);
+ if (t == null || !(t > 0)) return yI(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return uI({
+ return bI({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function Bxe(e, t) {
- if (!dI(e) || !(t > 0)) return lI(e);
+function Kxe(e, t) {
+ if (!xI(e) || !(t > 0)) return yI(e);
let n = Math.min(e.width, e.height * t);
- return uI({
+ return bI({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function Vxe(e, t, n) {
- if (!dI(t) || !(n > 0)) return lI(t);
- let r = pI(e, t), i = fI({
+function qxe(e, t, n) {
+ if (!xI(t) || !(n > 0)) return yI(t);
+ let r = CI(e, t), i = SI({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -45215,8 +45505,8 @@ function Vxe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function pI(e, t, n = null, r = "width") {
- if (!dI(t)) return {
+function CI(e, t, n = null, r = "width") {
+ if (!xI(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -45225,43 +45515,43 @@ function pI(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return uI({
+ return bI({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function mI(e, t, n, r) {
+function wI(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return uI({
+ return bI({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function hI(e, t, n, r = null) {
- if (!dI(n) || !(t > 0)) return e;
+function TI(e, t, n, r = null) {
+ if (!xI(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return pI({
+ return CI({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Hxe(e, t, n, r, i = null) {
+function Jxe(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return pI(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return CI(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Uxe(e, t) {
- return dI(t) ? {
+function Yxe(e, t) {
+ return xI(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -45273,8 +45563,8 @@ function Uxe(e, t) {
height: 0
};
}
-function Wxe(e, t) {
- if (!dI(t)) return {
+function Xxe(e, t) {
+ if (!xI(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -45284,7 +45574,7 @@ function Wxe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Gxe(e, t) {
+function Zxe(e, t) {
let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);
return {
left: `${-e.x0 / n * 100}%`,
@@ -45293,50 +45583,16 @@ function Gxe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function gI(e, t, n) {
+function EI(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function Kxe(e, t) {
+function Qxe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
//#endregion
-//#region src/react/components/modal-frame.tsx
-var qxe = {
- "avatar-picker": "max-w-avatar-picker",
- "cover-crop": "max-w-cover-crop",
- form: "max-w-form-modal"
-};
-function _I({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- let { isFocusVisible: a } = Qre();
- return /* @__PURE__ */ (0, x.jsx)(qA, {
- isOpen: e,
- onOpenChange: t,
- isDismissable: !0,
- "data-modal-motion": "",
- "data-motion-instant": a || void 0,
- className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, x.jsx)(Dhe, {
- "data-modal-surface": "",
- className: `flex max-h-full w-full ${qxe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, x.jsx)(UA, {
- "aria-label": r,
- className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
- children: i
- })
- })
- });
-}
-function vI({ children: e }) {
- return /* @__PURE__ */ (0, x.jsx)("span", {
- "aria-hidden": !0,
- className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",
- children: e
- });
-}
-//#endregion
//#region src/react/crop/crop-frame.tsx
-var Jxe = .02, yI = 1.08;
-function bI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var $xe = .02, DI = 1.08;
+function OI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, b.useRef)(null), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(!1), [d, f] = (0, b.useState)(null);
(0, b.useEffect)(() => {
u(!1);
@@ -45355,8 +45611,8 @@ function bI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: gI(e, n.clientWidth, r.width),
- dy: gI(t, n.clientHeight, r.height)
+ dx: EI(e, n.clientWidth, r.width),
+ dy: EI(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -45373,22 +45629,22 @@ function bI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
let n = c.current, a = s.current;
if (!n || !a || !r) return;
let o = p(e.clientX - n.x, e.clientY - n.y);
- n.mode === "move" ? i(mI(n.box, o.dx, o.dy, r)) : i(Hxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ n.mode === "move" ? i(wI(n.box, o.dx, o.dy, r)) : i(Jxe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function g(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function _(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * Jxe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * $xe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(mI(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(hI(n, e.key === "-" ? 1 / yI : yI, r, t)));
+ o[e.key] ? (e.preventDefault(), i(wI(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(TI(n, e.key === "-" ? 1 / DI : DI, r, t)));
}
- let v = n && r ? Uxe(pI(n, r, t), r) : null, y = v ? Kxe(v, d) : !1, S = v ? {
+ let v = n && r ? Yxe(CI(n, r, t), r) : null, y = v ? Qxe(v, d) : !1, S = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -45407,7 +45663,7 @@ function bI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- dI({
+ xI({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -45446,7 +45702,7 @@ function bI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(hI(n, e.deltaY > 0 ? yI : 1 / yI, r, t));
+ n && r && i(TI(n, e.deltaY > 0 ? DI : 1 / DI, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, x.jsx)("span", {
@@ -45469,13 +45725,13 @@ function bI({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Yxe = "/api/avatar-choices", xI = "/api/avatar-pick", Xxe = "/api/avatar-code-cover", SI = "/api/avatar-frame", Zxe = "/avatar-choice", CI = (e, t) => [
+var eSe = "/api/avatar-choices", kI = "/api/avatar-pick", tSe = "/api/avatar-code-cover", AI = "/api/avatar-frame", nSe = "/avatar-choice", jI = (e, t) => [
"avatar-choices",
e,
t
-], wI = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, TI = (e, t, n, r = "") => `${Zxe}${wI(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), EI = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Qxe = (e, t, n) => B(Yxe + wI(e, t), n), $xe = (e) => V(Xxe, { code: e });
-async function eSe(e, t, n) {
- let r = await V(SI, {
+], MI = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, NI = (e, t, n, r = "") => `${nSe}${MI(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), PI = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", rSe = (e, t, n) => B(eSe + MI(e, t), n), iSe = (e) => V(tSe, { code: e });
+async function aSe(e, t, n) {
+ let r = await V(AI, {
kind: e,
id: t,
ref: n.ref
@@ -45488,12 +45744,12 @@ async function eSe(e, t, n) {
bases: r.bases
};
}
-var tSe = (e, t, n) => V(SI, {
+var oSe = (e, t, n) => V(AI, {
kind: e,
id: t,
url: n
-}), nSe = (e, t, n) => DI(`${SI}${wI(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function DI(e, t) {
+}), sSe = (e, t, n) => FI(`${AI}${MI(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function FI(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -45502,17 +45758,17 @@ async function DI(e, t) {
if (n.ok) return r;
throw new en(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function OI(e, t, n) {
+function II(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Vxe(e.focus, t, n) : fI(t, n);
+ return e.focus && r ? qxe(e.focus, t, n) : SI(t, n);
}
-var rSe = (e) => e.crop && dI({
+var cSe = (e) => e.crop && xI({
width: e.width,
height: e.height
});
-async function iSe(e, t, n) {
+async function lSe(e, t, n) {
if (!("file" in n)) {
- await V(xI, {
+ await V(kI, {
kind: e,
id: t,
...n
@@ -45525,19 +45781,19 @@ async function iSe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await DI(`${xI}${wI(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await FI(`${kI}${MI(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var kI = 2;
-function aSe(e, t) {
+var LI = 2;
+function uSe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, kI).join("」「")}」`}${n.length > kI ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, LI).join("」「")}」`}${n.length > LI ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有候选图片,可输入番号、图片地址或从本机选择。`;
}
-var oSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function sSe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${oSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var dSe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function fSe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${dSe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var AI = (e) => e.cast > 1, cSe = (e) => AI(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, lSe = {
+var RI = (e) => e.cast > 1, pSe = (e) => RI(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, mSe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -45547,7 +45803,7 @@ var AI = (e) => e.cast > 1, cSe = (e) => AI(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function uSe(e) {
+function hSe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -45558,19 +45814,19 @@ function uSe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var dSe = (e) => `${lSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (AI(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), fSe = 8, pSe = 3 / 4;
-async function mSe(e, t, n) {
+var gSe = (e) => `${mSe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (RI(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), _Se = 8, vSe = 3 / 4;
+async function ySe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await eSe(e, t, n.choice) };
- case "code": return { choice: await $xe(n.code) };
- case "url": return { choice: await tSe(e, t, n.url) };
+ case "choice": return { choice: await aSe(e, t, n.choice) };
+ case "code": return { choice: await iSe(n.code) };
+ case "url": return { choice: await oSe(e, t, n.url) };
case "file": return {
- choice: await nSe(e, t, n.file),
+ choice: await sSe(e, t, n.file),
file: n.file
};
}
}
-function hSe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function bSe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -45580,17 +45836,17 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, x.jsx)(Yue, {
+ children: /* @__PURE__ */ (0, x.jsx)(Jue, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, x.jsx)(_I, {
+ }), /* @__PURE__ */ (0, x.jsx)(Pj, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, x.jsx)(gSe, {
+ children: /* @__PURE__ */ (0, x.jsx)(xSe, {
kind: e,
entityId: t,
name: n,
@@ -45599,22 +45855,22 @@ function hSe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, b.useRef)(null), o = DP(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = CI(e, t), m = (0, b.useRef)(!1), h = dt({
+function xSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, b.useRef)(null), o = HP(), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(null), p = jI(e, t), m = (0, b.useRef)(!1), h = dt({
queryKey: p,
- queryFn: ({ signal: n }) => Qxe(e, t, n),
+ queryFn: ({ signal: n }) => rSe(e, t, n),
retryOnMount: !0
});
(0, b.useEffect)(() => () => {
- m.current && H.removeQueries({ queryKey: CI(e, t) });
+ m.current && H.removeQueries({ queryKey: jI(e, t) });
}, [e, t]);
let g = ft({
- mutationFn: (n) => iSe(e, t, n),
+ mutationFn: (n) => lSe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = ft({
- mutationFn: (n) => mSe(e, t, n),
+ mutationFn: (n) => ySe(e, t, n),
onSuccess: f
}), v = (e) => _.isPending && _.variables?.via === e;
function y(e) {
@@ -45632,28 +45888,28 @@ function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
crop: e.crop
} : { file: n }) : g.mutate(e ?? { ref: t.ref });
}
- let C = h.data, w = C?.choices ?? [], T = (g.error ? z(g.error) : "") || (!d && _.error ? z(_.error) : "") || (h.error ? z(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : sSe(C), O = !!T && !!h.error && T === z(h.error), k = h.isPending || w.length > 0;
+ let C = h.data, w = C?.choices ?? [], T = (g.error ? z(g.error) : "") || (!d && _.error ? z(_.error) : "") || (h.error ? z(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : fSe(C), O = !!T && !!h.error && T === z(h.error), k = h.isPending || w.length > 0;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, x.jsx)(vI, { children: /* @__PURE__ */ (0, x.jsx)(wde, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(Fj, { children: /* @__PURE__ */ (0, x.jsx)(wde, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(oA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(sA, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(ik, {
+ }), !d && w.length ? /* @__PURE__ */ (0, x.jsxs)(ak, {
color: "soft",
children: [w.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? cSe(d.choice) : aSe(n, C)
+ children: d ? pSe(d.choice) : uSe(n, C)
}),
D ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
@@ -45674,14 +45930,14 @@ function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(kP, {
- icon: CO,
+ /* @__PURE__ */ (0, x.jsx)(WP, {
+ icon: wO,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, x.jsx)(ySe, {
+ }), d ? /* @__PURE__ */ (0, x.jsx)(wSe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -45700,7 +45956,7 @@ function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": h.isPending || void 0,
"data-skeleton": h.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: h.isPending ? Array.from({ length: fSe }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: _Se }, (e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -45713,7 +45969,7 @@ function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: dSe(n),
+ title: gSe(n),
...q(E),
onClick: () => {
E || (n.crop ? f({ choice: n }) : _.mutate({
@@ -45723,8 +45979,8 @@ function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, x.jsx)(_Se, {
- src: TI(e, t, n.ref, EI(n, n.ref)),
+ /* @__PURE__ */ (0, x.jsx)(SSe, {
+ src: NI(e, t, n.ref, PI(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -45733,15 +45989,15 @@ function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, x.jsx)(ik, {
+ children: /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- AI(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ RI(n) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsxs)(ik, {
+ children: /* @__PURE__ */ (0, x.jsxs)(ak, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -45763,7 +46019,7 @@ function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)($P, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -45798,7 +46054,7 @@ function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 basis-56 items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)($P, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -45821,7 +46077,7 @@ function gSe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function _Se({ src: e, choice: t }) {
+function SSe({ src: e, choice: t }) {
let n = (0, b.useRef)(null), [r, i] = (0, b.useState)(!1), [a, o] = (0, b.useState)(!1);
(0, b.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -45829,7 +46085,7 @@ function _Se({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = rSe(t) ? Gxe(OI(t, s, pSe), s) : null, l = r || a ? !0 : void 0;
+ }, c = cSe(t) ? Zxe(II(t, s, vSe), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -45855,7 +46111,7 @@ function _Se({ src: e, choice: t }) {
})]
});
}
-function vSe(e) {
+function CSe(e) {
let [t, n] = (0, b.useState)("");
return (0, b.useEffect)(() => {
if (!e) return;
@@ -45863,23 +46119,23 @@ function vSe(e) {
return n(t), () => URL.revokeObjectURL(t);
}, [e]), t;
}
-function ySe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
- let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = EI(n, c), h = vSe(r), g = r ? h : TI(e, t, c, m), _ = DP();
+function wSe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
+ let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, b.useState)(s[0]), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = PI(n, c), h = CSe(r), g = r ? h : NI(e, t, c, m), _ = HP();
function v(e) {
l(e), d(null), p(null);
}
- let y = f && u ? Wxe(f, u) : null;
+ let y = f && u ? Xxe(f, u) : null;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
ref: _,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [g ? /* @__PURE__ */ (0, x.jsx)(bI, {
+ children: [g ? /* @__PURE__ */ (0, x.jsx)(OI, {
src: g,
aspect: 1,
box: f,
size: u,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- d(e), dI(e) && p(c === n.ref ? OI(n, e, 1) : fI(e, 1));
+ d(e), xI(e) && p(c === n.ref ? II(n, e, 1) : SI(e, 1));
},
onBox: p
}) : null, s.length > 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
@@ -45893,7 +46149,7 @@ function ySe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
"data-crop-base": !0,
onClick: () => v(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: uSe(e)
+ children: hSe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -45942,20 +46198,20 @@ function ySe({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var bSe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, jI = /^[\\/]{2}/;
-function xSe(e, t) {
+var TSe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, zI = /^[\\/]{2}/;
+function ESe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/history.js
-var MI = "popstate";
-function NI(e) {
+var BI = "popstate";
+function VI(e) {
return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;
}
-function SSe(e = {}) {
+function DSe(e = {}) {
function t(e, t) {
let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;
- return LI("", {
+ return GI("", {
pathname: r,
search: i,
hash: a
@@ -45966,14 +46222,14 @@ function SSe(e = {}) {
} : void 0);
}
function n(e, t) {
- return typeof t == "string" ? t : RI(t);
+ return typeof t == "string" ? t : KI(t);
}
- return wSe(t, n, null, e);
+ return kSe(t, n, null, e);
}
-function PI(e, t) {
+function HI(e, t) {
if (e === !1 || e == null) throw Error(t);
}
-function FI(e, t) {
+function UI(e, t) {
if (!e) {
typeof console < "u" && console.warn(t);
try {
@@ -45981,10 +46237,10 @@ function FI(e, t) {
} catch {}
}
}
-function CSe() {
+function OSe() {
return Math.random().toString(36).substring(2, 10);
}
-function II(e, t) {
+function WI(e, t) {
return {
usr: e.state,
key: e.key,
@@ -45996,21 +46252,21 @@ function II(e, t) {
} : void 0
};
}
-function LI(e, t, n = null, r, i) {
+function GI(e, t, n = null, r, i) {
return {
pathname: typeof e == "string" ? e : e.pathname,
search: "",
hash: "",
- ...typeof t == "string" ? zI(t) : t,
+ ...typeof t == "string" ? qI(t) : t,
state: n,
- key: t && t.key || r || CSe(),
+ key: t && t.key || r || OSe(),
mask: i
};
}
-function RI({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function KI({ pathname: e = "/", search: t = "", hash: n = "" }) {
return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;
}
-function zI(e) {
+function qI(e) {
let t = {};
if (e) {
let n = e.indexOf("#");
@@ -46020,7 +46276,7 @@ function zI(e) {
}
return t;
}
-function wSe(e, t, n, r = {}) {
+function kSe(e, t, n, r = {}) {
let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();
l ?? (l = 0, o.replaceState({
...o.state,
@@ -46040,9 +46296,9 @@ function wSe(e, t, n, r = {}) {
}
function f(e, t) {
s = "PUSH";
- let r = NI(e) ? e : LI(h.location, e, t);
+ let r = VI(e) ? e : GI(h.location, e, t);
n && n(r, e), l = u() + 1;
- let d = II(r, l), f = h.createHref(r.mask || r);
+ let d = WI(r, l), f = h.createHref(r.mask || r);
try {
o.pushState(d, "", f);
} catch (e) {
@@ -46057,9 +46313,9 @@ function wSe(e, t, n, r = {}) {
}
function p(e, t) {
s = "REPLACE";
- let r = NI(e) ? e : LI(h.location, e, t);
+ let r = VI(e) ? e : GI(h.location, e, t);
n && n(r, e), l = u();
- let i = II(r, l), d = h.createHref(r.mask || r);
+ let i = WI(r, l), d = h.createHref(r.mask || r);
o.replaceState(i, "", d), a && c && c({
action: s,
location: h.location,
@@ -46067,7 +46323,7 @@ function wSe(e, t, n, r = {}) {
});
}
function m(e) {
- return TSe(i, e);
+ return ASe(i, e);
}
let h = {
get action() {
@@ -46078,8 +46334,8 @@ function wSe(e, t, n, r = {}) {
},
listen(e) {
if (c) throw Error("A history only accepts one active listener");
- return i.addEventListener(MI, d), c = e, () => {
- i.removeEventListener(MI, d), c = null;
+ return i.addEventListener(BI, d), c = e, () => {
+ i.removeEventListener(BI, d), c = null;
};
},
createHref(e) {
@@ -46102,29 +46358,29 @@ function wSe(e, t, n, r = {}) {
};
return h;
}
-function TSe(e, t, n = !1) {
+function ASe(e, t, n = !1) {
let r = "http://localhost";
- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), PI(r, "No window.location.(origin|href) available to create URL");
- let i = typeof t == "string" ? t : RI(t);
- return i = i.replace(/ $/, "%20"), !n && jI.test(i) && (i = r + i), new URL(i, r);
+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), HI(r, "No window.location.(origin|href) available to create URL");
+ let i = typeof t == "string" ? t : KI(t);
+ return i = i.replace(/ $/, "%20"), !n && zI.test(i) && (i = r + i), new URL(i, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function ESe(e, t, n = "/") {
- return DSe(e, t, n, !1);
+function jSe(e, t, n = "/") {
+ return MSe(e, t, n, !1);
}
-function DSe(e, t, n, r, i) {
- let a = KI((typeof t == "string" ? zI(t) : t).pathname || "/", n);
+function MSe(e, t, n, r, i) {
+ let a = eL((typeof t == "string" ? qI(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? OSe(e), s = null, c = VSe(a);
- for (let e = 0; s == null && e < o.length; ++e) s = BSe(o[e], c, r);
+ let o = i ?? NSe(e), s = null, c = KSe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = GSe(o[e], c, r);
return s;
}
-function OSe(e) {
- let t = BI(e);
- return kSe(t), t;
+function NSe(e) {
+ let t = JI(e);
+ return PSe(t), t;
}
-function BI(e, t = [], n = [], r = "", i = !1) {
+function JI(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
let c = {
relativePath: s === void 0 ? e.path || "" : s,
@@ -46134,14 +46390,14 @@ function BI(e, t = [], n = [], r = "", i = !1) {
};
if (c.relativePath.startsWith("/")) {
if (!c.relativePath.startsWith(r) && o) return;
- PI(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
+ HI(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
}
- let l = XI([r, c.relativePath]), u = n.concat(c);
- e.children && e.children.length > 0 && (PI(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), BI(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
+ let l = iL([r, c.relativePath]), u = n.concat(c);
+ e.children && e.children.length > 0 && (HI(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), JI(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
path: l,
- score: RSe(l, e.index),
+ score: USe(l, e.index),
routesMeta: u.map((e, t) => {
- let [n, r] = GI(e.relativePath, e.caseSensitive, t === u.length - 1);
+ let [n, r] = $I(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
...e,
matcher: n,
@@ -46152,68 +46408,68 @@ function BI(e, t = [], n = [], r = "", i = !1) {
};
return e.forEach((e, t) => {
if (e.path === "" || !e.path?.includes("?")) a(e, t);
- else for (let n of VI(e.path)) a(e, t, !0, n);
+ else for (let n of YI(e.path)) a(e, t, !0, n);
}), t;
}
-function VI(e) {
+function YI(e) {
let t = e.split("/");
if (t.length === 0) return [];
let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");
if (r.length === 0) return i ? [a, ""] : [a];
- let o = VI(r.join("/")), s = [];
+ let o = YI(r.join("/")), s = [];
return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);
}
-function kSe(e) {
- e.sort((e, t) => e.score === t.score ? zSe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function PSe(e) {
+ e.sort((e, t) => e.score === t.score ? WSe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var ASe = /^:[\w-]+$/, jSe = /^:[\w-]+/, MSe = 3.5, NSe = 3, PSe = 2, FSe = 1, ISe = 10, LSe = -2, HI = (e) => e === "*";
-function RSe(e, t) {
+var FSe = /^:[\w-]+$/, ISe = /^:[\w-]+/, LSe = 3.5, RSe = 3, zSe = 2, BSe = 1, VSe = 10, HSe = -2, XI = (e) => e === "*";
+function USe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(HI) && (r += LSe), t && (r += PSe), n.filter((e) => !HI(e)).reduce((e, t) => e + (ASe.test(t) ? NSe : jSe.test(t) ? MSe : t === "" ? FSe : ISe), r);
+ return n.some(XI) && (r += HSe), t && (r += zSe), n.filter((e) => !XI(e)).reduce((e, t) => e + (FSe.test(t) ? RSe : ISe.test(t) ? LSe : t === "" ? BSe : VSe), r);
}
-function zSe(e, t) {
+function WSe(e, t) {
return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
}
-function BSe(e, t, n = !1) {
+function GSe(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: c
- }, d = s.matcher && s.compiledParams ? WI(u, l, s.matcher, s.compiledParams) : UI(u, l), f = s.route;
- if (!d && c && n && !r[r.length - 1].route.index && (d = UI({
+ }, d = s.matcher && s.compiledParams ? QI(u, l, s.matcher, s.compiledParams) : ZI(u, l), f = s.route;
+ if (!d && c && n && !r[r.length - 1].route.index && (d = ZI({
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: !1
}, l)), !d) return null;
Object.assign(i, d.params), o.push({
params: i,
- pathname: XI([a, d.pathname]),
- pathnameBase: KSe(XI([a, d.pathnameBase])),
+ pathname: iL([a, d.pathname]),
+ pathnameBase: ZSe(iL([a, d.pathnameBase])),
route: f
- }), d.pathnameBase !== "/" && (a = XI([a, d.pathnameBase]));
+ }), d.pathnameBase !== "/" && (a = iL([a, d.pathnameBase]));
}
return o;
}
-function UI(e, t) {
+function ZI(e, t) {
typeof e == "string" && (e = {
path: e,
caseSensitive: !1,
end: !0
});
- let [n, r] = GI(e.path, e.caseSensitive, e.end);
- return WI(e, t, n, r);
+ let [n, r] = $I(e.path, e.caseSensitive, e.end);
+ return QI(e, t, n, r);
}
-function WI(e, t, n, r) {
+function QI(e, t, n, r) {
let i = t.match(n);
if (!i) return null;
- let a = i[0], o = ZI(a, 1), s = i.slice(1);
+ let a = i[0], o = aL(a, 1), s = i.slice(1);
return {
params: r.reduce((e, { paramName: t, isOptional: n }, r) => {
if (t === "*") {
let e = s[r] || "";
- o = ZI(a.slice(0, a.length - e.length), 1);
+ o = aL(a.slice(0, a.length - e.length), 1);
}
let i = s[r];
return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;
@@ -46223,8 +46479,8 @@ function WI(e, t, n, r) {
pattern: e
};
}
-function GI(e, t = !1, n = !0) {
- FI(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
+function $I(e, t = !1, n = !0) {
+ UI(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {
if (r.push({
paramName: t,
@@ -46237,46 +46493,46 @@ function GI(e, t = !1, n = !0) {
}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");
return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
}
-function VSe(e) {
+function KSe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
- return FI(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
+ return UI(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
}
}
-function KI(e, t) {
+function eL(e, t) {
if (t === "/") return e;
if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function HSe(e, t = "/") {
- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? zI(e) : e, a;
- return n ? (n = YI(n), a = n.startsWith("/") || n.startsWith("\\") ? qI(n.substring(1), "/") : qI(n, t)) : a = t, {
+function qSe(e, t = "/") {
+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? qI(e) : e, a;
+ return n ? (n = rL(n), a = n.startsWith("/") || n.startsWith("\\") ? tL(n.substring(1), "/") : tL(n, t)) : a = t, {
pathname: a,
- search: qSe(r),
- hash: JSe(i)
+ search: QSe(r),
+ hash: $Se(i)
};
}
-function qI(e, t) {
- let n = ZI(t).split("/");
+function tL(e, t) {
+ let n = aL(t).split("/");
return e.split("/").forEach((e) => {
e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);
}), n.length > 1 ? n.join("/") : "/";
}
-function JI(e, t, n, r) {
+function nL(e, t, n, r) {
return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
}
-function USe(e) {
+function JSe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function WSe(e) {
- let t = USe(e);
+function YSe(e) {
+ let t = JSe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function GSe(e, t, n, r = !1) {
+function XSe(e, t, n, r = !1) {
let i;
- typeof e == "string" ? i = zI(e) : (i = { ...e }, PI(!i.pathname || !i.pathname.includes("?"), JI("?", "pathname", "search", i)), PI(!i.pathname || !i.pathname.includes("#"), JI("#", "pathname", "hash", i)), PI(!i.search || !i.search.includes("#"), JI("#", "search", "hash", i)));
+ typeof e == "string" ? i = qI(e) : (i = { ...e }, HI(!i.pathname || !i.pathname.includes("?"), nL("?", "pathname", "search", i)), HI(!i.pathname || !i.pathname.includes("#"), nL("#", "pathname", "hash", i)), HI(!i.search || !i.search.includes("#"), nL("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
if (o == null) s = n;
else {
@@ -46288,16 +46544,16 @@ function GSe(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = HSe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = qSe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
-var YI = (e) => e.replace(/[\\/]{2,}/g, "/"), XI = (e) => YI(e.join("/"));
-function ZI(e, t = 0) {
+var rL = (e) => e.replace(/[\\/]{2,}/g, "/"), iL = (e) => rL(e.join("/"));
+function aL(e, t = 0) {
let n = e.length;
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var KSe = (e) => ZI(e).replace(/^\/*/, "/"), qSe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, JSe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, YSe = class {
+var ZSe = (e) => aL(e).replace(/^\/*/, "/"), QSe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, $Se = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, eCe = class {
status;
statusText;
data;
@@ -46307,26 +46563,26 @@ var KSe = (e) => ZI(e).replace(/^\/*/, "/"), qSe = (e) => !e || e === "?" ? "" :
this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
}
};
-function XSe(e) {
+function tCe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function ZSe(e) {
- return XI(e.map((e) => e.route.path).filter(Boolean)) || "/";
+function nCe(e) {
+ return iL(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
-var QI = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function QSe(e, t) {
+var oL = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
+function rCe(e, t) {
let n = e;
- if (typeof n != "string" || !bSe.test(n)) return {
+ if (typeof n != "string" || !TSe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
- if (QI) try {
- let e = new URL(window.location.href), r = jI.test(n) ? new URL(xSe(n, e.protocol)) : new URL(n), a = KI(r.pathname, t);
+ if (oL) try {
+ let e = new URL(window.location.href), r = zI.test(n) ? new URL(ESe(n, e.protocol)) : new URL(n), a = eL(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
- FI(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
+ UI(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
}
return {
absoluteURL: r,
@@ -46336,45 +46592,45 @@ function QSe(e, t) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/navigation.js
-var $I = new URL("http://localhost");
-function eL(e) {
+var sL = new URL("http://localhost");
+function cL(e) {
if (e.createURL) return e.createURL("/");
try {
- return new URL(e.createHref("/"), $I);
+ return new URL(e.createHref("/"), sL);
} catch {
- return $I;
+ return sL;
}
}
-function tL(e, t) {
+function lL(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function $Se(e, t) {
+function iCe(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
}
-function nL(e, t, n, r) {
+function uL(e, t, n, r) {
let i = null;
try {
i = e == null ? null : new URL(e, n);
} catch {}
- let a = new URL(t, n), o = i != null && !tL(i, n), s = !tL(a, n);
+ let a = new URL(t, n), o = i != null && !lL(i, n), s = !lL(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !$Se(e, i) || !tL(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !iCe(e, i) || !lL(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
-var rL = [
+var dL = [
"POST",
"PUT",
"PATCH",
"DELETE"
];
-new Set(rL);
-var eCe = ["GET", ...rL];
-new Set(eCe);
-var tCe = [
+new Set(dL);
+var aCe = ["GET", ...dL];
+new Set(aCe);
+var oCe = [
"about:",
"blob:",
"chrome:",
@@ -46386,85 +46642,85 @@ var tCe = [
"filesystem:",
"javascript:"
];
-function nCe(e) {
+function sCe(e) {
try {
- return tCe.includes(new URL(e).protocol);
+ return oCe.includes(new URL(e).protocol);
} catch {
return !1;
}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/context.js
-var iL = b.createContext(null);
-iL.displayName = "DataRouter";
-var rCe = b.createContext(null);
-rCe.displayName = "DataRouterState";
-var aL = b.createContext(null);
-aL.displayName = "DataRouterData";
-var iCe = b.createContext(null);
-iCe.displayName = "DataRouterNavigation";
-var aCe = b.createContext(!1), oCe = b.createContext({ isTransitioning: !1 });
-oCe.displayName = "ViewTransition";
-var sCe = b.createContext(null);
-sCe.displayName = "Fetchers";
+var fL = b.createContext(null);
+fL.displayName = "DataRouter";
var cCe = b.createContext(null);
-cCe.displayName = "Await";
-var oL = b.createContext(null);
-oL.displayName = "Navigation";
-var sL = b.createContext(null);
-sL.displayName = "Location";
-var cL = b.createContext({
+cCe.displayName = "DataRouterState";
+var pL = b.createContext(null);
+pL.displayName = "DataRouterData";
+var lCe = b.createContext(null);
+lCe.displayName = "DataRouterNavigation";
+var uCe = b.createContext(!1), dCe = b.createContext({ isTransitioning: !1 });
+dCe.displayName = "ViewTransition";
+var fCe = b.createContext(null);
+fCe.displayName = "Fetchers";
+var pCe = b.createContext(null);
+pCe.displayName = "Await";
+var mL = b.createContext(null);
+mL.displayName = "Navigation";
+var hL = b.createContext(null);
+hL.displayName = "Location";
+var gL = b.createContext({
outlet: null,
matches: [],
isDataRoute: !1
});
-cL.displayName = "Route";
-var lL = b.createContext(!1);
-lL.displayName = "IsDataRoute";
-var uL = b.createContext(void 0);
-uL.displayName = "RouteId";
-var dL = b.createContext(null);
-dL.displayName = "RouteError";
+gL.displayName = "Route";
+var _L = b.createContext(!1);
+_L.displayName = "IsDataRoute";
+var vL = b.createContext(void 0);
+vL.displayName = "RouteId";
+var yL = b.createContext(null);
+yL.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var fL = "REACT_ROUTER_ERROR", lCe = "REDIRECT", uCe = "ROUTE_ERROR_RESPONSE";
-function dCe(e) {
- if (e.startsWith(`${fL}:${lCe}:{`)) try {
+var bL = "REACT_ROUTER_ERROR", mCe = "REDIRECT", hCe = "ROUTE_ERROR_RESPONSE";
+function gCe(e) {
+ if (e.startsWith(`${bL}:${mCe}:{`)) try {
let t = JSON.parse(e.slice(28));
if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;
} catch {}
}
-function fCe(e) {
- if (e.startsWith(`${fL}:${uCe}:{`)) try {
+function _Ce(e) {
+ if (e.startsWith(`${bL}:${hCe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new YSe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new eCe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/hooks.js
-function pL() {
- return b.useContext(sL) != null;
+function xL() {
+ return b.useContext(hL) != null;
}
-function mL() {
- return PI(pL(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(sL).location;
+function SL() {
+ return HI(xL(), "useLocation() may be used only in the context of a <Router> component."), b.useContext(hL).location;
}
-var hL = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function pCe() {
- return b.useContext(lL) ? TCe() : mCe();
+var CL = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
+function vCe() {
+ return b.useContext(_L) ? ACe() : yCe();
}
-function mCe() {
- PI(pL(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = b.useContext(iL), { basename: t, navigator: n } = b.useContext(oL), { matches: r } = b.useContext(cL), { pathname: i } = mL(), a = JSON.stringify(WSe(r)), o = b.useRef(!1);
+function yCe() {
+ HI(xL(), "useNavigate() may be used only in the context of a <Router> component.");
+ let e = b.useContext(fL), { basename: t, navigator: n } = b.useContext(mL), { matches: r } = b.useContext(gL), { pathname: i } = SL(), a = JSON.stringify(YSe(r)), o = b.useRef(!1);
return b.useLayoutEffect(() => {
o.current = !0;
}), b.useCallback((r, s = {}) => {
- if (FI(o.current, hL), !o.current) return;
+ if (UI(o.current, CL), !o.current) return;
if (typeof r == "number") {
n.go(r);
return;
}
- let c = GSe(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : XI([t, c.pathname])), nL(typeof r == "string" ? r : RI(r), n.createHref(c), eL(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = XSe(r, JSON.parse(a), i, s.relative === "path");
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : iL([t, c.pathname])), uL(typeof r == "string" ? r : KI(r), n.createHref(c), cL(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -46474,19 +46730,19 @@ function mCe() {
]);
}
b.createContext(null);
-function hCe(e, t) {
- return gL(e, t);
+function bCe(e, t) {
+ return wL(e, t);
}
-function gL(e, t, n) {
- PI(pL(), "useRoutes() may be used only in the context of a <Router> component.");
- let { navigator: r } = b.useContext(oL), { matches: i } = b.useContext(cL), a = i[i.length - 1], o = a ? a.params : {};
+function wL(e, t, n) {
+ HI(xL(), "useRoutes() may be used only in the context of a <Router> component.");
+ let { navigator: r } = b.useContext(mL), { matches: i } = b.useContext(gL), a = i[i.length - 1], o = a ? a.params : {};
a && a.pathname;
let s = a ? a.pathnameBase : "/";
a && a.route;
- let c = mL(), l;
+ let c = SL(), l;
if (t) {
- let e = typeof t == "string" ? zI(t) : t;
- PI(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
+ let e = typeof t == "string" ? qI(t) : t;
+ HI(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
} else l = c;
let u = l.pathname || "/", d = u;
if (s !== "/") {
@@ -46494,13 +46750,13 @@ function gL(e, t, n) {
d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");
}
let f;
- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : ESe(e, { pathname: d });
- let p = xCe(f && f.map((e) => Object.assign({}, e, {
+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : jSe(e, { pathname: d });
+ let p = ECe(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
- pathname: XI([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
- pathnameBase: e.pathnameBase === "/" ? s : XI([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
+ pathname: iL([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
+ pathnameBase: e.pathnameBase === "/" ? s : iL([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
})), i, n);
- return t && p ? /* @__PURE__ */ b.createElement(sL.Provider, { value: {
+ return t && p ? /* @__PURE__ */ b.createElement(hL.Provider, { value: {
location: {
pathname: "/",
search: "",
@@ -46513,14 +46769,14 @@ function gL(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function gCe() {
- let e = wCe(), t = XSe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function xCe() {
+ let e = kCe(), t = tCe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
return /* @__PURE__ */ b.createElement(b.Fragment, null, /* @__PURE__ */ b.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ b.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ b.createElement("pre", { style: {
padding: "0.5rem",
backgroundColor: "rgba(200,200,200, 0.5)"
} }, n) : null, null);
}
-var _Ce = /* @__PURE__ */ b.createElement(gCe, null), vCe = class extends b.Component {
+var SCe = /* @__PURE__ */ b.createElement(xCe, null), CCe = class extends b.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -46528,7 +46784,7 @@ var _Ce = /* @__PURE__ */ b.createElement(gCe, null), vCe = class extends b.Comp
error: e.error
};
}
- static contextType = aCe;
+ static contextType = uCe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -46549,30 +46805,30 @@ var _Ce = /* @__PURE__ */ b.createElement(gCe, null), vCe = class extends b.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = fCe(e.digest);
+ let t = _Ce(e.digest);
t && (e = t);
}
- let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(cL.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(lL.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(uL.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(dL.Provider, {
+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ b.createElement(gL.Provider, { value: this.props.routeContext }, /* @__PURE__ */ b.createElement(_L.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ b.createElement(vL.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ b.createElement(yL.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ b.createElement(yCe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ b.createElement(wCe, { error: e }, t) : t;
}
-}, _L = /* @__PURE__ */ new WeakMap();
-function yCe({ children: e, error: t }) {
- let { basename: n, navigator: r } = b.useContext(oL);
+}, TL = /* @__PURE__ */ new WeakMap();
+function wCe({ children: e, error: t }) {
+ let { basename: n, navigator: r } = b.useContext(mL);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = dCe(t.digest);
+ let e = gCe(t.digest);
if (e) {
- let i = _L.get(t);
+ let i = TL.get(t);
if (i) throw i;
- let a = QSe(e.location, n), o = a.absoluteURL || a.to;
- if (nL(e.location, o, eL(r), "allow-explicit"), nCe(o)) throw Error("Invalid redirect location");
- if (QI && !_L.get(t)) {
+ let a = rCe(e.location, n), o = a.absoluteURL || a.to;
+ if (uL(e.location, o, cL(r), "allow-explicit"), sCe(o)) throw Error("Invalid redirect location");
+ if (oL && !TL.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));
- throw _L.set(t, n), n;
+ throw TL.set(t, n), n;
}
}
return /* @__PURE__ */ b.createElement("meta", {
@@ -46583,11 +46839,11 @@ function yCe({ children: e, error: t }) {
}
return e;
}
-function bCe({ routeContext: e, match: t, children: n }) {
- let r = b.useContext(iL);
- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(cL.Provider, { value: e }, /* @__PURE__ */ b.createElement(lL.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(uL.Provider, { value: t.route.id }, n)));
+function TCe({ routeContext: e, match: t, children: n }) {
+ let r = b.useContext(fL);
+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ b.createElement(gL.Provider, { value: e }, /* @__PURE__ */ b.createElement(_L.Provider, { value: e.isDataRoute }, /* @__PURE__ */ b.createElement(vL.Provider, { value: t.route.id }, n)));
}
-function xCe(e, t = [], n) {
+function ECe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -46598,7 +46854,7 @@ function xCe(e, t = [], n) {
let i = e, a = r?.errors;
if (a != null) {
let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);
- PI(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
+ HI(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
}
let o = !1, s = -1;
if (n && r) {
@@ -46618,16 +46874,16 @@ function xCe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: ZSe(r.matches),
+ pattern: nCe(r.matches),
errorInfo: t
});
} : void 0;
return i.reduceRight((e, n, c) => {
let u, d = !1, f = null, p = null;
- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || _Ce, o && (s < 0 && c === 0 ? (ECe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || SCe, o && (s < 0 && c === 0 ? (jCe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
let m = t.concat(i.slice(0, c + 1)), h = () => {
let t;
- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(bCe, {
+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ b.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ b.createElement(TCe, {
match: n,
routeContext: {
outlet: e,
@@ -46637,7 +46893,7 @@ function xCe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(vCe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ b.createElement(CCe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -46652,44 +46908,44 @@ function xCe(e, t = [], n) {
}) : h();
}, null);
}
-function vL(e) {
+function EL(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function SCe(e) {
- let t = b.useContext(iL);
- return PI(t, vL(e)), t;
+function DCe(e) {
+ let t = b.useContext(fL);
+ return HI(t, EL(e)), t;
}
-function CCe(e) {
- let t = b.useContext(aL);
- return PI(t, vL(e)), t;
+function OCe(e) {
+ let t = b.useContext(pL);
+ return HI(t, EL(e)), t;
}
-function yL(e) {
- let t = b.useContext(uL);
- return PI(t, `${e} can only be used on routes that contain a unique "id"`), t;
+function DL(e) {
+ let t = b.useContext(vL);
+ return HI(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function wCe() {
- let e = b.useContext(dL), t = CCe("useRouteError"), n = yL("useRouteError");
+function kCe() {
+ let e = b.useContext(yL), t = OCe("useRouteError"), n = DL("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function TCe() {
- let { router: e } = SCe("useNavigate"), t = yL("useNavigate"), n = b.useRef(!1);
+function ACe() {
+ let { router: e } = DCe("useNavigate"), t = DL("useNavigate"), n = b.useRef(!1);
return b.useLayoutEffect(() => {
n.current = !0;
}), b.useCallback(async (r, i = {}) => {
- FI(n.current, hL), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
+ UI(n.current, CL), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
fromRouteId: t,
...i
}));
}, [e, t]);
}
-var bL = {};
-function ECe(e, t, n) {
- !t && !bL[e] && (bL[e] = !0, FI(!1, n));
+var OL = {};
+function jCe(e, t, n) {
+ !t && !OL[e] && (OL[e] = !0, UI(!1, n));
}
-b.memo(DCe);
-function DCe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
- let a = b.useContext(iL);
- return PI(a, "You must render this element inside a <DataRouterContext.Provider> element"), gL(e, void 0, {
+b.memo(MCe);
+function MCe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+ let a = b.useContext(fL);
+ return HI(a, "You must render this element inside a <DataRouterContext.Provider> element"), wL(e, void 0, {
router: a.router,
manifest: t,
state: n,
@@ -46697,11 +46953,11 @@ function DCe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
onError: i
});
}
-function xL(e) {
- PI(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
+function kL(e) {
+ HI(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
}
-function OCe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
- PI(!pL(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
+function NCe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+ HI(!xL(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = b.useMemo(() => ({
basename: s,
navigator: i,
@@ -46714,9 +46970,9 @@ function OCe({ basename: e = "/", children: t = null, location: n, navigationTyp
a,
o
]);
- typeof n == "string" && (n = zI(n));
+ typeof n == "string" && (n = qI(n));
let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = b.useMemo(() => {
- let e = KI(l, s);
+ let e = eL(l, s);
return e == null ? null : {
location: {
pathname: e,
@@ -46738,27 +46994,27 @@ function OCe({ basename: e = "/", children: t = null, location: n, navigationTyp
r,
m
]);
- return FI(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(oL.Provider, { value: c }, /* @__PURE__ */ b.createElement(sL.Provider, {
+ return UI(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ b.createElement(mL.Provider, { value: c }, /* @__PURE__ */ b.createElement(hL.Provider, {
children: t,
value: h
}));
}
-function SL({ children: e, location: t }) {
- return hCe(CL(e), t);
+function AL({ children: e, location: t }) {
+ return bCe(jL(e), t);
}
b.Component;
-function CL(e, t = []) {
+function jL(e, t = []) {
let n = [];
return b.Children.forEach(e, (e, r) => {
if (!b.isValidElement(e)) return;
let i = [...t, r];
if (e.type === b.Fragment) {
- n.push.apply(n, CL(e.props.children, i));
+ n.push.apply(n, jL(e.props.children, i));
return;
}
- PI(e.type === xL, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
+ HI(e.type === kL, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
let a = e.props;
- PI(!a.index || !a.children, "An index route cannot have child routes.");
+ HI(!a.index || !a.children, "An index route cannot have child routes.");
let o = {
id: a.id || i.join("-"),
caseSensitive: a.caseSensitive,
@@ -46777,12 +47033,12 @@ function CL(e, t = []) {
handle: a.handle,
lazy: a.lazy
};
- a.children && (o.children = CL(a.children, i)), n.push(o);
+ a.children && (o.children = jL(a.children, i)), n.push(o);
}), n;
}
//#endregion
//#region src/history/overlay.ts
-var wL = [
+var ML = [
"/item/:id",
"/mix/:seed/:item",
"/parts/:seed/:item",
@@ -46790,15 +47046,15 @@ var wL = [
"/playlists/:playlist/:item",
"/follow/item/:id",
"/jav/movie/:code"
-], kCe = {
+], PCe = {
"/mix/:seed/:item": "mix",
"/parts/:seed/:item": "parts",
"/editions/:seed/:item": "editions",
"/playlists/:playlist/:item": "playlist"
};
-function TL(e) {
- for (let t of wL) {
- let n = UI(t, e);
+function NL(e) {
+ for (let t of ML) {
+ let n = ZI(t, e);
if (!n) continue;
if (t === "/jav/movie/:code") {
let e = n.params.code || "";
@@ -46823,7 +47079,7 @@ function TL(e) {
path: t,
target: {
kind: "queue",
- queue: kCe[t],
+ queue: PCe[t],
key: i,
item: a
}
@@ -46831,42 +47087,42 @@ function TL(e) {
}
return null;
}
-var EL = (e) => TL(e)?.target ?? null, DL = (e) => wL.some((t) => UI(t, e) !== null);
-function OL(e) {
+var PL = (e) => NL(e)?.target ?? null, FL = (e) => ML.some((t) => ZI(t, e) !== null);
+function IL(e) {
let t = e?.backgroundLocation;
return typeof t?.pathname == "string" ? {
pathname: t.pathname,
search: typeof t.search == "string" ? t.search : ""
} : null;
}
-var kL = null, AL = null;
-function jL() {
+var LL = null, RL = null;
+function zL() {
let { pathname: e, search: t } = window.location;
- DL(e) || (kL = {
+ FL(e) || (LL = {
pathname: e,
search: t
});
}
-function ML() {
- kL = null, AL = null;
+function BL() {
+ LL = null, RL = null;
}
-function ACe(e) {
- let t = OL(e);
- t && (kL = t, AL = t.pathname + t.search);
+function FCe(e) {
+ let t = IL(e);
+ t && (LL = t, RL = t.pathname + t.search);
}
-function NL() {
- let e = AL;
- return AL = null, e;
+function VL() {
+ let e = RL;
+ return RL = null, e;
}
-function PL(e) {
- return kL ? {
- backgroundLocation: { ...kL },
+function HL(e) {
+ return LL ? {
+ backgroundLocation: { ...LL },
overlay: e
} : void 0;
}
//#endregion
//#region src/history/route-meta.ts
-var FL = {
+var UL = {
"/jav": {
nav: "jav",
title: "JAV",
@@ -47000,179 +47256,179 @@ var FL = {
title: "沉浸模式"
}
};
-function IL(e) {
- if (Object.hasOwn(FL, e)) return FL[e];
- let t = TL(e);
- if (t) return FL[t.path];
+function WL(e) {
+ if (Object.hasOwn(UL, e)) return UL[e];
+ let t = NL(e);
+ if (t) return UL[t.path];
let [n, ...r] = e.split("/").filter(Boolean);
if (!n) return null;
- if (!r.length) return Object.hasOwn(FL, `/${n}`) ? FL[`/${n}`] : null;
+ if (!r.length) return Object.hasOwn(UL, `/${n}`) ? UL[`/${n}`] : null;
let i = `/${n}/*`;
- return Object.hasOwn(FL, i) ? {
- ...FL[i],
+ return Object.hasOwn(UL, i) ? {
+ ...UL[i],
title: r.join("/")
} : null;
}
//#endregion
//#region src/history/managed.ts
-var LL = () => {}, RL = new Promise((e) => {
- LL = e;
+var GL = () => {}, KL = new Promise((e) => {
+ GL = e;
});
-RL.catch(() => {});
-var zL = null, BL = /* @__PURE__ */ new Map(), VL = /* @__PURE__ */ new Map(), HL = 0, UL = /* @__PURE__ */ new Set();
-function jCe(e) {
- LL(e);
+KL.catch(() => {});
+var qL = null, JL = /* @__PURE__ */ new Map(), YL = /* @__PURE__ */ new Map(), XL = 0, ZL = /* @__PURE__ */ new Set();
+function ICe(e) {
+ GL(e);
}
-function WL(e) {
- return BL.get(e) ?? null;
+function QL(e) {
+ return JL.get(e) ?? null;
}
-function GL(e) {
- return !!e && (BL.has(e) || VL.has(e));
+function $L(e) {
+ return !!e && (JL.has(e) || YL.has(e));
}
-var KL = () => [...BL.values()];
-function MCe(e) {
- return UL.add(e), () => {
- UL.delete(e);
+var eR = () => [...JL.values()];
+function LCe(e) {
+ return ZL.add(e), () => {
+ ZL.delete(e);
};
}
-function qL(e) {
- let t = KL();
- for (let n of [...UL]) n(t, e);
+function tR(e) {
+ let t = eR();
+ for (let n of [...ZL]) n(t, e);
}
-async function JL(e, t, n) {
+async function nR(e, t, n) {
let { container: r } = n;
- if (XL(r), !n.isCurrent()) return !1;
- HL += 1;
+ if (iR(r), !n.isCurrent()) return !1;
+ XL += 1;
let i = {
- revision: HL,
+ revision: XL,
controller: new AbortController()
};
- VL.set(r, i);
- let a = zL;
- zL = null, a?.();
- let o = await RL;
- if (VL.get(r) !== i) return !1;
+ YL.set(r, i);
+ let a = qL;
+ qL = null, a?.();
+ let o = await KL;
+ if (YL.get(r) !== i) return !1;
try {
await o(e, t, i.controller.signal);
} catch {
if (i.controller.signal.aborted) return !1;
}
- if (VL.get(r) !== i || (VL.delete(r), !n.isCurrent())) return !1;
- let s = n.place ? n.place(r) : NCe(r);
- return BL.set(r, {
+ if (YL.get(r) !== i || (YL.delete(r), !n.isCurrent())) return !1;
+ let s = n.place ? n.place(r) : RCe(r);
+ return JL.set(r, {
path: e,
props: t,
revision: i.revision,
container: r,
host: s,
resident: !!n.resident
- }), qL(!0), !0;
+ }), tR(!0), !0;
}
-function NCe(e) {
+function RCe(e) {
let t = e.ownerDocument.createElement("div");
return t.className = "peach-react", e.textContent = "", e.append(t), t;
}
-function YL(e, t) {
- let n = e ? BL.get(e) : void 0;
- n && (BL.set(n.container, {
+function rR(e, t) {
+ let n = e ? JL.get(e) : void 0;
+ n && (JL.set(n.container, {
...n,
props: {
...n.props,
...t
}
- }), qL(!1));
+ }), tR(!1));
}
-function XL(e, ...t) {
+function iR(e, ...t) {
let n = [];
for (let r of /* @__PURE__ */ new Set([e, ...t])) {
- let e = VL.get(r);
- e && (e.controller.abort(), VL.delete(r));
- let t = BL.get(r);
- t && (BL.delete(r), n.push(t));
+ let e = YL.get(r);
+ e && (e.controller.abort(), YL.delete(r));
+ let t = JL.get(r);
+ t && (JL.delete(r), n.push(t));
}
if (n.length) {
- qL(!0);
+ tR(!0);
for (let e of n) e.resident || e.host.remove();
}
}
-function PCe() {
- let [e, ...t] = /* @__PURE__ */ new Set([...BL.keys(), ...VL.keys()]);
- e && XL(e, ...t);
+function zCe() {
+ let [e, ...t] = /* @__PURE__ */ new Set([...JL.keys(), ...YL.keys()]);
+ e && iR(e, ...t);
}
-function FCe(e, t) {
- let n = BL.get(e);
- n?.revision === t && (BL.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
- qL(!1);
+function BCe(e, t) {
+ let n = JL.get(e);
+ n?.revision === t && (JL.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
+ tR(!1);
}));
}
//#endregion
//#region src/history/index.ts
-var ZL = SSe({ v5Compat: !0 }), QL = 0, $L = 0, eR = {
- action: ZL.action,
- location: ZL.location,
- seq: QL,
- openEpoch: $L,
+var aR = DSe({ v5Compat: !0 }), oR = 0, sR = 0, cR = {
+ action: aR.action,
+ location: aR.location,
+ seq: oR,
+ openEpoch: sR,
claimed: !0
-}, tR = /* @__PURE__ */ new Set(), nR = !1, rR = !0;
-ZL.listen(({ action: e, location: t }) => {
- QL += 1, nR || ($L += 1), e !== "REPLACE" && (rR = !1), eR = {
+}, lR = /* @__PURE__ */ new Set(), uR = !1, dR = !0;
+aR.listen(({ action: e, location: t }) => {
+ oR += 1, uR || (sR += 1), e !== "REPLACE" && (dR = !1), cR = {
action: e,
location: t,
- seq: QL,
- openEpoch: $L,
- claimed: nR
+ seq: oR,
+ openEpoch: sR,
+ claimed: uR
};
- for (let e of [...tR]) e(eR);
+ for (let e of [...lR]) e(cR);
});
-var iR = {
+var fR = {
get navigation() {
- return eR;
+ return cR;
},
listen(e) {
- return tR.add(e), () => {
- tR.delete(e);
+ return lR.add(e), () => {
+ lR.delete(e);
};
},
- createHref: (e) => ZL.createHref(e),
- createURL: (e) => ZL.createURL(e),
- encodeLocation: (e) => ZL.encodeLocation(e),
- go: (e) => ZL.go(e),
- push: (e, t) => ZL.push(e, t),
- replace: (e, t) => ZL.replace(e, t)
+ createHref: (e) => aR.createHref(e),
+ createURL: (e) => aR.createURL(e),
+ encodeLocation: (e) => aR.encodeLocation(e),
+ go: (e) => aR.go(e),
+ push: (e, t) => aR.push(e, t),
+ replace: (e, t) => aR.replace(e, t)
};
-function aR(e, { replace: t = !1, state: n } = {}) {
+function pR(e, { replace: t = !1, state: n } = {}) {
let r = new URL(e, window.location.href), i = `${r.pathname}${r.search}${r.hash}`;
- nR = !0;
+ uR = !0;
try {
- t ? ZL.replace(i, n) : ZL.push(i, n);
+ t ? aR.replace(i, n) : aR.push(i, n);
} finally {
- nR = !1;
+ uR = !1;
}
}
-var oR = () => rR;
-function sR() {
- return rR ? null : OL(eR.location.state);
+var mR = () => dR;
+function hR() {
+ return dR ? null : IL(cR.location.state);
}
-function ICe(e) {
- let t = PL(e);
- t && DL(window.location.pathname) && aR(window.location.href, {
+function VCe(e) {
+ let t = HL(e);
+ t && FL(window.location.pathname) && pR(window.location.href, {
replace: !0,
state: t
});
}
//#endregion
//#region src/react/providers.tsx
-var cR = null;
-function LCe() {
- return cR?.isConnected || (cR = document.createElement("div"), cR.className = "peach-react", cR.dataset.reactOverlays = "", document.body.append(cR)), cR;
+var gR = null;
+function HCe() {
+ return gR?.isConnected || (gR = document.createElement("div"), gR.className = "peach-react", gR.dataset.reactOverlays = "", document.body.append(gR)), gR;
}
-function RCe({ children: e }) {
+function UCe({ children: e }) {
return /* @__PURE__ */ (0, x.jsx)(w, {
client: H,
children: /* @__PURE__ */ (0, x.jsx)(Kte, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, x.jsx)(Lx, {
- getContainer: LCe,
+ getContainer: HCe,
children: e
})
})
@@ -47180,9 +47436,9 @@ function RCe({ children: e }) {
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var lR = () => Tc, zCe = () => Ec;
-function BCe() {
- let e = (0, b.useContext)(pR), t = (0, b.useSyncExternalStore)(Ic, zCe), n = (0, b.useSyncExternalStore)(Ic, lR);
+var _R = () => Tc, WCe = () => Ec;
+function GCe() {
+ let e = (0, b.useContext)(xR), t = (0, b.useSyncExternalStore)(Ic, WCe), n = (0, b.useSyncExternalStore)(Ic, _R);
return (0, b.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -47197,11 +47453,11 @@ function BCe() {
e
]), null;
}
-function uR(e, t = !1) {
- let n = (0, b.useSyncExternalStore)(Ic, lR), r = (0, b.useRef)(void 0);
+function vR(e, t = !1) {
+ let n = (0, b.useSyncExternalStore)(Ic, _R), r = (0, b.useRef)(void 0);
if (r.current === void 0) {
- let { claimed: e } = iR.navigation;
- r.current = Tc === 0 || oR() ? "boot" : e && !t ? null : "history";
+ let { claimed: e } = fR.navigation;
+ r.current = Tc === 0 || mR() ? "boot" : e && !t ? null : "history";
}
let i = (0, b.useRef)(e);
(0, b.useEffect)(() => {
@@ -47217,158 +47473,158 @@ function uR(e, t = !1) {
}));
}, [n]);
}
-function VCe() {
- let e = (0, b.useContext)(pR), t = (0, b.useRef)(e);
+function KCe() {
+ let e = (0, b.useContext)(xR), t = (0, b.useRef)(e);
return (0, b.useLayoutEffect)(() => {
t.current = e;
- }, [e]), uR((t) => {
- let n = EL(iR.navigation.location.pathname);
- e && n && (ML(), t || ACe(iR.navigation.location.state), e.openOverlay(n));
+ }, [e]), vR((t) => {
+ let n = PL(fR.navigation.location.pathname);
+ e && n && (BL(), t || FCe(fR.navigation.location.state), e.openOverlay(n));
}, !0), (0, b.useEffect)(() => () => {
queueMicrotask(() => {
- DL(iR.navigation.location.pathname) || t.current?.closeStage();
+ FL(fR.navigation.location.pathname) || t.current?.closeStage();
});
}, []), null;
}
-function HCe({ path: e }) {
- return fR(), /* @__PURE__ */ (0, x.jsx)(VCe, {}, `${e} ${iR.navigation.seq}`);
+function qCe({ path: e }) {
+ return bR(), /* @__PURE__ */ (0, x.jsx)(KCe, {}, `${e} ${fR.navigation.seq}`);
}
-function UCe() {
- let e = (0, b.useContext)(pR);
- return uR(() => {
+function JCe() {
+ let e = (0, b.useContext)(xR);
+ return vR(() => {
e?.follow?.ground();
}), null;
}
-function WCe() {
- return /* @__PURE__ */ (0, x.jsx)(UCe, {}, fR());
+function YCe() {
+ return /* @__PURE__ */ (0, x.jsx)(JCe, {}, bR());
}
//#endregion
//#region src/react/router/router.tsx
-var dR = (0, b.createContext)(0), fR = () => (0, b.useContext)(dR), pR = (0, b.createContext)(null);
-function GCe({ children: e }) {
- let [t, n] = (0, b.useState)(() => iR.navigation);
- return (0, b.useLayoutEffect)(() => (n(iR.navigation), iR.listen((e) => {
+var yR = (0, b.createContext)(0), bR = () => (0, b.useContext)(yR), xR = (0, b.createContext)(null);
+function XCe({ children: e }) {
+ let [t, n] = (0, b.useState)(() => fR.navigation);
+ return (0, b.useLayoutEffect)(() => (n(fR.navigation), fR.listen((e) => {
(0, mt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, x.jsx)(dR.Provider, {
+ })), []), /* @__PURE__ */ (0, x.jsx)(yR.Provider, {
value: t.openEpoch,
- children: /* @__PURE__ */ (0, x.jsx)(OCe, {
+ children: /* @__PURE__ */ (0, x.jsx)(NCe, {
location: t.location,
navigationType: t.action,
- navigator: iR,
+ navigator: fR,
children: e
})
});
}
-function KCe({ target: e }) {
- let t = pCe();
+function ZCe({ target: e }) {
+ let t = vCe();
return (0, b.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function qCe(e, t, n) {
+function QCe(e, t, n) {
let r = new URL(e, window.location.href);
- h5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ _5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function JCe() {
- let e = (0, b.useContext)(pR), [t, n] = (0, b.useState)(KL), r = (0, b.useRef)(null);
- (0, b.useLayoutEffect)(() => (n(KL()), MCe((e, t) => {
+function $Ce() {
+ let e = (0, b.useContext)(xR), [t, n] = (0, b.useState)(eR), r = (0, b.useRef)(null);
+ (0, b.useLayoutEffect)(() => (n(eR()), LCe((e, t) => {
t ? (0, mt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, b.useMemo)(() => (t) => {
- e && r.current && qCe(t, e, r.current);
+ e && r.current && QCe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(KCe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(YCe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(ZCe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, x.jsx)(ewe, {
entry: t,
- children: /* @__PURE__ */ (0, x.jsx)(XCe, {
+ children: /* @__PURE__ */ (0, x.jsx)(twe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var YCe = class extends b.Component {
+var ewe = class extends b.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
}
componentDidCatch() {
- FCe(this.props.entry.container, this.props.entry.revision);
+ BCe(this.props.entry.container, this.props.entry.revision);
}
render() {
return this.state.failed ? null : this.props.children;
}
-}, XCe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
- return Xnt(e.path) ? (0, mt.createPortal)($nt(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, twe = (0, b.memo)(function({ entry: e, actions: t, go: n }) {
+ return brt(e.path) ? (0, mt.createPortal)(Crt(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function ZCe({ children: e }) {
- let t = mL();
- fR();
- let n = sR();
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(SL, {
+function nwe({ children: e }) {
+ let t = SL();
+ bR();
+ let n = hR();
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)(AL, {
location: n ?? t,
children: [
- Object.entries(m5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(xL, {
+ Object.entries(g5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- Object.entries(Bnt).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(xL, {
+ Object.entries(urt).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- Object.entries(g5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(xL, {
+ Object.entries(v5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- Object.entries(v5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(xL, {
+ Object.entries(b5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- Object.entries(b5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(xL, {
+ Object.entries(S5).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- Ynt.map((e) => /* @__PURE__ */ (0, x.jsx)(xL, {
+ yrt.map((e) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
- element: x5["/"].element
+ element: C5["/"].element
}, e)),
- Object.entries(Vnt).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(xL, {
+ Object.entries(drt).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
element: t.element
}, e)),
- wL.map((e) => /* @__PURE__ */ (0, x.jsx)(xL, {
+ ML.map((e) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
- element: e === "/jav/movie/:code" ? null : e === "/follow/item/:id" ? /* @__PURE__ */ (0, x.jsx)(WCe, {}) : x5["/"].element
+ element: e === "/jav/movie/:code" ? null : e === "/follow/item/:id" ? /* @__PURE__ */ (0, x.jsx)(YCe, {}) : C5["/"].element
}, e)),
- /* @__PURE__ */ (0, x.jsx)(xL, {
+ /* @__PURE__ */ (0, x.jsx)(kL, {
path: "*",
element: e
})
]
- }), /* @__PURE__ */ (0, x.jsxs)(SL, { children: [wL.map((e) => /* @__PURE__ */ (0, x.jsx)(xL, {
+ }), /* @__PURE__ */ (0, x.jsxs)(AL, { children: [ML.map((e) => /* @__PURE__ */ (0, x.jsx)(kL, {
path: e,
- element: /* @__PURE__ */ (0, x.jsx)(HCe, { path: e })
- }, e)), /* @__PURE__ */ (0, x.jsx)(xL, {
+ element: /* @__PURE__ */ (0, x.jsx)(qCe, { path: e })
+ }, e)), /* @__PURE__ */ (0, x.jsx)(kL, {
path: "*",
element: null
})] })] });
}
-function QCe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, x.jsx)(RCe, { children: /* @__PURE__ */ (0, x.jsx)(pR.Provider, {
+function rwe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, x.jsx)(UCe, { children: /* @__PURE__ */ (0, x.jsx)(xR.Provider, {
value: t,
- children: /* @__PURE__ */ (0, x.jsxs)(GCe, { children: [
- /* @__PURE__ */ (0, x.jsx)(JCe, {}),
- /* @__PURE__ */ (0, x.jsx)(BCe, {}),
- /* @__PURE__ */ (0, x.jsx)(ZCe, { children: e })
+ children: /* @__PURE__ */ (0, x.jsxs)(XCe, { children: [
+ /* @__PURE__ */ (0, x.jsx)($Ce, {}),
+ /* @__PURE__ */ (0, x.jsx)(GCe, {}),
+ /* @__PURE__ */ (0, x.jsx)(nwe, { children: e })
] })
}) });
}
-var $Ce = { onCaughtError: (e) => {
+var iwe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function mR({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, b.useContext)(pR), o = (0, b.useRef)(null), s = e?.items.length ? e.html : "";
+function SR({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, b.useContext)(xR), o = (0, b.useRef)(null), s = e?.items.length ? e.html : "";
(0, b.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !s, e && i?.(!!s);
}, [
@@ -47404,12 +47660,12 @@ function mR({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var ewe = {
+var awe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function hR({ name: e }) {
- let t = ewe[e];
+function CR({ name: e }) {
+ let t = awe[e];
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -47419,20 +47675,20 @@ function hR({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function gR(e, t) {
+function wR(e, t) {
t.style.removeProperty("max-height");
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);
r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;
}
-var _R = (e) => !!e?.isConnected && e.matches(":popover-open");
-function vR(e, t, n, r) {
+var TR = (e) => !!e?.isConnected && e.matches(":popover-open");
+function ER(e, t, n, r) {
let i = (0, b.useRef)(r);
i.current = r, (0, b.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && _R(n.current) ? gR(t.current, n.current) : i.current();
+ t.current && TR(n.current) ? wR(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -47446,17 +47702,17 @@ function vR(e, t, n, r) {
n
]);
}
-function yR({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function DR({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(!1), u = (0, b.useRef)(!1), d = (0, b.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, _R(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, TR(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !_R(s.current) && (s.current.showPopover(), gR(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !TR(s.current) && (s.current.showPopover(), wR(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return vR(c, o, s, f), (0, b.useEffect)(() => {
+ return ER(c, o, s, f), (0, b.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -47482,7 +47738,7 @@ function yR({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && _R(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && TR(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -47500,16 +47756,16 @@ function yR({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function twe({ following: e, busy: t, onToggle: n, tip: r }) {
+function owe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), [s, c] = (0, b.useState)(!1), l = (0, b.useRef)(!1), u = () => {
- _R(o.current) && o.current.hidePopover(), c(!1);
+ TR(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !_R(o.current) && (o.current.showPopover(), gR(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !TR(o.current) && (o.current.showPopover(), wR(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return vR(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
- i.current && _R(o.current) && gR(i.current, o.current);
+ return ER(s, i, o, () => c(!1)), (0, b.useEffect)(() => {
+ i.current && TR(o.current) && wR(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, x.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -47518,7 +47774,7 @@ function twe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, x.jsx)(hR, { name: "rss" }),
+ /* @__PURE__ */ (0, x.jsx)(CR, { name: "rss" }),
/* @__PURE__ */ (0, x.jsx)("input", {
ref: a,
type: "checkbox",
@@ -47553,25 +47809,25 @@ function twe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function nwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function swe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, x.jsxs)(bhe, {
+ }, []), /* @__PURE__ */ (0, x.jsxs)(xhe, {
isOpen: i,
onOpenChange: a,
children: [/* @__PURE__ */ (0, x.jsx)(Jpe, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, x.jsx)(hR, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, x.jsx)(jA, {
+ children: /* @__PURE__ */ (0, x.jsx)(CR, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, x.jsx)(MA, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: aP,
+ className: bP,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, x.jsxs)(She, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Che, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
@@ -47587,7 +47843,7 @@ function nwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}, e))
}),
/* @__PURE__ */ (0, x.jsx)(Yme, { "data-namepick-rule": "" }),
@@ -47596,18 +47852,18 @@ function nwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "plus" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var rwe = (e) => e === "studio" || e === "agency", bR = (e) => e === "performer" || e === "creator", iwe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function awe(e) {
+var cwe = (e) => e === "studio" || e === "agency", OR = (e) => e === "performer" || e === "creator", lwe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function uwe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function xR(e) {
+function kR(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -47618,13 +47874,13 @@ function xR(e) {
linked: !1
} : null;
}
-function SR(e, t) {
+function AR(e, t) {
let n = zt(e, "performer"), r = It(t);
return r && [e.label, n].map(It).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var CR = (e) => ({ site: Mt(e) });
-function owe(e, t) {
- let n = xR(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var jR = (e) => ({ site: Mt(e) });
+function dwe(e, t) {
+ let n = kR(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -47634,7 +47890,7 @@ function owe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${SR(e, n)} · ${t}`
+ title: `${AR(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -47642,11 +47898,11 @@ function owe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (bR(t) && e.link_kind !== "social") return {
+ if (OR(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: SR(e, n),
- mark: CR(e)
+ title: AR(e, n),
+ mark: jR(e)
};
if (e.link_kind === "social") {
let t = Ft(r);
@@ -47654,7 +47910,7 @@ function owe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : CR(e)
+ mark: t ? { brand: t } : jR(e)
};
}
return {
@@ -47662,12 +47918,12 @@ function owe(e, t) {
url: r,
title: e.label || "",
text: zt(e, t, i),
- mark: CR(e)
+ mark: jR(e)
};
});
- return [...r, ...swe(a)];
+ return [...r, ...fwe(a)];
}
-function swe(e) {
+function fwe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -47675,8 +47931,8 @@ function swe(e) {
sources: t.map((e) => e.label)
}];
}
-var wR = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function cwe(e) {
+var MR = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function pwe(e) {
return [
[
"legal_name",
@@ -47732,7 +47988,7 @@ function cwe(e) {
}]
}] : []);
}
-function lwe(e) {
+function mwe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -47789,14 +48045,14 @@ function lwe(e) {
tags: e.tags
}), t;
}
-function TR(e, t = 4) {
+function NR(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function uwe(e) {
+function hwe(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -47807,7 +48063,7 @@ function uwe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function dwe(e) {
+function gwe(e) {
return na({
id: e.id,
hasImage: e.has_image,
@@ -47818,8 +48074,8 @@ function dwe(e) {
standIn: e.avatar_stand_in
});
}
-function fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = bR(e), c = rwe(e), l = s ? lwe(n.profile) : c ? cwe(n.company_profile) : [], u = owe(n, e), d = wR(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);
+function _we({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = OR(e), c = cwe(e), l = s ? mwe(n.profile) : c ? pwe(n.company_profile) : [], u = dwe(n, e), d = MR(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, b.useRef)(null), m = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, b.useEffect)(() => {
@@ -47832,7 +48088,7 @@ function fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, x.jsx)(pwe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(vwe, {
kind: e,
name: t,
helpers: o,
@@ -47840,7 +48096,7 @@ function fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, x.jsx)(hSe, {
+ children: /* @__PURE__ */ (0, x.jsx)(bSe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -47853,18 +48109,27 @@ function fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, x.jsx)(nwe, {
+ children: [/* @__PURE__ */ (0, x.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, x.jsx)(swe, {
current: n.canonical_name,
- choices: awe(n),
+ choices: uwe(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
})]
}),
- /* @__PURE__ */ (0, x.jsx)(mwe, {
+ /* @__PURE__ */ (0, x.jsx)(ywe, {
kind: e,
entity: n,
actions: a
}),
+ n.id ? /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex flex-wrap gap-2",
+ children: [/* @__PURE__ */ (0, x.jsx)(Wj, { item: {
+ entity_id: Number(n.id),
+ kind: e,
+ name: n.canonical_name || t,
+ favorite: n.favorite
+ } }), /* @__PURE__ */ (0, x.jsx)(Gj, { kind: e })]
+ }) : null,
n.related_identities?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-w-0 flex-wrap gap-2 text-caption-1-regular text-text-secondary",
children: n.related_identities.map((e) => {
@@ -47881,14 +48146,14 @@ function fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, x.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(bwe, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, x.jsx)(Twe, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(xwe, {
+ d.length || n.feed ? /* @__PURE__ */ (0, x.jsx)(Ewe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(_we, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, x.jsx)(Swe, {
follow: n.follow,
entity: n,
actions: a
@@ -47897,11 +48162,11 @@ function fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, x.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(vwe, {
+ children: l.map((e) => /* @__PURE__ */ (0, x.jsx)(Cwe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, x.jsx)(ywe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, x.jsx)(wwe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -47920,7 +48185,7 @@ function fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${R(qt(e.k))}</span>${dwe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${R(qt(e.k))}</span>${gwe(e)}` }
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -47928,14 +48193,14 @@ function fwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(mR, {
+ }), i ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(SR, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function pwe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function vwe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, b.useState)(() => `${n.portraitImg()}<span>${R(qt(t))}</span>`);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -47944,8 +48209,8 @@ function pwe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function mwe({ kind: e, entity: t, actions: n }) {
- let r = xR(t), i = (e, t) => (r) => {
+function ywe({ kind: e, entity: t, actions: n }) {
+ let r = kR(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, x.jsx)("a", {
href: Dt("agency", r.name),
@@ -47954,41 +48219,41 @@ function mwe({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = uwe(t.name_groups);
+ let e = hwe(t.name_groups);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, x.jsx)(ER, { entity: t }),
+ /* @__PURE__ */ (0, x.jsx)(PR, { entity: t }),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "film" }), /* @__PURE__ */ (0, x.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(gwe, {
+ t.follow?.key ? /* @__PURE__ */ (0, x.jsx)(xwe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, x.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, x.jsx)(hR, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(CR, { name: "id-card" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(yR, {
+ e.rest > 0 ? /* @__PURE__ */ (0, x.jsx)(DR, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest.toLocaleString()} 个别名`,
heading: `${e.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(DR, {
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, x.jsx)(FR, {
label: e.label,
names: e.names
}, t)) })
@@ -48010,64 +48275,64 @@ function mwe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, x.jsx)(ER, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, x.jsx)(PR, { entity: t }) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "film" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "briefcase" }), /* @__PURE__ */ (0, x.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "clapperboard" }), /* @__PURE__ */ (0, x.jsx)("a", {
href: Dt("studio", l.name),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, x.jsx)(hwe, {
+ s.length ? /* @__PURE__ */ (0, x.jsx)(bwe, {
aliases: s,
wide: e === "studio" || e === "agency"
}) : null
]
});
}
-function hwe({ aliases: e, wide: t }) {
- let { shown: n, rest: r } = TR(e, 3);
+function bwe({ aliases: e, wide: t }) {
+ let { shown: n, rest: r } = NR(e, 3);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": t ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(hR, { name: "id-card" }),
+ /* @__PURE__ */ (0, x.jsx)(CR, { name: "id-card" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: n.map((e, t) => /* @__PURE__ */ (0, x.jsx)("span", { children: e }, t))
}),
- r ? /* @__PURE__ */ (0, x.jsx)(yR, {
+ r ? /* @__PURE__ */ (0, x.jsx)(DR, {
id: "entityAliasPop",
hook: "alias",
rest: r,
label: `另外 ${r.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(DR, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, x.jsx)("dl", { children: /* @__PURE__ */ (0, x.jsx)(FR, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function gwe({ follow: e, actions: t }) {
+function xwe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "rss" }), /* @__PURE__ */ (0, x.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -48076,7 +48341,7 @@ function gwe({ follow: e, actions: t }) {
})]
});
}
-function _we({ follow: e, entity: t, actions: n }) {
+function Swe({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, b.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -48110,14 +48375,14 @@ function _we({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function ER({ entity: e }) {
+function PR({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: "user-round" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function DR({ label: e, names: t }) {
+function FR({ label: e, names: t }) {
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, x.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -48126,20 +48391,20 @@ function DR({ label: e, names: t }) {
}, t))
})] });
}
-function vwe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(hR, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {
+function Cwe({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("dt", { children: [/* @__PURE__ */ (0, x.jsx)(CR, { name: e }), t] }), /* @__PURE__ */ (0, x.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function ywe({ tags: e }) {
- let { shown: t, rest: n } = TR(e);
+function wwe({ tags: e }) {
+ let { shown: t, rest: n } = NR(e);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, x.jsx)(yR, {
+ }, e)), n ? /* @__PURE__ */ (0, x.jsx)(DR, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -48155,10 +48420,10 @@ function ywe({ tags: e }) {
})
}) : null] });
}
-function OR({ mark: e }) {
+function IR({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, x.jsx)(hR, { name: e.brand })
+ children: /* @__PURE__ */ (0, x.jsx)(CR, { name: e.brand })
});
let t = L("globe") + ("site" in e ? `<img src="${R(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, x.jsx)("span", {
@@ -48166,7 +48431,7 @@ function OR({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function bwe({ link: e }) {
+function Twe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, x.jsx)("a", {
"data-link": "icon",
@@ -48175,19 +48440,19 @@ function bwe({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, x.jsx)(OR, { mark: e.mark })
+ children: /* @__PURE__ */ (0, x.jsx)(IR, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, x.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, x.jsx)(OR, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, x.jsx)(IR, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, x.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, x.jsx)(OR, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(IR, { mark: { globe: !0 } }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -48198,14 +48463,14 @@ function bwe({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, x.jsx)(OR, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(IR, { mark: e.mark }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function xwe({ entity: e, actions: t, helpers: n }) {
+function Ewe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, b.useState)(!!e.feed?.following), [a, o] = (0, b.useState)(!1), s = (0, b.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -48223,34 +48488,34 @@ function xwe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-entry-marks": "",
- children: [wR(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ children: [MR(e).map((e, t) => /* @__PURE__ */ (0, x.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(hR, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(CR, { name: e.mark }) : /* @__PURE__ */ (0, x.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(twe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, x.jsx)(owe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: iwe(r)
+ tip: lwe(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/use-entity-online.ts
-var Swe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function Cwe(e, t, n) {
+var Dwe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function Owe(e, t, n) {
let [r, i] = (0, b.useState)(() => si(e));
r.author !== e && i(si(e));
let [a, o] = (0, b.useState)({
@@ -48329,7 +48594,7 @@ function Cwe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => E({
sort: Wr,
- seed: Swe()
+ seed: Dwe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => E({ status: e }),
@@ -48347,8 +48612,8 @@ function Cwe(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function wwe(e) {
- let { kind: t, name: n } = e, r = dt(bF(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function kwe(e) {
+ let { kind: t, name: n } = e, r = dt(AF(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
} : void 0), { actions: s } = e;
@@ -48366,17 +48631,17 @@ function wwe(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(dM, {
+ ]), r.isError ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: z(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(Dwe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, x.jsx)(Mwe, {
...e,
entity: r.data
});
}
-function kR(e) {
+function LR(e) {
let [t, n] = (0, b.useState)({
key: e,
n: 1
@@ -48388,22 +48653,22 @@ function kR(e) {
};
return n(r), r.n;
}
-var Twe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function Ewe(e, t) {
+var Awe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function jwe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function Dwe(e) {
- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = pt(xF(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || SF(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function Mwe(e) {
+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = pt(jF(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || MF(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
media: "online",
set: 0
- } : pF, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);
+ } : CF, [y, S] = (0, b.useState)("people"), C = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, b.useState)(C);
w !== C && (T(C), S("videos"));
- let E = l && y === "people" && u.length ? "people" : v.media, D = Cwe(g, E === "online", {
+ let E = l && y === "people" && u.length ? "people" : v.media, D = Owe(g, E === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = yF(e), M = dt(j), N = kR(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
+ }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, b.useState)(0), j = kF(e), M = dt(j), N = LR(JSON.stringify([j.queryKey, k])), [P] = (0, b.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
(0, b.useLayoutEffect)(() => {
s.javContext(P);
}, [s, P]);
@@ -48413,26 +48678,26 @@ function Dwe(e) {
}, [e.layout, P]), F = {
jav: e.jav,
seed: e.seed
- }, te = (0, b.useCallback)((e, r) => vF(t, n, i, F, e, r), [N]), [ne, re] = (0, b.useState)({}), ie = v.set, ae = ne[ie] || "", oe = pt({
- ...xF(t, n, ie, ae),
+ }, te = (0, b.useCallback)((e, r) => OF(t, n, i, F, e, r), [N]), [ne, re] = (0, b.useState)({}), ie = v.set, ae = ne[ie] || "", oe = pt({
+ ...jF(t, n, ie, ae),
enabled: E === "photos"
- }), se = oe.data?.pages[0], ce = kR(JSON.stringify(hF(t, n, ie, ae))), le = (0, b.useMemo)(() => {
+ }), se = oe.data?.pages[0], ce = LR(JSON.stringify(TF(t, n, ie, ae))), le = (0, b.useMemo)(() => {
let e = oe.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: ce,
- codeSets: t.id ? [] : SF(t),
+ codeSets: t.id ? [] : MF(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [oe.data, ce]), ue = oe.refetch, de = oe.fetchNextPage, fe = dt({
- ...uF(d, o.feedRowHtml),
+ ...bF(d, o.feedRowHtml),
enabled: !!d
}), pe = (0, b.useRef)(e.feedRevision);
(0, b.useEffect)(() => {
- pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: lF(d) }));
+ pe.current !== e.feedRevision && (pe.current = e.feedRevision, H.invalidateQueries({ queryKey: yF(d) }));
}, [d, e.feedRevision]);
let me = !!M.data;
(0, b.useEffect)(() => {
@@ -48451,7 +48716,7 @@ function Dwe(e) {
he.current = !1;
}, []);
let ge = (0, b.useCallback)(async () => {
- await H.invalidateQueries({ queryKey: mF(t, n) }), await H.invalidateQueries({ queryKey: [
+ await H.invalidateQueries({ queryKey: wF(t, n) }), await H.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -48482,7 +48747,7 @@ function Dwe(e) {
enabled: e
})
}),
- onSuccess: (e, r) => H.setQueryData(mF(t, n), (e) => e && {
+ onSuccess: (e, r) => H.setQueryData(wF(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -48536,10 +48801,10 @@ function Dwe(e) {
let e = await vt("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- he.current && await H.invalidateQueries({ queryKey: lF(d) });
+ he.current && await H.invalidateQueries({ queryKey: yF(d) });
})();
},
- feedAction: dF,
+ feedAction: xF,
avatarPicked: () => {
s.avatarChanged(), ge().then(() => {
he.current && A((e) => e + 1);
@@ -48587,19 +48852,19 @@ function Dwe(e) {
(e !== E || v.set) && (S(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : pF));
+ } : CF));
},
setState: (e) => s.route({
...i,
state: e
- }, pF),
+ }, CF),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (E !== "photos") {
- let r = s.reshuffleVideos(), a = yF({
+ let r = s.reshuffleVideos(), a = kF({
kind: t,
name: n,
filters: {
@@ -48613,7 +48878,7 @@ function Dwe(e) {
await H.fetchQuery(a).catch(() => null);
return;
}
- let r = Twe(), a = await H.fetchInfiniteQuery(xF(t, n, ie, r)).catch(() => null);
+ let r = Awe(), a = await H.fetchInfiniteQuery(jF(t, n, ie, r)).catch(() => null);
he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({
...e,
[ie]: r
@@ -48648,7 +48913,7 @@ function Dwe(e) {
k: e.k,
label: Zs(e.k),
n: e.n,
- selected: jbe(i.tag, e.k)
+ selected: Lbe(i.tag, e.k)
})), Ee = [
u.length,
!_,
@@ -48683,14 +48948,14 @@ function Dwe(e) {
creator: "",
studio: "",
owner: ""
- }, pF), Pe = "", Fe = !1;
+ }, CF), Pe = "", Fe = !1;
if (E === "people") Pe = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (E === "online") Fe = D.busy, Pe = `在线 · ${(D.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (E === "videos") {
Fe = !M.data;
- let e = gF(i.tag).length;
+ let e = EF(i.tag).length;
Pe = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : Ewe(se, SF(se).length) : Fe = oe.isPending;
+ } else se && !se.error ? Pe = Oe ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : jwe(se, MF(se).length) : Fe = oe.isPending;
let Ie = (0, b.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -48707,7 +48972,7 @@ function Dwe(e) {
u
]);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(fwe, {
+ /* @__PURE__ */ (0, x.jsx)(_we, {
kind: t,
name: n,
entity: r,
@@ -48717,7 +48982,7 @@ function Dwe(e) {
actions: xe,
helpers: Se
}, k),
- (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(Rge, {
+ (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(Kge, {
kind: t,
name: n,
view: E,
@@ -48734,7 +48999,7 @@ function Dwe(e) {
actions: Ce,
helpers: we
}), c.filter),
- (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(Lxe, {
+ (0, mt.createPortal)(E === "online" ? /* @__PURE__ */ (0, x.jsx)(Uxe, {
view: D.view,
media: D.media,
result: D.result,
@@ -48747,15 +49012,15 @@ function Dwe(e) {
helpers: e.follow.helpers,
actions: e.follow.actions,
canLoadMore: e.canLoadMore
- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(dM, {
+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: z(M.error),
onRetry: () => {
M.refetch();
}
- }) : Me ? /* @__PURE__ */ (0, x.jsx)(Owe, {
+ }) : Me ? /* @__PURE__ */ (0, x.jsx)(Nwe, {
filtered: je,
onShowAll: Ne
- }) : /* @__PURE__ */ (0, x.jsx)(uxe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(gxe, {
kind: t,
name: n,
view: E,
@@ -48779,8 +49044,8 @@ function Dwe(e) {
}), c.body)
] });
}
-function Owe({ filtered: e, onShowAll: t }) {
- return e ? /* @__PURE__ */ (0, x.jsx)(ck, {
+function Nwe({ filtered: e, onShowAll: t }) {
+ return e ? /* @__PURE__ */ (0, x.jsx)(lk, {
icon: Lj("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, x.jsx)(G, {
@@ -48789,7 +49054,7 @@ function Owe({ filtered: e, onShowAll: t }) {
children: "查看全部视频"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
icon: Lj("film"),
title: "还没有视频",
children: "署上这个名字的视频入库后会显示在这里。"
@@ -48797,7 +49062,7 @@ function Owe({ filtered: e, onShowAll: t }) {
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function AR({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function RR({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -48824,29 +49089,29 @@ function AR({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var kwe = Lj("play"), Awe = Lj("file-stack"), jwe = sk({
+var Pwe = Lj("play"), Fwe = Lj("file-stack"), Iwe = ck({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), jR = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", MR = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", NR = "font-mono text-caption-1-regular leading-5 text-text-secondary", PR = () => {
+}), zR = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", BR = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", VR = "font-mono text-caption-1-regular leading-5 text-text-secondary", HR = () => {
H.invalidateQueries({
- queryKey: OM,
+ queryKey: UM,
exact: !0
}), H.invalidateQueries({
- queryKey: JN,
+ queryKey: lP,
exact: !0
});
};
-function Mwe(e) {
+function Lwe(e) {
return e.identical ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${MR} text-(--keep)`,
+ className: `${BR} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${MR} text-text-secondary`,
+ className: `${BR} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function Nwe({ file: e, prefix: t, openItem: n }) {
+function Rwe({ file: e, prefix: t, openItem: n }) {
let r = () => n(e.id), i = Yt[e.location] || e.location || e.drive;
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -48856,7 +49121,7 @@ function Nwe({ file: e, prefix: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${e.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, x.jsx)(kwe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Pwe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, x.jsx)("img", {
@@ -48876,58 +49141,58 @@ function Nwe({ file: e, prefix: t, openItem: n }) {
"data-middle-truncate": !0,
"data-middle-truncate-within": !0,
className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",
- children: O_e(e.name, t)
+ children: I_e(e.name, t)
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `${jR} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${zR} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `${jR} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${zR} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
- className: `${NR} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, x.jsx)(Ok, { mark: Ja[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ className: `${VR} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: Ja[e.location] || "database" }), /* @__PURE__ */ (0, x.jsx)("span", {
title: i,
className: "min-w-0 truncate",
children: i
})]
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: NR,
+ className: VR,
children: Ut(e.size || 0)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: NR,
+ className: VR,
children: Vt(e.duration)
}),
/* @__PURE__ */ (0, x.jsx)("span", {
- className: `${NR} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
+ className: `${VR} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
});
}
-function Pwe({ openItem: e, toast: t, failure: n }) {
+function zwe({ openItem: e, toast: t, failure: n }) {
let r = dt({
- queryKey: OM,
- queryFn: ({ signal: e }) => AM(e)
+ queryKey: UM,
+ queryFn: ({ signal: e }) => GM(e)
}), i = dt({
queryKey: dn,
queryFn: ({ signal: e }) => fn(e)
}), [a, o] = (0, b.useState)(""), s = ft({
- mutationFn: (e) => NM(e, "dispose"),
+ mutationFn: (e) => JM(e, "dispose"),
onSuccess: (e, r) => {
- PR(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ HR(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await NM(r, "restore");
+ await JM(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- PR();
+ HR();
}
} });
},
@@ -48941,12 +49206,12 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
children: r.error ? z(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], u = w_e(i.data), d = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], u = M_e(i.data), d = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = M_e(e, t);
+ let r = B_e(e, t);
r.length && cs({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${jM[t] ?? jM.largest}。文件共 ${Ut(N_e(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${KM[t] ?? KM.largest}。文件共 ${Ut(V_e(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -48954,7 +49219,7 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, x.jsx)(AR, {
+ /* @__PURE__ */ (0, x.jsx)(RR, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${Ut(c.reclaimable)}`
@@ -48962,7 +49227,7 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
l.length ? /* @__PURE__ */ (0, x.jsxs)(Fpe, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, x.jsx)(Wk, {
+ /* @__PURE__ */ (0, x.jsx)(Gk, {
busy: a === "all:largest",
onPress: () => d({
groups: l,
@@ -48971,7 +49236,7 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, x.jsx)(Wk, {
+ /* @__PURE__ */ (0, x.jsx)(Gk, {
busy: a === "all:longest",
onPress: () => d({
groups: l,
@@ -48980,14 +49245,14 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- j_e(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(Wk, {
+ z_e(l, u).map((e) => /* @__PURE__ */ (0, x.jsx)(Gk, {
busy: a === `all:${e}`,
onPress: () => d({
groups: l,
keep: e,
key: `all:${e}`
}),
- children: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: e,
label: `全部优先 ${Yt[e] || e}`
})
@@ -49003,10 +49268,10 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
})
}) : null,
l.length ? l.map((t, n) => {
- let r = [t], i = D_e(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
+ let r = [t], i = F_e(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t.code,
- className: jwe,
+ className: Iwe,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",
children: [
@@ -49018,9 +49283,9 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${Ut(t.reclaimable)}`
}),
- Mwe(t),
+ Lwe(t),
t.cross_drive ? /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${MR} text-text-secondary`,
+ className: `${BR} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -49048,7 +49313,7 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- MM(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
+ qM(t.files, u).map((e) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
...f(a(e)),
@@ -49057,7 +49322,7 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
keep: e,
key: a(e)
}),
- children: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: e,
label: `留 ${Yt[e] || e}`
})
@@ -49076,14 +49341,14 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(Nwe, {
+ }), /* @__PURE__ */ (0, x.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, x.jsx)(Rwe, {
file: t,
prefix: i,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
- icon: Awe,
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
+ icon: Fwe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
}),
@@ -49096,23 +49361,23 @@ function Pwe({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var FR = ["diagnostics"], IR = (e) => B("/api/diagnostics", e);
-async function Fwe(e) {
+var UR = ["diagnostics"], WR = (e) => B("/api/diagnostics", e);
+async function Bwe(e) {
await H.fetchQuery({
- queryKey: FR,
- queryFn: () => IR(e),
+ queryKey: UR,
+ queryFn: () => WR(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var LR = {
+var GR = {
ok: "正常",
warning: "需检查",
failed: "需处理",
unknown: "未取得",
disabled: "未配置"
-}, Iwe = [
+}, Vwe = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -49123,8 +49388,8 @@ var LR = {
"version"
]],
["后台任务", ["tasks"]]
-], RR = (e) => new Date(e).toLocaleString();
-function Lwe({ name: e, check: t, navigate: n, configure: r }) {
+], KR = (e) => new Date(e).toLocaleString();
+function Hwe({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库";
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
@@ -49136,7 +49401,7 @@ function Lwe({ name: e, check: t, navigate: n, configure: r }) {
children: t.label
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: LR[t.status] ?? "未取得"
+ children: GR[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, x.jsx)("p", {
@@ -49156,14 +49421,14 @@ function Lwe({ name: e, check: t, navigate: n, configure: r }) {
]
});
}
-function Rwe({ group: e, openItem: t, receipt: n }) {
- let r = pk(), i = DP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
- return /* @__PURE__ */ (0, x.jsx)(Dk, {
+function Uwe({ group: e, openItem: t, receipt: n }) {
+ let r = mk(), i = HP(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ return /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
children: "清单未取得,请重新检查。"
- }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(yk, { children: [
+ }) : e.items.length ? /* @__PURE__ */ (0, x.jsxs)(bk, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [e.truncated ? /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -49198,7 +49463,7 @@ function Rwe({ group: e, openItem: t, receipt: n }) {
}) }, e.id))
})
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ ] }) : /* @__PURE__ */ (0, x.jsx)(lk, {
icon: cde,
title: "清单为空",
shell: "plain",
@@ -49206,12 +49471,12 @@ function Rwe({ group: e, openItem: t, receipt: n }) {
})
});
}
-function zwe(e) {
+function Wwe(e) {
let t = dt({
- queryKey: FR,
- queryFn: ({ signal: e }) => IR(e),
+ queryKey: UR,
+ queryFn: ({ signal: e }) => WR(e),
staleTime: 1e4
- }), n = pk(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {
+ }), n = mk(), [r, i] = (0, b.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
if (e.error) throw e.error;
return e.data;
@@ -49232,27 +49497,27 @@ function zwe(e) {
tone: "error",
children: r
}) : null,
- /* @__PURE__ */ (0, x.jsx)(_k, {
+ /* @__PURE__ */ (0, x.jsx)(vk, {
title: "库健康",
- children: /* @__PURE__ */ (0, x.jsxs)(yk, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
+ children: /* @__PURE__ */ (0, x.jsxs)(bk, { children: [o.library.issue_at ? /* @__PURE__ */ (0, x.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", RR(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(Rwe, {
+ children: ["处理记录 · ", KR(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(Uwe, {
group: n,
...e
}, t))] })
}),
- Iwe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(_k, {
+ Vwe.map(([t, n]) => /* @__PURE__ */ (0, x.jsx)(vk, {
title: t,
- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(Lwe, {
+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, x.jsx)(Hwe, {
name: t,
check: o.checks[t],
...e
}, t) : null)
}, t)),
- /* @__PURE__ */ (0, x.jsx)(_k, {
+ /* @__PURE__ */ (0, x.jsx)(vk, {
title: "来源会话",
- children: /* @__PURE__ */ (0, x.jsxs)(yk, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: /* @__PURE__ */ (0, x.jsxs)(bk, { children: [o.sources.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
/* @__PURE__ */ (0, x.jsxs)("h3", {
@@ -49260,20 +49525,27 @@ function zwe(e) {
children: [
e.label,
" · ",
- LR[e.status] ?? "未取得"
+ GR[e.status] ?? "未取得"
]
}),
- /* @__PURE__ */ (0, x.jsx)(Rk, {
+ /* @__PURE__ */ (0, x.jsx)(zk, {
text: e.reason,
className: "text-body-regular text-text-primary"
}),
- /* @__PURE__ */ (0, x.jsxs)(Tk, { children: [/* @__PURE__ */ (0, x.jsx)(Ek, {
- term: "上次解析成功",
- children: e.last_success_at ? RR(e.last_success_at) : "未取得"
- }), /* @__PURE__ */ (0, x.jsx)(Ek, {
- term: "冷却截止",
- children: e.cooldown_until ? RR(e.cooldown_until) : "未在冷却"
- })] })
+ /* @__PURE__ */ (0, x.jsxs)(Ek, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Dk, {
+ term: "上次解析成功",
+ children: e.last_success_at ? KR(e.last_success_at) : "未取得"
+ }),
+ e.last_check_at ? /* @__PURE__ */ (0, x.jsxs)(Dk, {
+ term: "上次检查",
+ children: [KR(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
+ }) : null,
+ /* @__PURE__ */ (0, x.jsx)(Dk, {
+ term: "冷却截止",
+ children: e.cooldown_until ? KR(e.cooldown_until) : "未在冷却"
+ })
+ ] })
]
}, e.source)), /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
@@ -49300,21 +49572,21 @@ function zwe(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function Bwe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = dt(uF(null, n.feedRowHtml)), a = (0, b.useRef)(t);
+function Gwe({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = dt(bF(null, n.feedRowHtml)), a = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: lF(null) }));
- }, [t]), (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(mR, {
+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: yF(null) }));
+ }, [t]), (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(SR, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: dF,
+ act: xF,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function zR({ provider: e, label: t }) {
+function qR({ provider: e, label: t }) {
let n = Rr(e), [r, i] = (0, b.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: t }) : null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("img", {
src: n,
@@ -49326,7 +49598,7 @@ function zR({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, x.jsx)(Eb, { children: t }) : null] });
}
-function BR({ group: e, name: t }) {
+function JR({ group: e, name: t }) {
let { src: n, fallback: r } = er(e), [i, a] = (0, b.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, x.jsx)("img", {
src: o,
@@ -49343,15 +49615,15 @@ function BR({ group: e, name: t }) {
children: $n(t)
});
}
-function VR({ source: e }) {
+function YR({ source: e }) {
let t = Gn(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(ik, {
+ return /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: t,
children: Wn(e)
});
}
-function HR({ source: e }) {
+function XR({ source: e }) {
return /* @__PURE__ */ (0, x.jsx)("a", {
href: e.url,
target: "_blank",
@@ -49361,7 +49633,7 @@ function HR({ source: e }) {
children: e.label
});
}
-function UR({ text: e, prefix: t = "", tone: n = "error" }) {
+function ZR({ text: e, prefix: t = "", tone: n = "error" }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(!1), c = qn(e);
(0, b.useLayoutEffect)(() => {
let e = r.current;
@@ -49392,11 +49664,11 @@ function UR({ text: e, prefix: t = "", tone: n = "error" }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var WR = tk(oP, sP, "text-body-2-medium"), Vwe = "粘贴来源链接,或输入创作者名、id…", Hwe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Uwe = "识别中…", Wwe = "站内没有查到来源", GR = (e, t) => `${e}:${t.url}`;
-function Gwe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var QR = nk(xP, SP, "text-body-2-medium"), Kwe = "粘贴来源链接,或输入创作者名、id…", qwe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Jwe = "识别中…", Ywe = "站内没有查到来源", $R = (e, t) => `${e}:${t.url}`;
+function Xwe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, b.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(jA, {
+ }, [t, r]), /* @__PURE__ */ (0, x.jsxs)(MA, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -49408,17 +49680,17 @@ function Gwe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: tk(aP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: nk(bP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, x.jsx)(lk, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(b.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, x.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? tk(WR, "bg-background-secondary-default") : WR,
+ className: t === r ? nk(QR, "bg-background-secondary-default") : QR,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -49438,7 +49710,7 @@ function Gwe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function Kwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function Zwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {
let i = new Set(t);
r ? i.delete(e) : i.add(e), n(i);
@@ -49452,13 +49724,13 @@ function Kwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, x.jsx)(jA, {
+ }), /* @__PURE__ */ (0, x.jsx)(MA, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: aP,
+ className: bP,
children: /* @__PURE__ */ (0, x.jsxs)(UA, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
@@ -49475,16 +49747,16 @@ function Kwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, x.jsx)(xk, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, x.jsx)(Sk, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(HP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(zR, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(qR, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
@@ -49500,7 +49772,7 @@ function Kwe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function qwe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function Qwe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: e.line,
@@ -49508,7 +49780,7 @@ function qwe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: sk({
+ className: ck({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -49519,15 +49791,15 @@ function qwe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = GR(t, e);
- return /* @__PURE__ */ (0, x.jsx)(HP, {
+ let n = $R(t, e);
+ return /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, x.jsx)(zR, { provider: e.provider }),
+ /* @__PURE__ */ (0, x.jsx)(qR, { provider: e.provider }),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -49543,22 +49815,22 @@ function qwe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, x.jsx)(xk, { children: Wwe }),
+ }) : /* @__PURE__ */ (0, x.jsx)(Sk, { children: Ywe }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, x.jsx)(wk, {
+ }), /* @__PURE__ */ (0, x.jsx)(Tk, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, x.jsx)(xk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function Jwe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function $we({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(-1), _ = (0, b.useRef)(null), v = (0, b.useRef)(null), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), [T, E] = (0, b.useState)(""), [D, O] = (0, b.useState)(0);
(0, b.useEffect)(() => {
let e = a.trim();
@@ -49578,7 +49850,7 @@ function Jwe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = RP({
+ }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: ee } = $P({
queryKey: Mn,
queryFn: ({ signal: e }) => dr(e),
start: (e) => mr([e]),
@@ -49610,7 +49882,7 @@ function Jwe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, ae = N?.results || [], oe = ae.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: GR(t, e)
+ key: $R(t, e)
})).filter((e) => !C.has(e.key))), se = ft({
mutationFn: async (e) => {
let t = [], n = [];
@@ -49640,7 +49912,7 @@ function Jwe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => E(z(e))
}), ce = e.suggestions || [], le = !s.includes("/");
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: sk({
+ className: ck({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -49660,16 +49932,16 @@ function Jwe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, x.jsx)($P, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "来源链接、名字或 id",
- placeholder: Vwe,
+ placeholder: Kwe,
value: a,
- leadingIcon: MO,
+ leadingIcon: NO,
enterKeyHint: "search",
isDisabled: n,
onChange: o,
onKeyDown: ie
- }), ne ? /* @__PURE__ */ (0, x.jsx)(Gwe, {
+ }), ne ? /* @__PURE__ */ (0, x.jsx)(Xwe, {
field: _,
menu: v,
options: A,
@@ -49679,7 +49951,7 @@ function Jwe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: re
}) : null]
}),
- /* @__PURE__ */ (0, x.jsx)(Kwe, {
+ /* @__PURE__ */ (0, x.jsx)(Zwe, {
credentials: t,
hidden: y,
onHidden: S,
@@ -49697,9 +49969,9 @@ function Jwe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(jP, {
+ children: [M || P.isPending ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
- label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : le ? Hwe : Uwe),
+ label: j?.message || (j?.total ? `查找中:${j.checked || 0}/${j.total}` : le ? qwe : Jwe),
value: j?.checked,
total: j?.total
}) : null, T ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -49711,8 +49983,8 @@ function Jwe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
ae.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(Ck, { children: "查找结果" }),
- ae.map((e, t) => /* @__PURE__ */ (0, x.jsx)(qwe, {
+ /* @__PURE__ */ (0, x.jsx)(wk, { children: "查找结果" }),
+ ae.map((e, t) => /* @__PURE__ */ (0, x.jsx)(Qwe, {
row: e,
at: t,
hidden: y,
@@ -49767,16 +50039,16 @@ function Jwe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var Ywe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, KR = (e) => e.alias;
-function Xwe(e, t, n) {
+var eTe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, ez = (e) => e.alias;
+function tTe(e, t, n) {
let r = n ? `name:${n}` : "", i = r && e.find((e) => e.author_key === r) || e.find((e) => e.author_name === t || e.entity_name === t);
return i ? e.filter((e) => e.author_key === i.author_key) : [];
}
-function qR({ sources: e, name: t, canonicalKey: n }) {
+function tz({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(BR, {
- group: Xwe(e, t, n),
+ children: [/* @__PURE__ */ (0, x.jsx)(JR, {
+ group: tTe(e, t, n),
name: t
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-body-medium",
@@ -49784,7 +50056,7 @@ function qR({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function nTe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), p = ft({
mutationFn: async (e) => {
let t = 0;
@@ -49824,9 +50096,9 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has(KR(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
+ }, _ = t.filter((e) => a.has(ez(e))), v = t.length > 0 && _.length === t.length, y = q(p.isPending);
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: sk({
+ className: ck({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -49837,10 +50109,10 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Ck, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "手动添加别名" }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -49848,7 +50120,7 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -49869,13 +50141,13 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(Ck, { children: "待合并" }),
+ /* @__PURE__ */ (0, x.jsx)(wk, { children: "待合并" }),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -49897,18 +50169,18 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, x.jsx)(WP, { children: /* @__PURE__ */ (0, x.jsxs)(UP, {
+ }), /* @__PURE__ */ (0, x.jsx)(aF, { children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "待合并创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, x.jsxs)(pj, { children: [
/* @__PURE__ */ (0, x.jsx)(mj, {
id: "select",
- children: /* @__PURE__ */ (0, x.jsx)(HP, {
+ children: /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(KR)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(ez)) : /* @__PURE__ */ new Set())
})
}),
/* @__PURE__ */ (0, x.jsx)(mj, {
@@ -49929,12 +50201,12 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "操作"
})
] }), /* @__PURE__ */ (0, x.jsx)(gj, { children: t.map((e) => {
- let t = KR(e);
+ let t = ez(e);
return /* @__PURE__ */ (0, x.jsxs)(yj, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(HP, {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -49943,7 +50215,7 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(qR, {
+ /* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(tz, {
sources: n,
name: e.canonical
}) }),
@@ -49969,11 +50241,11 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Ck, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "已保存别名" }), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, x.jsx)(WP, { children: /* @__PURE__ */ (0, x.jsxs)(UP, {
+ }), e.length ? /* @__PURE__ */ (0, x.jsx)(aF, { children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "已保存创作者别名",
size: "sm",
children: [/* @__PURE__ */ (0, x.jsxs)(pj, { children: [/* @__PURE__ */ (0, x.jsx)(mj, {
@@ -49985,7 +50257,7 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "平台别名"
})] }), /* @__PURE__ */ (0, x.jsx)(gj, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(yj, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(qR, {
+ children: [/* @__PURE__ */ (0, x.jsx)(xj, { children: /* @__PURE__ */ (0, x.jsx)(tz, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
@@ -49997,13 +50269,13 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: CO,
+ leadingIcon: wO,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...q(h.isPending),
onClick: () => void cs({
title: "移除创作者别名",
- body: Ywe(e.name),
+ body: eTe(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -50011,7 +50283,7 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: wde,
title: "还没有保存创作者别名",
@@ -50023,7 +50295,7 @@ function Zwe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function JR() {
+function nz() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -50036,24 +50308,24 @@ function JR() {
group: (e) => e
};
}
-function YR(e, t) {
+function rz(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function XR(e, t) {
+function iz(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: YR(n, t[e])
+ [e]: rz(n, t[e])
}));
};
}
-function ZR(e) {
+function az(e) {
return e instanceof Function;
}
-function Qwe(e) {
+function rTe(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function $we(e, t) {
+function iTe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -50063,7 +50335,7 @@ function $we(e, t) {
};
return r(e), n;
}
-function QR(e, t, n) {
+function oz(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -50085,21 +50357,21 @@ function QR(e, t, n) {
return i;
};
}
-function $R(e, t, n, r) {
+function sz(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function eTe(e, t, n, r) {
+function aTe(e, t, n, r) {
let i = {
id: `${t.id}_${n.id}`,
row: t,
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: QR(() => [
+ getContext: oz(() => [
e,
n,
t,
@@ -50111,13 +50383,13 @@ function eTe(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), $R(e.options, "debugCells", "cell.getContext"))
+ }), sz(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function tTe(e, t, n, r) {
+function oTe(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -50134,17 +50406,17 @@ function tTe(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: QR(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], $R(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: QR(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: oz(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], sz(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: oz(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, $R(e.options, "debugColumns", "column.getLeafColumns"))
+ }, sz(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var ez = "debugHeaders";
-function tz(e, t, n) {
+var cz = "debugHeaders";
+function lz(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -50172,42 +50444,42 @@ function tz(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var nTe = { createTable: (e) => {
- e.getHeaderGroups = QR(() => [
+var sTe = { createTable: (e) => {
+ e.getHeaderGroups = oz(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (t, n, r, i) => {
let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));
- return nz(t, [
+ return uz(t, [
...a,
...s,
...o
], e);
- }, $R(e.options, ez, "getHeaderGroups")), e.getCenterHeaderGroups = QR(() => [
+ }, sz(e.options, cz, "getHeaderGroups")), e.getCenterHeaderGroups = oz(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), nz(t, n, e, "center")), $R(e.options, ez, "getCenterHeaderGroups")), e.getLeftHeaderGroups = QR(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), uz(t, n, e, "center")), sz(e.options, cz, "getCenterHeaderGroups")), e.getLeftHeaderGroups = oz(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => nz(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), $R(e.options, ez, "getLeftHeaderGroups")), e.getRightHeaderGroups = QR(() => [
+ ], (t, n, r) => uz(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), sz(e.options, cz, "getLeftHeaderGroups")), e.getRightHeaderGroups = oz(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => nz(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), $R(e.options, ez, "getRightHeaderGroups")), e.getFooterGroups = QR(() => [e.getHeaderGroups()], (e) => [...e].reverse(), $R(e.options, ez, "getFooterGroups")), e.getLeftFooterGroups = QR(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), $R(e.options, ez, "getLeftFooterGroups")), e.getCenterFooterGroups = QR(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), $R(e.options, ez, "getCenterFooterGroups")), e.getRightFooterGroups = QR(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), $R(e.options, ez, "getRightFooterGroups")), e.getFlatHeaders = QR(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $R(e.options, ez, "getFlatHeaders")), e.getLeftFlatHeaders = QR(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $R(e.options, ez, "getLeftFlatHeaders")), e.getCenterFlatHeaders = QR(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $R(e.options, ez, "getCenterFlatHeaders")), e.getRightFlatHeaders = QR(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $R(e.options, ez, "getRightFlatHeaders")), e.getCenterLeafHeaders = QR(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => uz(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), sz(e.options, cz, "getRightHeaderGroups")), e.getFooterGroups = oz(() => [e.getHeaderGroups()], (e) => [...e].reverse(), sz(e.options, cz, "getFooterGroups")), e.getLeftFooterGroups = oz(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), sz(e.options, cz, "getLeftFooterGroups")), e.getCenterFooterGroups = oz(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), sz(e.options, cz, "getCenterFooterGroups")), e.getRightFooterGroups = oz(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), sz(e.options, cz, "getRightFooterGroups")), e.getFlatHeaders = oz(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), sz(e.options, cz, "getFlatHeaders")), e.getLeftFlatHeaders = oz(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), sz(e.options, cz, "getLeftFlatHeaders")), e.getCenterFlatHeaders = oz(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), sz(e.options, cz, "getCenterFlatHeaders")), e.getRightFlatHeaders = oz(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), sz(e.options, cz, "getRightFlatHeaders")), e.getCenterLeafHeaders = oz(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), $R(e.options, ez, "getCenterLeafHeaders")), e.getLeftLeafHeaders = QR(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), sz(e.options, cz, "getCenterLeafHeaders")), e.getLeftLeafHeaders = oz(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), $R(e.options, ez, "getLeftLeafHeaders")), e.getRightLeafHeaders = QR(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), sz(e.options, cz, "getLeftLeafHeaders")), e.getRightLeafHeaders = oz(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), $R(e.options, ez, "getRightLeafHeaders")), e.getLeafHeaders = QR(() => [
+ }), sz(e.options, cz, "getRightLeafHeaders")), e.getLeafHeaders = oz(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -50215,9 +50487,9 @@ var nTe = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), $R(e.options, ez, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), sz(e.options, cz, "getLeafHeaders"));
} };
-function nz(e, t, n, r) {
+function uz(e, t, n, r) {
let i = 0, a = function(e, t) {
t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {
var n;
@@ -50235,7 +50507,7 @@ function nz(e, t, n, r) {
let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
else {
- let i = tz(n, c, {
+ let i = lz(n, c, {
id: [
r,
t,
@@ -50252,7 +50524,7 @@ function nz(e, t, n, r) {
i.headers.push(e), e.headerGroup = i;
}), o.push(i), t > 0 && s(a, t - 1);
};
- s(t.map((e, t) => tz(n, e, {
+ s(t.map((e, t) => lz(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -50270,7 +50542,7 @@ function nz(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var rTe = (e, t, n, r, i, a, o) => {
+var cTe = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -50291,7 +50563,7 @@ var rTe = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => $we(s.subRows, (e) => e.subRows),
+ getLeafRows: () => iTe(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -50302,95 +50574,95 @@ var rTe = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: QR(() => [e.getAllLeafColumns()], (t) => t.map((t) => eTe(e, s, t, t.id)), $R(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: QR(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), $R(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: oz(() => [e.getAllLeafColumns()], (t) => t.map((t) => aTe(e, s, t, t.id)), sz(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: oz(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), sz(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
n == null || n.createRow == null || n.createRow(s, e);
}
return s;
-}, iTe = { createColumn: (e, t) => {
+}, lTe = { createColumn: (e, t) => {
e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();
};
-} }, rz = (e, t, n) => {
+} }, dz = (e, t, n) => {
var r, i;
let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));
};
-rz.autoRemove = (e) => pz(e);
-var iz = (e, t, n) => {
+dz.autoRemove = (e) => xz(e);
+var fz = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-iz.autoRemove = (e) => pz(e);
-var az = (e, t, n) => {
+fz.autoRemove = (e) => xz(e);
+var pz = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-az.autoRemove = (e) => pz(e);
-var oz = (e, t, n) => e.getValue(t)?.includes(n);
-oz.autoRemove = (e) => pz(e);
-var sz = (e, t, n) => !n.some((n) => {
+pz.autoRemove = (e) => xz(e);
+var mz = (e, t, n) => e.getValue(t)?.includes(n);
+mz.autoRemove = (e) => xz(e);
+var hz = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-sz.autoRemove = (e) => pz(e) || !(e != null && e.length);
-var cz = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-cz.autoRemove = (e) => pz(e) || !(e != null && e.length);
-var lz = (e, t, n) => e.getValue(t) === n;
-lz.autoRemove = (e) => pz(e);
-var uz = (e, t, n) => e.getValue(t) == n;
-uz.autoRemove = (e) => pz(e);
-var dz = (e, t, n) => {
+hz.autoRemove = (e) => xz(e) || !(e != null && e.length);
+var gz = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+gz.autoRemove = (e) => xz(e) || !(e != null && e.length);
+var _z = (e, t, n) => e.getValue(t) === n;
+_z.autoRemove = (e) => xz(e);
+var vz = (e, t, n) => e.getValue(t) == n;
+vz.autoRemove = (e) => xz(e);
+var yz = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-dz.resolveFilterValue = (e) => {
+yz.resolveFilterValue = (e) => {
let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;
if (a > o) {
let e = a;
a = o, o = e;
}
return [a, o];
-}, dz.autoRemove = (e) => pz(e) || pz(e[0]) && pz(e[1]);
-var fz = {
- includesString: rz,
- includesStringSensitive: iz,
- equalsString: az,
- arrIncludes: oz,
- arrIncludesAll: sz,
- arrIncludesSome: cz,
- equals: lz,
- weakEquals: uz,
- inNumberRange: dz
+}, yz.autoRemove = (e) => xz(e) || xz(e[0]) && xz(e[1]);
+var bz = {
+ includesString: dz,
+ includesStringSensitive: fz,
+ equalsString: pz,
+ arrIncludes: mz,
+ arrIncludesAll: hz,
+ arrIncludesSome: gz,
+ equals: _z,
+ weakEquals: vz,
+ inNumberRange: yz
};
-function pz(e) {
+function xz(e) {
return e == null || e === "";
}
-var aTe = {
+var uTe = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: XR("columnFilters", e),
+ onColumnFiltersChange: iz("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? fz.includesString : typeof n == "number" ? fz.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? fz.equals : Array.isArray(n) ? fz.arrIncludes : fz.weakEquals;
- }, e.getFilterFn = () => ZR(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? fz[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? bz.includesString : typeof n == "number" ? bz.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? bz.equals : Array.isArray(n) ? bz.arrIncludes : bz.weakEquals;
+ }, e.getFilterFn = () => az(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? bz[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
var n;
return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;
}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {
t.setColumnFilters((t) => {
- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = YR(n, i ? i.value : void 0);
- if (mz(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = rz(n, i ? i.value : void 0);
+ if (Sz(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -50405,19 +50677,19 @@ var aTe = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => YR(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => rz(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && mz(t.getFilterFn(), e.value, t));
+ return !(t && Sz(t.getFilterFn(), e.value, t));
}));
}, e.resetColumnFilters = (t) => {
e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);
}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
}
};
-function mz(e, t, n) {
+function Sz(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var hz = {
+var Cz = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -50453,7 +50725,7 @@ var hz = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!Qwe(n)) return;
+ if (!rTe(n)) return;
if (n.length === 1) return n[0];
let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);
return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];
@@ -50461,7 +50733,7 @@ var hz = {
unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),
uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,
count: (e, t) => t.length
-}, oTe = {
+}, dTe = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -50474,7 +50746,7 @@ var hz = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: XR("grouping", e),
+ onGroupingChange: iz("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -50487,11 +50759,11 @@ var hz = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return hz.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return hz.extent;
+ if (typeof n == "number") return Cz.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return Cz.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return ZR(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? hz[e.columnDef.aggregationFn];
+ return az(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? Cz[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -50513,27 +50785,27 @@ var hz = {
};
}
};
-function sTe(e, t, n) {
+function fTe(e, t, n) {
if (!(t != null && t.length) || !n) return e;
let r = e.filter((e) => !t.includes(e.id));
return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];
}
-var cTe = {
+var pTe = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: XR("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: iz("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = QR((e) => [xz(t, e)], (t) => t.findIndex((t) => t.id === e.id), $R(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => xz(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = xz(t, n);
+ e.getIndex = oz((e) => [kz(t, e)], (t) => t.findIndex((t) => t.id === e.id), sz(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => kz(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = kz(t, n);
return r[r.length - 1]?.id === e.id;
};
},
createTable: (e) => {
e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {
e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);
- }, e._getOrderColumnsFn = QR(() => [
+ }, e._getOrderColumnsFn = oz(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -50548,18 +50820,18 @@ var cTe = {
}
i = [...i, ...n];
}
- return sTe(i, t, n);
- }, $R(e.options, "debugTable", "_getOrderColumnsFn"));
+ return fTe(i, t, n);
+ }, sz(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, gz = () => ({
+}, wz = () => ({
left: [],
right: []
-}), lTe = {
+}), mTe = {
getInitialState: (e) => ({
- columnPinning: gz(),
+ columnPinning: wz(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: XR("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: iz("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -50583,75 +50855,75 @@ var cTe = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = QR(() => [
+ e.getCenterVisibleCells = oz(() => [
e._getAllVisibleCells(),
t.getState().columnPinning.left,
t.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.column.id));
- }, $R(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = QR(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, sz(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = oz(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "left"
- })), $R(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = QR(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), sz(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = oz(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "right"
- })), $R(t.options, "debugRows", "getRightVisibleCells"));
+ })), sz(t.options, "debugRows", "getRightVisibleCells"));
},
createTable: (e) => {
- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? gz() : e.initialState?.columnPinning ?? gz()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? wz() : e.initialState?.columnPinning ?? wz()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = QR(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), $R(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = QR(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), $R(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = QR(() => [
+ }, e.getLeftLeafColumns = oz(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), sz(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = oz(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), sz(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = oz(() => [
e.getAllLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.id));
- }, $R(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, sz(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function uTe(e) {
+function hTe(e) {
return e || (typeof document < "u" ? document : null);
}
-var _z = {
+var Tz = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, vz = () => ({
+}, Ez = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), dTe = {
- getDefaultColumnDef: () => _z,
+}), gTe = {
+ getDefaultColumnDef: () => Tz,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: vz(),
+ columnSizingInfo: Ez(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: XR("columnSizing", e),
- onColumnSizingInfoChange: XR("columnSizingInfo", e)
+ onColumnSizingChange: iz("columnSizing", e),
+ onColumnSizingInfoChange: iz("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? _z.minSize, n ?? e.columnDef.size ?? _z.size), e.columnDef.maxSize ?? _z.maxSize);
- }, e.getStart = QR((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? Tz.minSize, n ?? e.columnDef.size ?? Tz.size), e.columnDef.maxSize ?? Tz.maxSize);
+ }, e.getStart = oz((e) => [
e,
- xz(t, e),
+ kz(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), $R(t.options, "debugColumns", "getStart")), e.getAfter = QR((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), sz(t.options, "debugColumns", "getStart")), e.getAfter = oz((e) => [
e,
- xz(t, e),
+ kz(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), $R(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), sz(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -50673,8 +50945,8 @@ var _z = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), bz(a) && a.touches && a.touches.length > 1)) return;
- let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = bz(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), Oz(a) && a.touches && a.touches.length > 1)) return;
+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = Oz(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
typeof n == "number" && (t.setColumnSizingInfo((e) => {
let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);
return e.columnSizingStart.forEach((e) => {
@@ -50699,7 +50971,7 @@ var _z = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = uTe(n), m = {
+ }, p = hTe(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -50709,8 +50981,8 @@ var _z = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = fTe() ? { passive: !1 } : !1;
- bz(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
+ }, g = _Te() ? { passive: !1 } : !1;
+ Oz(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
...e,
startOffset: c,
startSize: o,
@@ -50726,12 +50998,12 @@ var _z = {
e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {
e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});
}, e.resetHeaderSizeInfo = (t) => {
- e.setColumnSizingInfo(t ? vz() : e.initialState.columnSizingInfo ?? vz());
+ e.setColumnSizingInfo(t ? Ez() : e.initialState.columnSizingInfo ?? Ez());
}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;
}
-}, yz = null;
-function fTe() {
- if (typeof yz == "boolean") return yz;
+}, Dz = null;
+function _Te() {
+ if (typeof Dz == "boolean") return Dz;
let e = !1;
try {
let t = { get passive() {
@@ -50741,17 +51013,17 @@ function fTe() {
} catch {
e = !1;
}
- return yz = e, yz;
+ return Dz = e, Dz;
}
-function bz(e) {
+function Oz(e) {
return e.type === "touchstart";
}
-var pTe = {
+var vTe = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: XR("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: iz("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -50766,7 +51038,7 @@ var pTe = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = QR(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), $R(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = QR(() => [
+ e._getAllVisibleCells = oz(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), sz(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = oz(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -50774,10 +51046,10 @@ var pTe = {
...e,
...t,
...n
- ], $R(t.options, "debugRows", "getVisibleCells"));
+ ], sz(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => QR(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), $R(e.options, "debugColumns", t));
+ let t = (t, n) => oz(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), sz(e.options, "debugColumns", t));
e.getVisibleFlatColumns = t("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = t("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = t("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = t("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = t("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {
e.setColumnVisibility(t ? {} : e.initialState.columnVisibility ?? {});
}, e.toggleAllColumnsVisible = (t) => {
@@ -50790,20 +51062,20 @@ var pTe = {
};
}
};
-function xz(e, t) {
+function kz(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var mTe = { createTable: (e) => {
+var yTe = { createTable: (e) => {
e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();
};
-} }, hTe = {
+} }, bTe = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: XR("globalFilter", e),
+ onGlobalFilterChange: iz("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -50815,22 +51087,22 @@ var mTe = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => fz.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => bz.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return ZR(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? fz[t];
+ return az(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? bz[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, gTe = {
+}, xTe = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: XR("expanded", e),
+ onExpandedChange: iz("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -50898,18 +51170,18 @@ var mTe = { createTable: (e) => {
};
};
}
-}, Sz = 0, Cz = 10, wz = () => ({
- pageIndex: Sz,
- pageSize: Cz
-}), _Te = {
+}, Az = 0, jz = 10, Mz = () => ({
+ pageIndex: Az,
+ pageSize: jz
+}), STe = {
getInitialState: (e) => ({
...e,
pagination: {
- ...wz(),
+ ...Mz(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: XR("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: iz("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -50922,11 +51194,11 @@ var mTe = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => YR(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? wz() : e.initialState.pagination ?? wz());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => rz(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? Mz() : e.initialState.pagination ?? Mz());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = YR(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = rz(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
return r = Math.max(0, Math.min(r, i)), {
...n,
pageIndex: r
@@ -50934,13 +51206,13 @@ var mTe = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? Sz : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? Sz);
+ e.setPageIndex(t ? Az : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? Az);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? Cz : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? Cz);
+ e.setPageSize(t ? jz : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? jz);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, YR(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, rz(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -50948,28 +51220,28 @@ var mTe = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = YR(t, e.options.pageCount ?? -1);
+ let r = rz(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = QR(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = oz(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, $R(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, sz(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
let { pageIndex: t } = e.getState().pagination, n = e.getPageCount();
return n === -1 || n !== 0 && t < n - 1;
}, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;
}
-}, Tz = () => ({
+}, Nz = () => ({
top: [],
bottom: []
-}), vTe = {
+}), CTe = {
getInitialState: (e) => ({
- rowPinning: Tz(),
+ rowPinning: Nz(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: XR("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: iz("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -51008,7 +51280,7 @@ var mTe = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? Tz() : e.initialState?.rowPinning ?? Tz()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? Nz() : e.initialState?.rowPinning ?? Nz()), e.getIsSomeRowsPinned = (t) => {
let n = e.getState().rowPinning;
return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);
}, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {
@@ -51017,22 +51289,22 @@ var mTe = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = QR(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), $R(e.options, "debugRows", "getTopRows")), e.getBottomRows = QR(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), $R(e.options, "debugRows", "getBottomRows")), e.getCenterRows = QR(() => [
+ })), e.getTopRows = oz(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), sz(e.options, "debugRows", "getTopRows")), e.getBottomRows = oz(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), sz(e.options, "debugRows", "getBottomRows")), e.getCenterRows = oz(() => [
e.getRowModel().rows,
e.getState().rowPinning.top,
e.getState().rowPinning.bottom
], (e, t, n) => {
let r = /* @__PURE__ */ new Set([...t ?? [], ...n ?? []]);
return e.filter((e) => !r.has(e.id));
- }, $R(e.options, "debugRows", "getCenterRows"));
+ }, sz(e.options, "debugRows", "getCenterRows"));
}
-}, yTe = {
+}, wTe = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: XR("rowSelection", e),
+ onRowSelectionChange: iz("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -51051,21 +51323,21 @@ var mTe = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- Ez(i, t.id, r, !0, e);
+ Pz(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = QR(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? Dz(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = oz(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? Fz(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, $R(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = QR(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? Dz(e, n) : {
+ }, sz(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = oz(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? Fz(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, $R(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = QR(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? Dz(e, n) : {
+ }, sz(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = oz(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? Fz(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, $R(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, sz(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
let t = e.getFilteredRowModel().flatRows, { rowSelection: n } = e.getState(), r = !!(t.length && Object.keys(n).length);
return r && t.some((e) => e.getCanSelect() && !n[e.id]) && (r = !1), r;
}, e.getIsAllPageRowsSelected = () => {
@@ -51089,17 +51361,17 @@ var mTe = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return Ez(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return Pz(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return Oz(e, n);
+ return Iz(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return kz(e, n) === "some";
+ return Lz(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return kz(e, n) === "all";
+ return Lz(e, n) === "all";
}, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {
let t = e.getCanSelect();
return (n) => {
@@ -51107,16 +51379,16 @@ var mTe = { createTable: (e) => {
};
};
}
-}, Ez = (e, t, n, r, i) => {
+}, Pz = (e, t, n, r, i) => {
var a;
let o = i.getRow(t, !0);
- n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => Ez(e, t.id, n, r, i));
+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => Pz(e, t.id, n, r, i));
};
-function Dz(e, t) {
+function Fz(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = Oz(e, n);
+ let o = Iz(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -51129,32 +51401,32 @@ function Dz(e, t) {
rowsById: i
};
}
-function Oz(e, t) {
+function Iz(e, t) {
return t[e.id] ?? !1;
}
-function kz(e, t, n) {
+function Lz(e, t, n) {
var r;
if (!((r = e.subRows) != null && r.length)) return !1;
let i = !0, a = !1;
return e.subRows.forEach((e) => {
- if ((!a || i) && (e.getCanSelect() && (Oz(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = kz(e, t);
+ if ((!a || i) && (e.getCanSelect() && (Iz(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = Lz(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var Az = /([0-9]+)/gm, bTe = (e, t, n) => Nz(Mz(e.getValue(n)).toLowerCase(), Mz(t.getValue(n)).toLowerCase()), xTe = (e, t, n) => Nz(Mz(e.getValue(n)), Mz(t.getValue(n))), STe = (e, t, n) => jz(Mz(e.getValue(n)).toLowerCase(), Mz(t.getValue(n)).toLowerCase()), CTe = (e, t, n) => jz(Mz(e.getValue(n)), Mz(t.getValue(n))), wTe = (e, t, n) => {
+var Rz = /([0-9]+)/gm, TTe = (e, t, n) => Vz(Bz(e.getValue(n)).toLowerCase(), Bz(t.getValue(n)).toLowerCase()), ETe = (e, t, n) => Vz(Bz(e.getValue(n)), Bz(t.getValue(n))), DTe = (e, t, n) => zz(Bz(e.getValue(n)).toLowerCase(), Bz(t.getValue(n)).toLowerCase()), OTe = (e, t, n) => zz(Bz(e.getValue(n)), Bz(t.getValue(n))), kTe = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, TTe = (e, t, n) => jz(e.getValue(n), t.getValue(n));
-function jz(e, t) {
+}, ATe = (e, t, n) => zz(e.getValue(n), t.getValue(n));
+function zz(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function Mz(e) {
+function Bz(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function Nz(e, t) {
- let n = e.split(Az).filter(Boolean), r = t.split(Az).filter(Boolean);
+function Vz(e, t) {
+ let n = e.split(Rz).filter(Boolean), r = t.split(Rz).filter(Boolean);
for (; n.length && r.length;) {
let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();
if (isNaN(o[0])) {
@@ -51168,22 +51440,22 @@ function Nz(e, t) {
}
return n.length - r.length;
}
-var Pz = {
- alphanumeric: bTe,
- alphanumericCaseSensitive: xTe,
- text: STe,
- textCaseSensitive: CTe,
- datetime: wTe,
- basic: TTe
-}, ETe = [
- nTe,
+var Hz = {
+ alphanumeric: TTe,
+ alphanumericCaseSensitive: ETe,
+ text: DTe,
+ textCaseSensitive: OTe,
+ datetime: kTe,
+ basic: ATe
+}, jTe = [
+ sTe,
+ vTe,
pTe,
- cTe,
- lTe,
- iTe,
- aTe,
mTe,
- hTe,
+ lTe,
+ uTe,
+ yTe,
+ bTe,
{
getInitialState: (e) => ({
sorting: [],
@@ -51194,7 +51466,7 @@ var Pz = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: XR("sorting", e),
+ onSortingChange: iz("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -51202,13 +51474,13 @@ var Pz = {
let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;
for (let t of n) {
let n = t?.getValue(e.id);
- if (Object.prototype.toString.call(n) === "[object Date]") return Pz.datetime;
- if (typeof n == "string" && (r = !0, n.split(Az).length > 1)) return Pz.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return Hz.datetime;
+ if (typeof n == "string" && (r = !0, n.split(Rz).length > 1)) return Hz.alphanumeric;
}
- return r ? Pz.text : Pz.basic;
+ return r ? Hz.text : Hz.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return ZR(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? Pz[e.columnDef.sortingFn];
+ return az(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? Hz[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -51245,15 +51517,15 @@ var Pz = {
}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
}
},
- oTe,
- gTe,
- _Te,
- vTe,
- yTe,
- dTe
+ dTe,
+ xTe,
+ STe,
+ CTe,
+ wTe,
+ gTe
];
-function DTe(e) {
- let t = [...ETe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
+function MTe(e) {
+ let t = [...jTe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
...r,
...e
}, a = { ...e.initialState ?? {} };
@@ -51279,7 +51551,7 @@ function DTe(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = YR(e, n.options);
+ let t = rz(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -51294,7 +51566,7 @@ function DTe(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: QR(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: oz(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -51305,20 +51577,20 @@ function DTe(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), $R(e, "debugColumns", "_getDefaultColumnDef")),
+ }), sz(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: QR(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: oz(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = tTe(n, e, i, r), o = e;
+ let a = oTe(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, $R(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: QR(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), $R(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: QR(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), $R(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: QR(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), $R(e, "debugColumns", "getAllLeafColumns")),
+ }, sz(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: oz(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), sz(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: oz(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), sz(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: oz(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), sz(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -51328,8 +51600,8 @@ function DTe(e) {
}
return n;
}
-function Fz() {
- return (e) => QR(() => [e.options.data], (t) => {
+function Uz() {
+ return (e) => oz(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -51338,7 +51610,7 @@ function Fz() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = rTe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = cTe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {
var s;
l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));
@@ -51347,9 +51619,9 @@ function Fz() {
return o;
};
return n.rows = r(t), n;
- }, $R(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, sz(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function OTe(e) {
+function NTe(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -51360,8 +51632,8 @@ function OTe(e) {
rowsById: e.rowsById
};
}
-function Iz(e) {
- return (e) => QR(() => [
+function Wz(e) {
+ return (e) => oz(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -51374,7 +51646,7 @@ function Iz(e) {
rows: a,
flatRows: o,
rowsById: s
- } : OTe({
+ } : NTe({
rows: a,
flatRows: o,
rowsById: s
@@ -51383,32 +51655,32 @@ function Iz(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, $R(e.options, "debugTable", "getPaginationRowModel"));
+ }, sz(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function Lz(e, t) {
- return e ? kTe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
+function Gz(e, t) {
+ return e ? PTe(e) ? /*#__PURE__*/ b.createElement(e, t) : e : null;
}
-function kTe(e) {
- return ATe(e) || typeof e == "function" || jTe(e);
+function PTe(e) {
+ return FTe(e) || typeof e == "function" || ITe(e);
}
-function ATe(e) {
+function FTe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function jTe(e) {
+function ITe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function Rz(e) {
+function Kz(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = b.useState(() => ({ current: DTe(t) })), [r, i] = b.useState(() => n.current.initialState);
+ }, [n] = b.useState(() => ({ current: MTe(t) })), [r, i] = b.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -51423,7 +51695,7 @@ function Rz(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var MTe = nk({
+var LTe = rk({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -51485,23 +51757,23 @@ var MTe = nk({
}
}
});
-function NTe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = MTe[t];
+function RTe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = LTe[t];
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: tk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? tk("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: nk("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? nk("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, x.jsx)("span", {
- className: tk("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, x.jsx)("span", { className: tk("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: nk("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, x.jsx)("span", { className: nk("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
-function zz({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, x.jsx)(Ghe, {
+function qz({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, x.jsx)(Khe, {
ref: i,
...a,
- className: (t) => tk("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
- children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(NTe, {
+ className: (t) => nk("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ children: (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(RTe, {
state: e,
size: n,
shape: r
@@ -51513,8 +51785,8 @@ function zz({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var Bz = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", PTe = "输入女优名,到 JavDB 找她的演员页";
-function FTe(e, t) {
+var Jz = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", zTe = "输入女优名,到 JavDB 找她的演员页";
+function BTe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -51533,10 +51805,10 @@ function FTe(e, t) {
blocked: !1
};
}
-function ITe({ card: e, picked: t, onPick: n }) {
+function VTe({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(HP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -51546,7 +51818,7 @@ function ITe({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, x.jsx)(ik, {
+ e.record ? /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "neutral",
children: e.record
@@ -51557,14 +51829,14 @@ function ITe({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, x.jsx)(wk, {
+ }), /* @__PURE__ */ (0, x.jsx)(Tk, {
href: e.url,
children: e.id
})]
});
}
-function LTe({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(/* @__PURE__ */ new Set()), l = pk(), u = () => {
+function HTe({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(/* @__PURE__ */ new Set()), l = mk(), u = () => {
let t = r.trim();
t && !e && l.run("lookup", (e) => Er(t, e), (e) => {
o(e), c(new Set(e.suggested));
@@ -51577,9 +51849,9 @@ function LTe({ readOnly: e, toast: t, onAdded: n }) {
a && l.run("follow", (e) => Dr(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? FTe(a, s) : null;
+ }, m = a ? BTe(a, s) : null;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: sk({
+ className: ck({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -51592,11 +51864,11 @@ function LTe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, x.jsx)($P, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "女优名",
- placeholder: PTe,
+ placeholder: zTe,
value: r,
- leadingIcon: MO,
+ leadingIcon: NO,
enterKeyHint: "search",
isDisabled: e,
onChange: i,
@@ -51618,16 +51890,16 @@ function LTe({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(Ck, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(ITe, {
+ /* @__PURE__ */ (0, x.jsx)(wk, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, x.jsx)(VTe, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, x.jsx)(xk, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(xk, {
+ }, e.id)) : /* @__PURE__ */ (0, x.jsx)(Sk, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -51654,19 +51926,19 @@ function LTe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var Vz = (e) => (Number(e) || 0).toLocaleString(), RTe = Object.fromEntries(Object.entries(Rn).map(([e, t]) => [t, e])), Hz = 740;
-function zTe() {
+var Yz = (e) => (Number(e) || 0).toLocaleString(), UTe = Object.fromEntries(Object.entries(Rn).map(([e, t]) => [t, e])), Xz = 740;
+function WTe() {
let [e, t] = (0, b.useState)(!1), n = (0, b.useRef)(null), r = (0, b.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < Hz));
- r.observe(e), n.current = r, t(e.clientWidth < Hz);
+ let r = new ResizeObserver(() => t(e.clientWidth < Xz));
+ r.observe(e), n.current = r, t(e.clientWidth < Xz);
}, []);
return (0, b.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var BTe = {
+var GTe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -51675,7 +51947,7 @@ var BTe = {
checked: "上次检查",
actions: "操作"
};
-function Uz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function Zz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -51712,33 +51984,33 @@ function Uz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function VTe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function KTe({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-selected": t || void 0,
"data-follow-source-row": "",
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2",
onClick: (e) => {
- pM(e, e.currentTarget) && n(!t);
+ OM(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, x.jsx)(HP, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 grow basis-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, x.jsx)(HR, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(UR, { text: e.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(XR, { source: e }), e.last_error ? /* @__PURE__ */ (0, x.jsx)(ZR, { text: e.last_error }) : null]
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",
title: e.provider_label,
- children: /* @__PURE__ */ (0, x.jsx)(zR, {
+ children: /* @__PURE__ */ (0, x.jsx)(qR, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, x.jsx)(VR, { source: e }),
+ /* @__PURE__ */ (0, x.jsx)(YR, { source: e }),
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-follow-source-controls": "",
className: "contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5",
@@ -51747,7 +52019,7 @@ function VTe({ source: e, selected: t, onToggle: n, handlers: r }) {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",
children: Ir(e)
}),
- /* @__PURE__ */ (0, x.jsx)(zz, {
+ /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -51759,7 +52031,7 @@ function VTe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: jO,
+ leadingIcon: MO,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...q(r.busy),
@@ -51768,7 +52040,7 @@ function VTe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: EO,
+ leadingIcon: DO,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -51779,11 +52051,11 @@ function VTe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function HTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+function qTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(Gn).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = or(r, c);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: sk({
+ className: ck({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -51793,7 +52065,7 @@ function HTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, x.jsx)(BR, {
+ /* @__PURE__ */ (0, x.jsx)(JR, {
group: e,
name: t
}),
@@ -51805,7 +52077,7 @@ function HTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: jO,
+ leadingIcon: MO,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...q(i.busy),
@@ -51818,7 +52090,7 @@ function HTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex shrink-0 items-center gap-1 max-sm:mr-auto max-sm:min-w-0 max-sm:shrink max-sm:flex-wrap",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(zR, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(Eb, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, x.jsx)(qR, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, x.jsx)(Eb, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -51838,7 +52110,7 @@ function HTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? Que : bO,
+ leadingIcon: n ? Zue : xO,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -51850,7 +52122,7 @@ function HTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(VTe, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(KTe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -51859,8 +52131,8 @@ function HTe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function UTe(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = zTe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => nr(g, n, r, _), [
+function JTe(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, b.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = WTe(), [T, E] = (0, b.useState)(""), D = (0, b.useMemo)(() => nr(g, n, r, _), [
g,
n,
r,
@@ -51870,7 +52142,7 @@ function UTe(e) {
n,
r,
_
- ]), { job: k, running: A, outcome: j, start: M } = RP({
+ ]), { job: k, running: A, outcome: j, start: M } = $P({
queryKey: jn,
queryFn: ({ signal: e }) => ur(e),
start: (e) => pr(e),
@@ -51957,12 +52229,12 @@ function UTe(e) {
readOnly: c
};
let se = oe.current, ce = (0, b.useMemo)(() => {
- let e = JR(), t = (e) => () => BTe[e] || e;
+ let e = nz(), t = (e) => () => GTe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(HP, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -51974,7 +52246,7 @@ function UTe(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(BR, {
+ children: [/* @__PURE__ */ (0, x.jsx)(JR, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, x.jsx)("span", {
@@ -51988,7 +52260,7 @@ function UTe(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, x.jsx)(HR, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(UR, { text: e.row.original.source.last_error }) : null]
+ children: [/* @__PURE__ */ (0, x.jsx)(XR, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, x.jsx)(ZR, { text: e.row.original.source.last_error }) : null]
})
}),
e.accessor((e) => e.source.provider_label, {
@@ -51996,13 +52268,13 @@ function UTe(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, x.jsx)(zR, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, x.jsx)(qR, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(VR, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(YR, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
@@ -52015,7 +52287,7 @@ function UTe(e) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(zz, {
+ /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: se.readOnly,
@@ -52025,7 +52297,7 @@ function UTe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: jO,
+ leadingIcon: MO,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || se.readOnly,
...q(se.busy),
@@ -52035,7 +52307,7 @@ function UTe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: EO,
+ leadingIcon: DO,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: se.readOnly,
onClick: () => oe.current.remove(e.row.original.source)
@@ -52045,12 +52317,12 @@ function UTe(e) {
})
];
}, [se]), le = (0, b.useMemo)(() => {
- let e = RTe[n];
+ let e = UTe[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ue = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", fe = ir(de ? O.length : D.length, o, i), pe = Rz({
+ }, [n, r]), ue = (0, b.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", fe = ir(de ? O.length : D.length, o, i), pe = Kz({
data: O,
columns: ce,
getRowId: (e) => String(e.source.id),
@@ -52081,11 +52353,11 @@ function UTe(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);
},
- getCoreRowModel: Fz(),
- getPaginationRowModel: Iz()
+ getCoreRowModel: Uz(),
+ getPaginationRowModel: Wz()
}), me = pe.getRowModel().rows, he = de ? me.map((e) => e.original.source.id) : D.slice(fe.start, fe.end).flatMap((e) => e.map((e) => e.id)), ge = or(s, he), _e = [...s], ve = Pr(j), ye = g.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), be = Fr(j), xe = D.length > 0 && y.size >= D.length;
return g.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: sk({
+ className: ck({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -52102,12 +52374,12 @@ function UTe(e) {
children: "关注列表"
}), /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${Vz(v.new)} 条未看` : ""}`
+ children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${Yz(v.new)} 条未看` : ""}`
})]
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "primary",
- leadingIcon: jO,
+ leadingIcon: MO,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -52146,7 +52418,7 @@ function UTe(e) {
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, x.jsx)(FP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
@@ -52154,7 +52426,7 @@ function UTe(e) {
let t = String(e);
l(t, an[t]);
},
- children: nn.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: nn.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
@@ -52162,14 +52434,14 @@ function UTe(e) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Zue : Xue,
+ leadingIcon: r === "asc" ? Xue : Yue,
"aria-label": Hn(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
de ? null : /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: xe ? bO : Que,
+ leadingIcon: xe ? xO : Zue,
"aria-label": xe ? "全部展开" : "全部收起",
onClick: () => S(xe ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: xe ? "全部展开" : "全部收起"
@@ -52182,7 +52454,7 @@ function UTe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, x.jsx)(jP, {
+ A ? /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -52273,10 +52545,10 @@ function UTe(e) {
})
]
}),
- de ? /* @__PURE__ */ (0, x.jsx)(WP, {
+ de ? /* @__PURE__ */ (0, x.jsx)(aF, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, x.jsxs)(UP, {
+ children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: le[0] ? {
@@ -52288,7 +52560,7 @@ function UTe(e) {
desc: e.direction === "descending"
}]),
children: [/* @__PURE__ */ (0, x.jsx)(pj, { children: pe.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in Rn, n = Lz(e.column.columnDef.header, e.getContext());
+ let t = e.column.id in Rn, n = Gz(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, x.jsx)(mj, {
id: e.id,
allowsSorting: t,
@@ -52298,7 +52570,7 @@ function UTe(e) {
children: [n, /* @__PURE__ */ (0, x.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(Fye, {})
+ children: /* @__PURE__ */ (0, x.jsx)(Uye, {})
})]
}) : /* @__PURE__ */ (0, x.jsx)(Eb, { children: n })
}, e.id);
@@ -52307,11 +52579,11 @@ function UTe(e) {
children: me.map((e) => /* @__PURE__ */ (0, x.jsx)(yj, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(xj, { children: Lz(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(xj, { children: Gz(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(HP, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: ge.all,
isIndeterminate: ge.some,
onChange: (e) => ee(he, e),
@@ -52321,7 +52593,7 @@ function UTe(e) {
className: "flex flex-col gap-3",
children: D.slice(fe.start, fe.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, x.jsx)(HTe, {
+ return /* @__PURE__ */ (0, x.jsx)(qTe, {
group: e,
name: Qn(e, _),
handlers: se,
@@ -52341,21 +52613,21 @@ function UTe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${Vz(fe.start + 1)}–${Vz(fe.end)} / ${Vz(fe.total)} ${de ? "个来源" : "位创作者"}`
+ children: `${Yz(fe.start + 1)}–${Yz(fe.end)} / ${Yz(fe.total)} ${de ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, x.jsx)(FP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && pe.setPageSize(Number(e));
},
- children: In.map((e) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: In.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: String(e),
children: `每页 ${e} ${de ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(Uz, {
+ /* @__PURE__ */ (0, x.jsx)(Zz, {
page: fe.page,
pages: fe.pages,
onPage: (e) => pe.setPageIndex(e - 1)
@@ -52367,7 +52639,7 @@ function UTe(e) {
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${Vz(v.new)} · 已看 ${Vz(v.seen)} · 已保存 ${Vz(v.saved)} · 已忽略 ${Vz(v.ignored)}`
+ children: `未看 ${Yz(v.new)} · 已看 ${Yz(v.seen)} · 已保存 ${Yz(v.saved)} · 已忽略 ${Yz(v.ignored)}`
}),
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -52404,11 +52676,11 @@ function UTe(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: vde,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, x.jsx)(ok, {
+ actions: /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -52419,7 +52691,7 @@ function UTe(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var WTe = {
+var YTe = {
select: "选择",
name: "名称",
kind: "类型",
@@ -52429,33 +52701,33 @@ var WTe = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, GTe = /* @__PURE__ */ new Set(["select", "actions"]), Wz = () => H.invalidateQueries({
+}, XTe = /* @__PURE__ */ new Set(["select", "actions"]), Qz = () => H.invalidateQueries({
queryKey: Nn,
exact: !0
-}), Gz = (e) => e.name || e.url;
-function KTe(e) {
+}), $z = (e) => e.name || e.url;
+function ZTe(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function qTe({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, x.jsx)(ik, {
+function QTe({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(ik, {
+ }) : e.enabled ? /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, x.jsx)(ik, {
+ }) : /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function JTe({ source: e }) {
+function $Te({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -52464,31 +52736,31 @@ function JTe({ source: e }) {
} : null;
return /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${Bz}`,
- dangerouslySetInnerHTML: { __html: ra(Gz(e), t, null, "performer") }
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${Jz}`,
+ dangerouslySetInnerHTML: { __html: ra($z(e), t, null, "performer") }
});
}
-var YTe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function XTe(e) {
+var eEe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function tEe(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function Kz(e, t) {
+function eB(e, t) {
let n = e.length === 1 ? e[0] : null;
return cs({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${Gz(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${$z(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function ZTe({ readOnly: e, toast: t }) {
+function nEe({ readOnly: e, toast: t }) {
let n = dt({
queryKey: Nn,
queryFn: ({ signal: e }) => Sr(e)
- }), r = pk(), i = n.data, a = (0, b.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, b.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, b.useState)(1), [u, d] = (0, b.useState)(20), f = ir(a.length, u, c);
+ }), r = mk(), i = n.data, a = (0, b.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, b.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, b.useState)(1), [u, d] = (0, b.useState)(20), f = ir(a.length, u, c);
(0, b.useEffect)(() => {
l((e) => Math.min(e, f.pages));
}, [f.pages]), (0, b.useEffect)(() => {
@@ -52509,13 +52781,13 @@ function ZTe({ readOnly: e, toast: t }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
- if (s(/* @__PURE__ */ new Set()), Wz(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), Qz(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : z(e.error)}`);
}
},
onError: (e) => r.setError(z(e))
- }), m = (0, b.useMemo)(() => XTe(a), [a]), h = (0, b.useRef)({
+ }), m = (0, b.useMemo)(() => tEe(a), [a]), h = (0, b.useRef)({
readOnly: e,
shared: m,
busy: null,
@@ -52527,34 +52799,34 @@ function ZTe({ readOnly: e, toast: t }) {
readOnly: e,
shared: m,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Cr(e.id, t, n), () => void Wz()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => Tr(t, [e.id]), () => void Wz()),
- remove: (e) => void Kz([e], async () => {
- await wr(e.id), t(`已移除订阅源「${Gz(e)}」`), Wz();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Cr(e.id, t, n), () => void Qz()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Tr(t, [e.id]), () => void Qz()),
+ remove: (e) => void eB([e], async () => {
+ await wr(e.id), t(`已移除订阅源「${$z(e)}」`), Qz();
})
};
let g = (0, b.useMemo)(() => {
- let e = JR(), t = (e) => () => WTe[e] || e;
+ let e = nz(), t = (e) => () => YTe[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(HP, {
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(rF, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${Gz(e.row.original)}`
+ "aria-label": `选择 ${$z(e.row.original)}`
})
}),
- e.accessor(Gz, {
+ e.accessor($z, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = YTe(e.row.original, h.current.shared);
+ let t = eEe(e.row.original, h.current.shared);
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, x.jsx)(JTe, { source: e.row.original }),
+ /* @__PURE__ */ (0, x.jsx)($Te, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -52582,13 +52854,13 @@ function ZTe({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: KTe(e.getValue())
+ children: ZTe(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, x.jsx)(qTe, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, x.jsx)(QTe, { source: e.row.original })
}),
e.accessor((e) => Kn(e.interval_minutes), {
id: "interval",
@@ -52620,8 +52892,8 @@ function ZTe({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(zz, {
- "aria-label": `启用 ${Gz(e.row.original)}`,
+ /* @__PURE__ */ (0, x.jsx)(qz, {
+ "aria-label": `启用 ${$z(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: h.current.readOnly,
onChange: (t) => h.current.toggle(e.row.original, t)
@@ -52630,8 +52902,8 @@ function ZTe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: jO,
- "aria-label": `拉取 ${Gz(e.row.original)}`,
+ leadingIcon: MO,
+ "aria-label": `拉取 ${$z(e.row.original)}`,
disabled: h.current.readOnly,
...q(h.current.busy === `check-${e.row.original.id}`),
onClick: () => h.current.fetch(e.row.original)
@@ -52640,8 +52912,8 @@ function ZTe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: EO,
- "aria-label": `移除 ${Gz(e.row.original)}`,
+ leadingIcon: DO,
+ "aria-label": `移除 ${$z(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -52649,7 +52921,7 @@ function ZTe({ readOnly: e, toast: t }) {
})
})
];
- }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = Rz({
+ }, []), _ = (0, b.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = Kz({
data: a,
columns: g,
getRowId: (e) => String(e.id),
@@ -52665,27 +52937,27 @@ function ZTe({ readOnly: e, toast: t }) {
let t = typeof e == "function" ? e(_) : e;
s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: Fz(),
- getPaginationRowModel: Iz()
+ getCoreRowModel: Uz(),
+ getPaginationRowModel: Wz()
});
if (!i) return n.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "打不开订阅源",
children: z(n.error)
- }) : /* @__PURE__ */ (0, x.jsx)(xk, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => Tr(e), () => void Wz()), S = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, x.jsx)(Sk, { children: "正在读订阅源。" });
+ let y = () => void r.run("check", (e) => Tr(e), () => void Qz()), S = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), C = a.filter((e) => o.has(e.id)), w = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, x.jsx)(LTe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(HTe, {
readOnly: e,
toast: t,
- onAdded: () => void Wz()
+ onAdded: () => void Qz()
}), /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: sk({
+ className: ck({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -52719,11 +52991,11 @@ function ZTe({ readOnly: e, toast: t }) {
children: w.map((e) => /* @__PURE__ */ (0, x.jsx)("li", {
className: "min-w-0 truncate",
title: e.last_error || "",
- children: `${Gz(e)}:${qn(e.last_error || "") || "未说明原因"}`
+ children: `${$z(e)}:${qn(e.last_error || "") || "未说明原因"}`
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
- }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: r.error }) : null]
+ }) : null, r.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: r.error }) : null]
}) : null,
/* @__PURE__ */ (0, x.jsxs)(Ww, {
visible: C.length > 0,
@@ -52757,7 +53029,7 @@ function ZTe({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...q(p.isPending),
- onClick: () => void Kz(C, () => p.mutateAsync({
+ onClick: () => void eB(C, () => p.mutateAsync({
ids: C.map((e) => e.id),
action: "remove"
})),
@@ -52771,25 +53043,25 @@ function ZTe({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, x.jsx)(WP, {
+ a.length ? /* @__PURE__ */ (0, x.jsx)(aF, {
onRowClick: (e) => S(Number(e)),
- children: /* @__PURE__ */ (0, x.jsxs)(UP, {
+ children: /* @__PURE__ */ (0, x.jsxs)(iF, {
"aria-label": "JAV 订阅源",
size: "sm",
children: [/* @__PURE__ */ (0, x.jsx)(pj, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = Lz(e.column.columnDef.header, e.getContext());
+ let t = Gz(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, x.jsx)(mj, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: GTe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Eb, { children: t }) : t
+ children: XTe.has(e.column.id) ? /* @__PURE__ */ (0, x.jsx)(Eb, { children: t }) : t
}, e.id);
}) }), /* @__PURE__ */ (0, x.jsx)(gj, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, x.jsx)(yj, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(xj, { children: Lz(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, x.jsx)(xj, { children: Gz(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
icon: vde,
title: "还没有订阅源",
shell: "plain",
@@ -52802,19 +53074,19 @@ function ZTe({ readOnly: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 个订阅源`
}),
- /* @__PURE__ */ (0, x.jsx)(FP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(u),
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: In.map((e) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: In.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(Uz, {
+ /* @__PURE__ */ (0, x.jsx)(Zz, {
label: "JAV 订阅分页",
page: f.page,
pages: f.pages,
@@ -52836,14 +53108,14 @@ function ZTe({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var qz = [
+var tB = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], Jz = (e) => qz.some(([t]) => t === e);
-function Yz({ term: e, figure: t, unit: n }) {
+], nB = (e) => tB.some(([t]) => t === e);
+function rB({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: sk({
+ className: ck({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -52863,8 +53135,8 @@ function Yz({ term: e, figure: t, unit: n }) {
})]
});
}
-function QTe(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(Jz(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => sn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => sn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(zn(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Bn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = dt({
+function rEe(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, openServiceConfiguration: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, b.useState)(nB(e.tab) ? e.tab : "list"), [d, f] = (0, b.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, b.useState)(() => sn(e.sort, e.dir).sort), [h, g] = (0, b.useState)(() => sn(e.sort, e.dir).dir), [_, v] = (0, b.useState)(zn(e.layout) ? e.layout : "default"), [y, S] = (0, b.useState)(Bn(e.pageSize)), [C, w] = (0, b.useState)(/* @__PURE__ */ new Set()), T = dt({
queryKey: kn,
queryFn: ({ signal: e }) => cr(e)
}), E = dt({
@@ -52892,7 +53164,7 @@ function QTe(e) {
dir: r === an[n] ? "" : r
});
}, M = tr(A), N = A.filter(Gn).length, P = A.filter((e) => e.enabled).length, ee = (k.providers || []).filter((e) => e.requirement === "required" && !Br(e)).length, F = new Set((D.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, x.jsxs)(uk, { children: [
+ return /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
o ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "本机只能浏览",
@@ -52907,35 +53179,35 @@ function QTe(e) {
children: s
}) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: tye,
+ className: lye,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, x.jsx)(Yz, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "关注创作者",
figure: M.length,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)(Yz, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "启用来源",
figure: P,
unit: `/ ${A.length}`
}),
- /* @__PURE__ */ (0, x.jsx)(Yz, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "检查失败",
figure: N,
unit: "个来源"
}),
- /* @__PURE__ */ (0, x.jsx)(Yz, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "未看更新",
figure: O.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, x.jsx)(Yz, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "JAV 订阅",
figure: F,
unit: "位"
}),
- /* @__PURE__ */ (0, x.jsx)(Yz, {
+ /* @__PURE__ */ (0, x.jsx)(rB, {
term: "未看新作",
figure: D.data?.unread || 0,
unit: "条"
@@ -52946,7 +53218,7 @@ function QTe(e) {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- Jz(t) && (u(t), j({ tab: t }));
+ nB(t) && (u(t), j({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
@@ -52955,7 +53227,7 @@ function QTe(e) {
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: qz.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(Dj, {
+ children: tB.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(Dj, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: t
@@ -52964,7 +53236,7 @@ function QTe(e) {
/* @__PURE__ */ (0, x.jsx)(Oj, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(UTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(JTe, {
data: O,
sort: p,
dir: h,
@@ -52997,13 +53269,13 @@ function QTe(e) {
/* @__PURE__ */ (0, x.jsxs)(Oj, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, x.jsx)(Jwe, {
+ children: [/* @__PURE__ */ (0, x.jsx)($we, {
data: O,
credentials: k,
readOnly: o,
toast: r,
openCredentials: a
- }), /* @__PURE__ */ (0, x.jsx)(Zwe, {
+ }), /* @__PURE__ */ (0, x.jsx)(nTe, {
groups: O.author_aliases || [],
readOnly: o,
toast: r,
@@ -53014,7 +53286,7 @@ function QTe(e) {
/* @__PURE__ */ (0, x.jsx)(Oj, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, x.jsx)(ZTe, {
+ children: /* @__PURE__ */ (0, x.jsx)(nEe, {
readOnly: o,
toast: r
})
@@ -53030,15 +53302,15 @@ function QTe(e) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function Xz({ value: e }) {
+function iB({ value: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var $Te = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function Zz({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+var iEe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function aB({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
let a = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
let e = a.current;
@@ -53069,7 +53341,7 @@ function Zz({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: $Te,
+ className: iEe,
onClick: () => {
i || r(e.value);
},
@@ -53080,52 +53352,60 @@ function Zz({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
}
//#endregion
//#region src/react/index/index-tags.tsx
-var Qz = () => /* @__PURE__ */ (0, x.jsx)("span", {
+var oB = () => /* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function eEe({ tag: e, actions: t }) {
+function aEe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
- return /* @__PURE__ */ (0, x.jsxs)("button", {
- type: "button",
- "data-alpha-tag": "",
- "data-k": e.k,
- "data-tag-cat": IF(t.online, e.cat),
- "aria-pressed": n,
- title: e.label,
- onClick: () => t.press(e.k),
- className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [
- /* @__PURE__ */ (0, x.jsx)(Qz, {}),
- /* @__PURE__ */ (0, x.jsx)("span", {
- className: "min-w-0 flex-1 truncate",
- children: e.label
- }),
- /* @__PURE__ */ (0, x.jsx)("span", {
- className: "flex-none text-caption-1-regular text-text-secondary",
- children: e.n.toLocaleString()
- })
- ]
+ return /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex min-w-0 items-center gap-1",
+ children: [/* @__PURE__ */ (0, x.jsxs)("button", {
+ type: "button",
+ "data-alpha-tag": "",
+ "data-k": e.k,
+ "data-tag-cat": KF(t.online, e.cat),
+ "aria-pressed": n,
+ title: e.label,
+ onClick: () => t.press(e.k),
+ className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
+ children: [
+ /* @__PURE__ */ (0, x.jsx)(oB, {}),
+ /* @__PURE__ */ (0, x.jsx)("span", {
+ className: "min-w-0 flex-1 truncate",
+ children: e.label
+ }),
+ /* @__PURE__ */ (0, x.jsx)("span", {
+ className: "flex-none text-caption-1-regular text-text-secondary",
+ children: e.n.toLocaleString()
+ })
+ ]
+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(Wj, { item: {
+ kind: "tag",
+ name: e.k,
+ entity_id: e.entity_id,
+ favorite: e.favorite
+ } })]
});
}
-function tEe({ groups: e, actions: t }) {
+function oEe({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, x.jsxs)("section", {
"data-alpha-group": r,
- className: sk({
+ className: ck({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, x.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, x.jsx)(Xz, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, x.jsx)(iB, { value: n.length })]
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(eEe, {
+ children: n.map((e) => /* @__PURE__ */ (0, x.jsx)(aEe, {
tag: e,
actions: t
}, e.k))
@@ -53133,28 +53413,36 @@ function tEe({ groups: e, actions: t }) {
}, e))
});
}
-var nEe = "\xA0";
-function rEe({ tags: e, actions: t }) {
+var sEe = "\xA0";
+function cEe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
- children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
- type: "button",
- "data-tag-chip": "",
- "data-k": e.k,
- "data-tag-cat": IF(t.online, e.cat),
- "aria-pressed": t.picked.has(e.k),
- onClick: () => t.press(e.k),
- className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + nEe, /* @__PURE__ */ (0, x.jsx)("span", {
- "data-tag-n": "",
- className: "text-caption-1-regular opacity-60",
- children: e.n.toLocaleString()
- })]
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("span", {
+ className: "inline-flex min-w-0 items-center gap-1",
+ children: [/* @__PURE__ */ (0, x.jsxs)("button", {
+ type: "button",
+ "data-tag-chip": "",
+ "data-k": e.k,
+ "data-tag-cat": KF(t.online, e.cat),
+ "aria-pressed": t.picked.has(e.k),
+ onClick: () => t.press(e.k),
+ className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
+ children: [e.label + sEe, /* @__PURE__ */ (0, x.jsx)("span", {
+ "data-tag-n": "",
+ className: "text-caption-1-regular opacity-60",
+ children: e.n.toLocaleString()
+ })]
+ }), t.online ? null : /* @__PURE__ */ (0, x.jsx)(Wj, { item: {
+ kind: "tag",
+ name: e.k,
+ entity_id: e.entity_id,
+ favorite: e.favorite
+ } })]
}, e.k))
});
}
-var iEe = [[
+var lEe = [[
"cloud",
"标签云",
"tags"
@@ -53163,16 +53451,16 @@ var iEe = [[
"字母表",
"text-aa"
]];
-function aEe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, x.jsx)(Hk, {
+function uEe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, x.jsx)(Uk, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(Uk, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : IF(n, e),
+ "data-tag-cat": e === "all" ? "all" : KF(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, x.jsx)(Qz, {}), r]
+ children: [/* @__PURE__ */ (0, x.jsx)(oB, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("span", {
@@ -53196,14 +53484,14 @@ function aEe({ categories: e, category: t, online: n, readout: r, letters: i, vi
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${Pj}`,
- children: iEe.map(([e, t, n]) => {
+ className: `ml-auto ${Zj}`,
+ children: lEe.map(([e, t, n]) => {
let r = Lj(n);
return /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: Fj,
+ className: Qj,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -53215,13 +53503,13 @@ function aEe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function oEe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+function dEe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
return /* @__PURE__ */ (0, x.jsxs)(Ww, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, x.jsx)(HP, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -53253,7 +53541,7 @@ function oEe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var sEe = [{
+var fEe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -53261,7 +53549,7 @@ var sEe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], cEe = [{
+}], pEe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -53269,7 +53557,7 @@ var sEe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], lEe = [
+}], mEe = [
{
value: "performers",
label: "艺人",
@@ -53285,7 +53573,7 @@ var sEe = [{
label: "在线",
symbol: "rss"
}
-], uEe = {
+], hEe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -53305,20 +53593,20 @@ var sEe = [{
"layout-grid"
]]
};
-function dEe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, x.jsx)(jj, {
- "aria-label": `${TF[e]}索引版式`,
+function gEe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(Jj, {
+ "aria-label": `${FF[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${Mj}`,
- children: uEe[AF(e) ? "company" : "people"].map(([e, t, n]) => {
+ className: `flex-none max-board-narrow:order-3 ${Yj}`,
+ children: hEe[BF(e) ? "company" : "people"].map(([e, t, n]) => {
let r = Lj(n);
return /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
"aria-label": t,
- className: jge,
+ className: Bge,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: t,
className: "contents",
@@ -53328,8 +53616,8 @@ function dEe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var fEe = Lj("search");
-function pEe({ label: e, value: t, onQuery: n }) {
+var _Ee = Lj("search");
+function vEe({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, b.useState)(t), a = (0, b.useRef)(!1), o = (0, b.useRef)(void 0);
(0, b.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -53344,15 +53632,15 @@ function pEe({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(XP, {
+ children: /* @__PURE__ */ (0, x.jsx)(Aj, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(QP, {
+ children: /* @__PURE__ */ (0, x.jsx)(Mj, {
type: "search",
- leadingIcon: fEe,
+ leadingIcon: _Ee,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -53363,14 +53651,14 @@ function pEe({ label: e, value: t, onQuery: n }) {
})
});
}
-function mEe(e) {
- let [t, n] = (0, b.useState)(() => jF({
+function yEe(e) {
+ let [t, n] = (0, b.useState)(() => VF({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = TF[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
+ })), [r, i] = (0, b.useState)(e.layout), [a, o] = (0, b.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, b.useState)("any"), l = (0, b.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = FF[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
(0, b.useEffect)(() => {
if (t.kind === e.kind && t.scope === e.scope && t.category === e.category) return;
let n = !0;
@@ -53388,7 +53676,7 @@ function mEe(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = FF(MF(t)), w = pt({
+ }, C = GF(HF(t)), w = pt({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -53397,7 +53685,7 @@ function mEe(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: v ? de : void 0
- }), T = Kbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = qbe(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
+ }), T = Qbe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = $be(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, b.useRef)(null), A = w.data?.pages[0]?.categories;
A && !w.isPlaceholderData && (k.current = {
key: O,
counts: A
@@ -53409,14 +53697,14 @@ function mEe(e) {
let P = (0, b.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? Xbe(P, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), ee = (0, b.useMemo)(() => u === "tags" && p === "alphabet" ? nxe(P, (t) => e.tagLabel(t)) : [], [
P,
p,
u
]), F = (t) => {
i(t), e.savePreference({ layout: t });
- }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(Zz, {
- tabs: cEe,
+ }, te = u === "tags" ? /* @__PURE__ */ (0, x.jsx)(aB, {
+ tabs: pEe,
value: f,
label: "词表",
onChange: (e) => {
@@ -53426,8 +53714,8 @@ function mEe(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : AF(u) ? /* @__PURE__ */ (0, x.jsx)(Zz, {
- tabs: sEe,
+ }) : BF(u) ? /* @__PURE__ */ (0, x.jsx)(aB, {
+ tabs: fEe,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -53436,7 +53724,7 @@ function mEe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : e.showTags([t], "all");
- }, re = (g ? DF : EF).filter(N);
+ }, re = (g ? LF : IF).filter(N);
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -53451,21 +53739,22 @@ function mEe(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- kF(u) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ zF(u) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending || w.isError ? "" : D
}) : null,
- kF(u) ? /* @__PURE__ */ (0, x.jsx)(dEe, {
+ zF(u) ? /* @__PURE__ */ (0, x.jsx)(gEe, {
kind: u,
layout: r,
onChange: F
}) : null,
+ /* @__PURE__ */ (0, x.jsx)(Gj, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, x.jsx)(pEe, {
+ /* @__PURE__ */ (0, x.jsx)(vEe, {
label: `过滤${h}`,
value: d,
onQuery: (e) => {
@@ -53474,8 +53763,8 @@ function mEe(e) {
})
]
}),
- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(Zz, {
- tabs: lEe,
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, x.jsx)(aB, {
+ tabs: mEe,
value: _ ? "online" : u,
label: "人物名册",
onChange: (t) => {
@@ -53489,8 +53778,8 @@ function mEe(e) {
te,
u === "performers" && f === "local" ? /* @__PURE__ */ (0, x.jsx)("div", {
"aria-label": "身份分类",
- className: wF,
- children: CF.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
+ className: PF,
+ children: NF.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(G, {
variant: m === e ? "primary" : "secondary",
size: "small",
"aria-pressed": m === e,
@@ -53498,7 +53787,7 @@ function mEe(e) {
children: t
}, e))
}) : null,
- u === "tags" ? /* @__PURE__ */ (0, x.jsx)(aEe, {
+ u === "tags" ? /* @__PURE__ */ (0, x.jsx)(uEe, {
categories: re,
category: m,
online: g,
@@ -53523,7 +53812,7 @@ function mEe(e) {
mode: p
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, x.jsx)(ck, {
+ if (w.isError) return /* @__PURE__ */ (0, x.jsx)(lk, {
icon: Lj("alert"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, x.jsx)(G, {
@@ -53533,18 +53822,18 @@ function mEe(e) {
}),
children: _t(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, x.jsx)(gEe, {
+ if (!T.length) return /* @__PURE__ */ (0, x.jsx)(xEe, {
kind: u,
filtered: !!d || m !== "all",
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, x.jsx)($be, {
+ if (_) return /* @__PURE__ */ (0, x.jsx)(axe, {
items: T,
layout: r,
props: e
});
- if (kF(u)) return /* @__PURE__ */ (0, x.jsx)(zF, {
+ if (zF(u)) return /* @__PURE__ */ (0, x.jsx)(YF, {
kind: u,
items: T,
layout: r,
@@ -53555,10 +53844,10 @@ function mEe(e) {
picked: a,
press: ne
};
- return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(tEe, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, x.jsx)(oEe, {
groups: ee,
actions: t
- }) : /* @__PURE__ */ (0, x.jsx)(rEe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(cEe, {
tags: P,
actions: t
});
@@ -53573,13 +53862,13 @@ function mEe(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(lk, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, x.jsx)(uk, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(oEe, {
+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, x.jsx)(dEe, {
count: a.size,
match: s,
onMatch: c,
@@ -53592,30 +53881,30 @@ function mEe(e) {
]
});
}
-var hEe = {
+var bEe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function gEe({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, x.jsx)(ck, {
+function xEe({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, x.jsx)(lk, {
icon: Lj("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, x.jsx)(ok, {
+ actions: /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : hEe[e], a = /* @__PURE__ */ (0, x.jsx)(ok, {
+ let i = n && e === "performers" ? "创作者" : bEe[e], a = /* @__PURE__ */ (0, x.jsx)(sk, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, x.jsx)(ck, {
+ return /* @__PURE__ */ (0, x.jsx)(lk, {
icon: Lj(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r ? /* @__PURE__ */ (0, x.jsx)(G, {
@@ -53626,15 +53915,15 @@ function gEe({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var $z = {
+var sB = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, _Ee = (e) => $z[e.junk_kind || "other"] || $z.other;
-function vEe(e) {
+}, SEe = (e) => sB[e.junk_kind || "other"] || sB.other;
+function CEe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -53645,21 +53934,21 @@ function vEe(e) {
glyph: "check"
};
}
-var eB = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), yEe = (e, t) => [
+var cB = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), wEe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function bEe({ kind: e, view: t }) {
+function TEe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function xEe(e, t) {
- let n = await B(`/api/ads?${bEe(e)}`, t);
+async function EEe(e, t) {
+ let n = await B(`/api/ads?${TEe(e)}`, t);
return {
...n,
items: n.items || []
@@ -53667,19 +53956,19 @@ async function xEe(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function tB({ name: e }) {
+function lB({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-var nB = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function SEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = _Ee(e), m = String(e.name || ""), h = vEe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
- t.target.closest("[data-junk-actions]") || nB(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var uB = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function DEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, b.useRef)(null), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = e.junk_kind || "other", [f, p] = SEe(e), m = String(e.name || ""), h = CEe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
+ t.target.closest("[data-junk-actions]") || uB(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), nB(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), uB(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
}, S = (t) => {
t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));
}, C = (t) => (n) => {
@@ -53710,7 +53999,7 @@ function SEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: mM,
+ onMouseDown: kM,
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-media-pic": "",
@@ -53718,7 +54007,7 @@ function SEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, x.jsx)(tB, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, x.jsx)(lB, { name: p }), /* @__PURE__ */ (0, x.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-art": "thumb",
@@ -53730,7 +54019,7 @@ function SEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, x.jsx)(tB, { name: "check" })
+ children: /* @__PURE__ */ (0, x.jsx)(lB, { name: "check" })
})
]
}),
@@ -53767,7 +54056,7 @@ function SEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: $a("正在定位") }
- }) : /* @__PURE__ */ (0, x.jsx)(tB, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ }) : /* @__PURE__ */ (0, x.jsx)(lB, { name: "folder-open" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -53779,7 +54068,7 @@ function SEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...w(h.operation),
onClick: C(h.operation),
- children: [/* @__PURE__ */ (0, x.jsx)(tB, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(lB, { name: h.glyph }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -53791,7 +54080,7 @@ function SEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, x.jsx)(tB, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(lB, { name: "trash" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -53806,7 +54095,7 @@ function SEe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var CEe = (0, b.memo)(SEe), rB = [
+var OEe = (0, b.memo)(DEe), dB = [
[
"",
"全部",
@@ -53842,65 +54131,65 @@ var CEe = (0, b.memo)(SEe), rB = [
"其它",
"hard-drive"
]
-], wEe = (e) => rB.find(([t]) => t === e)?.[0] ?? "";
-function iB(e) {
+], kEe = (e) => dB.find(([t]) => t === e)?.[0] ?? "";
+function fB(e) {
let t = new URLSearchParams(e);
return {
- kind: wEe(t.get("type")),
+ kind: kEe(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function aB(e = "", t = "pending") {
+function pB(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function oB(e) {
+function mB(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: aB("", "pending")
+ href: pB("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: aB("", "dismissed")
+ href: pB("", "dismissed")
};
}
-var sB = (e) => e === "dismissed" ? "已排除" : "待判断", cB = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function TEe({ kind: e, view: t }) {
- let n = rB.map(([n, r, i]) => `<a href="${aB(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${cB(i)}${R(r)}</a>`).join(""), r = oB(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${pP(sB(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${cB(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var hB = (e) => e === "dismissed" ? "已排除" : "待判断", gB = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function AEe({ kind: e, view: t }) {
+ let n = dB.map(([n, r, i]) => `<a href="${pB(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${gB(i)}${R(r)}</a>`).join(""), r = mB(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${OP(hB(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${gB(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function lB({ name: e }) {
+function _B({ name: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
}
-function uB({ scope: e, count: t }) {
+function vB({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function EEe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = DP(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = Gk(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? rB.map(([e]) => eB(t, e)).join(",") : ""}`), l = oB(s), u = (e) => {
+function jEe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = HP(), a = (0, b.useRef)(null), { kind: o, view: s } = e, c = Kk(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? dB.map(([e]) => cB(t, e)).join(",") : ""}`), l = mB(s), u = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || aB()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || pB()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, x.jsx)(AR, {
- label: sB(s),
+ children: /* @__PURE__ */ (0, x.jsx)(RR, {
+ label: hB(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -53920,17 +54209,17 @@ function EEe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- rB.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
- href: aB(e, s),
+ dB.map(([e, n, r]) => /* @__PURE__ */ (0, x.jsxs)("a", {
+ href: pB(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, x.jsx)(lB, { name: r }),
+ /* @__PURE__ */ (0, x.jsx)(_B, { name: r }),
n,
- /* @__PURE__ */ (0, x.jsx)(uB, {
+ /* @__PURE__ */ (0, x.jsx)(vB, {
scope: e,
- count: t ? eB(t, e) : 0
+ count: t ? cB(t, e) : 0
})
]
}, e || "all")),
@@ -53944,9 +54233,9 @@ function EEe({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-current": s === "dismissed" ? "page" : void 0,
onPointerEnter: s === "dismissed" ? void 0 : c.hover,
children: [
- /* @__PURE__ */ (0, x.jsx)(lB, { name: l.glyph }),
+ /* @__PURE__ */ (0, x.jsx)(_B, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, x.jsx)(uB, {
+ /* @__PURE__ */ (0, x.jsx)(vB, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -53959,33 +54248,33 @@ function EEe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var DEe = Lj("check"), OEe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function kEe(e) {
+var MEe = Lj("check"), NEe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function PEe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = dt({
- queryKey: yEe(t, e.revision),
- queryFn: ({ signal: e }) => xEe(t, e),
- placeholderData: (e, n) => n && OEe(n.queryKey, t) ? e : void 0
+ queryKey: wEe(t, e.revision),
+ queryFn: ({ signal: e }) => EEe(t, e),
+ placeholderData: (e, n) => n && NEe(n.queryKey, t) ? e : void 0
});
(0, b.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = AEe(e.countRow), i = n.isPending;
+ let r = FEe(e.countRow), i = n.isPending;
(0, b.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, b.useLayoutEffect)(() => {
r && n.data && uo(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(EEe, {
+ let { navigate: a } = e.actions, o = r ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(jEe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(jEe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [o, /* @__PURE__ */ (0, x.jsx)(IEe, {
props: e,
data: n.data,
pending: i,
@@ -53993,7 +54282,7 @@ function kEe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function AEe(e) {
+function FEe(e) {
let [t, n] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
if (!e) return;
@@ -54003,8 +54292,8 @@ function AEe(e) {
};
}, [e]), t;
}
-function jEe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = uM(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {
+function IEe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = TM(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, b.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, b.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -54012,14 +54301,14 @@ function jEe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, x.jsx)(dM, {
+ if (!t) return /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, x.jsx)(ck, {
- icon: DEe,
+ return /* @__PURE__ */ (0, x.jsx)(lk, {
+ icon: MEe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -54029,7 +54318,7 @@ function jEe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(CEe, {
+ children: u.map((t) => /* @__PURE__ */ (0, x.jsx)(OEe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -54038,7 +54327,7 @@ function jEe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(MEe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, x.jsx)(LEe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -54048,7 +54337,7 @@ function jEe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function MEe({ onMore: e }) {
+function LEe({ onMore: e }) {
let t = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
let n = t.current;
@@ -54066,7 +54355,7 @@ function MEe({ onMore: e }) {
}
//#endregion
//#region src/react/components/source-avatar.tsx
-function dB({ code: e, person: t, detail: n = !1 }) {
+function yB({ code: e, person: t, detail: n = !1 }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(n || typeof IntersectionObserver > "u");
(0, b.useEffect)(() => {
if (!r.current || i) return;
@@ -54100,12 +54389,12 @@ function dB({ code: e, person: t, detail: n = !1 }) {
}
//#endregion
//#region src/react/jav/discovery-faces.tsx
-function NEe({ item: e }) {
+function REe({ item: e }) {
let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e }));
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-media-avatars": "",
children: t.slice(0, 3).map((t) => {
- let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(dB, {
+ let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, x.jsx)(yB, {
code: e.code,
person: t
}) } : { dangerouslySetInnerHTML: { __html: ra(t.name, t, null) } };
@@ -54124,18 +54413,18 @@ function NEe({ item: e }) {
}
//#endregion
//#region src/react/jav/jav-navigation.ts
-var fB = [
+var bB = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], pB = (e) => fB.some(([t]) => t === e) ? e : "library", PEe = (e) => pB(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function FEe(e) {
+], xB = (e) => bB.some(([t]) => t === e) ? e : "library", zEe = (e) => xB(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function BEe(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
//#endregion
//#region src/react/jav/discovery-sorts.ts
-var mB = [
+var SB = [
[
"taste",
"口味",
@@ -54162,10 +54451,10 @@ var mB = [
"按番号排序"
]
];
-function hB(e) {
+function CB(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function IEe(e) {
+function VEe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -54191,8 +54480,8 @@ function IEe(e) {
}
//#endregion
//#region src/jav-skeleton.ts
-var gB = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, LEe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, _B = "w-full min-w-0";
-function vB() {
+var wB = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, HEe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, TB = "w-full min-w-0";
+function EB() {
return [
"w-20",
"w-16",
@@ -54202,8 +54491,8 @@ function vB() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function yB(e, t = FT()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${gB("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${LEe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${gB("80%")}${gB("60%")}${gB("40%")}</div></div>`).join("")}</div>`;
+function DB(e, t = FT()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${wB("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${HEe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${wB("80%")}${wB("60%")}${wB("40%")}</div></div>`).join("")}</div>`;
let n = UT({
...HT({
active: !0,
@@ -54212,62 +54501,62 @@ function yB(e, t = FT()) {
}),
size: t
});
- return `<div data-media-grid class="${_B}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card class="flex min-w-0 flex-col gap-3">
+ return `<div data-media-grid class="${TB}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card class="flex min-w-0 flex-col gap-3">
<span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span>
- <div class="flex h-10 flex-col">${gB("85%")}${gB("65%")}</div>
- <div class="flex h-10 items-center gap-2"><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span>${gB("55%")}</div>
+ <div class="flex h-10 flex-col">${wB("85%")}${wB("65%")}</div>
+ <div class="flex h-10 items-center gap-2"><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span>${wB("55%")}</div>
<div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div>
<div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div>
</div>`).join("")}</div>`;
}
-function REe(e) {
+function UEe(e) {
let t = e === "wants" ? "筛选想要" : "筛选推荐";
return `<div class="peach-react"><div class="flex w-full flex-col gap-6">
- <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${dP({
+ <div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${EP({
variant: "primary",
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${fB.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
- <form aria-label="${t}">${uP("筛选番号、女优或标题", "", t)}</form>
- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${gB("100%")}</div>${yB(e)}` : `<section class="flex min-w-0 flex-col gap-4">${zEe()}<div data-jav-metadata class="flex min-w-0 flex-wrap items-center justify-between gap-3">${dP({
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${bB.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
+ <form aria-label="${t}">${TP("筛选番号、女优或标题", "", t)}</form>
+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${wB("100%")}</div>${DB(e)}` : `<section class="flex min-w-0 flex-col gap-4">${WEe()}<div data-jav-metadata class="flex min-w-0 flex-wrap items-center justify-between gap-3">${EP({
variant: "secondary",
size: "small",
label: "更新资料",
attrs: "disabled data-skeleton-action"
- })}</div>${yB(e)}</section>`}</div></div>`;
+ })}</div>${DB(e)}</section>`}</div></div>`;
}
-function zEe() {
- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${FT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${lP(t, "size-4")}</span>`;
+function WEe() {
+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 flex-none items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${FT() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${wP(t, "size-4")}</span>`;
return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">
- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${vB()}</div></div>
+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${EB()}</div></div>
</div>
<div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2">
<span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>
<span data-entity-sorts><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>
- ${mB.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? lP("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${SB.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? wP("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
//#endregion
//#region src/react/activity/work-code.ts
-var bB = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), xB = (e, t) => !!bB(e) && bB(e) === bB(t);
+var OB = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), kB = (e, t) => !!OB(e) && OB(e) === OB(t);
//#endregion
//#region src/react/activity/resource-search.tsx
-function BEe({ className: e }) {
+function GEe({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: $a("") }
});
}
-function VEe(e) {
+function KEe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => VEe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = pk(), S = (0, b.useRef)(null);
+function qEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(() => KEe(t)), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(null), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(""), y = mk(), S = (0, b.useRef)(null);
(0, b.useEffect)(() => () => S.current?.abort(), []);
let C = () => {
if (!a.trim() || y.busy) return;
@@ -54283,7 +54572,7 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
S.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => xB(e.code, t));
+ let r = (n.items || []).find((e) => kB(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -54304,18 +54593,18 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
"aria-busy": !!y.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, x.jsxs)(xk, { children: [
+ t ? /* @__PURE__ */ (0, x.jsxs)(Sk, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? BEe : MO,
+ leadingIcon: y.busy ? GEe : NO,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -54325,7 +54614,7 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(Ck, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(FP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "优先寻找" }), /* @__PURE__ */ (0, x.jsxs)(XP, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -54333,15 +54622,15 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, x.jsx)(IP, {
+ /* @__PURE__ */ (0, x.jsx)(ZP, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, x.jsx)(IP, {
+ /* @__PURE__ */ (0, x.jsx)(ZP, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, x.jsx)(IP, {
+ /* @__PURE__ */ (0, x.jsx)(ZP, {
id: "uncensored",
children: "无码"
})
@@ -54350,32 +54639,32 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, x.jsx)($P, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, x.jsx)($P, {
+ }), /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, x.jsx)(xk, {
+ y.busy ? /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, x.jsx)(xk, {
+ y.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(xk, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(xk, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, x.jsx)(Sk, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
@@ -54385,7 +54674,7 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, x.jsx)(xk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -54410,19 +54699,19 @@ function HEe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}
//#endregion
//#region src/react/activity/cloud-download-dialog.tsx
-var UEe = {
+var JEe = {
submitted: "已提交离线下载,进度在活动页",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "远端已有同一任务,已接管"
};
-function SB({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, x.jsx)(_I, {
+function AB({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, x.jsx)(Pj, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, x.jsx)(WEe, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(YEe, {
prefill: e,
close: t,
receipt: n,
@@ -54430,26 +54719,26 @@ function SB({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function WEe({ prefill: e, close: t, receipt: n, provider: r }) {
+function YEe({ prefill: e, close: t, receipt: n, provider: r }) {
let i = dt({
- queryKey: Lk,
- queryFn: ({ signal: e }) => B(`${Ik}?limit=50`, e),
+ queryKey: Rk,
+ queryFn: ({ signal: e }) => B(`${Lk}?limit=50`, e),
refetchInterval: (e) => Spe(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, x.jsx)(oA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(sA, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: CO,
+ leadingIcon: wO,
"aria-label": "关闭资源面板",
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, x.jsx)(GEe, {
+ return a ? /* @__PURE__ */ (0, x.jsx)(XEe, {
header: o,
snapshot: a,
prefill: e,
@@ -54478,8 +54767,8 @@ function WEe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
- let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = pk(), E = (0, b.useRef)(null), D = (e) => {
+function XEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+ let o = C(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, b.useState)(c?.key || "pikpak"), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(n.code ?? ""), [h, g] = (0, b.useState)(c?.target || ""), [_, v] = (0, b.useState)(n.code ? n : null), [y, S] = (0, b.useState)(""), w = t.available && s.some((e) => e.key === l), T = mk(), E = (0, b.useRef)(null), D = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, x.jsxs)("form", {
@@ -54495,9 +54784,9 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- S(""), T.run("submit", (e) => V(Ik, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: Lk });
- let t = UEe[e.outcome];
+ S(""), T.run("submit", (e) => V(Lk, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: Rk });
+ let t = JEe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
@@ -54526,7 +54815,7 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, x.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, x.jsx)(xk, { children: [
+ }), _ ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: [
_.performers,
_.studio,
_.release_date,
@@ -54534,22 +54823,22 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(HEe, {
+ /* @__PURE__ */ (0, x.jsx)(qEe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- xB(e, _?.code) || (v(xB(e, n.code) ? n : null), f("")), m(e);
+ kB(e, _?.code) || (v(kB(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? xB(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? kB(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : xB(t?.code, n.code) ? t : null),
+ } : e : kB(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), E.current?.focus();
}
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
ref: E,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -54561,24 +54850,24 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, x.jsx)(Ck, { children: "下载到" }),
- /* @__PURE__ */ (0, x.jsx)(FP, {
+ /* @__PURE__ */ (0, x.jsx)(wk, { children: "下载到" }),
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "下载到",
selectedKey: l,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && D(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: s.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, x.jsx)(xk, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
t.available ? null : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -54592,7 +54881,7 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -54600,17 +54889,17 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, x.jsx)($P, {
+ n.code ? null : /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), xB(e, _?.code) || v(null);
+ m(e), kB(e, _?.code) || v(null);
}
}),
- y || T.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: y || T.error }) : null
+ y || T.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: y || T.error }) : null
]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -54631,18 +54920,18 @@ function GEe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}
//#endregion
//#region src/react/wants/wants.ts
-var CB = "/api/wants", wB = ["wants"], KEe = (e) => [
+var jB = "/api/wants", MB = ["wants"], ZEe = (e) => [
"wants",
"follow",
e
-], qEe = [
+], QEe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], TB = (e) => B(CB, e);
-function JEe(e, t) {
- H.setQueryData(wB, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], NB = (e) => B(jB, e);
+function $Ee(e, t) {
+ H.setQueryData(MB, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -54650,26 +54939,26 @@ function JEe(e, t) {
} : n)
} : n);
}
-var YEe = (e, t) => B(`${CB}?follow=${encodeURIComponent(e)}`, t), EB = (e, t) => V(CB, {
+var eDe = (e, t) => B(`${jB}?follow=${encodeURIComponent(e)}`, t), PB = (e, t) => V(jB, {
action: "add",
...e
-}, "POST", t), DB = (e, t) => V(CB, {
+}, "POST", t), FB = (e, t) => V(jB, {
action: "remove",
ids: e
-}, "POST", t), XEe = (e, t) => V(CB, {
+}, "POST", t), tDe = (e, t) => V(jB, {
action: "reset",
ids: e
-}, "POST", t), OB = () => H.invalidateQueries({ queryKey: wB }), kB = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function ZEe(e) {
+}, "POST", t), IB = () => H.invalidateQueries({ queryKey: MB }), LB = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function nDe(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/publication-cache.ts
-var AB = 864e5, jB = (e) => {
+var RB = 864e5, zB = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function MB(e) {
+function BB(e) {
let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");
if (!t) return;
let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));
@@ -54677,26 +54966,26 @@ function MB(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function QEe(e, t = Date.now()) {
- let n = MB(e);
- return n !== void 0 && jB(t) > n ? Infinity : AB;
+function rDe(e, t = Date.now()) {
+ let n = BB(e);
+ return n !== void 0 && zB(t) > n ? Infinity : RB;
}
-function NB(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : QEe(t, n) === Infinity ? jB(e) > MB(t) : n - e < AB;
+function VB(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : rDe(t, n) === Infinity ? zB(e) > BB(t) : n - e < RB;
}
//#endregion
//#region src/react/wants/resource-cache.ts
-var PB = "peach.want-resources.v1";
-function FB(e) {
+var HB = "peach.want-resources.v1";
+function UB(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function IB(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !FB(e) ? Date.now() - t < 6e4 : NB(t, n));
+function WB(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !UB(e) ? Date.now() - t < 6e4 : VB(t, n));
}
-function LB() {
+function GB() {
try {
- let e = JSON.parse(localStorage.getItem(PB) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && FB(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(HB) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && UB(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -54705,23 +54994,23 @@ function LB() {
return [];
}
}
-function $Ee(e, t) {
- let n = LB().find((t) => t.code === e);
- return n && NB(n.saved, t) ? n : void 0;
+function iDe(e, t) {
+ let n = GB().find((t) => t.code === e);
+ return n && VB(n.saved, t) ? n : void 0;
}
-function eDe(e) {
- let t = new Map(LB().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function aDe(e) {
+ let t = new Map(GB().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
for (let r of e) {
if (!r.code) continue;
let e = t.get(`all-sources:${r.code}`);
- e && NB(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && VB(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function tDe(e, t) {
- if (t.state === "ready" && FB(t)) try {
- let n = LB().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(PB, JSON.stringify([{
+function oDe(e, t) {
+ if (t.state === "ready" && UB(t)) try {
+ let n = GB().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(HB, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -54730,16 +55019,16 @@ function tDe(e, t) {
}
//#endregion
//#region src/react/wants/resource-display.ts
-function nDe(e) {
+function sDe(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Ut(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function rDe(e) {
+function cDe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function RB({ icon: e, children: t, title: n }) {
+function KB({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -54749,8 +55038,8 @@ function RB({ icon: e, children: t, title: n }) {
}), t]
});
}
-function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = pk(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => $Ee(h, e.release_date), [h, e.release_date]);
+function qB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, b.useRef)(null), [c, l] = (0, b.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, b.useState)([]), f = mk(), p = C(), m = (0, b.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, b.useMemo)(() => iDe(h, e.release_date), [h, e.release_date]);
(0, b.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -54770,22 +55059,22 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
],
queryFn: async ({ signal: t }) => {
let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", tDe(h, i), i;
+ return m.current = n && i.state === "busy", oDe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => IB(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => WB(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !IB(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !WB(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
(0, b.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, b.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && JEe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && $Ee(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -54793,7 +55082,7 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
]);
let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {
!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {
- let n = await V(Ik, {
+ let n = await V(Lk, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -54804,7 +55093,7 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: Lk });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: Rk });
});
}, S = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -54822,7 +55111,7 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}), /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: jO,
+ leadingIcon: MO,
...q(w),
onClick: () => {
w || (m.current = !0, _.refetch());
@@ -54830,7 +55119,7 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
children: "重新查询"
})]
}),
- w ? /* @__PURE__ */ (0, x.jsx)(lk, { label: "正在查找资源链接…" }) : null,
+ w ? /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在查找资源链接…" }) : null,
T ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "资源链接未取得",
@@ -54838,13 +55127,13 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
- children: rDe(e)
+ children: cDe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(ok, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
size: "small",
className: "self-start",
- trailingIcon: DO,
+ trailingIcon: OO,
href: _.data.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -54869,7 +55158,7 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(ik, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -54883,26 +55172,26 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-facts": "",
className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(RB, {
+ /* @__PURE__ */ (0, x.jsx)(KB, {
icon: gde,
children: e.source
}),
- /* @__PURE__ */ (0, x.jsx)(RB, {
- icon: OO,
+ /* @__PURE__ */ (0, x.jsx)(KB, {
+ icon: kO,
title: `来源大小:${e.size}`,
- children: nDe(e.size)
+ children: sDe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, x.jsx)(RB, {
+ e.files ? /* @__PURE__ */ (0, x.jsx)(KB, {
icon: sde,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, x.jsx)(RB, {
+ /* @__PURE__ */ (0, x.jsx)(KB, {
icon: $ue,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(RB, {
- icon: AO,
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, x.jsx)(KB, {
+ icon: jO,
children: e
}, e))
]
@@ -54929,11 +55218,11 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
onClick: () => S(e),
children: "复制链接"
}),
- /* @__PURE__ */ (0, x.jsx)(ok, {
+ /* @__PURE__ */ (0, x.jsx)(sk, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: DO,
+ trailingIcon: OO,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -54946,7 +55235,7 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(Dk, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, x.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -54959,21 +55248,21 @@ function zB({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}
//#endregion
//#region src/react/wants/want-list.tsx
-var iDe = {
+var lDe = {
code: "手动添加",
feed: "订阅新作",
follow: "关注"
-}, aDe = [
+}, uDe = [
["all", "全部"],
["available", "有磁链"],
["missing", "没磁链"]
-], BB = (e) => [
+], JB = (e) => [
e.release_date,
e.studio,
e.performers,
- iDe[e.origin]
+ lDe[e.origin]
].filter(Boolean).join(" · ");
-function oDe({ want: e }) {
+function dDe({ want: e }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
@@ -54989,39 +55278,39 @@ function oDe({ want: e }) {
}) : null]
});
}
-function sDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function fDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
let [l, u] = (0, b.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-want-id": e.id,
- className: sk({
+ className: ck({
bordered: "soft",
className: "flex flex-col gap-4 max-sm:p-4"
}),
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, x.jsx)(oDe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(dDe, { want: e }), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, x.jsxs)("p", {
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, x.jsx)("b", {
className: "min-w-0 text-headline-medium wrap-anywhere text-text-primary",
- children: kB(e)
+ children: LB(e)
}), e.code && e.title ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- BB(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
+ JB(e) ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: BB(e)
+ children: JB(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: ZEe(e)
+ children: nDe(e)
}) : null,
- e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(UR, {
+ e.scrape_error ? /* @__PURE__ */ (0, x.jsx)(ZR, {
text: e.scrape_error,
prefix: "资料未取得:",
tone: "muted"
@@ -55046,17 +55335,17 @@ function sDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: EO,
+ leadingIcon: DO,
disabled: t,
...q(n === `remove:${e.id}`),
onClick: i,
children: "移除"
}),
- d ? /* @__PURE__ */ (0, x.jsx)(ok, {
+ d ? /* @__PURE__ */ (0, x.jsx)(sk, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: DO,
+ trailingIcon: OO,
href: d,
target: "_blank",
rel: "noopener noreferrer",
@@ -55066,7 +55355,7 @@ function sDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(zB, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, x.jsx)(qB, {
want: e,
readOnly: t,
downloads: o,
@@ -55076,8 +55365,8 @@ function sDe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function cDe({ phase: e, label: t, rows: n, row: r }) {
- let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = eDe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = ir(d.length, 20, i);
+function pDe({ phase: e, label: t, rows: n, row: r }) {
+ let [i, a] = (0, b.useState)(1), [o, s] = (0, b.useState)("all"), c = aDe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = ir(d.length, 20, i);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": t,
"data-want-phase": e,
@@ -55091,19 +55380,19 @@ function cDe({ phase: e, label: t, rows: n, row: r }) {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: n.length.toLocaleString()
})]
- }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(jj, {
+ }), e === "searching" ? /* @__PURE__ */ (0, x.jsx)(Jj, {
name: "want-magnet-filter",
"aria-label": "待找磁链筛选",
orientation: "horizontal",
value: o,
- className: Mj,
+ className: Yj,
onChange: (e) => {
s(e), a(1);
},
- children: aDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(ZA, {
+ children: uDe.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(ZA, {
value: e,
"aria-label": t,
- className: Nj,
+ className: Xj,
children: [t, /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular tabular-nums text-text-tertiary",
children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()
@@ -55111,7 +55400,7 @@ function cDe({ phase: e, label: t, rows: n, row: r }) {
}, e))
}) : null]
}),
- d.length ? null : /* @__PURE__ */ (0, x.jsx)(ck, {
+ d.length ? null : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: yde,
title: "暂无符合条件的作品",
@@ -55127,7 +55416,7 @@ function cDe({ phase: e, label: t, rows: n, row: r }) {
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 条`
- }), /* @__PURE__ */ (0, x.jsx)(Uz, {
+ }), /* @__PURE__ */ (0, x.jsx)(Zz, {
label: `${t}分页`,
page: f.page,
pages: f.pages,
@@ -55137,34 +55426,34 @@ function cDe({ phase: e, label: t, rows: n, row: r }) {
]
});
}
-function lDe({ readOnly: e, toast: t, query: n = "" }) {
- let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = pk(), c = dt({
- queryKey: wB,
- queryFn: ({ signal: e }) => TB(e),
+function mDe({ readOnly: e, toast: t, query: n = "" }) {
+ let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(null), s = mk(), c = dt({
+ queryKey: MB,
+ queryFn: ({ signal: e }) => NB(e),
staleTime: 3e4,
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- n && !e && s.run("add", (e) => EB({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${kB(e.want)}` : `${kB(e.want)} 已经在想要里`), i(""), OB();
+ n && !e && s.run("add", (e) => PB({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${LB(e.want)}` : `${LB(e.want)} 已经在想要里`), i(""), IB();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => DB([e.id], t), () => {
- t(`已移除:${kB(e)}`), OB();
+ s.run(`remove:${e.id}`, (t) => FB([e.id], t), () => {
+ t(`已移除:${LB(e)}`), IB();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => XEe([e.id], t), () => {
- t(`${kB(e)} 回到待找`), OB();
+ s.run(`reset:${e.id}`, (t) => tDe([e.id], t), () => {
+ t(`${LB(e)} 回到待找`), IB();
});
}, p = c.data, m = (p?.items || []).filter((e) => !n || [
e.code,
e.title,
e.performers
].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), h = dt({
- queryKey: Lk,
- queryFn: ({ signal: e }) => B(`${Ik}?limit=100`, e),
+ queryKey: Rk,
+ queryFn: ({ signal: e }) => B(`${Lk}?limit=100`, e),
enabled: m.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))
}), g = h.data?.providers.filter((e) => e.configured) || [], _ = g[0]?.key || "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -55172,7 +55461,7 @@ function lDe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: sk({
+ className: ck({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -55185,7 +55474,7 @@ function lDe({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, x.jsx)($P, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -55216,9 +55505,9 @@ function lDe({ readOnly: e, toast: t, query: n = "" }) {
c.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取想要",
- dangerouslySetInnerHTML: { __html: yB("wants") }
+ dangerouslySetInnerHTML: { __html: DB("wants") }
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, x.jsx)(xk, {
+ p?.scraping ? /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -55238,19 +55527,19 @@ function lDe({ readOnly: e, toast: t, query: n = "" }) {
tone: "neutral",
children: "云下载只在账本写入端可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, x.jsx)(ck, {
+ p && !m.length ? /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: yde,
title: n ? "没有符合条件的作品" : "还没有想要的作品",
children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"
}) : null,
- qEe.map(([n, r]) => {
+ QEe.map(([n, r]) => {
let i = m.filter((e) => e.phase === n);
- return i.length ? /* @__PURE__ */ (0, x.jsx)(cDe, {
+ return i.length ? /* @__PURE__ */ (0, x.jsx)(pDe, {
phase: n,
label: r,
rows: i,
- row: (n) => /* @__PURE__ */ (0, x.jsx)(sDe, {
+ row: (n) => /* @__PURE__ */ (0, x.jsx)(fDe, {
want: n,
readOnly: e,
busy: s.busy,
@@ -55271,7 +55560,7 @@ function lDe({ readOnly: e, toast: t, query: n = "" }) {
}, n.id)
}, n) : null;
}),
- /* @__PURE__ */ (0, x.jsx)(SB, {
+ /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: a,
close: () => o(null),
receipt: t,
@@ -55282,13 +55571,13 @@ function lDe({ readOnly: e, toast: t, query: n = "" }) {
}
//#endregion
//#region src/react/jav/jav.ts
-var VB = (e, t = "taste", n = "desc") => [
+var YB = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function HB(e, t, n = {}) {
+function XB(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -55297,27 +55586,27 @@ function HB(e, t, n = {}) {
});
return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), B(`/api/jav/discoveries?${r}`, t);
}
-function UB(e, t, n) {
+function ZB(e, t, n) {
let r = ua({
...e,
is_jav: !0
}, t, !1, n);
return r.html || !e.cover_url ? r.html : ca(e, t).replace(/ src="[^"]*"/, ` src="${R(e.cover_url)}" referrerpolicy="no-referrer" data-jav-image="${e.id}" data-jav-cover="${R(e.cover_url)}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`);
}
-async function uDe(e, t) {
+async function hDe(e, t) {
e === "wants" ? await H.ensureQueryData({
- queryKey: wB,
- queryFn: () => TB(t),
+ queryKey: MB,
+ queryFn: () => NB(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await H.fetchQuery({
- queryKey: VB("external"),
- queryFn: () => HB("external", t)
+ queryKey: YB("external"),
+ queryFn: () => XB("external", t)
});
}
//#endregion
//#region src/react/jav/jav-header.tsx
-function WB({ tab: e, navigate: t, find: n }) {
+function QB({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -55331,25 +55620,25 @@ function WB({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, x.jsx)(Zz, {
- tabs: fB.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, x.jsx)(aB, {
+ tabs: bB.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(PEe(e))
+ onChange: (e) => t(zEe(e))
})]
});
}
-function dDe({ navigate: e, receipt: t }) {
+function gDe({ navigate: e, receipt: t }) {
let [n, r] = (0, b.useState)(null);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(WB, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(QB, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, x.jsx)(SB, {
+ }), /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: n,
close: () => r(null),
receipt: t
@@ -55357,13 +55646,13 @@ function dDe({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/jav/jav-page.tsx
-var fDe = Lj("search");
-function pDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
+var _De = Lj("search");
+function vDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
let [i, a] = (0, b.useState)(null), [o, s] = (0, b.useState)("");
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full flex-col gap-6",
children: [
- /* @__PURE__ */ (0, x.jsx)(WB, {
+ /* @__PURE__ */ (0, x.jsx)(QB, {
tab: e,
navigate: n,
find: () => a({})
@@ -55373,29 +55662,29 @@ function pDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
onSubmit: (e) => {
e.preventDefault();
},
- children: /* @__PURE__ */ (0, x.jsx)($P, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
type: "search",
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
placeholder: "筛选番号、女优或标题",
- leadingIcon: fDe,
+ leadingIcon: _De,
value: o,
onChange: s,
enterKeyHint: "search"
})
}),
- e === "discover" ? /* @__PURE__ */ (0, x.jsx)(mDe, {
+ e === "discover" ? /* @__PURE__ */ (0, x.jsx)(yDe, {
readOnly: t,
receipt: r,
resource: a,
query: o.trim(),
navigate: n,
clearText: () => s("")
- }) : /* @__PURE__ */ (0, x.jsx)(lDe, {
+ }) : /* @__PURE__ */ (0, x.jsx)(mDe, {
readOnly: t,
toast: r,
query: o.trim()
}),
- /* @__PURE__ */ (0, x.jsx)(SB, {
+ /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: i,
close: () => a(null),
receipt: r
@@ -55403,7 +55692,7 @@ function pDe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
]
});
}
-function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
+function yDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
let [o, s] = (0, b.useState)("external"), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)("taste"), [f, p] = (0, b.useState)(!1), m = (0, b.useRef)(null);
(0, b.useEffect)(() => {
let e = [...m.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => Po(e, { drag: !0 }));
@@ -55416,12 +55705,12 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
home: !1,
portrait: !1
})), v = (0, b.useRef)({}), y = (0, b.useRef)(!1), S = (0, b.useRef)(!1), C = f ? "asc" : "desc", w = dt({
- queryKey: VB(o, u, C),
+ queryKey: YB(o, u, C),
retry: !1,
refetchOnWindowFocus: !1,
queryFn: ({ signal: e }) => {
let t = y.current, n = S.current;
- return y.current = !1, S.current = !1, HB(o, e, {
+ return y.current = !1, S.current = !1, XB(o, e, {
sort: u,
direction: C,
jobId: t ? void 0 : v.current[o],
@@ -55434,7 +55723,7 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
(0, b.useEffect)(() => {
T?.job_id && (v.current[o] = T.job_id);
}, [o, T?.job_id]);
- let E = pk(), D = pk(), O = (e) => {
+ let E = mk(), D = mk(), O = (e) => {
D.run(e, async () => (S.current = e === "stop", y.current = e !== "stop", w.refetch({
cancelRefetch: !0,
throwOnError: !0
@@ -55453,7 +55742,7 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"aria-busy": M,
className: "flex min-w-0 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, x.jsx)(Hk, {
+ /* @__PURE__ */ (0, x.jsx)(Uk, {
label: "发现筛选与排序",
topLabel: "发现范围与标签",
attrs: {
@@ -55468,7 +55757,7 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-catalog-scroll": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-catalog-views": "",
- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(Uk, {
+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(Wk, {
"data-entity-tag": e,
"data-entity-press": "",
pressed: o === e,
@@ -55482,8 +55771,8 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
})]
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-catalog-tags": "",
- dangerouslySetInnerHTML: M ? { __html: vB() } : void 0,
- children: M ? null : A.map((e) => /* @__PURE__ */ (0, x.jsxs)(Uk, {
+ dangerouslySetInnerHTML: M ? { __html: EB() } : void 0,
+ children: M ? null : A.map((e) => /* @__PURE__ */ (0, x.jsxs)(Wk, {
"data-catalog-tag": e,
"data-entity-press": "",
pressed: c === e,
@@ -55504,7 +55793,7 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
className: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"
}) : `${j.length} 部`
}),
- r || c ? /* @__PURE__ */ (0, x.jsx)(Wk, {
+ r || c ? /* @__PURE__ */ (0, x.jsx)(Gk, {
onPress: () => {
l(""), a();
},
@@ -55512,13 +55801,13 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-entity-sorts": "",
- children: [/* @__PURE__ */ (0, x.jsx)(iM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(yM, {
label: "JAV 卡片版式",
value: g,
options: AT,
onChange: WT
- }), /* @__PURE__ */ (0, x.jsx)(oM, {
- sorts: mB.map(([e, t, n]) => ({
+ }), /* @__PURE__ */ (0, x.jsx)(xM, {
+ sorts: SB.map(([e, t, n]) => ({
key: e,
label: t,
ariaLabel: n,
@@ -55535,7 +55824,7 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
M ? /* @__PURE__ */ (0, x.jsx)("div", {
role: "status",
"aria-label": "正在读取推荐",
- dangerouslySetInnerHTML: { __html: yB("discover", g) }
+ dangerouslySetInnerHTML: { __html: DB("discover", g) }
}) : null,
w.error ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
@@ -55547,7 +55836,7 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
className: "flex min-w-0 flex-wrap items-center justify-between gap-3",
children: [T?.status === "running" ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(jP, {
+ children: /* @__PURE__ */ (0, x.jsx)(KP, {
embedded: !0,
label: `正在读取作品资料 · ${T.completed} / ${T.total} 部`,
value: T.completed,
@@ -55576,11 +55865,11 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
tone: "error",
children: D.error
}) : null,
- !M && !w.error && !j.length ? /* @__PURE__ */ (0, x.jsx)(ck, {
+ !M && !w.error && !j.length ? /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: wO,
+ icon: TO,
title: r || c ? "没有符合条件的推荐" : "暂无匹配口味的作品",
- actions: /* @__PURE__ */ (0, x.jsx)(ok, {
+ actions: /* @__PURE__ */ (0, x.jsx)(sk, {
href: "/taste",
variant: "secondary",
children: "查看口味"
@@ -55593,13 +55882,13 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
"data-media-grid": "",
- className: _B,
+ className: TB,
style: { "--card-ratio": _ },
children: j.map((r) => {
- let a = UB(r, g, h.value.javImage), o = IEe(r.taste_score ?? r.score), s = [
+ let a = ZB(r, g, h.value.javImage), o = VEe(r.taste_score ?? r.score), s = [
o.label,
- `口味 ${hB(r.taste_score ?? r.score)}`,
- w.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${hB(r.ranking_score)}` : "",
+ `口味 ${CB(r.taste_score ?? r.score)}`,
+ w.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${CB(r.ranking_score)}` : "",
r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,
...r.reasons || []
].filter(Boolean).join(" · ");
@@ -55619,12 +55908,12 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-media-pic": "",
"data-jav-cover-box": "",
className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",
- children: a ? /* @__PURE__ */ (0, x.jsx)(fM, {
+ children: a ? /* @__PURE__ */ (0, x.jsx)(DM, {
artwork: {
kind: "cover",
html: a
},
- identity: UB(r, "small", h.value.javImage),
+ identity: ZB(r, "small", h.value.javImage),
relayout: (e) => zs(e, g)
}) : /* @__PURE__ */ (0, x.jsx)("span", {
"data-media-nopic": "",
@@ -55644,7 +55933,7 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-jav-identity": "",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-jav-faces": "",
- children: /* @__PURE__ */ (0, x.jsx)(NEe, { item: r })
+ children: /* @__PURE__ */ (0, x.jsx)(REe, { item: r })
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
title: r.performers,
@@ -55660,7 +55949,7 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
title: s,
"aria-label": `推荐分 ${o.score},${o.label}`,
className: "rounded-md outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, x.jsx)(ik, {
+ children: /* @__PURE__ */ (0, x.jsx)(ak, {
color: o.color,
children: o.label
})
@@ -55690,16 +55979,16 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
disabled: e || r.wanted || !!r.asset_id,
...q(E.busy === String(r.id)),
onClick: () => {
- E.run(String(r.id), (e) => EB({ code: r.code }, e), () => {
- t("已加入想要"), OB(), w.refetch();
+ E.run(String(r.id), (e) => PB({ code: r.code }, e), () => {
+ t("已加入想要"), IB(), w.refetch();
});
},
children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"
}),
- r.link ? /* @__PURE__ */ (0, x.jsx)(ok, {
+ r.link ? /* @__PURE__ */ (0, x.jsx)(sk, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: DO,
+ trailingIcon: OO,
href: r.link,
target: "_blank",
rel: "noopener noreferrer",
@@ -55716,12 +56005,12 @@ function mDe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var GB = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", hDe = {
- gray: `${GB} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${GB} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${GB} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var $B = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", bDe = {
+ gray: `${$B} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${$B} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${$B} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function gDe({ value: e, max: t }) {
+function xDe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, x.jsxs)("svg", {
role: "progressbar",
@@ -55749,16 +56038,16 @@ function gDe({ value: e, max: t }) {
})]
});
}
-function _De(e) {
- let { job: t } = MP(e), n = t.data, r = t.isError ? n ? RM : z(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function SDe(e) {
+ let { job: t } = qP(e), n = t.data, r = t.isError ? n ? $M : z(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : BM(n) + (c ? ` · ${Nk(l, c)}` : "")), d = s === "gray" ? pde : ide;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.total || 0, l = Math.min(n?.checked || 0, c), u = r || (a ? "扫描与资料采集未完成" : tN(n) + (c ? ` · ${Pk(l, c)}` : "")), d = s === "gray" ? pde : ide;
return /* @__PURE__ */ (0, x.jsxs)("aside", {
role: a ? "alert" : "status",
- className: hDe[s],
+ className: bDe[s],
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && c ? /* @__PURE__ */ (0, x.jsx)(gDe, {
+ children: [o && c ? /* @__PURE__ */ (0, x.jsx)(xDe, {
value: l,
max: c
}) : /* @__PURE__ */ (0, x.jsx)(d, {
@@ -55768,42 +56057,42 @@ function _De(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, x.jsx)(gk, {
+ }), /* @__PURE__ */ (0, x.jsx)(_k, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: xO,
+ trailingIcon: SO,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var vDe = "/api/playlists", KB = "/api/playlist", qB = ["playlists"], JB = (e) => B(vDe, e);
-async function yDe(e) {
+var CDe = "/api/playlists", eV = "/api/playlist", tV = ["playlists"], nV = (e) => B(CDe, e);
+async function wDe(e) {
await H.fetchQuery({
- queryKey: qB,
- queryFn: () => JB(e),
+ queryKey: tV,
+ queryFn: () => nV(e),
staleTime: 0
});
}
-var YB = () => H.invalidateQueries({
- queryKey: qB,
+var rV = () => H.invalidateQueries({
+ queryKey: tV,
exact: !0
-}), bDe = (e) => e.current_asset_id || e.preview_asset_id || null, XB = (e) => `/poster?id=${e}&c=4`, xDe = (e) => V(KB, {
+}), TDe = (e) => e.current_asset_id || e.preview_asset_id || null, iV = (e) => `/poster?id=${e}&c=4`, EDe = (e) => V(eV, {
action: "create",
name: e,
asset_ids: []
-}), ZB = (e, t) => V(KB, {
+}), aV = (e, t) => V(eV, {
action: "rename",
id: e,
name: t
-}), QB = (e) => V(KB, {
+}), oV = (e) => V(eV, {
action: "delete",
id: e
-}), SDe = (e) => B(`${KB}?id=${e}`).catch(() => null);
-function CDe(e) {
+}), DDe = (e) => B(`${eV}?id=${e}`).catch(() => null);
+function ODe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return V(KB, {
+ return V(eV, {
action: "create",
name: e.name,
asset_ids: t,
@@ -55813,18 +56102,18 @@ function CDe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var wDe = Lj("ellipsis"), TDe = Lj("pencil"), EDe = Lj("trash"), DDe = Lj("playlist"), $B = tk(oP, sP, "text-body-2-medium"), eV = "播放列表名称不能为空", tV = (e) => async () => {
+var kDe = Lj("ellipsis"), ADe = Lj("pencil"), jDe = Lj("trash"), MDe = Lj("playlist"), sV = nk(xP, SP, "text-body-2-medium"), cV = "播放列表名称不能为空", lV = (e) => async () => {
try {
await e();
} finally {
- YB();
+ rV();
}
};
-function ODe({ toast: e }) {
+function NDe({ toast: e }) {
let [t, n] = (0, b.useState)(""), [r, i] = (0, b.useState)(""), a = ft({
- mutationFn: (e) => xDe(e),
+ mutationFn: (e) => EDe(e),
onSuccess: (t) => {
- n(""), i(""), YB(), e("已新建播放列表", { undo: tV(() => QB(t.playlist.id)) });
+ n(""), i(""), rV(), e("已新建播放列表", { undo: lV(() => oV(t.playlist.id)) });
},
onError: (e) => i(z(e) || "新建失败")
});
@@ -55832,12 +56121,12 @@ function ODe({ toast: e }) {
"data-playlist-create": "",
"aria-label": "新建播放列表",
onSubmit: (e) => {
- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(eV));
+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(cV));
},
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, x.jsx)($P, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -55856,7 +56145,7 @@ function ODe({ toast: e }) {
})]
});
}
-function kDe({ target: e, close: t, toast: n }) {
+function PDe({ target: e, close: t, toast: n }) {
let [r, i] = (0, b.useState)(""), [a, o] = (0, b.useState)(""), s = (0, b.useRef)(null);
(0, b.useEffect)(() => {
if (!e) return;
@@ -55867,13 +56156,13 @@ function kDe({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = ft({
- mutationFn: ({ row: e, value: t }) => ZB(e.id, t),
+ mutationFn: ({ row: e, value: t }) => aV(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), YB(), n("已重命名播放列表", { undo: tV(() => ZB(r.id, r.name)) });
+ t(), rV(), n("已重命名播放列表", { undo: lV(() => aV(r.id, r.name)) });
},
onError: (e) => o(z(e))
});
- return /* @__PURE__ */ (0, x.jsx)(_I, {
+ return /* @__PURE__ */ (0, x.jsx)(Pj, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -55887,16 +56176,16 @@ function kDe({ target: e, close: t, toast: n }) {
n ? c.mutate({
row: e,
value: n
- }) : o(eV);
+ }) : o(cV);
},
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, x.jsx)(oA, {
+ children: [/* @__PURE__ */ (0, x.jsx)(sA, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, x.jsx)($P, {
+ }), /* @__PURE__ */ (0, x.jsx)(Nj, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -55924,7 +56213,7 @@ function kDe({ target: e, close: t, toast: n }) {
})
});
}
-function ADe({ name: e, onRename: t, onDelete: n }) {
+function FDe({ name: e, onRename: t, onDelete: n }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -55938,33 +56227,33 @@ function ADe({ name: e, onRename: t, onDelete: n }) {
"data-playlist-menu": "",
onClick: () => a(!0),
className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, x.jsx)(wDe, {
+ children: /* @__PURE__ */ (0, x.jsx)(kDe, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, x.jsx)(jA, {
+ }), /* @__PURE__ */ (0, x.jsx)(MA, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: aP,
- children: /* @__PURE__ */ (0, x.jsxs)(iP, {
+ className: bP,
+ children: /* @__PURE__ */ (0, x.jsxs)(yP, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: $B,
+ className: sV,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(TDe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ADe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: $B,
+ className: sV,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, x.jsx)(EDe, {
+ children: [/* @__PURE__ */ (0, x.jsx)(jDe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -55972,13 +56261,13 @@ function ADe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function jDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+function IDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
let a = dt({
- queryKey: qB,
- queryFn: ({ signal: e }) => JB(e)
+ queryKey: tV,
+ queryFn: ({ signal: e }) => nV(e)
}), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(i);
(0, b.useEffect)(() => {
- c.current !== i && (c.current = i, YB());
+ c.current !== i && (c.current = i, rV());
}, [i]);
let l = a.data, u = l?.items ?? [], d = (e) => {
cs({
@@ -55987,8 +56276,8 @@ function jDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await SDe(e.id);
- await QB(e.id), YB(), r("已删除播放列表", t ? { undo: tV(() => CDe(t)) } : void 0);
+ let t = await DDe(e.id);
+ await oV(e.id), rV(), r("已删除播放列表", t ? { undo: lV(() => ODe(t)) } : void 0);
}
});
};
@@ -56003,7 +56292,7 @@ function jDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}), /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, x.jsx)(ODe, { toast: r })]
+ })] }), /* @__PURE__ */ (0, x.jsx)(NDe, { toast: r })]
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "mx-auto w-full max-w-board",
@@ -56011,36 +56300,36 @@ function jDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
- let i = bDe(r), a = r.name.trim() || "未命名播放列表";
- return /* @__PURE__ */ (0, x.jsx)(CM, {
+ let i = TDe(r), a = r.name.trim() || "未命名播放列表";
+ return /* @__PURE__ */ (0, x.jsx)(RM, {
"data-playlist-card": String(r.id),
name: a,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? XB(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(XB),
+ poster: r.preview_asset_id ? iV(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(iV),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${a}`,
- menu: /* @__PURE__ */ (0, x.jsx)(ADe, {
+ menu: /* @__PURE__ */ (0, x.jsx)(FDe, {
name: a,
onRename: () => s(r),
onDelete: () => d(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
- icon: DDe,
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
+ icon: MDe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
- }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(dM, {
+ }) : a.isError ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: z(a.error) || "播放列表读取失败",
onRetry: () => void a.refetch()
}) : null
}),
- /* @__PURE__ */ (0, x.jsx)(kDe, {
+ /* @__PURE__ */ (0, x.jsx)(PDe, {
target: o,
close: () => s(null),
toast: r
@@ -56050,11 +56339,11 @@ function jDe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function MDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function LDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let o = () => t(e.id);
return /* @__PURE__ */ (0, x.jsxs)("li", {
"data-goal-id": e.id,
- className: sk({
+ className: ck({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -56070,7 +56359,7 @@ function MDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, x.jsx)("img", {
- src: XM(e),
+ src: dN(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -56118,7 +56407,7 @@ function MDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
origin: `asset:${e.id}`,
searchReason: e.reason || "",
duration: e.duration,
- cover: XM(e)
+ cover: dN(e)
}),
children: "查找资源"
}) : null, /* @__PURE__ */ (0, x.jsx)(G, {
@@ -56130,26 +56419,26 @@ function MDe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function NDe({ toast: e, ...t }) {
+function RDe({ toast: e, ...t }) {
let [n, r] = (0, b.useState)(null), i = dt({
- queryKey: JM,
- queryFn: ({ signal: e }) => YM(e)
+ queryKey: lN,
+ queryFn: ({ signal: e }) => uN(e)
}), a = i.data;
- if (!a) return /* @__PURE__ */ (0, x.jsx)(uk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!a) return /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "高清版目标读取失败",
children: i.error ? z(i.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let o = a.items || [];
- return o.length ? /* @__PURE__ */ (0, x.jsxs)(uk, { children: [
- /* @__PURE__ */ (0, x.jsx)(AR, {
+ return o.length ? /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(RR, {
label: "待升级",
figure: `${Number(a.total || 0).toLocaleString()} 部作品`,
flush: !0
}),
/* @__PURE__ */ (0, x.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(MDe, {
+ children: o.map((e) => /* @__PURE__ */ (0, x.jsx)(LDe, {
item: e,
...t,
searchResources: r
@@ -56159,12 +56448,12 @@ function NDe({ toast: e, ...t }) {
className: "mt-6 text-center text-caption-1-regular text-text-secondary",
children: `显示前 ${o.length.toLocaleString()} 部,共 ${Number(a.total).toLocaleString()} 部。`
}) : null,
- /* @__PURE__ */ (0, x.jsx)(SB, {
+ /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: n,
close: () => r(null),
receipt: e
})
- ] }) : /* @__PURE__ */ (0, x.jsx)(uk, { children: /* @__PURE__ */ (0, x.jsx)(ck, {
+ ] }) : /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: Ede,
title: "没有标记中的高清版目标",
@@ -56173,8 +56462,8 @@ function NDe({ toast: e, ...t }) {
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function PDe(e) {
- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = rve(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
+function zDe(e) {
+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = dve(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), S = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -56182,29 +56471,29 @@ function PDe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(FP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(FP, {
+ i.length > 1 ? /* @__PURE__ */ (0, x.jsxs)(XP, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(IP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ZP, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -56228,7 +56517,7 @@ function PDe(e) {
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, x.jsxs)(FP, {
+ b ? /* @__PURE__ */ (0, x.jsxs)(XP, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -56236,10 +56525,10 @@ function PDe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, x.jsx)(IP, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ZP, {
id: "",
children: S
- }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ }), y.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: e
}, e))]
@@ -56275,7 +56564,7 @@ function PDe(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var FDe = {
+var BDe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -56285,14 +56574,14 @@ var FDe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, nV = "reviewgenretags";
-function IDe({ tags: e }) {
+}, uV = "reviewgenretags";
+function VDe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("datalist", {
- id: nV,
+ id: uV,
children: e.map((e) => /* @__PURE__ */ (0, x.jsx)("option", { value: e }, e))
}) : null;
}
-function rV({ candidate: e, selectable: t = !1 }) {
+function dV({ candidate: e, selectable: t = !1 }) {
let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -56329,7 +56618,7 @@ function rV({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: FDe[e] || e
+ children: BDe[e] || e
}),
/* @__PURE__ */ (0, x.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -56344,11 +56633,11 @@ function rV({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function LDe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function HDe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, x.jsx)(rV, { candidate: a[0] })
+ children: /* @__PURE__ */ (0, x.jsx)(dV, { candidate: a[0] })
}) : /* @__PURE__ */ (0, x.jsx)(XA, {
"aria-label": `${t || "候选"}的来源`,
value: n,
@@ -56358,18 +56647,18 @@ function LDe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
children: a.map((e) => /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
- children: /* @__PURE__ */ (0, x.jsx)(rV, {
+ children: /* @__PURE__ */ (0, x.jsx)(dV, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function RDe({ genre: e, tags: t, locked: n, toast: r }) {
+function UDe({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = ft({
- mutationFn: (t) => dve(e, t),
+ mutationFn: (t) => yve(e, t),
onSuccess: async (t, n) => {
- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await pve()) : s(t.error || "服务端拒绝了这次收录");
+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await xve()) : s(t.error || "服务端拒绝了这次收录");
},
onError: (e) => s(z(e))
}), l = () => {
@@ -56384,16 +56673,16 @@ function RDe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, x.jsx)(XP, {
+ /* @__PURE__ */ (0, x.jsx)(Aj, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)(QP, {
+ children: /* @__PURE__ */ (0, x.jsx)(Mj, {
size: "small",
- list: t.length ? nV : void 0,
+ list: t.length ? uV : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -56425,8 +56714,8 @@ function RDe({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function zDe({ row: e, tags: t, locked: n, toast: r }) {
- let i = cve(e);
+function WDe({ row: e, tags: t, locked: n, toast: r }) {
+ let i = gve(e);
return i.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -56434,7 +56723,7 @@ function zDe({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, x.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(RDe, {
+ }), i.map((e) => /* @__PURE__ */ (0, x.jsx)(UDe, {
genre: e,
tags: t,
locked: n,
@@ -56444,24 +56733,49 @@ function zDe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var iV = (e = "") => /^https?:\/\//i.test(e) ? e : "", BDe = (e = "") => iV(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function aV({ url: e }) {
- let t = BDe(e || ""), [n, r] = (0, b.useState)(!1);
- return /* @__PURE__ */ (0, x.jsx)("div", {
- className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
- children: t && !n ? /* @__PURE__ */ (0, x.jsx)("img", {
- src: t,
+var fV = (e = "") => /^https?:\/\//i.test(e) ? e : "", GDe = (e = "") => fV(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function pV({ url: e }) {
+ let t = GDe(e || "");
+ return /* @__PURE__ */ (0, x.jsx)(KDe, { source: t }, t);
+}
+function KDe({ source: e }) {
+ let [t, n] = (0, b.useState)("idle");
+ return (0, b.useEffect)(() => {
+ if (t !== "loading") return;
+ let e = setTimeout(() => n("failed"), 3e4);
+ return () => clearTimeout(e);
+ }, [t]), /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "relative flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
+ children: [t === "loading" ? /* @__PURE__ */ (0, x.jsxs)("span", {
+ role: "status",
+ className: "absolute flex items-center gap-2 text-body-2-regular text-text-secondary",
+ children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: $a("正在加载图片") } }), "正在加载图片"]
+ }) : null, e && (t === "loading" || t === "ready") ? /* @__PURE__ */ (0, x.jsx)("img", {
+ src: e,
alt: "来源候选图片",
- loading: "lazy",
- className: "size-full object-contain",
- onError: () => r(!0)
+ referrerPolicy: "no-referrer",
+ decoding: "async",
+ className: `size-full object-contain ${t === "loading" ? "invisible" : ""}`,
+ onLoad: () => n("ready"),
+ onError: () => n("failed")
+ }) : e ? /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex flex-col items-center gap-2",
+ children: [t === "failed" ? /* @__PURE__ */ (0, x.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: "未取得来源图片"
+ }) : null, /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ onClick: () => n("loading"),
+ children: t === "failed" ? "重新加载图片" : "查看来源图片"
+ })]
}) : /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "未取得来源图片"
- })
+ })]
});
}
-function oV({ asset: e, openItem: t }) {
+function mV({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -56494,14 +56808,14 @@ function oV({ asset: e, openItem: t }) {
})]
});
}
-function VDe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function qDe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${Bz}`,
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${Jz}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -56517,8 +56831,8 @@ function VDe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function HDe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = iV(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function JDe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = fV(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, x.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -56528,10 +56842,10 @@ function HDe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, x.jsx)(ok, {
+ children: [o ? /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
size: "small",
- trailingIcon: DO,
+ trailingIcon: OO,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -56543,7 +56857,7 @@ function HDe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, x.jsx)(aV, { url: e.preview_url }),
+ /* @__PURE__ */ (0, x.jsx)(pV, { url: e.preview_url }),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -56586,7 +56900,7 @@ function HDe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function UDe({ assets: e, picked: t, onPicked: n, locked: r }) {
+function YDe({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, b.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -56642,7 +56956,7 @@ function UDe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, x.jsx)(VP, {
+ children: /* @__PURE__ */ (0, x.jsx)(nF, {
size: "sm",
state: {
isSelected: n,
@@ -56662,22 +56976,22 @@ function UDe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var WDe = sk({
+var XDe = ck({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), sV = "flex min-h-6 min-w-0 items-center", cV = 2, GDe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function KDe(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, b.useRef)(!1), m = DP(), h = DP(), g = t === "metadata_fields", _ = $_e[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = ave(t, n), C = iN(t, n), w = rN(t, n), T = ove(n), E = sve(n), D = nN(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {
+}), hV = "flex min-h-6 min-w-0 items-center", gV = 2, ZDe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function QDe(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, b.useRef)(!1), m = HP(), h = HP(), g = t === "metadata_fields", _ = sve[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, S = pve(t, n), C = yN(t, n), w = vN(t, n), T = mve(n), E = hve(n), D = _N(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [O.slice(0, cV).map((e) => /* @__PURE__ */ (0, x.jsx)(oV, {
+ children: [O.slice(0, gV).map((e) => /* @__PURE__ */ (0, x.jsx)(mV, {
asset: e,
openItem: f.openItem
- }, e.id)), O.length > cV ? /* @__PURE__ */ (0, x.jsx)("p", {
+ }, e.id)), O.length > gV ? /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: `另有 ${(O.length - cV).toLocaleString()} 部对照作品`
+ children: `另有 ${(O.length - gV).toLocaleString()} 部对照作品`
}) : null]
- }) : y ? /* @__PURE__ */ (0, x.jsx)(VDe, {
+ }) : y ? /* @__PURE__ */ (0, x.jsx)(qDe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -56688,14 +57002,14 @@ function KDe(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(oV, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, x.jsx)(mV, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(LDe, {
+ }) : null, M = g ? /* @__PURE__ */ (0, x.jsx)(HDe, {
row: n,
fieldName: C,
value: r.candidateKey,
@@ -56704,7 +57018,7 @@ function KDe(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(UDe, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, x.jsx)(YDe, {
assets: k,
picked: r.assets,
locked: s,
@@ -56712,24 +57026,24 @@ function KDe(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "inset",
icon: dde,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(HDe, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, x.jsx)(JDe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, x.jsx)(aV, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
- className: `${sV} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, x.jsx)(pV, { url: n.preview_url }), N = y ? j : C ? /* @__PURE__ */ (0, x.jsxs)("h4", {
+ className: `${hV} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
title: C,
className: "flex max-w-full min-w-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, x.jsx)(ik, {
+ children: /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "blue",
children: C
@@ -56740,7 +57054,7 @@ function KDe(e) {
children: w
})]
}) : /* @__PURE__ */ (0, x.jsx)("h4", {
- className: sV,
+ className: hV,
children: /* @__PURE__ */ (0, x.jsx)("span", {
title: S,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -56750,20 +57064,20 @@ function KDe(e) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"aria-label": S,
"data-review-key": n.item_key,
- className: `${WDe} ${GDe(t)} overflow-hidden`,
+ className: `${XDe} ${ZDe(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, x.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, x.jsx)("span", {
- className: `${sV} shrink-0`,
+ className: `${hV} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, x.jsx)(HP, {
+ children: /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: a,
"aria-label": `选择 ${S}`,
onChange: (e) => o(p.current, e)
@@ -56773,7 +57087,7 @@ function KDe(e) {
className: "min-w-0 flex-1",
children: N
}),
- A ? /* @__PURE__ */ (0, x.jsx)(ik, {
+ A ? /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -56797,7 +57111,7 @@ function KDe(e) {
!y && j ? j : null,
E.length || t === "creator_tags" ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(ik, {
+ children: E.length ? E.map((e) => /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "soft",
children: e
@@ -56807,7 +57121,7 @@ function KDe(e) {
})
}) : null,
M,
- /* @__PURE__ */ (0, x.jsx)(zDe, {
+ /* @__PURE__ */ (0, x.jsx)(WDe, {
row: n,
tags: u,
locked: s,
@@ -56870,8 +57184,8 @@ function KDe(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var qDe = "flex cursor-pointer items-center justify-between gap-2";
-function JDe({ page: e, pages: t, onPage: n }) {
+var $De = "flex cursor-pointer items-center justify-between gap-2";
+function eOe({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, x.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -56908,34 +57222,34 @@ function JDe({ page: e, pages: t, onPage: n }) {
]
});
}
-function YDe(e) {
+function tOe(e) {
let [t, n] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
(0, b.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(eN(e.category) ? e.category : Q_e), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, b.useState)(hN(e.category) ? e.category : ove), [p, m] = (0, b.useState)("candidates"), [h, g] = (0, b.useState)(""), [_, v] = (0, b.useState)(1), [y, S] = (0, b.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, b.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, b.useState)(/* @__PURE__ */ new Map()), [D, O] = (0, b.useState)(""), k = (0, b.useRef)(null), [A, j] = (0, b.useState)(0), [M, N] = (0, b.useState)(""), P = (0, b.useRef)(!0);
(0, b.useEffect)(() => () => {
P.current = !1;
}, []);
let ee = dt({
- queryKey: QM,
- queryFn: ({ signal: e }) => oN(e)
+ queryKey: pN,
+ queryFn: ({ signal: e }) => xN(e)
}), F = ee.data || {
sections: {},
counts: {}
- }, te = F.sections[d] || [], ne = d === "metadata_fields", re = c, ie = eve(te, ne), ae = ie.some(([e]) => e === p) ? p : "candidates", oe = tN(te, ae), se = oe.some((e) => e.key === h) ? h : "", ce = nve(tve(te, ae, se), _), le = ce.rows.map((e) => e.item_key), ue = new Set(le), de = oe.map((e) => ({
+ }, te = F.sections[d] || [], ne = d === "metadata_fields", re = c, ie = cve(te, ne), ae = ie.some(([e]) => e === p) ? p : "candidates", oe = gN(te, ae), se = oe.some((e) => e.key === h) ? h : "", ce = uve(lve(te, ae, se), _), le = ce.rows.map((e) => e.item_key), ue = new Set(le), de = oe.map((e) => ({
...e,
rows: e.rows.filter((e) => ue.has(e.item_key))
- })).filter((e) => e.rows.length), fe = (e) => C.get(e.item_key) || lve(e), pe = te.filter((e) => y.has(e.item_key)), me = (e) => {
+ })).filter((e) => e.rows.length), fe = (e) => C.get(e.item_key) || _ve(e), pe = te.filter((e) => y.has(e.item_key)), me = (e) => {
let t = new Set(e);
S((e) => new Set([...e].filter((e) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e)))), E((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, he = (e, t) => E((n) => new Map(n).set(e, t)), ge = (e) => {
f(e), m("candidates"), g(""), v(1), S(/* @__PURE__ */ new Set()), w(/* @__PURE__ */ new Map()), E(/* @__PURE__ */ new Map()), O(""), k.current = null, r({ category: e === "metadata_fields" ? "" : e });
}, _e = ft({
- mutationFn: ({ row: e, status: t }) => sN(aN(d, e, t, fe(e))),
+ mutationFn: ({ row: e, status: t }) => SN(bN(d, e, t, fe(e))),
onSuccess: (e, { row: t, status: n }) => {
- e.ok ? (cN(d, [t.item_key]), me([t.item_key]), s(uve(n))) : he(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (CN(d, [t.item_key]), me([t.item_key]), s(vve(n))) : he(t.item_key, e.error || "服务端拒绝了这次判定");
},
onError: (e, { row: t }) => he(t.item_key, z(e))
}), ve = ft({
@@ -56945,7 +57259,7 @@ function YDe(e) {
if (!P.current) break;
O(`正在处理 ${i} / ${t.length}`);
try {
- let t = await sN(aN(d, a, e, fe(a)));
+ let t = await SN(bN(d, a, e, fe(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -56959,7 +57273,7 @@ function YDe(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- cN(d, t), me(t), n.forEach(([e, t]) => he(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ CN(d, t), me(t), n.forEach(([e, t]) => he(e, t)), O(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
O(z(e));
@@ -56983,7 +57297,7 @@ function YDe(e) {
j(e), N("");
let t = await o(e);
P.current && (j(0), N(t));
- }, Se = mve(F.mirror, l), Ce = F.genre_tags || [], we = {
+ }, Se = Sve(F.mirror, l), Ce = F.genre_tags || [], we = {
openItem: i,
openEntity: a,
onReveal: xe,
@@ -56991,7 +57305,7 @@ function YDe(e) {
revealNote: M,
toast: s
};
- return /* @__PURE__ */ (0, x.jsx)(uk, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
+ return /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
re ? /* @__PURE__ */ (0, x.jsx)(K, {
@@ -57007,13 +57321,13 @@ function YDe(e) {
}) : void 0,
children: Se
}) : null,
- /* @__PURE__ */ (0, x.jsx)(IDe, { tags: Ce }),
+ /* @__PURE__ */ (0, x.jsx)(VDe, { tags: Ce }),
/* @__PURE__ */ (0, x.jsxs)(Tj, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- eN(t) && ge(t);
+ hN(t) && ge(t);
},
className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -57026,12 +57340,12 @@ function YDe(e) {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: Z_e.map((e) => {
+ children: ave.map((e) => {
let t = Number(F.counts[e] || 0);
return /* @__PURE__ */ (0, x.jsxs)(Dj, {
id: e,
- className: qDe,
- children: [$M[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
+ className: $De,
+ children: [mN[e], t ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
@@ -57042,7 +57356,7 @@ function YDe(e) {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !re ? /* @__PURE__ */ (0, x.jsx)(PDe, {
+ te.length && !re ? /* @__PURE__ */ (0, x.jsx)(zDe, {
groupOptions: ie,
groupBy: ae,
onGroupBy: (e) => {
@@ -57058,7 +57372,7 @@ function YDe(e) {
onSelected: S,
selectedRows: pe,
metadata: ne,
- approvable: pe.every((e) => nN(d, e)),
+ approvable: pe.every((e) => _N(d, e)),
busy: ve.isPending,
feedback: D,
onUnifySource: be,
@@ -57083,7 +57397,7 @@ function YDe(e) {
})]
}) : null, /* @__PURE__ */ (0, x.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(KDe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(QDe, {
category: d,
row: e,
choice: fe(e),
@@ -57091,7 +57405,7 @@ function YDe(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => S((r) => {
let i = new Set(r);
- return k.current = ive(i, le, k.current, e.item_key, t, n), i;
+ return k.current = fve(i, le, k.current, e.item_key, t, n), i;
}),
locked: re,
busy: _e.isPending && _e.variables?.row.item_key === e.item_key,
@@ -57117,12 +57431,12 @@ function YDe(e) {
children: "重试"
}),
children: z(ee.error)
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
icon: nde,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, x.jsx)(JDe, {
+ /* @__PURE__ */ (0, x.jsx)(eOe, {
page: ce.page,
pages: ce.pages,
onPage: v
@@ -57134,42 +57448,354 @@ function YDe(e) {
}) });
}
//#endregion
-//#region src/react/scraping/scraping.ts
-var XDe = "/api/scraping", ZDe = "/api/scraping/settings", QDe = "/api/scraping/check", lV = "/api/scraping/cover", $De = "/api/scraping/amane-bridge", eOe = "/api/scraping/amane-bridge/check", tOe = "/api/scraping/amane-bridge/rebuild", uV = ["scraping"], dV = ["scraping", "cover"], fV = ["scraping", "amane-bridge"], pV = (e) => B(XDe, e), mV = (e) => B(lV, e), hV = (e) => B($De, e);
-async function nOe(e) {
+//#region src/react/scraping/custom-source-data.ts
+var _V = "/api/custom-metadata", vV = ["custom-metadata"], yV = (e) => B(_V, e), nOe = "/api/scraping", rOe = "/api/scraping/settings", iOe = "/api/scraping/check", bV = "/api/scraping/cover", aOe = "/api/scraping/amane-bridge", oOe = "/api/scraping/amane-bridge/check", sOe = "/api/scraping/amane-bridge/rebuild", xV = ["scraping"], SV = ["scraping", "cover"], CV = ["scraping", "amane-bridge"], wV = (e) => B(nOe, e), TV = (e) => B(bV, e), EV = (e) => B(aOe, e);
+async function cOe(e) {
await Promise.all([
H.fetchQuery({
- queryKey: uV,
- queryFn: () => pV(e)
+ queryKey: xV,
+ queryFn: () => wV(e)
}),
H.fetchQuery({
- queryKey: dV,
- queryFn: () => mV(e)
+ queryKey: SV,
+ queryFn: () => TV(e)
}),
H.fetchQuery({
- queryKey: fV,
- queryFn: () => hV(e)
+ queryKey: CV,
+ queryFn: () => EV(e)
+ }),
+ H.fetchQuery({
+ queryKey: vV,
+ queryFn: () => yV(e)
})
]);
}
-function rOe(e, t) {
- return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");
+function lOe(e, t) {
+ return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");
+}
+//#endregion
+//#region src/react/settings-panel/legacy-controls.tsx
+var DV = (e) => e.map(([e, t, n]) => n ? [
+ e,
+ t,
+ n
+] : [e, t]);
+function OV({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+ let u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(l);
+ return f.current = l, (0, b.useLayoutEffect)(() => {
+ let e = u.current;
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Qo(t, n, DV(r), i, {
+ attr: a,
+ className: o,
+ text: s
+ }), $o(e, a, (e) => {
+ d.current = {
+ value: e,
+ epoch: c
+ }, f.current(e);
+ }), d.current = {
+ value: i,
+ epoch: c
+ }));
+ }), /* @__PURE__ */ (0, x.jsx)("div", {
+ id: e,
+ ref: u
+ });
+}
+function kV({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
+ let d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(-1), m = (0, b.useRef)(l);
+ return m.current = l, (0, b.useLayoutEffect)(() => {
+ let e = d.current;
+ if (!e) return;
+ if (p.current !== c || !f.current) {
+ e.innerHTML = Ka(DV(n), r, { label: t });
+ let i = qa(e.firstElementChild);
+ i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
+ }
+ let o = f.current;
+ o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && Yo(o, a), u?.(o);
+ }), /* @__PURE__ */ (0, x.jsx)("div", {
+ id: e,
+ ref: d,
+ hidden: o,
+ "aria-describedby": s
+ });
+}
+function uOe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+ let s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)({
+ onStep: a,
+ onSettle: o
+ });
+ return l.current = {
+ onStep: a,
+ onSettle: o
+ }, (0, b.useLayoutEffect)(() => {
+ let i = s.current;
+ i && !c.current && (i.insertAdjacentHTML("beforeend", ts({
+ value: r,
+ min: 0,
+ max: n,
+ step: 1,
+ label: t,
+ attr: `data-glow-dial="${e}"`
+ })), c.current = ns(i.lastElementChild, {
+ onInput: (e) => l.current.onStep(e),
+ onChange: (e) => l.current.onSettle(e)
+ }));
+ }), (0, b.useLayoutEffect)(() => {
+ c.current && c.current.value !== r && c.current.set(r);
+ }, [r]), /* @__PURE__ */ (0, x.jsx)("div", {
+ "data-glow-field": e,
+ hidden: i,
+ ref: s,
+ children: /* @__PURE__ */ (0, x.jsx)("span", {
+ "data-glow-field-label": "",
+ children: t
+ })
+ });
+}
+//#endregion
+//#region src/react/scraping/custom-sources.tsx
+var dOe = [
+ ["code", "番号"],
+ ["title", "标题"],
+ ["studio", "厂牌"],
+ ["series", "系列"],
+ ["release_date", "发行日期"],
+ ["performers", "演员(文本数组)"],
+ ["tags", "标签(文本数组)"]
+], fOe = [
+ ["censored", "有码"],
+ ["amateur", "素人"],
+ ["uncensored", "无码"],
+ ["fc2", "FC2"],
+ ["kmib", "韩国 MIB"],
+ ["other", "其他"],
+ ["unsure", "待核番号"],
+ ["unknown", "未知"]
+], pOe = () => ({
+ name: "",
+ endpoint: "",
+ enabled: !1,
+ fields: {
+ code: "id",
+ title: "title"
+ },
+ content_types: ["censored"]
+});
+function mOe({ receipt: e }) {
+ let [t, n] = (0, b.useState)(null), r = dt({
+ queryKey: vV,
+ queryFn: ({ signal: e }) => yV(e)
+ }), i = mk(), a = (e) => H.setQueryData(vV, e);
+ return /* @__PURE__ */ (0, x.jsx)(vk, {
+ title: "自定义元数据来源",
+ children: /* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ r.isPending ? /* @__PURE__ */ (0, x.jsx)("div", {
+ "aria-busy": "true",
+ "data-skeleton": "",
+ "aria-label": "读取自定义来源"
+ }) : null,
+ r.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: z(r.error) }) : null,
+ r.data?.items.map((t) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-3",
+ children: [
+ /* @__PURE__ */ (0, x.jsxs)("span", {
+ className: "min-w-0 flex-1",
+ children: [
+ t.name,
+ " · ",
+ t.enabled ? "已启用" : "已停用"
+ ]
+ }),
+ /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ onClick: () => n(t),
+ children: "编辑"
+ }),
+ /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ ...q(i.busy === t.id),
+ onClick: () => void i.run(t.id, (e) => V(_V, {
+ ...t,
+ enabled: !t.enabled
+ }, "POST", e), (n) => {
+ a(n), e(t.enabled ? "已停用来源" : "已启用来源");
+ }),
+ children: t.enabled ? "停用" : "启用"
+ }),
+ /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "danger",
+ onClick: () => cs({
+ title: "删除自定义来源",
+ body: `删除「${R(t.name)}」后,采集将不再查询这个来源。`,
+ confirmLabel: "删除来源",
+ onConfirm: async () => {
+ a(await V(_V, {
+ action: "delete",
+ id: t.id
+ })), n(null), e("已删除来源");
+ }
+ }),
+ children: "删除"
+ })
+ ]
+ }, t.id)),
+ i.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: i.error }) : null,
+ t ? null : /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ onClick: () => n(pOe()),
+ children: "添加来源"
+ }),
+ t ? /* @__PURE__ */ (0, x.jsx)(hOe, {
+ initial: t,
+ cancel: () => n(null),
+ saved: (t) => {
+ a(t), n(null), e("已保存来源");
+ }
+ }, t.id || "new") : null
+ ] })
+ });
+}
+function hOe({ initial: e, cancel: t, saved: n }) {
+ let [r, i] = (0, b.useState)(e), [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(""), l = (0, b.useRef)(0), u = mk(), d = (e) => {
+ l.current++, i((t) => ({
+ ...t,
+ ...e
+ })), c("");
+ };
+ return /* @__PURE__ */ (0, x.jsxs)("form", {
+ "aria-label": "元数据来源配置",
+ "aria-busy": u.busy === "preview",
+ onSubmit: (e) => {
+ e.preventDefault(), u.run("save", (e) => V(_V, r, "POST", e), n);
+ },
+ children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
+ label: "来源名称",
+ value: r.name,
+ maxLength: 80,
+ onChange: (e) => d({ name: e })
+ }),
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
+ label: "JSON 接口地址",
+ value: r.endpoint,
+ maxLength: 2048,
+ placeholder: "https://example.com/api/movies/{code}",
+ onChange: (e) => d({ endpoint: e })
+ }),
+ /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "来源连接方式" }), /* @__PURE__ */ (0, x.jsx)(kV, {
+ id: "custom-source-network",
+ label: "来源连接方式",
+ epoch: 0,
+ value: r.network || "direct",
+ options: [["direct", "直连"], ["peach_proxy", "Peach 代理"]],
+ onPick: (e) => d({ network: e })
+ })]
+ }),
+ /* @__PURE__ */ (0, x.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: "接口番号格式" }), /* @__PURE__ */ (0, x.jsx)(kV, {
+ id: "custom-source-code-format",
+ label: "接口番号格式",
+ epoch: 0,
+ value: r.code_format || "original",
+ options: [
+ ["original", "原样"],
+ ["lowercase", "小写"],
+ ["compact", "去掉连字符"],
+ ["underscore", "连字符转下划线"]
+ ],
+ onPick: (e) => d({ code_format: e })
+ })]
+ }),
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
+ dOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(Nj, {
+ label: `${t}字段路径`,
+ value: r.fields[e] || "",
+ onChange: (t) => {
+ let n = { ...r.fields };
+ t ? n[e] = t : delete n[e], d({ fields: n });
+ }
+ }, e)),
+ /* @__PURE__ */ (0, x.jsx)("div", {
+ className: "flex flex-wrap gap-3",
+ role: "group",
+ "aria-label": "适用内容类型",
+ children: fOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(rF, {
+ isSelected: r.content_types.includes(e),
+ onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),
+ children: t
+ }, e))
+ }),
+ /* @__PURE__ */ (0, x.jsx)(rF, {
+ isSelected: r.enabled,
+ onChange: (e) => d({ enabled: e }),
+ children: "启用来源"
+ }),
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
+ label: "试查番号(回车查询)",
+ value: a,
+ onChange: (e) => {
+ l.current++, o(e), c("");
+ },
+ onKeyDown: (e) => {
+ if (e.key !== "Enter" || e.nativeEvent.isComposing) return;
+ e.preventDefault();
+ let t = l.current;
+ u.run("preview", (e) => V(_V, {
+ ...r,
+ code: a,
+ action: "preview"
+ }, "POST", e), (e) => {
+ t === l.current && c(JSON.stringify(e.record, null, 2));
+ }, (e) => {
+ t === l.current && u.setError(z(e));
+ });
+ }
+ }),
+ u.busy === "preview" ? /* @__PURE__ */ (0, x.jsxs)(Sk, {
+ role: "status",
+ children: [/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: $a("正在试查来源") } }), "正在试查来源…"]
+ }) : null,
+ s ? /* @__PURE__ */ (0, x.jsx)("pre", {
+ className: "whitespace-pre-wrap break-all",
+ children: s
+ }) : null,
+ u.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: u.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(xk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ type: "button",
+ onClick: t,
+ children: "取消"
+ }), /* @__PURE__ */ (0, x.jsx)(G, {
+ type: "submit",
+ ...q(u.busy === "save"),
+ children: "保存来源"
+ })] })]
+ });
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var gV = [["peach", "Peach 代理"], ["direct", "直接连接"]];
-function iOe(e) {
- return gV.some(([t]) => t === e) || !e ? [...gV] : [...gV, [e, e]];
+var AV = [["peach", "Peach 代理"], ["direct", "直接连接"]];
+function gOe(e) {
+ return AV.some(([t]) => t === e) || !e ? [...AV] : [...AV, [e, e]];
}
-function aOe(e) {
+function _Oe(e) {
try {
return new URL(e).host || e;
} catch {
return e;
}
}
-var _V = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function vV({ source: e }) {
+var jV = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function MV({ source: e }) {
+ if (e === "makers") return /* @__PURE__ */ (0, x.jsx)(Que, {
+ "aria-hidden": !0,
+ className: "size-4 shrink-0"
+ });
let t = [
"javten",
"fc2ppvdb",
@@ -57187,16 +57813,16 @@ function vV({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function oOe() {
- return /* @__PURE__ */ (0, x.jsx)(vV, { source: "github" });
+function vOe() {
+ return /* @__PURE__ */ (0, x.jsx)(MV, { source: "github" });
}
-function sOe({ source: e, toast: t }) {
- let [n, r] = (0, b.useState)(e.network), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(_V[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);
+function yOe({ source: e, toast: t }) {
+ let [n, r] = (0, b.useState)(e.network), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(jV[0][0]), [u, d] = (0, b.useState)(""), [f, p] = (0, b.useState)(""), m = (0, b.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = ft({
- mutationFn: (t) => V(ZDe, {
+ mutationFn: (t) => V(rOe, {
source: e.source,
network: n,
cookie: i,
@@ -57204,12 +57830,12 @@ function sOe({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- H.setQueryData(uV, (t) => t && {
+ H.setQueryData(xV, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = ft({ mutationFn: () => V(QDe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = ft({ mutationFn: () => V(iOe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, S = () => {
v || (_.reset(), g.mutate(!0));
@@ -57228,41 +57854,45 @@ function sOe({ source: e, toast: t }) {
}
}
let T = f || (g.error ? z(g.error) : "") || (_.error ? z(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || e.browser || !!T || E.length > 0;
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(vV, { source: e.source }), /* @__PURE__ */ (0, x.jsx)(wk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(MV, { source: e.source }), e.login ? /* @__PURE__ */ (0, x.jsx)(Tk, {
href: e.login,
- children: aOe(e.login)
- })]
+ children: _Oe(e.login)
+ }) : null]
}),
children: [
- /* @__PURE__ */ (0, x.jsx)(vk, { children: /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(hk, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(FP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "连接方式",
className: "w-44 min-w-0",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: iOe(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: gOe(n).map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
})
}) }),
- D ? /* @__PURE__ */ (0, x.jsxs)(yk, {
+ e.cooldown_until && e.cooldown_until > Date.now() / 1e3 ? /* @__PURE__ */ (0, x.jsxs)(K, {
+ tone: "warning",
+ children: ["来源正在冷却,截止 ", (/* @__PURE__ */ new Date(e.cooldown_until * 1e3)).toLocaleString("zh-CN")]
+ }) : null,
+ D ? /* @__PURE__ */ (0, x.jsxs)(bk, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, x.jsx)(gk, {
+ children: /* @__PURE__ */ (0, x.jsx)(_k, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: xO,
+ trailingIcon: SO,
children: "配置 Peach 代理"
})
}) : null,
@@ -57275,20 +57905,20 @@ function sOe({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, x.jsx)(jj, {
+ /* @__PURE__ */ (0, x.jsx)(Jj, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: Mj,
- children: _V.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
+ className: Yj,
+ children: jV.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
- className: Nj,
+ className: Xj,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, x.jsx)($P, {
+ c === "paste" ? /* @__PURE__ */ (0, x.jsx)(Nj, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -57297,7 +57927,7 @@ function sOe({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(Ck, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, x.jsx)(wk, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
@@ -57323,14 +57953,14 @@ function sOe({ source: e, toast: t }) {
]
})
] }) : null,
- T ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: T }) : null,
+ T ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: T }) : null,
E.map((t) => /* @__PURE__ */ (0, x.jsx)(K, {
tone: t.ok ? "success" : "error",
- children: rOe(t, e.label)
+ children: lOe(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(xk, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: S,
@@ -57352,26 +57982,26 @@ function sOe({ source: e, toast: t }) {
]
});
}
-function cOe({ toast: e }) {
- let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = RP({
- queryKey: dV,
- queryFn: ({ signal: e }) => mV(e),
- start: () => V(lV, { code: t }),
+function bOe({ toast: e }) {
+ let [t, n] = (0, b.useState)(""), { running: r, outcome: i, start: a } = $P({
+ queryKey: SV,
+ queryFn: ({ signal: e }) => TV(e),
+ start: () => V(bV, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? z(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, x.jsx)(_k, {
+ return /* @__PURE__ */ (0, x.jsx)(vk, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, x.jsxs)(yk, { children: [
+ children: /* @__PURE__ */ (0, x.jsxs)(bk, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, x.jsx)($P, {
+ children: /* @__PURE__ */ (0, x.jsx)(Nj, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -57386,7 +58016,7 @@ function cOe({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, x.jsx)(lk, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: s
@@ -57398,11 +58028,11 @@ function cOe({ toast: e }) {
] })
});
}
-function lOe({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = RP({
- queryKey: fV,
- queryFn: ({ signal: e }) => hV(e),
- start: () => V(tOe, {}),
+function xOe({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = $P({
+ queryKey: CV,
+ queryFn: ({ signal: e }) => EV(e),
+ start: () => V(sOe, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -57411,52 +58041,52 @@ function lOe({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = ft({ mutationFn: () => V(eOe, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(_k, {
+ }), a = ft({ mutationFn: () => V(oOe, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, x.jsx)(vk, {
title: "amane",
- children: /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: z(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? z(i.error) : a.error ? z(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "amane",
- aside: /* @__PURE__ */ (0, x.jsx)(wk, {
+ aside: /* @__PURE__ */ (0, x.jsx)(Tk, {
href: o.repository,
- leadingIcon: oOe,
+ leadingIcon: vOe,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, x.jsxs)(Tk, { children: [
- /* @__PURE__ */ (0, x.jsx)(Ek, {
+ /* @__PURE__ */ (0, x.jsxs)(Ek, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, x.jsx)(Ek, {
+ /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, x.jsx)(Ek, {
+ /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, x.jsxs)(Ek, {
+ /* @__PURE__ */ (0, x.jsxs)(Dk, {
term: "内置站点",
children: [o.sites.length.toLocaleString(), " 个"]
})
] }),
- /* @__PURE__ */ (0, x.jsxs)(yk, {
+ /* @__PURE__ */ (0, x.jsxs)(bk, {
divided: !0,
children: [
- o.sites.length ? /* @__PURE__ */ (0, x.jsx)(Dk, {
+ o.sites.length ? /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: "查看内置站点",
children: /* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: o.sites.map((e) => e.label).join("、")
})
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(xk, { children: [
+ /* @__PURE__ */ (0, x.jsxs)(Sk, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -57465,7 +58095,7 @@ function lOe({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, x.jsx)(lk, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: c
@@ -57476,7 +58106,7 @@ function lOe({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(bk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(xk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -57493,23 +58123,24 @@ function lOe({ toast: e }) {
]
});
}
-function uOe({ toast: e }) {
+function SOe({ toast: e }) {
let t = dt({
- queryKey: uV,
- queryFn: ({ signal: e }) => pV(e)
+ queryKey: xV,
+ queryFn: ({ signal: e }) => wV(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, x.jsxs)(uk, { children: [
+ return n ? /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, x.jsx)(cOe, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(sOe, {
+ /* @__PURE__ */ (0, x.jsx)(bOe, { toast: e }),
+ /* @__PURE__ */ (0, x.jsx)(mOe, { receipt: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, x.jsx)(yOe, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, x.jsx)(lOe, { toast: e })
- ] }) : /* @__PURE__ */ (0, x.jsx)(uk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ /* @__PURE__ */ (0, x.jsx)(xOe, { toast: e })
+ ] }) : /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? z(t.error) : "读取采集来源失败"
@@ -57517,21 +58148,21 @@ function uOe({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var yV = /* @__PURE__ */ new Set([
+var NV = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), bV = /* @__PURE__ */ new Set(["asset"]), xV = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function dOe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
+]), PV = /* @__PURE__ */ new Set(["asset"]), FV = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function COe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
...e,
index: s++
};
return c.push(t), t;
- }, u = t.filter((t) => !e || xV(t).includes(xV(e)));
+ }, u = t.filter((t) => !e || FV(t).includes(FV(e)));
if (!e) {
let e = u.length ? {
label: "搜索记录",
@@ -57578,7 +58209,7 @@ function dOe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, h = p.filter((e) => !bV.has(e.kind)).map(m), g = p.filter((e) => bV.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);
+ }, h = p.filter((e) => !PV.has(e.kind)).map(m), g = p.filter((e) => PV.has(e.kind)).map(m), _ = d && !p.some((e) => e.items.length);
return {
tabs: d && a.length > 1 ? [...a] : null,
recent: f,
@@ -57588,17 +58219,17 @@ function dOe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: c
};
}
-function fOe(e, t, n = Math.random) {
+function wOe(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => xV(t) === xV(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => FV(t) === FV(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var pOe = () => ({
+var TOe = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -57614,7 +58245,7 @@ var pOe = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), SV = (e) => dOe({
+}), IV = (e) => COe({
query: e.query,
history: e.history,
picks: e.picks,
@@ -57622,18 +58253,18 @@ var pOe = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), mOe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), CV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+}), EOe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), LV = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
});
-function hOe(e) {
+function DOe(e) {
let t = (0, b.useRef)(e);
t.current = e;
let n = (0, b.useRef)(null);
- n.current ??= pOe();
+ n.current ??= TOe();
let r = n.current, i = (0, b.useRef)(null), [, a] = (0, b.useReducer)((e) => e + 1, 0), o = (0, b.useRef)(null);
- o.current ??= gOe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= OOe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, b.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -57646,7 +58277,7 @@ function hOe(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = SV(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(vOe, {
+ let c = IV(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, x.jsx)(AOe, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -57670,7 +58301,7 @@ function hOe(e) {
"data-search-root": "",
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, x.jsx)(_Oe, {
+ c.tabs ? /* @__PURE__ */ (0, x.jsx)(kOe, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -57696,7 +58327,7 @@ function hOe(e) {
]
});
}
-function gOe(e, t, n, r) {
+function OOe(e, t, n, r) {
let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {
t.history = n.slice(0, e().historyLimit);
}, c = async () => {
@@ -57707,7 +58338,7 @@ function gOe(e, t, n, r) {
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- t && e().historyLimit && (s([t, ...o().filter((e) => xV(e) !== xV(t))]), V("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => FV(e) !== FV(t))]), V("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -57744,9 +58375,9 @@ function gOe(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : fOe(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : wOe(t.pool, o()), t.active = -1;
let a = n();
- a && (mOe(SV(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (EOe(IV(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -57758,7 +58389,7 @@ function gOe(e, t, n, r) {
n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
a() && t.kind === e && m();
}));
- }, _ = () => f() ? SV(t).options : [], v = (e) => {
+ }, _ = () => f() ? IV(t).options : [], v = (e) => {
let n = _();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, y = (t, n) => {
@@ -57767,7 +58398,7 @@ function gOe(e, t, n, r) {
}, b = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, x = (t) => {
- t.type === "more" ? (y(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && yV.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));
+ t.type === "more" ? (y(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && NV.has(t.kind) ? b(t.kind, t.value) : (i().value = t.value, y(!1, !0));
};
return {
input: (t) => {
@@ -57811,12 +58442,12 @@ function gOe(e, t, n, r) {
await V("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => xV(t) !== xV(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => FV(t) !== FV(e))), t.active = -1, r();
},
pickKind: g
};
}
-function _Oe({ tabs: e, kind: t, onPick: n, wire: r }) {
+function kOe({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
r(i.current);
@@ -57828,7 +58459,7 @@ function _Oe({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, x.jsx)(Xz, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, x.jsx)(iB, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
@@ -57838,8 +58469,8 @@ function _Oe({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var wV = (e) => e.preventDefault();
-function vOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var RV = (e) => e.preventDefault();
+function AOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -57851,40 +58482,40 @@ function vOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: wV,
+ onMouseDown: RV,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, x.jsx)(CV, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(LV, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, x.jsx)(CV, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, x.jsx)(LV, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: wV,
+ onMouseDown: RV,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, x.jsx)(CV, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(LV, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = yV.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = NV.has(c) ? c : void 0;
if (c === "asset") {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-search-option": "work",
"data-open-item": s.id,
...o,
- children: [/* @__PURE__ */ (0, x.jsx)(TV, {
+ children: [/* @__PURE__ */ (0, x.jsx)(zV, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -57910,7 +58541,7 @@ function vOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- /* @__PURE__ */ (0, x.jsx)(EV, {
+ /* @__PURE__ */ (0, x.jsx)(BV, {
item: s,
kind: c
}),
@@ -57930,11 +58561,11 @@ function vOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-open-work": e.id,
"aria-label": `打开 ${e.code || s.value}`,
- onMouseDown: wV,
+ onMouseDown: RV,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, x.jsx)(TV, {
+ children: /* @__PURE__ */ (0, x.jsx)(zV, {
card: e,
helpers: n
})
@@ -57948,7 +58579,7 @@ function vOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(EV, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, x.jsx)(BV, {
item: s,
kind: c
}) : null,
@@ -57961,13 +58592,13 @@ function vOe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function TV({ card: e, helpers: t }) {
+function zV({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function EV({ item: e, kind: t }) {
+function BV({ item: e, kind: t }) {
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -57983,45 +58614,45 @@ function EV({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var DV = "/api/configuration", yOe = "/api/pick-folder", OV = ["configuration"], kV = (e) => B(DV, e);
-async function bOe(e) {
+var VV = "/api/configuration", jOe = "/api/pick-folder", HV = ["configuration"], UV = (e) => B(VV, e);
+async function MOe(e) {
await H.fetchQuery({
- queryKey: OV,
- queryFn: () => kV(e)
+ queryKey: HV,
+ queryFn: () => UV(e)
});
}
//#endregion
//#region src/react/settings/configuration-panel.ts
-var AV = "flex flex-col gap-6";
-function jV(e) {
+var WV = "flex flex-col gap-6";
+function GV(e) {
return e ? {
- className: e.active ? `${AV} ui-board-group-active` : AV,
+ className: e.active ? `${WV} ui-board-group-active` : WV,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: AV };
+ } : { className: WV };
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var xOe = "/api/configuration/downloads", MV = "/api/configuration/downloads/check", SOe = "/api/configuration/downloads/folder", COe = "/api/configuration/downloads/pikpak/login", wOe = "/api/configuration/downloads/pikpak/logout", NV = "/api/configuration/downloads/pikpak/browser-login", PV = 2e3;
-function TOe({ initial: e, receipt: t, panel: n }) {
+var NOe = "/api/configuration/downloads", KV = "/api/configuration/downloads/check", POe = "/api/configuration/downloads/folder", FOe = "/api/configuration/downloads/pikpak/login", IOe = "/api/configuration/downloads/pikpak/logout", qV = "/api/configuration/downloads/pikpak/browser-login", JV = 2e3;
+function LOe({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- ...jV(n),
- children: /* @__PURE__ */ (0, x.jsx)(EOe, {
+ ...GV(n),
+ children: /* @__PURE__ */ (0, x.jsx)(ROe, {
initial: e,
receipt: t
})
});
}
-function EOe({ initial: e, receipt: t }) {
+function ROe({ initial: e, receipt: t }) {
let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), o = n.pikpak.logged_in || !!i.trim();
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(DOe, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(zOe, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, x.jsx)(kOe, {
+ }), /* @__PURE__ */ (0, x.jsx)(VOe, {
state: n,
settle: r,
receipt: t,
@@ -58029,8 +58660,8 @@ function EOe({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)(FV), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = pk(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
+function zOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, b.useState)(e.config), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(String(e.config.wait_hours)), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(""), [m, h] = (0, b.useState)(YV), [g, _] = (0, b.useState)(""), [v, y] = (0, b.useState)(!1), S = mk(), C = (e) => i.targets[e] ?? "", w = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -58059,8 +58690,8 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- S.run("auto", (e) => B(MV, e), (e) => E(e, t), (e) => _(z(e)));
- }, []), /* @__PURE__ */ (0, x.jsxs)(_k, {
+ S.run("auto", (e) => B(KV, e), (e) => E(e, t), (e) => _(z(e)));
+ }, []), /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), T) {
@@ -58073,18 +58704,18 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- S.run("save", (e) => V(xOe, f, "POST", e), (e) => {
+ S.run("save", (e) => V(NOe, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? E(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(FV), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(YV), y(!1), _("")), n("已保存配置");
}, (e) => _(z(e)));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(yk, { children: [
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "CloudDrive2 地址",
placeholder: "留空自动查找",
autoComplete: "off",
@@ -58096,7 +58727,7 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -58107,8 +58738,8 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
- label: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
+ label: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "115",
label: "115 目标目录"
}),
@@ -58122,8 +58753,8 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => w("115", e)
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
- label: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
+ label: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "pikpak",
label: "PikPak 目标目录"
}),
@@ -58137,10 +58768,10 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, x.jsx)(Ck, { children: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(wk, { children: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "pikpak",
label: "PikPak 根目录对应的媒体文件夹"
- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(FP, {
+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -58149,13 +58780,13 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, x.jsx)(xk, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
+ }) : /* @__PURE__ */ (0, x.jsx)(Sk, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -58166,11 +58797,11 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ S.busy === "auto" ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(lk, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(OOe, {
+ u ? /* @__PURE__ */ (0, x.jsx)(BOe, {
report: u,
detected: f,
suggested: m,
@@ -58182,7 +58813,7 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("folder", (e) => V(SOe, t, "POST", e), (t) => {
+ S.run("folder", (e) => V(POe, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -58194,11 +58825,11 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: S.busy === "folder"
}) : null,
- g || S.error ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ g || S.error ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: g || S.error })
+ children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: g || S.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(bk, {
+ /* @__PURE__ */ (0, x.jsxs)(xk, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -58214,7 +58845,7 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- S.run("check", (e) => V(MV, t, "POST", e), (t) => E(t, e), (e) => _(z(e)));
+ S.run("check", (e) => V(KV, t, "POST", e), (t) => E(t, e), (e) => _(z(e)));
},
disabled: !e.available,
...q(S.busy === "check"),
@@ -58229,29 +58860,29 @@ function DOe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var FV = {
+var YV = {
target: null,
root: "",
saved: !1
};
-function OOe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function BOe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, x.jsxs)(yk, {
+ return /* @__PURE__ */ (0, x.jsxs)(bk, {
divided: !0,
- children: [/* @__PURE__ */ (0, x.jsxs)(Tk, { children: [
- t ? /* @__PURE__ */ (0, x.jsx)(Ek, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(Ek, { children: [
+ t ? /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, x.jsx)(Ek, {
- term: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ a?.exists ? /* @__PURE__ */ (0, x.jsx)(Dk, {
+ term: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "115",
label: "115 目标目录"
}),
children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(Ek, {
- term: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ a && !a.exists ? /* @__PURE__ */ (0, x.jsxs)(Dk, {
+ term: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "115",
label: "115 目标目录"
}),
@@ -58263,55 +58894,55 @@ function OOe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, x.jsx)(Ek, {
- term: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ n.root ? /* @__PURE__ */ (0, x.jsx)(Dk, {
+ term: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "pikpak",
label: "PikPak 根目录"
}),
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(Ek, {
+ e.permissions.length ? /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, x.jsx)(Ek, {
+ e.folder ? /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, x.jsx)(Ek, {
- term: /* @__PURE__ */ (0, x.jsx)(Fk, {
+ e.quota ? /* @__PURE__ */ (0, x.jsx)(Dk, {
+ term: /* @__PURE__ */ (0, x.jsx)(Ik, {
source: "115",
label: "115 离线配额"
}),
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(Sk, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, x.jsx)(Ck, { children: e }, e))]
});
}
-function kOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
- let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(""), h = pk(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+function VOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+ let [a, o] = (0, b.useState)(""), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(""), h = mk(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, b.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await B(NV, e.signal);
+ let r = await B(qV, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
f(z(t));
}
- r = setTimeout(i, PV);
+ r = setTimeout(i, JV);
};
- return r = setTimeout(i, PV), () => {
+ return r = setTimeout(i, JV), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => V(NV, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => V(qV, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(z(e)));
}, S = () => {
- h.run("cancel", (e) => V(`${NV}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => V(`${qV}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(z(e)));
}, C = (e) => {
@@ -58321,15 +58952,15 @@ function kOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => V(COe, i, "POST", e), (e) => {
+ h.run("login", (e) => V(FOe, i, "POST", e), (e) => {
t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => f(z(e)));
}, w = () => {
- h.run("logout", (e) => V(wOe, {}, "POST", e), (e) => {
+ h.run("logout", (e) => V(IOe, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(z(e)));
}, T = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -58338,7 +58969,7 @@ function kOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -58347,7 +58978,7 @@ function kOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, x.jsx)(HP, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -58358,7 +58989,7 @@ function kOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, x.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, x.jsx)(wk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Tk, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -58371,24 +59002,24 @@ function kOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
...q(h.busy === "login"),
children: "登录"
}), D = _.state === "timeout" || _.state === "failed";
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "PikPak 账号",
icon: /* @__PURE__ */ (0, x.jsx)(ype.pikpak, {}),
onSubmit: C,
children: [
- g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(Tk, { children: [/* @__PURE__ */ (0, x.jsx)(Ek, {
+ g.logged_in ? /* @__PURE__ */ (0, x.jsxs)(Ek, { children: [/* @__PURE__ */ (0, x.jsx)(Dk, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(Ek, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, x.jsx)(Ek, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(yk, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: p }) : /* @__PURE__ */ (0, x.jsx)(xk, {
+ })] }) : _.available ? /* @__PURE__ */ (0, x.jsxs)(bk, { children: [p ? D ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: p }) : /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
children: p
- }) : null, /* @__PURE__ */ (0, x.jsx)(Dk, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: "用账号密码登录",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-4",
@@ -58397,13 +59028,13 @@ function kOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
children: E
})]
})
- })] }) : /* @__PURE__ */ (0, x.jsx)(yk, { children: T }),
- d || h.error ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ })] }) : /* @__PURE__ */ (0, x.jsx)(bk, { children: T }),
+ d || h.error ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: d || h.error })
+ children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bk, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(lk, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(xk, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, x.jsx)(uk, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: w,
@@ -58429,33 +59060,33 @@ function kOe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var AOe = [
+var HOe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function jOe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function UOe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...jV(r),
+ ...GV(r),
children: [
- /* @__PURE__ */ (0, x.jsx)(POe, { facts: e.facts }),
- /* @__PURE__ */ (0, x.jsx)(MOe, {
+ /* @__PURE__ */ (0, x.jsx)(KOe, { facts: e.facts }),
+ /* @__PURE__ */ (0, x.jsx)(WOe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, x.jsx)(FOe, {
+ e.uninstall ? /* @__PURE__ */ (0, x.jsx)(qOe, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function MOe({ receipt: e, reopenTutorial: t }) {
- let n = pk();
+function WOe({ receipt: e, reopenTutorial: t }) {
+ let n = mk();
return /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": "安装教程",
className: "w-full",
- children: /* @__PURE__ */ (0, x.jsxs)(Xfe, { children: [/* @__PURE__ */ (0, x.jsx)(vk, { children: /* @__PURE__ */ (0, x.jsx)(mk, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Xfe, { children: [/* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(hk, {
label: "安装教程",
children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
@@ -58463,61 +59094,61 @@ function MOe({ receipt: e, reopenTutorial: t }) {
...q(n.busy === "reopen"),
children: "重新打开教程"
})
- }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: n.error }) }) : null] })
+ }) }), n.error ? /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: n.error }) }) : null] })
});
}
-function NOe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = pk(e.error), s = (r) => {
+function GOe({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.mode), [i, a] = (0, b.useState)(e.interval_hours), o = mk(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => V("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, x.jsxs)(vk, { children: [
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsxs)(yk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, x.jsx)(zz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, x.jsx)(zz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, x.jsx)(FP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: AOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: HOe.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ o.error ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: o.error })
+ children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(xk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(o.busy === "save"),
@@ -58526,18 +59157,18 @@ function NOe({ initial: e, receipt: t }) {
]
});
}
-function POe({ facts: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+function KOe({ facts: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "运行信息",
- children: [/* @__PURE__ */ (0, x.jsx)(Tk, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(Ek, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Ek, { children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)(Dk, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(wk, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, x.jsx)(Tk, {
href: e.download_url,
children: e.download_label
}) : null]
- }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(vk, { children: /* @__PURE__ */ (0, x.jsx)(mk, {
+ }, e.term)) }), /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(hk, {
label: "系统诊断",
- children: /* @__PURE__ */ (0, x.jsx)(ok, {
+ children: /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
href: "/diagnostics",
children: "打开系统诊断"
@@ -58545,7 +59176,7 @@ function POe({ facts: e }) {
}) })]
});
}
-function FOe({ uninstall: e, receipt: t }) {
+function qOe({ uninstall: e, receipt: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), o = () => void cs({
title: "卸载 Peach",
danger: !0,
@@ -58559,30 +59190,30 @@ function FOe({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, x.jsxs)(yk, { children: [
- e.available ? /* @__PURE__ */ (0, x.jsx)(xk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ e.available ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "完全卸载",
description: "同时删除设置、本地数据库、观看记录、凭据和缓存",
- children: /* @__PURE__ */ (0, x.jsx)(zz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "完全卸载",
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)(Dk, {
+ /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(AP, {
+ children: c.map((e) => /* @__PURE__ */ (0, x.jsx)(GP, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, x.jsx)(bk, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(xk, {
status: s ? /* @__PURE__ */ (0, x.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -58598,23 +59229,23 @@ function FOe({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var IV = /* @__PURE__ */ new Set([
+var XV = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), IOe = [
+]), JOe = [
65,
67,
90
-], LV = 120;
-function LOe({ initial: e, initialJob: t }) {
+], ZV = 120;
+function YOe({ initial: e, initialJob: t }) {
let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, b.useState)(""), c = pk(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = IV.has(i.state);
+ }), [o, s] = (0, b.useState)(""), c = mk(), l = (0, b.useRef)(!1), u = (0, b.useRef)(!0), d = XV.has(i.state);
(0, b.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -58631,7 +59262,7 @@ function LOe({ initial: e, initialJob: t }) {
(0, b.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, b.useEffect)(() => {
- let e = new AbortController(), t = IV.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = XV.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await B("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -58644,9 +59275,9 @@ function LOe({ initial: e, initialJob: t }) {
let n = await B("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= LV && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= ZV && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < LV && (n = setTimeout(c, t));
+ !e.signal.aborted && o < ZV && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -58660,57 +59291,57 @@ function LOe({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(z(t));
}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, x.jsxs)(Tk, { children: [
- /* @__PURE__ */ (0, x.jsx)(Ek, {
+ /* @__PURE__ */ (0, x.jsxs)(Ek, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, x.jsx)(Ek, {
+ /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, x.jsx)(Ek, {
+ /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, x.jsx)(Ek, {
+ /* @__PURE__ */ (0, x.jsx)(Dk, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(yk, {
+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, x.jsxs)(bk, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(xk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, x.jsxs)(Sk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(xk, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(fk, {
+ /* @__PURE__ */ (0, x.jsx)(pk, {
label: "更新准备进度",
value: i.progress,
- stops: IOe
+ stops: JOe
}),
- /* @__PURE__ */ (0, x.jsxs)(xk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, x.jsx)(xk, { children: _ })
+ /* @__PURE__ */ (0, x.jsxs)(Sk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsxs)(bk, {
- status: /* @__PURE__ */ (0, x.jsx)(wk, {
+ /* @__PURE__ */ (0, x.jsxs)(xk, {
+ status: /* @__PURE__ */ (0, x.jsx)(Tk, {
href: n.release_url,
children: "查看发布页"
}),
@@ -58738,28 +59369,28 @@ function LOe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function ROe({ data: e, receipt: t, panel: n }) {
+function XOe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...jV(n),
+ ...GV(n),
children: [
- e.startup ? /* @__PURE__ */ (0, x.jsx)(zOe, {
+ e.startup ? /* @__PURE__ */ (0, x.jsx)(ZOe, {
startup: e.startup,
receipt: t
}) : null,
- e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(NOe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, x.jsx)(GOe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, x.jsx)(LOe, {
+ e.updates ? /* @__PURE__ */ (0, x.jsx)(YOe, {
initial: e.updates,
initialJob: e.update_job
}) : null
]
});
}
-function zOe({ startup: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.enabled), [i, a] = (0, b.useState)(e.silent), [o, s] = (0, b.useState)(e.desktop), c = pk(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+function ZOe({ startup: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.enabled), [i, a] = (0, b.useState)(e.silent), [o, s] = (0, b.useState)(e.desktop), c = mk(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => V("/api/configuration/startup", {
@@ -58769,29 +59400,29 @@ function zOe({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, x.jsxs)(vk, { children: [
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsxs)(yk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, x.jsx)(zz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "只启动托盘,不打开网页",
- children: /* @__PURE__ */ (0, x.jsx)(zz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "只启动托盘,不打开网页",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "在桌面创建快捷方式",
description: e.desktop_message || void 0,
- children: /* @__PURE__ */ (0, x.jsx)(zz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -58799,11 +59430,11 @@ function zOe({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(yk, {
+ e.message || c.error ? /* @__PURE__ */ (0, x.jsxs)(bk, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, x.jsx)(xk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(xk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
disabled: !e.available,
...q(c.busy === "save"),
@@ -58814,7 +59445,7 @@ function zOe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var RV = 8e3, BOe = [
+var QV = 8e3, QOe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -58833,33 +59464,33 @@ var RV = 8e3, BOe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], VOe = [
+], $Oe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function HOe() {
+function eke() {
return /* @__PURE__ */ (0, x.jsx)("div", {
className: "@container flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(Dk, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Ok, {
summary: "CloudDrive 设置帮助",
children: [
- /* @__PURE__ */ (0, x.jsxs)(xk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(wk, {
+ /* @__PURE__ */ (0, x.jsxs)(Sk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, x.jsx)(Tk, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
})] }),
- /* @__PURE__ */ (0, x.jsx)(xk, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, x.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: BOe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
+ children: QOe.map((e) => /* @__PURE__ */ (0, x.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: VOe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
+ children: $Oe.map(([t, n]) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, x.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -58880,7 +59511,7 @@ function HOe() {
/* @__PURE__ */ (0, x.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, x.jsx)(xk, { children: /* @__PURE__ */ (0, x.jsx)(wk, {
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: /* @__PURE__ */ (0, x.jsx)(Tk, {
href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "完整配置与调优说明"
}) })
@@ -58890,7 +59521,7 @@ function HOe() {
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function UOe({ className: e }) {
+function tke({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -58903,12 +59534,12 @@ function UOe({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-folder-search" })
});
}
-var zV = [
+var $V = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], BV = (e) => Ja[e] || "database", WOe = (e) => e === "115" || e === "pikpak";
-function GOe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+], eH = (e) => Ja[e] || "database", nke = (e) => e === "115" || e === "pikpak";
+function rke({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
let [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)([]), [l, u] = (0, b.useState)(null), [d, f] = (0, b.useState)(null), p = (0, b.useRef)(!1), m = (0, b.useRef)([]);
(0, b.useLayoutEffect)(() => {
l !== null && (m.current[l]?.focus(), u(null));
@@ -58951,7 +59582,7 @@ function GOe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:
}
};
}
-function KOe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
+function ike({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
let u = (0, b.useRef)(null), d = () => {
let e = u.current;
e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);
@@ -58964,7 +59595,7 @@ function KOe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -58982,8 +59613,8 @@ function KOe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
className: "flex h-9 shrink-0 items-center",
children: c
}) : null,
- /* @__PURE__ */ (0, x.jsx)(kP, {
- icon: UOe,
+ /* @__PURE__ */ (0, x.jsx)(WP, {
+ icon: tke,
"aria-label": "选择文件夹",
onClick: o,
...q(a)
@@ -58991,7 +59622,7 @@ function KOe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
s ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
iconOnly: !0,
- leadingIcon: EO,
+ leadingIcon: DO,
"aria-label": "移除这个文件夹",
onClick: s
}) : null
@@ -59002,23 +59633,23 @@ function KOe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function qOe({ index: e, value: t, onChange: n, options: r = zV }) {
- return /* @__PURE__ */ (0, x.jsx)(FP, {
+function ake({ index: e, value: t, onChange: n, options: r = $V }) {
+ return /* @__PURE__ */ (0, x.jsx)(XP, {
className: "w-full @lg:w-60",
"aria-label": `媒体来源 ${e + 1}`,
selectedKey: t,
onSelectionChange: (e) => {
e !== null && n(String(e));
},
- children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(IP, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, x.jsxs)(ZP, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, x.jsx)(Ok, { mark: BV(e) }), t]
+ children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: eH(e) }), t]
}, e))
});
}
-function JOe({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, x.jsx)($P, {
+function oke({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
+ return /* @__PURE__ */ (0, x.jsx)(Nj, {
label: n,
placeholder: r,
value: e,
@@ -59027,7 +59658,7 @@ function JOe({ value: e, onChange: t, label: n = "Windows 中的对应路径", p
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var VV = [
+var tH = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -59071,13 +59702,13 @@ var VV = [
["star", "收藏"],
["tags", "主题"]
];
-function YOe(e) {
+function ske(e) {
let t = e === "local" ? "" : Ja[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var HV = "auto";
-function XOe({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(e), [l, u] = YOe(n);
+var nH = "auto";
+function cke({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(e), [l, u] = ske(n);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
ref: i,
variant: "secondary",
@@ -59091,35 +59722,35 @@ function XOe({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, x.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(Ok, { mark: e || l }), ((e) => e && VV.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: e || l }), ((e) => e && tH.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, x.jsx)(jA, {
+ }), /* @__PURE__ */ (0, x.jsx)(MA, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: aP,
+ className: bP,
children: /* @__PURE__ */ (0, x.jsxs)(UA, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, x.jsx)(oA, {
+ /* @__PURE__ */ (0, x.jsx)(sA, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
/* @__PURE__ */ (0, x.jsx)(XA, {
"aria-label": "候选图标",
- value: s || HV,
- onChange: (e) => c(e === HV ? "" : e),
+ value: s || nH,
+ onChange: (e) => c(e === nH ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: VV.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
- value: e || HV,
+ children: tH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
+ value: e || nH,
"aria-label": e ? t : u,
className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",
- children: /* @__PURE__ */ (0, x.jsx)(Ok, { mark: e || l })
- }, e || HV))
+ children: /* @__PURE__ */ (0, x.jsx)(kk, { mark: e || l })
+ }, e || nH))
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -59141,9 +59772,9 @@ function XOe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var ZOe = "/api/configuration/push-discovery", QOe = "/api/configuration/push-discovery/secret";
-function $Oe({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = pk(), l = DP(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {
+var lke = "/api/configuration/push-discovery", uke = "/api/configuration/push-discovery/secret";
+function dke({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.prefixes), [o, s] = (0, b.useState)(""), c = mk(), l = HP(), u = n.media_roots, [d, f] = (0, b.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
@@ -59156,21 +59787,21 @@ function $Oe({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => V(ZOe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(z(e)));
+ c.run("save", (e) => V(lke, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(z(e)));
}, g = () => {
- c.run("secret", (e) => V(QOe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(z(e)));
+ c.run("secret", (e) => V(uke, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(z(e)));
}, _ = () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看配置」选中自己复制。"));
}, v = `已入库 ${d.queue.ingested} 个文件` + (d.queue.pending ? `,队列里还有 ${d.queue.pending} 条` : ""), y = d.local_running ? `正在监视 ${d.local_roots.join("、")}` : d.local_message || "没有运行";
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "推送发现",
onSubmit: h,
children: [
- /* @__PURE__ */ (0, x.jsxs)(vk, { children: [
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsxs)(yk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "新文件落地就入库",
description: d.enabled ? v : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(zz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -59180,10 +59811,10 @@ function $Oe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "监视本机文件夹",
description: d.enabled && d.watch_local ? y : void 0,
- children: /* @__PURE__ */ (0, x.jsx)(zz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -59193,9 +59824,9 @@ function $Oe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "接收 CloudDrive2 通知",
- children: /* @__PURE__ */ (0, x.jsx)(zz, {
+ children: /* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -59205,7 +59836,7 @@ function $Oe({ initial: e, receipt: t }) {
})
})
}),
- d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(mk, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, x.jsx)(hk, {
label: "Webhook 配置",
description: d.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : d.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的 HTTPS 地址才能生成。",
children: d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
@@ -59216,11 +59847,11 @@ function $Oe({ initial: e, receipt: t }) {
}) : null
}) : null
] }),
- d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-3",
- children: /* @__PURE__ */ (0, x.jsxs)(Dk, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Ok, {
summary: "查看配置",
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "relative",
@@ -59230,16 +59861,16 @@ function $Oe({ initial: e, receipt: t }) {
className: "overflow-x-auto rounded-2xl bg-background-tertiary-default p-3 text-caption-1-regular whitespace-pre text-text-primary",
children: d.config_toml
})
- }), /* @__PURE__ */ (0, x.jsx)(xk, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
+ }), /* @__PURE__ */ (0, x.jsx)(Sk, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
})
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(Ck, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, x.jsx)(wk, { children: "云端路径前缀" }),
/* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -59247,7 +59878,7 @@ function $Oe({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -59256,13 +59887,13 @@ function $Oe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, x.jsx)(FP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: u.map((e) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: e
}, e))
@@ -59270,7 +59901,7 @@ function $Oe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, x.jsx)(G, {
variant: "danger",
iconOnly: !0,
- leadingIcon: EO,
+ leadingIcon: DO,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -59289,11 +59920,11 @@ function $Oe({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ o || c.error ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: o || c.error })
+ children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, x.jsxs)(bk, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsxs)(xk, { children: [d.enabled && d.cloud && d.config_toml ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
onClick: g,
disabled: !n.available,
@@ -59310,79 +59941,79 @@ function $Oe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/application/initial-follow-ranges.ts
-var UV = [
+var rH = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
-], eke = [
+], fke = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-function tke({ epoch: e = 0 }) {
+function pke({ epoch: e = 0 }) {
let t = dt({
- queryKey: TN,
- queryFn: ({ signal: e }) => xve(e),
+ queryKey: BN,
+ queryFn: ({ signal: e }) => kve(e),
refetchOnMount: "always"
- }), n = wve(), r = n.reset;
+ }), n = Mve(), r = n.reset;
(0, b.useEffect)(() => {
r();
}, [e, r]);
let i = t.data, a = n.error || t.error;
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "时间轴缩略图",
children: [
- /* @__PURE__ */ (0, x.jsx)(vk, { children: /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(hk, {
label: "采集间隔",
description: "仅采集本机磁盘上的视频。",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "videoThumbnailSetting",
- children: /* @__PURE__ */ (0, x.jsx)(FP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "缩略图采集间隔",
selectedKey: i?.mode || "off",
isDisabled: !i || t.isFetching || n.isPending,
onSelectionChange: (e) => {
e !== null && n.mutate(String(e));
},
- children: eke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: fke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
})
})
}) }),
- n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ n.isPending || i?.status === "running" ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(xk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
children: n.isPending ? "正在保存…" : "正在采集,进度在活动页查看。"
})
}) : null,
- a ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ a ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: z(a) })
+ children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: z(a) })
}) : null
]
});
}
-function nke({ receipt: e }) {
+function mke({ receipt: e }) {
let t = wT();
(0, b.useSyncExternalStore)(t.subscribe, t.version);
let n = dt({
- queryKey: CN,
- queryFn: ({ signal: e }) => EN(e),
+ queryKey: RN,
+ queryFn: ({ signal: e }) => VN(e),
refetchOnMount: "always"
- }), r = DN(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ }), r = HN(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "关注采集",
- children: [/* @__PURE__ */ (0, x.jsxs)(vk, { children: [
- /* @__PURE__ */ (0, x.jsx)(rke, {}),
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(yk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(hke, {}),
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "首次采集范围",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "followInitialDaysSetting",
- children: /* @__PURE__ */ (0, x.jsx)(FP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "首次采集范围",
selectedKey: String(i),
isDisabled: n.isFetching || r.isPending,
@@ -59391,33 +60022,33 @@ function nke({ receipt: e }) {
typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");
} });
},
- children: UV.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: rH.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
})
})
}),
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "头像刷新",
children: "每 3 个月"
}),
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "favicon 刷新",
children: "每年"
})
- ] }), a ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ ] }), a ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: z(a) })
+ children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: z(a) })
}) : null]
});
}
-function rke() {
+function hke() {
let e = dt({
- queryKey: wN,
- queryFn: ({ signal: e }) => bve(e),
+ queryKey: zN,
+ queryFn: ({ signal: e }) => Ove(e),
refetchOnMount: "always"
- }), t = Cve(), n = e.data, r = (0, b.useRef)(Yw(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
+ }), t = jve(), n = e.data, r = (0, b.useRef)(Yw(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, b.useState)("60"), [o, s] = (0, b.useState)(!1);
(0, b.useEffect)(() => {
n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));
}, [n]);
@@ -59426,12 +60057,12 @@ function rke() {
!Number.isInteger(e) || e < 15 || e > 10080 ? s(!0) : (s(!1), n?.enabled && !c && e !== n.interval_minutes && (r.current = e, localStorage.setItem("peach.number.followScheduleSetting", String(e)), t.mutate(e)));
}, u = t.error || e.error;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(hk, {
label: "自动检查更新",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
id: "followScheduleSetting",
className: "flex min-w-0 flex-wrap items-center justify-end gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)(zz, {
+ children: [/* @__PURE__ */ (0, x.jsx)(qz, {
"aria-label": "自动检查更新",
isSelected: n?.enabled === !0,
isDisabled: c,
@@ -59440,7 +60071,7 @@ function rke() {
}
}), n?.enabled ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, x.jsx)($P, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
type: "number",
inputMode: "numeric",
name: "follow-interval",
@@ -59465,39 +60096,39 @@ function rke() {
}) : null]
})
}),
- o ? /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
- t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(xk, {
+ o ? /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
+ t.isPending || n?.running ? /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(Sk, {
role: "status",
children: t.isPending ? "正在保存…" : "正在检查来源更新…"
}) }) : null,
- u ? /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: z(u) }) }) : null
+ u ? /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: z(u) }) }) : null
] });
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var ike = (e) => zV.find(([t]) => t === e)?.[1] ?? e, ake = async (e) => (await V(yOe, { initial: e })).path, WV = (e = "") => ({
+var gke = (e) => $V.find(([t]) => t === e)?.[1] ?? e, _ke = async (e) => (await V(jOe, { initial: e })).path, iH = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function oke(e) {
- let t = e.media_sources?.filter((e) => zV.some(([t]) => t === e.location));
+function vke(e) {
+ let t = e.media_sources?.filter((e) => $V.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
root: e.root,
library: e.library || "",
library_icon: e.library_icon || ""
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => WV(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => iH(e));
}
-var ske = (e) => !(e instanceof en) || e.status !== 400 ? null : e.body?.errors ?? null;
-function cke({ data: e, receipt: t, panel: n }) {
+var yke = (e) => !(e instanceof en) || e.status !== 400 ? null : e.body?.errors ?? null;
+function bke({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...jV(n),
+ ...GV(n),
children: [
- e.editable ? /* @__PURE__ */ (0, x.jsx)(lke, {
+ e.editable ? /* @__PURE__ */ (0, x.jsx)(xke, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, x.jsx)(K, {
@@ -59505,29 +60136,29 @@ function cke({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
- e.editable ? null : /* @__PURE__ */ (0, x.jsx)(uke, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, x.jsx)($Oe, {
+ e.editable ? null : /* @__PURE__ */ (0, x.jsx)(Ske, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, x.jsx)(dke, {
initial: e.push_discovery,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(tke, {})
+ /* @__PURE__ */ (0, x.jsx)(pke, {})
]
});
}
-function lke({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = GOe({
- initial: () => oke(e),
- blank: () => WV(),
- pickFolder: ake,
+function xke({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = rke({
+ initial: () => vke(e),
+ blank: () => iH(),
+ pickFolder: _ke,
describe: z
- }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = pk();
+ }), [d, f] = (0, b.useState)(!1), [p, m] = (0, b.useState)(""), [h, g] = (0, b.useState)(null), _ = (0, b.useRef)(e.revision), v = mk();
(0, b.useEffect)(() => {
if (!h) return;
- let e = setTimeout(() => location.assign(h.url), RV);
+ let e = setTimeout(() => location.assign(h.url), QV);
return () => clearTimeout(e);
}, [h]);
let y = (r) => {
- r.preventDefault(), m(""), v.run("save", (t) => V(DV, {
+ r.preventDefault(), m(""), v.run("save", (t) => V(VV, {
revision: _.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -59536,18 +60167,18 @@ function lke({ data: e, receipt: t }) {
}, "POST", t), (e) => {
_.current = e.revision, s([]), t("已保存配置"), g(e);
}, (e) => {
- let t = ske(e);
+ let t = yke(e);
s(t?.media_dirs ?? []), (!t || t.port) && m(t?.port || z(e));
});
};
- if (h) return /* @__PURE__ */ (0, x.jsx)(_k, {
+ if (h) return /* @__PURE__ */ (0, x.jsx)(vk, {
title: "媒体文件夹",
- children: /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, x.jsx)(gk, {
+ /* @__PURE__ */ (0, x.jsx)(_k, {
href: h.url,
size: "small",
children: "进入馆藏"
@@ -59556,20 +60187,20 @@ function lke({ data: e, receipt: t }) {
]
}) })
});
- let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => WOe(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ let S = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, C = n.some((e) => nke(e.location)), w = C ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "媒体文件夹",
onSubmit: y,
- children: [/* @__PURE__ */ (0, x.jsxs)(yk, { children: [
+ children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(Ck, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, x.jsx)(wk, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, x.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
className: "flex flex-col gap-3",
- children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(KOe, {
+ children: n.map((t, i) => /* @__PURE__ */ (0, x.jsxs)(ike, {
label: `媒体文件夹 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, { path: e }),
@@ -59578,14 +60209,14 @@ function lke({ data: e, receipt: t }) {
picking: c === i,
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
- status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(GV, { online: S(t.path)?.online }) : null,
+ status: S(t.path) ? /* @__PURE__ */ (0, x.jsx)(aH, { online: S(t.path)?.online }) : null,
children: [
- /* @__PURE__ */ (0, x.jsx)(qOe, {
+ /* @__PURE__ */ (0, x.jsx)(ake, {
index: i,
value: t.location,
onChange: (e) => r(i, { location: e })
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
className: "min-w-40 flex-1",
"aria-label": `媒体库名称 ${i + 1}`,
maxLength: 80,
@@ -59593,13 +60224,13 @@ function lke({ data: e, receipt: t }) {
value: t.library,
onChange: (e) => r(i, { library: e })
}),
- /* @__PURE__ */ (0, x.jsx)(XOe, {
+ /* @__PURE__ */ (0, x.jsx)(cke, {
label: `媒体库图标 ${i + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => r(i, { library_icon: e })
}),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(JOe, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(oke, {
value: t.root,
onChange: (e) => r(i, { root: e })
}) : null
@@ -59614,18 +60245,18 @@ function lke({ data: e, receipt: t }) {
})
]
}),
- C ? /* @__PURE__ */ (0, x.jsx)(HOe, {}) : null,
- w.map((e) => /* @__PURE__ */ (0, x.jsxs)(xk, { children: [
+ C ? /* @__PURE__ */ (0, x.jsx)(eke, {}) : null,
+ w.map((e) => /* @__PURE__ */ (0, x.jsxs)(Sk, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, x.jsxs)(wk, {
+ /* @__PURE__ */ (0, x.jsxs)(Tk, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(xk, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
- /* @__PURE__ */ (0, x.jsx)(HP, {
+ e.windows === !1 ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: "Windows 对应路径应与馆藏中记录的路径一致。" }) : null,
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: d,
onChange: f,
children: "保存后扫描并补全资料"
@@ -59635,7 +60266,7 @@ function lke({ data: e, receipt: t }) {
title: "没有保存",
children: p
}) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(bk, {
+ ] }), /* @__PURE__ */ (0, x.jsx)(xk, {
status: "保存后 Peach 会重新启动。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -59645,7 +60276,7 @@ function lke({ data: e, receipt: t }) {
})]
});
}
-function GV({ online: e }) {
+function aH({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -59669,22 +60300,22 @@ function GV({ online: e }) {
}), "未检测"]
});
}
-function uke({ data: e }) {
- let t = e.media_sources, n = pk();
- return t ? /* @__PURE__ */ (0, x.jsxs)(_k, {
+function Ske({ data: e }) {
+ let t = e.media_sources, n = mk();
+ return t ? /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, x.jsx)(Tk, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(Ek, {
- term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Ok, { mark: BV(e.location) }), ike(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(GV, { online: e.online })]
+ /* @__PURE__ */ (0, x.jsx)(Ek, { children: t.map((e, t) => /* @__PURE__ */ (0, x.jsxs)(Dk, {
+ term: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(kk, { mark: eH(e.location) }), gke(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, x.jsx)(aH, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, x.jsx)(yk, {
+ n.error ? /* @__PURE__ */ (0, x.jsx)(bk, {
divided: !0,
- children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: n.error })
+ children: /* @__PURE__ */ (0, x.jsx)(Ck, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(xk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => kV(e), (e) => H.setQueryData(OV, e)),
+ onClick: () => void n.run("refresh", (e) => UV(e), (e) => H.setQueryData(HV, e)),
...q(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -59693,8 +60324,8 @@ function uke({ data: e }) {
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function dke({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)($P, {
+function Cke({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
id: "access-password",
type: "password",
label: e,
@@ -59707,7 +60338,7 @@ function dke({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, x.jsx)($P, {
+ }), /* @__PURE__ */ (0, x.jsx)(Nj, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -59724,13 +60355,13 @@ function dke({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var fke = {
+var wke = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function pke({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), [f, p] = (0, b.useState)({}), m = (0, b.useRef)(null), h = pk(), g = (e) => {
+function Tke({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), [c, l] = (0, b.useState)(""), [u, d] = (0, b.useState)(!1), [f, p] = (0, b.useState)({}), m = (0, b.useRef)(null), h = mk(), g = (e) => {
e.preventDefault();
let f = {};
n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length ? requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : h.run("save", (e) => V("/api/configuration/access", {
@@ -59746,25 +60377,25 @@ function pke({ initial: e, receipt: t }) {
let t = e instanceof en ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(z(e));
});
- }, _ = fke[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ }, _ = wke[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, x.jsxs)(yk, { children: [
- _ ? /* @__PURE__ */ (0, x.jsx)(xk, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ _ ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(HP, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)($P, {
+ n.mode === "password" ? /* @__PURE__ */ (0, x.jsx)(Nj, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -59777,7 +60408,7 @@ function pke({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, x.jsx)(dke, {
+ v ? /* @__PURE__ */ (0, x.jsx)(Cke, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -59793,9 +60424,9 @@ function pke({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ }), v ? /* @__PURE__ */ (0, x.jsx)(xk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(h.busy === "save"),
children: "保存配置"
@@ -59804,27 +60435,27 @@ function pke({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/port-settings.tsx
-function mke({ data: e, receipt: t }) {
- let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = pk();
+function Eke({ data: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(String(e.port)), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(null), c = mk();
return (0, b.useEffect)(() => {
if (!o) return;
- let e = setTimeout(() => location.assign(o.url), RV);
+ let e = setTimeout(() => location.assign(o.url), QV);
return () => clearTimeout(e);
- }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(_k, {
+ }, [o]), o ? /* @__PURE__ */ (0, x.jsx)(vk, {
title: "本机访问端口",
- children: /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
+ children: /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsxs)(K, {
tone: "success",
title: "配置已保存",
- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(gk, {
+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, x.jsx)(_k, {
href: o.url,
size: "small",
children: "进入馆藏"
})]
}) })
- }) : /* @__PURE__ */ (0, x.jsxs)(_k, {
+ }) : /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "本机访问端口",
onSubmit: (r) => {
- r.preventDefault(), a(""), c.run("save", (t) => V(DV, {
+ r.preventDefault(), a(""), c.run("save", (t) => V(VV, {
revision: e.revision,
media_dirs: e.media_dirs,
...e.media_sources ? { media_sources: e.media_sources } : {},
@@ -59837,7 +60468,7 @@ function mke({ data: e, receipt: t }) {
t?.port ? a(t.port) : c.setError(z(e));
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(yk, { children: [/* @__PURE__ */ (0, x.jsx)($P, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
id: "configPort",
label: "端口",
inputMode: "numeric",
@@ -59850,7 +60481,7 @@ function mke({ data: e, receipt: t }) {
tone: "error",
title: "没有保存",
children: c.error
- }) : null] }), /* @__PURE__ */ (0, x.jsx)(bk, {
+ }) : null] }), /* @__PURE__ */ (0, x.jsx)(xk, {
status: "保存后 Peach 会重启,并跳转到新地址。",
children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
@@ -59862,19 +60493,19 @@ function mke({ data: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var hke = 2e3, gke = [["quick", "临时链接"], ["named", "命名隧道"]], _ke = {
+var Dke = 2e3, Oke = [["quick", "临时链接"], ["named", "命名隧道"]], kke = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function vke({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, b.useState)(t), [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(t.mode), [l, u] = (0, b.useState)(t.hostname), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)({}), h = pk(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function Ake({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, b.useState)(t), [a, o] = (0, b.useState)(e), [s, c] = (0, b.useState)(t.mode), [l, u] = (0, b.useState)(t.hostname), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)({}), h = mk(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, b.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- kV(e.signal).then((t) => {
- !e.signal.aborted && t.tunnel && (H.setQueryData(OV, t), i(t.tunnel), o(t.revision));
+ UV(e.signal).then((t) => {
+ !e.signal.aborted && t.tunnel && (H.setQueryData(HV, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, hke);
+ }, Dke);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -59893,26 +60524,26 @@ function vke({ revision: e, initial: t, receipt: n }) {
n ? m(n) : h.setError(z(e));
});
};
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, x.jsxs)(yk, { children: [
- r.named_available ? /* @__PURE__ */ (0, x.jsx)(jj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ r.named_available ? /* @__PURE__ */ (0, x.jsx)(Jj, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: Mj,
- children: gke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
+ className: Yj,
+ children: Oke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZA, {
value: e,
- className: Nj,
+ className: Xj,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, x.jsx)(xk, { children: _ke[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: kke[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Nj, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -59923,7 +60554,7 @@ function vke({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"
- }), /* @__PURE__ */ (0, x.jsx)($P, {
+ }), /* @__PURE__ */ (0, x.jsx)(Nj, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -59943,7 +60574,7 @@ function vke({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, x.jsx)(wk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Tk, {
href: r.url,
children: r.url
})
@@ -59953,9 +60584,9 @@ function vke({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(bk, {
+ r.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(xk, {
status: r.enabled ? "Peach 重启后自动恢复。" : void 0,
children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: r.named_available ? "secondary" : "primary",
@@ -59972,28 +60603,28 @@ function vke({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var yke = [
+var jke = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function bke({ data: e, receipt: t, panel: n }) {
+function Mke({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...jV(n),
+ ...GV(n),
children: [
- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(mke, {
+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, x.jsx)(Eke, {
data: e,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(xke, {
+ e.peach_proxy ? /* @__PURE__ */ (0, x.jsx)(Nke, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, x.jsx)(pke, {
+ e.access ? /* @__PURE__ */ (0, x.jsx)(Tke, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, x.jsx)(vke, {
+ e.tunnel ? /* @__PURE__ */ (0, x.jsx)(Ake, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -60001,9 +60632,9 @@ function bke({ data: e, receipt: t, panel: n }) {
]
});
}
-function xke({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = pk();
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+function Nke({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e), [i, a] = (0, b.useState)(e.mode), [o, s] = (0, b.useState)(""), c = mk();
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -60015,24 +60646,24 @@ function xke({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)(vk, { children: /* @__PURE__ */ (0, x.jsx)(mk, {
+ /* @__PURE__ */ (0, x.jsx)(yk, { children: /* @__PURE__ */ (0, x.jsx)(hk, {
label: "连接方式",
- children: /* @__PURE__ */ (0, x.jsx)(FP, {
+ children: /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: yke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: jke.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(yk, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, x.jsxs)(bk, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, x.jsx)($P, {
+ i === "proxy" ? /* @__PURE__ */ (0, x.jsx)(Nj, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -60046,10 +60677,10 @@ function xke({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ /* @__PURE__ */ (0, x.jsx)(xk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(c.busy === "save"),
children: "保存配置"
@@ -60059,24 +60690,24 @@ function xke({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var Ske = "将清除这个来源在本机和共享副本中的登录凭据。", Cke = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function wke(e, t) {
+var Pke = "将清除这个来源在本机和共享副本中的登录凭据。", Fke = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function Ike(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function Tke({ row: e }) {
- if (Br(e)) return /* @__PURE__ */ (0, x.jsx)(ik, {
+function Lke({ row: e }) {
+ if (Br(e)) return /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, x.jsx)(ik, {
+ return /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: t,
children: zr[e.requirement] || ""
});
}
-function Eke({ row: e, readOnly: t, toast: n }) {
+function Rke({ row: e, readOnly: t, toast: n }) {
let [r, i] = (0, b.useState)({}), [a, o] = (0, b.useState)(""), s = Br(e), c = ft({
mutationFn: (t) => br(e.provider, t),
onSuccess: (e, t) => {
@@ -60093,17 +60724,17 @@ function Eke({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, x.jsxs)(xk, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(wk, {
+ /* @__PURE__ */ (0, x.jsxs)(Sk, { children: [e.why, e.where ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [" ", /* @__PURE__ */ (0, x.jsx)(Tk, {
href: e.where,
children: "获取凭据"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, x.jsx)(xk, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: e.howto }) : null,
/* @__PURE__ */ (0, x.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)($P, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, x.jsx)(Nj, {
type: "password",
label: n,
- placeholder: wke(e, n),
+ placeholder: Ike(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -60131,7 +60762,7 @@ function Eke({ row: e, readOnly: t, toast: n }) {
...q(c.isPending),
onClick: () => void cs({
title: "清除来源凭据",
- body: Ske,
+ body: Pke,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -60139,11 +60770,11 @@ function Eke({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(xk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, x.jsx)(Dk, {
+ a ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: "凭据文件",
- children: /* @__PURE__ */ (0, x.jsx)(AP, {
+ children: /* @__PURE__ */ (0, x.jsx)(GP, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -60152,20 +60783,20 @@ function Eke({ row: e, readOnly: t, toast: n }) {
]
});
}
-function Dke({ row: e, readOnly: t, toast: n }) {
+function zke({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-2",
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, x.jsx)(zR, { provider: e.provider })
+ children: /* @__PURE__ */ (0, x.jsx)(qR, { provider: e.provider })
}),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, x.jsx)(Tke, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, x.jsx)(ik, {
+ /* @__PURE__ */ (0, x.jsx)(Lke, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, x.jsx)(ak, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -60174,15 +60805,15 @@ function Dke({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsx)(xk, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
children: [
r,
- /* @__PURE__ */ (0, x.jsx)(Dk, {
+ /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: Br(e) ? "修改凭据" : "填写凭据",
defaultOpen: e.requirement === "required" && !Br(e),
- children: /* @__PURE__ */ (0, x.jsx)(Eke, {
+ children: /* @__PURE__ */ (0, x.jsx)(Rke, {
row: e,
readOnly: t,
toast: n
@@ -60191,15 +60822,15 @@ function Dke({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "凭据文件权限过宽",
- children: Cke
+ children: Fke
}) : null
]
});
}
-function Oke({ data: e, readOnly: t, toast: n }) {
+function Bke({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Br(e));
return r.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
- className: sk({
+ className: ck({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -60232,19 +60863,19 @@ function Oke({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, x.jsx)("div", {
- className: sk({
+ className: ck({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(Dke, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, x.jsx)(zke, {
row: e,
readOnly: t,
toast: n
}, e.provider))
})]
}, e.title))]
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: mde,
title: "没有可配置的来源",
@@ -60253,15 +60884,15 @@ function Oke({ data: e, readOnly: t, toast: n }) {
}
//#endregion
//#region src/configuration-copy.ts
-var kke = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Ake = "只填域名,留空用默认地址";
+var Vke = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Hke = "只填域名,留空用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function jke({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.sites), i = pk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Uke({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.sites), i = mk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "作品资料站点",
onSubmit: (e) => {
e.preventDefault();
@@ -60270,9 +60901,9 @@ function jke({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(yk, { children: [
- /* @__PURE__ */ (0, x.jsx)(xk, { children: kke }),
- n.map((e) => /* @__PURE__ */ (0, x.jsx)($P, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: Vke }),
+ n.map((e) => /* @__PURE__ */ (0, x.jsx)(Nj, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -60281,10 +60912,10 @@ function jke({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: Ake
+ hint: Hke
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsx)(bk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsx)(xk, { children: /* @__PURE__ */ (0, x.jsx)(G, {
type: "submit",
...q(i.busy === "save"),
children: "保存配置"
@@ -60293,46 +60924,46 @@ function jke({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var KV = "/api/configuration/indexers";
-function Mke({ receipt: e }) {
+var oH = "/api/configuration/indexers";
+function Wke({ receipt: e }) {
let t = dt({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => B(KV, e),
+ queryFn: ({ signal: e }) => B(oH, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: z(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(lk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(Nke, {
+ return t.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: z(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, x.jsx)(Gke, {
initial: t.data,
receipt: e
}) : null;
}
-function Nke({ initial: e, receipt: t }) {
- let [n, r] = (0, b.useState)(e.indexers), i = pk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Gke({ initial: e, receipt: t }) {
+ let [n, r] = (0, b.useState)(e.indexers), i = mk(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, x.jsxs)(_k, {
+ return /* @__PURE__ */ (0, x.jsxs)(vk, {
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => V(KV, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => V(oH, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, x.jsxs)(yk, { children: [
- /* @__PURE__ */ (0, x.jsx)(Dk, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(Ok, {
summary: "索引器连接帮助",
- children: /* @__PURE__ */ (0, x.jsx)(xk, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })
+ children: /* @__PURE__ */ (0, x.jsx)(Sk, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" })
}),
n.map((e, t) => /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: `索引器 ${t + 1} Torznab 地址`,
value: e.url,
type: "url",
@@ -60341,7 +60972,7 @@ function Nke({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -60350,13 +60981,13 @@ function Nke({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, x.jsx)(HP, {
+ /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用"
}),
- e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(HP, {
+ e.api_key_set ? /* @__PURE__ */ (0, x.jsx)(rF, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -60371,8 +61002,8 @@ function Nke({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, x.jsx)(Sk, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, x.jsxs)(bk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, x.jsxs)(xk, { children: [/* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
type: "button",
disabled: !!i.busy || n.length >= e.max_indexers,
@@ -60393,7 +61024,7 @@ function Nke({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/source-settings.tsx
-function Pke({ data: e, receipt: t, panel: n }) {
+function Kke({ data: e, receipt: t, panel: n }) {
let r = dt({
queryKey: An,
queryFn: ({ signal: e }) => lr(e),
@@ -60401,14 +61032,14 @@ function Pke({ data: e, receipt: t, panel: n }) {
refetchOnMount: "always"
});
return /* @__PURE__ */ (0, x.jsxs)("div", {
- ...jV(n),
+ ...GV(n),
children: [
- /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(ok, {
+ /* @__PURE__ */ (0, x.jsx)("div", { children: /* @__PURE__ */ (0, x.jsx)(sk, {
href: "/scraping",
variant: "secondary",
children: "采集来源与登录状态"
}) }),
- r.data ? /* @__PURE__ */ (0, x.jsx)(Oke, {
+ r.data ? /* @__PURE__ */ (0, x.jsx)(Bke, {
data: r.data,
readOnly: !!e.ledger_read_only,
toast: t
@@ -60416,24 +61047,24 @@ function Pke({ data: e, receipt: t, panel: n }) {
tone: "error",
title: "来源凭据未取得",
children: z(r.error)
- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(lk, { label: "正在读取来源凭据" }),
- e.entry_links ? /* @__PURE__ */ (0, x.jsx)(jke, {
+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, x.jsx)(uk, { label: "正在读取来源凭据" }),
+ e.entry_links ? /* @__PURE__ */ (0, x.jsx)(Uke, {
initial: e.entry_links,
receipt: t
}) : null,
- /* @__PURE__ */ (0, x.jsx)(Mke, { receipt: t }),
- /* @__PURE__ */ (0, x.jsx)(nke, { receipt: t })
+ /* @__PURE__ */ (0, x.jsx)(Wke, { receipt: t }),
+ /* @__PURE__ */ (0, x.jsx)(mke, { receipt: t })
]
});
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function Fke({ receipt: e, reopenTutorial: t, section: n = "" }) {
+function qke({ receipt: e, reopenTutorial: t, section: n = "" }) {
let r = dt({
- queryKey: OV,
- queryFn: ({ signal: e }) => kV(e)
+ queryKey: HV,
+ queryFn: ({ signal: e }) => UV(e)
}), i = r.data;
- return i ? /* @__PURE__ */ (0, x.jsx)(Lke, {
+ return i ? /* @__PURE__ */ (0, x.jsx)(Yke, {
data: i,
receipt: e,
reopenTutorial: t,
@@ -60447,9 +61078,9 @@ function Fke({ receipt: e, reopenTutorial: t, section: n = "" }) {
})
});
}
-var Ike = 0;
-function Lke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
- let [i] = (0, b.useState)(() => `board-tabs-${++Ike}`), [a, o] = (0, b.useState)(r), [s, c] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
+var Jke = 0;
+function Yke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
+ let [i] = (0, b.useState)(() => `board-tabs-${++Jke}`), [a, o] = (0, b.useState)(r), [s, c] = (0, b.useState)(() => matchMedia("(max-width:900px)").matches);
(0, b.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => c(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
@@ -60460,21 +61091,21 @@ function Lke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}, d = !!(e.peach_proxy || e.access || e.tunnel || e.editable && e.port_editable !== !1), f = e.downloads, p = [
{
title: "媒体库与入库",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(cke, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(bke, {
...u,
panel: e
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(Pke, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(Kke, {
...u,
panel: e
})
},
...f ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(TOe, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(LOe, {
initial: f,
receipt: t,
panel: e
@@ -60482,7 +61113,7 @@ function Lke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
}] : [],
...d ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, x.jsx)(bke, {
+ body: (e) => /* @__PURE__ */ (0, x.jsx)(Mke, {
...u,
panel: e
})
@@ -60490,8 +61121,8 @@ function Lke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
{
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, x.jsxs)("div", {
- ...jV(e),
- children: [/* @__PURE__ */ (0, x.jsx)(ROe, { ...u }), /* @__PURE__ */ (0, x.jsx)(jOe, {
+ ...GV(e),
+ children: [/* @__PURE__ */ (0, x.jsx)(XOe, { ...u }), /* @__PURE__ */ (0, x.jsx)(UOe, {
...u,
reopenTutorial: n
})]
@@ -60541,89 +61172,8 @@ function Lke({ data: e, receipt: t, reopenTutorial: n, section: r }) {
});
}
//#endregion
-//#region src/react/settings-panel/legacy-controls.tsx
-var qV = (e) => e.map(([e, t, n]) => n ? [
- e,
- t,
- n
-] : [e, t]);
-function JV({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
- let u = (0, b.useRef)(null), d = (0, b.useRef)(null), f = (0, b.useRef)(l);
- return f.current = l, (0, b.useLayoutEffect)(() => {
- let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Qo(t, n, qV(r), i, {
- attr: a,
- className: o,
- text: s
- }), $o(e, a, (e) => {
- d.current = {
- value: e,
- epoch: c
- }, f.current(e);
- }), d.current = {
- value: i,
- epoch: c
- }));
- }), /* @__PURE__ */ (0, x.jsx)("div", {
- id: e,
- ref: u
- });
-}
-function YV({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
- let d = (0, b.useRef)(null), f = (0, b.useRef)(null), p = (0, b.useRef)(-1), m = (0, b.useRef)(l);
- return m.current = l, (0, b.useLayoutEffect)(() => {
- let e = d.current;
- if (!e) return;
- if (p.current !== c || !f.current) {
- e.innerHTML = Ka(qV(n), r, { label: t });
- let i = qa(e.firstElementChild);
- i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
- }
- let o = f.current;
- o.value !== r && (o.value = r), o.disabled !== i && (o.disabled = i), o.getAttribute("aria-busy") === "true" !== a && Yo(o, a), u?.(o);
- }), /* @__PURE__ */ (0, x.jsx)("div", {
- id: e,
- ref: d,
- hidden: o,
- "aria-describedby": s
- });
-}
-function Rke({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
- let s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)({
- onStep: a,
- onSettle: o
- });
- return l.current = {
- onStep: a,
- onSettle: o
- }, (0, b.useLayoutEffect)(() => {
- let i = s.current;
- i && !c.current && (i.insertAdjacentHTML("beforeend", ts({
- value: r,
- min: 0,
- max: n,
- step: 1,
- label: t,
- attr: `data-glow-dial="${e}"`
- })), c.current = ns(i.lastElementChild, {
- onInput: (e) => l.current.onStep(e),
- onChange: (e) => l.current.onSettle(e)
- }));
- }), (0, b.useLayoutEffect)(() => {
- c.current && c.current.value !== r && c.current.set(r);
- }, [r]), /* @__PURE__ */ (0, x.jsx)("div", {
- "data-glow-field": e,
- hidden: i,
- ref: s,
- children: /* @__PURE__ */ (0, x.jsx)("span", {
- "data-glow-field-label": "",
- children: t
- })
- });
-}
-//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var zke = [
+var Xke = [
[
"strength",
"强度",
@@ -60650,7 +61200,7 @@ var zke = [
100
]
];
-function Bke({ host: e, spot: t, index: n, glow: r }) {
+function Zke({ host: e, spot: t, index: n, glow: r }) {
let i = Ose[n], a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)("all");
(0, b.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -60689,7 +61239,7 @@ function Bke({ host: e, spot: t, index: n, glow: r }) {
children: u
})]
}),
- /* @__PURE__ */ (0, x.jsx)(mO, { name: "chevron-down" })
+ /* @__PURE__ */ (0, x.jsx)(hO, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "popmenu",
@@ -60728,7 +61278,7 @@ function Bke({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function Vke({ host: e }) {
+function Qke({ host: e }) {
let t = e.store.value.homeGlow, n = lT(t.preset);
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-glow-setting": "",
@@ -60758,7 +61308,7 @@ function Vke({ host: e }) {
}),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-fields": "",
- children: zke.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(Rke, {
+ children: Xke.map(([r, i, a]) => /* @__PURE__ */ (0, x.jsx)(uOe, {
field: r,
label: i,
max: a,
@@ -60780,7 +61330,7 @@ function Vke({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, x.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-glow-stops": "",
- children: oT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(Bke, {
+ children: oT.map((n, r) => /* @__PURE__ */ (0, x.jsx)(Zke, {
host: e,
spot: n,
index: r,
@@ -60805,7 +61355,7 @@ function Vke({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var Hke = {
+var $ke = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -60846,22 +61396,22 @@ var Hke = {
optional: !0,
fallback: 60
}
-}, XV = (e) => `peach.number.${e}`;
-function ZV(e, t) {
+}, sH = (e) => `peach.number.${e}`;
+function cH(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function QV({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = Hke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
- d.current ||= Yw(Number(localStorage.getItem(XV(e))), o, s, n && n > 0 ? n : l);
+function lH({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = $ke[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, b.useRef)(0);
+ d.current ||= Yw(Number(localStorage.getItem(sH(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, b.useState)(n ?? 0), [m, h] = (0, b.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, b.useState)(""), v = (0, b.useRef)(null), y = (0, b.useRef)(i);
y.current = i, (0, b.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
}, [n]);
let S = () => {
let t = v.current;
- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(XV(e), String(d.current)), y.current(d.current)));
+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(sH(e), String(d.current)), y.current(d.current)));
}, C = (0, b.useRef)(S);
C.current = S, (0, b.useEffect)(() => {
let e = v.current;
@@ -60871,7 +61421,7 @@ function QV({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let w = f > 0, T = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(XV(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(sH(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, E = r || n === null;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-number-setting": "",
@@ -60908,7 +61458,7 @@ function QV({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, x.jsxs)("span", {
"aria-hidden": "true",
- children: [c, ZV(Number(m), c) ? ` · ${ZV(Number(m), c)}` : ""]
+ children: [c, cH(Number(m), c) ? ` · ${cH(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, x.jsx)("small", {
id: `${e}-error`,
@@ -60922,13 +61472,13 @@ function QV({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function $V(e) {
- let { mutate: t } = DN();
+function uH(e) {
+ let { mutate: t } = HN();
return (0, b.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function eH(e, t, n, r) {
+function dH(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -60938,17 +61488,17 @@ function eH(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var Uke = "__home__", tH = (e) => e === "" ? Uke : e;
-function Wke({ host: e }) {
- let t = $V(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {
- let a = eH(n, e, r, i);
+var eAe = "__home__", fH = (e) => e === "" ? eAe : e;
+function tAe({ host: e }) {
+ let t = uH(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, b.useState)(null), [c, l] = (0, b.useState)(!1), [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(null), g = (e, r, i) => {
+ let a = dH(n, e, r, i);
a && t(a);
}, _ = (e, r) => {
let i = n.indexOf(e), a = i + r;
if (i < 0 || a < 0 || a >= n.length) return;
let o = [...n];
[o[i], o[a]] = [o[a], o[i]], t(o);
- }, v = a.find(([e]) => tH(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => fH(e) === o) ?? a[0], y = () => {
h.current && Va(h.current), l(!1);
}, S = () => {
let e = h.current;
@@ -60969,7 +61519,7 @@ function Wke({ host: e }) {
}, T = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", tH(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", fH(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -61001,9 +61551,9 @@ function Wke({ host: e }) {
/* @__PURE__ */ (0, x.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(mO, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, x.jsx)(hO, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, x.jsx)(mO, { name: a ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(hO, { name: a ?? "" }),
/* @__PURE__ */ (0, x.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, x.jsxs)("span", {
@@ -61017,7 +61567,7 @@ function Wke({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, x.jsx)(mO, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, x.jsx)(hO, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -61027,7 +61577,7 @@ function Wke({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, x.jsx)(mO, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(hO, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -61039,11 +61589,11 @@ function Wke({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, x.jsx)(mO, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, x.jsx)(hO, { name: "eye-off" })
})
]
})]
- }, tH(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
+ }, fH(e))), /* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -61059,13 +61609,13 @@ function Wke({ host: e }) {
ref: m,
onClick: S,
children: v ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(mO, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, x.jsx)(hO, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, x.jsx)(mO, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(mO, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, x.jsx)(hO, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(hO, { name: "check" }), /* @__PURE__ */ (0, x.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -61076,15 +61626,15 @@ function Wke({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": tH(e),
+ "data-sidebar-add-option": fH(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: C,
onClick: () => {
- s(tH(e)), y(), m.current?.focus();
+ s(fH(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, x.jsx)(mO, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
- }, tH(e)))
+ children: [/* @__PURE__ */ (0, x.jsx)(hO, { name: n ?? "" }), /* @__PURE__ */ (0, x.jsx)("span", { children: t })]
+ }, fH(e)))
}) : null]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -61101,13 +61651,13 @@ function Wke({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var nH = [
+var pH = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], Gke = [
+], nAe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -61116,7 +61666,7 @@ var nH = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Kke = [["desc", "降序"], ["asc", "升序"]], qke = [[
+], rAe = [["desc", "降序"], ["asc", "升序"]], iAe = [[
"cover",
"官方封面",
""
@@ -61124,7 +61674,7 @@ var nH = [
"thumbnail",
"预览图",
""
-]], Jke = [
+]], aAe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -61143,83 +61693,83 @@ var nH = [
"切片",
"隐藏切片"
]
-], Yke = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", rH = null, iH = {
+], oAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", mH = null, hH = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, aH = 0, oH = null, sH = /* @__PURE__ */ new Set();
-function Xke(e) {
- return sH.add(e), () => {
- sH.delete(e);
+}, gH = 0, _H = null, vH = /* @__PURE__ */ new Set();
+function sAe(e) {
+ return vH.add(e), () => {
+ vH.delete(e);
};
}
-function Zke() {
- for (let e of [...sH]) e();
+function cAe() {
+ for (let e of [...vH]) e();
}
-function cH(e) {
- iH = {
- ...iH,
+function yH(e) {
+ hH = {
+ ...hH,
...e
- }, (0, mt.flushSync)(Zke);
+ }, (0, mt.flushSync)(cAe);
}
-async function Qke(e) {
- let t = iH.epoch, n = await e.configurable();
- iH.open && iH.epoch === t && cH({ configurable: n });
+async function lAe(e) {
+ let t = hH.epoch, n = await e.configurable();
+ hH.open && hH.epoch === t && yH({ configurable: n });
}
-function $ke(e = "") {
- let t = rH;
+function uAe(e = "") {
+ let t = mH;
if (!t) return;
- Ra(), aH += 1, oH ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let n = nH.findIndex(([t]) => t === e), r = Sve();
- cH({
+ Ra(), gH += 1, _H ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let n = pH.findIndex(([t]) => t === e), r = Ave();
+ yH({
open: !0,
closing: !1,
configurable: null,
- epoch: iH.epoch + 1,
- tab: n >= 0 ? n : iH.tab
+ epoch: hH.epoch + 1,
+ tab: n >= 0 ? n : hH.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), Qke(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), lAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function lH() {
- if (!iH.open || iH.closing) return;
- let e = ++aH;
- cH({ closing: !0 });
+function bH() {
+ if (!hH.open || hH.closing) return;
+ let e = ++gH;
+ yH({ closing: !0 });
let t = () => {
- e === aH && iH.closing && (cH({
+ e === gH && hH.closing && (yH({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), oH instanceof HTMLElement && document.contains(oH) && oH.focus(), oH = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), _H instanceof HTMLElement && document.contains(_H) && _H.focus(), _H = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(t) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380));
}
-var eAe = {
- open: $ke,
- close: lH,
- isOpen: () => iH.open,
+var dAe = {
+ open: uAe,
+ close: bH,
+ isOpen: () => hH.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function tAe(e) {
- return rH = e, eAe;
+function fAe(e) {
+ return mH = e, dAe;
}
-function nAe() {
- let e = (0, b.useSyncExternalStore)(Xke, () => iH);
- return rH ? /* @__PURE__ */ (0, x.jsx)(aAe, {
- host: rH,
+function pAe() {
+ let e = (0, b.useSyncExternalStore)(sAe, () => hH);
+ return mH ? /* @__PURE__ */ (0, x.jsx)(gAe, {
+ host: mH,
view: e
}) : null;
}
-function rAe(e) {
+function mAe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(Yke)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(oAe)].filter((e) => e.getClientRects().length > 0);
if (!t.length) return;
let n = t[0], r = t[t.length - 1];
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
}
-var uH = (e) => `settings-tab-${e}`, dH = (e) => `settings-group-${e}`;
-function iAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var xH = (e) => `settings-tab-${e}`, SH = (e) => `settings-group-${e}`;
+function hAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(e), l = (0, b.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -61247,7 +61797,7 @@ function iAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
c.current = e, d.current(l.current[e], t);
}, [e, t]);
let f = (e, t) => {
- let n = nH.length, r = t;
+ let n = pH.length, r = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;
else if (e.key === "Home") r = 0;
@@ -61276,11 +61826,11 @@ function iAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- nH.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
+ pH.map(([t, n], r) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
role: "tab",
- id: uH(r),
- "aria-controls": dH(r),
+ id: xH(r),
+ "aria-controls": SH(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -61291,7 +61841,7 @@ function iAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(mO, { name: n }) : /* @__PURE__ */ (0, x.jsx)(Nue, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, x.jsx)(hO, { name: n }) : /* @__PURE__ */ (0, x.jsx)(Mue, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, x.jsx)("div", {
"data-settings-service": "",
@@ -61302,26 +61852,26 @@ function iAe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(mO, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, x.jsx)(hO, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, x.jsx)(mO, { name: "chevron-right" })
+ /* @__PURE__ */ (0, x.jsx)(hO, { name: "chevron-right" })
]
})
})
]
});
}
-function fH({ index: e, tab: t, children: n }) {
+function CH({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
"data-setting-group": "",
- id: dH(e),
+ id: SH(e),
role: "tabpanel",
- "aria-labelledby": uH(e),
+ "aria-labelledby": xH(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: nH[e][0] }), n]
+ children: [/* @__PURE__ */ (0, x.jsx)("h3", { children: pH[e][0] }), n]
});
}
-function pH({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function wH({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, x.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, x.jsx)("small", {
@@ -61338,7 +61888,7 @@ function pH({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function mH({ title: e, description: t, kind: n, children: r }) {
+function TH({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -61346,7 +61896,7 @@ function mH({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, x.jsxs)("span", { children: [/* @__PURE__ */ (0, x.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, x.jsx)("small", { children: t }) : t] }), r]
});
}
-function aAe({ host: e, view: t }) {
+function gAe({ host: e, view: t }) {
(0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -61367,7 +61917,7 @@ function aAe({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (e) => {
- e !== iH.tab && cH({ tab: e });
+ e !== hH.tab && yH({ tab: e });
}, p = () => e.store.save();
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-settings-panel": "",
@@ -61378,9 +61928,9 @@ function aAe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: rAe,
+ onKeyDown: mAe,
onClick: (e) => {
- e.target === e.currentTarget && lH();
+ e.target === e.currentTarget && bH();
},
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-card": "",
@@ -61391,38 +61941,38 @@ function aAe({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, x.jsx)("h2", {
id: "settingsTitle",
- children: nH[t.tab][0]
+ children: pH[t.tab][0]
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
id: "settingsClose",
"aria-label": "关闭设置",
- onClick: lH,
+ onClick: bH,
children: /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-x" })
})
})]
}),
- /* @__PURE__ */ (0, x.jsx)(iAe, {
+ /* @__PURE__ */ (0, x.jsx)(hAe, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- lH(), e.openConfiguration();
+ bH(), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, x.jsxs)(fH, {
+ /* @__PURE__ */ (0, x.jsxs)(CH, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(mH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "主题",
- children: /* @__PURE__ */ (0, x.jsx)(JV, {
+ children: /* @__PURE__ */ (0, x.jsx)(OV, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -61450,7 +62000,7 @@ function aAe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, x.jsx)(pH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -61458,7 +62008,7 @@ function aAe({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, x.jsx)(pH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -61466,40 +62016,40 @@ function aAe({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, x.jsx)(Vke, { host: e }),
+ /* @__PURE__ */ (0, x.jsx)(Qke, { host: e }),
/* @__PURE__ */ (0, x.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: /* @__PURE__ */ (0, x.jsx)("b", {
id: "sidebarOrderTitle",
children: "导航入口与顺序"
- }) }), /* @__PURE__ */ (0, x.jsx)(Wke, { host: e })]
+ }) }), /* @__PURE__ */ (0, x.jsx)(tAe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(sAe, {
+ /* @__PURE__ */ (0, x.jsx)(vAe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(cAe, {
+ /* @__PURE__ */ (0, x.jsx)(yAe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsxs)(fH, {
+ /* @__PURE__ */ (0, x.jsxs)(CH, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, x.jsx)(dAe, {
+ /* @__PURE__ */ (0, x.jsx)(SAe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, x.jsx)(mH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(QV, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -61509,24 +62059,24 @@ function aAe({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, x.jsx)(mH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "口味与记录",
children: /* @__PURE__ */ (0, x.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, x.jsx)(ok, {
+ children: /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
href: "/taste",
- onClick: lH,
+ onClick: bH,
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(fH, {
+ /* @__PURE__ */ (0, x.jsx)(CH, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, x.jsx)(pH, {
+ children: /* @__PURE__ */ (0, x.jsx)(wH, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -61541,7 +62091,7 @@ function aAe({ host: e, view: t }) {
})
});
}
-function oAe(e, t) {
+function _Ae(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = io("arrow-up", "arrow-down", "a", {
@@ -61551,17 +62101,17 @@ function oAe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function sAe({ host: e, tab: t, epoch: n }) {
+function vAe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";
- return /* @__PURE__ */ (0, x.jsxs)(fH, {
+ return /* @__PURE__ */ (0, x.jsxs)(CH, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, x.jsx)(mH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, x.jsx)(QV, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -61571,24 +62121,24 @@ function sAe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, x.jsx)(mH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, x.jsx)(YV, {
+ children: [/* @__PURE__ */ (0, x.jsx)(kV, {
id: "defaultSortSetting",
label: "默认排序",
- options: Gke,
+ options: nAe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, x.jsx)(YV, {
+ }), /* @__PURE__ */ (0, x.jsx)(kV, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: Kke,
+ options: rAe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -61596,13 +62146,13 @@ function sAe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => oAe(e, o)
+ decorate: (e) => _Ae(e, o)
})]
})
}),
- /* @__PURE__ */ (0, x.jsx)(mH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, x.jsx)(JV, {
+ children: /* @__PURE__ */ (0, x.jsx)(OV, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -61615,16 +62165,16 @@ function sAe({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(uAe, {
+ /* @__PURE__ */ (0, x.jsx)(xAe, {
host: e,
epoch: n
})
]
});
}
-function cAe({ host: e, tab: t, epoch: n }) {
+function yAe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, x.jsxs)(fH, {
+ return /* @__PURE__ */ (0, x.jsxs)(CH, {
index: 2,
tab: t,
children: [
@@ -61632,13 +62182,13 @@ function cAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, x.jsx)(mH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "默认图片",
- children: /* @__PURE__ */ (0, x.jsx)(JV, {
+ children: /* @__PURE__ */ (0, x.jsx)(OV, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: qke,
+ options: iAe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -61666,7 +62216,7 @@ function cAe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, x.jsx)(pH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -61674,7 +62224,7 @@ function cAe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- Jke.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(lAe, {
+ aAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, x.jsx)(bAe, {
host: e,
id: t,
settingKey: n,
@@ -61684,8 +62234,8 @@ function cAe({ host: e, tab: t, epoch: n }) {
]
});
}
-function lAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = DN(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
+function bAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = HN(), [o, s] = (0, b.useState)(null), c = (0, b.useRef)(null), l = e.store.value, u = (t) => {
s(t), Yo(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -61709,14 +62259,14 @@ function lAe({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function uAe({ host: e, epoch: t }) {
+function xAe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
- /* @__PURE__ */ (0, x.jsx)(mH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, x.jsx)(QV, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: n.hoverDelaySeconds,
@@ -61726,7 +62276,7 @@ function uAe({ host: e, epoch: t }) {
}, t)
})
}),
- /* @__PURE__ */ (0, x.jsx)(pH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -61734,7 +62284,7 @@ function uAe({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, x.jsx)(pH, {
+ /* @__PURE__ */ (0, x.jsx)(wH, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -61742,11 +62292,11 @@ function uAe({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, x.jsx)(mH, {
+ /* @__PURE__ */ (0, x.jsx)(TH, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, x.jsx)(QV, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -61758,13 +62308,13 @@ function uAe({ host: e, epoch: t }) {
})
] });
}
-function dAe({ host: e, epoch: t }) {
- let n = e.store.value, r = DN();
- return /* @__PURE__ */ (0, x.jsx)(mH, {
+function SAe({ host: e, epoch: t }) {
+ let n = e.store.value, r = HN();
+ return /* @__PURE__ */ (0, x.jsx)(TH, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, x.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, x.jsx)(QV, {
+ children: /* @__PURE__ */ (0, x.jsx)(lH, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
@@ -61777,68 +62327,68 @@ function dAe({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var hH = "__home__", fAe = {
+var EH = "__home__", CAe = {
creator: 26,
tag: 30,
tech: 16
-}, gH = 180, _H = null, vH = {
+}, DH = 180, OH = null, kH = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, yH = /* @__PURE__ */ new Set();
-function pAe(e) {
- return yH.add(e), () => {
- yH.delete(e);
+}, AH = /* @__PURE__ */ new Set();
+function wAe(e) {
+ return AH.add(e), () => {
+ AH.delete(e);
};
}
-function bH() {
- for (let e of [...yH]) e();
+function jH() {
+ for (let e of [...AH]) e();
}
-var mAe = {
+var TAe = {
render(e) {
- vH = {
- ...vH,
+ kH = {
+ ...kH,
props: e
- }, (0, mt.flushSync)(bH);
+ }, (0, mt.flushSync)(jH);
},
navChanged() {
- vH = {
- ...vH,
- epoch: vH.epoch + 1
- }, (0, mt.flushSync)(bH);
+ kH = {
+ ...kH,
+ epoch: kH.epoch + 1
+ }, (0, mt.flushSync)(jH);
}
};
-function hAe(e) {
- return _H = e, vH = {
- ...vH,
+function EAe(e) {
+ return OH = e, kH = {
+ ...kH,
props: {
content: null,
filters: {},
latest: null
}
- }, mAe;
+ }, TAe;
}
-function gAe() {
- let e = (0, b.useSyncExternalStore)(pAe, () => vH);
- return _H ? /* @__PURE__ */ (0, x.jsx)(_Ae, {
- host: _H,
+function DAe() {
+ let e = (0, b.useSyncExternalStore)(wAe, () => kH);
+ return OH ? /* @__PURE__ */ (0, x.jsx)(OAe, {
+ host: OH,
props: e.props,
epoch: e.epoch
}) : null;
}
-function _Ae({ host: e, props: t, epoch: n }) {
+function OAe({ host: e, props: t, epoch: n }) {
let r = (0, b.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, x.jsx)(vAe, {
+ /* @__PURE__ */ (0, x.jsx)(kAe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, x.jsx)(bAe, {
+ t.content ? /* @__PURE__ */ (0, x.jsx)(jAe, {
host: e,
content: t.content,
filters: t.filters,
@@ -61846,8 +62396,8 @@ function _Ae({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function vAe({ host: e, epoch: t, version: n }) {
- let r = $V(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = Gk(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || hH : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function kAe({ host: e, epoch: t, version: n }) {
+ let r = uH(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, b.useRef)(null), l = (0, b.useRef)(null), u = Kk(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || EH : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, b.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -61865,7 +62415,7 @@ function vAe({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || hH);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || EH);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -61880,7 +62430,7 @@ function vAe({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : eH(i, n, e, a);
+ let o = n === null ? null : dH(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -61903,16 +62453,16 @@ function vAe({ host: e, epoch: t, version: n }) {
"data-sidebar-home-logo": "",
src: "/peach-logo.png",
alt: ""
- }) : /* @__PURE__ */ (0, x.jsx)(mO, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
- }, t || hH))
+ }) : /* @__PURE__ */ (0, x.jsx)(hO, { name: r }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ }, t || EH))
}), v ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var xH = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function yAe(e) {
+var MH = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function AAe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -61925,7 +62475,7 @@ function yAe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function bAe({ host: e, content: t, filters: n, latest: r }) {
+function jAe({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;
(0, b.useLayoutEffect)(() => {
t.kind === "catalog" && uo(e.scroll, "drawer");
@@ -61934,8 +62484,8 @@ function bAe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? xAe(e, t.facets, n, r, i) : SAe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(CAe, {
+ let a = t.kind === "catalog" ? MAe(e, t.facets, n, r, i) : NAe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, x.jsx)(PAe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -61944,11 +62494,11 @@ function bAe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function xAe(e, t, n, r, i) {
- let a = yAe(r), o = (t, r, i) => {
+function MAe(e, t, n, r, i) {
+ let a = AAe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = xH(n, r);
- return /* @__PURE__ */ (0, x.jsx)(wH, {
+ let o = MH(n, r);
+ return /* @__PURE__ */ (0, x.jsx)(FH, {
rows: t,
filterKey: r,
multi: i,
@@ -61958,7 +62508,7 @@ function xAe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = xH(n, l), p = c.some((e) => f.includes(e.value));
+ let f = MH(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -61970,12 +62520,12 @@ function xAe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, x.jsx)(TAe, {
+ body: /* @__PURE__ */ (0, x.jsx)(IAe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: fAe[d],
+ limit: CAe[d],
filterKey: l,
selected: f,
counts: a,
@@ -61990,7 +62540,7 @@ function xAe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(DH, {
+ body: /* @__PURE__ */ (0, x.jsx)(RH, {
host: e,
filters: n
})
@@ -62004,7 +62554,7 @@ function xAe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(TH, {
+ body: /* @__PURE__ */ (0, x.jsx)(IH, {
rows: t.followTags,
host: e,
selected: null,
@@ -62013,14 +62563,14 @@ function xAe(e, t, n, r, i) {
} : null
];
}
-function SAe(e, t, n) {
- let r = t.providers || [], i = xH(n, "provider"), a = new Set(t.selected);
+function NAe(e, t, n) {
+ let r = t.providers || [], i = MH(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, x.jsx)(wH, {
+ body: /* @__PURE__ */ (0, x.jsx)(FH, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -62034,7 +62584,7 @@ function SAe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, x.jsx)(DH, {
+ body: /* @__PURE__ */ (0, x.jsx)(RH, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -62044,7 +62594,7 @@ function SAe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, x.jsx)(TH, {
+ body: /* @__PURE__ */ (0, x.jsx)(IH, {
rows: t.tags,
host: e,
selected: a,
@@ -62053,19 +62603,19 @@ function SAe(e, t, n) {
} : null
];
}
-function SH(e, t) {
+function NH(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function CAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(() => SH(e, n)), u = (0, b.useRef)(!1);
+function PAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, b.useRef)(null), s = (0, b.useRef)(null), [c, l] = (0, b.useState)(() => NH(e, n)), u = (0, b.useRef)(!1);
(0, b.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? SH(e, n) : c;
+ let i = u.current ? NH(e, n) : c;
u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));
}, [i]);
let d = (t) => {
@@ -62086,7 +62636,7 @@ function CAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, x.jsx)(mO, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, x.jsx)(hO, { name: "chevron-right" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, x.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -62097,7 +62647,7 @@ function CAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, x.jsx)(CH.Provider, {
+ children: /* @__PURE__ */ (0, x.jsx)(PH.Provider, {
value: d,
children: a
})
@@ -62106,15 +62656,15 @@ function CAe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var CH = (0, b.createContext)(() => {});
-function wAe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(mO, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {
+var PH = (0, b.createContext)(() => {});
+function FAe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, x.jsx)(hO, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, x.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, x.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function wH({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function FH({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -62131,7 +62681,7 @@ function wH({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
title: e.offline || e.label,
onClick: () => o(t, e.value, n),
children: [
- /* @__PURE__ */ (0, x.jsx)(wAe, { dot: e.dot }),
+ /* @__PURE__ */ (0, x.jsx)(FAe, { dot: e.dot }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -62146,8 +62696,8 @@ function wH({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function TAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, b.useContext)(CH), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);
+function IAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, b.useContext)(PH), [d, f] = (0, b.useState)(null), [p, m] = (0, b.useState)(e);
p !== e && (m(e), f(null));
let h = (0, b.useRef)(null), g = (0, b.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, b.useLayoutEffect)(() => {
@@ -62162,7 +62712,7 @@ function TAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Sa(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(wH, {
+ }, [d, _]), /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(FH, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -62187,10 +62737,10 @@ function TAe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, x.jsx)(mO, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(hO, { name: "chevron-down" })
}) : null] });
}
-function TH({ rows: e, host: t, selected: n, badges: r }) {
+function IH({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
@@ -62212,10 +62762,10 @@ function TH({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var EH = (e, t) => e ? Math.min(gH, Number(e) / 60) : t;
-function DH({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [EH(t.dur_min, 0), EH(t.dur_max, gH)]), [c, l] = (0, b.useState)("max");
- i !== r && (a(r), s([EH(t.dur_min, 0), EH(t.dur_max, gH)]));
+var LH = (e, t) => e ? Math.min(DH, Number(e) / 60) : t;
+function RH({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, b.useState)(r), [o, s] = (0, b.useState)(() => [LH(t.dur_min, 0), LH(t.dur_max, DH)]), [c, l] = (0, b.useState)("max");
+ i !== r && (a(r), s([LH(t.dur_min, 0), LH(t.dur_max, DH)]));
let [u, d] = o, f = (0, b.useRef)(null), p = (0, b.useRef)(null), m = (0, b.useRef)(null), h = (0, b.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -62228,11 +62778,11 @@ function DH({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, b.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / gH * 100}%`), e.style.setProperty("--hi", `${d / gH * 100}%`);
+ e.style.setProperty("--lo", `${u / DH * 100}%`), e.style.setProperty("--hi", `${d / DH * 100}%`);
let t = e.getBoundingClientRect();
e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {
let n = e.dataset.rangeEnd === "max" ? d : u;
- e.style.left = `${n / gH * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / DH * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;
i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);
});
@@ -62242,7 +62792,7 @@ function DH({ host: e, filters: t, commit: n = e.setDuration }) {
"data-range-end": e,
"data-range-active": c === e ? "" : void 0,
"aria-hidden": "true",
- children: e === "max" && t >= gH ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= DH ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-sidebar-duration": "",
@@ -62257,7 +62807,7 @@ function DH({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: gH,
+ max: DH,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -62268,7 +62818,7 @@ function DH({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: gH,
+ max: DH,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -62283,23 +62833,23 @@ function DH({ host: e, filters: t, commit: n = e.setDuration }) {
}
//#endregion
//#region src/configuration-skeleton.ts
-var EAe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${dP({
+var LAe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${EP({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, OH = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
-function DAe() {
+})}</div></div></section>`, zH = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton ${n}"></span></div>`;
+function RAe() {
return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${[
"媒体库与入库",
"来源与订阅",
"下载渠道",
"网络与访问",
"应用与维护"
- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${EAe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${OH("媒体文件夹", "", "ui-configuration-skeleton-select")}${OH("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${LAe("媒体文件夹", `<div class="flex flex-col gap-3 py-4 pr-3">${zH("媒体文件夹", "", "ui-configuration-skeleton-select")}${zH("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var kH = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", AH = (e = "60%") => `<span class="${kH} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, jH = "disabled data-skeleton-action", MH = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function OAe() {
+var BH = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", VH = (e = "60%") => `<span class="${BH} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, HH = "disabled data-skeleton-action", UH = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function zAe() {
let e = [
"馆藏视频",
"看过",
@@ -62307,27 +62857,27 @@ function OAe() {
"使用空间"
].map((e, t) => `
<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${kH} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${AH("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${AH("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${MH}" data-stats-chart>
- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${AH("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${BH} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${VH("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${VH("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${UH}" data-stats-chart>
+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${VH("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
<svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[
76,
54,
32
].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>
- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${AH()}</span><b class="text-title-2-medium">${AH("3em")}</b><small class="text-caption-1-regular">${AH()}</small></div>`).join("")}</div>
+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${VH()}</span><b class="text-title-2-medium">${VH("3em")}</b><small class="text-caption-1-regular">${VH()}</small></div>`).join("")}</div>
</section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${AH("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">账本当前快照 · ${VH("12em")}</p>
<div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div>
<div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div>
<div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${[
"时长",
"画质",
"文件类型"
- ].map((e) => `<section class="${MH}"><h3 class="text-title-2-medium">${e}</h3><div class="${kH} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${UH}"><h3 class="text-title-2-medium">${e}</h3><div class="${BH} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -62336,11 +62886,11 @@ function OAe() {
"最近看过",
"标签来源"
].map((e) => `<span>${e}</span>`).join("")}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${kH} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${BH} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function kAe() {
+function BAe() {
let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = [
"浏览记录",
"口味维度",
@@ -62348,20 +62898,20 @@ function kAe() {
"私有导出"
].map((e) => `
<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">
- <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${kH} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${AH("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${AH("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${kH} h-6"></div>`).join(""), r = (e) => `<section class="${MH}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${kH} h-40"></div></section>`;
+ <span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${BH} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${VH("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${VH("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${BH} h-6"></div>`).join(""), r = (e) => `<section class="${UH}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${BH} h-40"></div></section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
<div class="flex flex-col gap-5">
<div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}
- <div class="flex flex-wrap items-center gap-2">${fP("全部时间")}<span data-button-group data-split-button data-variant="primary">${dP({
+ <div class="flex flex-wrap items-center gap-2">${DP("全部时间")}<span data-button-group data-split-button data-variant="primary">${EP({
glyph: "compass",
label: "读取浏览器历史",
- attrs: jH
- })}${dP({
+ attrs: HH
+ })}${EP({
glyph: "chevron-down",
- attrs: jH
+ attrs: HH
})}</span></div>
</div>
<div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>
@@ -62379,11 +62929,11 @@ function kAe() {
4,
5
].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>
- <small class="text-caption-1-regular">${AH("8em")}</small></div>
+ <small class="text-caption-1-regular">${VH("8em")}</small></div>
<div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div>
</section>
<div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>
- <section class="${MH}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${kH} h-72 max-sm:h-48"></div></section>
+ <section class="${UH}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${BH} h-72 max-sm:h-48"></div></section>
<section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col">
<div class="px-4 pt-3">${e([
"标签",
@@ -62391,128 +62941,128 @@ function kAe() {
"常访问网站",
"浏览候选"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${kH} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${BH} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function AAe() {
+function VAe() {
let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
- <span class="${kH} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${AH("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${AH("3em")}</span>`).join("")}
- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${AH("75%")}</span>
+ <span class="${BH} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${VH("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${VH("3em")}</span>`).join("")}
+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${VH("75%")}</span>
</div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group>
<div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">
- <b class="text-title-2-medium">${AH("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${AH("8em")}</span>
+ <b class="text-title-2-medium">${VH("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${VH("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
"整组回收"
- ].map((e) => dP({
+ ].map((e) => EP({
variant: "secondary",
size: "small",
label: e,
- attrs: jH
+ attrs: HH
})).join("")}</span>
</div>${e.repeat(2)}</section>`;
return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
<div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${AH("4em")}</strong></div><p class="text-body-regular text-text-secondary">${AH("12em")}</p>
+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${VH("4em")}</strong></div><p class="text-body-regular text-text-secondary">${VH("12em")}</p>
</div>
- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${jH} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${HH} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function jAe() {
+function HAe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${kH} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${AH("80%")}</h3><p class="text-body-2-regular">${AH("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${BH} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${VH("80%")}</h3><p class="text-body-2-regular">${VH("60%")}</p></div>
</div>
- <footer class="flex justify-end">${dP({
+ <footer class="flex justify-end">${EP({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: jH
+ attrs: HH
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- ${pP("待升级")}
+ ${OP("待升级")}
<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul>
</div></div>`;
}
//#endregion
//#region src/board-skeleton.ts
-var NH = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, PH = () => `${NH("80%")}${NH("48%")}`, FH = (e, t) => e.repeat(t), IH = "disabled data-skeleton-action", LH = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, RH = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, MAe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", zH = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var WH = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, GH = () => `${WH("80%")}${WH("48%")}`, KH = (e, t) => e.repeat(t), qH = "disabled data-skeleton-action", JH = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, YH = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, UAe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", XH = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
"关注创作者",
"启用来源",
"检查失败",
"未看更新",
"JAV 订阅",
"未看新作"
-].map((e) => `<div class="${MAe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${LH("3em")}</b></div>`).join("")}</div>`, BH = [
+].map((e) => `<div class="${UAe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${JH("3em")}</b></div>`).join("")}</div>`, ZH = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], NAe = (e = "") => BH.some(([t]) => t === e) ? e : "list", VH = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${BH.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, HH = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, PAe = ({ table: e, sort: t, dir: n }) => {
+], WAe = (e = "") => ZH.some(([t]) => t === e) ? e : "list", QH = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${ZH.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, $H = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, GAe = ({ table: e, sort: t, dir: n }) => {
let r = nn.find(([e]) => e === t)[1];
- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${LH("132px")}</span></span>${dP({
+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${JH("132px")}</span></span>${EP({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: IH
- })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${dP({
+ attrs: qH
+ })}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${EP({
variant: "ghost",
glyph: "layout-grid",
attrs: `aria-pressed="${!e}"`
- })}${dP({
+ })}${EP({
variant: "ghost",
glyph: "table",
attrs: `aria-pressed="${e}"`
- })}</span>${fP(r)}${dP({
+ })}</span>${DP(r)}${EP({
variant: "secondary",
glyph: n === "asc" ? "arrow-up" : "arrow-down"
- })}${e ? "" : dP({
+ })}${e ? "" : EP({
variant: "secondary",
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: IH
+ attrs: qH
})}</span></div>`;
-}, UH = () => `<span class="flex shrink-0 items-center gap-1">${dP({
+}, eU = () => `<span class="flex shrink-0 items-center gap-1">${EP({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: IH
-})}${dP({
+ attrs: qH
+})}${EP({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: IH
-})}</span>`, FAe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${HH()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${LH("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${RH(14, 14)}</span>${RH(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${LH("113px")}</span>${UH()}</span></div>`, WH = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${RH(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${LH("92px")}</b>${dP({
+ attrs: qH
+})}</span>`, KAe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${$H()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${JH("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${YH(14, 14)}</span>${YH(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${JH("113px")}</span>${eU()}</span></div>`, tU = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${YH(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${JH("92px")}</b>${EP({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: IH
-})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${RH(14, 14)}${RH(14, 14)}</span>${dP({
+ attrs: qH
+})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${YH(14, 14)}${YH(14, 14)}</span>${EP({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: IH
-})}${dP({
+ attrs: qH
+})}${EP({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: IH
-})}</span></div><div data-source-divider>${FH(FAe(), e)}</div></section>`, IAe = () => {
+ attrs: qH
+})}</span></div><div data-source-divider>${KH(KAe(), e)}</div></section>`, qAe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, LAe = [
+}, JAe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -62520,64 +63070,64 @@ var NH = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, PH
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], RAe = {
+], YAe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, zAe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", BAe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${LAe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${RAe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${zAe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${FH(`<tr>${[
- HH(),
- `<span class="flex min-w-0 items-center gap-2">${RH(32, 32, !0)}${LH("5em")}</span>`,
- LH("10em"),
- `<span class="flex items-center gap-1.5">${RH(14, 14)}${LH("4em")}</span>`,
- RH(48, 24),
- LH("113px"),
- UH()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, VAe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${LH("111px")}</span>${fP(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${RH(204, 32)}</div>`, HAe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${LH("120px")}</h3>${[
+}, XAe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", ZAe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${JAe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${YAe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${XAe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${KH(`<tr>${[
+ $H(),
+ `<span class="flex min-w-0 items-center gap-2">${YH(32, 32, !0)}${JH("5em")}</span>`,
+ JH("10em"),
+ `<span class="flex items-center gap-1.5">${YH(14, 14)}${JH("4em")}</span>`,
+ YH(48, 24),
+ JH("113px"),
+ eU()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, QAe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${JH("111px")}</span>${DP(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${YH(204, 32)}</div>`, $Ae = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${JH("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${LH(e)}</span>`).join("")}</div>`, UAe = (e) => {
- let t = NAe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${zH()}<div class="flex flex-col gap-6">${VH(t)}<div class="flex flex-col gap-4">${HAe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = sn(e.followSort, e.followDir), i = e.followPageSize || IAe(), a = n ? BAe(i, r) : `${HH("全选本页")}<div class="flex flex-col gap-3">${WH(3)}${WH(4)}${WH(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${zH()}<div class="flex flex-col gap-6">${VH(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${PAe({
+].map((e) => `<span class="text-body-medium">${JH(e)}</span>`).join("")}</div>`, eje = (e) => {
+ let t = WAe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${XH()}<div class="flex flex-col gap-6">${QH(t)}<div class="flex flex-col gap-4">${$Ae()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = sn(e.followSort, e.followDir), i = e.followPageSize || qAe(), a = n ? ZAe(i, r) : `${$H("全选本页")}<div class="flex flex-col gap-3">${tU(3)}${tU(4)}${tU(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${XH()}<div class="flex flex-col gap-6">${QH(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${GAe({
table: n,
...r
- })}${a}${VAe(n, i)}</div></div></div></div></div>`;
+ })}${a}${QAe(n, i)}</div></div></div></div></div>`;
};
-function WAe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${NH("85%")}${NH("65%")}${FH(PH(), 4)}</div></aside></div>`;
+function tje() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${WH("85%")}${WH("65%")}${KH(GH(), 4)}</div></aside></div>`;
}
-function GAe(e, t = {}) {
+function nje(e, t = {}) {
let n = "";
- if (e === "/stats") n = OAe();
- else if (e === "/jav") n = REe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = kAe();
- else if (e === "/follow-manage") n = UAe(t);
- else if (e === "/configuration") n = DAe();
+ if (e === "/stats") n = zAe();
+ else if (e === "/jav") n = UEe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = BAe();
+ else if (e === "/follow-manage") n = eje(t);
+ else if (e === "/configuration") n = RAe();
else if (e === "/activity") n = `<div class="ui-activitypage">${[
"正在进行",
"被挡下的",
"最近完成"
- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${NH("35%")}${PH()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = AAe();
- else if (e === "/quality-goals") n = jAe();
- else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${NH("200px")}</div></header><div class="ui-playlistcards">${FH(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${PH()}</div></div></article>`, 6)}</div></section>`;
+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${WH("35%")}${GH()}</div></article></div></section>`).join("")}</div>`;
+ else if (e === "/duplicates") n = VAe();
+ else if (e === "/quality-goals") n = HAe();
+ else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${WH("200px")}</div></header><div class="ui-playlistcards">${KH(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${GH()}</div></div></article>`, 6)}</div></section>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var GH = (e) => ["follow-item", e], KAe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, qAe = "/api/follow/save", JAe = "/api/follow/media/hide", KH = class extends Error {
+var nU = (e) => ["follow-item", e], rje = (e) => `/api/follow?item=${encodeURIComponent(e)}`, ije = "/api/follow/save", aje = "/api/follow/media/hide", rU = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function qH(e, t) {
- let n = await B(KAe(e), t);
+async function iU(e, t) {
+ let n = await B(rje(e), t);
for (let t of n.groups || []) {
let r = $r(t).find((t) => t.id === e);
if (r) return {
@@ -62587,9 +63137,9 @@ async function qH(e, t) {
aliases: n.author_aliases || []
};
}
- throw new KH();
+ throw new rU();
}
-function YAe(e) {
+function oje(e) {
for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = $r(t.group).find((t) => t.id === e);
@@ -62600,20 +63150,20 @@ function YAe(e) {
}
return null;
}
-async function JH(e, t) {
- let n = GH(e.id), r = ei(e.id), i = H.getQueryData(Jr) ? null : H.fetchQuery({
+async function aU(e, t) {
+ let n = nU(e.id), r = ei(e.id), i = H.getQueryData(Jr) ? null : H.fetchQuery({
queryKey: Jr,
queryFn: () => Yr(t)
}), a = r ? {
...r,
item: r.item
- } : H.getQueryData(n) ?? YAe(e.id);
+ } : H.getQueryData(n) ?? oje(e.id);
a ? H.setQueryData(n, a) : await H.fetchQuery({
queryKey: n,
- queryFn: () => qH(e.id, t)
+ queryFn: () => iU(e.id, t)
}), await i;
}
-function XAe(e, t, n, r) {
+function sje(e, t, n, r) {
let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && ci(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
@@ -62628,32 +63178,32 @@ function XAe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var ZAe = (e) => $r(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), QAe = {
+var cje = (e) => $r(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), lje = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, $Ae = {
+}, uje = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function eje(e) {
+function dje(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return QAe[t] || t;
+ return lje[t] || t;
} catch {
return "外部文件页";
}
}
-function YH(e, t) {
- return $Ae[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function oU(e, t) {
+ return uje[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function tje(e, t, n = "") {
+function fje(e, t, n = "") {
let r = n;
!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";
let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;
@@ -62662,54 +63212,54 @@ function tje(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var nje = (e) => String(e.name || "").trim(), XH = (e, t) => e.tag_types?.[t] || "unknown", rje = /* @__PURE__ */ new Set([
+var pje = (e) => String(e.name || "").trim(), sU = (e, t) => e.tag_types?.[t] || "unknown", mje = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function ije(e, t) {
- let n = XH(e, t);
- return `r34-${rje.has(n) ? n : "general"}`;
+function hje(e, t) {
+ let n = sU(e, t);
+ return `r34-${mje.has(n) ? n : "general"}`;
}
-var ZH = [
+var cU = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function aje(e, t) {
+function gje(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = ZH.indexOf(XH(e, t));
- return n < 0 ? ZH.length : n;
+ let n = cU.indexOf(sU(e, t));
+ return n < 0 ? cU.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function QH(e, t) {
+function lU(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var oje = (e, t) => ({
+var _je = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), $H = (e) => e?.size ? { size: e.size } : {};
-function sje(e, t) {
+}), uU = (e) => e?.size ? { size: e.size } : {};
+function vje(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: YH(t, e),
- ...$H(t)
+ source: oU(t, e),
+ ...uU(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: YH(a, e),
- ...$H(a)
+ source: oU(a, e),
+ ...uU(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -62717,7 +63267,7 @@ function sje(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var cje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", eU = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ho(e, {
+var yje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", dU = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ho(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -62725,7 +63275,7 @@ var cje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", eU
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), lje = [
+}), bje = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -62735,40 +63285,40 @@ var cje = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", eU
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], uje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${R(e)}">
+], xje = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${R(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${lje.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${R(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${bje.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${R(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
<div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>
- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, dje = {
- "/data-cleanup": () => xP(),
- "/resource-sync": () => xP(),
- "/review": () => uje(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, Sje = {
+ "/data-cleanup": () => IP(),
+ "/resource-sync": () => IP(),
+ "/review": () => xje(),
"/diagnostics": () => mo(),
"/scraping": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${eU("正在读取采集来源", {
+ ${dU("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function tU(e, { followLayout: t, followSort: n, followDir: r }) {
- return GAe(e, {
+function fU(e, { followLayout: t, followSort: n, followDir: r }) {
+ return nje(e, {
followLayout: t,
...e === "/follow-manage" ? {
followSort: n,
followDir: r
} : {}
- }) || (dje[e] ?? (() => eU("正在读取页面")))();
+ }) || (Sje[e] ?? (() => dU("正在读取页面")))();
}
-var nU = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function rU(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = nU(t);
+var pU = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function mU(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = pU(t);
(!r || r !== n) && (e.innerHTML = t, Co(e));
}
//#endregion
//#region src/react/components/mix-queue.tsx
-function iU({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function hU({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, b.useRef)(null), l = (0, b.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -62804,7 +63354,7 @@ function iU({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function aU({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function gU({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, x.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -62827,7 +63377,7 @@ function aU({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var fje = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
+var Cje = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -62837,7 +63387,7 @@ var fje = ({ label: e, count: t }) => /* @__PURE__ */ (0, x.jsxs)("h3", {
});
//#endregion
//#region src/react/components/related-section.tsx
-function oU({ children: e, wireDrag: t, busy: n, ...r }) {
+function _U({ children: e, wireDrag: t, busy: n, ...r }) {
let i = (0, b.useCallback)((e) => {
e && (Co(e), t(e));
}, [t]);
@@ -62858,14 +63408,14 @@ function oU({ children: e, wireDrag: t, busy: n, ...r }) {
}
//#endregion
//#region src/react/components/detail-continuation.tsx
-function sU({ queue: e, children: t, editionCards: n }) {
+function vU({ queue: e, children: t, editionCards: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-detail-continuation": "",
"data-edition-cards": n == null ? void 0 : Math.min(3, n),
children: [e, t]
});
}
-function cU(e, t, n) {
+function yU(e, t, n) {
(0, b.useLayoutEffect)(() => {
let n = e.current;
if (!n) return;
@@ -62884,7 +63434,7 @@ function cU(e, t, n) {
n
]);
}
-function lU({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function bU({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(!0), c = e.some((e) => e.video), l = !!i;
if ((0, b.useEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]"), t = Po(e, { fade: !1 });
@@ -62950,7 +63500,7 @@ function lU({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(pje, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)(wje, {
item: e,
selected: r === t,
label: e.label || `第 ${r + 1} 张`,
@@ -62972,7 +63522,7 @@ function lU({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function pje({ item: e, selected: t, label: n, onSelect: r, render: i }) {
+function wje({ item: e, selected: t, label: n, onSelect: r, render: i }) {
let a = (0, b.useRef)(null), [o, s] = (0, b.useState)(typeof IntersectionObserver > "u");
return (0, b.useEffect)(() => {
if (!a.current || o) return;
@@ -62997,14 +63547,14 @@ function pje({ item: e, selected: t, label: n, onSelect: r, render: i }) {
}
//#endregion
//#region src/react/follow-detail/follow-related.ts
-var mje = (e, t, n) => [
+var Tje = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function uU(e, t, n, r) {
+function xU(e, t, n, r) {
let i = new Set((t.group ? $r(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));
return e.flatMap((e) => e.groups || []).filter((e) => {
let t = $r(e);
@@ -63019,7 +63569,7 @@ function uU(e, t, n, r) {
};
}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);
}
-async function hje(e, t, n, r) {
+async function Eje(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...si(i),
status: "new",
@@ -63033,29 +63583,29 @@ async function hje(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return uU(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && uU(o, e, t, n).length < n && await s("", 0), {
+ return xU(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && xU(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
//#endregion
//#region src/react/follow-detail/follow-detail-page.tsx
-var dU = (e) => Number(e) > 0, gje = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var SU = (e) => Number(e) > 0, Dje = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
-}), fU = L("external-link", "ui-externalmark");
-function _je(e) {
+}), CU = L("external-link", "ui-externalmark");
+function Oje(e) {
let { id: t, actions: n } = e, r = dt({
- queryKey: GH(t),
- queryFn: ({ signal: e }) => qH(t, e)
+ queryKey: nU(t),
+ queryFn: ({ signal: e }) => iU(t, e)
}), i = dt({
queryKey: Jr,
queryFn: ({ signal: e }) => Yr(e)
}), a = (0, b.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, b.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, x.jsx)(bje, {
+ return r.data ? /* @__PURE__ */ (0, x.jsx)(jje, {
...e,
data: r.data,
- context: oje(r.data, a),
+ context: _je(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, x.jsx)("div", {
@@ -63064,9 +63614,9 @@ function _je(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, x.jsx)(pU, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(wU, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? vje(r.error) ? /* @__PURE__ */ (0, x.jsx)(yje, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(dM, {
+ children: r.isError ? kje(r.error) ? /* @__PURE__ */ (0, x.jsx)(Aje, { onBack: n.close }) : /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -63074,8 +63624,8 @@ function _je(e) {
})
});
}
-var vje = (e) => e instanceof KH || e instanceof en && e.status === 404;
-function yje({ onBack: e }) {
+var kje = (e) => e instanceof rU || e instanceof en && e.status === 404;
+function Aje({ onBack: e }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -63084,7 +63634,7 @@ function yje({ onBack: e }) {
dangerouslySetInnerHTML: { __html: Qa("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var pU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var wU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -63093,8 +63643,8 @@ var pU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function bje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = XAe(c, l, n, i), d = Eje(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
+function jje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = sje(c, l, n, i), d = Lje(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, b.useState)({
key: "",
kind: ""
}), h = {
@@ -63114,20 +63664,20 @@ function bje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? ZAe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(_U, {
+ let g = !u.embedded.length && u.collection ? cje(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, x.jsx)(OU, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(_U, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, x.jsx)(OU, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, x.jsx)(Cje, {
+ }) : /* @__PURE__ */ (0, x.jsx)(Pje, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -63137,14 +63687,14 @@ function bje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
"data-stage-grid": "",
"data-with-queue": _ ? "" : void 0,
"data-follow-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(Sje, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Nje, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, x.jsx)(wje, {
+ }, f), /* @__PURE__ */ (0, x.jsx)(Fje, {
item: c,
data: e,
context: t,
@@ -63154,9 +63704,9 @@ function bje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, x.jsx)(sU, {
+ }), /* @__PURE__ */ (0, x.jsx)(vU, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, x.jsx)(xje, {
+ children: a > 0 ? /* @__PURE__ */ (0, x.jsx)(Mje, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -63166,33 +63716,33 @@ function bje({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function xje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function Mje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = dt({
- queryKey: mje(e.item.id, t, n),
- queryFn: ({ signal: r }) => hje(e, t, n, r)
- }), [s] = (0, b.useState)(() => eU("正在读取推荐", {
+ queryKey: Tje(e.item.id, t, n),
+ queryFn: ({ signal: r }) => Eje(e, t, n, r)
+ }), [s] = (0, b.useState)(() => dU("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, b.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = uU(o.data?.pages || [], e, t, n);
+ }), [a]), l = xU(o.data?.pages || [], e, t, n);
if (o.isError || o.data && !l.length) return null;
let u = o.data?.pages.at(-1)?.sources || e.sources, d = {
...r,
sources: u,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, x.jsx)(oU, {
+ return /* @__PURE__ */ (0, x.jsx)(_U, {
"data-follow-related": "",
wireDrag: i.wireDrag,
busy: o.isPending,
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(rI, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, x.jsx)(pI, {
variant: "next",
group: e,
media: t,
- authorSources: QH(e.primary, u),
+ authorSources: lU(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -63205,9 +63755,9 @@ function xje({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function Sje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, b.useRef)(null), p = sje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g);
- cU(f, "[data-follow-detail-poster]", v);
+function Nje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, b.useRef)(null), p = vje(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, b.useState)(g);
+ yU(f, "[data-follow-detail-poster]", v);
let S = (0, b.useRef)({
item: e,
selected: o
@@ -63222,14 +63772,14 @@ function Sje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-framed": d ? "" : void 0,
style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },
children: [
- /* @__PURE__ */ (0, x.jsx)(pU, { onClose: n.close }),
+ /* @__PURE__ */ (0, x.jsx)(wU, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, x.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void JF(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void iI(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -63237,10 +63787,10 @@ function Sje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: Bj(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: tM(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, x.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, x.jsx)(lU, {
+ u ? /* @__PURE__ */ (0, x.jsx)(bU, {
items: c,
position: l,
onSelect: r
@@ -63248,11 +63798,11 @@ function Sje({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var mU = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var TU = ({ kind: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: L(e === "image" ? "image-off" : "play") }
});
-function hU({ src: e }) {
+function EU({ src: e }) {
let [t, n] = (0, b.useState)(!1);
return t ? null : /* @__PURE__ */ (0, x.jsx)("img", {
src: e,
@@ -63262,27 +63812,27 @@ function hU({ src: e }) {
onError: () => n(!0)
});
}
-function gU(e) {
+function DU(e) {
return (0, b.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function Cje({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = ci(e), a = gU(n);
- return /* @__PURE__ */ (0, x.jsx)(iU, {
+function Pje({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = ci(e), a = DU(n);
+ return /* @__PURE__ */ (0, x.jsx)(hU, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${Hj(e.primary)} · ${i.length} 个视频`,
+ summary: `${rM(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = tje(e, n, i ? n.provider_label : ""), o = i ? Bj(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, x.jsxs)(aU, {
+ let i = e.duplicates.includes(n), a = fje(e, n, i ? n.provider_label : ""), o = i ? tM(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, x.jsxs)(gU, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(hU, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(mU, { kind: "video" }), dU(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {
+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(EU, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(TU, { kind: "video" }), SU(n.duration) ? /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Vt(n.duration)
@@ -63300,15 +63850,15 @@ function Cje({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, x.jsx)("time", {
dateTime: n.published_at || "",
- children: Zj(n)
+ children: fM(n)
})]
})]
}, n.id);
})
});
}
-function _U({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = gU(r), c = [];
+function OU({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = DU(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -63318,26 +63868,26 @@ function _U({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, x.jsx)(iU, {
+ return /* @__PURE__ */ (0, x.jsx)(hU, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${Hj(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(fje, {
+ summary: `${rM(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, x.jsx)(Cje, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(aU, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, x.jsxs)(gU, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(hU, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(mU, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, x.jsx)(EU, { src: n.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(TU, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, x.jsx)("b", {
"data-middle-truncate": "",
- children: nje(n)
+ children: pje(n)
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -63345,13 +63895,13 @@ function _U({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function Fje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
let { kind: c, selected: l, src: u } = r, d = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = Jj(d, e), p = Kj(e, QH(e, t.sources), n), m = p.credited ? "" : e.author && It(e.author) !== It(p.author) ? e.author : "", h = Yj(e, n), g = aje(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = lM(d, e), p = sM(e, lU(e, t.sources), n), m = p.credited ? "" : e.author && It(e.author) !== It(p.author) ? e.author : "", h = uM(e, n), g = gje(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -63367,7 +63917,7 @@ function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: qj(d, e) + R(Hj(e)) }
+ dangerouslySetInnerHTML: { __html: cM(d, e) + R(rM(e)) }
}), e.url ? /* @__PURE__ */ (0, x.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -63375,7 +63925,7 @@ function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: fU }
+ dangerouslySetInnerHTML: { __html: CU }
}) : null]
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -63383,8 +63933,8 @@ function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, x.jsx)("span", { children: Zj(e) }),
- dU(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Vt(e.duration) }) : null,
+ /* @__PURE__ */ (0, x.jsx)("span", { children: fM(e) }),
+ SU(e.duration) ? /* @__PURE__ */ (0, x.jsx)("span", { children: Vt(e.duration) }) : null,
f ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -63401,7 +63951,7 @@ function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, x.jsxs)(tI, {
+ children: p.entityName ? /* @__PURE__ */ (0, x.jsxs)(dI, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -63433,7 +63983,7 @@ function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, x.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, x.jsx)(Tje, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, x.jsx)(Ije, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, x.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -63456,9 +64006,9 @@ function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [eje(e), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [dje(e), /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: fU }
+ dangerouslySetInnerHTML: { __html: CU }
})]
}, e))
}) : null,
@@ -63558,7 +64108,7 @@ function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...y(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(hU, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(gje, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, x.jsx)(EU, { src: e.thumb_url }) : /* @__PURE__ */ (0, x.jsx)(Dje, { name: "image-off" }), /* @__PURE__ */ (0, x.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -63572,7 +64122,7 @@ function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
- "data-tag-cat": ije(e, t),
+ "data-tag-cat": hje(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -63582,7 +64132,7 @@ function wje({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function Tje({ text: e }) {
+function Ije({ text: e }) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(!1);
return (0, b.useLayoutEffect)(() => {
let e = t.current;
@@ -63605,8 +64155,8 @@ function Tje({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function Eje(e, t, n) {
- let r = e.id, i = GH(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {
+function Lje(e, t, n) {
+ let r = e.id, i = nU(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -63625,7 +64175,7 @@ function Eje(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && OB(), t.toast(cje(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && IB(), t.toast(yje(n), { undo: i === "saved" ? void 0 : async () => {
await V(wn, {
item: r,
to: i
@@ -63635,7 +64185,7 @@ function Eje(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = ft({
- mutationFn: () => V(qAe, { item: r }),
+ mutationFn: () => V(ije, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -63643,7 +64193,7 @@ function Eje(e, t, n) {
onSettled: () => l("save", !1)
}), m = ft({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(JAe, {
+ await V(aje, {
item: r,
media: e,
hidden: t
@@ -63659,12 +64209,12 @@ function Eje(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = dt({
- queryKey: KEe(r),
- queryFn: ({ signal: e }) => YEe(r, e)
+ queryKey: ZEe(r),
+ queryFn: ({ signal: e }) => eDe(r, e)
}).data?.want ?? null, g = ft({
- mutationFn: async (e) => (e ? await DB([e.id]) : await EB({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await FB([e.id]) : await PB({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), OB();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), IB();
},
onError: d,
onSettled: () => l("want", !1)
@@ -63704,7 +64254,7 @@ function Eje(e, t, n) {
}
//#endregion
//#region src/react/components/identity-cell.tsx
-function vU({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a, openByName: o = !1 }) {
+function kU({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a, openByName: o = !1 }) {
let s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${R(qt(t.name))}</span>` + na({
@@ -63745,7 +64295,7 @@ function vU({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a, op
children: c
});
}
-function yU({ people: e, onOpen: t }) {
+function AU({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
@@ -63777,7 +64327,7 @@ function yU({ people: e, onOpen: t }) {
}
//#endregion
//#region src/react/components/folded-title.ts
-function bU(e) {
+function jU(e) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(!1);
return (0, b.useLayoutEffect)(() => {
let e = t.current;
@@ -63795,7 +64345,7 @@ function bU(e) {
}
//#endregion
//#region src/react/item-detail/catalog-picture.tsx
-function xU({ item: e, image: t, thumbnail: n = !1 }) {
+function MU({ item: e, image: t, thumbnail: n = !1 }) {
let [r, i] = (0, b.useState)(!1), [a, o] = (0, b.useState)(0), s = t < 0 ? Qi(e, !0) : `/${n ? "sample-thumb" : "sample-image"}?code=${encodeURIComponent(e.code || "")}&n=${t}`;
return r ? n ? /* @__PURE__ */ (0, x.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, x.jsx)(K, {
tone: "neutral",
@@ -63815,26 +64365,84 @@ function xU({ item: e, image: t, thumbnail: n = !1 }) {
}, a);
}
//#endregion
+//#region src/react/item-detail/external-playback.tsx
+var NU = "peach.external-player.v1", PU = [
+ ["m3u", "M3U 播放列表"],
+ ["vlc-ios", "VLC(iPhone / iPad)"],
+ ["iina", "IINA(Mac)"]
+];
+function Rje(e, t, n) {
+ return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;
+}
+function zje({ id: e }) {
+ let [t, n] = (0, b.useState)(() => {
+ try {
+ return PU.find(([e]) => e === localStorage.getItem(NU))?.[0] || "m3u";
+ } catch {
+ return "m3u";
+ }
+ }), [r, i] = (0, b.useState)(null), a = mk();
+ return /* @__PURE__ */ (0, x.jsxs)("details", { children: [/* @__PURE__ */ (0, x.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, x.jsxs)(bk, { children: [
+ /* @__PURE__ */ (0, x.jsx)(kV, {
+ id: `external-player-${e}`,
+ label: "此设备的外部播放器",
+ options: PU,
+ value: t,
+ epoch: 0,
+ onPick: (e) => {
+ let t = PU.find(([t]) => t === e)?.[0] || "m3u";
+ n(t);
+ try {
+ localStorage.setItem(NU, t);
+ } catch {}
+ }
+ }),
+ /* @__PURE__ */ (0, x.jsx)(G, {
+ variant: "secondary",
+ ...q(a.busy === "prepare"),
+ onClick: () => void a.run("prepare", (t) => V(`/api/external-playback?id=${e}`, {}, "POST", t), (e) => i({
+ url: new URL(e.url, location.origin).href,
+ playlist: new URL(e.playlist, location.origin).href
+ })),
+ children: "生成播放链接"
+ }),
+ a.error ? /* @__PURE__ */ (0, x.jsx)(Ck, { children: a.error }) : null,
+ r ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+ /* @__PURE__ */ (0, x.jsx)("a", {
+ href: Rje(t, r.url, r.playlist),
+ rel: "noreferrer",
+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${PU.find(([e]) => e === t)?.[1]}`
+ }),
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
+ label: "网络播放地址",
+ value: r.url,
+ isReadOnly: !0
+ }),
+ /* @__PURE__ */ (0, x.jsx)(Sk, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
+ ] }) : null
+ ] })] }, e);
+}
+//#endregion
//#region src/react/components/overlay-host.ts
-function Dje(e) {
+function Bje(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function Oje(e) {
+function Vje(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return Dje(n ?? t.body);
+ return Bje(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var kje = "/api/cover-crop", Aje = (e, t) => V(kje, {
+var Hje = "/api/cover-crop", Uje = (e, t) => V(Hje, {
code: e,
box: t
});
//#endregion
//#region src/react/cover-crop/cover-crop-page.tsx
-function SU({ className: e }) {
+function FU({ className: e }) {
return /* @__PURE__ */ (0, x.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -63847,7 +64455,7 @@ function SU({ className: e }) {
children: /* @__PURE__ */ (0, x.jsx)("use", { href: "#i-crop" })
});
}
-function jje({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function Wje({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, b.useState)(!1), o = (0, b.useRef)(null);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("button", {
ref: o,
@@ -63858,15 +64466,15 @@ function jje({ code: e, coverUrl: t, box: n, onSaved: r }) {
title: "裁剪封面:框出正封那一块",
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, x.jsx)(SU, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, x.jsx)(FU, { className: "size-3.75" })
}), /* @__PURE__ */ (0, x.jsx)(Lx, {
- getContainer: () => Oje(o.current),
- children: /* @__PURE__ */ (0, x.jsx)(_I, {
+ getContainer: () => Vje(o.current),
+ children: /* @__PURE__ */ (0, x.jsx)(Pj, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, x.jsx)(Mje, {
+ children: /* @__PURE__ */ (0, x.jsx)(Gje, {
code: e,
coverUrl: t,
box: n,
@@ -63876,9 +64484,9 @@ function jje({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function Mje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = DP(), f = ft({
- mutationFn: (t) => Aje(e, t),
+function Gje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, b.useState)(null), [s, c] = (0, b.useState)(null), [l, u] = (0, b.useState)(!0), d = HP(), f = ft({
+ mutationFn: (t) => Uje(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -63890,19 +64498,19 @@ function Mje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Bxe(e, Ki);
- c(pI(t, e, null));
+ } : Kxe(e, Ki);
+ c(CI(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, x.jsx)(vI, { children: /* @__PURE__ */ (0, x.jsx)(SU, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, x.jsx)(Fj, { children: /* @__PURE__ */ (0, x.jsx)(FU, { className: "size-6" }) }),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(oA, {
+ /* @__PURE__ */ (0, x.jsx)(sA, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -63917,8 +64525,8 @@ function Mje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(kP, {
- icon: CO,
+ /* @__PURE__ */ (0, x.jsx)(WP, {
+ icon: wO,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -63928,24 +64536,24 @@ function Mje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, x.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, x.jsx)(bI, {
+ children: /* @__PURE__ */ (0, x.jsx)(OI, {
src: t,
aspect: l ? Ki : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- dI(e) && p(e);
+ xI(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, x.jsx)(zz, {
+ children: [/* @__PURE__ */ (0, x.jsx)(qz, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(pI(s, a, Ki));
+ u(e), e && s && a && c(CI(s, a, Ki));
},
children: /* @__PURE__ */ (0, x.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -63974,14 +64582,14 @@ function Mje({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var CU = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var IU = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
-}), wU = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+}), LU = ({ html: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), TU = (e) => Number(e) > 0 ? Ut(Number(e)) : "大小未知";
-function Nje(e) {
+}), RU = (e) => Number(e) > 0 ? Ut(Number(e)) : "大小未知";
+function Kje(e) {
let { queue: t, actions: n } = e, r = dt({
queryKey: t ? vD(t) : ["item-queue", "none"],
queryFn: ({ signal: n }) => DD(t, e.helpers, n),
@@ -63999,9 +64607,9 @@ function Nje(e) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, x.jsx)(EU, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
+ children: [/* @__PURE__ */ (0, x.jsx)(zU, { onClose: n.close }), /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, x.jsx)(dM, {
+ children: e ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: _t(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -64011,13 +64619,13 @@ function Nje(e) {
})
});
}
- return /* @__PURE__ */ (0, x.jsx)(Pje, {
+ return /* @__PURE__ */ (0, x.jsx)(qje, {
...e,
item: ile(o.data, i),
queue: i
}, o.data.id);
}
-var EU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var zU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -64026,8 +64634,8 @@ var EU = ({ onClose: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function Pje(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = Xje(t, r, i.tagLabel), o = (0, b.useRef)(t);
+function qje(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = lMe(t, r, i.tagLabel), o = (0, b.useRef)(t);
(0, b.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, b.useEffect)(() => {
@@ -64037,12 +64645,12 @@ function Pje(e) {
asset_id: t.id
}).catch(() => {});
}, []);
- let s = wle(t, i.sourceOffline(t.location || "")), c = ale(n, t.id);
+ let s = Cle(t, i.sourceOffline(t.location || "")), c = ale(n, t.id);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, x.jsx)(Fje, {
+ children: [/* @__PURE__ */ (0, x.jsx)(Jje, {
item: t,
gate: s,
helpers: i,
@@ -64055,22 +64663,22 @@ function Pje(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, x.jsx)(Bje, {
+ }), /* @__PURE__ */ (0, x.jsx)($je, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, x.jsx)(sU, {
+ }), /* @__PURE__ */ (0, x.jsx)(vU, {
editionCards: n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, x.jsx)(Lje, {
+ queue: n ? /* @__PURE__ */ (0, x.jsx)(Xje, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(Yje, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, x.jsx)(cMe, {
...e,
item: n ? {
...t,
@@ -64079,9 +64687,9 @@ function Pje(e) {
}) : null
})] });
}
-function Fje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function Jje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, b.useState)(t ? "" : "auto"), c = (0, b.useRef)(null), [l, u] = (0, b.useState)(-2);
- cU(c, "[data-catalog-picture]", l);
+ yU(c, "[data-catalog-picture]", l);
let d = e.is_jav && e.code ? [
...e.has_cover ? [{
index: -1,
@@ -64117,32 +64725,32 @@ function Fje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-item-gallery": f ? "" : void 0,
"data-item-picture": l === -2 ? void 0 : "",
children: [
- /* @__PURE__ */ (0, x.jsx)(EU, { onClose: r.close }),
+ /* @__PURE__ */ (0, x.jsx)(zU, { onClose: r.close }),
f ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => p(l === -2 ? d[0].index : -2),
- children: [/* @__PURE__ */ (0, x.jsx)(CU, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, x.jsx)(IU, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}),
- l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(xU, {
+ l === -2 ? null : /* @__PURE__ */ (0, x.jsx)(MU, {
item: e,
image: l
}, l),
- /* @__PURE__ */ (0, x.jsx)(lU, {
+ /* @__PURE__ */ (0, x.jsx)(bU, {
items: d,
position: Math.max(0, d.findIndex((e) => e.index === l)),
onSelect: p,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(xU, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, x.jsx)(MU, {
item: e,
image: t.index === -2 ? d[0].index : t.index,
thumbnail: !0
})
})
] }) : null,
- t === "offline" ? /* @__PURE__ */ (0, x.jsx)(Ije, {
+ t === "offline" ? /* @__PURE__ */ (0, x.jsx)(Yje, {
item: e,
badge: g,
helpers: n,
@@ -64152,7 +64760,7 @@ function Fje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, x.jsx)(wU, { html: g }),
+ /* @__PURE__ */ (0, x.jsx)(LU, { html: g }),
/* @__PURE__ */ (0, x.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -64167,12 +64775,12 @@ function Fje({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, x.jsx)(wU, { html: g }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", TU(e.size)] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(LU, { html: g }), /* @__PURE__ */ (0, x.jsxs)("span", { children: ["点此开始拉流 · ", RU(e.size)] })]
}) : null
]
});
}
-function Ije({ item: e, badge: t, helpers: n, actions: r }) {
+function Yje({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, b.useState)(!1), [o, s] = (0, b.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -64183,7 +64791,7 @@ function Ije({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, x.jsx)(wU, { html: t }),
+ /* @__PURE__ */ (0, x.jsx)(LU, { html: t }),
/* @__PURE__ */ (0, x.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, x.jsx)("button", {
@@ -64197,8 +64805,8 @@ function Ije({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function Lje({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = yle(e), a = (0, b.useRef)(null), o = zje(e, t, r), s = (0, b.useRef)(o);
+function Xje({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = vle(e), a = (0, b.useRef)(null), o = Qje(e, t, r), s = (0, b.useRef)(o);
s.current = o;
let c = (0, b.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -64206,7 +64814,7 @@ function Lje({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => s.current.move(+e, +t, n)
}));
- }, [n, e.kind]), l = Rje(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
+ }, [n, e.kind]), l = Zje(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -64225,7 +64833,7 @@ function Lje({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, x.jsx)(iU, {
+ return /* @__PURE__ */ (0, x.jsx)(hU, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -64234,11 +64842,11 @@ function Lje({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: c,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, x.jsx)("i", {
- className: `javedition ${_le[i.edition_label] || "censored"}`,
+ className: `javedition ${gle[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
}) : null, s = e.kind === "playlist" && kD(i);
- return /* @__PURE__ */ (0, x.jsxs)(aU, {
+ return /* @__PURE__ */ (0, x.jsxs)(gU, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -64248,25 +64856,25 @@ function Lje({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(wU, { html: pa(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {
+ pic: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(LU, { html: pa(i, n.javImage()) }), /* @__PURE__ */ (0, x.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Vt(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, x.jsx)(wU, { html: ga(i) }),
+ lead: /* @__PURE__ */ (0, x.jsx)(LU, { html: ga(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, x.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -64277,13 +64885,13 @@ function Lje({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? ble(i.part_label) : _a(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? yle(i.part_label) : _a(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function Rje(e, t) {
+function Zje(e, t) {
let n = ft({ mutationFn: (t) => V(yD, {
action: "create",
name: t,
@@ -64297,7 +64905,7 @@ function Rje(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function zje(e, t, n) {
+function Qje(e, t, n) {
let r = vD({
kind: "playlist",
playlistId: e.playlistId
@@ -64317,8 +64925,8 @@ function zje(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Sle(s, t, r, c);
- if (Cle(l, s)) return;
+ let l = xle(s, t, r, c);
+ if (Sle(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -64360,7 +64968,7 @@ function zje(e, t, n) {
}
};
}
-function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function $je({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-side": "",
@@ -64368,7 +64976,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(Vje, {
+ /* @__PURE__ */ (0, x.jsx)(eMe, {
item: e,
queue: t,
helpers: r,
@@ -64380,7 +64988,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, x.jsx)(Uje, {
+ /* @__PURE__ */ (0, x.jsx)(nMe, {
item: e,
write: n
}),
@@ -64391,7 +64999,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(CU, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, x.jsx)(IU, { name: "monitor" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -64399,11 +65007,11 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(CU, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: TU(e.size) })]
+ children: [/* @__PURE__ */ (0, x.jsx)(IU, { name: "hard-drive" }), /* @__PURE__ */ (0, x.jsx)("span", { children: RU(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, x.jsx)(CU, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, x.jsx)(IU, { name: "calendar" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
@@ -64411,22 +65019,23 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, x.jsx)(CU, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, x.jsx)(IU, { name: "globe" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, x.jsx)(Wje, {
+ /* @__PURE__ */ (0, x.jsx)(rMe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(Gje, {
+ /* @__PURE__ */ (0, x.jsx)(iMe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, x.jsx)(qje, { item: e }),
+ /* @__PURE__ */ (0, x.jsx)(oMe, { item: e }),
+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, x.jsx)(zje, { id: e.id }, e.id) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -64440,7 +65049,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...o("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -64452,7 +65061,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => c((e) => !e),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -64463,7 +65072,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -64474,7 +65083,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "eye" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "eye" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -64485,7 +65094,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -64494,7 +65103,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "playlist" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "playlist" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -64505,7 +65114,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "sparkles" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
@@ -64516,11 +65125,11 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "trash" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(Jje, {
+ /* @__PURE__ */ (0, x.jsx)(sMe, {
item: e,
open: s,
write: n
@@ -64531,7 +65140,7 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, x.jsx)(CU, { name: "sperm" }),
+ /* @__PURE__ */ (0, x.jsx)(IU, { name: "sperm" }),
/* @__PURE__ */ (0, x.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, x.jsx)("b", {
className: "mono",
@@ -64544,8 +65153,8 @@ function Bje({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function Vje({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = bU(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + xle(e, t);
+function eMe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = jU(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + ble(e, t);
return /* @__PURE__ */ (0, x.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -64572,11 +65181,11 @@ function Vje({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: o ? "chevron-up" : "chevron-down" })
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, x.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, x.jsx)(jje, {
+ children: /* @__PURE__ */ (0, x.jsx)(Wje, {
code: e.cover_key || e.code || "",
coverUrl: Qi(e),
box: e.poster_box || null,
@@ -64588,7 +65197,7 @@ function Vje({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(Hje, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, x.jsx)(tMe, {
id: e.id,
actions: r,
onStatus: i
@@ -64598,7 +65207,7 @@ function Vje({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function Hje({ id: e, actions: t, onStatus: n }) {
+function tMe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, b.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -64628,17 +65237,17 @@ function Hje({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "folder-sync" })
})] });
}
-function Uje({ item: e, write: t }) {
- let n = MD(e.rating);
+function nMe({ item: e, write: t }) {
+ let n = ND(e.rating);
return /* @__PURE__ */ (0, x.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": sle(e.rating),
+ "data-value": MD(e.rating),
children: [/* @__PURE__ */ (0, x.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -64655,19 +65264,19 @@ function Uje({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "star" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: cle(e.rating)
+ children: sle(e.rating)
})]
});
}
-function Wje({ item: e, actions: t }) {
+function rMe({ item: e, actions: t }) {
let n = (0, b.useMemo)(() => ole(e), [e]), [r, i] = (0, b.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, x.jsx)(vU, {
+ return /* @__PURE__ */ (0, x.jsx)(kU, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -64699,7 +65308,7 @@ function Wje({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "user-round" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "user-round" })
}), /* @__PURE__ */ (0, x.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -64711,7 +65320,7 @@ function Wje({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: bO,
+ trailingIcon: xO,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -64730,14 +65339,14 @@ function Wje({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, x.jsx)(yU, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(AU, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function Gje({ item: e, write: t, helpers: n, actions: r }) {
- let i = ule(e, n);
+function iMe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = lle(e, n);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -64757,16 +65366,16 @@ function Gje({ item: e, write: t, helpers: n, actions: r }) {
"aria-label": `删除标签 ${n.tagLabel(e.k)}`,
...t.busyAttrs(`tag:${e.k}`),
onClick: () => t.removeTag(e),
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "x" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, x.jsx)(Kje, {
+ }, e.k)), /* @__PURE__ */ (0, x.jsx)(aMe, {
item: e,
write: t,
helpers: n
})]
});
}
-function Kje({ item: e, write: t, helpers: n }) {
+function aMe({ item: e, write: t, helpers: n }) {
let r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(!1), [s, c] = (0, b.useState)(!1), [l, u] = (0, b.useState)(""), [d, f] = (0, b.useState)(""), [p, m] = (0, b.useState)(-1), h = (0, b.useCallback)(() => {
i.current && Va(i.current), c(!1);
}, []);
@@ -64780,7 +65389,7 @@ function Kje({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? gle(d, n.tagCandidates(), mle()) : {
+ let g = s ? hle(d, n.tagCandidates(), ple()) : {
recent: [],
results: [],
create: ""
@@ -64803,12 +65412,12 @@ function Kje({ item: e, write: t, helpers: n }) {
} else if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? _[p] : null;
- r ? v(r, r.n !== -1 && ND(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? v(r, r.n !== -1 && PD(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, S = -1, C = (t) => {
S += 1;
- let r = S, i = ND(e, t.k);
+ let r = S, i = PD(e, t.k);
return /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -64816,7 +65425,7 @@ function Kje({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => v(t, i),
children: [
- /* @__PURE__ */ (0, x.jsx)(CU, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, x.jsx)(IU, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, x.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -64839,7 +65448,7 @@ function Kje({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (Ba(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, x.jsx)(CU, { name: "plus" })
+ children: /* @__PURE__ */ (0, x.jsx)(IU, { name: "plus" })
}), /* @__PURE__ */ (0, x.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -64849,7 +65458,7 @@ function Kje({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, x.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, x.jsx)(CU, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {
+ children: [/* @__PURE__ */ (0, x.jsx)(IU, { name: "search" }), /* @__PURE__ */ (0, x.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -64890,7 +65499,7 @@ function Kje({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, x.jsx)(CU, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(IU, { name: "plus" }), /* @__PURE__ */ (0, x.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -64905,8 +65514,8 @@ function Kje({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function qje({ item: e }) {
- let t = Tle(e);
+function oMe({ item: e }) {
+ let t = wle(e);
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -64940,7 +65549,7 @@ function qje({ item: e }) {
})]
});
}
-function Jje({ item: e, open: t, write: n }) {
+function sMe({ item: e, open: t, write: n }) {
let [r, i] = (0, b.useState)(e.like_reason || ""), a = (0, b.useRef)(null);
(0, b.useEffect)(() => {
t && a.current?.focus();
@@ -64979,15 +65588,15 @@ function Jje({ item: e, open: t, write: n }) {
})]
});
}
-function Yje(e) {
+function cMe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = dt({
queryKey: tle(t.id, n),
queryFn: async ({ signal: e }) => (await B(rle(t.id, n), e)).items || []
}), [o] = (0, b.useState)(() => r.relatedSkeletonHtml());
- return a.isError || a.data && !a.data.length ? null : /* @__PURE__ */ (0, x.jsx)(oU, {
+ return a.isError || a.data && !a.data.length ? null : /* @__PURE__ */ (0, x.jsx)(_U, {
wireDrag: r.wireDrag,
busy: a.isPending,
- children: a.data ? /* @__PURE__ */ (0, x.jsx)(wM, {
+ children: a.data ? /* @__PURE__ */ (0, x.jsx)(zM, {
mode: "items",
variant: "next",
items: a.data,
@@ -65000,10 +65609,10 @@ function Yje(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, x.jsx)(wU, { html: o })
+ }) : /* @__PURE__ */ (0, x.jsx)(LU, { html: o })
});
}
-function Xje(e, t, n) {
+function lMe(e, t, n) {
let r = e.id, i = _D(r), [a, o] = (0, b.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, b.useState)(""), [l, u] = (0, b.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -65055,14 +65664,14 @@ function Xje(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = lle(n, e);
- await _("rate", r), t.toast(r ? `已评 ${MD(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = cle(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${ND(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(Ele(e, r), { undo: async () => {
+ t.toast(Tle(e, r), { undo: async () => {
e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
@@ -65114,11 +65723,11 @@ function Xje(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => dle(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ p((t) => ule(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
await m(xD, {
operation: "add",
tag: e.k
- }), p((t) => fle(t, e));
+ }), p((t) => dle(t, e));
} });
}),
addTag: (e) => {
@@ -65130,14 +65739,14 @@ function Xje(e, t, n) {
});
if (!e.ok) return;
let i = e.tag || r;
- ND(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => fle(e, {
+ PD(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => dle(e, {
k: i,
cat: "general"
- })), hle(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ })), mle(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
await m(xD, {
operation: "remove",
tag: i
- }), p((e) => dle(e, i));
+ }), p((e) => ule(e, i));
} }));
});
}
@@ -65145,23 +65754,23 @@ function Xje(e, t, n) {
}
//#endregion
//#region src/react/jav-detail/jav-detail.ts
-var DU = (e) => ["jav-detail", e], OU = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), Zje = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), kU = (e, t) => H.ensureQueryData({
- queryKey: DU(e.code),
- queryFn: () => OU(e.code, t),
+var BU = (e) => ["jav-detail", e], VU = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), uMe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), HU = (e, t) => H.ensureQueryData({
+ queryKey: BU(e.code),
+ queryFn: () => VU(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function Qje(e, t) {
+function dMe(e, t) {
if (!e.ok || !e.more) return;
let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));
return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;
}
//#endregion
//#region src/react/jav-detail/review-cache.ts
-var AU = "peach.jav-reviews.v1";
-function jU() {
+var UU = "peach.jav-reviews.v1";
+function WU() {
try {
- let e = localStorage.getItem(AU) || "[]";
+ let e = localStorage.getItem(UU) || "[]";
if (e.length > 2e6) return [];
let t = JSON.parse(e);
return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];
@@ -65169,21 +65778,21 @@ function jU() {
return [];
}
}
-function $je(e, t) {
+function fMe(e, t) {
if (t.ok && !t.cache_stale) try {
let n = Date.parse(t.checked_at || ""), r = [{
code: e,
saved: Number.isFinite(n) ? n : Date.now(),
result: t
- }, ...jU().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(AU, i);
+ }, ...WU().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(UU, i);
} catch {}
}
-function eMe(e, t) {
- let n = jU(), r = [], i = Infinity;
+function pMe(e, t) {
+ let n = WU(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !NB(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !VB(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -65191,17 +65800,17 @@ function eMe(e, t) {
saved: i
} : void 0;
}
-function tMe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && NB(Date.parse(e.checked_at || "") || t, n));
+function mMe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && VB(Date.parse(e.checked_at || "") || t, n));
}
//#endregion
//#region src/react/jav-detail/jav-detail-page.tsx
-function nMe(e) {
+function hMe(e) {
let t = (0, b.useRef)(!1), n = dt({
- queryKey: DU(e.code),
+ queryKey: BU(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, OU(e.code, n, r);
+ return t.current = !1, VU(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -65211,21 +65820,21 @@ function nMe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, x.jsx)(rMe, {
+ children: n.data ? /* @__PURE__ */ (0, x.jsx)(gMe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, x.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, x.jsx)(MU, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(dM, {
+ children: [/* @__PURE__ */ (0, x.jsx)(GU, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, x.jsx)(EM, {
message: z(n.error),
onRetry: r
}) : null]
})
});
}
-var MU = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
+var GU = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -65234,12 +65843,12 @@ var MU = ({ close: e }) => /* @__PURE__ */ (0, x.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function rMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function gMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, b.useEffect)(() => {
t.state === "ready" && H.invalidateQueries({ queryKey: ["jav-discoveries", "external"] });
}, [t.code, t.state]);
let [o, s] = (0, b.useState)(-1), c = (0, b.useRef)(null);
- cU(c, "[data-jav-picture]", o);
+ yU(c, "[data-jav-picture]", o);
let l = [
{
index: -1,
@@ -65254,13 +65863,13 @@ function rMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
label: "视频预览",
video: !0
}] : []
- ], [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(t.want_id), m = pk(), h = () => {
- m.run("want", async (e) => f ? (await DB([f], e), null) : (await EB({ code: t.code }, e)).want.id, (t) => {
- p(t), H.setQueryData(DU(e), (e) => e && {
+ ], [u, d] = (0, b.useState)(null), [f, p] = (0, b.useState)(t.want_id), m = mk(), h = () => {
+ m.run("want", async (e) => f ? (await FB([f], e), null) : (await PB({ code: t.code }, e)).want.id, (t) => {
+ p(t), H.setQueryData(BU(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), OB(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), IB(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
@@ -65270,24 +65879,24 @@ function rMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-jav-art": "",
"data-jav-playing": o === -2 ? "" : void 0,
children: [
- /* @__PURE__ */ (0, x.jsx)(MU, { close: n.close }),
+ /* @__PURE__ */ (0, x.jsx)(GU, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, x.jsx)(PU, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, x.jsx)(qU, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(oMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(NU, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, x.jsx)(yMe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, x.jsx)(KU, {
item: t,
image: o === -1 ? "cover" : String(o)
}, o),
- /* @__PURE__ */ (0, x.jsx)(lU, {
+ /* @__PURE__ */ (0, x.jsx)(bU, {
items: l,
position: Math.max(0, l.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(NU, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, x.jsx)(KU, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -65301,32 +65910,32 @@ function rMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, x.jsx)(iMe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(IU, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, x.jsx)(_Me, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(YU, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
- children: [/* @__PURE__ */ (0, x.jsx)(FU, {
+ children: [/* @__PURE__ */ (0, x.jsx)(JU, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, x.jsx)(FU, {
+ }), /* @__PURE__ */ (0, x.jsx)(JU, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, x.jsx)(aMe, {
+ /* @__PURE__ */ (0, x.jsx)(vMe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, x.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, x.jsx)(FU, {
+ children: [/* @__PURE__ */ (0, x.jsx)(JU, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, x.jsx)(FU, {
+ }), /* @__PURE__ */ (0, x.jsx)(JU, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -65390,7 +65999,7 @@ function rMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
}),
t.source_url ? /* @__PURE__ */ (0, x.jsx)(G, {
variant: "secondary",
- trailingIcon: DO,
+ trailingIcon: OO,
onClick: () => window.open(t.source_url, "_blank", "noopener,noreferrer"),
children: "作品来源"
}) : null
@@ -65400,12 +66009,12 @@ function rMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: m.error
}) : null,
- /* @__PURE__ */ (0, x.jsx)(sMe, {
+ /* @__PURE__ */ (0, x.jsx)(bMe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, x.jsx)(cMe, {
+ /* @__PURE__ */ (0, x.jsx)(xMe, {
item: t,
actions: n,
readOnly: r
@@ -65413,14 +66022,14 @@ function rMe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, x.jsx)(SB, {
+ /* @__PURE__ */ (0, x.jsx)(AB, {
prefill: u,
close: () => d(null),
receipt: n.receipt
})
] });
}
-function NU({ item: e, image: t, thumbnail: n = !1 }) {
+function KU({ item: e, image: t, thumbnail: n = !1 }) {
let r = t === "cover" && e.has_cover, i = !r && (t !== "cover" || e.source_image), a = dt({
queryKey: [
"jav-image",
@@ -65460,17 +66069,17 @@ function NU({ item: e, image: t, thumbnail: n = !1 }) {
})
});
}
-var PU = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
+var qU = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: L(e) }
-}), FU = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {
+}), JU = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, x.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, x.jsx)(PU, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, x.jsx)(qU, { name: e }), /* @__PURE__ */ (0, x.jsx)("span", { children: n })]
}) : null;
-function iMe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = bU(e.title), a = e.title === e.code ? "" : e.title;
+function _Me({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = jU(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, x.jsx)("h1", {
@@ -65496,12 +66105,12 @@ function iMe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, x.jsx)(PU, { name: n ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, x.jsx)(qU, { name: n ? "chevron-up" : "chevron-down" })
})
})]
});
}
-function IU({ score: e, review: t = !1 }) {
+function YU({ score: e, review: t = !1 }) {
let n = Math.max(0, Math.min(5, e));
return /* @__PURE__ */ (0, x.jsxs)("div", {
"data-item-rating": "",
@@ -65525,10 +66134,10 @@ function IU({ score: e, review: t = !1 }) {
"data-on": String(t === 1),
children: /* @__PURE__ */ (0, x.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, x.jsx)(PU, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [/* @__PURE__ */ (0, x.jsx)(qU, { name: "star" }), /* @__PURE__ */ (0, x.jsx)("span", {
"data-rating-fill": "",
style: { width: `${t * 100}%` },
- children: /* @__PURE__ */ (0, x.jsx)(PU, { name: "star" })
+ children: /* @__PURE__ */ (0, x.jsx)(qU, { name: "star" })
})]
})
}, e);
@@ -65539,7 +66148,7 @@ function IU({ score: e, review: t = !1 }) {
})]
});
}
-function aMe({ item: e, navigate: t }) {
+function vMe({ item: e, navigate: t }) {
let n = (n, r) => t(n === "studio" && !e.studio_refs.find((e) => e.name === r)?.id ? `/?jav=1&studio=${encodeURIComponent(r)}` : Dt(n, r)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, x.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -65548,7 +66157,7 @@ function aMe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, x.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(vU, {
+ children: i.map((r) => /* @__PURE__ */ (0, x.jsx)(kU, {
kind: t,
person: {
...r,
@@ -65556,7 +66165,7 @@ function aMe({ item: e, navigate: t }) {
},
onOpen: n,
openByName: t === "studio",
- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, x.jsx)(dB, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, x.jsx)(yB, {
code: e.code,
person: r,
detail: !0
@@ -65573,7 +66182,7 @@ function aMe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, x.jsx)(yU, {
+ }), /* @__PURE__ */ (0, x.jsx)(AU, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -65582,7 +66191,7 @@ function aMe({ item: e, navigate: t }) {
})]
});
}
-function oMe({ src: e }) {
+function yMe({ src: e }) {
let t = (0, b.useRef)(null), [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(0);
return (0, b.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
@@ -65606,8 +66215,8 @@ function oMe({ src: e }) {
}) : null
});
}
-function sMe({ code: e, count: t, released: n }) {
- let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => eMe(e, n), [e, n]), s = (0, b.useRef)(!1), c = pt({
+function bMe({ code: e, count: t, released: n }) {
+ let r = C(), [i, a] = (0, b.useState)(!1), o = (0, b.useMemo)(() => pMe(e, n), [e, n]), s = (0, b.useRef)(!1), c = pt({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -65616,12 +66225,12 @@ function sMe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => tMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => mMe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await Zje(e, n, t, s.current);
- if ($je(e, i), !i.ok || i.cache_stale) {
+ let i = await uMe(e, n, t, s.current);
+ if (fMe(e, i), !i.ok || i.cache_stale) {
let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);
if (t?.ok) return {
...t,
@@ -65631,7 +66240,7 @@ function sMe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: Qje
+ getNextPageParam: dMe
});
(0, b.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -65639,7 +66248,7 @@ function sMe({ code: e, count: t, released: n }) {
let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? z(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, x.jsxs)(Dk, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Ok, {
trailing: !0,
summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)(ede, { "aria-hidden": !0 }),
@@ -65659,7 +66268,7 @@ function sMe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, x.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(IU, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, x.jsx)(YU, {
score: Number(e.score),
review: !0
}) : null,
@@ -65714,21 +66323,21 @@ function sMe({ code: e, count: t, released: n }) {
})
});
}
-function cMe({ item: e, actions: t, readOnly: n }) {
+function xMe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, b.useState)(!1), a = dt({
- queryKey: Lk,
+ queryKey: Rk,
enabled: r,
- queryFn: ({ signal: e }) => B(`${Ik}?limit=50`, e)
+ queryFn: ({ signal: e }) => B(`${Lk}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, b.useState)(!1);
return /* @__PURE__ */ (0, x.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, x.jsx)(Dk, {
+ children: /* @__PURE__ */ (0, x.jsx)(Ok, {
trailing: !0,
- summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(PU, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(qU, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, x.jsx)(zB, {
+ children: s ? /* @__PURE__ */ (0, x.jsx)(qB, {
want: {
id: 0,
code: e.code,
@@ -65746,31 +66355,31 @@ function cMe({ item: e, actions: t, readOnly: n }) {
}
//#endregion
//#region src/react/stage/stage-player.ts
-var LU = null, RU = null, zU = null, BU = null, VU = null, HU = !1, UU = 0, WU = null, GU = () => !1, KU = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function lMe(e, t) {
- LU = e, GU = () => t.isOpen(), WU = () => t.requestClose(), uce({
+var XU = null, ZU = null, QU = null, $U = null, eW = null, tW = !1, nW = 0, rW = null, iW = () => !1, aW = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function SMe(e, t) {
+ XU = e, iW = () => t.isOpen(), rW = () => t.requestClose(), uce({
...e.player,
stage: () => document.getElementById("stage")
}), dce({
- inMiniplayer: (e) => RU?.player === e,
- kind: (e) => RU?.player === e ? RU.kind : zU?.kind ?? BU?.kind ?? "item",
- expand: () => dW(),
- toMiniplayer: () => fW()
- }), qU || (qU = !0, addEventListener("pagehide", () => XE()));
-}
-var qU = !1;
-function JU() {
- if (!LU) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return LU;
-}
-function YU(e) {
- BU = e;
-}
-var uMe = () => BU;
-function XU(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = KU(n, r.id, i?.index ?? null);
- if (RU && RU.key === a) return dMe(e, RU);
- RU && uW();
+ inMiniplayer: (e) => ZU?.player === e,
+ kind: (e) => ZU?.player === e ? ZU.kind : QU?.kind ?? $U?.kind ?? "item",
+ expand: () => wW(),
+ toMiniplayer: () => TW()
+ }), oW || (oW = !0, addEventListener("pagehide", () => XE()));
+}
+var oW = !1;
+function sW() {
+ if (!XU) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return XU;
+}
+function cW(e) {
+ $U = e;
+}
+var CMe = () => $U;
+function lW(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = aW(n, r.id, i?.index ?? null);
+ if (ZU && ZU.key === a) return wMe(e, ZU);
+ ZU && CW();
let o = {
player: null,
kind: n,
@@ -65778,7 +66387,7 @@ function XU(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- zU = o;
+ QU = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
let c = lD(s, {
@@ -65788,18 +66397,18 @@ function XU(e, t) {
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- zU === o && (o.player = e);
+ QU === o && (o.player = e);
},
- handedOff: (e) => RU?.player === e
+ handedOff: (e) => ZU?.player === e
});
return () => {
- let e = !!o.player && RU?.player === o.player;
- zU === o && (zU = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), XE());
+ let e = !!o.player && ZU?.player === o.player;
+ QU === o && (QU = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), XE());
};
}
-function dMe(e, t) {
+function wMe(e, t) {
let { player: n } = t;
- cW(t), RU = null, lW(), n.el().classList.remove("vjs-peach-mini"), sD(e), e.append(n.el()), mE(n);
+ xW(t), ZU = null, SW(), n.el().classList.remove("vjs-peach-mini"), sD(e), e.append(n.el()), mE(n);
let r = {
player: n,
kind: t.kind,
@@ -65807,23 +66416,23 @@ function dMe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- zU = r;
+ QU = r;
let i = cD(n, e);
return hE(n), () => {
- zU === r && (zU = null), i(), RU?.player !== n && (pE() === n && mE(null), HE(n), XE());
+ QU === r && (QU = null), i(), ZU?.player !== n && (pE() === n && mE(null), HE(n), XE());
};
}
-var ZU = () => {
- let e = zU?.player;
+var uW = () => {
+ let e = QU?.player;
return e && !e.isDisposed() ? e : null;
};
-function fMe(e) {
- let t = HU;
- HU = !1, RU?.pending && uW();
- let n = zU, r = n?.player, i = BU;
- if (!n || !r || r.isDisposed() || !i || !VU) return;
- let a = JU().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && gMe({
+function TMe(e) {
+ let t = tW;
+ tW = !1, ZU?.pending && CW();
+ let n = QU, r = n?.player, i = $U;
+ if (!n || !r || r.isDisposed() || !i || !eW) return;
+ let a = sW().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && kMe({
player: r,
kind: n.kind,
item: n.item,
@@ -65831,46 +66440,46 @@ function fMe(e) {
key: n.key
}, i);
}
-function QU(e, t) {
- HU = !1, RU && (RU.kind === e && RU.item.id === t ? (RU.pending = !0, lW()) : uW());
+function dW(e, t) {
+ tW = !1, ZU && (ZU.kind === e && ZU.item.id === t ? (ZU.pending = !0, SW()) : CW());
}
-function $U(e) {
- VU = e, VU && oW();
+function fW(e) {
+ eW = e, eW && yW();
}
-var eW = () => !!RU && !RU.pending && !RU.player.isDisposed();
-function pMe() {
- return eW() ? VU?.frame.querySelector("video") ?? null : null;
+var pW = () => !!ZU && !ZU.pending && !ZU.player.isDisposed();
+function EMe() {
+ return pW() ? eW?.frame.querySelector("video") ?? null : null;
}
-function mMe() {
- return GU() ? document.getElementById("stage")?.querySelector("video") ?? null : pMe();
+function DMe() {
+ return iW() ? document.getElementById("stage")?.querySelector("video") ?? null : EMe();
}
-function tW(e) {
- VU && (VU.title.textContent = e.title || "", VU.sub.textContent = e.sub || "", VU.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function mW(e) {
+ eW && (eW.title.textContent = e.title || "", eW.sub.textContent = e.sub || "", eW.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function nW(e = RU?.item) {
- if (!VU) return;
- let t = VU.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- VU.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function hW(e = ZU?.item) {
+ if (!eW) return;
+ let t = eW.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ eW.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function rW() {
- let e = RU?.player;
- if (!e || e.isDisposed() || !VU) return;
+function gW() {
+ let e = ZU?.player;
+ if (!e || e.isDisposed() || !eW) return;
let t = e.paused();
- VU.play.setAttribute("aria-label", t ? "播放" : "暂停"), VU.play.querySelector("[data-icon-swap]") || (VU.play.innerHTML = io("player-pause", "player-play", t ? "b" : "a")), ao(VU.play, t ? "b" : "a");
+ eW.play.setAttribute("aria-label", t ? "播放" : "暂停"), eW.play.querySelector("[data-icon-swap]") || (eW.play.innerHTML = io("player-pause", "player-play", t ? "b" : "a")), ao(eW.play, t ? "b" : "a");
}
-function iW() {
- let e = RU?.player;
- if (!e || e.isDisposed() || !VU) return;
- let t = Bt(RU?.item.duration) || Bt(e.duration());
- VU.time.textContent = `${Ht(e.currentTime())} / ${t ? Ht(t) : "0:00"}`;
+function _W() {
+ let e = ZU?.player;
+ if (!e || e.isDisposed() || !eW) return;
+ let t = Bt(ZU?.item.duration) || Bt(e.duration());
+ eW.time.textContent = `${Ht(e.currentTime())} / ${t ? Ht(t) : "0:00"}`;
}
-var aW = () => Math.max(1, Number(JU().player.settings().seekSeconds) || 10);
-function oW() {
- if (!VU || !LU) return;
- let e = aW();
- for (let [t, n] of [[VU.back, `后退 ${e} 秒`], [VU.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+var vW = () => Math.max(1, Number(sW().player.settings().seekSeconds) || 10);
+function yW() {
+ if (!eW || !XU) return;
+ let e = vW();
+ for (let [t, n] of [[eW.back, `后退 ${e} 秒`], [eW.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
}
-function sW(e) {
+function bW(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -65882,17 +66491,17 @@ function sW(e) {
"play",
"pause",
"ended"
- ], rW), t([
+ ], gW), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], iW), t("loadedmetadata", () => nW()), rW(), iW(), nW(), oW();
+ ], _W), t("loadedmetadata", () => hW()), gW(), _W(), hW(), yW();
}
-function cW(e) {
+function xW(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function hMe() {
- let e = VU?.root;
+function OMe() {
+ let e = eW?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -65900,8 +66509,8 @@ function hMe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function lW() {
- let e = VU?.root;
+function SW() {
+ let e = eW?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -65912,73 +66521,73 @@ function lW() {
e.style.transform = "";
}
}
-function gMe(e, t) {
- if (!VU) return;
+function kMe(e, t) {
+ if (!eW) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- RU = n, UU++, e.player.el().classList.add("vjs-peach-mini"), VU.frame.prepend(e.player.el()), tW(t), sW(n), hMe(), hE(e.player);
+ ZU = n, nW++, e.player.el().classList.add("vjs-peach-mini"), eW.frame.prepend(e.player.el()), mW(t), bW(n), OMe(), hE(e.player);
}
-function uW() {
- let e = RU;
- e && cW(e), RU = null, UU++;
+function CW() {
+ let e = ZU;
+ e && xW(e), ZU = null, nW++;
let t = e?.player ?? null;
- t && pE() === t && mE(null), HE(t), t && XE(), VU?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), dE(), lW();
+ t && pE() === t && mE(null), HE(t), t && XE(), eW?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), dE(), SW();
}
-function dW() {
- if (!eW() || !RU) return;
- let { kind: e, item: t, mediaIndex: n } = RU;
- JU().expand(e, t.id, n);
+function wW() {
+ if (!pW() || !ZU) return;
+ let { kind: e, item: t, mediaIndex: n } = ZU;
+ sW().expand(e, t.id, n);
}
-function fW() {
- eW() && !GU() ? dW() : GU() && ZU() && WU && (HU = !0, WU());
+function TW() {
+ pW() && !iW() ? wW() : iW() && uW() && rW && (tW = !0, rW());
}
-function _Me() {
- let e = RU?.player;
+function AMe() {
+ let e = ZU?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function pW(e) {
- let t = RU?.player;
+function EW(e) {
+ let t = ZU?.player;
if (!t || t.isDisposed()) return;
- let n = Bt(t.duration()) || Bt(RU?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + aW() * e);
+ let n = Bt(t.duration()) || Bt(ZU?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + vW() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function mW(e) {
- return !(!eW() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || JU().sourceOffline(String(e.location ?? "")));
-}
-async function vMe(e) {
- if (!eW() || !RU || !VU) return;
- let t = ++UU, n = await vt(`/api/item?id=${e}`).catch(() => null);
- if (t !== UU || !eW() || !RU || !VU || !n || n.error) return;
- if (!mW(n)) {
- JU().openItem(e);
+function DW(e) {
+ return !(!pW() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || sW().sourceOffline(String(e.location ?? "")));
+}
+async function jMe(e) {
+ if (!pW() || !ZU || !eW) return;
+ let t = ++nW, n = await vt(`/api/item?id=${e}`).catch(() => null);
+ if (t !== nW || !pW() || !ZU || !eW || !n || n.error) return;
+ if (!DW(n)) {
+ sW().openItem(e);
return;
}
- let r = RU;
- cW(r), pE() === r.player && mE(null), HE(r.player), XE(), VU.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = ZU;
+ xW(r), pE() === r.player && mE(null), HE(r.player), XE(), eW.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", VU.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", eW.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- tW(a), lD(i, {
+ mW(a), lD(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== UU) {
+ if (t !== nW) {
r && pE() === r && mE(null), HE(r);
return;
}
if (!r) {
- uW(), JU().openItem(e);
+ CW(), sW().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -65987,26 +66596,26 @@ async function vMe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: KU("item", n.id, null),
+ key: aW("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- RU = i, sW(i);
+ ZU = i, bW(i);
}
- }), nW(n);
+ }), hW(n);
}
//#endregion
//#region src/react/stage/miniplayer.tsx
-var hW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
+var OW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, x.jsx)("use", { href: `#i-${e}` })
-}), yMe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, gW = (e) => (t) => {
+}), MMe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, kW = (e) => (t) => {
t.stopPropagation(), e();
-}, bMe = (0, b.memo)(function() {
+}, NMe = (0, b.memo)(function() {
let e = (0, b.useRef)(null), t = (0, b.useRef)(null), n = (0, b.useRef)(null), r = (0, b.useRef)(null), i = (0, b.useRef)(null), a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = (0, b.useRef)(null), c = (0, b.useRef)(null), l = (0, b.useRef)(null);
- return (0, b.useLayoutEffect)(() => ($U({
+ return (0, b.useLayoutEffect)(() => (fW({
root: e.current,
frame: n.current,
play: r.current,
@@ -66016,7 +66625,7 @@ var hW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => $U(null)), []), (0, b.useEffect)(() => SMe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
+ }), () => fW(null)), []), (0, b.useEffect)(() => FMe(e.current, t.current), []), /* @__PURE__ */ (0, x.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -66040,24 +66649,24 @@ var hW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: gW(dW),
- children: /* @__PURE__ */ (0, x.jsx)(hW, { name: "maximize-2" })
+ onClick: kW(wW),
+ children: /* @__PURE__ */ (0, x.jsx)(OW, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: gW(uW),
- children: /* @__PURE__ */ (0, x.jsx)(hW, { name: "x" })
+ onClick: kW(CW),
+ children: /* @__PURE__ */ (0, x.jsx)(OW, { name: "x" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: gW(() => pW(-1)),
- children: /* @__PURE__ */ (0, x.jsx)(hW, { name: "rotate-ccw" })
+ onClick: kW(() => EW(-1)),
+ children: /* @__PURE__ */ (0, x.jsx)(OW, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: r,
@@ -66066,16 +66675,16 @@ var hW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: gW(_Me),
- dangerouslySetInnerHTML: yMe
+ onClick: kW(AMe),
+ dangerouslySetInnerHTML: MMe
}),
/* @__PURE__ */ (0, x.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: gW(() => pW(1)),
- children: /* @__PURE__ */ (0, x.jsx)(hW, { name: "rotate-cw" })
+ onClick: kW(() => EW(1)),
+ children: /* @__PURE__ */ (0, x.jsx)(OW, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, x.jsx)("span", {
ref: i,
@@ -66092,7 +66701,7 @@ var hW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => dW(),
+ onClick: () => wW(),
children: [/* @__PURE__ */ (0, x.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -66106,7 +66715,7 @@ var hW = ({ name: e }) => /* @__PURE__ */ (0, x.jsx)("svg", {
})
});
});
-function xMe(e, t, n) {
+function PMe(e, t, n) {
let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {
left: r.left - t,
top: r.top - n
@@ -66128,7 +66737,7 @@ function xMe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function SMe(e, t) {
+function FMe(e, t) {
let n = null, r = (e) => {
if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {
n = {
@@ -66154,7 +66763,7 @@ function SMe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), xMe(e, i.dx, i.dy));
+ }, 0), PMe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -66166,49 +66775,49 @@ function SMe(e, t) {
}
//#endregion
//#region src/react/stage/stage.tsx
-var _W = null, vW = null, yW = /* @__PURE__ */ new Set(), bW = 0, xW = null, SW = !1, CW = !1, wW = () => {
+var AW = null, jW = null, MW = /* @__PURE__ */ new Set(), NW = 0, PW = null, FW = !1, IW = !1, LW = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function TW() {
- if (!_W) throw Error("舞台还没有接上宿主(configureStage)");
- return _W;
+function RW() {
+ if (!AW) throw Error("舞台还没有接上宿主(configureStage)");
+ return AW;
}
-function CMe(e) {
- return yW.add(e), () => {
- yW.delete(e);
+function IMe(e) {
+ return MW.add(e), () => {
+ MW.delete(e);
};
}
-function wMe() {
- for (let e of [...yW]) e();
+function LMe() {
+ for (let e of [...MW]) e();
}
-function EW() {
- (0, mt.flushSync)(wMe);
+function zW() {
+ (0, mt.flushSync)(LMe);
}
-function TMe({ view: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(EMe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(bMe, {})] });
+function RMe({ view: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [e ? /* @__PURE__ */ (0, x.jsx)(zMe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, x.jsx)(NMe, {})] });
}
-var DW = () => /* @__PURE__ */ (0, x.jsx)("div", {
+var BW = () => /* @__PURE__ */ (0, x.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: WAe() }
+ dangerouslySetInnerHTML: { __html: tje() }
});
-function OW(e) {
+function VW(e) {
let t = e.currentTarget;
if (e.target !== t) return !1;
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function EMe({ view: e }) {
+function zMe({ view: e }) {
let t = (0, b.useRef)(null);
(0, b.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
- e.preventDefault(), kW();
+ e.preventDefault(), HW();
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(Nje, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(nMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(_je, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, x.jsx)(Kje, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, x.jsx)(hMe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, x.jsx)(Oje, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, x.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -66216,20 +66825,20 @@ function EMe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), kW());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), HW());
},
onPointerDown: (e) => {
- CW = OW(e);
+ IW = VW(e);
},
onClick: (e) => {
- CW && OW(e) && kW();
+ IW && VW(e) && HW();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(DW, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, x.jsx)(BW, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, x.jsx)(DW, {})
+ children: /* @__PURE__ */ (0, x.jsx)(BW, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, x.jsx)("div", {
"data-stage-scroll": "",
@@ -66241,14 +66850,14 @@ function EMe({ view: e }) {
]
});
}
-function kW() {
- vW && !SW && (SW = !0, vW.request.actions.close());
+function HW() {
+ jW && !FW && (FW = !0, jW.request.actions.close());
}
-function AW(e, t) {
- let n = wW();
+function UW(e, t) {
+ let n = LW();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function jW(e) {
+function WW(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -66256,30 +66865,30 @@ function jW(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: kW
+ close: HW
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => TW().player.settings(), i = () => vW?.request === e;
+ }, r = () => RW().player.settings(), i = () => jW?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: kW,
+ close: HW,
present: (e, t) => {
let n = e.performers;
- YU({
+ cW({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), AW(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), UW(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => XU(e, {
+ mountPlayer: (e, t, r, i) => lW(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -66297,18 +66906,18 @@ function jW(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: kW,
+ close: HW,
present: (e, t) => {
- YU({
+ cW({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), AW(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), UW(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => XU(e, {
+ mountPlayer: (e, t, r, i) => lW(e, {
kind: "follow",
item: t,
media: r,
@@ -66325,78 +66934,78 @@ function jW(e) {
}
};
}
-function DMe(e, t) {
+function BMe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), vW?.generation === t && vW.phase === "reveal" && (vW = {
- ...vW,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), jW?.generation === t && jW.phase === "reveal" && (jW = {
+ ...jW,
phase: "content"
- }, EW());
+ }, zW());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function MW(e) {
- let t = wW();
- return !vW || vW.content.kind !== e || SW || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function GW(e) {
+ let t = LW();
+ return !jW || jW.content.kind !== e || FW || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function OMe(e) {
- let t = MW(e.kind);
+async function VMe(e) {
+ let t = GW(e.kind);
if (t) {
- await kMe(e, t);
+ await HMe(e, t);
return;
}
- vW && NW({ miniplayer: !1 });
- let n = ++bW, r = new AbortController();
- xW = r, SW = !1, CW = !1, e.kind === "jav" ? uW() : QU(e.kind, e.id ?? NaN), vW = {
+ jW && KW({ miniplayer: !1 });
+ let n = ++NW, r = new AbortController();
+ PW = r, FW = !1, IW = !1, e.kind === "jav" ? CW() : dW(e.kind, e.id ?? NaN), jW = {
generation: n,
request: e,
- content: jW(e),
+ content: WW(e),
phase: "skeleton"
- }, EW();
- let i = wW();
+ }, zW();
+ let i = LW();
if (!i) return;
Co(i), document.body.setAttribute("data-detail-open", ""), i.open || i.showModal();
- let a = vW.content;
+ let a = jW.content;
try {
- a.kind === "item" ? await jD(a.props, r.signal) : a.kind === "jav" ? await kU(a.props, r.signal) : await JH(a.props, r.signal);
+ a.kind === "item" ? await jD(a.props, r.signal) : a.kind === "jav" ? await HU(a.props, r.signal) : await aU(a.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== bW || !vW) return;
+ if (n !== NW || !jW) return;
let o = !!i.querySelector(".skeleton-awaiting");
- vW = {
- ...vW,
+ jW = {
+ ...jW,
phase: o ? "content" : "reveal"
- }, EW(), o || DMe(i, n), fo(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, zW(), o || BMe(i, n), fo(i, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let s = document.activeElement;
(s === i || !i.contains(s)) && i.querySelector("#closeStage")?.focus();
}
-async function kMe(e, t) {
- let n = ++bW;
- xW?.abort();
+async function HMe(e, t) {
+ let n = ++NW;
+ PW?.abort();
let r = new AbortController();
- xW = r, CW = !1;
- let i = jW(e);
+ PW = r, IW = !1;
+ let i = WW(e);
try {
- i.kind === "item" ? await jD(i.props, r.signal) : i.kind === "jav" ? await kU(i.props, r.signal) : await JH(i.props, r.signal);
+ i.kind === "item" ? await jD(i.props, r.signal) : i.kind === "jav" ? await HU(i.props, r.signal) : await aU(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== bW || !vW || MW(e.kind) !== t) return;
- e.kind === "jav" ? uW() : QU(e.kind, e.id ?? NaN), Ks(t), dE(), vW = {
- ...vW,
+ if (n !== NW || !jW || GW(e.kind) !== t) return;
+ e.kind === "jav" ? CW() : dW(e.kind, e.id ?? NaN), Ks(t), dE(), jW = {
+ ...jW,
request: e,
content: i,
phase: "content"
- }, EW(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), fo(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, zW(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), fo(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let a = document.activeElement;
(a === t || !t.contains(a)) && (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });
}
-function AMe() {
- let e = wW();
+function UMe() {
+ let e = LW();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
clearTimeout(n), e.removeEventListener("animationend", i), t();
@@ -66406,84 +67015,84 @@ function AMe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function NW({ miniplayer: e = !0 } = {}) {
- if (bW++, xW?.abort(), xW = null, fMe(e), !vW) return;
- let t = wW();
- t && Ks(t), dE(), t?.open && t.close(), vW = null, SW = !1, CW = !1, EW(), YU(null), document.body.removeAttribute("data-detail-open");
+function KW({ miniplayer: e = !0 } = {}) {
+ if (NW++, PW?.abort(), PW = null, TMe(e), !jW) return;
+ let t = LW();
+ t && Ks(t), dE(), t?.open && t.close(), jW = null, FW = !1, IW = !1, zW(), cW(null), document.body.removeAttribute("data-detail-open");
}
-function jMe(e) {
- vW && (vW = {
- ...vW,
- content: vW.content.kind === "item" ? {
+function WMe(e) {
+ jW && (jW = {
+ ...jW,
+ content: jW.content.kind === "item" ? {
kind: "item",
props: {
- ...vW.content.props,
+ ...jW.content.props,
...e
}
- } : vW.content.kind === "jav" ? vW.content : {
+ } : jW.content.kind === "jav" ? jW.content : {
kind: "follow",
props: {
- ...vW.content.props,
+ ...jW.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, EW());
+ }, zW());
}
-function MMe() {
- let e = uMe(), t = e?.kind === "item" ? e.item : null, n = t ? ma(t, TW().player.settings().javImage) : "";
+function GMe() {
+ let e = CMe(), t = e?.kind === "item" ? e.item : null, n = t ? ma(t, RW().player.settings().javImage) : "";
if (!n) return;
- let r = ZU();
+ let r = uW();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var NMe = {
- open: OMe,
- update: jMe,
- exit: AMe,
- dispose: NW,
- requestClose: kW,
- repaintPoster: MMe,
- isOpen: () => !!vW,
- showing: () => vW && MW(vW.content.kind) ? vW.content.kind : null,
- activeVideo: () => mMe(),
+var KMe = {
+ open: VMe,
+ update: WMe,
+ exit: UMe,
+ dispose: KW,
+ requestClose: HW,
+ repaintPoster: GMe,
+ isOpen: () => !!jW,
+ showing: () => jW && GW(jW.content.kind) ? jW.content.kind : null,
+ activeVideo: () => DMe(),
toggleTheater: () => {
- vW && jE(!TW().player.settings().theaterMode);
+ jW && jE(!RW().player.settings().theaterMode);
},
- toggleMiniplayer: () => fW(),
- closeMiniplayer: () => uW(),
- miniplayerActive: () => eW(),
- miniplayerTakesCard: (e) => mW(e),
+ toggleMiniplayer: () => TW(),
+ closeMiniplayer: () => CW(),
+ miniplayerActive: () => pW(),
+ miniplayerTakesCard: (e) => DW(e),
miniplayerPlay: (e) => {
- vMe(e);
+ jMe(e);
}
};
-function PMe(e) {
- return _W = e, lMe(e, {
- isOpen: () => !!vW,
- requestClose: kW
- }), NMe;
+function qMe(e) {
+ return AW = e, SMe(e, {
+ isOpen: () => !!jW,
+ requestClose: HW
+ }), KMe;
}
-function FMe() {
- let e = (0, b.useSyncExternalStore)(CMe, () => vW);
- return _W ? /* @__PURE__ */ (0, x.jsx)(TMe, { view: e }) : null;
+function JMe() {
+ let e = (0, b.useSyncExternalStore)(IMe, () => jW);
+ return AW ? /* @__PURE__ */ (0, x.jsx)(RMe, { view: e }) : null;
}
//#endregion
//#region src/react/stats/stats.ts
-var IMe = "/api/stats", PW = ["stats"], FW = (e) => B(IMe, e);
-async function LMe(e) {
+var YMe = "/api/stats", qW = ["stats"], JW = (e) => B(YMe, e);
+async function XMe(e) {
await H.fetchQuery({
- queryKey: PW,
- queryFn: () => FW(e)
+ queryKey: qW,
+ queryFn: () => JW(e)
});
}
-var IW = (e) => e != null && Number.isFinite(e), LW = (e) => IW(e) ? e.toLocaleString() : "未取得", RMe = (e, t) => IW(e) && IW(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, RW = (e, t) => {
- let n = RMe(e, t);
- return !n && IW(e) && e > 0 && IW(t) && t > 0 ? "<1%" : `${n}%`;
-}, zW = (e) => {
- if (!IW(e)) return "未取得";
+var YW = (e) => e != null && Number.isFinite(e), XW = (e) => YW(e) ? e.toLocaleString() : "未取得", ZMe = (e, t) => YW(e) && YW(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, ZW = (e, t) => {
+ let n = ZMe(e, t);
+ return !n && YW(e) && e > 0 && YW(t) && t > 0 ? "<1%" : `${n}%`;
+}, QW = (e) => {
+ if (!YW(e)) return "未取得";
let t = Math.max(0, e);
return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;
-}, BW = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, VW = (e) => (e.max_reached || 0) * 100, zMe = (e) => e.kind === "online" ? "在线直接观看" : BW(e) < VW(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", BMe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;
-function VMe(e, t = 6) {
+}, $W = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, eG = (e) => (e.max_reached || 0) * 100, QMe = (e) => e.kind === "online" ? "在线直接观看" : $W(e) < eG(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", $Me = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;
+function eNe(e, t = 6) {
let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (n.length <= t) return n;
let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);
@@ -66493,7 +67102,7 @@ function VMe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var HMe = (e) => Math.max(1, ...e) * 1.1, UMe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, WMe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), GMe = {
+var tNe = (e) => Math.max(1, ...e) * 1.1, nNe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, rNe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), iNe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -66501,18 +67110,18 @@ var HMe = (e) => Math.max(1, ...e) * 1.1, UMe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, KMe = (e) => e.map((e) => ({
- name: GMe[e.k] ?? e.k,
+}, aNe = (e) => e.map((e) => ({
+ name: iNe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), qMe = {
+})).sort((e, t) => t.value - e.value), oNe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, HW = (e, t = {}) => e.map((e) => ({
+}, tG = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), JMe = (e) => HW(e, qMe), YMe = [
+})), sNe = (e) => tG(e, oNe), cNe = [
[
1,
1,
@@ -66548,49 +67157,49 @@ var HMe = (e) => Math.max(1, ...e) * 1.1, UMe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], XMe = (e) => YMe.map(([t, n, r]) => ({
+], lNe = (e) => cNe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), ZMe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
-function UW(e) {
- return typeof e == "string" && ZMe.includes(e);
+})), uNe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
+function nG(e) {
+ return typeof e == "string" && uNe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var QMe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
-function WW(e) {
- return typeof e == "string" && QMe.has(e);
+var dNe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
+function rG(e) {
+ return typeof e == "string" && dNe.has(e);
}
-function GW(e) {
+function iG(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function KW(e) {
+function aG(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (WW(n) || GW(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (rG(n) || iG(n)) && (t[n] = e[n]);
return t;
}
-function qW(e) {
+function oG(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, b.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return KW(t);
+ return aG(t);
}
- return typeof e == "object" && !Array.isArray(e) ? KW(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? aG(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function JW(e) {
+function sG(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (WW(n) || GW(n) || UW(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (rG(n) || iG(n) || nG(n)) && (t[n] = e[n]);
return t;
}
-function $Me(e) {
- return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? JW(e.props) : typeof e == "object" && !Array.isArray(e) ? JW(e) : null;
+function fNe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, b.isValidElement)(e) ? sG(e.props) : typeof e == "object" && !Array.isArray(e) ? sG(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var eNe = [
+var pNe = [
"children",
"width",
"height",
@@ -66600,25 +67209,25 @@ var eNe = [
"title",
"desc"
];
-function YW() {
- return YW = Object.assign ? Object.assign.bind() : function(e) {
+function cG() {
+ return cG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, YW.apply(null, arguments);
+ }, cG.apply(null, arguments);
}
-function tNe(e, t) {
+function mNe(e, t) {
if (e == null) return {};
- var n, r, i = nNe(e, t);
+ var n, r, i = hNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nNe(e, t) {
+function hNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66627,14 +67236,14 @@ function nNe(e, t) {
}
return n;
}
-var XW = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = tNe(e, eNe), d = a || {
+var lG = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = mNe(e, pNe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Cv("recharts-surface", o);
- return /*#__PURE__*/ b.createElement("svg", YW({}, JW(u), {
+ return /*#__PURE__*/ b.createElement("svg", cG({}, sG(u), {
className: f,
width: r,
height: i,
@@ -66642,26 +67251,26 @@ var XW = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ b.createElement("title", null, c), /*#__PURE__*/ b.createElement("desc", null, l), n);
-}), rNe = ["children", "className"];
-function ZW() {
- return ZW = Object.assign ? Object.assign.bind() : function(e) {
+}), gNe = ["children", "className"];
+function uG() {
+ return uG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, ZW.apply(null, arguments);
+ }, uG.apply(null, arguments);
}
-function iNe(e, t) {
+function _Ne(e, t) {
if (e == null) return {};
- var n, r, i = aNe(e, t);
+ var n, r, i = vNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function aNe(e, t) {
+function vNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66670,54 +67279,54 @@ function aNe(e, t) {
}
return n;
}
-var QW = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = e.children, r = e.className, i = iNe(e, rNe), a = Cv("recharts-layer", r);
- return /*#__PURE__*/ b.createElement("g", ZW({ className: a }, JW(i), { ref: t }), n);
+var dG = /*#__PURE__*/ b.forwardRef((e, t) => {
+ var n = e.children, r = e.className, i = _Ne(e, gNe), a = Cv("recharts-layer", r);
+ return /*#__PURE__*/ b.createElement("g", uG({ className: a }, sG(i), { ref: t }), n);
});
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function $W(e) {
+function fG(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var oNe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function eG(e) {
+var yNe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function pG(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : oNe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : yNe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function tG(e) {
+function mG(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function nG(e) {
+function hG(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function sNe(e) {
- return e == null ? "" : rG(e);
+function bNe(e) {
+ return e == null ? "" : gG(e);
}
-function rG(e) {
+function gG(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(rG).join(",");
- if (nG(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(gG).join(",");
+ if (hG(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function iG(e) {
- if (Array.isArray(e)) return e.map(tG);
+function _G(e) {
+ if (Array.isArray(e)) return e.map(mG);
if (typeof e == "symbol") return [e];
- e = sNe(e);
+ e = bNe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -66745,86 +67354,86 @@ function iG(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function aG(e, t, n) {
+function vG(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if ($W(t)) return n;
+ if (fG(t)) return n;
let r = e[t];
- return r === void 0 ? eG(t) && !Object.hasOwn(e, t) ? aG(e, iG(t), n) : n : r;
+ return r === void 0 ? pG(t) && !Object.hasOwn(e, t) ? vG(e, _G(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = tG(t));
+ typeof t == "number" && (t = mG(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return cNe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), $W(t)) return n;
+ if (Array.isArray(t)) return xNe(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), fG(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function cNe(e, t, n) {
+function xNe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || $W(t[e])) return n;
+ if (r == null || fG(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var lNe = 4;
-function oG(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : lNe), n = Math.round(e * t) / t;
+var SNe = 4;
+function yG(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : SNe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function sG(e) {
+function bG(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + oG(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + yG(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var cG = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, lG = (e) => typeof e == "number" && e != +e, uG = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, dG = (e) => (typeof e == "number" || e instanceof Number) && !lG(e), fG = (e) => dG(e) || typeof e == "string", uNe = 0, pG = (e) => {
- var t = ++uNe;
+var xG = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, SG = (e) => typeof e == "number" && e != +e, CG = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, wG = (e) => (typeof e == "number" || e instanceof Number) && !SG(e), TG = (e) => wG(e) || typeof e == "string", CNe = 0, EG = (e) => {
+ var t = ++CNe;
return `${e || ""}${t}`;
-}, mG = function(e, t) {
+}, DG = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
- if (!dG(e) && typeof e != "string") return n;
+ if (!wG(e) && typeof e != "string") return n;
var i;
- if (uG(e)) {
+ if (CG(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return lG(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, hG = (e) => {
+ return SG(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, OG = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function gG(e, t, n) {
- return dG(e) && dG(t) ? oG(e + n * (t - e)) : t;
+function kG(e, t, n) {
+ return wG(e) && wG(t) ? yG(e + n * (t - e)) : t;
}
-function _G(e, t, n) {
- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : aG(e, t)) === n);
+function AG(e, t, n) {
+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : vG(e, t)) === n);
}
-var vG = (e) => e == null, yG = (e) => vG(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function bG(e) {
+var jG = (e) => e == null, MG = (e) => jG(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function NG(e) {
return e != null;
}
-function xG() {}
+function PG() {}
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js
-function SG(e) {
+function FG(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -66836,7 +67445,7 @@ function SG(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function CG(e, t) {
+function IG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66846,30 +67455,30 @@ function CG(e, t) {
}
return n;
}
-function wG(e) {
+function LG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? CG(Object(n), !0).forEach(function(t) {
- dNe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CG(Object(n)).forEach(function(t) {
+ t % 2 ? IG(Object(n), !0).forEach(function(t) {
+ wNe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dNe(e, t, n) {
- return (t = fNe(t)) in e ? Object.defineProperty(e, t, {
+function wNe(e, t, n) {
+ return (t = TNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fNe(e) {
- var t = pNe(e, "string");
+function TNe(e) {
+ var t = ENe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pNe(e, t) {
+function ENe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66879,8 +67488,8 @@ function pNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var TG = (e) => {
- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = SG(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
+var RG = (e) => {
+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = FG(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
if (n === "top") {
var D = {
x: p + d / 2,
@@ -66921,98 +67530,98 @@ var TG = (e) => {
width: g,
height: u
} : {};
- return n === "insideLeft" ? wG({
+ return n === "insideLeft" ? LG({
x: h + C,
y: l + u / 2,
horizontalAnchor: T,
verticalAnchor: "middle"
- }, j) : n === "insideRight" ? wG({
+ }, j) : n === "insideRight" ? LG({
x: h + g - C,
y: l + u / 2,
horizontalAnchor: w,
verticalAnchor: "middle"
- }, j) : n === "insideTop" ? wG({
+ }, j) : n === "insideTop" ? LG({
x: p + d / 2,
y: l + y,
horizontalAnchor: "middle",
verticalAnchor: x
- }, j) : n === "insideBottom" ? wG({
+ }, j) : n === "insideBottom" ? LG({
x: m + f / 2,
y: l + u - y,
horizontalAnchor: "middle",
verticalAnchor: b
- }, j) : n === "insideTopLeft" ? wG({
+ }, j) : n === "insideTopLeft" ? LG({
x: p + C,
y: l + y,
horizontalAnchor: T,
verticalAnchor: x
- }, j) : n === "insideTopRight" ? wG({
+ }, j) : n === "insideTopRight" ? LG({
x: p + d - C,
y: l + y,
horizontalAnchor: w,
verticalAnchor: x
- }, j) : n === "insideBottomLeft" ? wG({
+ }, j) : n === "insideBottomLeft" ? LG({
x: m + C,
y: l + u - y,
horizontalAnchor: T,
verticalAnchor: b
- }, j) : n === "insideBottomRight" ? wG({
+ }, j) : n === "insideBottomRight" ? LG({
x: m + f - C,
y: l + u - y,
horizontalAnchor: w,
verticalAnchor: b
- }, j) : n && typeof n == "object" && (dG(n.x) || uG(n.x)) && (dG(n.y) || uG(n.y)) ? wG({
- x: c + mG(n.x, g),
- y: l + mG(n.y, u),
+ }, j) : n && typeof n == "object" && (wG(n.x) || CG(n.x)) && (wG(n.y) || CG(n.y)) ? LG({
+ x: c + DG(n.x, g),
+ y: l + DG(n.y, u),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, j) : wG({
+ }, j) : LG({
x: _,
y: l + u / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, j);
-}, mNe = [
+}, DNe = [
"top",
"left",
"right",
"bottom"
];
-function EG(e) {
- return e == null ? !1 : typeof e == "object" || mNe.includes(e);
+function zG(e) {
+ return e == null ? !1 : typeof e == "object" || DNe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/context/legendPortalContext.js
-var DG = /*#__PURE__*/ (0, b.createContext)(null), hNe = () => (0, b.useContext)(DG);
+var BG = /*#__PURE__*/ (0, b.createContext)(null), ONe = () => (0, b.useContext)(BG);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function OG(e) {
+function VG(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var kG = Math.cos, AG = Math.sin, jG = Math.sqrt, MG = Math.PI;
-MG / 2;
-var NG = 2 * MG, PG = Math.PI, FG = 2 * PG, IG = 1e-6, gNe = FG - IG;
-function LG(e) {
+var HG = Math.cos, UG = Math.sin, WG = Math.sqrt, GG = Math.PI;
+GG / 2;
+var KG = 2 * GG, qG = Math.PI, JG = 2 * qG, YG = 1e-6, kNe = JG - YG;
+function XG(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function _Ne(e) {
+function ANe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return LG;
+ if (t > 15) return XG;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var RG = class {
+var ZG = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? LG : _Ne(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? XG : ANe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -67033,18 +67642,18 @@ var RG = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > IG) {
- if (!(Math.abs(u * s - c * l) > IG) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > YG) {
+ if (!(Math.abs(u * s - c * l) > YG) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((PG - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > IG && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((qG - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > YG && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > IG || Math.abs(this._y1 - l) > IG) && this._append`L${c},${l}`, n && (d < 0 && (d = d % FG + FG), d > gNe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > IG && this._append`A${n},${n},0,${+(d >= PG)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > YG || Math.abs(this._y1 - l) > YG) && this._append`L${c},${l}`, n && (d < 0 && (d = d % JG + JG), d > kNe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > YG && this._append`A${n},${n},0,${+(d >= qG)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
}
rect(e, t, n, r) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
@@ -67053,10 +67662,10 @@ var RG = class {
return this._;
}
};
-RG.prototype;
+ZG.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function zG(e) {
+function QG(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -67067,18 +67676,18 @@ function zG(e) {
t = e;
}
return e;
- }, () => new RG(t);
+ }, () => new ZG(t);
}
Array.prototype.slice;
-function BG(e) {
+function $G(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function VG(e) {
+function eK(e) {
this._context = e;
}
-VG.prototype = {
+eK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -67101,33 +67710,33 @@ VG.prototype = {
}
}
};
-function HG(e) {
- return new VG(e);
+function tK(e) {
+ return new eK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function UG(e) {
+function nK(e) {
return e[0];
}
-function WG(e) {
+function rK(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function GG(e, t) {
- var n = OG(!0), r = null, i = HG, a = null, o = zG(s);
- e = typeof e == "function" ? e : e === void 0 ? UG : OG(e), t = typeof t == "function" ? t : t === void 0 ? WG : OG(t);
+function iK(e, t) {
+ var n = VG(!0), r = null, i = tK, a = null, o = QG(s);
+ e = typeof e == "function" ? e : e === void 0 ? nK : VG(e), t = typeof t == "function" ? t : t === void 0 ? rK : VG(t);
function s(s) {
- var c, l = (s = BG(s)).length, u, d = !1, f;
+ var c, l = (s = $G(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : OG(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : OG(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : VG(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : OG(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : VG(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -67136,11 +67745,11 @@ function GG(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function KG(e, t, n) {
- var r = null, i = OG(!0), a = null, o = HG, s = null, c = zG(l);
- e = typeof e == "function" ? e : e === void 0 ? UG : OG(+e), t = typeof t == "function" ? t : OG(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? WG : OG(+n);
+function aK(e, t, n) {
+ var r = null, i = VG(!0), a = null, o = tK, s = null, c = QG(l);
+ e = typeof e == "function" ? e : e === void 0 ? nK : VG(+e), t = typeof t == "function" ? t : VG(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? rK : VG(+n);
function l(l) {
- var u, d, f, p = (l = BG(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = $G(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -67154,20 +67763,20 @@ function KG(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return GG().defined(i).curve(o).context(a);
+ return iK().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : OG(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : OG(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : OG(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : VG(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : OG(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : VG(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : OG(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : VG(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : OG(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : VG(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -67175,7 +67784,7 @@ function KG(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : OG(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : VG(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -67184,7 +67793,7 @@ function KG(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var qG = class {
+var oK = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -67211,70 +67820,70 @@ var qG = class {
this._x0 = e, this._y0 = t;
}
};
-function vNe(e) {
- return new qG(e, !0);
+function jNe(e) {
+ return new oK(e, !0);
}
-function yNe(e) {
- return new qG(e, !1);
+function MNe(e) {
+ return new oK(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var JG = { draw(e, t) {
- let n = jG(t / MG);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, NG);
-} }, bNe = { draw(e, t) {
- let n = jG(t / 5) / 2;
+var sK = { draw(e, t) {
+ let n = WG(t / GG);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, KG);
+} }, NNe = { draw(e, t) {
+ let n = WG(t / 5) / 2;
e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();
-} }, YG = jG(1 / 3), xNe = YG * 2, SNe = { draw(e, t) {
- let n = jG(t / xNe), r = n * YG;
+} }, cK = WG(1 / 3), PNe = cK * 2, FNe = { draw(e, t) {
+ let n = WG(t / PNe), r = n * cK;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, CNe = { draw(e, t) {
- let n = jG(t), r = -n / 2;
+} }, INe = { draw(e, t) {
+ let n = WG(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, wNe = .8908130915292852, XG = AG(MG / 10) / AG(7 * MG / 10), TNe = AG(NG / 10) * XG, ENe = -kG(NG / 10) * XG, DNe = { draw(e, t) {
- let n = jG(t * wNe), r = TNe * n, i = ENe * n;
+} }, LNe = .8908130915292852, lK = UG(GG / 10) / UG(7 * GG / 10), RNe = UG(KG / 10) * lK, zNe = -HG(KG / 10) * lK, BNe = { draw(e, t) {
+ let n = WG(t * LNe), r = RNe * n, i = zNe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = NG * t / 5, o = kG(a), s = AG(a);
+ let a = KG * t / 5, o = HG(a), s = UG(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, ZG = jG(3), ONe = { draw(e, t) {
- let n = -jG(t / (ZG * 3));
- e.moveTo(0, n * 2), e.lineTo(-ZG * n, -n), e.lineTo(ZG * n, -n), e.closePath();
-} }, QG = -.5, $G = jG(3) / 2, eK = 1 / jG(12), kNe = (eK / 2 + 1) * 3, ANe = { draw(e, t) {
- let n = jG(t / kNe), r = n / 2, i = n * eK, a = r, o = n * eK + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(QG * r - $G * i, $G * r + QG * i), e.lineTo(QG * a - $G * o, $G * a + QG * o), e.lineTo(QG * s - $G * c, $G * s + QG * c), e.lineTo(QG * r + $G * i, QG * i - $G * r), e.lineTo(QG * a + $G * o, QG * o - $G * a), e.lineTo(QG * s + $G * c, QG * c - $G * s), e.closePath();
+} }, uK = WG(3), VNe = { draw(e, t) {
+ let n = -WG(t / (uK * 3));
+ e.moveTo(0, n * 2), e.lineTo(-uK * n, -n), e.lineTo(uK * n, -n), e.closePath();
+} }, dK = -.5, fK = WG(3) / 2, pK = 1 / WG(12), HNe = (pK / 2 + 1) * 3, UNe = { draw(e, t) {
+ let n = WG(t / HNe), r = n / 2, i = n * pK, a = r, o = n * pK + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(dK * r - fK * i, fK * r + dK * i), e.lineTo(dK * a - fK * o, fK * a + dK * o), e.lineTo(dK * s - fK * c, fK * s + dK * c), e.lineTo(dK * r + fK * i, dK * i - fK * r), e.lineTo(dK * a + fK * o, dK * o - fK * a), e.lineTo(dK * s + fK * c, dK * c - fK * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function jNe(e, t) {
- let n = null, r = zG(i);
- e = typeof e == "function" ? e : OG(e || JG), t = typeof t == "function" ? t : OG(t === void 0 ? 64 : +t);
+function WNe(e, t) {
+ let n = null, r = QG(i);
+ e = typeof e == "function" ? e : VG(e || sK), t = typeof t == "function" ? t : VG(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : OG(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : OG(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : VG(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function tK() {}
+function mK() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function nK(e, t, n) {
+function hK(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function rK(e) {
+function gK(e) {
this._context = e;
}
-rK.prototype = {
+gK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -67286,7 +67895,7 @@ rK.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: nK(this, this._x1, this._y1);
+ case 3: hK(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -67300,22 +67909,22 @@ rK.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: nK(this, e, t);
+ default: hK(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function MNe(e) {
- return new rK(e);
+function GNe(e) {
+ return new gK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function iK(e) {
+function _K(e) {
this._context = e;
}
-iK.prototype = {
- areaStart: tK,
- areaEnd: tK,
+_K.prototype = {
+ areaStart: mK,
+ areaEnd: mK,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -67341,20 +67950,20 @@ iK.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: nK(this, e, t);
+ default: hK(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function NNe(e) {
- return new iK(e);
+function KNe(e) {
+ return new _K(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function aK(e) {
+function vK(e) {
this._context = e;
}
-aK.prototype = {
+vK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -67381,22 +67990,22 @@ aK.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: nK(this, e, t);
+ default: hK(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function PNe(e) {
- return new aK(e);
+function qNe(e) {
+ return new vK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function oK(e) {
+function yK(e) {
this._context = e;
}
-oK.prototype = {
- areaStart: tK,
- areaEnd: tK,
+yK.prototype = {
+ areaStart: mK,
+ areaEnd: mK,
lineStart: function() {
this._point = 0;
},
@@ -67407,30 +68016,30 @@ oK.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function FNe(e) {
- return new oK(e);
+function JNe(e) {
+ return new yK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function sK(e) {
+function bK(e) {
return e < 0 ? -1 : 1;
}
-function cK(e, t, n) {
+function xK(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (sK(a) + sK(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (bK(a) + bK(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function lK(e, t) {
+function SK(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function uK(e, t, n) {
+function CK(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function dK(e) {
+function wK(e) {
this._context = e;
}
-dK.prototype = {
+wK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -67445,7 +68054,7 @@ dK.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: uK(this, this._t0, lK(this, this._t0));
+ case 3: CK(this, this._t0, SK(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -67460,24 +68069,24 @@ dK.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, uK(this, lK(this, n = cK(this, e, t)), n);
+ this._point = 3, CK(this, SK(this, n = xK(this, e, t)), n);
break;
- default: uK(this, this._t0, n = cK(this, e, t));
+ default: CK(this, this._t0, n = xK(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function fK(e) {
- this._context = new pK(e);
+function TK(e) {
+ this._context = new EK(e);
}
-(fK.prototype = Object.create(dK.prototype)).point = function(e, t) {
- dK.prototype.point.call(this, t, e);
+(TK.prototype = Object.create(wK.prototype)).point = function(e, t) {
+ wK.prototype.point.call(this, t, e);
};
-function pK(e) {
+function EK(e) {
this._context = e;
}
-pK.prototype = {
+EK.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -67491,18 +68100,18 @@ pK.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function INe(e) {
- return new dK(e);
+function YNe(e) {
+ return new wK(e);
}
-function LNe(e) {
- return new fK(e);
+function XNe(e) {
+ return new TK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function mK(e) {
+function DK(e) {
this._context = e;
}
-mK.prototype = {
+DK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -67516,7 +68125,7 @@ mK.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = hK(e), i = hK(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = OK(e), i = OK(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -67524,7 +68133,7 @@ mK.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function hK(e) {
+function OK(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -67532,15 +68141,15 @@ function hK(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function RNe(e) {
- return new mK(e);
+function ZNe(e) {
+ return new DK(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function gK(e, t) {
+function kK(e, t) {
this._context = e, this._t = t;
}
-gK.prototype = {
+kK.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -67568,78 +68177,78 @@ gK.prototype = {
this._x = e, this._y = t;
}
};
-function zNe(e) {
- return new gK(e, .5);
+function QNe(e) {
+ return new kK(e, .5);
}
-function BNe(e) {
- return new gK(e, 0);
+function $Ne(e) {
+ return new kK(e, 0);
}
-function VNe(e) {
- return new gK(e, 1);
+function ePe(e) {
+ return new kK(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function _K(e, t) {
+function AK(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function vK(e) {
+function jK(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function HNe(e, t) {
+function tPe(e, t) {
return e[t];
}
-function UNe(e) {
+function nPe(e) {
let t = [];
return t.key = e, t;
}
-function WNe() {
- var e = OG([]), t = vK, n = _K, r = HNe;
+function rPe() {
+ var e = VG([]), t = jK, n = AK, r = tPe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), UNe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), nPe), o, s = a.length, c = -1, l;
for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;
- for (o = 0, l = BG(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = $G(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : OG(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : VG(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : OG(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : VG(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? vK : typeof e == "function" ? e : OG(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? jK : typeof e == "function" ? e : VG(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? _K, i) : n;
+ return arguments.length ? (n = e ?? AK, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function GNe(e, t) {
+function iPe(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- _K(e, t);
+ AK(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function KNe(e, t) {
+function aPe(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- _K(e, t);
+ AK(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function qNe(e, t) {
+function oPe(e, t) {
if ((o = e.length) > 0 && (a = (i = e[t[0]]).length) > 0) {
for (var n = 0, r = 1, i, a, o; r < a; ++r) {
for (var s = 0, c = 0, l = 0; s < o; ++s) {
@@ -67651,26 +68260,26 @@ function qNe(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, _K(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, AK(e, t);
}
}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var JNe = [
+var sPe = [
"type",
"size",
"sizeType"
];
-function yK() {
- return yK = Object.assign ? Object.assign.bind() : function(e) {
+function MK() {
+ return MK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, yK.apply(null, arguments);
+ }, MK.apply(null, arguments);
}
-function bK(e, t) {
+function NK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67680,30 +68289,30 @@ function bK(e, t) {
}
return n;
}
-function xK(e) {
+function PK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? bK(Object(n), !0).forEach(function(t) {
- YNe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bK(Object(n)).forEach(function(t) {
+ t % 2 ? NK(Object(n), !0).forEach(function(t) {
+ cPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function YNe(e, t, n) {
- return (t = XNe(t)) in e ? Object.defineProperty(e, t, {
+function cPe(e, t, n) {
+ return (t = lPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function XNe(e) {
- var t = ZNe(e, "string");
+function lPe(e) {
+ var t = uPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ZNe(e, t) {
+function uPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67713,16 +68322,16 @@ function ZNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function QNe(e, t) {
+function dPe(e, t) {
if (e == null) return {};
- var n, r, i = $Ne(e, t);
+ var n, r, i = fPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function $Ne(e, t) {
+function fPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67731,68 +68340,68 @@ function $Ne(e, t) {
}
return n;
}
-var SK = {
- symbolCircle: JG,
- symbolCross: bNe,
- symbolDiamond: SNe,
- symbolSquare: CNe,
- symbolStar: DNe,
- symbolTriangle: ONe,
- symbolWye: ANe
-}, ePe = Math.PI / 180, tPe = (e) => SK[`symbol${yG(e)}`] || JG, nPe = (e, t, n) => {
+var FK = {
+ symbolCircle: sK,
+ symbolCross: NNe,
+ symbolDiamond: FNe,
+ symbolSquare: INe,
+ symbolStar: BNe,
+ symbolTriangle: VNe,
+ symbolWye: UNe
+}, pPe = Math.PI / 180, mPe = (e) => FK[`symbol${MG(e)}`] || sK, hPe = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
case "diamond": return .5 * e * e / Math.sqrt(3);
case "square": return e * e;
case "star":
- var r = 18 * ePe;
+ var r = 18 * pPe;
return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);
case "triangle": return Math.sqrt(3) * e * e / 4;
case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;
default: return Math.PI * e * e / 4;
}
-}, rPe = (e, t) => {
- SK[`symbol${yG(e)}`] = t;
-}, CK = (e) => {
- var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = xK(xK({}, QNe(e, JNe)), {}, {
+}, gPe = (e, t) => {
+ FK[`symbol${MG(e)}`] = t;
+}, IK = (e) => {
+ var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = PK(PK({}, dPe(e, sPe)), {}, {
type: n,
size: i,
sizeType: o
}), c = "circle";
typeof n == "string" && (c = n);
var l = () => {
- var e = tPe(c), t = jNe().type(e).size(nPe(i, o, c))();
+ var e = mPe(c), t = WNe().type(e).size(hPe(i, o, c))();
if (t !== null) return t;
- }, u = s.className, d = s.cx, f = s.cy, p = JW(s);
- return dG(d) && dG(f) && dG(i) ? /*#__PURE__*/ b.createElement("path", yK({}, p, {
+ }, u = s.className, d = s.cx, f = s.cy, p = sG(s);
+ return wG(d) && wG(f) && wG(i) ? /*#__PURE__*/ b.createElement("path", MK({}, p, {
className: Cv("recharts-symbols", u),
transform: `translate(${d}, ${f})`,
d: l()
})) : null;
};
-CK.registerSymbol = rPe;
+IK.registerSymbol = gPe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var wK = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, TK = (e, t) => {
+var LK = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, RK = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, b.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- UW(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ nG(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, iPe = (e, t, n) => (r) => (e(t, n, r), null), EK = (e, t, n) => {
+}, _Pe = (e, t, n) => (r) => (e(t, n, r), null), zK = (e, t, n) => {
if (e === null || typeof e != "object" && typeof e != "function") return null;
var r = null;
return Object.keys(e).forEach((i) => {
var a = e[i];
- UW(i) && typeof a == "function" && (r ||= {}, r[i] = iPe(a, t, n));
+ nG(i) && typeof a == "function" && (r ||= {}, r[i] = _Pe(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function DK(e, t) {
+function BK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67802,30 +68411,30 @@ function DK(e, t) {
}
return n;
}
-function aPe(e) {
+function vPe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DK(Object(n), !0).forEach(function(t) {
- oPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DK(Object(n)).forEach(function(t) {
+ t % 2 ? BK(Object(n), !0).forEach(function(t) {
+ yPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oPe(e, t, n) {
- return (t = sPe(t)) in e ? Object.defineProperty(e, t, {
+function yPe(e, t, n) {
+ return (t = bPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sPe(e) {
- var t = cPe(e, "string");
+function bPe(e) {
+ var t = xPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cPe(e, t) {
+function xPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67835,22 +68444,22 @@ function cPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function OK(e, t) {
- var n = aPe({}, e), r = t;
+function VK(e, t) {
+ var n = vPe({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function kK() {
- return kK = Object.assign ? Object.assign.bind() : function(e) {
+function HK() {
+ return HK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, kK.apply(null, arguments);
+ }, HK.apply(null, arguments);
}
-function AK(e, t) {
+function UK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67860,30 +68469,30 @@ function AK(e, t) {
}
return n;
}
-function jK(e) {
+function WK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? AK(Object(n), !0).forEach(function(t) {
- lPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AK(Object(n)).forEach(function(t) {
+ t % 2 ? UK(Object(n), !0).forEach(function(t) {
+ SPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lPe(e, t, n) {
- return (t = uPe(t)) in e ? Object.defineProperty(e, t, {
+function SPe(e, t, n) {
+ return (t = CPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uPe(e) {
- var t = dPe(e, "string");
+function CPe(e) {
+ var t = wPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dPe(e, t) {
+function wPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67893,7 +68502,7 @@ function dPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var MK = 32, fPe = {
+var GK = 32, TPe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -67901,20 +68510,20 @@ var MK = 32, fPe = {
verticalAlign: "middle",
labelStyle: {}
};
-function pPe(e) {
+function EPe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function mPe(e) {
- var t = e.data, n = e.iconType, r = e.inactiveColor, i = MK / 2, a = MK / 6, o = MK / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function DPe(e) {
+ var t = e.data, n = e.iconType, r = e.inactiveColor, i = GK / 2, a = GK / 6, o = GK / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ b.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: pPe(t.payload),
+ strokeDasharray: EPe(t.payload),
x1: 0,
y1: i,
- x2: MK,
+ x2: GK,
y2: i,
className: "recharts-legend-icon"
});
@@ -67924,35 +68533,35 @@ function mPe(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${MK}M${2 * o},${i}
+ H${GK}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ b.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${MK / 8}h${MK}v${MK * 3 / 4}h${-MK}z`,
+ d: `M0,${GK / 8}h${GK}v${GK * 3 / 4}h${-GK}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ b.isValidElement(t.legendIcon)) {
- var l = jK({}, t);
+ var l = WK({}, t);
return delete l.legendIcon, /*#__PURE__*/ b.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ b.createElement(CK, {
+ return /*#__PURE__*/ b.createElement(IK, {
fill: s,
cx: i,
cy: i,
- size: MK,
+ size: GK,
sizeType: "diameter",
type: c
});
}
-function hPe(e) {
+function OPe(e) {
var t = e.payload, n = e.iconSize, r = e.layout, i = e.formatter, a = e.inactiveColor, o = e.iconType, s = e.labelStyle, c = {
x: 0,
y: 0,
- width: MK,
- height: MK
+ width: GK,
+ height: GK
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10,
@@ -67969,20 +68578,20 @@ function hPe(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? jK({}, s) : {};
+ var p = typeof s == "object" ? WK({}, s) : {};
p.color = t.inactive ? a : p.color || t.color, p.whiteSpace ??= "normal", p.overflowWrap ??= "break-word";
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ b.createElement("li", kK({
+ return /*#__PURE__*/ b.createElement("li", HK({
className: f,
style: l,
key: `legend-item-${r}`
- }, EK(e, t, r)), /*#__PURE__*/ b.createElement(XW, {
+ }, zK(e, t, r)), /*#__PURE__*/ b.createElement(lG, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": t.value == null ? "legend icon" : `${t.value} legend icon`
- }, /*#__PURE__*/ b.createElement(mPe, {
+ }, /*#__PURE__*/ b.createElement(DPe, {
data: t,
iconType: o,
inactiveColor: a
@@ -67992,8 +68601,8 @@ function hPe(e) {
}, m));
});
}
-var gPe = (e) => {
- var t = OK(e, fPe), n = t.payload, r = t.layout, i = t.align;
+var kPe = (e) => {
+ var t = VK(e, TPe), n = t.payload, r = t.layout, i = t.align;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -68003,11 +68612,11 @@ var gPe = (e) => {
return /*#__PURE__*/ b.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ b.createElement(hPe, kK({}, t, { payload: n })));
+ }, /*#__PURE__*/ b.createElement(OPe, HK({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function _Pe(e, t) {
+function APe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -68017,77 +68626,77 @@ function _Pe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function vPe(e, t) {
+function jPe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function NK(e) {
+function KK(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function yPe(e) {
+function MPe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function PK(e) {
- return e != null && typeof e != "function" && yPe(e.length);
+function qK(e) {
+ return e != null && typeof e != "function" && MPe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function bPe(e) {
+function NPe(e) {
return function(t) {
- return aG(t, e);
+ return vG(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function FK(e) {
+function JK(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function xPe(e) {
+function PPe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function IK(e) {
+function YK(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function LK(e) {
+function XK(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var RK = "[object RegExp]", zK = "[object String]", BK = "[object Number]", VK = "[object Boolean]", HK = "[object Arguments]", UK = "[object Symbol]", WK = "[object Date]", GK = "[object Map]", KK = "[object Set]", qK = "[object Array]", SPe = "[object Function]", JK = "[object ArrayBuffer]", YK = "[object Object]", CPe = "[object Error]", XK = "[object DataView]", ZK = "[object Uint8Array]", QK = "[object Uint8ClampedArray]", $K = "[object Uint16Array]", eq = "[object Uint32Array]", wPe = "[object BigUint64Array]", tq = "[object Int8Array]", nq = "[object Int16Array]", rq = "[object Int32Array]", TPe = "[object BigInt64Array]", iq = "[object Float32Array]", aq = "[object Float64Array]", oq = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var ZK = "[object RegExp]", QK = "[object String]", $K = "[object Number]", eq = "[object Boolean]", tq = "[object Arguments]", nq = "[object Symbol]", rq = "[object Date]", iq = "[object Map]", aq = "[object Set]", oq = "[object Array]", FPe = "[object Function]", sq = "[object ArrayBuffer]", cq = "[object Object]", IPe = "[object Error]", lq = "[object DataView]", uq = "[object Uint8Array]", dq = "[object Uint8ClampedArray]", fq = "[object Uint16Array]", pq = "[object Uint32Array]", LPe = "[object BigUint64Array]", mq = "[object Int8Array]", hq = "[object Int16Array]", gq = "[object Int32Array]", RPe = "[object BigInt64Array]", _q = "[object Float32Array]", vq = "[object Float64Array]", yq = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
-function sq(e) {
- return oq.Buffer !== void 0 && oq.Buffer.isBuffer(e);
+function bq(e) {
+ return yq.Buffer !== void 0 && yq.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function EPe(e, t) {
- return cq(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function zPe(e, t) {
+ return xq(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function cq(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function xq(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (FK(e)) return e;
+ if (JK(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = cq(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = xq(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -68098,132 +68707,132 @@ function cq(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, cq(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, xq(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(cq(a, void 0, n, r, i));
+ for (let a of e) t.add(xq(a, void 0, n, r, i));
return t;
}
- if (sq(e)) return e.subarray();
- if (xPe(e)) {
+ if (bq(e)) return e.subarray();
+ if (PPe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = cq(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = xq(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), lq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), lq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), lq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, lq(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, Sq(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), lq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), lq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), lq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
- if (typeof e == "object" && DPe(e)) {
+ if (typeof e == "object" && BPe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), lq(t, e, n, r, i), t;
+ return r.set(e, t), Sq(t, e, n, r, i), t;
}
return e;
}
-function lq(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...IK(t)];
+function Sq(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...YK(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = cq(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = xq(t[s], s, n, r, i));
}
}
-function DPe(e) {
- switch (LK(e)) {
- case HK:
- case qK:
- case JK:
- case XK:
- case VK:
- case WK:
- case iq:
- case aq:
+function BPe(e) {
+ switch (XK(e)) {
case tq:
- case nq:
+ case oq:
+ case sq:
+ case lq:
+ case eq:
case rq:
- case GK:
- case BK:
- case YK:
- case RK:
- case KK:
- case zK:
- case UK:
+ case _q:
+ case vq:
+ case mq:
+ case hq:
+ case gq:
+ case iq:
+ case $K:
+ case cq:
case ZK:
+ case aq:
case QK:
- case $K:
- case eq: return !0;
+ case nq:
+ case uq:
+ case dq:
+ case fq:
+ case pq: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function OPe(e) {
- return cq(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function VPe(e) {
+ return xq(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function uq(e, t) {
+function Cq(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function dq(e) {
+function wq(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function fq(e, t, n) {
- return typeof n == "function" ? pq(e, t, function e(t, r, i, a, o, s) {
+function Tq(e, t, n) {
+ return typeof n == "function" ? Eq(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? pq(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : fq(e, t, () => void 0);
+ return c === void 0 ? Eq(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : Tq(e, t, () => void 0);
}
-function pq(e, t, n, r, i = !1) {
+function Eq(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return kPe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? pq(e, { ...t }, n, r, i) : uq(e, t);
- default: return dq(e) && i ? typeof t != "string" || t === "" : uq(e, t);
+ case "object": return HPe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? Eq(e, { ...t }, n, r, i) : Cq(e, t);
+ default: return wq(e) && i ? typeof t != "string" || t === "" : Cq(e, t);
}
}
-function kPe(e, t, n, r, i = !1) {
+function HPe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return mq(e, t, n, r);
- if (t instanceof Map) return APe(e, t, n, r);
- if (t instanceof Set) return jPe(e, t, n, r);
+ if (Array.isArray(t)) return Dq(e, t, n, r);
+ if (t instanceof Map) return UPe(e, t, n, r);
+ if (t instanceof Set) return WPe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) FK(e) && (e = Object(e));
+ if (i) JK(e) && (e = Object(e));
else {
- let t = LK(e);
+ let t = XK(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -68239,13 +68848,13 @@ function kPe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function APe(e, t, n, r) {
+function UPe(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function mq(e, t, n, r) {
+function Dq(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -68263,40 +68872,40 @@ function mq(e, t, n, r) {
}
return !0;
}
-function jPe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && mq([...e], [...t], n, r);
+function WPe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && Dq([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function hq(e, t) {
- return fq(e, t, () => void 0);
+function Oq(e, t) {
+ return Tq(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function MPe(e) {
- return e = OPe(e), (t) => hq(t, e);
+function GPe(e) {
+ return e = VPe(e), (t) => Oq(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function NPe(e, t) {
- return EPe(e, (n, r, i, a) => {
+function KPe(e, t) {
+ return zPe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (LK(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (XK(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), lq(t, e, i, a), t;
+ return a.set(e, t), Sq(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case BK:
- case zK:
- case VK: {
+ case $K:
+ case QK:
+ case eq: {
let t = new e.constructor(e?.valueOf());
- return lq(t, e), t;
+ return Sq(t, e), t;
}
- case HK: {
+ case tq: {
let t = {};
- return lq(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return Sq(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -68305,79 +68914,79 @@ function NPe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function PPe(e) {
- return NPe(e);
+function qPe(e) {
+ return KPe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var FPe = /^(?:0|[1-9]\d*)$/;
-function gq(e, t = 2 ** 53 - 1) {
+var JPe = /^(?:0|[1-9]\d*)$/;
+function kq(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
- case "string": return FPe.test(e);
+ case "string": return JPe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function IPe(e) {
- return typeof e == "object" && !!e && LK(e) === "[object Arguments]";
+function YPe(e) {
+ return typeof e == "object" && !!e && XK(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function LPe(e, t) {
+function XPe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && eG(t) && !(t in Object(e)) ? iG(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && pG(t) && !(t in Object(e)) ? _G(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = tG(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || IPe(r)) && gq(t) && Number(t) < r.length)) return !1;
+ let t = mG(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || YPe(r)) && kq(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function RPe(e, t) {
+function ZPe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = tG(e);
+ case "number": e = mG(e);
}
- return t = PPe(t), function(n) {
- let r = aG(n, e);
- return r === void 0 ? LPe(n, e) : t === void 0 ? r === void 0 : hq(r, t);
+ return t = qPe(t), function(n) {
+ let r = vG(n, e);
+ return r === void 0 ? XPe(n, e) : t === void 0 ? r === void 0 : Oq(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function _q(e) {
- if (e == null) return NK;
+function Aq(e) {
+ if (e == null) return KK;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? RPe(e[0], e[1]) : MPe(e);
- default: return bPe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? ZPe(e[0], e[1]) : GPe(e);
+ default: return NPe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function zPe(e) {
+function QPe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function vq(e, t = NK) {
- return PK(e) ? _Pe(Array.from(e), vPe(_q(t), 1)).map(zPe) : [];
+function jq(e, t = KK) {
+ return qK(e) ? APe(Array.from(e), jPe(Aq(t), 1)).map(QPe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function yq(e, t, n) {
- return t === !0 ? vq(e, n) : typeof t == "function" ? vq(e, t) : e;
+function Mq(e, t, n) {
+ return t === !0 ? jq(e, n) : typeof t == "function" ? jq(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var BPe = /* @__PURE__ */ o(((e) => {
+var $Pe = /* @__PURE__ */ o(((e) => {
var t = d(), n = Eie();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -68422,60 +69031,60 @@ var BPe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), VPe = /* @__PURE__ */ o(((e, t) => {
- t.exports = BPe();
-})), bq = /*#__PURE__*/ (0, b.createContext)(null), HPe = VPe(), UPe = (e) => e, xq = () => {
- var e = (0, b.useContext)(bq);
- return e ? e.store.dispatch : UPe;
-}, Sq = () => {}, WPe = () => Sq, GPe = (e, t) => e === t;
+})), eFe = /* @__PURE__ */ o(((e, t) => {
+ t.exports = $Pe();
+})), Nq = /*#__PURE__*/ (0, b.createContext)(null), tFe = eFe(), nFe = (e) => e, Pq = () => {
+ var e = (0, b.useContext)(Nq);
+ return e ? e.store.dispatch : nFe;
+}, Fq = () => {}, rFe = () => Fq, iFe = (e, t) => e === t;
function J(e) {
- var t = (0, b.useContext)(bq), n = (0, b.useMemo)(() => t ? (t) => {
+ var t = (0, b.useContext)(Nq), n = (0, b.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : Sq, [t, e]);
- return (0, HPe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : WPe, t ? t.store.getState : Sq, t ? t.store.getState : Sq, n, GPe);
+ } : Fq, [t, e]);
+ return (0, tFe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : rFe, t ? t.store.getState : Fq, t ? t.store.getState : Fq, n, iFe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function KPe(e, t = `expected a function, instead received ${typeof e}`) {
+function aFe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function qPe(e, t = "expected all items to be functions, instead received the following types: ") {
+function oFe(e, t = "expected all items to be functions, instead received the following types: ") {
if (!e.every((e) => typeof e == "function")) {
let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
throw TypeError(`${t}[${n}]`);
}
}
-var Cq = (e) => Array.isArray(e) ? e : [e];
-function JPe(e) {
+var Iq = (e) => Array.isArray(e) ? e : [e];
+function sFe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return qPe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return oFe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function YPe(e, t) {
+function cFe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var XPe = class {
+var lFe = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, wq = typeof WeakRef > "u" ? XPe : WeakRef, ZPe = 0, Tq = 1;
-function Eq() {
+}, Lq = typeof WeakRef > "u" ? lFe : WeakRef, uFe = 0, Rq = 1;
+function zq() {
return {
- s: ZPe,
+ s: uFe,
v: void 0,
o: null,
p: null
};
}
-function QPe(e) {
- return e instanceof wq ? e.deref() : e;
+function dFe(e) {
+ return e instanceof Lq ? e.deref() : e;
}
-function Dq(e, t = {}) {
- let n = Eq(), { resultEqualityCheck: r } = t, i, a = 0;
+function Bq(e, t = {}) {
+ let n = zq(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -68484,43 +69093,43 @@ function Dq(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = Eq(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = zq(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = Eq(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = zq(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === Tq) c = t.v;
+ if (t.s === Rq) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
- let e = QPe(i);
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new wq(c) : c;
+ let e = dFe(i);
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? /* @__PURE__ */ new Lq(c) : c;
}
- return s.s = Tq, s.v = c, c;
+ return s.s = Rq, s.v = c, c;
}
return o.clearCache = () => {
- n = Eq(), o.resetResultsCount();
+ n = zq(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function $Pe(e, ...t) {
+function fFe(e, ...t) {
let n = typeof e == "function" ? {
memoize: e,
memoizeOptions: t
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
- typeof o == "object" && (a = o, o = e.pop()), KPe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Dq, argsMemoizeOptions: u = [] } = {
+ typeof o == "object" && (a = o, o = e.pop()), aFe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Bq, argsMemoizeOptions: u = [] } = {
...n,
...a
- }, d = Cq(c), f = Cq(u), p = JPe(e), m = s(function() {
+ }, d = Iq(c), f = Iq(u), p = sFe(e), m = s(function() {
return t++, o.apply(null, arguments);
}, ...d), h = l(function() {
r++;
- let e = YPe(p, arguments);
+ let e = cFe(p, arguments);
return i = m.apply(null, e), i;
}, ...f);
return Object.assign(h, {
@@ -68542,10 +69151,10 @@ function $Pe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var Y = /* @__PURE__ */ $Pe(Dq);
+var Y = /* @__PURE__ */ fFe(Bq);
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function eFe(e, t = 1) {
+function pFe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -68556,17 +69165,17 @@ function eFe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function Oq(e, t, n) {
- return dq(n) && (typeof t == "number" && PK(n) && gq(t) && t < n.length || typeof t == "string" && t in n) ? uq(n[t], e) : !1;
+function Vq(e, t, n) {
+ return wq(n) && (typeof t == "number" && qK(n) && kq(t) && t < n.length || typeof t == "string" && t in n) ? Cq(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function kq(e) {
+function Hq(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var tFe = (e, t, n) => {
+var mFe = (e, t, n) => {
if (e !== t) {
- let r = kq(e), i = kq(t);
+ let r = Hq(e), i = Hq(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -68574,15 +69183,15 @@ var tFe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, nFe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, rFe = /^\w*$/;
-function iFe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || nG(e) ? !0 : typeof e == "string" && (rFe.test(e) || !nFe.test(e)) || t != null && Object.hasOwn(t, e);
+}, hFe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, gFe = /^\w*$/;
+function _Fe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || hG(e) ? !0 : typeof e == "string" && (gFe.test(e) || !hFe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function aFe(e, t, n, r) {
+function vFe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = PK(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = qK(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -68590,16 +69199,16 @@ function aFe(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || iFe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || _Fe(e) ? e : {
key: e,
- path: iG(e)
+ path: _G(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = tFe(e.criteria[r], t.criteria[r], n[r]);
+ let i = mFe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -68607,42 +69216,42 @@ function aFe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function Aq(e, ...t) {
+function Uq(e, ...t) {
let n = t.length;
- return n > 1 && Oq(e, t[0], t[1]) ? t = [] : n > 2 && Oq(t[0], t[1], t[2]) && (t = [t[0]]), aFe(e, eFe(t), ["asc"]);
+ return n > 1 && Vq(e, t[0], t[1]) ? t = [] : n > 2 && Vq(t[0], t[1], t[2]) && (t = [t[0]]), vFe(e, pFe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var jq = (e) => e.legend.settings, oFe = (e) => e.legend.size, sFe = Y([(e) => e.legend.payload, jq], (e, t) => {
+var Wq = (e) => e.legend.settings, yFe = (e) => e.legend.size, bFe = Y([(e) => e.legend.payload, Wq], (e, t) => {
var n = t.itemSorter, r = e.flat(1);
- return n ? Aq(r, n) : r;
+ return n ? Uq(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function cFe() {
- return J(sFe);
+function xFe() {
+ return J(bFe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-function lFe(e, t) {
- return pFe(e) || fFe(e, t) || dFe(e, t) || uFe();
+function SFe(e, t) {
+ return EFe(e) || TFe(e, t) || wFe(e, t) || CFe();
}
-function uFe() {
+function CFe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function dFe(e, t) {
+function wFe(e, t) {
if (e) {
- if (typeof e == "string") return Mq(e, t);
+ if (typeof e == "string") return Gq(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Mq(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Gq(e, t) : void 0;
}
}
-function Mq(e, t) {
+function Gq(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function fFe(e, t) {
+function TFe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -68663,14 +69272,14 @@ function fFe(e, t) {
return s;
}
}
-function pFe(e) {
+function EFe(e) {
if (Array.isArray(e)) return e;
}
-var Nq = 1;
-function Pq(e, t) {
- return Math.abs(e.height - t.height) > Nq || Math.abs(e.left - t.left) > Nq || Math.abs(e.top - t.top) > Nq || Math.abs(e.width - t.width) > Nq;
+var Kq = 1;
+function qq(e, t) {
+ return Math.abs(e.height - t.height) > Kq || Math.abs(e.left - t.left) > Kq || Math.abs(e.top - t.top) > Kq || Math.abs(e.width - t.width) > Kq;
}
-function Fq(e) {
+function Jq(e) {
var t = e.getBoundingClientRect();
return {
height: t.height,
@@ -68679,8 +69288,8 @@ function Fq(e) {
width: t.width
};
}
-function Iq() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = lFe((0, b.useState)({
+function Yq() {
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = SFe((0, b.useState)({
height: 0,
left: 0,
top: 0,
@@ -68689,11 +69298,11 @@ function Iq() {
a.current = n;
var o = (0, b.useCallback)((e) => {
if (i.current != null && (i.current.disconnect(), i.current = null), e != null) {
- var t = Fq(e);
- if (Pq(t, a.current) && r(t), typeof ResizeObserver < "u") {
+ var t = Jq(e);
+ if (qq(t, a.current) && r(t), typeof ResizeObserver < "u") {
var n = new ResizeObserver(() => {
- var t = Fq(e);
- Pq(t, a.current) && r(t);
+ var t = Jq(e);
+ qq(t, a.current) && r(t);
});
n.observe(e), i.current = n;
}
@@ -68706,26 +69315,26 @@ function Iq() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function Lq(e) {
+function Xq(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var Rq = typeof Symbol == "function" && Symbol.observable || "@@observable", zq = () => Math.random().toString(36).substring(7).split("").join("."), Bq = {
- INIT: `@@redux/INIT${/* @__PURE__ */ zq()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ zq()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${zq()}`
+var Zq = typeof Symbol == "function" && Symbol.observable || "@@observable", Qq = () => Math.random().toString(36).substring(7).split("").join("."), $q = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ Qq()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Qq()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Qq()}`
};
-function Vq(e) {
+function eJ(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function Hq(e, t, n) {
- if (typeof e != "function") throw Error(Lq(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(Lq(0));
+function tJ(e, t, n) {
+ if (typeof e != "function") throw Error(Xq(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(Xq(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(Lq(1));
- return n(Hq)(e, t);
+ if (typeof n != "function") throw Error(Xq(1));
+ return n(tJ)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -68734,27 +69343,27 @@ function Hq(e, t, n) {
}));
}
function u() {
- if (c) throw Error(Lq(3));
+ if (c) throw Error(Xq(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(Lq(4));
- if (c) throw Error(Lq(5));
+ if (typeof e != "function") throw Error(Xq(4));
+ if (c) throw Error(Xq(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(Lq(6));
+ if (c) throw Error(Xq(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!Vq(e)) throw Error(Lq(7));
- if (e.type === void 0) throw Error(Lq(8));
- if (typeof e.type != "string") throw Error(Lq(17));
- if (c) throw Error(Lq(9));
+ if (!eJ(e)) throw Error(Xq(7));
+ if (e.type === void 0) throw Error(Xq(8));
+ if (typeof e.type != "string") throw Error(Xq(17));
+ if (c) throw Error(Xq(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -68765,41 +69374,41 @@ function Hq(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(Lq(10));
- r = e, f({ type: Bq.REPLACE });
+ if (typeof e != "function") throw Error(Xq(10));
+ r = e, f({ type: $q.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(Lq(11));
+ if (typeof t != "object" || !t) throw Error(Xq(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [Rq]() {
+ [Zq]() {
return this;
}
};
}
- return f({ type: Bq.INIT }), {
+ return f({ type: $q.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [Rq]: m
+ [Zq]: m
};
}
-function mFe(e) {
+function DFe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: Bq.INIT }) === void 0) throw Error(Lq(12));
- if (n(void 0, { type: Bq.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(Lq(13));
+ if (n(void 0, { type: $q.INIT }) === void 0) throw Error(Xq(12));
+ if (n(void 0, { type: $q.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(Xq(13));
});
}
-function Uq(e) {
+function nJ(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -68807,7 +69416,7 @@ function Uq(e) {
}
let r = Object.keys(n), i;
try {
- mFe(n);
+ DFe(n);
} catch (e) {
i = e;
}
@@ -68816,124 +69425,124 @@ function Uq(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(Lq(14));
+ if (u === void 0) throw t && t.type, Error(Xq(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function Wq(...e) {
+function rJ(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function hFe(...e) {
+function OFe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(Lq(15));
+ throw Error(Xq(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = Wq(...e.map((e) => e(o)))(i.dispatch), {
+ return a = rJ(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function Gq(e) {
- return Vq(e) && "type" in e && typeof e.type == "string";
+function iJ(e) {
+ return eJ(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/immer/dist/immer.mjs
-var Kq = Symbol.for("immer-nothing"), qq = Symbol.for("immer-draftable"), Jq = Symbol.for("immer-state");
-function Yq(e, ...t) {
+var aJ = Symbol.for("immer-nothing"), oJ = Symbol.for("immer-draftable"), sJ = Symbol.for("immer-state");
+function cJ(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var Xq = Object, Zq = Xq.getPrototypeOf, Qq = "constructor", $q = "prototype", eJ = "configurable", tJ = "enumerable", nJ = "writable", rJ = "value", iJ = (e) => !!e && !!e[Jq];
-function aJ(e) {
- return e ? sJ(e) || pJ(e) || !!e[qq] || !!e[Qq]?.[qq] || mJ(e) || hJ(e) : !1;
+var lJ = Object, uJ = lJ.getPrototypeOf, dJ = "constructor", fJ = "prototype", pJ = "configurable", mJ = "enumerable", hJ = "writable", gJ = "value", _J = (e) => !!e && !!e[sJ];
+function vJ(e) {
+ return e ? bJ(e) || EJ(e) || !!e[oJ] || !!e[dJ]?.[oJ] || DJ(e) || OJ(e) : !1;
}
-var gFe = Xq[$q][Qq].toString(), oJ = /* @__PURE__ */ new WeakMap();
-function sJ(e) {
- if (!e || !gJ(e)) return !1;
- let t = Zq(e);
- if (t === null || t === Xq[$q]) return !0;
- let n = Xq.hasOwnProperty.call(t, Qq) && t[Qq];
+var kFe = lJ[fJ][dJ].toString(), yJ = /* @__PURE__ */ new WeakMap();
+function bJ(e) {
+ if (!e || !kJ(e)) return !1;
+ let t = uJ(e);
+ if (t === null || t === lJ[fJ]) return !0;
+ let n = lJ.hasOwnProperty.call(t, dJ) && t[dJ];
if (n === Object) return !0;
- if (!_J(n)) return !1;
- let r = oJ.get(n);
- return r === void 0 && (r = Function.toString.call(n), oJ.set(n, r)), r === gFe;
+ if (!AJ(n)) return !1;
+ let r = yJ.get(n);
+ return r === void 0 && (r = Function.toString.call(n), yJ.set(n, r)), r === kFe;
}
-function cJ(e, t, n = !0) {
- lJ(e) === 0 ? (n ? Reflect.ownKeys(e) : Xq.keys(e)).forEach((n) => {
+function xJ(e, t, n = !0) {
+ SJ(e) === 0 ? (n ? Reflect.ownKeys(e) : lJ.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function lJ(e) {
- let t = e[Jq];
- return t ? t.type_ : pJ(e) ? 1 : mJ(e) ? 2 : hJ(e) ? 3 : 0;
+function SJ(e) {
+ let t = e[sJ];
+ return t ? t.type_ : EJ(e) ? 1 : DJ(e) ? 2 : OJ(e) ? 3 : 0;
}
-var uJ = (e, t, n = lJ(e)) => n === 2 ? e.has(t) : Xq[$q].hasOwnProperty.call(e, t), dJ = (e, t, n = lJ(e)) => n === 2 ? e.get(t) : e[t], fJ = (e, t, n, r = lJ(e)) => {
+var CJ = (e, t, n = SJ(e)) => n === 2 ? e.has(t) : lJ[fJ].hasOwnProperty.call(e, t), wJ = (e, t, n = SJ(e)) => n === 2 ? e.get(t) : e[t], TJ = (e, t, n, r = SJ(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function _Fe(e, t) {
+function AFe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var pJ = Array.isArray, mJ = (e) => e instanceof Map, hJ = (e) => e instanceof Set, gJ = (e) => typeof e == "object", _J = (e) => typeof e == "function", vJ = (e) => typeof e == "boolean";
-function vFe(e) {
+var EJ = Array.isArray, DJ = (e) => e instanceof Map, OJ = (e) => e instanceof Set, kJ = (e) => typeof e == "object", AJ = (e) => typeof e == "function", jJ = (e) => typeof e == "boolean";
+function jFe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var yJ = (e) => e.copy_ || e.base_, bJ = (e) => e.modified_ ? e.copy_ : e.base_;
-function xJ(e, t) {
- if (mJ(e)) return new Map(e);
- if (hJ(e)) return new Set(e);
- if (pJ(e)) return Array[$q].slice.call(e);
- let n = sJ(e);
+var MJ = (e) => e.copy_ || e.base_, NJ = (e) => e.modified_ ? e.copy_ : e.base_;
+function PJ(e, t) {
+ if (DJ(e)) return new Map(e);
+ if (OJ(e)) return new Set(e);
+ if (EJ(e)) return Array[fJ].slice.call(e);
+ let n = bJ(e);
if (t === !0 || t === "class_only" && !n) {
- let t = Xq.getOwnPropertyDescriptors(e);
- delete t[Jq];
+ let t = lJ.getOwnPropertyDescriptors(e);
+ delete t[sJ];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[nJ] === !1 && (a[nJ] = !0, a[eJ] = !0), (a.get || a.set) && (t[i] = {
- [eJ]: !0,
- [nJ]: !0,
- [tJ]: a[tJ],
- [rJ]: e[i]
+ a[hJ] === !1 && (a[hJ] = !0, a[pJ] = !0), (a.get || a.set) && (t[i] = {
+ [pJ]: !0,
+ [hJ]: !0,
+ [mJ]: a[mJ],
+ [gJ]: e[i]
});
}
- return Xq.create(Zq(e), t);
+ return lJ.create(uJ(e), t);
}
{
- let t = Zq(e);
+ let t = uJ(e);
if (t !== null && n) return { ...e };
- let r = Xq.create(t);
- return Xq.assign(r, e);
- }
-}
-function SJ(e, t = !1) {
- return wJ(e) || iJ(e) || !aJ(e) || (lJ(e) > 1 && Xq.defineProperties(e, {
- set: CJ,
- add: CJ,
- clear: CJ,
- delete: CJ
- }), Xq.freeze(e), t && cJ(e, (e, t) => {
- SJ(t, !0);
+ let r = lJ.create(t);
+ return lJ.assign(r, e);
+ }
+}
+function FJ(e, t = !1) {
+ return LJ(e) || _J(e) || !vJ(e) || (SJ(e) > 1 && lJ.defineProperties(e, {
+ set: IJ,
+ add: IJ,
+ clear: IJ,
+ delete: IJ
+ }), lJ.freeze(e), t && xJ(e, (e, t) => {
+ FJ(t, !0);
}, !1)), e;
}
-function yFe() {
- Yq(2);
+function MFe() {
+ cJ(2);
}
-var CJ = { [rJ]: yFe };
-function wJ(e) {
- return e === null || !gJ(e) || Xq.isFrozen(e);
+var IJ = { [gJ]: MFe };
+function LJ(e) {
+ return e === null || !kJ(e) || lJ.isFrozen(e);
}
-var TJ = "MapSet", EJ = "Patches", DJ = "ArrayMethods", OJ = {};
-function kJ(e) {
- let t = OJ[e];
- return t || Yq(0, e), t;
+var RJ = "MapSet", zJ = "Patches", BJ = "ArrayMethods", VJ = {};
+function HJ(e) {
+ let t = VJ[e];
+ return t || cJ(0, e), t;
}
-var AJ = (e) => !!OJ[e], jJ, MJ = () => jJ, bFe = (e, t) => ({
+var UJ = (e) => !!VJ[e], WJ, GJ = () => WJ, NFe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -68941,114 +69550,114 @@ var AJ = (e) => !!OJ[e], jJ, MJ = () => jJ, bFe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: AJ(TJ) ? kJ(TJ) : void 0,
- arrayMethodsPlugin_: AJ(DJ) ? kJ(DJ) : void 0
+ mapSetPlugin_: UJ(RJ) ? HJ(RJ) : void 0,
+ arrayMethodsPlugin_: UJ(BJ) ? HJ(BJ) : void 0
});
-function NJ(e, t) {
- t && (e.patchPlugin_ = kJ(EJ), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function KJ(e, t) {
+ t && (e.patchPlugin_ = HJ(zJ), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function PJ(e) {
- FJ(e), e.drafts_.forEach(xFe), e.drafts_ = null;
+function qJ(e) {
+ JJ(e), e.drafts_.forEach(PFe), e.drafts_ = null;
}
-function FJ(e) {
- e === jJ && (jJ = e.parent_);
+function JJ(e) {
+ e === WJ && (WJ = e.parent_);
}
-var IJ = (e) => jJ = bFe(jJ, e);
-function xFe(e) {
- let t = e[Jq];
+var YJ = (e) => WJ = NFe(WJ, e);
+function PFe(e) {
+ let t = e[sJ];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function LJ(e, t) {
+function XJ(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[Jq].modified_ && (PJ(t), Yq(4)), aJ(e) && (e = RJ(t, e));
+ n[sJ].modified_ && (qJ(t), cJ(4)), vJ(e) && (e = ZJ(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[Jq].base_, e, t);
- } else e = RJ(t, n);
- return SFe(t, e, !0), PJ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === Kq ? void 0 : e;
-}
-function RJ(e, t) {
- if (wJ(t)) return t;
- let n = t[Jq];
- if (!n) return UJ(t, e.handledSet_, e);
- if (!BJ(n, e)) return t;
+ r && r.generateReplacementPatches_(n[sJ].base_, e, t);
+ } else e = ZJ(t, n);
+ return FFe(t, e, !0), qJ(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === aJ ? void 0 : e;
+}
+function ZJ(e, t) {
+ if (LJ(t)) return t;
+ let n = t[sJ];
+ if (!n) return nY(t, e.handledSet_, e);
+ if (!$J(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- HJ(n, e);
+ tY(n, e);
}
return n.copy_;
}
-function SFe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && SJ(t, n);
+function FFe(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && FJ(t, n);
}
-function zJ(e) {
+function QJ(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var BJ = (e, t) => e.scope_ === t, CFe = [];
-function VJ(e, t, n, r) {
- let i = yJ(e), a = e.type_;
- if (r !== void 0 && dJ(i, r, a) === t) {
- fJ(i, r, n, a);
+var $J = (e, t) => e.scope_ === t, IFe = [];
+function eY(e, t, n, r) {
+ let i = MJ(e), a = e.type_;
+ if (r !== void 0 && wJ(i, r, a) === t) {
+ TJ(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- cJ(i, (e, n) => {
- if (iJ(n)) {
+ xJ(i, (e, n) => {
+ if (_J(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? CFe;
- for (let e of o) fJ(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? IFe;
+ for (let e of o) TJ(i, e, n, a);
}
-function wFe(e, t, n) {
+function LFe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !BJ(i, r)) return;
+ if (!i || !$J(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = bJ(i);
- VJ(e, i.draft_ ?? i, a, n), HJ(i, r);
+ let a = NJ(i);
+ eY(e, i.draft_ ?? i, a, n), tY(i, r);
});
}
-function HJ(e, t) {
+function tY(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- zJ(e);
+ QJ(e);
}
}
-function TFe(e, t, n) {
+function RFe(e, t, n) {
let { scope_: r } = e;
- if (iJ(n)) {
- let i = n[Jq];
- BJ(i, r) && i.callbacks_.push(function() {
- YJ(e), VJ(e, n, bJ(i), t);
+ if (_J(n)) {
+ let i = n[sJ];
+ $J(i, r) && i.callbacks_.push(function() {
+ cY(e), eY(e, n, NJ(i), t);
});
- } else aJ(n) && e.callbacks_.push(function() {
- let i = yJ(e);
- e.type_ === 3 ? i.has(n) && UJ(n, r.handledSet_, r) : dJ(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && UJ(dJ(e.copy_, t, e.type_), r.handledSet_, r);
+ } else vJ(n) && e.callbacks_.push(function() {
+ let i = MJ(e);
+ e.type_ === 3 ? i.has(n) && nY(n, r.handledSet_, r) : wJ(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && nY(wJ(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function UJ(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || iJ(e) || t.has(e) || !aJ(e) || wJ(e) || (t.add(e), cJ(e, (r, i) => {
- if (iJ(i)) {
- let t = i[Jq];
- BJ(t, n) && (fJ(e, r, bJ(t), e.type_), zJ(t));
- } else aJ(i) && UJ(i, t, n);
+function nY(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || _J(e) || t.has(e) || !vJ(e) || LJ(e) || (t.add(e), xJ(e, (r, i) => {
+ if (_J(i)) {
+ let t = i[sJ];
+ $J(t, n) && (TJ(e, r, NJ(t), e.type_), QJ(t));
+ } else vJ(i) && nY(i, t, n);
})), e;
}
-function EFe(e, t) {
- let n = pJ(e), r = {
+function zFe(e, t) {
+ let n = EJ(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : MJ(),
+ scope_: t ? t.scope_ : GJ(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -69059,108 +69668,108 @@ function EFe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = WJ;
- n && (i = [r], a = GJ);
+ }, i = r, a = rY;
+ n && (i = [r], a = iY);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var WJ = {
+var rY = {
get(e, t) {
- if (t === Jq) return e;
+ if (t === sJ) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
- let i = yJ(e);
- if (!uJ(i, t, e.type_)) return OFe(e, i, t);
+ let i = MJ(e);
+ if (!CJ(i, t, e.type_)) return VFe(e, i, t);
let a = i[t];
- if (e.finalized_ || !aJ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && vFe(t)) return a;
- if (a === KJ(e.base_, t) || DFe(e, t, a)) {
- YJ(e);
- let n = e.type_ === 1 ? +t : t, r = XJ(e.scope_, a, e, n);
+ if (e.finalized_ || !vJ(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && jFe(t)) return a;
+ if (a === aY(e.base_, t) || BFe(e, t, a)) {
+ cY(e);
+ let n = e.type_ === 1 ? +t : t, r = lY(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in yJ(e);
+ return t in MJ(e);
},
ownKeys(e) {
- return Reflect.ownKeys(yJ(e));
+ return Reflect.ownKeys(MJ(e));
},
set(e, t, n) {
- let r = qJ(yJ(e), t);
+ let r = oY(MJ(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = KJ(yJ(e), t), i = r?.[Jq];
+ let r = aY(MJ(e), t), i = r?.[sJ];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.delete(t), !0;
- if (_Fe(n, r) && (n !== void 0 || uJ(e.base_, t, e.type_))) return !0;
- YJ(e), JJ(e);
+ if (AFe(n, r) && (n !== void 0 || CJ(e.base_, t, e.type_))) return !0;
+ cY(e), sY(e);
}
- return e.copy_[t] === n && (n !== void 0 || uJ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), TFe(e, t, n)), !0;
+ return e.copy_[t] === n && (n !== void 0 || CJ(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), RFe(e, t, n)), !0;
},
deleteProperty(e, t) {
- return YJ(e), KJ(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), JJ(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return cY(e), aY(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), sY(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = yJ(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = MJ(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [nJ]: !0,
- [eJ]: e.type_ !== 1 || t !== "length",
- [tJ]: r[tJ],
- [rJ]: n[t]
+ [hJ]: !0,
+ [pJ]: e.type_ !== 1 || t !== "length",
+ [mJ]: r[mJ],
+ [gJ]: n[t]
};
},
defineProperty() {
- Yq(11);
+ cJ(11);
},
getPrototypeOf(e) {
- return Zq(e.base_);
+ return uJ(e.base_);
},
setPrototypeOf() {
- Yq(12);
+ cJ(12);
}
-}, GJ = {};
-for (let e in WJ) {
- let t = WJ[e];
- GJ[e] = function() {
+}, iY = {};
+for (let e in rY) {
+ let t = rY[e];
+ iY[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-GJ.deleteProperty = function(e, t) {
- return GJ.set.call(this, e, t, void 0);
-}, GJ.set = function(e, t, n) {
- return WJ.set.call(this, e[0], t, n, e[0]);
+iY.deleteProperty = function(e, t) {
+ return iY.set.call(this, e, t, void 0);
+}, iY.set = function(e, t, n) {
+ return rY.set.call(this, e[0], t, n, e[0]);
};
-function KJ(e, t) {
- let n = e[Jq];
- return (n ? yJ(n) : e)[t];
+function aY(e, t) {
+ let n = e[sJ];
+ return (n ? MJ(n) : e)[t];
}
-function DFe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !aJ(n) || n[Jq] ? !1 : e.baseRefs_.has(n);
+function BFe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !vJ(n) || n[sJ] ? !1 : e.baseRefs_.has(n);
}
-function OFe(e, t, n) {
- let r = qJ(t, n);
- return r ? rJ in r ? r[rJ] : r.get?.call(e.draft_) : void 0;
+function VFe(e, t, n) {
+ let r = oY(t, n);
+ return r ? gJ in r ? r[gJ] : r.get?.call(e.draft_) : void 0;
}
-function qJ(e, t) {
+function oY(e, t) {
if (!(t in e)) return;
- let n = Zq(e);
+ let n = uJ(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = Zq(n);
+ n = uJ(n);
}
}
-function JJ(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && JJ(e.parent_));
+function sY(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && sY(e.parent_));
}
-function YJ(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), xJ(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+function cY(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), PJ(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var kFe = class {
+var HFe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (_J(e) && !_J(t)) {
+ if (AJ(e) && !AJ(t)) {
let n = t;
t = e;
let r = this;
@@ -69168,30 +69777,30 @@ var kFe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- _J(t) || Yq(6), n !== void 0 && !_J(n) && Yq(7);
+ AJ(t) || cJ(6), n !== void 0 && !AJ(n) && cJ(7);
let r;
- if (aJ(e)) {
- let i = IJ(this), a = XJ(i, e, void 0), o = !0;
+ if (vJ(e)) {
+ let i = YJ(this), a = lY(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? PJ(i) : FJ(i);
+ o ? qJ(i) : JJ(i);
}
- return NJ(i, n), LJ(r, i);
+ return KJ(i, n), XJ(r, i);
}
- if (!e || !gJ(e)) {
- if (r = t(e), r === void 0 && (r = e), r === Kq && (r = void 0), this.autoFreeze_ && SJ(r, !0), n) {
+ if (!e || !kJ(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === aJ && (r = void 0), this.autoFreeze_ && FJ(r, !0), n) {
let t = [], i = [];
- kJ(EJ).generateReplacementPatches_(e, r, {
+ HJ(zJ).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- Yq(1, e);
+ cJ(1, e);
}, this.produceWithPatches = (e, t) => {
- if (_J(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (AJ(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -69200,18 +69809,18 @@ var kFe = class {
n,
r
];
- }, vJ(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), vJ(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), vJ(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, jJ(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), jJ(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), jJ(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- aJ(e) || Yq(8), iJ(e) && (e = ZJ(e));
- let t = IJ(this), n = XJ(t, e, void 0);
- return n[Jq].isManual_ = !0, FJ(t), n;
+ vJ(e) || cJ(8), _J(e) && (e = uY(e));
+ let t = YJ(this), n = lY(t, e, void 0);
+ return n[sJ].isManual_ = !0, JJ(t), n;
}
finishDraft(e, t) {
- let n = e && e[Jq];
- (!n || !n.isManual_) && Yq(9);
+ let n = e && e[sJ];
+ (!n || !n.isManual_) && cJ(9);
let { scope_: r } = n;
- return NJ(r, t), LJ(void 0, r);
+ return KJ(r, t), XJ(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -69235,48 +69844,48 @@ var kFe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = kJ(EJ).applyPatches_;
- return iJ(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = HJ(zJ).applyPatches_;
+ return _J(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function XJ(e, t, n, r) {
- let [i, a] = mJ(t) ? kJ(TJ).proxyMap_(t, n) : hJ(t) ? kJ(TJ).proxySet_(t, n) : EFe(t, n);
- return (n?.scope_ ?? MJ()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? wFe(n, a, r) : a.callbacks_.push(function(e) {
+function lY(e, t, n, r) {
+ let [i, a] = DJ(t) ? HJ(RJ).proxyMap_(t, n) : OJ(t) ? HJ(RJ).proxySet_(t, n) : zFe(t, n);
+ return (n?.scope_ ?? GJ()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? LFe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
-function ZJ(e) {
- return iJ(e) || Yq(10, e), QJ(e);
+function uY(e) {
+ return _J(e) || cJ(10, e), dY(e);
}
-function QJ(e) {
- if (!aJ(e) || wJ(e)) return e;
- let t = e[Jq], n, r = !0;
+function dY(e) {
+ if (!vJ(e) || LJ(e)) return e;
+ let t = e[sJ], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = xJ(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = xJ(e, !0);
- return cJ(n, (e, t) => {
- fJ(n, e, QJ(t));
+ t.finalized_ = !0, n = PJ(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = PJ(e, !0);
+ return xJ(n, (e, t) => {
+ TJ(n, e, dY(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var $J = new kFe().produce, eY = (e) => e;
+var fY = new HFe().produce, pY = (e) => e;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function tY(e) {
+function mY(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var AFe = tY(), jFe = tY, MFe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? Wq : Wq.apply(null, arguments);
+var UFe = mY(), WFe = mY, GFe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? rJ : rJ.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function nY(e, t) {
+function hY(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(LY(0));
+ if (!r) throw Error(XY(0));
return {
type: e,
payload: r.payload,
@@ -69289,9 +69898,9 @@ function nY(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => Gq(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => iJ(t) && t.type === e, n;
}
-var rY = class e extends Array {
+var gY = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -69305,29 +69914,29 @@ var rY = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function iY(e) {
- return aJ(e) ? $J(e, () => {}) : e;
+function _Y(e) {
+ return vJ(e) ? fY(e, () => {}) : e;
}
-function aY(e, t, n) {
+function vY(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function NFe(e) {
+function KFe(e) {
return typeof e == "boolean";
}
-var PFe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new rY();
- return t && (NFe(t) ? a.push(AFe) : a.push(jFe(t.extraArgument))), a;
-}, oY = "RTK_autoBatch", sY = () => (e) => ({
+var qFe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new gY();
+ return t && (KFe(t) ? a.push(UFe) : a.push(WFe(t.extraArgument))), a;
+}, yY = "RTK_autoBatch", bY = () => (e) => ({
payload: e,
- meta: { [oY]: !0 }
-}), cY = (e) => (t) => {
+ meta: { [yY]: !0 }
+}), xY = (e) => (t) => {
setTimeout(t, e);
-}, FFe = (e, t) => (n) => {
+}, JFe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, lY = (e = { type: "raf" }) => (t) => (...n) => {
- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? FFe(window.requestAnimationFrame, 100) : cY(10) : e.type === "callback" ? e.queueNotification : cY(e.timeout), l = () => {
+}, SY = (e = { type: "raf" }) => (t) => (...n) => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? JFe(window.requestAnimationFrame, 100) : xY(10) : e.type === "callback" ? e.queueNotification : xY(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -69339,37 +69948,37 @@ var PFe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[oY], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[yY], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, IFe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new rY(e);
- return n && r.push(lY(typeof n == "object" ? n : void 0)), r;
+}, YFe = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new gY(e);
+ return n && r.push(SY(typeof n == "object" ? n : void 0)), r;
};
-function LFe(e) {
- let t = PFe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function XFe(e) {
+ let t = qFe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
if (typeof n == "function") c = n;
- else if (Vq(n)) c = Uq(n);
- else throw Error(LY(1));
+ else if (eJ(n)) c = nJ(n);
+ else throw Error(XY(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = Wq;
- i && (u = MFe({
+ let u = rJ;
+ i && (u = GFe({
trace: !1,
...typeof i == "object" && i
}));
- let d = IFe(hFe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return Hq(c, o, p);
+ let d = YFe(OFe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return tJ(c, o, p);
}
-function uY(e) {
+function CY(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(LY(28));
- if (r in t) throw Error(LY(29));
+ if (!r) throw Error(XY(28));
+ if (r in t) throw Error(XY(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -69394,25 +70003,25 @@ function uY(e) {
r
];
}
-function RFe(e) {
+function ZFe(e) {
return typeof e == "function";
}
-function zFe(e, t) {
- let [n, r, i] = uY(t), a;
- if (RFe(e)) a = () => iY(e());
+function QFe(e, t) {
+ let [n, r, i] = CY(t), a;
+ if (ZFe(e)) a = () => _Y(e());
else {
- let t = iY(e);
+ let t = _Y(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (iJ(e)) {
+ if (_J(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (aJ(e)) return $J(e, (e) => n(e, t));
+ if (vJ(e)) return fY(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -69427,20 +70036,20 @@ function zFe(e, t) {
}
return o.getInitialState = a, o;
}
-var BFe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", VFe = (e = 21) => {
+var $Fe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", eIe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += BFe[Math.random() * 64 | 0];
+ for (; n--;) t += $Fe[Math.random() * 64 | 0];
return t;
-}, HFe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function UFe(e, t) {
+}, tIe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function nIe(e, t) {
return `${e}/${t}`;
}
-function WFe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[HFe];
+function rIe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[tIe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(LY(11));
- let i = (typeof e.reducers == "function" ? e.reducers(KFe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(XY(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(aIe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -69448,8 +70057,8 @@ function WFe({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(LY(12));
- if (n in o.sliceCaseReducersByType) throw Error(LY(13));
+ if (!n) throw Error(XY(12));
+ if (n in o.sliceCaseReducersByType) throw Error(XY(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -69468,17 +70077,17 @@ function WFe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: UFe(n, r),
+ type: nIe(n, r),
createNotation: typeof e.reducers == "function"
};
- JFe(a) ? XFe(o, a, s, t) : qFe(o, a, s);
+ sIe(a) ? lIe(o, a, s, t) : oIe(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? uY(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? CY(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return zFe(e.initialState, (e) => {
+ return QFe(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -69495,12 +70104,12 @@ function WFe({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = aY(d, r, m)), i;
+ return i === void 0 && n && (i = vY(d, r, m)), i;
}
function i(t = l) {
- return aY(aY(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return vY(vY(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = GFe(a, t, () => aY(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = iIe(a, t, () => vY(d, t, m), n);
return r;
});
}
@@ -69534,15 +70143,15 @@ function WFe({ creators: e } = {}) {
return g;
};
}
-function GFe(e, t, n, r) {
+function iIe(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var dY = /* @__PURE__ */ WFe();
-function KFe() {
+var wY = /* @__PURE__ */ rIe();
+function aIe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -69566,53 +70175,53 @@ function KFe() {
asyncThunk: e
};
}
-function qFe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function oIe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !YFe(r)) throw Error(LY(17));
+ if (n && !cIe(r)) throw Error(XY(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? nY(e, o) : nY(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? hY(e, o) : hY(e));
}
-function JFe(e) {
+function sIe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function YFe(e) {
+function cIe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function XFe({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(LY(18));
+function lIe({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(XY(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || fY,
- pending: s || fY,
- rejected: c || fY,
- settled: l || fY
+ fulfilled: o || TY,
+ pending: s || TY,
+ rejected: c || TY,
+ settled: l || TY
});
}
-function fY() {}
-var ZFe = "task", pY = "listener", mY = "completed", hY = "cancelled", QFe = `task-${hY}`, $Fe = `task-${mY}`, gY = `${pY}-${hY}`, eIe = `${pY}-${mY}`, _Y = class {
+function TY() {}
+var uIe = "task", EY = "listener", DY = "completed", OY = "cancelled", dIe = `task-${OY}`, fIe = `task-${DY}`, kY = `${EY}-${OY}`, pIe = `${EY}-${DY}`, AY = class {
constructor(e) {
- this.code = e, this.message = `${ZFe} ${hY} (reason: ${e})`;
+ this.code = e, this.message = `${uIe} ${OY} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, vY = (e, t) => {
- if (typeof e != "function") throw TypeError(LY(32));
-}, yY = () => {}, bY = (e, t = yY) => (e.catch(t), e), xY = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), SY = (e) => {
- if (e.aborted) throw new _Y(e.reason);
+}, jY = (e, t) => {
+ if (typeof e != "function") throw TypeError(XY(32));
+}, MY = () => {}, NY = (e, t = MY) => (e.catch(t), e), PY = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), FY = (e) => {
+ if (e.aborted) throw new AY(e.reason);
};
-function CY(e, t) {
- let n = yY;
+function IY(e, t) {
+ let n = MY;
return new Promise((r, i) => {
- let a = () => i(new _Y(e.reason));
- e.aborted ? a() : (n = xY(e, a), t.finally(() => n()).then(r, i));
+ let a = () => i(new AY(e.reason));
+ e.aborted ? a() : (n = PY(e, a), t.finally(() => n()).then(r, i));
}).finally(() => {
- n = yY;
+ n = MY;
});
}
-var tIe = async (e, t) => {
+var mIe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -69620,40 +70229,40 @@ var tIe = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof _Y ? "cancelled" : "rejected",
+ status: e instanceof AY ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, wY = (e) => (t) => bY(CY(e, t).then((t) => (SY(e), t))), TY = (e) => {
- let t = wY(e);
+}, LY = (e) => (t) => NY(IY(e, t).then((t) => (FY(e), t))), RY = (e) => {
+ let t = LY(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: EY } = Object, DY = {}, OY = "listenerMiddleware", nIe = (e, t) => {
- let n = (t) => xY(e, () => t.abort(e.reason));
+}, { assign: zY } = Object, BY = {}, VY = "listenerMiddleware", hIe = (e, t) => {
+ let n = (t) => PY(e, () => t.abort(e.reason));
return (r, i) => {
- vY(r, "taskExecutor");
+ jY(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = tIe(async () => {
- SY(e), SY(a.signal);
+ let o = mIe(async () => {
+ FY(e), FY(a.signal);
let t = await r({
- pause: wY(a.signal),
- delay: TY(a.signal),
+ pause: LY(a.signal),
+ delay: RY(a.signal),
signal: a.signal
});
- return SY(a.signal), t;
- }, () => a.abort($Fe));
- return i?.autoJoin && t.push(o.catch(yY)), {
- result: wY(e)(o),
+ return FY(a.signal), t;
+ }, () => a.abort(fIe));
+ return i?.autoJoin && t.push(o.catch(MY)), {
+ result: LY(e)(o),
cancel() {
- a.abort(QFe);
+ a.abort(dIe);
}
};
};
-}, rIe = (e, t) => {
+}, gIe = (e, t) => {
let n = async (n, r) => {
- SY(t);
+ FY(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -69671,47 +70280,47 @@ var tIe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await CY(t, Promise.race(a));
- return SY(t), e;
+ let e = await IY(t, Promise.race(a));
+ return FY(t), e;
} finally {
i();
}
};
- return ((e, t) => bY(n(e, t)));
-}, kY = (e) => {
+ return ((e, t) => NY(n(e, t)));
+}, HY = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = nY(t).match;
+ if (t) i = hY(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(LY(21));
- return vY(a, "options.listener"), {
+ else if (!i) throw Error(XY(21));
+ return jY(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, AY = /* @__PURE__ */ EY((e) => {
- let { type: t, predicate: n, effect: r } = kY(e);
+}, UY = /* @__PURE__ */ zY((e) => {
+ let { type: t, predicate: n, effect: r } = HY(e);
return {
- id: VFe(),
+ id: eIe(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(LY(22));
+ throw Error(XY(22));
}
};
-}, { withTypes: () => AY }), jY = (e, t) => {
- let { type: n, effect: r, predicate: i } = kY(t);
+}, { withTypes: () => UY }), WY = (e, t) => {
+ let { type: n, effect: r, predicate: i } = HY(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, MY = (e) => {
+}, GY = (e) => {
e.pending.forEach((e) => {
- e.abort(gY);
+ e.abort(kY);
});
-}, iIe = (e, t) => () => {
- for (let e of t.keys()) MY(e);
+}, _Ie = (e, t) => () => {
+ for (let e of t.keys()) GY(e);
e.clear();
-}, NY = (e, t, n) => {
+}, KY = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -69719,74 +70328,74 @@ var tIe = async (e, t) => {
throw e;
}, 0);
}
-}, PY = /* @__PURE__ */ EY(/* @__PURE__ */ nY(`${OY}/add`), { withTypes: () => PY }), aIe = /* @__PURE__ */ nY(`${OY}/removeAll`), FY = /* @__PURE__ */ EY(/* @__PURE__ */ nY(`${OY}/remove`), { withTypes: () => FY }), oIe = (...e) => {
- console.error(`${OY}/error`, ...e);
-}, IY = (e = {}) => {
+}, qY = /* @__PURE__ */ zY(/* @__PURE__ */ hY(`${VY}/add`), { withTypes: () => qY }), vIe = /* @__PURE__ */ hY(`${VY}/removeAll`), JY = /* @__PURE__ */ zY(/* @__PURE__ */ hY(`${VY}/remove`), { withTypes: () => JY }), yIe = (...e) => {
+ console.error(`${VY}/error`, ...e);
+}, YY = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = oIe } = e;
- vY(o, "onError");
+ }, { extra: a, onError: o = yIe } = e;
+ jY(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && MY(e);
+ e.unsubscribe(), t?.cancelActive && GY(e);
}), c = ((e) => {
- let n = jY(t, e) ?? AY(e);
+ let n = WY(t, e) ?? UY(e);
return s(n);
});
- EY(c, { withTypes: () => c });
+ zY(c, { withTypes: () => c });
let l = (e) => {
- let n = jY(t, e);
- return n && (n.unsubscribe(), e.cancelActive && MY(n)), !!n;
+ let n = WY(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && GY(n)), !!n;
};
- EY(l, { withTypes: () => l });
+ zY(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = rIe(c, u.signal), f = [];
+ let u = new AbortController(), d = gIe(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, EY({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, zY({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: TY(u.signal),
- pause: wY(u.signal),
+ delay: RY(u.signal),
+ pause: LY(u.signal),
extra: a,
signal: u.signal,
- fork: nIe(u.signal, f),
+ fork: hIe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(gY), n.delete(e));
+ e !== u && (e.abort(kY), n.delete(e));
});
},
cancel: () => {
- u.abort(gY), e.pending.delete(u);
+ u.abort(kY), e.pending.delete(u);
},
throwIfCancelled: () => {
- SY(u.signal);
+ FY(u.signal);
}
})));
} catch (e) {
- e instanceof _Y || NY(o, e, { raisedBy: "effect" });
+ e instanceof AY || KY(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(eIe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(pIe), i(e), e.pending.delete(u);
}
- }, d = iIe(t, n);
+ }, d = _Ie(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!Gq(r)) return n(r);
- if (PY.match(r)) return c(r.payload);
- if (aIe.match(r)) {
+ if (!iJ(r)) return n(r);
+ if (qY.match(r)) return c(r.payload);
+ if (vIe.match(r)) {
d();
return;
}
- if (FY.match(r)) return l(r.payload);
+ if (JY.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === DY) throw Error(LY(23));
+ if (i === BY) throw Error(XY(23));
return i;
}, s;
try {
@@ -69797,13 +70406,13 @@ var tIe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, NY(o, e, { raisedBy: "predicate" });
+ s = !1, KY(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = DY;
+ i = BY;
}
return s;
},
@@ -69812,12 +70421,12 @@ var tIe = async (e, t) => {
clearListeners: d
};
};
-function LY(e) {
+function XY(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var RY = dY({
+var ZY = wY({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -69845,23 +70454,23 @@ var RY = dY({
e.scale = t.payload;
}
}
-}), zY = RY.actions, sIe = zY.setMargin, cIe = zY.setLayout, lIe = zY.setChartSize, uIe = zY.setScale, dIe = RY.reducer;
+}), QY = ZY.actions, bIe = QY.setMargin, xIe = QY.setLayout, SIe = QY.setChartSize, CIe = QY.setScale, wIe = ZY.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function BY(e, t, n) {
+function $Y(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function VY(e) {
+function eX(e) {
return Number.isFinite(e);
}
-function HY(e) {
+function tX(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function UY(e, t) {
+function nX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -69871,30 +70480,30 @@ function UY(e, t) {
}
return n;
}
-function WY(e) {
+function rX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? UY(Object(n), !0).forEach(function(t) {
- fIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UY(Object(n)).forEach(function(t) {
+ t % 2 ? nX(Object(n), !0).forEach(function(t) {
+ TIe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function fIe(e, t, n) {
- return (t = pIe(t)) in e ? Object.defineProperty(e, t, {
+function TIe(e, t, n) {
+ return (t = EIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function pIe(e) {
- var t = mIe(e, "string");
+function EIe(e) {
+ var t = DIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mIe(e, t) {
+function DIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -69904,72 +70513,72 @@ function mIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function GY(e, t, n) {
- return vG(e) || vG(t) ? n : fG(t) ? aG(e, t, n) : typeof t == "function" ? t(e) : n;
+function iX(e, t, n) {
+ return jG(e) || jG(t) ? n : TG(t) ? vG(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var hIe = (e, t, n) => {
+var OIe = (e, t, n) => {
if (t && n) {
var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;
if (c != null) {
- if (EG(c)) {
- if (c === "top" && dG(e.top)) return WY(WY({}, e), {}, { top: e.top + (i || 0) + u });
- if (c === "bottom" && dG(e.bottom)) return WY(WY({}, e), {}, { bottom: e.bottom + (i || 0) + u });
- if (c === "left" && dG(e.left)) return WY(WY({}, e), {}, { left: e.left + (r || 0) + u });
- if (c === "right" && dG(e.right)) return WY(WY({}, e), {}, { right: e.right + (r || 0) + u });
+ if (zG(c)) {
+ if (c === "top" && wG(e.top)) return rX(rX({}, e), {}, { top: e.top + (i || 0) + u });
+ if (c === "bottom" && wG(e.bottom)) return rX(rX({}, e), {}, { bottom: e.bottom + (i || 0) + u });
+ if (c === "left" && wG(e.left)) return rX(rX({}, e), {}, { left: e.left + (r || 0) + u });
+ if (c === "right" && wG(e.right)) return rX(rX({}, e), {}, { right: e.right + (r || 0) + u });
}
return e;
}
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && dG(e[a])) return WY(WY({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && dG(e[o])) return WY(WY({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && wG(e[a])) return rX(rX({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && wG(e[o])) return rX(rX({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, KY = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", qY = (e, t, n, r) => {
+}, aX = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", oX = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, JY = (e, t, n) => {
+}, sX = (e, t, n) => {
if (!e) return null;
var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? cG(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? xG(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
- return VY(i) ? {
+ return eX(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(bG) : c && l ? l.map((e, t) => {
+ }).filter(NG) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return VY(n) ? {
+ return eX(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(bG) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(NG) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return VY(n) ? {
+ return eX(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(bG) : o.domain().map((e, t) => {
+ }).filter(NG) : o.domain().map((e, t) => {
var n = o.map(e);
- return VY(n) ? {
+ return eX(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(bG);
-}, YY = (e, t) => {
- if (!t || t.length !== 2 || !dG(t[0]) || !dG(t[1])) return e;
+ }).filter(NG);
+}, cX = (e, t) => {
+ if (!t || t.length !== 2 || !wG(t[0]) || !wG(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
- return (!dG(e[0]) || e[0] < n) && (i[0] = n), (!dG(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, gIe = {
+ return (!wG(e[0]) || e[0] < n) && (i[0] = n), (!wG(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
+}, kIe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -69977,16 +70586,16 @@ var hIe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = lG(c) ? l : c;
+ var c = s[1], l = s[0], u = SG(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: GNe,
- none: _K,
- silhouette: KNe,
- wiggle: qNe,
+ expand: iPe,
+ none: AK,
+ silhouette: aPe,
+ wiggle: oPe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -69994,70 +70603,70 @@ var hIe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = lG(o[1]) ? o[0] : o[1];
+ var s = SG(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, _Ie = (e, t, n) => {
- var r = gIe[n] ?? _K, i = WNe().keys(t).value((e, t) => Number(GY(e, t, 0))).order(vK).offset(r)(e);
+}, AIe = (e, t, n) => {
+ var r = kIe[n] ?? AK, i = rPe().keys(t).value((e, t) => Number(iX(e, t, 0))).order(jK).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = GY(e[i], t[r], 0);
- Array.isArray(a) && a.length === 2 && dG(a[0]) && dG(a[1]) && (n[0] = a[0], n[1] = a[1]);
+ var a = iX(e[i], t[r], 0);
+ Array.isArray(a) && a.length === 2 && wG(a[0]) && wG(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function XY(e) {
+function lX(e) {
return e == null ? void 0 : String(e);
}
-function ZY(e) {
+function uX(e) {
var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !vG(i[t.dataKey])) {
- var s = _G(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !jG(i[t.dataKey])) {
+ var s = AG(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = GY(i, vG(o) ? t.dataKey : o), l = t.scale.map(c);
- return dG(l) ? l : null;
+ var c = iX(i, jG(o) ? t.dataKey : o), l = t.scale.map(c);
+ return wG(l) ? l : null;
}
-var QY = (e) => {
+var dX = (e) => {
var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = GY(a, t.dataKey, t.scale.domain()[o]);
- if (vG(s)) return null;
+ var s = iX(a, t.dataKey, t.scale.domain()[o]);
+ if (jG(s)) return null;
var c = t.scale.map(s);
- return dG(c) ? c - i / 2 + r : null;
-}, $Y = (e) => {
+ return wG(c) ? c - i / 2 + r : null;
+}, fX = (e) => {
var t = e.numericAxis, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, vIe = (e) => {
- var t = e.flat(2).filter(dG);
+}, jIe = (e) => {
+ var t = e.flat(2).filter(wG);
return [Math.min(...t), Math.max(...t)];
-}, yIe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], bIe = (e, t, n) => {
- if (e != null && Object.keys(e).length !== 0) return yIe(Object.keys(e).reduce((r, i) => {
+}, MIe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], NIe = (e, t, n) => {
+ if (e != null && Object.keys(e).length !== 0) return MIe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var o = a.stackedData.reduce((e, r) => {
- var i = vIe(BY(r, t, n));
- return !VY(i[0]) || !VY(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = jIe($Y(r, t, n));
+ return !eX(i[0]) || !eX(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(o[0], r[0]), Math.max(o[1], r[1])];
}, [Infinity, -Infinity]));
-}, eX = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, tX = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, nX = (e, t, n) => {
+}, pX = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, mX = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, hX = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = Aq(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {
+ for (var i = Uq(t, (e) => e.coordinate), a = [], o = 0, s = 1, c = i.length; s < c; s++) {
var l = (i[s]?.coordinate || 0) - (i[s - 1]?.coordinate || 0);
a.push(l), o = Math.max(l, o);
}
@@ -70067,26 +70676,26 @@ var QY = (e) => {
}
return n ? void 0 : 0;
};
-function rX(e) {
+function gX(e) {
var t = e.tooltipEntrySettings, n = e.dataKey, r = e.payload, i = e.value, a = e.name;
- return WY(WY({}, t), {}, {
+ return rX(rX({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function iX(e, t) {
+function _X(e, t) {
if (e != null) return String(e);
if (typeof t == "string") return t;
}
-var xIe = (e, t) => {
+var PIe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, SIe = (e, t) => t === "centric" ? e.angle : e.radius, aX = (e) => e.layout.width, oX = (e) => e.layout.height, CIe = (e) => e.layout.scale, sX = (e) => e.layout.margin, cX = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), lX = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), wIe = "data-recharts-item-index";
+}, FIe = (e, t) => t === "centric" ? e.angle : e.radius, vX = (e) => e.layout.width, yX = (e) => e.layout.height, IIe = (e) => e.layout.scale, bX = (e) => e.layout.margin, xX = Y((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), SX = Y((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), LIe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function uX(e, t) {
+function CX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70096,30 +70705,30 @@ function uX(e, t) {
}
return n;
}
-function dX(e) {
+function wX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? uX(Object(n), !0).forEach(function(t) {
- TIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uX(Object(n)).forEach(function(t) {
+ t % 2 ? CX(Object(n), !0).forEach(function(t) {
+ RIe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TIe(e, t, n) {
- return (t = EIe(t)) in e ? Object.defineProperty(e, t, {
+function RIe(e, t, n) {
+ return (t = zIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EIe(e) {
- var t = DIe(e, "string");
+function zIe(e) {
+ var t = BIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DIe(e, t) {
+function BIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70129,67 +70738,67 @@ function DIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var OIe = (e) => e.brush.height;
-function kIe(e) {
- return lX(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
-function AIe(e) {
- return lX(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
-function jIe(e) {
- return cX(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
-}
-function MIe(e) {
- return cX(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
-}
-var fX = Y([
- aX,
- oX,
- sX,
- OIe,
- kIe,
- AIe,
- jIe,
- MIe,
- jq,
- oFe
+var VIe = (e) => e.brush.height;
+function HIe(e) {
+ return SX(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
+function UIe(e) {
+ return SX(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
+function WIe(e) {
+ return xX(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
+}
+function GIe(e) {
+ return xX(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + (typeof t.height == "number" ? t.height : 30) : e, 0);
+}
+var TX = Y([
+ vX,
+ yX,
+ bX,
+ VIe,
+ HIe,
+ UIe,
+ WIe,
+ GIe,
+ Wq,
+ yFe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = dX(dX({}, {
+ }, d = wX(wX({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = hIe(d, c, l);
+ d.bottom += r, d = OIe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return dX(dX({ brushBottom: f }, d), {}, {
+ return wX(wX({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), pX = Y(fX, (e) => ({
+}), EX = Y(TX, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), mX = Y(aX, oX, (e, t) => ({
+})), DX = Y(vX, yX, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), NIe = /*#__PURE__*/ (0, b.createContext)(null), hX = () => (0, b.useContext)(NIe) != null, gX = (e) => e.brush, _X = Y([
- gX,
- fX,
- sX
+})), KIe = /*#__PURE__*/ (0, b.createContext)(null), OX = () => (0, b.useContext)(KIe) != null, kX = (e) => e.brush, AX = Y([
+ kX,
+ TX,
+ bX
], (e, t, n) => ({
height: e.height,
- x: dG(e.x) ? e.x : t.left,
- y: dG(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
- width: dG(e.width) ? e.width : t.width
+ x: wG(e.x) ? e.x : t.left,
+ y: wG(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
+ width: wG(e.width) ? e.width : t.width
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function PIe(e, t, { signal: n, edges: r } = {}) {
+function qIe(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -70214,11 +70823,11 @@ function PIe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function FIe(e, t = 0, n = {}) {
+function JIe(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = PIe(function(...t) {
+ let s, c = null, l = qIe(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -70227,9 +70836,9 @@ function FIe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function IIe(e, t = 0, n = {}) {
+function YIe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return FIe(e, t, {
+ return JIe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -70237,7 +70846,7 @@ function IIe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var vX = function(e, t) {
+var jX = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -70246,7 +70855,7 @@ var vX = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, yX = {
+}, MX = {
width: "100%",
height: "100%",
debounce: 0,
@@ -70255,36 +70864,36 @@ var vX = function(e, t) {
width: -1,
height: -1
}
-}, bX = (e, t, n) => {
- var r = n.width, i = r === void 0 ? yX.width : r, a = n.height, o = a === void 0 ? yX.height : a, s = n.aspect, c = n.maxHeight, l = uG(i) ? e : Number(i), u = uG(o) ? t : Number(o);
+}, NX = (e, t, n) => {
+ var r = n.width, i = r === void 0 ? MX.width : r, a = n.height, o = a === void 0 ? MX.height : a, s = n.aspect, c = n.maxHeight, l = CG(i) ? e : Number(i), u = CG(o) ? t : Number(o);
return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {
calculatedWidth: l,
calculatedHeight: u
};
-}, LIe = {
+}, XIe = {
width: 0,
height: 0,
overflow: "visible"
-}, RIe = {
+}, ZIe = {
width: 0,
overflowX: "visible"
-}, zIe = {
+}, QIe = {
height: 0,
overflowY: "visible"
-}, BIe = {}, VIe = (e) => {
- var t = e.width, n = e.height, r = uG(t), i = uG(n);
- return r && i ? LIe : r ? RIe : i ? zIe : BIe;
+}, $Ie = {}, eLe = (e) => {
+ var t = e.width, n = e.height, r = CG(t), i = CG(n);
+ return r && i ? XIe : r ? ZIe : i ? QIe : $Ie;
};
-function HIe(e) {
+function tLe(e) {
var t = e.width, n = e.height, r = e.aspect, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = yX.width, a = yX.height) : i === void 0 ? i = r && r > 0 ? void 0 : yX.width : a === void 0 && (a = r && r > 0 ? void 0 : yX.height), {
+ return i === void 0 && a === void 0 ? (i = MX.width, a = MX.height) : i === void 0 ? i = r && r > 0 ? void 0 : MX.width : a === void 0 && (a = r && r > 0 ? void 0 : MX.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-var UIe = [
+var nLe = [
"aspect",
"initialDimension",
"width",
@@ -70299,16 +70908,16 @@ var UIe = [
"onResize",
"style"
];
-function xX() {
- return xX = Object.assign ? Object.assign.bind() : function(e) {
+function PX() {
+ return PX = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, xX.apply(null, arguments);
+ }, PX.apply(null, arguments);
}
-function SX(e, t) {
+function FX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70318,30 +70927,30 @@ function SX(e, t) {
}
return n;
}
-function CX(e) {
+function IX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? SX(Object(n), !0).forEach(function(t) {
- WIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SX(Object(n)).forEach(function(t) {
+ t % 2 ? FX(Object(n), !0).forEach(function(t) {
+ rLe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function WIe(e, t, n) {
- return (t = GIe(t)) in e ? Object.defineProperty(e, t, {
+function rLe(e, t, n) {
+ return (t = iLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function GIe(e) {
- var t = KIe(e, "string");
+function iLe(e) {
+ var t = aLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function KIe(e, t) {
+function aLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70351,25 +70960,25 @@ function KIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function qIe(e, t) {
- return ZIe(e) || XIe(e, t) || YIe(e, t) || JIe();
+function oLe(e, t) {
+ return uLe(e) || lLe(e, t) || cLe(e, t) || sLe();
}
-function JIe() {
+function sLe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function YIe(e, t) {
+function cLe(e, t) {
if (e) {
- if (typeof e == "string") return wX(e, t);
+ if (typeof e == "string") return LX(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wX(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? LX(e, t) : void 0;
}
}
-function wX(e, t) {
+function LX(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function XIe(e, t) {
+function lLe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -70390,19 +70999,19 @@ function XIe(e, t) {
return s;
}
}
-function ZIe(e) {
+function uLe(e) {
if (Array.isArray(e)) return e;
}
-function QIe(e, t) {
+function dLe(e, t) {
if (e == null) return {};
- var n, r, i = $Ie(e, t);
+ var n, r, i = fLe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function $Ie(e, t) {
+function fLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -70411,21 +71020,21 @@ function $Ie(e, t) {
}
return n;
}
-var TX = /*#__PURE__*/ (0, b.createContext)(yX.initialDimension);
-function eLe(e) {
- return HY(e.width) && HY(e.height);
+var RX = /*#__PURE__*/ (0, b.createContext)(MX.initialDimension);
+function pLe(e) {
+ return tX(e.width) && tX(e.height);
}
-function EX(e) {
+function zX(e) {
var t = e.children, n = e.width, r = e.height, i = (0, b.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return eLe(i) ? /*#__PURE__*/ b.createElement(TX.Provider, { value: i }, t) : null;
+ return pLe(i) ? /*#__PURE__*/ b.createElement(RX.Provider, { value: i }, t) : null;
}
-var DX = () => (0, b.useContext)(TX), tLe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.aspect, r = e.initialDimension, i = r === void 0 ? yX.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? yX.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? yX.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = QIe(e, UIe), x = (0, b.useRef)(null), S = (0, b.useRef)();
+var BX = () => (0, b.useContext)(RX), mLe = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.aspect, r = e.initialDimension, i = r === void 0 ? MX.initialDimension : r, a = e.width, o = e.height, s = e.minWidth, c = s === void 0 ? MX.minWidth : s, l = e.minHeight, u = e.maxHeight, d = e.children, f = e.debounce, p = f === void 0 ? MX.debounce : f, m = e.id, h = e.className, g = e.onResize, _ = e.style, v = _ === void 0 ? {} : _, y = dLe(e, nLe), x = (0, b.useRef)(null), S = (0, b.useRef)();
S.current = g, (0, b.useImperativeHandle)(t, () => x.current);
- var C = qIe((0, b.useState)({
+ var C = oLe((0, b.useState)({
containerWidth: i.width,
containerHeight: i.height
}), 2), w = C[0], T = C[1], E = (0, b.useCallback)((e, t) => {
@@ -70438,7 +71047,7 @@ var DX = () => (0, b.useContext)(TX), tLe = /*#__PURE__*/ (0, b.forwardRef)((e,
});
}, []);
(0, b.useEffect)(() => {
- if (x.current == null || typeof ResizeObserver > "u") return xG;
+ if (x.current == null || typeof ResizeObserver > "u") return PG;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -70446,7 +71055,7 @@ var DX = () => (0, b.useContext)(TX), tLe = /*#__PURE__*/ (0, b.forwardRef)((e,
E(i, a), (t = S.current) == null || t.call(S, i, a);
}
};
- p > 0 && (e = IIe(e, p, {
+ p > 0 && (e = YIe(e, p, {
trailing: !0,
leading: !1
}));
@@ -70456,17 +71065,17 @@ var DX = () => (0, b.useContext)(TX), tLe = /*#__PURE__*/ (0, b.forwardRef)((e,
};
}, [E, p]);
var D = w.containerWidth, O = w.containerHeight;
- vX(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var k = bX(D, O, {
+ jX(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var k = NX(D, O, {
width: a,
height: o,
aspect: n,
maxHeight: u
}), A = k.calculatedWidth, j = k.calculatedHeight;
- return vX(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", xX({
+ return jX(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ b.createElement("div", PX({
id: m ? `${m}` : void 0,
className: Cv("recharts-responsive-container", h),
- style: CX(CX({}, v), {}, {
+ style: IX(IX({}, v), {}, {
width: a,
height: o,
minWidth: c,
@@ -70474,43 +71083,43 @@ var DX = () => (0, b.useContext)(TX), tLe = /*#__PURE__*/ (0, b.forwardRef)((e,
maxHeight: u
}),
ref: x
- }, y), /*#__PURE__*/ b.createElement("div", { style: VIe({
+ }, y), /*#__PURE__*/ b.createElement("div", { style: eLe({
width: a,
height: o
- }) }, /*#__PURE__*/ b.createElement(EX, {
+ }) }, /*#__PURE__*/ b.createElement(zX, {
width: A,
height: j
}, d)));
-}), OX = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = DX();
- if (HY(n.width) && HY(n.height)) return e.children;
- var r = HIe({
+}), VX = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = BX();
+ if (tX(n.width) && tX(n.height)) return e.children;
+ var r = tLe({
width: e.width,
height: e.height,
aspect: e.aspect
- }), i = r.width, a = r.height, o = bX(void 0, void 0, {
+ }), i = r.width, a = r.height, o = NX(void 0, void 0, {
width: i,
height: a,
aspect: e.aspect,
maxHeight: e.maxHeight
}), s = o.calculatedWidth, c = o.calculatedHeight;
- return dG(s) && dG(c) ? /*#__PURE__*/ b.createElement(EX, {
+ return wG(s) && wG(c) ? /*#__PURE__*/ b.createElement(zX, {
width: s,
height: c
- }, e.children) : /*#__PURE__*/ b.createElement(tLe, xX({}, e, {
+ }, e.children) : /*#__PURE__*/ b.createElement(mLe, PX({}, e, {
width: i,
height: a,
ref: t
}));
-}), kX = () => {
- var e = hX(), t = J(pX), n = J(_X), r = J(gX)?.padding;
+}), HX = () => {
+ var e = OX(), t = J(EX), n = J(AX), r = J(kX)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, nLe = {
+}, hLe = {
top: 0,
bottom: 0,
left: 0,
@@ -70518,16 +71127,16 @@ var DX = () => (0, b.useContext)(TX), tLe = /*#__PURE__*/ (0, b.forwardRef)((e,
width: 0,
height: 0,
brushBottom: 0
-}, AX = () => J(fX) ?? nLe, jX = () => J(aX), MX = () => J(oX), rLe = () => J((e) => e.layout.margin), NX = (e) => e.layout.layoutType, PX = () => J(NX), FX = () => {
- var e = PX();
+}, UX = () => J(TX) ?? hLe, WX = () => J(vX), GX = () => J(yX), gLe = () => J((e) => e.layout.margin), KX = (e) => e.layout.layoutType, qX = () => J(KX), JX = () => {
+ var e = qX();
if (e === "horizontal" || e === "vertical") return e;
-}, IX = (e) => {
+}, YX = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, LX = () => J(IX), iLe = () => PX() !== void 0, RX = (e) => {
- var t = xq(), n = hX(), r = e.width, i = e.height, a = DX(), o = r, s = i;
+}, XX = () => J(YX), _Le = () => qX() !== void 0, ZX = (e) => {
+ var t = Pq(), n = OX(), r = e.width, i = e.height, a = BX(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, b.useEffect)(() => {
- !n && HY(o) && HY(s) && t(lIe({
+ !n && tX(o) && tX(s) && t(SIe({
width: o,
height: s
}));
@@ -70537,7 +71146,7 @@ var DX = () => (0, b.useContext)(TX), tLe = /*#__PURE__*/ (0, b.forwardRef)((e,
o,
s
]), null;
-}, zX = dY({
+}, QX = wY({
name: "legend",
initialState: {
settings: {
@@ -70563,43 +71172,43 @@ var DX = () => (0, b.useContext)(TX), tLe = /*#__PURE__*/ (0, b.forwardRef)((e,
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(eY(t.payload));
+ e.payload.push(pY(t.payload));
},
- prepare: sY()
+ prepare: bY()
},
replaceLegendPayload: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = ZJ(e).payload.indexOf(eY(r));
- a > -1 && (e.payload[a] = eY(i));
+ var n = t.payload, r = n.prev, i = n.next, a = uY(e).payload.indexOf(pY(r));
+ a > -1 && (e.payload[a] = pY(i));
},
- prepare: sY()
+ prepare: bY()
},
removeLegendPayload: {
reducer(e, t) {
- var n = ZJ(e).payload.indexOf(eY(t.payload));
+ var n = uY(e).payload.indexOf(pY(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: sY()
+ prepare: bY()
}
}
-}), BX = zX.actions, VX = BX.setLegendSize, aLe = BX.setLegendSettings, HX = BX.addLegendPayload, UX = BX.replaceLegendPayload, WX = BX.removeLegendPayload, oLe = zX.reducer, sLe = /* @__PURE__ */ o(((e) => {
+}), $X = QX.actions, eZ = $X.setLegendSize, vLe = $X.setLegendSettings, tZ = $X.addLegendPayload, nZ = $X.replaceLegendPayload, rZ = $X.removeLegendPayload, yLe = QX.reducer, bLe = /* @__PURE__ */ o(((e) => {
var t = d();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ o(((e, t) => {
- t.exports = sLe();
+ t.exports = bLe();
})))();
-function cLe(e) {
+function xLe(e) {
e();
}
-function lLe() {
+function SLe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- cLe(() => {
+ xLe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -70621,12 +71230,12 @@ function lLe() {
}
};
}
-var GX = {
+var iZ = {
notify() {},
get: () => []
};
-function uLe(e, t) {
- let n, r = GX, i = 0, a = !1;
+function CLe(e, t) {
+ let n, r = iZ, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -70644,10 +71253,10 @@ function uLe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = lLe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = SLe());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = GX);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = iZ);
}
function f() {
a || (a = !0, u());
@@ -70666,44 +71275,44 @@ function uLe(e, t) {
};
return m;
}
-var dLe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, fLe = typeof navigator < "u" && navigator.product === "ReactNative", pLe = dLe || fLe ? b.useLayoutEffect : b.useEffect;
-function KX(e, t) {
+var wLe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, TLe = typeof navigator < "u" && navigator.product === "ReactNative", ELe = wLe || TLe ? b.useLayoutEffect : b.useEffect;
+function aZ(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function mLe(e, t) {
- if (KX(e, t)) return !0;
+function DLe(e, t) {
+ if (aZ(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !KX(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !aZ(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var hLe = /* @__PURE__ */ Symbol.for("react-redux-context"), gLe = typeof globalThis < "u" ? globalThis : {};
-function _Le() {
+var OLe = /* @__PURE__ */ Symbol.for("react-redux-context"), kLe = typeof globalThis < "u" ? globalThis : {};
+function ALe() {
if (!b.createContext) return {};
- let e = gLe[hLe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
+ let e = kLe[OLe] ??= /* @__PURE__ */ new Map(), t = e.get(b.createContext);
return t || (t = b.createContext(null), e.set(b.createContext, t)), t;
}
-var vLe = /* @__PURE__ */ _Le();
-function yLe(e) {
+var jLe = /* @__PURE__ */ ALe();
+function MLe(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = b.useMemo(() => {
- let e = uLe(i);
+ let e = CLe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = b.useMemo(() => i.getState(), [i]);
- pLe(() => {
+ ELe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || vLe;
+ let s = n || jLe;
return /* @__PURE__ */ b.createElement(s.Provider, { value: a }, t);
}
-var bLe = yLe, xLe = /* @__PURE__ */ new Set([
+var NLe = MLe, PLe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -70726,22 +71335,22 @@ var bLe = yLe, xLe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function SLe(e, t) {
+function FLe(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function qX(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (xLe.has(n)) {
+function oZ(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (PLe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!mLe(e[n], t[n])) return !1;
- } else if (!SLe(e[n], t[n])) return !1;
+ if (!DLe(e[n], t[n])) return !1;
+ } else if (!FLe(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectLegendArea.js
-var CLe = Y([
- aX,
- oX,
- sX
+var ILe = Y([
+ vX,
+ yX,
+ bX
], (e, t, n) => ({
x: n.left || 0,
y: n.top || 0,
@@ -70750,7 +71359,7 @@ var CLe = Y([
}));
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianPositionToCSSTranslate.js
-function wLe(e, t) {
+function LLe(e, t) {
return e === "start" && t === "start" ? "" : `translate(${e === "inherit" ? "0" : {
start: "0",
middle: "-50%",
@@ -70763,35 +71372,35 @@ function wLe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var TLe = ["contextPayload"];
-function JX() {
- return JX = Object.assign ? Object.assign.bind() : function(e) {
+var RLe = ["contextPayload"];
+function sZ() {
+ return sZ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, JX.apply(null, arguments);
+ }, sZ.apply(null, arguments);
}
-function ELe(e, t) {
- return ALe(e) || kLe(e, t) || OLe(e, t) || DLe();
+function zLe(e, t) {
+ return ULe(e) || HLe(e, t) || VLe(e, t) || BLe();
}
-function DLe() {
+function BLe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function OLe(e, t) {
+function VLe(e, t) {
if (e) {
- if (typeof e == "string") return YX(e, t);
+ if (typeof e == "string") return cZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? YX(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cZ(e, t) : void 0;
}
}
-function YX(e, t) {
+function cZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function kLe(e, t) {
+function HLe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -70812,10 +71421,10 @@ function kLe(e, t) {
return s;
}
}
-function ALe(e) {
+function ULe(e) {
if (Array.isArray(e)) return e;
}
-function XX(e, t) {
+function lZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70825,30 +71434,30 @@ function XX(e, t) {
}
return n;
}
-function ZX(e) {
+function uZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? XX(Object(n), !0).forEach(function(t) {
- jLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XX(Object(n)).forEach(function(t) {
+ t % 2 ? lZ(Object(n), !0).forEach(function(t) {
+ WLe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jLe(e, t, n) {
- return (t = MLe(t)) in e ? Object.defineProperty(e, t, {
+function WLe(e, t, n) {
+ return (t = GLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MLe(e) {
- var t = NLe(e, "string");
+function GLe(e) {
+ var t = KLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NLe(e, t) {
+function KLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70858,16 +71467,16 @@ function NLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function PLe(e, t) {
+function qLe(e, t) {
if (e == null) return {};
- var n, r, i = FLe(e, t);
+ var n, r, i = JLe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function FLe(e, t) {
+function JLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -70876,30 +71485,30 @@ function FLe(e, t) {
}
return n;
}
-function ILe(e) {
+function YLe(e) {
return e.value;
}
-function LLe(e) {
- var t = e.contextPayload, n = PLe(e, TLe), r = yq(t, e.payloadUniqBy, ILe), i = ZX(ZX({}, n), {}, { payload: r });
- return /*#__PURE__*/ b.isValidElement(e.content) ? /*#__PURE__*/ b.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ b.createElement(e.content, i) : /*#__PURE__*/ b.createElement(gPe, i);
+function XLe(e) {
+ var t = e.contextPayload, n = qLe(e, RLe), r = Mq(t, e.payloadUniqBy, YLe), i = uZ(uZ({}, n), {}, { payload: r });
+ return /*#__PURE__*/ b.isValidElement(e.content) ? /*#__PURE__*/ b.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ b.createElement(e.content, i) : /*#__PURE__*/ b.createElement(kPe, i);
}
-function RLe(e) {
+function ZLe(e) {
return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";
}
-function zLe(e, t) {
- return t == null ? null : EG(t) ? CLe(e) : pX(e);
+function QLe(e, t) {
+ return t == null ? null : zG(t) ? ILe(e) : EX(e);
}
-function BLe(e, t, n) {
+function $Le(e, t, n) {
return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};
}
-function VLe(e, t, n, r, i, a) {
+function eRe(e, t, n, r, i, a) {
var o = t.layout, s = t.align, c = t.verticalAlign, l, u;
- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), ZX(ZX({}, l), u);
+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), uZ(uZ({}, l), u);
}
-function HLe(e) {
- var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = xq();
+function tRe(e) {
+ var t = e.align, n = e.layout, r = e.verticalAlign, i = e.itemSorter, a = e.position, o = e.offset, s = Pq();
return (0, b.useLayoutEffect)(() => {
- s(aLe({
+ s(vLe({
align: t,
layout: n,
verticalAlign: r,
@@ -70917,10 +71526,10 @@ function HLe(e) {
o
]), null;
}
-function ULe(e) {
- var t = e.width, n = e.height, r = xq();
+function nRe(e) {
+ var t = e.width, n = e.height, r = Pq();
return (0, b.useLayoutEffect)(() => {
- r(VX({
+ r(eZ({
width: t,
height: n
}));
@@ -70929,16 +71538,16 @@ function ULe(e) {
t,
n
]), (0, b.useLayoutEffect)(() => () => {
- r(VX({
+ r(eZ({
width: 0,
height: 0
}));
}, [r]), null;
}
-function WLe(e, t, n, r) {
+function rRe(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var GLe = {
+var iRe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -70948,10 +71557,10 @@ var GLe = {
verticalAlign: "bottom",
offset: 0
};
-function KLe(e) {
- var t = OK(e, GLe), n = e.layout && e.layout !== "auto" ? e.layout : RLe(t.position), r = cFe(), i = hNe(), a = rLe(), o = J((e) => zLe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || EG(t.position)), f = ELe(Iq([r]), 2), p = f[0], m = f[1], h = jX(), g = MX();
+function aRe(e) {
+ var t = VK(e, iRe), n = e.layout && e.layout !== "auto" ? e.layout : ZLe(t.position), r = xFe(), i = ONe(), a = gLe(), o = J((e) => QLe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || zG(t.position)), f = zLe(Yq([r]), 2), p = f[0], m = f[1], h = WX(), g = GX();
if (h == null || g == null || t.position != null && o == null) return null;
- var _ = WLe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : TG({
+ var _ = rRe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : RG({
viewBox: o ?? {
x: 0,
y: 0,
@@ -70960,7 +71569,7 @@ function KLe(e) {
},
position: t.position,
offset: t.offset ?? 0
- }), y = BLe(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
+ }), y = $Le(t.position, t.offset ?? 0, p), x = n === "vertical" ? (o?.width ?? 0) / 2 : o?.width ?? 0, S = n === "horizontal" ? (o?.height ?? 0) / 2 : o?.height ?? 0, C = v ? {
width: "max-content",
height: "max-content",
maxWidth: x,
@@ -70968,8 +71577,8 @@ function KLe(e) {
overflowY: "auto",
top: v.y + (y.top ?? 0),
left: v.x + (y.left ?? 0),
- transform: wLe(v.horizontalAnchor, v.verticalAnchor)
- } : VLe(l, t, a, h, g, p), w = u ? l : ZX(ZX({
+ transform: LLe(v.horizontalAnchor, v.verticalAnchor)
+ } : eRe(l, t, a, h, g, p), w = u ? l : uZ(uZ({
position: "absolute",
width: _?.width || s || "auto",
height: _?.height || c || "auto"
@@ -70979,14 +71588,14 @@ function KLe(e) {
className: "recharts-legend-wrapper",
style: w,
ref: m
- }, /*#__PURE__*/ b.createElement(HLe, {
+ }, /*#__PURE__*/ b.createElement(tRe, {
layout: n,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter,
position: t.position,
offset: t.offset
- }), d && /*#__PURE__*/ b.createElement(ULe, p), /*#__PURE__*/ b.createElement(LLe, JX({}, t, { layout: n }, _, {
+ }), d && /*#__PURE__*/ b.createElement(nRe, p), /*#__PURE__*/ b.createElement(XLe, sZ({}, t, { layout: n }, _, {
margin: a,
chartWidth: h,
chartHeight: g,
@@ -70994,20 +71603,20 @@ function KLe(e) {
})));
return /*#__PURE__*/ (0, mt.createPortal)(E, T);
}
-var QX = /*#__PURE__*/ b.memo(KLe, qX);
-QX.displayName = "Legend";
+var dZ = /*#__PURE__*/ b.memo(aRe, oZ);
+dZ.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function $X() {
- return $X = Object.assign ? Object.assign.bind() : function(e) {
+function fZ() {
+ return fZ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, $X.apply(null, arguments);
+ }, fZ.apply(null, arguments);
}
-function eZ(e, t) {
+function pZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -71017,30 +71626,30 @@ function eZ(e, t) {
}
return n;
}
-function tZ(e) {
+function mZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? eZ(Object(n), !0).forEach(function(t) {
- qLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eZ(Object(n)).forEach(function(t) {
+ t % 2 ? pZ(Object(n), !0).forEach(function(t) {
+ oRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qLe(e, t, n) {
- return (t = JLe(t)) in e ? Object.defineProperty(e, t, {
+function oRe(e, t, n) {
+ return (t = sRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JLe(e) {
- var t = YLe(e, "string");
+function sRe(e) {
+ var t = cRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YLe(e, t) {
+function cRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71050,25 +71659,25 @@ function YLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function XLe(e, t) {
- return eRe(e) || $Le(e, t) || QLe(e, t) || ZLe();
+function lRe(e, t) {
+ return pRe(e) || fRe(e, t) || dRe(e, t) || uRe();
}
-function ZLe() {
+function uRe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function QLe(e, t) {
+function dRe(e, t) {
if (e) {
- if (typeof e == "string") return nZ(e, t);
+ if (typeof e == "string") return hZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? hZ(e, t) : void 0;
}
}
-function nZ(e, t) {
+function hZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function $Le(e, t) {
+function fRe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -71089,13 +71698,13 @@ function $Le(e, t) {
return s;
}
}
-function eRe(e) {
+function pRe(e) {
if (Array.isArray(e)) return e;
}
-function tRe(e) {
- return Array.isArray(e) && fG(e[0]) && fG(e[1]) ? e.join(" ~ ") : e;
+function mRe(e) {
+ return Array.isArray(e) && TG(e[0]) && TG(e[1]) ? e.join(" ~ ") : e;
}
-var rZ = {
+var gZ = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -71113,32 +71722,32 @@ var rZ = {
labelStyle: {},
accessibilityLayer: !1
};
-function nRe(e, t) {
- return t == null ? e : Aq(e, t);
+function hRe(e, t) {
+ return t == null ? e : Uq(e, t);
}
-var rRe = (e) => {
- var t = e.separator, n = t === void 0 ? rZ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? rZ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? rZ.accessibilityLayer : m, g = () => {
+var gRe = (e) => {
+ var t = e.separator, n = t === void 0 ? gZ.separator : t, r = e.contentStyle, i = e.itemStyle, a = e.labelStyle, o = a === void 0 ? gZ.labelStyle : a, s = e.payload, c = e.formatter, l = e.itemSorter, u = e.wrapperClassName, d = e.labelClassName, f = e.label, p = e.labelFormatter, m = e.accessibilityLayer, h = m === void 0 ? gZ.accessibilityLayer : m, g = () => {
if (s && s.length) {
var e = {
padding: 0,
margin: 0
- }, t = nRe(s, l).map((e, t) => {
+ }, t = hRe(s, l).map((e, t) => {
if (!e || e.type === "none") return null;
- var r = e.formatter || c || tRe, a = e.value, o = e.name, l = a, u = o;
+ var r = e.formatter || c || mRe, a = e.value, o = e.name, l = a, u = o;
if (r) {
var d = r(a, o, e, t, s);
if (Array.isArray(d)) {
- var f = XLe(d, 2);
+ var f = lRe(d, 2);
l = f[0], u = f[1];
} else if (d != null) l = d;
else return null;
}
- var p = tZ(tZ({}, rZ.itemStyle), {}, { color: e.color || rZ.itemStyle.color }, i);
+ var p = mZ(mZ({}, gZ.itemStyle), {}, { color: e.color || gZ.itemStyle.color }, i);
return /*#__PURE__*/ b.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${t}`,
style: p
- }, fG(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, fG(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, TG(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, TG(u) ? /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ b.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ b.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -71146,44 +71755,44 @@ var rRe = (e) => {
}, t);
}
return null;
- }, _ = tZ(tZ({}, rZ.contentStyle), r), v = tZ({ margin: 0 }, o), y = !vG(f), x = y ? f : "", S = Cv("recharts-default-tooltip", u), C = Cv("recharts-tooltip-label", d);
+ }, _ = mZ(mZ({}, gZ.contentStyle), r), v = mZ({ margin: 0 }, o), y = !jG(f), x = y ? f : "", S = Cv("recharts-default-tooltip", u), C = Cv("recharts-tooltip-label", d);
y && p && s != null && (x = p(f, s));
var w = h ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ b.createElement("div", $X({
+ return /*#__PURE__*/ b.createElement("div", fZ({
className: S,
style: _
}, w), /*#__PURE__*/ b.createElement("p", {
className: C,
style: v
}, /*#__PURE__*/ b.isValidElement(x) ? x : `${x}`), g());
-}, iZ = "recharts-tooltip-wrapper", iRe = { visibility: "hidden" };
-function aRe(e) {
+}, _Z = "recharts-tooltip-wrapper", _Re = { visibility: "hidden" };
+function vRe(e) {
var t = e.coordinate, n = e.translateX, r = e.translateY;
- return Cv(iZ, {
- [`${iZ}-right`]: dG(n) && t && dG(t.x) && n >= t.x,
- [`${iZ}-left`]: dG(n) && t && dG(t.x) && n < t.x,
- [`${iZ}-bottom`]: dG(r) && t && dG(t.y) && r >= t.y,
- [`${iZ}-top`]: dG(r) && t && dG(t.y) && r < t.y
+ return Cv(_Z, {
+ [`${_Z}-right`]: wG(n) && t && wG(t.x) && n >= t.x,
+ [`${_Z}-left`]: wG(n) && t && wG(t.x) && n < t.x,
+ [`${_Z}-bottom`]: wG(r) && t && wG(t.y) && r >= t.y,
+ [`${_Z}-top`]: wG(r) && t && wG(t.y) && r < t.y
});
}
-function aZ(e) {
+function vZ(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;
- if (a && dG(a[r])) return a[r];
+ if (a && wG(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
if (t[r]) return o[r] ? u : d;
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function oRe(e) {
+function yRe(e) {
var t = e.translateX, n = e.translateY;
return { transform: e.useTranslate3d ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function sRe(e) {
+function bRe(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.offsetTop, i = e.offsetLeft, a = e.position, o = e.reverseDirection, s = e.tooltipBox, c = e.useTranslate3d, l = e.viewBox, u, d, f;
- return s && s.height > 0 && s.width > 0 && n ? (d = aZ({
+ return s && s.height > 0 && s.width > 0 && n ? (d = vZ({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -71193,7 +71802,7 @@ function sRe(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = aZ({
+ }), f = vZ({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -71203,44 +71812,44 @@ function sRe(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = oRe({
+ }), u = yRe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = iRe, {
+ })) : u = _Re, {
cssProperties: u,
- cssClasses: aRe({
+ cssClasses: vRe({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var oZ = {
+var yZ = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function cRe(e, t) {
- return fRe(e) || dRe(e, t) || uRe(e, t) || lRe();
+function xRe(e, t) {
+ return TRe(e) || wRe(e, t) || CRe(e, t) || SRe();
}
-function lRe() {
+function SRe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function uRe(e, t) {
+function CRe(e, t) {
if (e) {
- if (typeof e == "string") return sZ(e, t);
+ if (typeof e == "string") return bZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? sZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? bZ(e, t) : void 0;
}
}
-function sZ(e, t) {
+function bZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function dRe(e, t) {
+function wRe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -71261,11 +71870,11 @@ function dRe(e, t) {
return s;
}
}
-function fRe(e) {
+function TRe(e) {
if (Array.isArray(e)) return e;
}
-function cZ() {
- var e = cRe((0, b.useState)(() => oZ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
+function xZ() {
+ var e = xRe((0, b.useState)(() => yZ.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches), 2), t = e[0], n = e[1];
return (0, b.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {
@@ -71279,7 +71888,7 @@ function cZ() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function lZ(e, t) {
+function SZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -71289,30 +71898,30 @@ function lZ(e, t) {
}
return n;
}
-function uZ(e) {
+function CZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? lZ(Object(n), !0).forEach(function(t) {
- pRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lZ(Object(n)).forEach(function(t) {
+ t % 2 ? SZ(Object(n), !0).forEach(function(t) {
+ ERe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pRe(e, t, n) {
- return (t = mRe(t)) in e ? Object.defineProperty(e, t, {
+function ERe(e, t, n) {
+ return (t = DRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mRe(e) {
- var t = hRe(e, "string");
+function DRe(e) {
+ var t = ORe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hRe(e, t) {
+function ORe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71322,25 +71931,25 @@ function hRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gRe(e, t) {
- return bRe(e) || yRe(e, t) || vRe(e, t) || _Re();
+function kRe(e, t) {
+ return NRe(e) || MRe(e, t) || jRe(e, t) || ARe();
}
-function _Re() {
+function ARe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function vRe(e, t) {
+function jRe(e, t) {
if (e) {
- if (typeof e == "string") return dZ(e, t);
+ if (typeof e == "string") return wZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? dZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wZ(e, t) : void 0;
}
}
-function dZ(e, t) {
+function wZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function yRe(e, t) {
+function MRe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -71361,17 +71970,17 @@ function yRe(e, t) {
return s;
}
}
-function bRe(e) {
+function NRe(e) {
if (Array.isArray(e)) return e;
}
-function xRe(e) {
+function PRe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) {
var t = typeof e.animationEasing == "string" ? e.animationEasing : "ease";
return `transform ${e.animationDuration}ms ${t}`;
}
}
-function SRe(e) {
- var t = cZ(), n = gRe(b.useState(() => ({
+function FRe(e) {
+ var t = xZ(), n = kRe(b.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -71391,8 +72000,8 @@ function SRe(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(uZ(uZ({}, r), {}, { dismissed: !1 }));
- var a = sRe({
+ }, [e.coordinate?.x, e.coordinate?.y]), r.dismissed && ((e.coordinate?.x ?? 0) !== r.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== r.dismissedAtCoordinate.y) && i(CZ(CZ({}, r), {}, { dismissed: !1 }));
+ var a = bRe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -71402,7 +72011,7 @@ function SRe(e) {
tooltipBox: e.lastBoundingBox,
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = a.cssClasses, s = a.cssProperties, c = uZ(uZ({}, e.hasPortalFromProps ? {} : uZ(uZ({ transition: xRe({
+ }), o = a.cssClasses, s = a.cssProperties, c = CZ(CZ({}, e.hasPortalFromProps ? {} : CZ(CZ({ transition: PRe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -71422,19 +72031,19 @@ function SRe(e) {
ref: e.innerRef
}, e.children);
}
-var CRe = /*#__PURE__*/ b.memo(SRe), fZ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
+var IRe = /*#__PURE__*/ b.memo(FRe), TZ = () => J((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function pZ() {
- return pZ = Object.assign ? Object.assign.bind() : function(e) {
+function EZ() {
+ return EZ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, pZ.apply(null, arguments);
+ }, EZ.apply(null, arguments);
}
-function mZ(e, t) {
+function DZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -71444,30 +72053,30 @@ function mZ(e, t) {
}
return n;
}
-function hZ(e) {
+function OZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? mZ(Object(n), !0).forEach(function(t) {
- wRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mZ(Object(n)).forEach(function(t) {
+ t % 2 ? DZ(Object(n), !0).forEach(function(t) {
+ LRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wRe(e, t, n) {
- return (t = TRe(t)) in e ? Object.defineProperty(e, t, {
+function LRe(e, t, n) {
+ return (t = RRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function TRe(e) {
- var t = ERe(e, "string");
+function RRe(e) {
+ var t = zRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ERe(e, t) {
+function zRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71477,40 +72086,40 @@ function ERe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var gZ = {
- curveBasisClosed: NNe,
- curveBasisOpen: PNe,
- curveBasis: MNe,
- curveBumpX: vNe,
- curveBumpY: yNe,
- curveLinearClosed: FNe,
- curveLinear: HG,
- curveMonotoneX: INe,
- curveMonotoneY: LNe,
- curveNatural: RNe,
- curveStep: zNe,
- curveStepAfter: VNe,
- curveStepBefore: BNe
-}, _Z = (e) => VY(e.x) && VY(e.y), vZ = (e) => e.base != null && _Z(e.base) && _Z(e), yZ = (e) => e.x, bZ = (e) => e.y, DRe = (e, t) => {
+var kZ = {
+ curveBasisClosed: KNe,
+ curveBasisOpen: qNe,
+ curveBasis: GNe,
+ curveBumpX: jNe,
+ curveBumpY: MNe,
+ curveLinearClosed: JNe,
+ curveLinear: tK,
+ curveMonotoneX: YNe,
+ curveMonotoneY: XNe,
+ curveNatural: ZNe,
+ curveStep: QNe,
+ curveStepAfter: ePe,
+ curveStepBefore: $Ne
+}, AZ = (e) => eX(e.x) && eX(e.y), jZ = (e) => e.base != null && AZ(e.base) && AZ(e), MZ = (e) => e.x, NZ = (e) => e.y, BRe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${yG(e)}`;
+ var n = `curve${MG(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = gZ[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = kZ[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return gZ[n] || HG;
-}, xZ = {
+ return kZ[n] || tK;
+}, PZ = {
connectNulls: !1,
type: "linear"
-}, ORe = (e) => {
- var t = e.type, n = t === void 0 ? xZ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? xZ.connectNulls : s, l = DRe(n, o), u = c ? i.filter(_Z) : i;
+}, VRe = (e) => {
+ var t = e.type, n = t === void 0 ? PZ.type : t, r = e.points, i = r === void 0 ? [] : r, a = e.baseLine, o = e.layout, s = e.connectNulls, c = s === void 0 ? PZ.connectNulls : s, l = BRe(n, o), u = c ? i.filter(AZ) : i;
if (Array.isArray(a)) {
- var d, f = i.map((e, t) => hZ(hZ({}, e), {}, { base: a[t] }));
- return d = o === "vertical" ? KG().y(bZ).x1(yZ).x0((e) => e.base.x) : KG().x(yZ).y1(bZ).y0((e) => e.base.y), d.defined(vZ).curve(l)(c ? f.filter(vZ) : f);
+ var d, f = i.map((e, t) => OZ(OZ({}, e), {}, { base: a[t] }));
+ return d = o === "vertical" ? aK().y(NZ).x1(MZ).x0((e) => e.base.x) : aK().x(MZ).y1(NZ).y0((e) => e.base.y), d.defined(jZ).curve(l)(c ? f.filter(jZ) : f);
}
- return (o === "vertical" && dG(a) ? KG().y(bZ).x1(yZ).x0(a) : dG(a) ? KG().x(yZ).y1(bZ).y0(a) : GG().x(yZ).y(bZ)).defined(_Z).curve(l)(u);
-}, SZ = (e) => {
- var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = PX();
+ return (o === "vertical" && wG(a) ? aK().y(NZ).x1(MZ).x0(a) : wG(a) ? aK().x(MZ).y1(NZ).y0(a) : iK().x(MZ).y(NZ)).defined(AZ).curve(l)(u);
+}, FZ = (e) => {
+ var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = qX();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -71518,13 +72127,13 @@ var gZ = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? ORe(o) : r;
- return /*#__PURE__*/ b.createElement("path", pZ({}, KW(e), TK(e), {
+ }, s = n && n.length ? VRe(o) : r;
+ return /*#__PURE__*/ b.createElement("path", EZ({}, aG(e), RK(e), {
className: Cv("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, kRe = [
+}, HRe = [
"x",
"y",
"top",
@@ -71533,16 +72142,16 @@ var gZ = {
"height",
"className"
];
-function CZ() {
- return CZ = Object.assign ? Object.assign.bind() : function(e) {
+function IZ() {
+ return IZ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, CZ.apply(null, arguments);
+ }, IZ.apply(null, arguments);
}
-function wZ(e, t) {
+function LZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -71552,30 +72161,30 @@ function wZ(e, t) {
}
return n;
}
-function ARe(e) {
+function URe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? wZ(Object(n), !0).forEach(function(t) {
- jRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wZ(Object(n)).forEach(function(t) {
+ t % 2 ? LZ(Object(n), !0).forEach(function(t) {
+ WRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jRe(e, t, n) {
- return (t = MRe(t)) in e ? Object.defineProperty(e, t, {
+function WRe(e, t, n) {
+ return (t = GRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MRe(e) {
- var t = NRe(e, "string");
+function GRe(e) {
+ var t = KRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NRe(e, t) {
+function KRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71585,16 +72194,16 @@ function NRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function PRe(e, t) {
+function qRe(e, t) {
if (e == null) return {};
- var n, r, i = FRe(e, t);
+ var n, r, i = JRe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function FRe(e, t) {
+function JRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -71603,8 +72212,8 @@ function FRe(e, t) {
}
return n;
}
-var IRe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, LRe = (e) => {
- var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = PRe(e, kRe), h = ARe({
+var YRe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, XRe = (e) => {
+ var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r, a = e.top, o = a === void 0 ? 0 : a, s = e.left, c = s === void 0 ? 0 : s, l = e.width, u = l === void 0 ? 0 : l, d = e.height, f = d === void 0 ? 0 : d, p = e.className, m = qRe(e, HRe), h = URe({
x: n,
y: i,
top: o,
@@ -71612,14 +72221,14 @@ var IRe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, LRe = (e) => {
width: u,
height: f
}, m);
- return !dG(n) || !dG(i) || !dG(u) || !dG(f) || !dG(o) || !dG(c) ? null : /*#__PURE__*/ b.createElement("path", CZ({}, JW(h), {
+ return !wG(n) || !wG(i) || !wG(u) || !wG(f) || !wG(o) || !wG(c) ? null : /*#__PURE__*/ b.createElement("path", IZ({}, sG(h), {
className: Cv("recharts-cross", p),
- d: IRe(n, i, u, f, o, c)
+ d: YRe(n, i, u, f, o, c)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function RRe(e, t, n, r) {
+function ZRe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -71630,12 +72239,12 @@ function RRe(e, t, n, r) {
height: e === "horizontal" ? n.height - 1 : r
};
}
-var TZ = (e, t) => [
+var RZ = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], EZ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), DZ = (e, t) => (n) => EZ(TZ(e, t), n), zRe = (e, t) => (n) => EZ([...TZ(e, t).map((e, t) => e * t).slice(1), 0], n), BRe = (e) => {
+], zZ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), BZ = (e, t) => (n) => zZ(RZ(e, t), n), QRe = (e, t) => (n) => zZ([...RZ(e, t).map((e, t) => e * t).slice(1), 0], n), $Re = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -71647,7 +72256,7 @@ var TZ = (e, t) => [
i[2],
i[3]
];
-}, VRe = function() {
+}, eze = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -71681,7 +72290,7 @@ var TZ = (e, t) => [
1
];
default:
- var t = BRe(e[0]);
+ var t = $Re(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -71690,8 +72299,8 @@ var TZ = (e, t) => [
1,
1
];
-}, HRe = (e, t, n, r) => {
- var i = DZ(e, n), a = DZ(t, r), o = zRe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, tze = (e, t, n, r) => {
+ var i = BZ(e, n), a = BZ(t, r), o = QRe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -71700,9 +72309,9 @@ var TZ = (e, t) => [
return a(n);
};
return c.isStepper = !1, c;
-}, OZ = function() {
- return HRe(...VRe(...arguments));
-}, URe = function() {
+}, VZ = function() {
+ return tze(...eze(...arguments));
+}, nze = function() {
for (var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.stiff, n = t === void 0 ? 100 : t, r = e.damping, i = r === void 0 ? 8 : r, a = e.dt, o = a === void 0 ? 16.67 : a, s = 1, c = [0], l = 0, u = 0, d = 1e4, f = 0; f < d;) {
var p = -(l - s) * n, m = u * i;
if (u += (p - m) * o / 1e3, l += u * o / 1e3, c.push(l), Math.abs(l - s) < 1e-4 && Math.abs(u) < 1e-4) break;
@@ -71716,18 +72325,18 @@ var TZ = (e, t) => [
var t = e * h, n = Math.floor(t), r = t - n;
return (c[n] ?? 0) + ((c[n + 1] ?? 0) - (c[n] ?? 0)) * r;
};
-}, WRe = (e) => {
+}, rze = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return OZ(e);
- case "spring": return URe();
- default: if (e.split("(")[0] === "cubic-bezier") return OZ(e);
+ case "linear": return VZ(e);
+ case "spring": return nze();
+ default: if (e.split("(")[0] === "cubic-bezier") return VZ(e);
}
return typeof e == "function" ? e : null;
-}, kZ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {
+}, HZ = /*#__PURE__*/ (0, b.createContext)((e, t, n) => {
var r, i = (a) => {
var o = t.tick(a);
if (t.getState() === "active") {
@@ -71740,26 +72349,26 @@ var TZ = (e, t) => [
};
return r = e.setTimeout(i, 0), () => r?.();
});
-kZ.Provider;
-function GRe(e) {
- var t = (0, b.useContext)(kZ);
+HZ.Provider;
+function ize(e) {
+ var t = (0, b.useContext)(HZ);
return (0, b.useMemo)(() => e ?? t, [e, t]);
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimationHandle.js
-function KRe(e, t, n) {
- return (t = qRe(t)) in e ? Object.defineProperty(e, t, {
+function aze(e, t, n) {
+ return (t = oze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qRe(e) {
- var t = JRe(e, "string");
+function oze(e) {
+ var t = sze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JRe(e, t) {
+function sze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71769,11 +72378,11 @@ function JRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var AZ = "init", jZ = "pending", MZ = "active", YRe = "completed";
-function NZ(e) {
+var UZ = "init", WZ = "pending", GZ = "active", cze = "completed";
+function KZ(e) {
return Math.max(0, e);
}
-var XRe = class {
+var lze = class {
getAnimationStartedTime() {
return this.animationStartedTime;
}
@@ -71782,7 +72391,7 @@ var XRe = class {
}
constructor(e) {
var t;
- KRe(this, "state", AZ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = NZ(e.animationDuration), this.animationBegin = NZ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
+ aze(this, "state", UZ), this.animationId = e.animationId, this.onAnimationEnd = e.onAnimationEnd, this.animationDuration = KZ(e.animationDuration), this.animationBegin = KZ(e.animationBegin), this.progress = 0, this.from = e.from, this.to = e.to, this.easing = e.easing, (t = e.onAnimationStart) == null || t.call(e);
}
getState() {
return this.state;
@@ -71794,13 +72403,13 @@ var XRe = class {
return this.animationDuration;
}
tick(e) {
- if (this.getState() === AZ) return this.state = jZ, this.beginStartedTime = e, this.animationBegin;
- if (this.getState() === jZ) {
+ if (this.getState() === UZ) return this.state = WZ, this.beginStartedTime = e, this.animationBegin;
+ if (this.getState() === WZ) {
if (this.beginStartedTime == null) throw Error();
var t = e - this.beginStartedTime;
- return t >= this.animationBegin ? (this.state = MZ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : NZ(this.animationBegin - t);
+ return t >= this.animationBegin ? (this.state = GZ, this.animationStartedTime = e, this.nextAnimationUpdate(0)) : KZ(this.animationBegin - t);
}
- if (this.getState() === MZ) {
+ if (this.getState() === GZ) {
if (this.animationStartedTime == null) throw Error();
var n = e - this.animationStartedTime;
return this.setProgress(n / this.animationDuration), this.nextAnimationUpdate(n);
@@ -71818,7 +72427,7 @@ var XRe = class {
var e;
(e = this.onAnimationEnd) == null || e.call(this);
}
- this.state = YRe;
+ this.state = cze;
}
getFrom() {
return this.from;
@@ -71832,14 +72441,14 @@ var XRe = class {
getAnimationBegin() {
return this.animationBegin;
}
-}, ZRe = class extends XRe {
+}, uze = class extends lze {
nextAnimationUpdate() {
return 0;
}
getInterpolated() {
- return this.easing(gG(this.getFrom(), this.getTo(), this.getProgress()));
+ return this.easing(kG(this.getFrom(), this.getTo(), this.getProgress()));
}
-}, QRe = class {
+}, dze = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : r = requestAnimationFrame(i);
@@ -71851,25 +72460,25 @@ var XRe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-function $Re(e, t) {
- return rze(e) || nze(e, t) || tze(e, t) || eze();
+function fze(e, t) {
+ return gze(e) || hze(e, t) || mze(e, t) || pze();
}
-function eze() {
+function pze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function tze(e, t) {
+function mze(e, t) {
if (e) {
- if (typeof e == "string") return PZ(e, t);
+ if (typeof e == "string") return qZ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? PZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? qZ(e, t) : void 0;
}
}
-function PZ(e, t) {
+function qZ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function nze(e, t) {
+function hze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -71890,10 +72499,10 @@ function nze(e, t) {
return s;
}
}
-function rze(e) {
+function gze(e) {
if (Array.isArray(e)) return e;
}
-var ize = {
+var _ze = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -71901,22 +72510,22 @@ var ize = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, FZ = 0, IZ = 1;
-function LZ(e) {
- var t = OK(e, ize), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = cZ(), f = r === "auto" ? !oZ.isSsr && !d : r, p = GRe(t.animationController), m = $Re((0, b.useState)(f ? FZ : IZ), 2), h = m[0], g = m[1];
+}, JZ = 0, YZ = 1;
+function XZ(e) {
+ var t = VK(e, _ze), n = t.animationId, r = t.isActive, i = t.canBegin, a = t.duration, o = t.easing, s = t.begin, c = t.onAnimationEnd, l = t.onAnimationStart, u = t.children, d = xZ(), f = r === "auto" ? !yZ.isSsr && !d : r, p = ize(t.animationController), m = fze((0, b.useState)(f ? JZ : YZ), 2), h = m[0], g = m[1];
return (0, b.useEffect)(() => {
- f || g(IZ);
+ f || g(YZ);
}, [f]), (0, b.useEffect)(() => {
- var e = WRe(o);
- return !f || !i || e == null ? xG : p(new QRe(), new ZRe({
+ var e = rze(o);
+ return !f || !i || e == null ? PG : p(new dze(), new uze({
animationId: n,
easing: e,
animationDuration: a,
animationBegin: s,
onAnimationStart: l,
onAnimationEnd: c,
- from: FZ,
- to: IZ
+ from: JZ,
+ to: YZ
}), g);
}, [
p,
@@ -71932,14 +72541,14 @@ function LZ(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function RZ(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(pG(t)), r = (0, b.useRef)(e);
- return r.current !== e && (n.current = pG(t), r.current = e), n.current;
+function ZZ(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, b.useRef)(EG(t)), r = (0, b.useRef)(e);
+ return r.current !== e && (n.current = EG(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-var aze = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), oze = (e, t, n) => e.map((e) => `${aze(e)} ${t}ms ${n}`).join(","), sze = ["radius"], cze = ["radius"], lze, uze, dze, fze, pze, mze, hze, gze, _ze, vze;
-function zZ(e, t) {
+var vze = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), yze = (e, t, n) => e.map((e) => `${vze(e)} ${t}ms ${n}`).join(","), bze = ["radius"], xze = ["radius"], Sze, Cze, wze, Tze, Eze, Dze, Oze, kze, Aze, jze;
+function QZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -71949,30 +72558,30 @@ function zZ(e, t) {
}
return n;
}
-function BZ(e) {
+function $Z(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? zZ(Object(n), !0).forEach(function(t) {
- yze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zZ(Object(n)).forEach(function(t) {
+ t % 2 ? QZ(Object(n), !0).forEach(function(t) {
+ Mze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yze(e, t, n) {
- return (t = bze(t)) in e ? Object.defineProperty(e, t, {
+function Mze(e, t, n) {
+ return (t = Nze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bze(e) {
- var t = xze(e, "string");
+function Nze(e) {
+ var t = Pze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xze(e, t) {
+function Pze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -71982,25 +72591,25 @@ function xze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function VZ() {
- return VZ = Object.assign ? Object.assign.bind() : function(e) {
+function eQ() {
+ return eQ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, VZ.apply(null, arguments);
+ }, eQ.apply(null, arguments);
}
-function HZ(e, t) {
+function tQ(e, t) {
if (e == null) return {};
- var n, r, i = Sze(e, t);
+ var n, r, i = Fze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Sze(e, t) {
+function Fze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -72009,25 +72618,25 @@ function Sze(e, t) {
}
return n;
}
-function Cze(e, t) {
- return Dze(e) || Eze(e, t) || Tze(e, t) || wze();
+function Ize(e, t) {
+ return Bze(e) || zze(e, t) || Rze(e, t) || Lze();
}
-function wze() {
+function Lze() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Tze(e, t) {
+function Rze(e, t) {
if (e) {
- if (typeof e == "string") return UZ(e, t);
+ if (typeof e == "string") return nQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? UZ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nQ(e, t) : void 0;
}
}
-function UZ(e, t) {
+function nQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function Eze(e, t) {
+function zze(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -72048,14 +72657,14 @@ function Eze(e, t) {
return s;
}
}
-function Dze(e) {
+function Bze(e) {
if (Array.isArray(e)) return e;
}
-function WZ(e, t) {
+function rQ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var GZ = (e, t, n, r, i) => {
- var a = oG(n), o = oG(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+var iQ = (e, t, n, r, i) => {
+ var a = yG(n), o = yG(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -72066,44 +72675,44 @@ var GZ = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = sG(lze ||= WZ([
+ d = bG(Sze ||= rQ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += sG(uze ||= WZ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += bG(Cze ||= rQ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += sG(dze ||= WZ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += bG(wze ||= rQ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += sG(fze ||= WZ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += bG(Tze ||= rQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += sG(pze ||= WZ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += bG(Eze ||= rQ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += sG(mze ||= WZ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += bG(Dze ||= rQ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += sG(hze ||= WZ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += bG(Oze ||= rQ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += sG(gze ||= WZ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += bG(kze ||= rQ([
"A ",
",",
",0,0,",
@@ -72113,8 +72722,8 @@ var GZ = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = sG(_ze ||= WZ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = sG(vze ||= WZ([
+ d = bG(Aze ||= rQ(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = bG(jze ||= rQ([
"M ",
",",
" h ",
@@ -72123,7 +72732,7 @@ var GZ = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, KZ = {
+}, aQ = {
x: 0,
y: 0,
width: 0,
@@ -72134,15 +72743,15 @@ var GZ = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, qZ = (e) => {
- var t = OK(e, KZ), n = (0, b.useRef)(null), r = Cze((0, b.useState)(-1), 2), i = r[0], a = r[1];
+}, oQ = (e) => {
+ var t = VK(e, aQ), n = (0, b.useRef)(null), r = Ize((0, b.useState)(-1), 2), i = r[0], a = r[1];
(0, b.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && a(e);
} catch {}
}, []);
- var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = RZ((0, b.useMemo)(() => ({
+ var o = t.x, s = t.y, c = t.width, l = t.height, u = t.radius, d = t.className, f = t.animationEasing, p = t.animationDuration, m = t.animationBegin, h = t.isAnimationActive, g = t.isUpdateAnimationActive, _ = (0, b.useRef)(c), v = (0, b.useRef)(l), y = (0, b.useRef)(o), x = (0, b.useRef)(s), S = ZZ((0, b.useMemo)(() => ({
x: o,
y: s,
width: c,
@@ -72158,21 +72767,21 @@ var GZ = (e, t, n, r, i) => {
if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;
var C = Cv("recharts-rectangle", d);
if (!g) {
- var w = JW(t);
+ var w = sG(t);
w.radius;
- var T = HZ(w, sze);
- return /*#__PURE__*/ b.createElement("path", VZ({}, T, {
- x: oG(o),
- y: oG(s),
- width: oG(c),
- height: oG(l),
+ var T = tQ(w, bze);
+ return /*#__PURE__*/ b.createElement("path", eQ({}, T, {
+ x: yG(o),
+ y: yG(s),
+ width: yG(c),
+ height: yG(l),
radius: typeof u == "number" ? u : void 0,
className: C,
- d: GZ(o, s, c, l, u)
+ d: iQ(o, s, c, l, u)
}));
}
- var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = oze(["strokeDasharray"], p, typeof f == "string" ? f : KZ.animationEasing);
- return /*#__PURE__*/ b.createElement(LZ, {
+ var E = _.current, D = v.current, O = y.current, k = x.current, A = `0px ${i === -1 ? 1 : i}px`, j = `${i}px ${i}px`, M = yze(["strokeDasharray"], p, typeof f == "string" ? f : aQ.animationEasing);
+ return /*#__PURE__*/ b.createElement(XZ, {
animationId: S,
key: S,
canBegin: i > 0,
@@ -72181,26 +72790,26 @@ var GZ = (e, t, n, r, i) => {
isActive: g,
begin: m
}, (e) => {
- var r = gG(E, c, e), i = gG(D, l, e), a = gG(O, o, e), d = gG(k, s, e);
+ var r = kG(E, c, e), i = kG(D, l, e), a = kG(O, o, e), d = kG(k, s, e);
n.current && (_.current = r, v.current = i, y.current = a, x.current = d);
var f = h ? e > 0 ? {
transition: M,
strokeDasharray: j
- } : { strokeDasharray: A } : { strokeDasharray: j }, p = JW(t);
+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = sG(t);
p.radius;
- var m = HZ(p, cze);
- return /*#__PURE__*/ b.createElement("path", VZ({}, m, {
+ var m = tQ(p, xze);
+ return /*#__PURE__*/ b.createElement("path", eQ({}, m, {
radius: typeof u == "number" ? u : void 0,
className: C,
- d: GZ(a, d, r, i, u),
+ d: iQ(a, d, r, i, u),
ref: n,
- style: BZ(BZ({}, f), t.style)
+ style: $Z($Z({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function JZ(e, t) {
+function sQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -72210,30 +72819,30 @@ function JZ(e, t) {
}
return n;
}
-function YZ(e) {
+function cQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? JZ(Object(n), !0).forEach(function(t) {
- Oze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JZ(Object(n)).forEach(function(t) {
+ t % 2 ? sQ(Object(n), !0).forEach(function(t) {
+ Vze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Oze(e, t, n) {
- return (t = kze(t)) in e ? Object.defineProperty(e, t, {
+function Vze(e, t, n) {
+ return (t = Hze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kze(e) {
- var t = Aze(e, "string");
+function Hze(e) {
+ var t = Uze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Aze(e, t) {
+function Uze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -72243,10 +72852,10 @@ function Aze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var XZ = Math.PI / 180, ZZ = (e) => e * Math.PI / 180, jze = (e) => e * 180 / Math.PI, QZ = (e, t, n, r) => ({
- x: e + Math.cos(-XZ * r) * n,
- y: t + Math.sin(-XZ * r) * n
-}), Mze = function(e, t) {
+var lQ = Math.PI / 180, uQ = (e) => e * Math.PI / 180, Wze = (e) => e * 180 / Math.PI, dQ = (e, t, n, r) => ({
+ x: e + Math.cos(-lQ * r) * n,
+ y: t + Math.sin(-lQ * r) * n
+}), Gze = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -72257,11 +72866,11 @@ var XZ = Math.PI / 180, ZZ = (e) => e * Math.PI / 180, jze = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, Nze = (e, t) => {
+}, Kze = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, Pze = (e, t) => {
- var n = e.x, r = e.y, i = t.cx, a = t.cy, o = Nze({
+}, qze = (e, t) => {
+ var n = e.x, r = e.y, i = t.cx, a = t.cy, o = Kze({
x: n,
y: r
}, {
@@ -72275,25 +72884,25 @@ var XZ = Math.PI / 180, ZZ = (e) => e * Math.PI / 180, jze = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: jze(c),
+ angle: Wze(c),
angleInRadian: c
};
-}, Fze = (e) => {
+}, Jze = (e) => {
var t = e.startAngle, n = e.endAngle, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, Ize = (e, t) => {
+}, Yze = (e, t) => {
var n = t.startAngle, r = t.endAngle, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, Lze = (e, t) => {
- var n = e.relativeX, r = e.relativeY, i = Pze({
+}, Xze = (e, t) => {
+ var n = e.relativeX, r = e.relativeY, i = qze({
x: n,
y: r
}, t), a = i.radius, o = i.angle, s = t.innerRadius, c = t.outerRadius;
if (a < s || a > c || a === 0) return null;
- var l = Fze(t), u = l.startAngle, d = l.endAngle, f = o, p;
+ var l = Jze(t), u = l.startAngle, d = l.endAngle, f = o, p;
if (u <= d) {
for (; f > d;) f -= 360;
for (; f < u;) f += 360;
@@ -72303,17 +72912,17 @@ var XZ = Math.PI / 180, ZZ = (e) => e * Math.PI / 180, jze = (e) => e * 180 / Ma
for (; f < d;) f += 360;
p = f >= d && f <= u;
}
- return p ? YZ(YZ({}, t), {}, {
+ return p ? cQ(cQ({}, t), {}, {
radius: a,
- angle: Ize(f, t)
+ angle: Yze(f, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function $Z(e) {
+function fQ(e) {
var t = e.cx, n = e.cy, r = e.radius, i = e.startAngle, a = e.endAngle;
return {
- points: [QZ(t, n, r, i), QZ(t, n, r, a)],
+ points: [dQ(t, n, r, i), dQ(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -72323,29 +72932,29 @@ function $Z(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var Rze, zze, Bze, Vze, Hze, Uze, Wze;
-function eQ() {
- return eQ = Object.assign ? Object.assign.bind() : function(e) {
+var Zze, Qze, $ze, eBe, tBe, nBe, rBe;
+function pQ() {
+ return pQ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, eQ.apply(null, arguments);
+ }, pQ.apply(null, arguments);
}
-function tQ(e, t) {
+function mQ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / XZ, d = c ? i : i + a * u, f = QZ(t, n, l, d), p = QZ(t, n, r, d), m = c ? i - a * u : i;
+var iBe = (e, t) => xG(t - e) * Math.min(Math.abs(t - e), 359.999), hQ = (e) => {
+ var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / lQ, d = c ? i : i + a * u, f = dQ(t, n, l, d), p = dQ(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: QZ(t, n, l * Math.cos(u * XZ), m),
+ lineTangency: dQ(t, n, l * Math.cos(u * lQ), m),
theta: u
};
-}, rQ = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = Gze(a, o), c = a + s, l = QZ(t, n, i, a), u = QZ(t, n, i, c), d = sG(Rze ||= tQ([
+}, gQ = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = iBe(a, o), c = a + s, l = dQ(t, n, i, a), u = dQ(t, n, i, c), d = bG(Zze ||= mQ([
"M ",
",",
"\n A ",
@@ -72357,8 +72966,8 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = QZ(t, n, r, a), p = QZ(t, n, r, c);
- d += sG(zze ||= tQ([
+ var f = dQ(t, n, r, a), p = dQ(t, n, r, c);
+ d += bG(Qze ||= mQ([
"L ",
",",
"\n A ",
@@ -72369,14 +72978,14 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += sG(Bze ||= tQ([
+ } else d += bG($ze ||= mQ([
"L ",
",",
" Z"
]), t, n);
return d;
-}, Kze = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = cG(l - c), d = nQ({
+}, aBe = (e) => {
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = xG(l - c), d = hQ({
cx: t,
cy: n,
radius: i,
@@ -72384,7 +72993,7 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = nQ({
+ }), f = d.circleTangency, p = d.lineTangency, m = d.theta, h = hQ({
cx: t,
cy: n,
radius: i,
@@ -72393,7 +73002,7 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;
- if (y < 0) return o ? sG(Vze ||= tQ([
+ if (y < 0) return o ? bG(eBe ||= mQ([
"M ",
",",
"\n a",
@@ -72403,7 +73012,7 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
",",
",0,0,1,",
",0\n "
- ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : rQ({
+ ]), p.x, p.y, a, a, a * 2, a, a, -a * 2) : gQ({
cx: t,
cy: n,
innerRadius: r,
@@ -72411,7 +73020,7 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
startAngle: c,
endAngle: l
});
- var b = sG(Hze ||= tQ([
+ var b = bG(tBe ||= mQ([
"M ",
",",
"\n A",
@@ -72433,7 +73042,7 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
"\n "
]), p.x, p.y, a, a, +(u < 0), f.x, f.y, i, i, +(y > 180), +(u < 0), g.x, g.y, a, a, +(u < 0), _.x, _.y);
if (r > 0) {
- var x = nQ({
+ var x = hQ({
cx: t,
cy: n,
radius: r,
@@ -72442,7 +73051,7 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = nQ({
+ }), S = x.circleTangency, C = x.lineTangency, w = x.theta, T = hQ({
cx: t,
cy: n,
radius: r,
@@ -72453,7 +73062,7 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
cornerIsExternal: s
}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;
if (k < 0 && a === 0) return `${b}L${t},${n}Z`;
- b += sG(Uze ||= tQ([
+ b += bG(nBe ||= mQ([
"L",
",",
"\n A",
@@ -72474,13 +73083,13 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
",",
"Z"
]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);
- } else b += sG(Wze ||= tQ([
+ } else b += bG(rBe ||= mQ([
"L",
",",
"Z"
]), t, n);
return b;
-}, qze = {
+}, oBe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -72490,10 +73099,10 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, iQ = (e) => {
- var t = OK(e, qze), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
+}, _Q = (e) => {
+ var t = VK(e, oBe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
if (a < i || l === u) return null;
- var f = Cv("recharts-sector", d), p = a - i, m = mG(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? Kze({
+ var f = Cv("recharts-sector", d), p = a - i, m = DG(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? aBe({
cx: n,
cy: r,
innerRadius: i,
@@ -72503,7 +73112,7 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : rQ({
+ }) : gQ({
cx: n,
cy: r,
innerRadius: i,
@@ -72511,14 +73120,14 @@ var Gze = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 359.999), nQ = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ b.createElement("path", eQ({}, JW(t), {
+ return /*#__PURE__*/ b.createElement("path", pQ({}, sG(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function Jze(e, t, n) {
+function sBe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -72533,9 +73142,9 @@ function Jze(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (wK(t)) {
+ if (LK(t)) {
if (e === "centric") {
- var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = QZ(r, i, a, s), l = QZ(r, i, o, s);
+ var r = t.cx, i = t.cy, a = t.innerRadius, o = t.outerRadius, s = t.angle, c = dQ(r, i, a, s), l = dQ(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -72544,30 +73153,30 @@ function Jze(e, t, n) {
y: l.y
}];
}
- return $Z(t);
+ return fQ(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function Yze(e) {
- return nG(e) ? NaN : Number(e);
+function cBe(e) {
+ return hG(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function aQ(e) {
- return e ? (e = Yze(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+function vQ(e) {
+ return e ? (e = cBe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function oQ(e, t, n) {
- n && typeof n != "number" && Oq(e, t, n) && (t = n = void 0), e = aQ(e), t === void 0 ? (t = e, e = 0) : t = aQ(t), n = n === void 0 ? e < t ? 1 : -1 : aQ(n);
+function yQ(e, t, n) {
+ n && typeof n != "number" && Vq(e, t, n) && (t = n = void 0), e = vQ(e), t === void 0 ? (t = e, e = 0) : t = vQ(t), n = n === void 0 ? e < t ? 1 : -1 : vQ(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/dataSelectors.js
-var sQ = (e) => e.chartData, cQ = Y([sQ], (e) => {
+var bQ = (e) => e.chartData, xQ = Y([bQ], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -72575,37 +73184,37 @@ var sQ = (e) => e.chartData, cQ = Y([sQ], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), lQ = (e, t, n, r) => r ? cQ(e) : sQ(e), uQ = (e, t, n) => n ? cQ(e) : sQ(e), Xze = Y([lQ], (e) => {
+}), SQ = (e, t, n, r) => r ? xQ(e) : bQ(e), CQ = (e, t, n) => n ? xQ(e) : bQ(e), lBe = Y([SQ], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), Zze = Y([cQ], (e) => {
+}), uBe = Y([xQ], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
-}), Qze = Y([sQ], (e) => {
+}), dBe = Y([bQ], (e) => {
var t = e.chartData, n = e.dataStartIndex, r = e.dataEndIndex;
return t == null ? [] : t.slice(n, r + 1);
});
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function dQ(e, t) {
- return nBe(e) || tBe(e, t) || eBe(e, t) || $ze();
+function wQ(e, t) {
+ return hBe(e) || mBe(e, t) || pBe(e, t) || fBe();
}
-function $ze() {
+function fBe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function eBe(e, t) {
+function pBe(e, t) {
if (e) {
- if (typeof e == "string") return fQ(e, t);
+ if (typeof e == "string") return TQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? fQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? TQ(e, t) : void 0;
}
}
-function fQ(e, t) {
+function TQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function tBe(e, t) {
+function mBe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -72626,45 +73235,45 @@ function tBe(e, t) {
return s;
}
}
-function nBe(e) {
+function hBe(e) {
if (Array.isArray(e)) return e;
}
-function pQ(e) {
+function EQ(e) {
if (Array.isArray(e) && e.length === 2) {
- var t = dQ(e, 2), n = t[0], r = t[1];
- if (VY(n) && VY(r)) return !0;
+ var t = wQ(e, 2), n = t[0], r = t[1];
+ if (eX(n) && eX(r)) return !0;
}
return !1;
}
-function mQ(e, t, n) {
+function DQ(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function hQ(e, t) {
+function OQ(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
- var n = dQ(e, 2), r = n[0], i = n[1], a, o;
- if (VY(r)) a = r;
+ var n = wQ(e, 2), r = n[0], i = n[1], a, o;
+ if (eX(r)) a = r;
else if (typeof r == "function") return;
- if (VY(i)) o = i;
+ if (eX(i)) o = i;
else if (typeof i == "function") return;
var s = [a, o];
- if (pQ(s)) return s;
+ if (EQ(s)) return s;
}
}
-function rBe(e, t, n) {
+function gBe(e, t, n) {
if (n || t != null) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (pQ(r)) return mQ(r, t, n);
+ if (EQ(r)) return DQ(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
- var i = dQ(e, 2), a = i[0], o = i[1], s, c;
+ var i = wQ(e, 2), a = i[0], o = i[1], s, c;
if (a === "auto") t != null && (s = Math.min(...t));
- else if (dG(a)) s = a;
+ else if (wG(a)) s = a;
else if (typeof a == "function") try {
t != null && (s = a(t?.[0]));
} catch {}
- else if (typeof a == "string" && eX.test(a)) {
- var l = eX.exec(a);
+ else if (typeof a == "string" && pX.test(a)) {
+ var l = pX.exec(a);
if (l == null || l[1] == null || t == null) s = void 0;
else {
var u = +l[1];
@@ -72672,12 +73281,12 @@ function rBe(e, t, n) {
}
} else s = t?.[0];
if (o === "auto") t != null && (c = Math.max(...t));
- else if (dG(o)) c = o;
+ else if (wG(o)) c = o;
else if (typeof o == "function") try {
t != null && (c = o(t?.[1]));
} catch {}
- else if (typeof o == "string" && tX.test(o)) {
- var d = tX.exec(o);
+ else if (typeof o == "string" && mX.test(o)) {
+ var d = mX.exec(o);
if (d == null || d[1] == null || t == null) c = void 0;
else {
var f = +d[1];
@@ -72685,13 +73294,13 @@ function rBe(e, t, n) {
}
} else c = t?.[1];
var p = [s, c];
- if (pQ(p)) return t == null ? p : mQ(p, t, n);
+ if (EQ(p)) return t == null ? p : DQ(p, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var gQ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
+var kQ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -73066,34 +73675,34 @@ var gQ = /* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function _Q(e) {
- return e === 0 ? 1 : Math.floor(new gQ.default(e).abs().log(10).toNumber()) + 1;
+function AQ(e) {
+ return e === 0 ? 1 : Math.floor(new kQ.default(e).abs().log(10).toNumber()) + 1;
}
-function vQ(e, t, n) {
- for (var r = new gQ.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function jQ(e, t, n) {
+ for (var r = new kQ.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
-function yQ(e, t) {
- return sBe(e) || oBe(e, t) || aBe(e, t) || iBe();
+function MQ(e, t) {
+ return bBe(e) || yBe(e, t) || vBe(e, t) || _Be();
}
-function iBe() {
+function _Be() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function aBe(e, t) {
+function vBe(e, t) {
if (e) {
- if (typeof e == "string") return bQ(e, t);
+ if (typeof e == "string") return NQ(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? bQ(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? NQ(e, t) : void 0;
}
}
-function bQ(e, t) {
+function NQ(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function oBe(e, t) {
+function yBe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -73114,74 +73723,74 @@ function oBe(e, t) {
return s;
}
}
-function sBe(e) {
+function bBe(e) {
if (Array.isArray(e)) return e;
}
-var xQ = (e) => {
- var t = yQ(e, 2), n = t[0], r = t[1], i = n, a = r;
+var PQ = (e) => {
+ var t = MQ(e, 2), n = t[0], r = t[1], i = n, a = r;
return n > r && (i = r, a = n), [i, a];
-}, SQ = (e, t, n) => {
- if (e.lte(0)) return new gQ.default(0);
- var r = _Q(e.toNumber()), i = new gQ.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new gQ.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new gQ.default(s.toNumber()) : new gQ.default(Math.ceil(s.toNumber()));
-}, CQ = (e, t, n) => {
- if (e.lte(0)) return new gQ.default(0);
+}, FQ = (e, t, n) => {
+ if (e.lte(0)) return new kQ.default(0);
+ var r = AQ(e.toNumber()), i = new kQ.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new kQ.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new kQ.default(s.toNumber()) : new kQ.default(Math.ceil(s.toNumber()));
+}, IQ = (e, t, n) => {
+ if (e.lte(0)) return new kQ.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new gQ.default(i).abs().log(10).toNumber()), o = new gQ.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new kQ.default(i).abs().log(10).toNumber()), o = new kQ.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {
var l = Math.floor(c / r.length);
- c %= r.length, o = o.mul(new gQ.default(10).pow(l));
+ c %= r.length, o = o.mul(new kQ.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new gQ.default(u).mul(o);
- return t ? d : new gQ.default(Math.ceil(d.toNumber()));
-}, cBe = (e, t, n) => {
- var r = new gQ.default(1), i = new gQ.default(e);
+ var u = r[c] ?? 1, d = new kQ.default(u).mul(o);
+ return t ? d : new kQ.default(Math.ceil(d.toNumber()));
+}, xBe = (e, t, n) => {
+ var r = new kQ.default(1), i = new kQ.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new gQ.default(10).pow(_Q(e) - 1), i = new gQ.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new gQ.default(Math.floor(e)));
- } else e === 0 ? i = new gQ.default(Math.floor((t - 1) / 2)) : n || (i = new gQ.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new gQ.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new kQ.default(10).pow(AQ(e) - 1), i = new kQ.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new kQ.default(Math.floor(e)));
+ } else e === 0 ? i = new kQ.default(Math.floor((t - 1) / 2)) : n || (i = new kQ.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new kQ.default(c - o).mul(r)).toNumber());
return s;
-}, wQ = function(e, t, n, r) {
- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : SQ;
+}, LQ = function(e, t, n, r) {
+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : FQ;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new gQ.default(0),
- tickMin: new gQ.default(0),
- tickMax: new gQ.default(0)
- };
- var o = a(new gQ.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new gQ.default(0) : (s = new gQ.default(e).add(t).div(2), s = s.sub(new gQ.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new gQ.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? wQ(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ step: new kQ.default(0),
+ tickMin: new kQ.default(0),
+ tickMax: new kQ.default(0)
+ };
+ var o = a(new kQ.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new kQ.default(0) : (s = new kQ.default(e).add(t).div(2), s = s.sub(new kQ.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new kQ.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? LQ(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
- tickMin: s.sub(new gQ.default(c).mul(o)),
- tickMax: s.add(new gQ.default(l).mul(o))
+ tickMin: s.sub(new kQ.default(c).mul(o)),
+ tickMax: s.add(new kQ.default(l).mul(o))
});
-}, TQ = function(e) {
- var t = yQ(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = yQ(xQ([n, r]), 2), l = c[0], u = c[1];
+}, RQ = function(e) {
+ var t = MQ(e, 2), n = t[0], r = t[1], i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = Math.max(i, 2), c = MQ(PQ([n, r]), 2), l = c[0], u = c[1];
if (l === -Infinity || u === Infinity) {
var d = u === Infinity ? [l, ...Array(i - 1).fill(Infinity)] : [...Array(i - 1).fill(-Infinity), u];
return n > r ? d.reverse() : d;
}
- if (l === u) return cBe(l, i, a);
- var f = wQ(l, u, s, a, 0, o === "snap125" ? CQ : SQ), p = f.step, m = f.tickMin, h = f.tickMax, g = vQ(m, h.add(new gQ.default(.1).mul(p)), p);
+ if (l === u) return xBe(l, i, a);
+ var f = LQ(l, u, s, a, 0, o === "snap125" ? IQ : FQ), p = f.step, m = f.tickMin, h = f.tickMax, g = jQ(m, h.add(new kQ.default(.1).mul(p)), p);
return n > r ? g.reverse() : g;
-}, EQ = function(e, t) {
- var n = yQ(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = yQ(xQ([r, i]), 2), c = s[0], l = s[1];
+}, zQ = function(e, t) {
+ var n = MQ(e, 2), r = n[0], i = n[1], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", s = MQ(PQ([r, i]), 2), c = s[0], l = s[1];
if (c === -Infinity || l === Infinity) return [r, i];
if (c === l) return [c];
- var u = o === "snap125" ? CQ : SQ, d = Math.max(t, 2), f = u(new gQ.default(l).sub(c).div(d - 1), a, 0), p = [...vQ(new gQ.default(c), new gQ.default(l), f), l];
+ var u = o === "snap125" ? IQ : FQ, d = Math.max(t, 2), f = u(new kQ.default(l).sub(c).div(d - 1), a, 0), p = [...jQ(new kQ.default(c), new kQ.default(l), f), l];
if (a === !1) {
p = p.map((e) => Math.round(e));
var m = p.length - 1;
m > 0 && p[m] === p[m - 1] && (p = p.slice(0, m));
}
return r > i ? p.reverse() : p;
-}, DQ = (e) => e.rootProps.maxBarSize, OQ = (e) => e.rootProps.barGap, kQ = (e) => e.rootProps.barCategoryGap, AQ = (e) => e.rootProps.barSize, jQ = (e) => e.rootProps.stackOffset, MQ = (e) => e.rootProps.reverseStackOrder, NQ = (e) => e.options.chartName, PQ = (e) => e.rootProps.syncId, FQ = (e) => e.rootProps.syncMethod, IQ = (e) => e.options.eventEmitter, lBe = (e) => e.rootProps.baseValue, LQ = {
+}, BQ = (e) => e.rootProps.maxBarSize, VQ = (e) => e.rootProps.barGap, HQ = (e) => e.rootProps.barCategoryGap, UQ = (e) => e.rootProps.barSize, WQ = (e) => e.rootProps.stackOffset, GQ = (e) => e.rootProps.reverseStackOrder, KQ = (e) => e.options.chartName, qQ = (e) => e.rootProps.syncId, JQ = (e) => e.rootProps.syncMethod, YQ = (e) => e.options.eventEmitter, SBe = (e) => e.rootProps.baseValue, XQ = {
grid: -100,
barBackground: -50,
area: 100,
@@ -73194,7 +73803,7 @@ var xQ = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, RQ = {
+}, ZQ = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -73215,8 +73824,8 @@ var xQ = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: LQ.axis
-}, zQ = {
+ zIndex: XQ.axis
+}, QQ = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -73235,19 +73844,19 @@ var xQ = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: LQ.axis
-}, BQ = (e, t) => {
+ zIndex: XQ.axis
+}, $Q = (e, t) => {
if (e && t) return e != null && e.reversed ? [t[1], t[0]] : t;
};
//#endregion
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
-function VQ(e, t, n) {
+function e$(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return KY(e, t) ? "category" : "number";
+ if (e != null) return aX(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function HQ(e, t) {
+function t$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -73257,30 +73866,30 @@ function HQ(e, t) {
}
return n;
}
-function UQ(e) {
+function n$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? HQ(Object(n), !0).forEach(function(t) {
- uBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HQ(Object(n)).forEach(function(t) {
+ t % 2 ? t$(Object(n), !0).forEach(function(t) {
+ CBe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uBe(e, t, n) {
- return (t = dBe(t)) in e ? Object.defineProperty(e, t, {
+function CBe(e, t, n) {
+ return (t = wBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dBe(e) {
- var t = fBe(e, "string");
+function wBe(e) {
+ var t = TBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fBe(e, t) {
+function TBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -73290,77 +73899,77 @@ function fBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var WQ = {
- allowDataOverflow: RQ.allowDataOverflow,
- allowDecimals: RQ.allowDecimals,
+var r$ = {
+ allowDataOverflow: ZQ.allowDataOverflow,
+ allowDecimals: ZQ.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: RQ.angleAxisId,
+ id: ZQ.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: RQ.reversed,
- scale: RQ.scale,
- tick: RQ.tick,
+ reversed: ZQ.reversed,
+ scale: ZQ.scale,
+ tick: ZQ.tick,
tickCount: void 0,
ticks: void 0,
- type: RQ.type,
+ type: ZQ.type,
unit: void 0,
niceTicks: "auto"
-}, GQ = {
- allowDataOverflow: zQ.allowDataOverflow,
- allowDecimals: zQ.allowDecimals,
- allowDuplicatedCategory: zQ.allowDuplicatedCategory,
+}, i$ = {
+ allowDataOverflow: QQ.allowDataOverflow,
+ allowDecimals: QQ.allowDecimals,
+ allowDuplicatedCategory: QQ.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: zQ.radiusAxisId,
- includeHidden: zQ.includeHidden,
+ id: QQ.radiusAxisId,
+ includeHidden: QQ.includeHidden,
name: void 0,
- reversed: zQ.reversed,
- scale: zQ.scale,
- tick: zQ.tick,
- tickCount: zQ.tickCount,
+ reversed: QQ.reversed,
+ scale: QQ.scale,
+ tick: QQ.tick,
+ tickCount: QQ.tickCount,
ticks: void 0,
- type: zQ.type,
+ type: QQ.type,
unit: void 0,
niceTicks: "auto"
-}, KQ = Y([(e, t) => {
+}, a$ = Y([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, IX], (e, t) => {
+}, YX], (e, t) => {
if (e != null) return e;
- var n = VQ(t, "angleAxis", WQ.type) ?? "category";
- return UQ(UQ({}, WQ), {}, { type: n });
-}), qQ = Y([(e, t) => e.polarAxis.radiusAxis[t], IX], (e, t) => {
+ var n = e$(t, "angleAxis", r$.type) ?? "category";
+ return n$(n$({}, r$), {}, { type: n });
+}), o$ = Y([(e, t) => e.polarAxis.radiusAxis[t], YX], (e, t) => {
if (e != null) return e;
- var n = VQ(t, "radiusAxis", GQ.type) ?? "category";
- return UQ(UQ({}, GQ), {}, { type: n });
-}), JQ = (e) => e.polarOptions, YQ = Y([
- aX,
- oX,
- fX
-], Mze), XQ = Y([JQ, YQ], (e, t) => {
- if (e != null) return mG(e.innerRadius, t, 0);
-}), ZQ = Y([JQ, YQ], (e, t) => {
- if (e != null) return mG(e.outerRadius, t, t * .8);
-}), QQ = Y([JQ], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), pBe = Y([KQ, QQ], BQ), $Q = Y([
- YQ,
- XQ,
- ZQ
+ var n = e$(t, "radiusAxis", i$.type) ?? "category";
+ return n$(n$({}, i$), {}, { type: n });
+}), s$ = (e) => e.polarOptions, c$ = Y([
+ vX,
+ yX,
+ TX
+], Gze), l$ = Y([s$, c$], (e, t) => {
+ if (e != null) return DG(e.innerRadius, t, 0);
+}), u$ = Y([s$, c$], (e, t) => {
+ if (e != null) return DG(e.outerRadius, t, t * .8);
+}), d$ = Y([s$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), EBe = Y([a$, d$], $Q), f$ = Y([
+ c$,
+ l$,
+ u$
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), mBe = Y([qQ, $Q], BQ), e$ = Y([
- NX,
- JQ,
- XQ,
- ZQ,
- aX,
- oX
+}), DBe = Y([o$, f$], $Q), p$ = Y([
+ KX,
+ s$,
+ l$,
+ u$,
+ vX,
+ yX
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;
return {
- cx: mG(o, i, i / 2),
- cy: mG(s, a, a / 2),
+ cx: DG(o, i, i / 2),
+ cy: DG(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -73368,22 +73977,22 @@ var WQ = {
clockWise: !1
};
}
-}), t$ = (e, t) => t, n$ = (e, t, n) => n;
+}), m$ = (e, t) => t, h$ = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function r$(e) {
+function g$(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function i$(e, t, n) {
+function _$(e, t, n) {
var r = t.chartData, i = r === void 0 ? [] : r, a = n.allowDuplicatedCategory, o = n.dataKey, s = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? i;
if (t != null && t.length !== 0) {
- var n = r$(e);
+ var n = g$(e);
t.forEach((t, r) => {
- var i = o == null || a ? r : String(GY(t, o, null)), c = GY(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};
+ var i = o == null || a ? r : String(iX(t, o, null)), c = iX(t, e.dataKey, 0), l = s.has(i) ? s.get(i) : {};
Object.assign(l, { [n]: c }), s.set(i, l);
});
}
@@ -73391,18 +74000,18 @@ function i$(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function a$(e) {
+function v$(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var o$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var y$ = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
//#endregion
//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js
-function s$(e, t) {
+function b$(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function hBe(e, t) {
+function OBe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -73411,13 +74020,13 @@ function hBe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var c$ = (e) => {
- var t = NX(e);
+var x$ = (e) => {
+ var t = KX(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, l$ = (e) => e.tooltip.settings.axisId;
+}, S$ = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function u$(e) {
+function C$(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -73458,13 +74067,13 @@ function u$(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var d$ = (e, t) => {
+var w$ = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!pQ(t)) {
+ if (!EQ(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- VY(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ eX(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -73474,14 +74083,14 @@ var d$ = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function f$(e, t) {
+function T$(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function p$(e) {
+function E$(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = gBe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = kBe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -73507,15 +74116,15 @@ function p$(e) {
right: i
};
}
-function gBe(e) {
- return (t, n) => f$(e(t), n);
+function kBe(e) {
+ return (t, n) => T$(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function m$(e) {
+function D$(e) {
return e === null ? NaN : +e;
}
-function* _Be(e, t) {
+function* ABe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -73524,52 +74133,52 @@ function* _Be(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var h$ = p$(f$), g$ = h$.right;
-h$.left, p$(m$).center;
+var O$ = E$(T$), k$ = O$.right;
+O$.left, E$(D$).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var _$ = class extends Map {
- constructor(e, t = bBe) {
+var jBe = class extends Map {
+ constructor(e, t = PBe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(v$(this, e));
+ return super.get(A$(this, e));
}
has(e) {
- return super.has(v$(this, e));
+ return super.has(A$(this, e));
}
set(e, t) {
- return super.set(vBe(this, e), t);
+ return super.set(MBe(this, e), t);
}
delete(e) {
- return super.delete(yBe(this, e));
+ return super.delete(NBe(this, e));
}
};
-function v$({ _intern: e, _key: t }, n) {
+function A$({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function vBe({ _intern: e, _key: t }, n) {
+function MBe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function yBe({ _intern: e, _key: t }, n) {
+function NBe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function bBe(e) {
+function PBe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var y$ = Math.sqrt(50), b$ = Math.sqrt(10), x$ = Math.sqrt(2);
-function S$(e, t, n) {
+var j$ = Math.sqrt(50), M$ = Math.sqrt(10), N$ = Math.sqrt(2);
+function P$(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = C$(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = F$(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -73580,17 +74189,17 @@ function S$(e, t, n) {
}
return r && o.reverse(), o;
}
-function C$(e, t, n) {
+function F$(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= y$ ? 10 : a >= b$ ? 5 : a >= x$ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= y$ ? 10 : a >= b$ ? 5 : a >= x$ ? 2 : 1);
+ return i >= 0 ? (a >= j$ ? 10 : a >= M$ ? 5 : a >= N$ ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= j$ ? 10 : a >= M$ ? 5 : a >= N$ ? 2 : 1);
}
-function w$(e, t, n) {
+function I$(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= y$ ? i *= 10 : a >= b$ ? i *= 5 : a >= x$ && (i *= 2), t < e ? -i : i;
+ return a >= j$ ? i *= 10 : a >= M$ ? i *= 5 : a >= N$ && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function T$(e, t) {
+function L$(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -73601,7 +74210,7 @@ function T$(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function E$(e, t) {
+function R$(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -73612,36 +74221,36 @@ function E$(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function xBe(e, t, n = 0, r = e.length - 1, i = f$) {
+function z$(e, t, n = 0, r = e.length - 1, i = T$) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- xBe(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ z$(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (D$(e, n, t), i(e[r], a) > 0 && D$(e, n, r); o < s;) {
- for (D$(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (B$(e, n, t), i(e[r], a) > 0 && B$(e, n, r); o < s;) {
+ for (B$(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? D$(e, n, s) : (++s, D$(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? B$(e, n, s) : (++s, B$(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function D$(e, t, n) {
+function B$(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function SBe(e, t, n) {
- if (e = Float64Array.from(_Be(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return E$(e);
- if (t >= 1) return T$(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = T$(xBe(e, a).subarray(0, a + 1));
- return o + (E$(e.subarray(a + 1)) - o) * (i - a);
+function FBe(e, t, n) {
+ if (e = Float64Array.from(ABe(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return R$(e);
+ if (t >= 1) return L$(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = L$(z$(e, a).subarray(0, a + 1));
+ return o + (R$(e.subarray(a + 1)) - o) * (i - a);
}
}
-function CBe(e, t, n = m$) {
+function IBe(e, t, n = D$) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -73651,14 +74260,14 @@ function CBe(e, t, n = m$) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function wBe(e, t, n) {
+function LBe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function O$(e, t) {
+function V$(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -73669,7 +74278,7 @@ function O$(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/init.js
-function k$(e, t) {
+function H$(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -73679,7 +74288,7 @@ function k$(e, t) {
}
return this;
}
-function A$(e, t) {
+function U$(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -73691,20 +74300,20 @@ function A$(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/ordinal.js
-var j$ = Symbol("implicit");
-function M$() {
- var e = new _$(), t = [], n = [], r = j$;
+var W$ = Symbol("implicit");
+function G$() {
+ var e = new jBe(), t = [], n = [], r = W$;
function i(i) {
let a = e.get(i);
if (a === void 0) {
- if (r !== j$) return r;
+ if (r !== W$) return r;
e.set(i, a = t.push(i) - 1);
}
return n[a % n.length];
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new _$();
+ t = [], e = new jBe();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -73712,18 +74321,18 @@ function M$() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return M$(t, n).unknown(r);
- }, k$.apply(i, arguments), i;
+ return G$(t, n).unknown(r);
+ }, H$.apply(i, arguments), i;
}
//#endregion
//#region node_modules/d3-scale/src/band.js
-function N$() {
- var e = M$().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
+function K$() {
+ var e = G$().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
delete e.unknown;
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = wBe(e).map(function(e) {
+ var m = LBe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -73749,32 +74358,32 @@ function N$() {
}, e.align = function(e) {
return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
}, e.copy = function() {
- return N$(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
- }, k$.apply(d(), arguments);
+ return K$(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
+ }, H$.apply(d(), arguments);
}
-function P$(e) {
+function q$(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return P$(t());
+ return q$(t());
}, e;
}
-function TBe() {
- return P$(N$.apply(null, arguments).paddingInner(1));
+function RBe() {
+ return q$(K$.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
-function F$(e, t, n) {
+function J$(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function I$(e, t) {
+function Y$(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
}
//#endregion
//#region node_modules/d3-color/src/color.js
-function L$() {}
-var R$ = .7, z$ = 1 / R$, B$ = "\\s*([+-]?\\d+)\\s*", V$ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", H$ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", EBe = /^#([0-9a-f]{3,8})$/, DBe = RegExp(`^rgb\\(${B$},${B$},${B$}\\)$`), OBe = RegExp(`^rgb\\(${H$},${H$},${H$}\\)$`), kBe = RegExp(`^rgba\\(${B$},${B$},${B$},${V$}\\)$`), ABe = RegExp(`^rgba\\(${H$},${H$},${H$},${V$}\\)$`), jBe = RegExp(`^hsl\\(${V$},${H$},${H$}\\)$`), MBe = RegExp(`^hsla\\(${V$},${H$},${H$},${V$}\\)$`), U$ = {
+function X$() {}
+var Z$ = .7, Q$ = 1 / Z$, $$ = "\\s*([+-]?\\d+)\\s*", e1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", t1 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", zBe = /^#([0-9a-f]{3,8})$/, BBe = RegExp(`^rgb\\(${$$},${$$},${$$}\\)$`), VBe = RegExp(`^rgb\\(${t1},${t1},${t1}\\)$`), HBe = RegExp(`^rgba\\(${$$},${$$},${$$},${e1}\\)$`), UBe = RegExp(`^rgba\\(${t1},${t1},${t1},${e1}\\)$`), WBe = RegExp(`^hsl\\(${e1},${t1},${t1}\\)$`), GBe = RegExp(`^hsla\\(${e1},${t1},${t1},${e1}\\)$`), n1 = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -73924,170 +74533,170 @@ var R$ = .7, z$ = 1 / R$, B$ = "\\s*([+-]?\\d+)\\s*", V$ = "\\s*([+-]?(?:\\d*\\.
yellow: 16776960,
yellowgreen: 10145074
};
-F$(L$, K$, {
+J$(X$, a1, {
copy(e) {
return Object.assign(new this.constructor(), this, e);
},
displayable() {
return this.rgb().displayable();
},
- hex: W$,
- formatHex: W$,
- formatHex8: NBe,
- formatHsl: PBe,
- formatRgb: G$,
- toString: G$
+ hex: r1,
+ formatHex: r1,
+ formatHex8: KBe,
+ formatHsl: qBe,
+ formatRgb: i1,
+ toString: i1
});
-function W$() {
+function r1() {
return this.rgb().formatHex();
}
-function NBe() {
+function KBe() {
return this.rgb().formatHex8();
}
-function PBe() {
- return r1(this).formatHsl();
+function qBe() {
+ return g1(this).formatHsl();
}
-function G$() {
+function i1() {
return this.rgb().formatRgb();
}
-function K$(e) {
+function a1(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = EBe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? q$(t) : n === 3 ? new X$(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? J$(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? J$(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = DBe.exec(e)) ? new X$(t[1], t[2], t[3], 1) : (t = OBe.exec(e)) ? new X$(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = kBe.exec(e)) ? J$(t[1], t[2], t[3], t[4]) : (t = ABe.exec(e)) ? J$(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = jBe.exec(e)) ? n1(t[1], t[2] / 100, t[3] / 100, 1) : (t = MBe.exec(e)) ? n1(t[1], t[2] / 100, t[3] / 100, t[4]) : U$.hasOwnProperty(e) ? q$(U$[e]) : e === "transparent" ? new X$(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = zBe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? o1(t) : n === 3 ? new l1(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? s1(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? s1(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = BBe.exec(e)) ? new l1(t[1], t[2], t[3], 1) : (t = VBe.exec(e)) ? new l1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = HBe.exec(e)) ? s1(t[1], t[2], t[3], t[4]) : (t = UBe.exec(e)) ? s1(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = WBe.exec(e)) ? h1(t[1], t[2] / 100, t[3] / 100, 1) : (t = GBe.exec(e)) ? h1(t[1], t[2] / 100, t[3] / 100, t[4]) : n1.hasOwnProperty(e) ? o1(n1[e]) : e === "transparent" ? new l1(NaN, NaN, NaN, 0) : null;
}
-function q$(e) {
- return new X$(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
+function o1(e) {
+ return new l1(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
-function J$(e, t, n, r) {
- return r <= 0 && (e = t = n = NaN), new X$(e, t, n, r);
+function s1(e, t, n, r) {
+ return r <= 0 && (e = t = n = NaN), new l1(e, t, n, r);
}
-function FBe(e) {
- return e instanceof L$ || (e = K$(e)), e ? (e = e.rgb(), new X$(e.r, e.g, e.b, e.opacity)) : new X$();
+function JBe(e) {
+ return e instanceof X$ || (e = a1(e)), e ? (e = e.rgb(), new l1(e.r, e.g, e.b, e.opacity)) : new l1();
}
-function Y$(e, t, n, r) {
- return arguments.length === 1 ? FBe(e) : new X$(e, t, n, r ?? 1);
+function c1(e, t, n, r) {
+ return arguments.length === 1 ? JBe(e) : new l1(e, t, n, r ?? 1);
}
-function X$(e, t, n, r) {
+function l1(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-F$(X$, Y$, I$(L$, {
+J$(l1, c1, Y$(X$, {
brighter(e) {
- return e = e == null ? z$ : z$ ** +e, new X$(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? Q$ : Q$ ** +e, new l1(this.r * e, this.g * e, this.b * e, this.opacity);
},
darker(e) {
- return e = e == null ? R$ : R$ ** +e, new X$(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? Z$ : Z$ ** +e, new l1(this.r * e, this.g * e, this.b * e, this.opacity);
},
rgb() {
return this;
},
clamp() {
- return new X$(e1(this.r), e1(this.g), e1(this.b), $$(this.opacity));
+ return new l1(p1(this.r), p1(this.g), p1(this.b), f1(this.opacity));
},
displayable() {
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
},
- hex: Z$,
- formatHex: Z$,
- formatHex8: IBe,
- formatRgb: Q$,
- toString: Q$
+ hex: u1,
+ formatHex: u1,
+ formatHex8: YBe,
+ formatRgb: d1,
+ toString: d1
}));
-function Z$() {
- return `#${t1(this.r)}${t1(this.g)}${t1(this.b)}`;
+function u1() {
+ return `#${m1(this.r)}${m1(this.g)}${m1(this.b)}`;
}
-function IBe() {
- return `#${t1(this.r)}${t1(this.g)}${t1(this.b)}${t1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
+function YBe() {
+ return `#${m1(this.r)}${m1(this.g)}${m1(this.b)}${m1((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function Q$() {
- let e = $$(this.opacity);
- return `${e === 1 ? "rgb(" : "rgba("}${e1(this.r)}, ${e1(this.g)}, ${e1(this.b)}${e === 1 ? ")" : `, ${e})`}`;
+function d1() {
+ let e = f1(this.opacity);
+ return `${e === 1 ? "rgb(" : "rgba("}${p1(this.r)}, ${p1(this.g)}, ${p1(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
-function $$(e) {
+function f1(e) {
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
}
-function e1(e) {
+function p1(e) {
return Math.max(0, Math.min(255, Math.round(e) || 0));
}
-function t1(e) {
- return e = e1(e), (e < 16 ? "0" : "") + e.toString(16);
+function m1(e) {
+ return e = p1(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function n1(e, t, n, r) {
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new i1(e, t, n, r);
+function h1(e, t, n, r) {
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new _1(e, t, n, r);
}
-function r1(e) {
- if (e instanceof i1) return new i1(e.h, e.s, e.l, e.opacity);
- if (e instanceof L$ || (e = K$(e)), !e) return new i1();
- if (e instanceof i1) return e;
+function g1(e) {
+ if (e instanceof _1) return new _1(e.h, e.s, e.l, e.opacity);
+ if (e instanceof X$ || (e = a1(e)), !e) return new _1();
+ if (e instanceof _1) return e;
e = e.rgb();
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new i1(o, s, c, e.opacity);
+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new _1(o, s, c, e.opacity);
}
-function LBe(e, t, n, r) {
- return arguments.length === 1 ? r1(e) : new i1(e, t, n, r ?? 1);
+function XBe(e, t, n, r) {
+ return arguments.length === 1 ? g1(e) : new _1(e, t, n, r ?? 1);
}
-function i1(e, t, n, r) {
+function _1(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-F$(i1, LBe, I$(L$, {
+J$(_1, XBe, Y$(X$, {
brighter(e) {
- return e = e == null ? z$ : z$ ** +e, new i1(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? Q$ : Q$ ** +e, new _1(this.h, this.s, this.l * e, this.opacity);
},
darker(e) {
- return e = e == null ? R$ : R$ ** +e, new i1(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? Z$ : Z$ ** +e, new _1(this.h, this.s, this.l * e, this.opacity);
},
rgb() {
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
- return new X$(s1(e >= 240 ? e - 240 : e + 120, i, r), s1(e, i, r), s1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
+ return new l1(b1(e >= 240 ? e - 240 : e + 120, i, r), b1(e, i, r), b1(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new i1(a1(this.h), o1(this.s), o1(this.l), $$(this.opacity));
+ return new _1(v1(this.h), y1(this.s), y1(this.l), f1(this.opacity));
},
displayable() {
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
},
formatHsl() {
- let e = $$(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${a1(this.h)}, ${o1(this.s) * 100}%, ${o1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ let e = f1(this.opacity);
+ return `${e === 1 ? "hsl(" : "hsla("}${v1(this.h)}, ${y1(this.s) * 100}%, ${y1(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function a1(e) {
+function v1(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
-function o1(e) {
+function y1(e) {
return Math.max(0, Math.min(1, e || 0));
}
-function s1(e, t, n) {
+function b1(e, t, n) {
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
}
//#endregion
//#region node_modules/d3-interpolate/src/constant.js
-var c1 = (e) => () => e;
+var x1 = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function RBe(e, t) {
+function ZBe(e, t) {
return function(n) {
return e + n * t;
};
}
-function zBe(e, t, n) {
+function QBe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function BBe(e) {
- return (e = +e) == 1 ? l1 : function(t, n) {
- return n - t ? zBe(t, n, e) : c1(isNaN(t) ? n : t);
+function $Be(e) {
+ return (e = +e) == 1 ? S1 : function(t, n) {
+ return n - t ? QBe(t, n, e) : x1(isNaN(t) ? n : t);
};
}
-function l1(e, t) {
+function S1(e, t) {
var n = t - e;
- return n ? RBe(e, n) : c1(isNaN(e) ? t : e);
+ return n ? ZBe(e, n) : x1(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var u1 = (function e(t) {
- var n = BBe(t);
+var C1 = (function e(t) {
+ var n = $Be(t);
function r(e, t) {
- var r = n((e = Y$(e)).r, (t = Y$(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = l1(e.opacity, t.opacity);
+ var r = n((e = c1(e)).r, (t = c1(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = S1(e.opacity, t.opacity);
return function(t) {
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
};
@@ -74096,7 +74705,7 @@ var u1 = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function VBe(e, t) {
+function eVe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -74104,13 +74713,13 @@ function VBe(e, t) {
return r;
};
}
-function HBe(e) {
+function tVe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function UBe(e, t) {
- for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = m1(e[o], t[o]);
+function nVe(e, t) {
+ for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = D1(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
return function(e) {
for (o = 0; o < r; ++o) a[o] = i[o](e);
@@ -74119,7 +74728,7 @@ function UBe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function WBe(e, t) {
+function rVe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -74127,16 +74736,16 @@ function WBe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/number.js
-function d1(e, t) {
+function w1(e, t) {
return e = +e, t = +t, function(n) {
return e * (1 - n) + t * n;
};
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function GBe(e, t) {
+function iVe(e, t) {
var n = {}, r = {}, i;
- for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = m1(e[i], t[i]) : r[i] = t[i];
+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = D1(e[i], t[i]) : r[i] = t[i];
return function(e) {
for (i in n) r[i] = n[i](e);
return r;
@@ -74144,45 +74753,45 @@ function GBe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/string.js
-var f1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, p1 = new RegExp(f1.source, "g");
-function KBe(e) {
+var T1 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, E1 = new RegExp(T1.source, "g");
+function aVe(e) {
return function() {
return e;
};
}
-function qBe(e) {
+function oVe(e) {
return function(t) {
return e(t) + "";
};
}
-function JBe(e, t) {
- var n = f1.lastIndex = p1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
- for (e += "", t += ""; (r = f1.exec(e)) && (i = p1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
+function sVe(e, t) {
+ var n = T1.lastIndex = E1.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
+ for (e += "", t += ""; (r = T1.exec(e)) && (i = E1.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
- x: d1(r, i)
- })), n = p1.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? qBe(c[0].x) : KBe(t) : (t = c.length, function(e) {
+ x: w1(r, i)
+ })), n = E1.lastIndex;
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? oVe(c[0].x) : aVe(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
}
//#endregion
//#region node_modules/d3-interpolate/src/value.js
-function m1(e, t) {
+function D1(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? c1(t) : (n === "number" ? d1 : n === "string" ? (r = K$(t)) ? (t = r, u1) : JBe : t instanceof K$ ? u1 : t instanceof Date ? WBe : HBe(t) ? VBe : Array.isArray(t) ? UBe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? GBe : d1)(e, t);
+ return t == null || n === "boolean" ? x1(t) : (n === "number" ? w1 : n === "string" ? (r = a1(t)) ? (t = r, C1) : sVe : t instanceof a1 ? C1 : t instanceof Date ? rVe : tVe(t) ? eVe : Array.isArray(t) ? nVe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? iVe : w1)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
-function h1(e, t) {
+function O1(e, t) {
return e = +e, t = +t, function(n) {
return Math.round(e * (1 - n) + t * n);
};
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function YBe(e, t) {
- t === void 0 && (t = e, e = m1);
+function cVe(e, t) {
+ t === void 0 && (t = e, e = D1);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));
@@ -74191,69 +74800,69 @@ function YBe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function XBe(e) {
+function lVe(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-scale/src/number.js
-function g1(e) {
+function k1(e) {
return +e;
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var _1 = [0, 1];
-function v1(e) {
+var A1 = [0, 1];
+function j1(e) {
return e;
}
-function y1(e, t) {
+function M1(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : XBe(isNaN(t) ? NaN : .5);
+ } : lVe(isNaN(t) ? NaN : .5);
}
-function ZBe(e, t) {
+function uVe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function QBe(e, t, n) {
+function dVe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
- return i < r ? (r = y1(i, r), a = n(o, a)) : (r = y1(r, i), a = n(a, o)), function(e) {
+ return i < r ? (r = M1(i, r), a = n(o, a)) : (r = M1(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function $Be(e, t, n) {
+function fVe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
- for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = y1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = M1(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = g$(e, t, 1, r) - 1;
+ var n = k$(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
-function b1(e, t) {
+function N1(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
-function x1() {
- var e = _1, t = _1, n = m1, r, i, a, o = v1, s, c, l;
+function P1() {
+ var e = A1, t = A1, n = D1, r, i, a, o = j1, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== v1 && (o = ZBe(e[0], e[n - 1])), s = n > 2 ? $Be : QBe, c = l = null, d;
+ return o !== j1 && (o = uVe(e[0], e[n - 1])), s = n > 2 ? fVe : dVe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
}
return d.invert = function(n) {
- return o(i((l ||= s(t, e.map(r), d1))(n)));
+ return o(i((l ||= s(t, e.map(r), w1))(n)));
}, d.domain = function(t) {
- return arguments.length ? (e = Array.from(t, g1), u()) : e.slice();
+ return arguments.length ? (e = Array.from(t, k1), u()) : e.slice();
}, d.range = function(e) {
return arguments.length ? (t = Array.from(e), u()) : t.slice();
}, d.rangeRound = function(e) {
- return t = Array.from(e), n = h1, u();
+ return t = Array.from(e), n = O1, u();
}, d.clamp = function(e) {
- return arguments.length ? (o = e ? !0 : v1, u()) : o !== v1;
+ return arguments.length ? (o = e ? !0 : j1, u()) : o !== j1;
}, d.interpolate = function(e) {
return arguments.length ? (n = e, u()) : n;
}, d.unknown = function(e) {
@@ -74262,27 +74871,27 @@ function x1() {
return r = e, i = t, u();
};
}
-function S1() {
- return x1()(v1, v1);
+function F1() {
+ return P1()(j1, j1);
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function eVe(e) {
+function pVe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
-function C1(e, t) {
+function I1(e, t) {
if (!isFinite(e) || e === 0) return null;
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
}
//#endregion
//#region node_modules/d3-format/src/exponent.js
-function w1(e) {
- return e = C1(Math.abs(e)), e ? e[1] : NaN;
+function L1(e) {
+ return e = I1(Math.abs(e)), e ? e[1] : NaN;
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function tVe(e, t) {
+function mVe(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -74290,7 +74899,7 @@ function tVe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function nVe(e) {
+function hVe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -74299,11 +74908,11 @@ function nVe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var rVe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
-function T1(e) {
- if (!(t = rVe.exec(e))) throw Error("invalid format: " + e);
+var gVe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+function R1(e) {
+ if (!(t = gVe.exec(e))) throw Error("invalid format: " + e);
var t;
- return new E1({
+ return new z1({
fill: t[1],
align: t[2],
sign: t[3],
@@ -74316,16 +74925,16 @@ function T1(e) {
type: t[10]
});
}
-T1.prototype = E1.prototype;
-function E1(e) {
+R1.prototype = z1.prototype;
+function z1(e) {
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
}
-E1.prototype.toString = function() {
+z1.prototype.toString = function() {
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function iVe(e) {
+function _Ve(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -74341,46 +74950,46 @@ function iVe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
-var D1;
-function aVe(e, t) {
- var n = C1(e, t);
- if (!n) return D1 = void 0, e.toPrecision(t);
- var r = n[0], i = n[1], a = i - (D1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + C1(e, Math.max(0, t + a - 1))[0];
+var B1;
+function vVe(e, t) {
+ var n = I1(e, t);
+ if (!n) return B1 = void 0, e.toPrecision(t);
+ var r = n[0], i = n[1], a = i - (B1 = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + I1(e, Math.max(0, t + a - 1))[0];
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function O1(e, t) {
- var n = C1(e, t);
+function V1(e, t) {
+ var n = I1(e, t);
if (!n) return e + "";
var r = n[0], i = n[1];
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
}
//#endregion
//#region node_modules/d3-format/src/formatTypes.js
-var k1 = {
+var H1 = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: eVe,
+ d: pVe,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
- p: (e, t) => O1(e * 100, t),
- r: O1,
- s: aVe,
+ p: (e, t) => V1(e * 100, t),
+ r: V1,
+ s: vVe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
//#endregion
//#region node_modules/d3-format/src/identity.js
-function A1(e) {
+function U1(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var j1 = Array.prototype.map, M1 = [
+var W1 = Array.prototype.map, yVe = [
"y",
"z",
"a",
@@ -74399,13 +75008,13 @@ var j1 = Array.prototype.map, M1 = [
"Z",
"Y"
];
-function oVe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? A1 : tVe(j1.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? A1 : nVe(j1.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function bVe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? U1 : mVe(W1.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? U1 : hVe(W1.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
- e = T1(e);
+ e = R1(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
- y === "n" ? (g = !0, y = "g") : k1[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = k1[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : H1[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = H1[y], C = /[defgprs%]/.test(y);
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
function w(e) {
var n = b, r = x, o, l, p;
@@ -74413,7 +75022,7 @@ function oVe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = iVe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && D1 !== void 0 ? M1[8 + D1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = _Ve(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && B1 !== void 0 ? yVe[8 + B1 / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -74441,7 +75050,7 @@ function oVe(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(w1(t) / 3))) * 3, r = 10 ** -n, i = l((e = T1(e), e.type = "f", e), { suffix: M1[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3, r = 10 ** -n, i = l((e = R1(e), e.type = "f", e), { suffix: yVe[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -74453,65 +75062,65 @@ function oVe(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var N1, P1, F1;
-sVe({
+var G1, K1, xVe;
+SVe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function sVe(e) {
- return N1 = oVe(e), P1 = N1.format, F1 = N1.formatPrefix, N1;
+function SVe(e) {
+ return G1 = bVe(e), K1 = G1.format, xVe = G1.formatPrefix, G1;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function cVe(e) {
- return Math.max(0, -w1(Math.abs(e)));
+function CVe(e) {
+ return Math.max(0, -L1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function lVe(e, t) {
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(w1(t) / 3))) * 3 - w1(Math.abs(e)));
+function wVe(e, t) {
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(L1(t) / 3))) * 3 - L1(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function uVe(e, t) {
- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, w1(t) - w1(e)) + 1;
+function TVe(e, t) {
+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, L1(t) - L1(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function I1(e, t, n, r) {
- var i = w$(e, t, n), a;
- switch (r = T1(r ?? ",f"), r.type) {
+function EVe(e, t, n, r) {
+ var i = I$(e, t, n), a;
+ switch (r = R1(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = lVe(i, o)) && (r.precision = a), F1(r, o);
+ return r.precision == null && !isNaN(a = wVe(i, o)) && (r.precision = a), xVe(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = uVe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = TVe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = cVe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = CVe(i)) && (r.precision = a - (r.type === "%") * 2);
}
- return P1(r);
+ return K1(r);
}
//#endregion
//#region node_modules/d3-scale/src/linear.js
-function L1(e) {
+function q1(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return S$(n[0], n[n.length - 1], e ?? 10);
+ return P$(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return I1(r[0], r[r.length - 1], e ?? 10, n);
+ return EVe(r[0], r[r.length - 1], e ?? 10, n);
}, e.nice = function(n) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = C$(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = F$(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -74520,64 +75129,64 @@ function L1(e) {
return e;
}, e;
}
-function R1() {
- var e = S1();
+function DVe() {
+ var e = F1();
return e.copy = function() {
- return b1(e, R1());
- }, k$.apply(e, arguments), L1(e);
+ return N1(e, DVe());
+ }, H$.apply(e, arguments), q1(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function z1(e) {
+function OVe(e) {
var t;
function n(e) {
return e == null || isNaN(e = +e) ? t : e;
}
return n.invert = n, n.domain = n.range = function(t) {
- return arguments.length ? (e = Array.from(t, g1), n) : e.slice();
+ return arguments.length ? (e = Array.from(t, k1), n) : e.slice();
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return z1(e).unknown(t);
- }, e = arguments.length ? Array.from(e, g1) : [0, 1], L1(n);
+ return OVe(e).unknown(t);
+ }, e = arguments.length ? Array.from(e, k1) : [0, 1], q1(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function B1(e, t) {
+function kVe(e, t) {
e = e.slice();
var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
}
//#endregion
//#region node_modules/d3-scale/src/log.js
-function V1(e) {
+function AVe(e) {
return Math.log(e);
}
-function H1(e) {
+function jVe(e) {
return Math.exp(e);
}
-function dVe(e) {
+function MVe(e) {
return -Math.log(-e);
}
-function fVe(e) {
+function NVe(e) {
return -Math.exp(-e);
}
-function pVe(e) {
+function PVe(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function mVe(e) {
- return e === 10 ? pVe : e === Math.E ? Math.exp : (t) => e ** +t;
+function FVe(e) {
+ return e === 10 ? PVe : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function hVe(e) {
+function IVe(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
-function U1(e) {
+function LVe(e) {
return (t, n) => -e(-t, n);
}
-function W1(e) {
- let t = e(V1, H1), n = t.domain, r = 10, i, a;
+function J1(e) {
+ let t = e(AVe, jVe), n = t.domain, r = 10, i, a;
function o() {
- return i = hVe(r), a = mVe(r), n()[0] < 0 ? (i = U1(i), a = U1(a), e(dVe, fVe)) : e(V1, H1), t;
+ return i = IVe(r), a = FVe(r), n()[0] < 0 ? (i = LVe(i), a = LVe(a), e(MVe, NVe)) : e(AVe, jVe), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -74597,100 +75206,100 @@ function W1(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = S$(o, s, p));
- } else m = S$(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = P$(o, s, p));
+ } else m = P$(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = T1(n)).precision == null && (n.trim = !0), n = P1(n)), e === Infinity) return n;
+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = R1(n)).precision == null && (n.trim = !0), n = K1(n)), e === Infinity) return n;
let o = Math.max(1, r * e / t.ticks().length);
return (e) => {
let t = e / a(Math.round(i(e)));
return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";
};
- }, t.nice = () => n(B1(n(), {
+ }, t.nice = () => n(kVe(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
-function G1() {
- let e = W1(x1()).domain([1, 10]);
- return e.copy = () => b1(e, G1()).base(e.base()), k$.apply(e, arguments), e;
+function RVe() {
+ let e = J1(P1()).domain([1, 10]);
+ return e.copy = () => N1(e, RVe()).base(e.base()), H$.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
-function K1(e) {
+function zVe(e) {
return function(t) {
return Math.sign(t) * Math.log1p(Math.abs(t / e));
};
}
-function gVe(e) {
+function BVe(e) {
return function(t) {
return Math.sign(t) * Math.expm1(Math.abs(t)) * e;
};
}
-function q1(e) {
- var t = 1, n = e(K1(t), gVe(t));
+function Y1(e) {
+ var t = 1, n = e(zVe(t), BVe(t));
return n.constant = function(n) {
- return arguments.length ? e(K1(t = +n), gVe(t)) : t;
- }, L1(n);
+ return arguments.length ? e(zVe(t = +n), BVe(t)) : t;
+ }, q1(n);
}
-function _Ve() {
- var e = q1(x1());
+function VVe() {
+ var e = Y1(P1());
return e.copy = function() {
- return b1(e, _Ve()).constant(e.constant());
- }, k$.apply(e, arguments);
+ return N1(e, VVe()).constant(e.constant());
+ }, H$.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
-function vVe(e) {
+function HVe(e) {
return function(t) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function yVe(e) {
+function UVe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function bVe(e) {
+function WVe(e) {
return e < 0 ? -e * e : e * e;
}
-function J1(e) {
- var t = e(v1, v1), n = 1;
+function X1(e) {
+ var t = e(j1, j1), n = 1;
function r() {
- return n === 1 ? e(v1, v1) : n === .5 ? e(yVe, bVe) : e(vVe(n), vVe(1 / n));
+ return n === 1 ? e(j1, j1) : n === .5 ? e(UVe, WVe) : e(HVe(n), HVe(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
- }, L1(t);
+ }, q1(t);
}
-function Y1() {
- var e = J1(x1());
+function Z1() {
+ var e = X1(P1());
return e.copy = function() {
- return b1(e, Y1()).exponent(e.exponent());
- }, k$.apply(e, arguments), e;
+ return N1(e, Z1()).exponent(e.exponent());
+ }, H$.apply(e, arguments), e;
}
-function xVe() {
- return Y1.apply(null, arguments).exponent(.5);
+function GVe() {
+ return Z1.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/radial.js
-function SVe(e) {
+function KVe(e) {
return Math.sign(e) * e * e;
}
-function CVe(e) {
+function qVe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
-function wVe() {
- var e = S1(), t = [0, 1], n = !1, r;
+function JVe() {
+ var e = F1(), t = [0, 1], n = !1, r;
function i(t) {
- var i = CVe(e(t));
+ var i = qVe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
- return e.invert(SVe(t));
+ return e.invert(KVe(t));
}, i.domain = function(t) {
return arguments.length ? (e.domain(t), i) : e.domain();
}, i.range = function(n) {
- return arguments.length ? (e.range((t = Array.from(n, g1)).map(SVe)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, k1)).map(KVe)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -74700,20 +75309,20 @@ function wVe() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return wVe(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
- }, k$.apply(i, arguments), L1(i);
+ return JVe(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
+ }, H$.apply(i, arguments), q1(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
-function TVe() {
+function YVe() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = CBe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = IBe(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[g$(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[k$(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -74722,7 +75331,7 @@ function TVe() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(f$), i();
+ return e.sort(T$), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -74730,15 +75339,15 @@ function TVe() {
}, a.quantiles = function() {
return n.slice();
}, a.copy = function() {
- return TVe().domain(e).range(t).unknown(r);
- }, k$.apply(a, arguments);
+ return YVe().domain(e).range(t).unknown(r);
+ }, H$.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
-function EVe() {
+function XVe() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[g$(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[k$(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -74757,15 +75366,15 @@ function EVe() {
}, o.thresholds = function() {
return r.slice();
}, o.copy = function() {
- return EVe().domain([e, t]).range(i).unknown(a);
- }, k$.apply(L1(o), arguments);
+ return XVe().domain([e, t]).range(i).unknown(a);
+ }, H$.apply(q1(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
-function DVe() {
+function ZVe() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[g$(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[k$(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -74777,13 +75386,13 @@ function DVe() {
}, i.unknown = function(e) {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
- return DVe().domain(e).range(t).unknown(n);
- }, k$.apply(i, arguments);
+ return ZVe().domain(e).range(t).unknown(n);
+ }, H$.apply(i, arguments);
}
//#endregion
//#region node_modules/d3-time/src/interval.js
-var X1 = /* @__PURE__ */ new Date(), Z1 = /* @__PURE__ */ new Date();
-function Q1(e, t, n, r) {
+var Q1 = /* @__PURE__ */ new Date(), $1 = /* @__PURE__ */ new Date();
+function e0(e, t, n, r) {
function i(t) {
return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;
}
@@ -74798,226 +75407,226 @@ function Q1(e, t, n, r) {
o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);
while (s < n && n < r);
return o;
- }, i.filter = (n) => Q1((t) => {
+ }, i.filter = (n) => e0((t) => {
if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);
}, (e, r) => {
if (e >= e) {
if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););
else for (; --r >= 0;) for (; t(e, 1), !n(e););
}
- }), n && (i.count = (t, r) => (X1.setTime(+t), Z1.setTime(+r), e(X1), e(Z1), Math.floor(n(X1, Z1))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
+ }), n && (i.count = (t, r) => (Q1.setTime(+t), $1.setTime(+r), e(Q1), e($1), Math.floor(n(Q1, $1))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
}
//#endregion
//#region node_modules/d3-time/src/millisecond.js
-var $1 = Q1(() => {}, (e, t) => {
+var t0 = e0(() => {}, (e, t) => {
e.setTime(+e + t);
}, (e, t) => t - e);
-$1.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? Q1((t) => {
+t0.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? e0((t) => {
t.setTime(Math.floor(t / e) * e);
}, (t, n) => {
t.setTime(+t + n * e);
-}, (t, n) => (n - t) / e) : $1), $1.range;
+}, (t, n) => (n - t) / e) : t0), t0.range;
//#endregion
//#region node_modules/d3-time/src/duration.js
-var e0 = 1e3, t0 = e0 * 60, n0 = t0 * 60, r0 = n0 * 24, i0 = r0 * 7, OVe = r0 * 30, a0 = r0 * 365, o0 = Q1((e) => {
+var n0 = 1e3, r0 = n0 * 60, i0 = r0 * 60, a0 = i0 * 24, o0 = a0 * 7, QVe = a0 * 30, s0 = a0 * 365, c0 = e0((e) => {
e.setTime(e - e.getMilliseconds());
}, (e, t) => {
- e.setTime(+e + t * e0);
-}, (e, t) => (t - e) / e0, (e) => e.getUTCSeconds());
-o0.range;
+ e.setTime(+e + t * n0);
+}, (e, t) => (t - e) / n0, (e) => e.getUTCSeconds());
+c0.range;
//#endregion
//#region node_modules/d3-time/src/minute.js
-var s0 = Q1((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * e0);
+var l0 = e0((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * n0);
}, (e, t) => {
- e.setTime(+e + t * t0);
-}, (e, t) => (t - e) / t0, (e) => e.getMinutes());
-s0.range;
-var c0 = Q1((e) => {
+ e.setTime(+e + t * r0);
+}, (e, t) => (t - e) / r0, (e) => e.getMinutes());
+l0.range;
+var u0 = e0((e) => {
e.setUTCSeconds(0, 0);
}, (e, t) => {
- e.setTime(+e + t * t0);
-}, (e, t) => (t - e) / t0, (e) => e.getUTCMinutes());
-c0.range;
+ e.setTime(+e + t * r0);
+}, (e, t) => (t - e) / r0, (e) => e.getUTCMinutes());
+u0.range;
//#endregion
//#region node_modules/d3-time/src/hour.js
-var l0 = Q1((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * e0 - e.getMinutes() * t0);
+var d0 = e0((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * n0 - e.getMinutes() * r0);
}, (e, t) => {
- e.setTime(+e + t * n0);
-}, (e, t) => (t - e) / n0, (e) => e.getHours());
-l0.range;
-var u0 = Q1((e) => {
+ e.setTime(+e + t * i0);
+}, (e, t) => (t - e) / i0, (e) => e.getHours());
+d0.range;
+var f0 = e0((e) => {
e.setUTCMinutes(0, 0, 0);
}, (e, t) => {
- e.setTime(+e + t * n0);
-}, (e, t) => (t - e) / n0, (e) => e.getUTCHours());
-u0.range;
+ e.setTime(+e + t * i0);
+}, (e, t) => (t - e) / i0, (e) => e.getUTCHours());
+f0.range;
//#endregion
//#region node_modules/d3-time/src/day.js
-var d0 = Q1((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * t0) / r0, (e) => e.getDate() - 1);
-d0.range;
-var f0 = Q1((e) => {
+var p0 = e0((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * r0) / a0, (e) => e.getDate() - 1);
+p0.range;
+var m0 = e0((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / r0, (e) => e.getUTCDate() - 1);
-f0.range;
-var kVe = Q1((e) => {
+}, (e, t) => (t - e) / a0, (e) => e.getUTCDate() - 1);
+m0.range;
+var $Ve = e0((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / r0, (e) => Math.floor(e / r0));
-kVe.range;
+}, (e, t) => (t - e) / a0, (e) => Math.floor(e / a0));
+$Ve.range;
//#endregion
//#region node_modules/d3-time/src/week.js
-function p0(e) {
- return Q1((t) => {
+function h0(e) {
+ return e0((t) => {
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setDate(e.getDate() + t * 7);
- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * t0) / i0);
+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * r0) / o0);
}
-var m0 = p0(0), h0 = p0(1), AVe = p0(2), jVe = p0(3), g0 = p0(4), MVe = p0(5), NVe = p0(6);
-m0.range, h0.range, AVe.range, jVe.range, g0.range, MVe.range, NVe.range;
-function _0(e) {
- return Q1((t) => {
+var g0 = h0(0), _0 = h0(1), eHe = h0(2), tHe = h0(3), v0 = h0(4), nHe = h0(5), rHe = h0(6);
+g0.range, _0.range, eHe.range, tHe.range, v0.range, nHe.range, rHe.range;
+function y0(e) {
+ return e0((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t * 7);
- }, (e, t) => (t - e) / i0);
+ }, (e, t) => (t - e) / o0);
}
-var v0 = _0(0), y0 = _0(1), PVe = _0(2), FVe = _0(3), b0 = _0(4), IVe = _0(5), LVe = _0(6);
-v0.range, y0.range, PVe.range, FVe.range, b0.range, IVe.range, LVe.range;
+var b0 = y0(0), x0 = y0(1), iHe = y0(2), aHe = y0(3), S0 = y0(4), oHe = y0(5), sHe = y0(6);
+b0.range, x0.range, iHe.range, aHe.range, S0.range, oHe.range, sHe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
-var x0 = Q1((e) => {
+var C0 = e0((e) => {
e.setDate(1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setMonth(e.getMonth() + t);
}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
-x0.range;
-var S0 = Q1((e) => {
+C0.range;
+var w0 = e0((e) => {
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCMonth(e.getUTCMonth() + t);
}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
-S0.range;
+w0.range;
//#endregion
//#region node_modules/d3-time/src/year.js
-var C0 = Q1((e) => {
+var T0 = e0((e) => {
e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setFullYear(e.getFullYear() + t);
}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
-C0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Q1((t) => {
+T0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : e0((t) => {
t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
}, (t, n) => {
t.setFullYear(t.getFullYear() + n * e);
-}), C0.range;
-var w0 = Q1((e) => {
+}), T0.range;
+var E0 = e0((e) => {
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCFullYear(e.getUTCFullYear() + t);
}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
-w0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : Q1((t) => {
+E0.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : e0((t) => {
t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
}, (t, n) => {
t.setUTCFullYear(t.getUTCFullYear() + n * e);
-}), w0.range;
+}), E0.range;
//#endregion
//#region node_modules/d3-time/src/ticks.js
-function RVe(e, t, n, r, i, a) {
+function cHe(e, t, n, r, i, a) {
let o = [
[
- o0,
+ c0,
1,
- e0
+ n0
],
[
- o0,
+ c0,
5,
- 5 * e0
+ 5 * n0
],
[
- o0,
+ c0,
15,
- 15 * e0
+ 15 * n0
],
[
- o0,
+ c0,
30,
- 30 * e0
+ 30 * n0
],
[
a,
1,
- t0
+ r0
],
[
a,
5,
- 5 * t0
+ 5 * r0
],
[
a,
15,
- 15 * t0
+ 15 * r0
],
[
a,
30,
- 30 * t0
+ 30 * r0
],
[
i,
1,
- n0
+ i0
],
[
i,
3,
- 3 * n0
+ 3 * i0
],
[
i,
6,
- 6 * n0
+ 6 * i0
],
[
i,
12,
- 12 * n0
+ 12 * i0
],
[
r,
1,
- r0
+ a0
],
[
r,
2,
- 2 * r0
+ 2 * a0
],
[
n,
1,
- i0
+ o0
],
[
t,
1,
- OVe
+ QVe
],
[
t,
3,
- 3 * OVe
+ 3 * QVe
],
[
e,
1,
- a0
+ s0
]
];
function s(e, t, n) {
@@ -75027,32 +75636,32 @@ function RVe(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = p$(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(w$(t / a0, n / a0, r));
- if (a === 0) return $1.every(Math.max(w$(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = E$(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(I$(t / s0, n / s0, r));
+ if (a === 0) return t0.every(Math.max(I$(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
return [s, c];
}
-var [zVe, BVe] = RVe(w0, S0, v0, kVe, u0, c0), [VVe, HVe] = RVe(C0, x0, m0, d0, l0, s0);
+var [lHe, uHe] = cHe(E0, w0, b0, $Ve, f0, u0), [dHe, fHe] = cHe(T0, C0, g0, p0, d0, l0);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
-function T0(e) {
+function D0(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
return t.setFullYear(e.y), t;
}
return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);
}
-function E0(e) {
+function O0(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));
return t.setUTCFullYear(e.y), t;
}
return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));
}
-function D0(e, t, n) {
+function k0(e, t, n) {
return {
y: e,
m: t,
@@ -75063,133 +75672,133 @@ function D0(e, t, n) {
L: 0
};
}
-function UVe(e) {
- var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = A0(i), u = j0(i), d = A0(a), f = j0(a), p = A0(o), m = j0(o), h = A0(s), g = j0(s), _ = A0(c), v = j0(c), y = {
+function pHe(e) {
+ var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = M0(i), u = N0(i), d = M0(a), f = N0(a), p = M0(o), m = N0(o), h = M0(s), g = N0(s), _ = M0(c), v = N0(c), y = {
a: N,
A: P,
b: ee,
B: F,
c: null,
- d: mHe,
- e: mHe,
- f: yHe,
- g: AHe,
- G: MHe,
- H: hHe,
- I: gHe,
- j: _He,
- L: vHe,
- m: bHe,
- M: xHe,
+ d: RHe,
+ e: RHe,
+ f: UHe,
+ g: eUe,
+ G: nUe,
+ H: zHe,
+ I: BHe,
+ j: VHe,
+ L: HHe,
+ m: WHe,
+ M: GHe,
p: te,
q: ne,
- Q: tUe,
- s: nUe,
- S: SHe,
- u: CHe,
- U: wHe,
- V: EHe,
- w: DHe,
- W: OHe,
+ Q: TUe,
+ s: EUe,
+ S: KHe,
+ u: qHe,
+ U: JHe,
+ V: XHe,
+ w: ZHe,
+ W: QHe,
x: null,
X: null,
- y: kHe,
- Y: jHe,
- Z: NHe,
- "%": eUe
+ y: $He,
+ Y: tUe,
+ Z: rUe,
+ "%": wUe
}, b = {
a: re,
A: ie,
b: ae,
B: oe,
c: null,
- d: PHe,
- e: PHe,
- f: zHe,
- g: XHe,
- G: QHe,
- H: FHe,
- I: IHe,
- j: LHe,
- L: RHe,
- m: BHe,
- M: VHe,
+ d: iUe,
+ e: iUe,
+ f: lUe,
+ g: bUe,
+ G: SUe,
+ H: aUe,
+ I: oUe,
+ j: sUe,
+ L: cUe,
+ m: uUe,
+ M: dUe,
p: se,
q: ce,
- Q: tUe,
- s: nUe,
- S: HHe,
- u: UHe,
- U: WHe,
- V: KHe,
- w: qHe,
- W: JHe,
+ Q: TUe,
+ s: EUe,
+ S: fUe,
+ u: pUe,
+ U: mUe,
+ V: gUe,
+ w: _Ue,
+ W: vUe,
x: null,
X: null,
- y: YHe,
- Y: ZHe,
- Z: $He,
- "%": eUe
+ y: yUe,
+ Y: xUe,
+ Z: CUe,
+ "%": wUe
}, x = {
a: E,
A: D,
b: O,
B: k,
c: A,
- d: iHe,
- e: iHe,
- f: uHe,
- g: eHe,
- G: $Ve,
- H: oHe,
- I: oHe,
- j: aHe,
- L: lHe,
- m: rHe,
- M: sHe,
+ d: OHe,
+ e: OHe,
+ f: PHe,
+ g: wHe,
+ G: CHe,
+ H: AHe,
+ I: AHe,
+ j: kHe,
+ L: NHe,
+ m: DHe,
+ M: jHe,
p: T,
- q: nHe,
- Q: fHe,
- s: pHe,
- S: cHe,
- u: YVe,
- U: XVe,
- V: ZVe,
- w: JVe,
- W: QVe,
+ q: EHe,
+ Q: IHe,
+ s: LHe,
+ S: MHe,
+ u: yHe,
+ U: bHe,
+ V: xHe,
+ w: vHe,
+ W: SHe,
x: j,
X: M,
- y: eHe,
- Y: $Ve,
- Z: tHe,
- "%": dHe
+ y: wHe,
+ Y: CHe,
+ Z: THe,
+ "%": FHe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
return function(n) {
var r = [], i = -1, a = 0, o = e.length, s, c, l;
- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = WVe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = mHe[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
return r.push(e.slice(a, i)), r.join("");
};
}
function C(e, t) {
return function(n) {
- var r = D0(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
+ var r = k0(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
if (i != n.length) return null;
if ("Q" in r) return new Date(r.Q);
if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));
if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {
if (r.V < 1 || r.V > 53) return null;
- "w" in r || (r.w = 1), "Z" in r ? (a = E0(D0(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? y0.ceil(a) : y0(a), a = f0.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = T0(D0(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? h0.ceil(a) : h0(a), a = d0.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? E0(D0(r.y, 0, 1)).getUTCDay() : T0(D0(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, E0(r)) : T0(r);
+ "w" in r || (r.w = 1), "Z" in r ? (a = O0(k0(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? x0.ceil(a) : x0(a), a = m0.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = D0(k0(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? _0.ceil(a) : _0(a), a = p0.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? O0(k0(r.y, 0, 1)).getUTCDay() : D0(k0(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, O0(r)) : D0(r);
};
}
function w(e, t, n, r) {
for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
if (r >= o) return -1;
if (s = t.charCodeAt(i++), s === 37) {
- if (s = t.charAt(i++), c = x[s in WVe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
+ if (s = t.charAt(i++), c = x[s in mHe ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
} else if (s != n.charCodeAt(r++)) return -1;
}
return r;
@@ -75286,244 +75895,244 @@ function UVe(e) {
}
};
}
-var WVe = {
+var mHe = {
"-": "",
_: " ",
0: "0"
-}, O0 = /^\s*\d+/, GVe = /^%/, KVe = /[\\^$*+?|[\]().{}]/g;
-function k0(e, t, n) {
+}, A0 = /^\s*\d+/, hHe = /^%/, gHe = /[\\^$*+?|[\]().{}]/g;
+function j0(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function qVe(e) {
- return e.replace(KVe, "\\$&");
+function _He(e) {
+ return e.replace(gHe, "\\$&");
}
-function A0(e) {
- return RegExp("^(?:" + e.map(qVe).join("|") + ")", "i");
+function M0(e) {
+ return RegExp("^(?:" + e.map(_He).join("|") + ")", "i");
}
-function j0(e) {
+function N0(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function JVe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 1));
+function vHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function YVe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 1));
+function yHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function XVe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function bHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function ZVe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function xHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function QVe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function SHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
-function $Ve(e, t, n) {
- var r = O0.exec(t.slice(n, n + 4));
+function CHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 4));
return r ? (e.y = +r[0], n + r[0].length) : -1;
}
-function eHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function wHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function tHe(e, t, n) {
+function THe(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function nHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 1));
+function EHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function rHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function DHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
-function iHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function OHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function aHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 3));
+function kHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
-function oHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function AHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function sHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function jHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function cHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 2));
+function MHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function lHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 3));
+function NHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function uHe(e, t, n) {
- var r = O0.exec(t.slice(n, n + 6));
+function PHe(e, t, n) {
+ var r = A0.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function dHe(e, t, n) {
- var r = GVe.exec(t.slice(n, n + 1));
+function FHe(e, t, n) {
+ var r = hHe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function fHe(e, t, n) {
- var r = O0.exec(t.slice(n));
+function IHe(e, t, n) {
+ var r = A0.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function pHe(e, t, n) {
- var r = O0.exec(t.slice(n));
+function LHe(e, t, n) {
+ var r = A0.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
-function mHe(e, t) {
- return k0(e.getDate(), t, 2);
+function RHe(e, t) {
+ return j0(e.getDate(), t, 2);
}
-function hHe(e, t) {
- return k0(e.getHours(), t, 2);
+function zHe(e, t) {
+ return j0(e.getHours(), t, 2);
}
-function gHe(e, t) {
- return k0(e.getHours() % 12 || 12, t, 2);
+function BHe(e, t) {
+ return j0(e.getHours() % 12 || 12, t, 2);
}
-function _He(e, t) {
- return k0(1 + d0.count(C0(e), e), t, 3);
+function VHe(e, t) {
+ return j0(1 + p0.count(T0(e), e), t, 3);
}
-function vHe(e, t) {
- return k0(e.getMilliseconds(), t, 3);
+function HHe(e, t) {
+ return j0(e.getMilliseconds(), t, 3);
}
-function yHe(e, t) {
- return vHe(e, t) + "000";
+function UHe(e, t) {
+ return HHe(e, t) + "000";
}
-function bHe(e, t) {
- return k0(e.getMonth() + 1, t, 2);
+function WHe(e, t) {
+ return j0(e.getMonth() + 1, t, 2);
}
-function xHe(e, t) {
- return k0(e.getMinutes(), t, 2);
+function GHe(e, t) {
+ return j0(e.getMinutes(), t, 2);
}
-function SHe(e, t) {
- return k0(e.getSeconds(), t, 2);
+function KHe(e, t) {
+ return j0(e.getSeconds(), t, 2);
}
-function CHe(e) {
+function qHe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function wHe(e, t) {
- return k0(m0.count(C0(e) - 1, e), t, 2);
+function JHe(e, t) {
+ return j0(g0.count(T0(e) - 1, e), t, 2);
}
-function THe(e) {
+function YHe(e) {
var t = e.getDay();
- return t >= 4 || t === 0 ? g0(e) : g0.ceil(e);
+ return t >= 4 || t === 0 ? v0(e) : v0.ceil(e);
}
-function EHe(e, t) {
- return e = THe(e), k0(g0.count(C0(e), e) + (C0(e).getDay() === 4), t, 2);
+function XHe(e, t) {
+ return e = YHe(e), j0(v0.count(T0(e), e) + (T0(e).getDay() === 4), t, 2);
}
-function DHe(e) {
+function ZHe(e) {
return e.getDay();
}
-function OHe(e, t) {
- return k0(h0.count(C0(e) - 1, e), t, 2);
+function QHe(e, t) {
+ return j0(_0.count(T0(e) - 1, e), t, 2);
}
-function kHe(e, t) {
- return k0(e.getFullYear() % 100, t, 2);
+function $He(e, t) {
+ return j0(e.getFullYear() % 100, t, 2);
}
-function AHe(e, t) {
- return e = THe(e), k0(e.getFullYear() % 100, t, 2);
+function eUe(e, t) {
+ return e = YHe(e), j0(e.getFullYear() % 100, t, 2);
}
-function jHe(e, t) {
- return k0(e.getFullYear() % 1e4, t, 4);
+function tUe(e, t) {
+ return j0(e.getFullYear() % 1e4, t, 4);
}
-function MHe(e, t) {
+function nUe(e, t) {
var n = e.getDay();
- return e = n >= 4 || n === 0 ? g0(e) : g0.ceil(e), k0(e.getFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? v0(e) : v0.ceil(e), j0(e.getFullYear() % 1e4, t, 4);
}
-function NHe(e) {
+function rUe(e) {
var t = e.getTimezoneOffset();
- return (t > 0 ? "-" : (t *= -1, "+")) + k0(t / 60 | 0, "0", 2) + k0(t % 60, "0", 2);
+ return (t > 0 ? "-" : (t *= -1, "+")) + j0(t / 60 | 0, "0", 2) + j0(t % 60, "0", 2);
}
-function PHe(e, t) {
- return k0(e.getUTCDate(), t, 2);
+function iUe(e, t) {
+ return j0(e.getUTCDate(), t, 2);
}
-function FHe(e, t) {
- return k0(e.getUTCHours(), t, 2);
+function aUe(e, t) {
+ return j0(e.getUTCHours(), t, 2);
}
-function IHe(e, t) {
- return k0(e.getUTCHours() % 12 || 12, t, 2);
+function oUe(e, t) {
+ return j0(e.getUTCHours() % 12 || 12, t, 2);
}
-function LHe(e, t) {
- return k0(1 + f0.count(w0(e), e), t, 3);
+function sUe(e, t) {
+ return j0(1 + m0.count(E0(e), e), t, 3);
}
-function RHe(e, t) {
- return k0(e.getUTCMilliseconds(), t, 3);
+function cUe(e, t) {
+ return j0(e.getUTCMilliseconds(), t, 3);
}
-function zHe(e, t) {
- return RHe(e, t) + "000";
+function lUe(e, t) {
+ return cUe(e, t) + "000";
}
-function BHe(e, t) {
- return k0(e.getUTCMonth() + 1, t, 2);
+function uUe(e, t) {
+ return j0(e.getUTCMonth() + 1, t, 2);
}
-function VHe(e, t) {
- return k0(e.getUTCMinutes(), t, 2);
+function dUe(e, t) {
+ return j0(e.getUTCMinutes(), t, 2);
}
-function HHe(e, t) {
- return k0(e.getUTCSeconds(), t, 2);
+function fUe(e, t) {
+ return j0(e.getUTCSeconds(), t, 2);
}
-function UHe(e) {
+function pUe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function WHe(e, t) {
- return k0(v0.count(w0(e) - 1, e), t, 2);
+function mUe(e, t) {
+ return j0(b0.count(E0(e) - 1, e), t, 2);
}
-function GHe(e) {
+function hUe(e) {
var t = e.getUTCDay();
- return t >= 4 || t === 0 ? b0(e) : b0.ceil(e);
+ return t >= 4 || t === 0 ? S0(e) : S0.ceil(e);
}
-function KHe(e, t) {
- return e = GHe(e), k0(b0.count(w0(e), e) + (w0(e).getUTCDay() === 4), t, 2);
+function gUe(e, t) {
+ return e = hUe(e), j0(S0.count(E0(e), e) + (E0(e).getUTCDay() === 4), t, 2);
}
-function qHe(e) {
+function _Ue(e) {
return e.getUTCDay();
}
-function JHe(e, t) {
- return k0(y0.count(w0(e) - 1, e), t, 2);
+function vUe(e, t) {
+ return j0(x0.count(E0(e) - 1, e), t, 2);
}
-function YHe(e, t) {
- return k0(e.getUTCFullYear() % 100, t, 2);
+function yUe(e, t) {
+ return j0(e.getUTCFullYear() % 100, t, 2);
}
-function XHe(e, t) {
- return e = GHe(e), k0(e.getUTCFullYear() % 100, t, 2);
+function bUe(e, t) {
+ return e = hUe(e), j0(e.getUTCFullYear() % 100, t, 2);
}
-function ZHe(e, t) {
- return k0(e.getUTCFullYear() % 1e4, t, 4);
+function xUe(e, t) {
+ return j0(e.getUTCFullYear() % 1e4, t, 4);
}
-function QHe(e, t) {
+function SUe(e, t) {
var n = e.getUTCDay();
- return e = n >= 4 || n === 0 ? b0(e) : b0.ceil(e), k0(e.getUTCFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? S0(e) : S0.ceil(e), j0(e.getUTCFullYear() % 1e4, t, 4);
}
-function $He() {
+function CUe() {
return "+0000";
}
-function eUe() {
+function wUe() {
return "%";
}
-function tUe(e) {
+function TUe(e) {
return +e;
}
-function nUe(e) {
+function EUe(e) {
return Math.floor(e / 1e3);
}
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
-var M0, rUe, iUe;
-aUe({
+var P0, DUe, OUe;
+kUe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -75575,26 +76184,26 @@ aUe({
"Dec"
]
});
-function aUe(e) {
- return M0 = UVe(e), rUe = M0.format, M0.parse, iUe = M0.utcFormat, M0.utcParse, M0;
+function kUe(e) {
+ return P0 = pHe(e), DUe = P0.format, P0.parse, OUe = P0.utcFormat, P0.utcParse, P0;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function oUe(e) {
+function AUe(e) {
return new Date(e);
}
-function sUe(e) {
+function jUe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
-function N0(e, t, n, r, i, a, o, s, c, l) {
- var u = S1(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
+function F0(e, t, n, r, i, a, o, s, c, l) {
+ var u = F1(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
function x(e) {
return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);
}
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, sUe)) : f().map(oUe);
+ return arguments.length ? f(Array.from(e, jUe)) : f().map(AUe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -75602,23 +76211,23 @@ function N0(e, t, n, r, i, a, o, s, c, l) {
return t == null ? x : l(t);
}, u.nice = function(e) {
var n = f();
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(B1(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(kVe(n, e)) : u;
}, u.copy = function() {
- return b1(u, N0(e, t, n, r, i, a, o, s, c, l));
+ return N1(u, F0(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function cUe() {
- return k$.apply(N0(VVe, HVe, C0, x0, m0, d0, l0, s0, o0, rUe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function MUe() {
+ return H$.apply(F0(dHe, fHe, T0, C0, g0, p0, d0, l0, c0, DUe).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function lUe() {
- return k$.apply(N0(zVe, BVe, w0, S0, v0, f0, u0, c0, o0, iUe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function NUe() {
+ return H$.apply(F0(lHe, uHe, E0, w0, b0, m0, f0, u0, c0, OUe).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
-function P0() {
- var e = 0, t = 1, n, r, i, a, o = v1, s = !1, c;
+function I0() {
+ var e = 0, t = 1, n, r, i, a, o = j1, s = !1, c;
function l(e) {
return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));
}
@@ -75635,68 +76244,68 @@ function P0() {
return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];
};
}
- return l.range = u(m1), l.rangeRound = u(h1), l.unknown = function(e) {
+ return l.range = u(D1), l.rangeRound = u(O1), l.unknown = function(e) {
return arguments.length ? (c = e, l) : c;
}, function(o) {
return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;
};
}
-function F0(e, t) {
+function L0(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
-function uUe() {
- var e = L1(P0()(v1));
+function PUe() {
+ var e = q1(I0()(j1));
return e.copy = function() {
- return F0(e, uUe());
- }, A$.apply(e, arguments);
+ return L0(e, PUe());
+ }, U$.apply(e, arguments);
}
-function dUe() {
- var e = W1(P0()).domain([1, 10]);
+function FUe() {
+ var e = J1(I0()).domain([1, 10]);
return e.copy = function() {
- return F0(e, dUe()).base(e.base());
- }, A$.apply(e, arguments);
+ return L0(e, FUe()).base(e.base());
+ }, U$.apply(e, arguments);
}
-function fUe() {
- var e = q1(P0());
+function IUe() {
+ var e = Y1(I0());
return e.copy = function() {
- return F0(e, fUe()).constant(e.constant());
- }, A$.apply(e, arguments);
+ return L0(e, IUe()).constant(e.constant());
+ }, U$.apply(e, arguments);
}
-function I0() {
- var e = J1(P0());
+function R0() {
+ var e = X1(I0());
return e.copy = function() {
- return F0(e, I0()).exponent(e.exponent());
- }, A$.apply(e, arguments);
+ return L0(e, R0()).exponent(e.exponent());
+ }, U$.apply(e, arguments);
}
-function pUe() {
- return I0.apply(null, arguments).exponent(.5);
+function LUe() {
+ return R0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
-function mUe() {
- var e = [], t = v1;
+function RUe() {
+ var e = [], t = j1;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((g$(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((k$(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(f$), n;
+ return e.sort(T$), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => SBe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => FBe(e, r / t));
}, n.copy = function() {
- return mUe(t).domain(e);
- }, A$.apply(n, arguments);
+ return RUe(t).domain(e);
+ }, U$.apply(n, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/diverging.js
-function L0() {
- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = v1, u, d = !1, f;
+function z0() {
+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = j1, u, d = !1, f;
function p(e) {
return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));
}
@@ -75714,7 +76323,7 @@ function L0() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = YBe(e, [
+ return arguments.length ? ([n, r, i] = t, l = cVe(e, [
n,
r,
i
@@ -75725,122 +76334,122 @@ function L0() {
];
};
}
- return p.range = m(m1), p.rangeRound = m(h1), p.unknown = function(e) {
+ return p.range = m(D1), p.rangeRound = m(O1), p.unknown = function(e) {
return arguments.length ? (f = e, p) : f;
}, function(l) {
return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;
};
}
-function hUe() {
- var e = L1(L0()(v1));
+function zUe() {
+ var e = q1(z0()(j1));
return e.copy = function() {
- return F0(e, hUe());
- }, A$.apply(e, arguments);
+ return L0(e, zUe());
+ }, U$.apply(e, arguments);
}
-function gUe() {
- var e = W1(L0()).domain([
+function BUe() {
+ var e = J1(z0()).domain([
.1,
1,
10
]);
return e.copy = function() {
- return F0(e, gUe()).base(e.base());
- }, A$.apply(e, arguments);
+ return L0(e, BUe()).base(e.base());
+ }, U$.apply(e, arguments);
}
-function _Ue() {
- var e = q1(L0());
+function VUe() {
+ var e = Y1(z0());
return e.copy = function() {
- return F0(e, _Ue()).constant(e.constant());
- }, A$.apply(e, arguments);
+ return L0(e, VUe()).constant(e.constant());
+ }, U$.apply(e, arguments);
}
-function R0() {
- var e = J1(L0());
+function B0() {
+ var e = X1(z0());
return e.copy = function() {
- return F0(e, R0()).exponent(e.exponent());
- }, A$.apply(e, arguments);
+ return L0(e, B0()).exponent(e.exponent());
+ }, U$.apply(e, arguments);
}
-function vUe() {
- return R0.apply(null, arguments).exponent(.5);
+function HUe() {
+ return B0.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var yUe = /* @__PURE__ */ s({
- scaleBand: () => N$,
- scaleDiverging: () => hUe,
- scaleDivergingLog: () => gUe,
- scaleDivergingPow: () => R0,
- scaleDivergingSqrt: () => vUe,
- scaleDivergingSymlog: () => _Ue,
- scaleIdentity: () => z1,
- scaleImplicit: () => j$,
- scaleLinear: () => R1,
- scaleLog: () => G1,
- scaleOrdinal: () => M$,
- scalePoint: () => TBe,
- scalePow: () => Y1,
- scaleQuantile: () => TVe,
- scaleQuantize: () => EVe,
- scaleRadial: () => wVe,
- scaleSequential: () => uUe,
- scaleSequentialLog: () => dUe,
- scaleSequentialPow: () => I0,
- scaleSequentialQuantile: () => mUe,
- scaleSequentialSqrt: () => pUe,
- scaleSequentialSymlog: () => fUe,
- scaleSqrt: () => xVe,
- scaleSymlog: () => _Ve,
- scaleThreshold: () => DVe,
- scaleTime: () => cUe,
- scaleUtc: () => lUe,
- tickFormat: () => I1
+var UUe = /* @__PURE__ */ s({
+ scaleBand: () => K$,
+ scaleDiverging: () => zUe,
+ scaleDivergingLog: () => BUe,
+ scaleDivergingPow: () => B0,
+ scaleDivergingSqrt: () => HUe,
+ scaleDivergingSymlog: () => VUe,
+ scaleIdentity: () => OVe,
+ scaleImplicit: () => W$,
+ scaleLinear: () => DVe,
+ scaleLog: () => RVe,
+ scaleOrdinal: () => G$,
+ scalePoint: () => RBe,
+ scalePow: () => Z1,
+ scaleQuantile: () => YVe,
+ scaleQuantize: () => XVe,
+ scaleRadial: () => JVe,
+ scaleSequential: () => PUe,
+ scaleSequentialLog: () => FUe,
+ scaleSequentialPow: () => R0,
+ scaleSequentialQuantile: () => RUe,
+ scaleSequentialSqrt: () => LUe,
+ scaleSequentialSymlog: () => IUe,
+ scaleSqrt: () => GVe,
+ scaleSymlog: () => VVe,
+ scaleThreshold: () => ZVe,
+ scaleTime: () => MUe,
+ scaleUtc: () => NUe,
+ tickFormat: () => EVe
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function bUe(e) {
- var t = yUe;
+function WUe(e) {
+ var t = UUe;
if (e in t && typeof t[e] == "function") return t[e]();
- var n = `scale${yG(e)}`;
+ var n = `scale${MG(e)}`;
if (n in t && typeof t[n] == "function") return t[n]();
}
-function xUe(e, t, n) {
+function GUe(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = bUe(e);
+ var r = WUe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
-function z0(e, t, n, r) {
- if (n != null && r != null) return typeof e.scale == "function" ? xUe(e.scale, n, r) : xUe(t, n, r);
+function V0(e, t, n, r) {
+ if (n != null && r != null) return typeof e.scale == "function" ? GUe(e.scale, n, r) : GUe(t, n, r);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function SUe(e) {
- return `scale${yG(e)}`;
+function KUe(e) {
+ return `scale${MG(e)}`;
}
-function CUe(e) {
- return SUe(e) in yUe;
+function qUe(e) {
+ return KUe(e) in UUe;
}
-var wUe = (e, t, n) => {
+var JUe = (e, t, n) => {
if (e != null) {
var r = e.scale, i = e.type;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return CUe(r) ? r : "point";
+ if (typeof r == "string") return qUe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function TUe(e, t) {
+function YUe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
}
return n;
}
-function EUe(e, t) {
+function XUe(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = TUe(r, e);
+ var t = YUe(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -75850,12 +76459,12 @@ function EUe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function DUe(e) {
- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : EUe(e, void 0);
+function ZUe(e) {
+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : XUe(e, void 0);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/axisSelectors.js
-function OUe(e, t) {
+function QUe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -75865,30 +76474,30 @@ function OUe(e, t) {
}
return n;
}
-function B0(e) {
+function H0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? OUe(Object(n), !0).forEach(function(t) {
- kUe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OUe(Object(n)).forEach(function(t) {
+ t % 2 ? QUe(Object(n), !0).forEach(function(t) {
+ $Ue(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QUe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kUe(e, t, n) {
- return (t = AUe(t)) in e ? Object.defineProperty(e, t, {
+function $Ue(e, t, n) {
+ return (t = eWe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function AUe(e) {
- var t = jUe(e, "string");
+function eWe(e) {
+ var t = tWe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jUe(e, t) {
+function tWe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -75898,25 +76507,25 @@ function jUe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function MUe(e, t) {
- return LUe(e) || IUe(e, t) || PUe(e, t) || NUe();
+function nWe(e, t) {
+ return sWe(e) || oWe(e, t) || iWe(e, t) || rWe();
}
-function NUe() {
+function rWe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function PUe(e, t) {
+function iWe(e, t) {
if (e) {
- if (typeof e == "string") return FUe(e, t);
+ if (typeof e == "string") return aWe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? FUe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? aWe(e, t) : void 0;
}
}
-function FUe(e, t) {
+function aWe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function IUe(e, t) {
+function oWe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -75937,10 +76546,10 @@ function IUe(e, t) {
return s;
}
}
-function LUe(e) {
+function sWe(e) {
if (Array.isArray(e)) return e;
}
-var V0 = [0, "auto"], H0 = {
+var U0 = [0, "auto"], W0 = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
@@ -75969,13 +76578,13 @@ var V0 = [0, "auto"], H0 = {
type: "category",
unit: void 0,
niceTicks: "auto"
-}, RUe = (e, t) => e.cartesianAxis.xAxis[t], U0 = (e, t) => RUe(e, t) ?? H0, W0 = {
+}, cWe = (e, t) => e.cartesianAxis.xAxis[t], G0 = (e, t) => cWe(e, t) ?? W0, K0 = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
angle: 0,
dataKey: void 0,
- domain: V0,
+ domain: U0,
hide: !0,
id: 0,
includeHidden: !1,
@@ -75998,7 +76607,7 @@ var V0 = [0, "auto"], H0 = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, zUe = (e, t) => e.cartesianAxis.yAxis[t], G0 = (e, t) => zUe(e, t) ?? W0, BUe = {
+}, lWe = (e, t) => e.cartesianAxis.yAxis[t], q0 = (e, t) => lWe(e, t) ?? K0, uWe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -76011,31 +76620,31 @@ var V0 = [0, "auto"], H0 = {
scale: "auto",
type: "number",
unit: ""
-}, K0 = (e, t) => e.cartesianAxis.zAxis[t] ?? BUe, q0 = (e, t, n) => {
+}, J0 = (e, t) => e.cartesianAxis.zAxis[t] ?? uWe, Y0 = (e, t, n) => {
switch (t) {
- case "xAxis": return U0(e, n);
- case "yAxis": return G0(e, n);
- case "zAxis": return K0(e, n);
- case "angleAxis": return KQ(e, n);
- case "radiusAxis": return qQ(e, n);
+ case "xAxis": return G0(e, n);
+ case "yAxis": return q0(e, n);
+ case "zAxis": return J0(e, n);
+ case "angleAxis": return a$(e, n);
+ case "radiusAxis": return o$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, VUe = (e, t, n) => {
+}, dWe = (e, t, n) => {
switch (t) {
- case "xAxis": return U0(e, n);
- case "yAxis": return G0(e, n);
+ case "xAxis": return G0(e, n);
+ case "yAxis": return q0(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, J0 = (e, t, n) => {
+}, X0 = (e, t, n) => {
switch (t) {
- case "xAxis": return U0(e, n);
- case "yAxis": return G0(e, n);
- case "angleAxis": return KQ(e, n);
- case "radiusAxis": return qQ(e, n);
+ case "xAxis": return G0(e, n);
+ case "yAxis": return q0(e, n);
+ case "angleAxis": return a$(e, n);
+ case "radiusAxis": return o$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, HUe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
-function Y0(e, t) {
+}, fWe = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
+function Z0(e, t) {
return (n) => {
switch (e) {
case "xAxis": return "xAxisId" in n && n.xAxisId === t;
@@ -76047,254 +76656,254 @@ function Y0(e, t) {
}
};
}
-var X0 = (e) => e.graphicalItems.cartesianItems, UUe = Y([t$, n$], Y0), Z0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), Q0 = Y([
- X0,
- q0,
- UUe
-], Z0, { memoizeOptions: { resultEqualityCheck: s$ } }), WUe = Y([Q0], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(a$)), GUe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), KUe = Y([Q0], GUe), $0 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), qUe = Y([Q0], (e) => e.some((e) => !e.data)), JUe = Y([Q0], $0, { memoizeOptions: { resultEqualityCheck: s$ } }), e2 = (e, t) => {
+var Q0 = (e) => e.graphicalItems.cartesianItems, pWe = Y([m$, h$], Z0), $0 = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), e2 = Y([
+ Q0,
+ Y0,
+ pWe
+], $0, { memoizeOptions: { resultEqualityCheck: b$ } }), mWe = Y([e2], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(v$)), hWe = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), gWe = Y([e2], hWe), t2 = (e) => e.map((e) => e.data).filter(Boolean).flat(1), _We = Y([e2], (e) => e.some((e) => !e.data)), vWe = Y([e2], t2, { memoizeOptions: { resultEqualityCheck: b$ } }), n2 = (e, t) => {
var n = t.chartData, r = n === void 0 ? [] : n, i = t.dataStartIndex, a = t.dataEndIndex;
return e.length > 0 ? e : r.slice(i, a + 1);
-}, t2 = Y([JUe, lQ], e2), YUe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: GY(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: GY(e, t.dataKey) })), XUe = (e, t, n, r, i, a) => {
- var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = YUe(e, t, n);
- return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: GY(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
-}, n2 = Y([
- t2,
- q0,
- Q0,
- lQ,
- qUe,
- JUe
-], XUe);
-function r2(e) {
- if (fG(e) || e instanceof Date) {
+}, r2 = Y([vWe, SQ], n2), yWe = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: iX(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: iX(e, t.dataKey) })), bWe = (e, t, n, r, i, a) => {
+ var o = r.chartData, s = o === void 0 ? [] : o, c = r.dataStartIndex, l = r.dataEndIndex, u = yWe(e, t, n);
+ return i && t?.dataKey != null && a.length > 0 ? [...s.slice(c, l + 1).map((e) => ({ value: iX(e, t.dataKey) })).filter((e) => e.value != null), ...u] : u;
+}, i2 = Y([
+ r2,
+ Y0,
+ e2,
+ SQ,
+ _We,
+ vWe
+], bWe);
+function a2(e) {
+ if (TG(e) || e instanceof Date) {
var t = Number(e);
- if (VY(t)) return t;
+ if (eX(t)) return t;
}
}
-function ZUe(e) {
+function xWe(e) {
if (Array.isArray(e)) {
- var t = [r2(e[0]), r2(e[1])];
- return pQ(t) ? t : void 0;
+ var t = [a2(e[0]), a2(e[1])];
+ return EQ(t) ? t : void 0;
}
- var n = r2(e);
+ var n = a2(e);
if (n != null) return [n, n];
}
-function i2(e) {
- return e.map(r2).filter(bG);
+function o2(e) {
+ return e.map(a2).filter(NG);
}
-function QUe(e, t) {
- var n = r2(e), r = r2(t);
+function SWe(e, t) {
+ var n = a2(e), r = a2(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var $Ue = Y([n2], (e) => e?.map((e) => e.value).sort(QUe));
-function eWe(e, t) {
+var CWe = Y([i2], (e) => e?.map((e) => e.value).sort(SWe));
+function wWe(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
case "yAxis": return t.direction === "y";
default: return !1;
}
}
-function tWe(e, t, n) {
+function TWe(e, t, n) {
if (!n || !n.length) return [];
var r;
- if (typeof t == "number" && !lG(t)) r = t;
+ if (typeof t == "number" && !SG(t)) r = t;
else if (Array.isArray(t)) {
- var i = i2(t);
+ var i = o2(t);
i.length > 0 && (r = Math.max(...i));
}
- return r == null ? [] : i2(n.flatMap((t) => {
- var n = GY(e, t.dataKey), i, a;
+ return r == null ? [] : o2(n.flatMap((t) => {
+ var n = iX(e, t.dataKey), i, a;
if (Array.isArray(n)) {
- var o = MUe(n, 2);
+ var o = nWe(n, 2);
i = o[0], a = o[1];
} else i = a = n;
- if (VY(i) && VY(a)) return [r - i, r + a];
+ if (eX(i) && eX(a)) return [r - i, r + a];
}));
}
-var a2 = (e) => J0(e, c$(e), l$(e)), o2 = Y([a2], (e) => e?.dataKey), nWe = Y([
- WUe,
- lQ,
- a2
-], i$), s2 = (e, t, n, r) => {
+var s2 = (e) => X0(e, x$(e), S$(e)), c2 = Y([s2], (e) => e?.dataKey), EWe = Y([
+ mWe,
+ SQ,
+ s2
+], _$), l2 = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, {});
return Object.fromEntries(Object.entries(i).map((t) => {
- var i = MUe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
+ var i = nWe(t, 2), a = i[0], o = i[1], s = r ? [...o].reverse() : o;
return [a, {
- stackedData: _Ie(e, s.map(r$), n),
+ stackedData: AIe(e, s.map(g$), n),
graphicalItems: s
}];
}));
-}, c2 = Y([
- nWe,
- WUe,
- jQ,
- MQ
-], s2), rWe = (e, t, n, r) => {
+}, u2 = Y([
+ EWe,
+ mWe,
+ WQ,
+ GQ
+], l2), DWe = (e, t, n, r) => {
var i = t.dataStartIndex, a = t.dataEndIndex;
- if (r == null && n !== "zAxis") return bIe(e, i, a);
-}, iWe = Y([q0], (e) => e.allowDataOverflow), l2 = (e) => {
- if (e == null || !("domain" in e)) return V0;
+ if (r == null && n !== "zAxis") return NIe(e, i, a);
+}, OWe = Y([Y0], (e) => e.allowDataOverflow), d2 = (e) => {
+ if (e == null || !("domain" in e)) return U0;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
if (e.type === "number") {
- var t = i2(e.ticks);
+ var t = o2(e.ticks);
return [Math.min(...t), Math.max(...t)];
}
if (e.type === "category") return e.ticks.map(String);
}
- return e?.domain ?? V0;
-}, u2 = Y([q0], l2), d2 = Y([u2, iWe], hQ), aWe = Y([
- c2,
- sQ,
- t$,
- d2
-], rWe, { memoizeOptions: { resultEqualityCheck: o$ } }), f2 = (e) => e.errorBars, oWe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => eWe(n, e)), p2 = function() {
+ return e?.domain ?? U0;
+}, f2 = Y([Y0], d2), p2 = Y([f2, OWe], OQ), kWe = Y([
+ u2,
+ bQ,
+ m$,
+ p2
+], DWe, { memoizeOptions: { resultEqualityCheck: y$ } }), m2 = (e) => e.errorBars, AWe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => wWe(n, e)), h2 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
return [Math.min(...t), Math.max(...t)];
}
-}, m2 = function(e, t, n, r, i) {
+}, g2 = function(e, t, n, r, i) {
var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : [], o, s;
if (n.length > 0 && n.forEach((e) => {
- var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => eWe(i, e));
+ var n = e.data == null ? a : [...e.data], c = r[e.id]?.filter((e) => wWe(i, e));
n.forEach((n) => {
- var r = GY(n, t.dataKey ?? e.dataKey), i = tWe(n, r, c);
+ var r = iX(n, t.dataKey ?? e.dataKey), i = TWe(n, r, c);
if (i.length >= 2) {
var a = Math.min(...i), l = Math.max(...i);
(o == null || a < o) && (o = a), (s == null || l > s) && (s = l);
}
- var u = ZUe(r);
+ var u = xWe(r);
u != null && (o = o == null ? u[0] : Math.min(o, u[0]), s = s == null ? u[1] : Math.max(s, u[1]));
});
}), t?.dataKey != null && n.length === 0 && e.forEach((e) => {
- var n = ZUe(GY(e, t.dataKey));
+ var n = xWe(iX(e, t.dataKey));
n != null && (o = o == null ? n[0] : Math.min(o, n[0]), s = s == null ? n[1] : Math.max(s, n[1]));
- }), VY(o) && VY(s)) return [o, s];
-}, sWe = Y([
- t2,
- q0,
- KUe,
- f2,
- t$,
- Xze
-], m2, { memoizeOptions: { resultEqualityCheck: o$ } });
-function cWe(e) {
+ }), eX(o) && eX(s)) return [o, s];
+}, jWe = Y([
+ r2,
+ Y0,
+ gWe,
+ m2,
+ m$,
+ lBe
+], g2, { memoizeOptions: { resultEqualityCheck: y$ } });
+function MWe(e) {
var t = e.value;
- if (fG(t) || t instanceof Date) return t;
-}
-var lWe = (e, t, n) => {
- var r = e.map(cWe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && hG(r)) ? oQ(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, uWe = (e) => e.referenceElements.dots, h2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), dWe = Y([
- uWe,
- t$,
- n$
-], h2), fWe = (e) => e.referenceElements.areas, pWe = Y([
- fWe,
- t$,
- n$
-], h2), mWe = (e) => e.referenceElements.lines, hWe = Y([
- mWe,
- t$,
- n$
-], h2), gWe = (e, t) => {
+ if (TG(t) || t instanceof Date) return t;
+}
+var NWe = (e, t, n) => {
+ var r = e.map(MWe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && OG(r)) ? yQ(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, PWe = (e) => e.referenceElements.dots, _2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), FWe = Y([
+ PWe,
+ m$,
+ h$
+], _2), IWe = (e) => e.referenceElements.areas, LWe = Y([
+ IWe,
+ m$,
+ h$
+], _2), RWe = (e) => e.referenceElements.lines, zWe = Y([
+ RWe,
+ m$,
+ h$
+], _2), BWe = (e, t) => {
if (e != null) {
- var n = i2(e.map((e) => t === "xAxis" ? e.x : e.y));
+ var n = o2(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, _We = Y(dWe, t$, gWe), vWe = (e, t) => {
+}, VWe = Y(FWe, m$, BWe), HWe = (e, t) => {
if (e != null) {
- var n = i2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
+ var n = o2(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, yWe = Y([pWe, t$], vWe);
-function bWe(e) {
- if (e.x != null) return i2([e.x]);
+}, UWe = Y([LWe, m$], HWe);
+function WWe(e) {
+ if (e.x != null) return o2([e.x]);
var t = e.segment?.map((e) => e.x);
- return t == null || t.length === 0 ? [] : i2(t);
+ return t == null || t.length === 0 ? [] : o2(t);
}
-function xWe(e) {
- if (e.y != null) return i2([e.y]);
+function GWe(e) {
+ if (e.y != null) return o2([e.y]);
var t = e.segment?.map((e) => e.y);
- return t == null || t.length === 0 ? [] : i2(t);
+ return t == null || t.length === 0 ? [] : o2(t);
}
-var SWe = (e, t) => {
+var KWe = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? bWe(e) : xWe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? WWe(e) : GWe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, CWe = Y(_We, Y([hWe, t$], SWe), yWe, (e, t, n) => p2(e, n, t)), g2 = (e, t, n, r, i, a, o, s, c) => {
+}, qWe = Y(VWe, Y([zWe, m$], KWe), UWe, (e, t, n) => h2(e, n, t)), v2 = (e, t, n, r, i, a, o, s, c) => {
if (n != null) return n;
- var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? p2(r, a, i) : p2(a, i), u = rBe(t, l, e.allowDataOverflow);
+ var l = o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? h2(r, a, i) : h2(a, i), u = gBe(t, l, e.allowDataOverflow);
return u == null && e.allowDataOverflow && l == null && c != null ? c : u;
-}, wWe = Y([
- q0,
- u2,
- d2,
- aWe,
- sWe,
- CWe,
- NX,
- t$,
- Y([q0], (e) => {
+}, JWe = Y([
+ Y0,
+ f2,
+ p2,
+ kWe,
+ jWe,
+ qWe,
+ KX,
+ m$,
+ Y([Y0], (e) => {
if (e != null && e.type === "number" && "ticks" in e && e.ticks != null) {
- var t = i2(e.ticks);
+ var t = o2(e.ticks);
if (t.length !== 0) return [Math.min(...t), Math.max(...t)];
}
- }, { memoizeOptions: { resultEqualityCheck: o$ } })
-], g2, { memoizeOptions: { resultEqualityCheck: o$ } }), TWe = [0, 1], _2 = (e, t, n, r, i, a, o) => {
+ }, { memoizeOptions: { resultEqualityCheck: y$ } })
+], v2, { memoizeOptions: { resultEqualityCheck: y$ } }), YWe = [0, 1], y2 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var s = e.dataKey, c = e.type, l = KY(t, a);
- return l && s == null ? oQ(0, n?.length ?? 0) : c === "category" ? lWe(r, e, l) : i === "expand" && !l ? TWe : o;
- }
-}, v2 = Y([
- q0,
- NX,
- t2,
- n2,
- jQ,
- t$,
- wWe
-], _2), y2 = Y([
- q0,
- HUe,
- NQ
-], wUe), b2 = (e, t, n) => {
+ var s = e.dataKey, c = e.type, l = aX(t, a);
+ return l && s == null ? yQ(0, n?.length ?? 0) : c === "category" ? NWe(r, e, l) : i === "expand" && !l ? YWe : o;
+ }
+}, b2 = Y([
+ Y0,
+ KX,
+ r2,
+ i2,
+ WQ,
+ m$,
+ JWe
+], y2), x2 = Y([
+ Y0,
+ fWe,
+ KQ
+], JUe), S2 = (e, t, n) => {
var r = t.niceTicks;
if (r !== "none") {
- var i = l2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && pQ(e)) {
- if (a) return TQ(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return EQ(e, t.tickCount, t.allowDecimals, r);
+ var i = d2(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && EQ(e)) {
+ if (a) return RQ(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return zQ(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && pQ(e)) return TQ(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && pQ(e)) return EQ(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && EQ(e)) return RQ(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && EQ(e)) return zQ(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
-}, x2 = Y([
- v2,
- J0,
- y2
-], b2), S2 = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && pQ(t) && Array.isArray(n) && n.length > 0) {
+}, C2 = Y([
+ b2,
+ X0,
+ x2
+], S2), w2 = (e, t, n, r) => {
+ if (r !== "angleAxis" && e?.type === "number" && EQ(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, EWe = Y([
- q0,
- v2,
- x2,
- t$
-], S2), DWe = Y(Y(n2, q0, (e, t) => {
+}, XWe = Y([
+ Y0,
+ b2,
+ C2,
+ m$
+], w2), ZWe = Y(Y(i2, Y0, (e, t) => {
if (t && t.type === "number") {
- var n = Infinity, r = Array.from(i2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
+ var n = Infinity, r = Array.from(o2(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
if (i == null || a == null) return Infinity;
var o = a - i;
if (o === 0) return Infinity;
@@ -76307,22 +76916,22 @@ var SWe = (e, t) => {
}
return n / o;
}
-}), NX, kQ, fX, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!VY(e)) return 0;
+}), KX, HQ, TX, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!eX(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = mG(n, e * a), s = e * a / 2;
+ var o = DG(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), OWe = (e, t, n) => {
- var r = U0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : DWe(e, "xAxis", t, n, r.padding);
-}, kWe = (e, t, n) => {
+}), QWe = (e, t, n) => {
var r = G0(e, t);
- return r == null || typeof r.padding != "string" ? 0 : DWe(e, "yAxis", t, n, r.padding);
-}, AWe = Y(U0, OWe, (e, t) => {
+ return r == null || typeof r.padding != "string" ? 0 : ZWe(e, "xAxis", t, n, r.padding);
+}, $We = (e, t, n) => {
+ var r = q0(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : ZWe(e, "yAxis", t, n, r.padding);
+}, eGe = Y(G0, QWe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -76335,7 +76944,7 @@ var SWe = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), jWe = Y(G0, kWe, (e, t) => {
+}), tGe = Y(q0, $We, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -76348,101 +76957,101 @@ var SWe = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), MWe = Y([
- fX,
- AWe,
- _X,
- gX,
+}), nGe = Y([
+ TX,
+ eGe,
+ AX,
+ kX,
(e, t, n) => n
], (e, t, n, r, i) => {
var a = r.padding;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), NWe = Y([
- fX,
- NX,
- jWe,
- _X,
- gX,
+}), rGe = Y([
+ TX,
+ KX,
+ tGe,
+ AX,
+ kX,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var o = i.padding;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
-}), C2 = (e, t, n, r) => {
+}), T2 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return MWe(e, n, r);
- case "yAxis": return NWe(e, n, r);
- case "zAxis": return K0(e, n)?.range;
- case "angleAxis": return QQ(e);
- case "radiusAxis": return $Q(e, n);
+ case "xAxis": return nGe(e, n, r);
+ case "yAxis": return rGe(e, n, r);
+ case "zAxis": return J0(e, n)?.range;
+ case "angleAxis": return d$(e);
+ case "radiusAxis": return f$(e, n);
default: return;
}
-}, PWe = Y([q0, C2], BQ), w2 = Y([
- q0,
- y2,
- Y([y2, EWe], d$),
- PWe
-], z0), T2 = (e, t, n, r) => {
+}, iGe = Y([Y0, T2], $Q), E2 = Y([
+ Y0,
+ x2,
+ Y([x2, XWe], w$),
+ iGe
+], V0), D2 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var i = n.type, a = n.scale;
- if (KY(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
- }
-}, E2 = Y([
- NX,
- n2,
- J0,
- t$
-], T2), D2 = Y([w2], u$);
-Y([w2], DUe), Y([w2, $Ue], EUe), Y([
- Q0,
- f2,
- t$
-], oWe);
-function FWe(e, t) {
+ if (aX(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ }
+}, O2 = Y([
+ KX,
+ i2,
+ X0,
+ m$
+], D2), k2 = Y([E2], C$);
+Y([E2], ZUe), Y([E2, CWe], XUe), Y([
+ e2,
+ m2,
+ m$
+], AWe);
+function aGe(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var O2 = (e, t) => t, k2 = (e, t, n) => n, IWe = Y(cX, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(FWe)), LWe = Y(lX, O2, k2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(FWe)), RWe = (e, t) => {
+var A2 = (e, t) => t, j2 = (e, t, n) => n, oGe = Y(xX, A2, j2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(aGe)), sGe = Y(SX, A2, j2, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(aGe)), cGe = (e, t) => {
var n = typeof t.height == "number" ? t.height : 30;
return {
width: e.width,
height: n
};
-}, zWe = (e, t) => ({
+}, lGe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), BWe = Y(fX, U0, RWe), VWe = (e, t, n) => {
+}), uGe = Y(TX, G0, cGe), dGe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, HWe = (e, t, n) => {
+}, fGe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, UWe = Y(oX, fX, IWe, O2, k2, (e, t, n, r, i) => {
+}, pGe = Y(yX, TX, oGe, A2, j2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = RWe(t, n);
- o ??= VWe(t, r, e);
+ var s = cGe(t, n);
+ o ??= dGe(t, r, e);
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), WWe = Y(aX, fX, LWe, O2, k2, (e, t, n, r, i) => {
+}), mGe = Y(vX, TX, sGe, A2, j2, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = zWe(t, n);
- o ??= HWe(t, r, e);
+ var s = lGe(t, n);
+ o ??= fGe(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), GWe = Y([
- fX,
- U0,
+}), hGe = Y([
+ TX,
+ G0,
(e, t) => {
- var n = U0(e, t);
- if (n != null) return UWe(e, n.orientation, n.mirror);
+ var n = G0(e, t);
+ if (n != null) return pGe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -76456,12 +77065,12 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, IWe = Y(cX, O2, k2, (e, t, n) => e.fi
y: i
};
}
-}), KWe = Y([
- fX,
- G0,
+}), gGe = Y([
+ TX,
+ q0,
(e, t) => {
- var n = G0(e, t);
- if (n != null) return WWe(e, n.orientation, n.mirror);
+ var n = q0(e, t);
+ if (n != null) return mGe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -76475,38 +77084,38 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, IWe = Y(cX, O2, k2, (e, t, n) => e.fi
y: e.top
};
}
-}), qWe = Y(fX, G0, (e, t) => ({
+}), _Ge = Y(TX, q0, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-})), JWe = (e, t, n) => {
+})), vGe = (e, t, n) => {
switch (t) {
- case "xAxis": return BWe(e, n).width;
- case "yAxis": return qWe(e, n).height;
+ case "xAxis": return uGe(e, n).width;
+ case "yAxis": return _Ge(e, n).height;
default: return;
}
-}, YWe = (e, t, n, r) => {
+}, yGe = (e, t, n, r) => {
if (n != null) {
- var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = KY(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
- if (o && s && a === "category" && i && hG(l)) return c;
- }
-}, A2 = Y([
- NX,
- n2,
- q0,
- t$
-], YWe), XWe = Y([
- NX,
- VUe,
- y2,
- D2,
- A2,
- E2,
- C2,
+ var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = aX(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
+ if (o && s && a === "category" && i && OG(l)) return c;
+ }
+}, M2 = Y([
+ KX,
+ i2,
+ Y0,
+ m$
+], yGe), bGe = Y([
+ KX,
+ dWe,
x2,
- t$
+ k2,
+ M2,
+ O2,
+ T2,
+ C2,
+ m$
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = KY(e, c);
+ var l = aX(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -76528,107 +77137,107 @@ var O2 = (e, t) => t, k2 = (e, t, n) => n, IWe = Y(cX, O2, k2, (e, t, n) => e.fi
scale: r
};
}
-}), ZWe = (e, t, n, r, i, a, o, s, c) => {
+}), xGe = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = KY(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? cG(a[0] - a[1]) * 2 * m : m;
+ var l = aX(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? xG(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
- return VY(i) ? {
+ return eX(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(bG) : l && s ? s.map((e, t) => {
+ }).filter(NG) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return VY(n) ? {
+ return eX(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(bG) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(NG) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return VY(n) ? {
+ return eX(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(bG) : r.domain().map((e, t) => {
+ }).filter(NG) : r.domain().map((e, t) => {
var n = r.map(e);
- return VY(n) ? {
+ return eX(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(bG);
+ }).filter(NG);
}
-}, QWe = Y([
- NX,
- J0,
- y2,
- D2,
+}, SGe = Y([
+ KX,
+ X0,
x2,
+ k2,
C2,
- A2,
- E2,
- t$
-], ZWe), $We = (e, t, n, r, i, a, o) => {
+ T2,
+ M2,
+ O2,
+ m$
+], xGe), CGe = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = KY(e, o), c = t.tickCount, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? cG(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = aX(e, o), c = t.tickCount, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? xG(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return VY(r) ? {
+ return eX(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(bG) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(NG) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return VY(r) ? {
+ return eX(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(bG) : n.domain().map((e, t) => {
+ }).filter(NG) : n.domain().map((e, t) => {
var r = n.map(e);
- return VY(r) ? {
+ return eX(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(bG);
+ }).filter(NG);
}
-}, j2 = Y([
- NX,
- J0,
- D2,
- C2,
- A2,
- E2,
- t$
-], $We), M2 = Y(q0, D2, (e, t) => {
- if (e != null && t != null) return B0(B0({}, e), {}, { scale: t });
+}, N2 = Y([
+ KX,
+ X0,
+ k2,
+ T2,
+ M2,
+ O2,
+ m$
+], CGe), P2 = Y(Y0, k2, (e, t) => {
+ if (e != null && t != null) return H0(H0({}, e), {}, { scale: t });
});
-Y((e, t, n) => K0(e, n), Y([Y([
- q0,
- y2,
- v2,
- PWe
-], z0)], u$), (e, t) => {
- if (e != null && t != null) return B0(B0({}, e), {}, { scale: t });
+Y((e, t, n) => J0(e, n), Y([Y([
+ Y0,
+ x2,
+ b2,
+ iGe
+], V0)], C$), (e, t) => {
+ if (e != null && t != null) return H0(H0({}, e), {}, { scale: t });
});
-var eGe = Y([
- NX,
- cX,
- lX
+var wGe = Y([
+ KX,
+ xX,
+ SX
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -76650,41 +77259,41 @@ Y([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js
-var tGe = (e) => e.options.defaultTooltipEventType, nGe = (e) => e.options.validateTooltipEventTypes;
-function rGe(e, t, n) {
+var TGe = (e) => e.options.defaultTooltipEventType, EGe = (e) => e.options.validateTooltipEventTypes;
+function DGe(e, t, n) {
if (e == null) return t;
var r = e ? "axis" : "item";
return n == null ? t : n.includes(r) ? r : t;
}
-function N2(e, t) {
- return rGe(t, tGe(e), nGe(e));
+function F2(e, t) {
+ return DGe(t, TGe(e), EGe(e));
}
-function iGe(e) {
- return J((t) => N2(t, e));
+function OGe(e) {
+ return J((t) => F2(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var aGe = (e, t) => {
+var kGe = (e, t) => {
var n, r = Number(t);
- if (!(lG(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, oGe = (e) => e.tooltip.settings, P2 = {
+ if (!(SG(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, AGe = (e) => e.tooltip.settings, I2 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, sGe = dY({
+}, jGe = wY({
name: "tooltip",
initialState: {
itemInteraction: {
- click: P2,
- hover: P2
+ click: I2,
+ hover: I2
},
axisInteraction: {
- click: P2,
- hover: P2
+ click: I2,
+ hover: I2
},
- keyboardInteraction: P2,
+ keyboardInteraction: I2,
syncInteraction: {
active: !1,
index: null,
@@ -76706,23 +77315,23 @@ var aGe = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(eY(t.payload));
+ e.tooltipItemPayloads.push(pY(t.payload));
},
- prepare: sY()
+ prepare: bY()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = ZJ(e).tooltipItemPayloads.indexOf(eY(r));
- a > -1 && (e.tooltipItemPayloads[a] = eY(i));
+ var n = t.payload, r = n.prev, i = n.next, a = uY(e).tooltipItemPayloads.indexOf(pY(r));
+ a > -1 && (e.tooltipItemPayloads[a] = pY(i));
},
- prepare: sY()
+ prepare: bY()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = ZJ(e).tooltipItemPayloads.indexOf(eY(t.payload));
+ var n = uY(e).tooltipItemPayloads.indexOf(pY(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: sY()
+ prepare: bY()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -76752,10 +77361,10 @@ var aGe = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), F2 = sGe.actions, cGe = F2.addTooltipEntrySettings, lGe = F2.replaceTooltipEntrySettings, uGe = F2.removeTooltipEntrySettings, dGe = F2.setTooltipSettingsState, fGe = F2.setActiveMouseOverItemIndex, pGe = F2.mouseLeaveItem, mGe = F2.mouseLeaveChart, hGe = F2.setActiveClickItemIndex, gGe = F2.setMouseOverAxisIndex, _Ge = F2.setMouseClickAxisIndex, I2 = F2.setSyncInteraction, L2 = F2.setKeyboardInteraction, vGe = sGe.reducer;
+}), L2 = jGe.actions, MGe = L2.addTooltipEntrySettings, NGe = L2.replaceTooltipEntrySettings, PGe = L2.removeTooltipEntrySettings, FGe = L2.setTooltipSettingsState, IGe = L2.setActiveMouseOverItemIndex, LGe = L2.mouseLeaveItem, RGe = L2.mouseLeaveChart, zGe = L2.setActiveClickItemIndex, BGe = L2.setMouseOverAxisIndex, VGe = L2.setMouseClickAxisIndex, R2 = L2.setSyncInteraction, z2 = L2.setKeyboardInteraction, HGe = jGe.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function yGe(e, t) {
+function UGe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -76765,30 +77374,30 @@ function yGe(e, t) {
}
return n;
}
-function R2(e) {
+function B2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yGe(Object(n), !0).forEach(function(t) {
- bGe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yGe(Object(n)).forEach(function(t) {
+ t % 2 ? UGe(Object(n), !0).forEach(function(t) {
+ WGe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UGe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bGe(e, t, n) {
- return (t = xGe(t)) in e ? Object.defineProperty(e, t, {
+function WGe(e, t, n) {
+ return (t = GGe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xGe(e) {
- var t = SGe(e, "string");
+function GGe(e) {
+ var t = KGe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function SGe(e, t) {
+function KGe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -76798,22 +77407,22 @@ function SGe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function CGe(e, t, n) {
+function qGe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function wGe(e) {
+function JGe(e) {
return e.index != null;
}
-var TGe = (e, t, n, r) => {
- if (t == null) return P2;
- var i = CGe(e, t, n);
- if (i == null) return P2;
+var YGe = (e, t, n, r) => {
+ if (t == null) return I2;
+ var i = qGe(e, t, n);
+ if (i == null) return I2;
if (i.active) return i;
if (e.keyboardInteraction.active) return e.keyboardInteraction;
if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;
var a = e.settings.active === !0;
- if (wGe(i)) {
- if (a) return R2(R2({}, i), {}, { active: !0 });
+ if (JGe(i)) {
+ if (a) return B2(B2({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
coordinate: void 0,
@@ -76821,11 +77430,11 @@ var TGe = (e, t, n, r) => {
index: r,
graphicalItemId: void 0
};
- return R2(R2({}, P2), {}, { coordinate: i.coordinate });
+ return B2(B2({}, I2), {}, { coordinate: i.coordinate });
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function EGe(e) {
+function XGe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -76834,25 +77443,25 @@ function EGe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function DGe(e, t) {
- var n = EGe(e), r = t[0], i = t[1];
+function ZGe(e, t) {
+ var n = XGe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function OGe(e, t, n) {
+function QGe(e, t, n) {
if (n == null || t == null) return !0;
- var r = GY(e, t);
- return r == null || !pQ(n) || DGe(r, n);
+ var r = iX(e, t);
+ return r == null || !EQ(n) || ZGe(r, n);
}
-var z2 = (e, t, n, r) => {
+var V2 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!VY(a)) return i;
+ if (!eX(a)) return i;
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || OGe(l, n, r) ? String(c) : null;
-}, kGe = (e, t, n, r, i, a, o) => {
+ return l == null || QGe(l, n, r) ? String(c) : null;
+}, $Ge = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -76868,7 +77477,7 @@ var z2 = (e, t, n, r) => {
};
}
}
-}, AGe = (e, t, n, r) => {
+}, eKe = (e, t, n, r) => {
if (t === "axis") return e.tooltipItemPayloads;
if (e.tooltipItemPayloads.length === 0) return [];
var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;
@@ -76878,10 +77487,10 @@ var z2 = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, jGe = (e) => e.options.tooltipPayloadSearcher, B2 = (e) => e.tooltip;
+}, tKe = (e) => e.options.tooltipPayloadSearcher, H2 = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function MGe(e, t) {
+function nKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -76891,30 +77500,30 @@ function MGe(e, t) {
}
return n;
}
-function NGe(e) {
+function rKe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? MGe(Object(n), !0).forEach(function(t) {
- PGe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MGe(Object(n)).forEach(function(t) {
+ t % 2 ? nKe(Object(n), !0).forEach(function(t) {
+ iKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function PGe(e, t, n) {
- return (t = FGe(t)) in e ? Object.defineProperty(e, t, {
+function iKe(e, t, n) {
+ return (t = aKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function FGe(e) {
- var t = IGe(e, "string");
+function aKe(e) {
+ var t = oKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function IGe(e, t) {
+function oKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -76924,226 +77533,226 @@ function IGe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function LGe(e) {
+function sKe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function RGe(e) {
+function cKe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function zGe(e) {
+function lKe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function BGe(e) {
+function uKe(e) {
if (typeof e == "string") return e;
}
-function VGe(e) {
+function dKe(e) {
if (typeof e == "object" && e) return {
- name: "name" in e ? LGe(e.name) : void 0,
- unit: "unit" in e ? RGe(e.unit) : void 0,
- dataKey: "dataKey" in e ? zGe(e.dataKey) : void 0,
+ name: "name" in e ? sKe(e.name) : void 0,
+ unit: "unit" in e ? cKe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? lKe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? BGe(e.color) : void 0,
- fill: "fill" in e ? BGe(e.fill) : void 0
+ color: "color" in e ? uKe(e.color) : void 0,
+ fill: "fill" in e ? uKe(e.fill) : void 0
};
}
-function HGe(e, t) {
+function fKe(e, t) {
return e ?? t;
}
-var UGe = (e, t, n, r, i, a, o) => {
+var pKe = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;
return e.reduce((e, n) => {
- var d = n.dataDefinedOnItem, f = n.settings, p = HGe(d, s), m = Array.isArray(p) ? BY(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = _G(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
- var n = VGe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = NGe(NGe({}, f), {}, {
+ var d = n.dataDefinedOnItem, f = n.settings, p = fKe(d, s), m = Array.isArray(p) ? $Y(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = AG(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
+ var n = dKe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = rKe(rKe({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(rX({
+ e.push(gX({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: GY(a, i),
+ value: iX(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(rX({
+ }) : e.push(gX({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: GY(_, h),
- name: GY(_, g) ?? f?.name
+ value: iX(_, h),
+ name: iX(_, g) ?? f?.name
})), e;
}, []);
}
-}, V2 = Y([
- a2,
- HUe,
- NQ
-], wUe), H2 = Y([
- Y([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
- a2,
- Y([c$, l$], Y0)
-], Z0, { memoizeOptions: { resultEqualityCheck: s$ } }), WGe = Y([H2], (e) => e.filter(a$)), GGe = Y([H2], $0, { memoizeOptions: { resultEqualityCheck: s$ } }), KGe = Y([H2], (e) => e.some((e) => !e.data)), U2 = Y([GGe, sQ], e2), qGe = Y([
- WGe,
- sQ,
- a2
-], i$), W2 = Y([
- U2,
- a2,
- H2,
- sQ,
- KGe,
- GGe
-], XUe), JGe = Y([a2], l2), YGe = Y([JGe, Y([a2], (e) => e.allowDataOverflow)], hQ), XGe = Y([
- Y([
- qGe,
- Y([H2], (e) => e.filter(a$)),
- jQ,
- MQ
- ], s2),
- sQ,
- c$,
- YGe
-], rWe), ZGe = Y([
- U2,
- a2,
- Y([H2], GUe),
- f2,
- c$,
- Qze
-], m2, { memoizeOptions: { resultEqualityCheck: o$ } }), QGe = Y([Y([
- uWe,
- c$,
- l$
-], h2), c$], gWe), $Ge = Y([Y([
+}, U2 = Y([
+ s2,
fWe,
- c$,
- l$
-], h2), c$], vWe), G2 = Y([
- a2,
- NX,
- U2,
+ KQ
+], JUe), W2 = Y([
+ Y([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
+ s2,
+ Y([x$, S$], Z0)
+], $0, { memoizeOptions: { resultEqualityCheck: b$ } }), mKe = Y([W2], (e) => e.filter(v$)), hKe = Y([W2], t2, { memoizeOptions: { resultEqualityCheck: b$ } }), gKe = Y([W2], (e) => e.some((e) => !e.data)), G2 = Y([hKe, bQ], n2), _Ke = Y([
+ mKe,
+ bQ,
+ s2
+], _$), K2 = Y([
+ G2,
+ s2,
W2,
- jQ,
- c$,
+ bQ,
+ gKe,
+ hKe
+], bWe), vKe = Y([s2], d2), yKe = Y([vKe, Y([s2], (e) => e.allowDataOverflow)], OQ), bKe = Y([
+ Y([
+ _Ke,
+ Y([W2], (e) => e.filter(v$)),
+ WQ,
+ GQ
+ ], l2),
+ bQ,
+ x$,
+ yKe
+], DWe), xKe = Y([
+ G2,
+ s2,
+ Y([W2], hWe),
+ m2,
+ x$,
+ dBe
+], g2, { memoizeOptions: { resultEqualityCheck: y$ } }), SKe = Y([Y([
+ PWe,
+ x$,
+ S$
+], _2), x$], BWe), CKe = Y([Y([
+ IWe,
+ x$,
+ S$
+], _2), x$], HWe), q2 = Y([
+ s2,
+ KX,
+ G2,
+ K2,
+ WQ,
+ x$,
Y([
- a2,
- JGe,
- YGe,
- XGe,
- ZGe,
+ s2,
+ vKe,
+ yKe,
+ bKe,
+ xKe,
Y([
- QGe,
+ SKe,
Y([Y([
- mWe,
- c$,
- l$
- ], h2), c$], SWe),
- $Ge
- ], p2),
- NX,
- c$
- ], g2)
-], _2), eKe = Y([
- a2,
- G2,
+ RWe,
+ x$,
+ S$
+ ], _2), x$], KWe),
+ CKe
+ ], h2),
+ KX,
+ x$
+ ], v2)
+], y2), wKe = Y([
+ s2,
+ q2,
Y([
- G2,
- a2,
- V2
- ], b2),
- c$
-], S2), tKe = (e) => C2(e, c$(e), l$(e), !1), nKe = Y([a2, tKe], BQ), rKe = Y([Y([
- a2,
- V2,
- eKe,
- nKe
-], z0)], u$), K2 = Y([
- NX,
- a2,
- V2,
- rKe,
- tKe,
+ q2,
+ s2,
+ U2
+ ], S2),
+ x$
+], w2), TKe = (e) => T2(e, x$(e), S$(e), !1), EKe = Y([s2, TKe], $Q), DKe = Y([Y([
+ s2,
+ U2,
+ wKe,
+ EKe
+], V0)], C$), J2 = Y([
+ KX,
+ s2,
+ U2,
+ DKe,
+ TKe,
Y([
- NX,
- W2,
- a2,
- c$
- ], YWe),
+ KX,
+ K2,
+ s2,
+ x$
+ ], yGe),
Y([
- NX,
- W2,
- a2,
- c$
- ], T2),
- c$
+ KX,
+ K2,
+ s2,
+ x$
+ ], D2),
+ x$
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var c = t.type, l = KY(e, s);
+ var c = t.type, l = aX(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? cG(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? xG(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return VY(n) ? {
+ return eX(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(bG) : r.domain().map((e, t) => {
+ }).filter(NG) : r.domain().map((e, t) => {
var n = r.map(e);
- return VY(n) ? {
+ return eX(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(bG);
+ }).filter(NG);
}
}
-}), q2 = Y([
- tGe,
- nGe,
- oGe
-], (e, t, n) => rGe(n.shared, e, t)), iKe = (e) => e.tooltip.settings.trigger, J2 = (e) => e.tooltip.settings.defaultIndex, Y2 = Y([
- B2,
- q2,
- iKe,
- J2
-], TGe), X2 = Y([
+}), Y2 = Y([
+ TGe,
+ EGe,
+ AGe
+], (e, t, n) => DGe(n.shared, e, t)), OKe = (e) => e.tooltip.settings.trigger, X2 = (e) => e.tooltip.settings.defaultIndex, Z2 = Y([
+ H2,
Y2,
- U2,
- o2,
- G2
-], z2), aKe = Y([K2, X2], aGe), oKe = Y([Y2], (e) => {
+ OKe,
+ X2
+], YGe), Q2 = Y([
+ Z2,
+ G2,
+ c2,
+ q2
+], V2), kKe = Y([J2, Q2], kGe), AKe = Y([Z2], (e) => {
if (e) return e.dataKey;
-}), sKe = Y([Y2], (e) => {
+}), jKe = Y([Z2], (e) => {
if (e) return e.graphicalItemId;
-}), cKe = Y([
- B2,
- q2,
- iKe,
- J2
-], AGe), lKe = Y([Y2, Y([
- aX,
- oX,
- NX,
- fX,
- K2,
+}), MKe = Y([
+ H2,
+ Y2,
+ OKe,
+ X2
+], eKe), NKe = Y([Z2, Y([
+ vX,
+ yX,
+ KX,
+ TX,
J2,
- cKe
-], kGe)], (e, t) => e != null && e.coordinate ? e.coordinate : t), uKe = Y([Y2], (e) => e?.active ?? !1), dKe = Y([Y([
- cKe,
X2,
- sQ,
- o2,
- aKe,
- jGe,
- q2
-], UGe)], (e) => {
+ MKe
+], $Ge)], (e, t) => e != null && e.coordinate ? e.coordinate : t), PKe = Y([Z2], (e) => e?.active ?? !1), FKe = Y([Y([
+ MKe,
+ Q2,
+ bQ,
+ c2,
+ kKe,
+ tKe,
+ Y2
+], pKe)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -77151,7 +77760,7 @@ var UGe = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function fKe(e, t) {
+function IKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77161,30 +77770,30 @@ function fKe(e, t) {
}
return n;
}
-function pKe(e) {
+function LKe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fKe(Object(n), !0).forEach(function(t) {
- mKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fKe(Object(n)).forEach(function(t) {
+ t % 2 ? IKe(Object(n), !0).forEach(function(t) {
+ RKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mKe(e, t, n) {
- return (t = hKe(t)) in e ? Object.defineProperty(e, t, {
+function RKe(e, t, n) {
+ return (t = zKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hKe(e) {
- var t = gKe(e, "string");
+function zKe(e) {
+ var t = BKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gKe(e, t) {
+function BKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77194,13 +77803,13 @@ function gKe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _Ke = () => J(a2), vKe = () => {
- var e = _Ke(), t = J(K2), n = J(rKe);
- return nX(!e || !n ? void 0 : pKe(pKe({}, e), {}, { scale: n }), t);
+var VKe = () => J(s2), HKe = () => {
+ var e = VKe(), t = J(J2), n = J(DKe);
+ return hX(!e || !n ? void 0 : LKe(LKe({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function yKe(e, t) {
+function UKe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77210,30 +77819,30 @@ function yKe(e, t) {
}
return n;
}
-function Z2(e) {
+function $2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yKe(Object(n), !0).forEach(function(t) {
- bKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yKe(Object(n)).forEach(function(t) {
+ t % 2 ? UKe(Object(n), !0).forEach(function(t) {
+ WKe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UKe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bKe(e, t, n) {
- return (t = xKe(t)) in e ? Object.defineProperty(e, t, {
+function WKe(e, t, n) {
+ return (t = GKe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xKe(e) {
- var t = SKe(e, "string");
+function GKe(e) {
+ var t = KKe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function SKe(e, t) {
+function KKe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77243,7 +77852,7 @@ function SKe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var CKe = (e, t, n, r) => {
+var qKe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -77259,18 +77868,18 @@ var CKe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, wKe = (e, t, n, r) => {
+}, JKe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, o = r.radius;
- return Z2(Z2(Z2({}, r), QZ(r.cx, r.cy, o, a)), {}, {
+ return $2($2($2({}, r), dQ(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, c = r.angle;
- return Z2(Z2(Z2({}, r), QZ(r.cx, r.cy, s, c)), {}, {
+ return $2($2($2({}, r), dQ(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -77289,11 +77898,11 @@ var CKe = (e, t, n, r) => {
y: 0
};
};
-function TKe(e, t) {
+function YKe(e, t) {
var n = e.relativeX, r = e.relativeY;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
-var EKe = (e, t, n, r, i) => {
+var XKe = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = i[1] - i[0], s = (t, n, r) => [
@@ -77303,9 +77912,9 @@ var EKe = (e, t, n, r, i) => {
].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {
var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;
if (l != null && u != null && d != null) {
- if (cG(u - l) !== cG(d - u)) {
+ if (xG(u - l) !== xG(d - u)) {
var p = [];
- if (cG(d - u) === cG(i[1] - i[0])) {
+ if (xG(d - u) === xG(i[1] - i[0])) {
f = d;
var m = u + i[1] - i[0];
p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);
@@ -77330,78 +77939,78 @@ var EKe = (e, t, n, r, i) => {
}
}
return -1;
-}, DKe = () => J(NQ), Q2 = (e, t) => t, OKe = (e, t, n) => n, $2 = (e, t, n, r) => r, kKe = Y(K2, (e) => Aq(e, (e) => e.coordinate)), e4 = Y([
- B2,
- Q2,
- OKe,
- $2
-], TGe), t4 = Y([
+}, ZKe = () => J(KQ), e4 = (e, t) => t, QKe = (e, t, n) => n, t4 = (e, t, n, r) => r, $Ke = Y(J2, (e) => Uq(e, (e) => e.coordinate)), n4 = Y([
+ H2,
e4,
- U2,
- o2,
- G2
-], z2), AKe = (e, t, n) => {
+ QKe,
+ t4
+], YGe), r4 = Y([
+ n4,
+ G2,
+ c2,
+ q2
+], V2), eqe = (e, t, n) => {
if (t != null) {
- var r = B2(e);
+ var r = H2(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
}
-}, jKe = Y([
- B2,
- Q2,
- OKe,
- $2
-], AGe), n4 = Y([
- aX,
- oX,
- NX,
- fX,
- K2,
- $2,
- jKe
-], kGe), MKe = Y([e4, n4], (e, t) => e.coordinate ?? t), NKe = Y([K2, t4], aGe), PKe = Y([
- jKe,
+}, tqe = Y([
+ H2,
+ e4,
+ QKe,
+ t4
+], eKe), i4 = Y([
+ vX,
+ yX,
+ KX,
+ TX,
+ J2,
t4,
- sQ,
- o2,
- NKe,
- jGe,
- Q2
-], UGe), FKe = Y([e4, t4], (e, t) => ({
+ tqe
+], $Ge), nqe = Y([n4, i4], (e, t) => e.coordinate ?? t), rqe = Y([J2, r4], kGe), iqe = Y([
+ tqe,
+ r4,
+ bQ,
+ c2,
+ rqe,
+ tKe,
+ e4
+], pKe), aqe = Y([n4, r4], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), IKe = (e, t, n, r, i, a, o) => {
- if (e && n && r && i && TKe(e, o)) {
- var s = EKe(xIe(e, t), a, i, n, r), c = CKe(t, i, s, e);
+})), oqe = (e, t, n, r, i, a, o) => {
+ if (e && n && r && i && YKe(e, o)) {
+ var s = XKe(PIe(e, t), a, i, n, r), c = qKe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, LKe = (e, t, n, r, i, a, o) => {
+}, sqe = (e, t, n, r, i, a, o) => {
if (e && r && i && a && n) {
- var s = Lze(e, n);
+ var s = Xze(e, n);
if (s) {
- var c = EKe(SIe(s, t), o, a, r, i), l = wKe(t, a, c, s);
+ var c = XKe(FIe(s, t), o, a, r, i), l = JKe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, RKe = (e, t, n, r, i, a, o, s) => {
- if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? IKe(e, t, r, i, a, o, s) : LKe(e, t, n, r, i, a, o);
-}, zKe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, cqe = (e, t, n, r, i, a, o, s) => {
+ if (e && t && r && i && a) return t === "horizontal" || t === "vertical" ? oqe(e, t, r, i, a, o, s) : sqe(e, t, n, r, i, a, o);
+}, lqe = Y((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), BKe = Y((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(LQ));
+}), uqe = Y((e) => e.zIndex.zIndexMap, (e) => {
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(XQ));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: hBe } });
+}, { memoizeOptions: { resultEqualityCheck: OBe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function VKe(e, t) {
+function dqe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77411,30 +78020,30 @@ function VKe(e, t) {
}
return n;
}
-function HKe(e) {
+function fqe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? VKe(Object(n), !0).forEach(function(t) {
- UKe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VKe(Object(n)).forEach(function(t) {
+ t % 2 ? dqe(Object(n), !0).forEach(function(t) {
+ pqe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dqe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UKe(e, t, n) {
- return (t = WKe(t)) in e ? Object.defineProperty(e, t, {
+function pqe(e, t, n) {
+ return (t = mqe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WKe(e) {
- var t = GKe(e, "string");
+function mqe(e) {
+ var t = hqe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GKe(e, t) {
+function hqe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77444,17 +78053,17 @@ function GKe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var KKe = { zIndexMap: Object.values(LQ).reduce((e, t) => HKe(HKe({}, e), {}, { [t]: {
+var gqe = { zIndexMap: Object.values(XQ).reduce((e, t) => fqe(fqe({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, qKe = new Set(Object.values(LQ));
-function JKe(e) {
- return qKe.has(e);
+} }), {}) }, _qe = new Set(Object.values(XQ));
+function vqe(e) {
+ return _qe.has(e);
}
-var YKe = dY({
+var yqe = wY({
name: "zIndex",
- initialState: KKe,
+ initialState: gqe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -77465,50 +78074,50 @@ var YKe = dY({
panoramaElement: void 0
};
},
- prepare: sY()
+ prepare: bY()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var n = t.payload.zIndex;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !JKe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !vqe(n) && delete e.zIndexMap[n]);
},
- prepare: sY()
+ prepare: bY()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var n = t.payload, r = n.zIndex, i = n.element, a = n.isPanorama;
- e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = eY(i) : e.zIndexMap[r].element = eY(i) : e.zIndexMap[r] = {
+ e.zIndexMap[r] ? a ? e.zIndexMap[r].panoramaElement = pY(i) : e.zIndexMap[r].element = pY(i) : e.zIndexMap[r] = {
consumers: 0,
- element: a ? void 0 : eY(i),
- panoramaElement: a ? eY(i) : void 0
+ element: a ? void 0 : pY(i),
+ panoramaElement: a ? pY(i) : void 0
};
},
- prepare: sY()
+ prepare: bY()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var n = t.payload.zIndex;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: sY()
+ prepare: bY()
}
}
-}), r4 = YKe.actions, XKe = r4.registerZIndexPortal, i4 = r4.unregisterZIndexPortal, ZKe = r4.registerZIndexPortalElement, QKe = r4.unregisterZIndexPortalElement, $Ke = YKe.reducer;
+}), a4 = yqe.actions, bqe = a4.registerZIndexPortal, o4 = a4.unregisterZIndexPortal, xqe = a4.registerZIndexPortalElement, Sqe = a4.unregisterZIndexPortalElement, Cqe = yqe.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
-function a4(e) {
- var t = e.zIndex, n = e.children, r = iLe() && t !== void 0 && t !== 0, i = hX(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = xq(), c = J((e) => zKe(e, t, i));
+function s4(e) {
+ var t = e.zIndex, n = e.children, r = _Le() && t !== void 0 && t !== 0, i = OX(), a = (0, b.useRef)(void 0), o = (0, b.useRef)(/* @__PURE__ */ new Set()), s = Pq(), c = J((e) => lqe(e, t, i));
if ((0, b.useLayoutEffect)(() => {
if (!r) {
var e = o.current;
e.forEach((e) => {
- s(i4({ zIndex: e }));
+ s(o4({ zIndex: e }));
}), e.clear(), a.current = void 0;
- } else if (o.current.has(t) || (s(XKe({ zIndex: t })), o.current.add(t)), c) {
+ } else if (o.current.has(t) || (s(bqe({ zIndex: t })), o.current.add(t)), c) {
a.current = c;
var n = o.current;
n.forEach((e) => {
- e !== t && (s(i4({ zIndex: e })), n.delete(e));
+ e !== t && (s(o4({ zIndex: e })), n.delete(e));
});
}
}, [
@@ -77520,7 +78129,7 @@ function a4(e) {
var e = o.current;
return () => {
e.forEach((e) => {
- s(i4({ zIndex: e }));
+ s(o4({ zIndex: e }));
}), e.clear();
};
}, [s]), !r) return n;
@@ -77529,16 +78138,16 @@ function a4(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
-function o4() {
- return o4 = Object.assign ? Object.assign.bind() : function(e) {
+function c4() {
+ return c4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, o4.apply(null, arguments);
+ }, c4.apply(null, arguments);
}
-function eqe(e, t) {
+function wqe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77548,30 +78157,30 @@ function eqe(e, t) {
}
return n;
}
-function s4(e) {
+function l4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? eqe(Object(n), !0).forEach(function(t) {
- tqe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eqe(Object(n)).forEach(function(t) {
+ t % 2 ? wqe(Object(n), !0).forEach(function(t) {
+ Tqe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wqe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tqe(e, t, n) {
- return (t = nqe(t)) in e ? Object.defineProperty(e, t, {
+function Tqe(e, t, n) {
+ return (t = Eqe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nqe(e) {
- var t = rqe(e, "string");
+function Eqe(e) {
+ var t = Dqe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rqe(e, t) {
+function Dqe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77581,18 +78190,18 @@ function rqe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function iqe(e) {
+function Oqe(e) {
var t = e.cursor, n = e.cursorComp, r = e.cursorProps;
return /*#__PURE__*/ (0, b.isValidElement)(t) ? /*#__PURE__*/ (0, b.cloneElement)(t, r) : /*#__PURE__*/ (0, b.createElement)(n, r);
}
-function aqe(e) {
+function kqe(e) {
var t = e.coordinate, n = e.payload, r = e.index, i = e.offset, a = e.tooltipAxisBandSize, o = e.layout, s = e.cursor, c = e.tooltipEventType, l = e.chartName, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = LRe, h = LQ.cursorLine;
- else if (l === "BarChart") p = RRe(o, u, i, a), m = qZ, h = LQ.cursorRectangle;
- else if (o === "radial" && wK(u)) {
- var g = $Z(u), _ = g.cx, v = g.cy, y = g.radius;
+ if (l === "ScatterChart") p = u, m = XRe, h = XQ.cursorLine;
+ else if (l === "BarChart") p = ZRe(o, u, i, a), m = oQ, h = XQ.cursorRectangle;
+ else if (o === "radial" && LK(u)) {
+ var g = fQ(u), _ = g.cx, v = g.cy, y = g.radius;
p = {
cx: _,
cy: v,
@@ -77600,25 +78209,25 @@ function aqe(e) {
endAngle: g.endAngle,
innerRadius: y,
outerRadius: y
- }, m = iQ, h = LQ.cursorLine;
- } else p = { points: Jze(o, u, i) }, m = SZ, h = LQ.cursorLine;
- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = s4(s4(s4(s4({
+ }, m = _Q, h = XQ.cursorLine;
+ } else p = { points: sBe(o, u, i) }, m = FZ, h = XQ.cursorLine;
+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = l4(l4(l4(l4({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), qW(s)), {}, {
+ }, i), p), oG(s)), {}, {
payload: d,
payloadIndex: f,
className: Cv("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(iqe, {
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ b.createElement(Oqe, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function oqe(e) {
- var t = vKe(), n = AX(), r = PX(), i = DKe();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(aqe, o4({}, e, {
+function Aqe(e) {
+ var t = HKe(), n = UX(), r = qX(), i = ZKe();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ b.createElement(kqe, c4({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -77627,7 +78236,7 @@ function oqe(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var sqe = /*#__PURE__*/ (0, b.createContext)(null), cqe = () => (0, b.useContext)(sqe), lqe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
+var jqe = /*#__PURE__*/ (0, b.createContext)(null), Mqe = () => (0, b.useContext)(jqe), Nqe = (/* @__PURE__ */ l((/* @__PURE__ */ o(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -77714,12 +78323,12 @@ var sqe = /*#__PURE__*/ (0, b.createContext)(null), cqe = () => (0, b.useContext
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, c4 = new lqe(), l4 = "recharts.syncEvent.tooltip", uqe = "recharts.syncEvent.brush", u4 = (e, t) => {
+})))(), 1)).default, u4 = new Nqe(), d4 = "recharts.syncEvent.tooltip", Pqe = "recharts.syncEvent.brush", f4 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!lG(n)) return e[n];
+ if (!SG(n)) return e[n];
}
-}, dqe = dY({
+}, Fqe = wY({
name: "options",
initialState: {
chartName: "",
@@ -77730,13 +78339,13 @@ var sqe = /*#__PURE__*/ (0, b.createContext)(null), cqe = () => (0, b.useContext
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), fqe = dqe.reducer, pqe = dqe.actions.createEventEmitter;
+}), Iqe = Fqe.reducer, Lqe = Fqe.actions.createEventEmitter;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function mqe(e) {
+function Rqe(e) {
return e.tooltip.syncInteraction;
}
-var hqe = dY({
+var zqe = wY({
name: "chartData",
initialState: {
chartData: void 0,
@@ -77746,7 +78355,7 @@ var hqe = dY({
},
reducers: {
setChartData(e, t) {
- e.chartData = eY(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);
+ e.chartData = pY(t.payload), t.payload == null ? (e.dataStartIndex = 0, e.dataEndIndex = 0) : t.payload.length > 0 && e.dataEndIndex !== t.payload.length - 1 && (e.dataEndIndex = t.payload.length - 1);
},
setComputedData(e, t) {
e.computedData = t.payload;
@@ -77756,10 +78365,10 @@ var hqe = dY({
r != null && (e.dataStartIndex = r), i != null && (e.dataEndIndex = i);
}
}
-}), d4 = hqe.actions, gqe = d4.setChartData, _qe = d4.setDataStartEndIndexes;
-d4.setComputedData;
-var vqe = hqe.reducer, yqe = ["x", "y"];
-function bqe(e, t) {
+}), p4 = zqe.actions, Bqe = p4.setChartData, Vqe = p4.setDataStartEndIndexes;
+p4.setComputedData;
+var Hqe = zqe.reducer, Uqe = ["x", "y"];
+function Wqe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77769,30 +78378,30 @@ function bqe(e, t) {
}
return n;
}
-function f4(e) {
+function m4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? bqe(Object(n), !0).forEach(function(t) {
- xqe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bqe(Object(n)).forEach(function(t) {
+ t % 2 ? Wqe(Object(n), !0).forEach(function(t) {
+ Gqe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wqe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xqe(e, t, n) {
- return (t = Sqe(t)) in e ? Object.defineProperty(e, t, {
+function Gqe(e, t, n) {
+ return (t = Kqe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Sqe(e) {
- var t = Cqe(e, "string");
+function Kqe(e) {
+ var t = qqe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cqe(e, t) {
+function qqe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -77802,16 +78411,16 @@ function Cqe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function wqe(e, t) {
+function Jqe(e, t) {
if (e == null) return {};
- var n, r, i = Tqe(e, t);
+ var n, r, i = Yqe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Tqe(e, t) {
+function Yqe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -77820,13 +78429,13 @@ function Tqe(e, t) {
}
return n;
}
-function Eqe() {
- var e = J(PQ), t = J(IQ), n = xq(), r = J(FQ), i = J(K2), a = PX(), o = kX(), s = J((e) => e.rootProps.className);
+function Xqe() {
+ var e = J(qQ), t = J(YQ), n = Pq(), r = J(JQ), i = J(J2), a = qX(), o = HX(), s = J((e) => e.rootProps.className);
(0, b.useEffect)(() => {
- if (e == null) return xG;
+ if (e == null) return PG;
var s = (s, c, l) => {
if (t !== l && e === s) {
- if (c.payload.active === !1) n(I2({
+ if (c.payload.active === !1) n(R2({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -77838,11 +78447,11 @@ function Eqe() {
else if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, f = d.x, p = d.y, m = wqe(d, yqe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = f4(f4({}, m), {}, {
+ var d = c.payload.coordinate, f = d.x, p = d.y, m = Jqe(d, Uqe), h = c.payload.sourceViewBox, g = h.x, _ = h.y, v = h.width, y = h.height, b = m4(m4({}, m), {}, {
x: o.x + (v ? (f - g) / v : 0) * o.width,
y: o.y + (y ? (p - _) / y : 0) * o.height
});
- n(f4(f4({}, c), {}, { payload: f4(f4({}, c.payload), {}, { coordinate: b }) }));
+ n(m4(m4({}, c), {}, { payload: m4(m4({}, c.payload), {}, { coordinate: b }) }));
} else n(c);
} else if (i != null) {
var x;
@@ -77855,7 +78464,7 @@ function Eqe() {
activeCoordinate: c.payload.coordinate
})] : r === "value" && (x = i.find((e) => String(e.value) === c.payload.label));
var S = c.payload.coordinate;
- if (S == null || o == null) n(I2({
+ if (S == null || o == null) n(R2({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -77864,7 +78473,7 @@ function Eqe() {
sourceViewBox: void 0,
graphicalItemId: void 0
}));
- else if (x == null) n(I2({
+ else if (x == null) n(R2({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -77878,7 +78487,7 @@ function Eqe() {
x: a === "horizontal" ? x.coordinate : T,
y: a === "horizontal" ? E : x.coordinate
};
- n(I2({
+ n(R2({
active: c.payload.active,
coordinate: D,
dataKey: c.payload.dataKey,
@@ -77891,8 +78500,8 @@ function Eqe() {
}
}
};
- return c4.on(l4, s), () => {
- c4.off(l4, s);
+ return u4.on(d4, s), () => {
+ u4.off(d4, s);
};
}, [
s,
@@ -77905,15 +78514,15 @@ function Eqe() {
o
]);
}
-function Dqe() {
- var e = J(PQ), t = J(IQ), n = xq();
+function Zqe() {
+ var e = J(qQ), t = J(YQ), n = Pq();
(0, b.useEffect)(() => {
- if (e == null) return xG;
+ if (e == null) return PG;
var r = (r, i, a) => {
- t !== a && e === r && n(_qe(i));
+ t !== a && e === r && n(Vqe(i));
};
- return c4.on(uqe, r), () => {
- c4.off(uqe, r);
+ return u4.on(Pqe, r), () => {
+ u4.off(Pqe, r);
};
}, [
n,
@@ -77921,17 +78530,17 @@ function Dqe() {
e
]);
}
-function Oqe() {
- var e = xq();
+function Qqe() {
+ var e = Pq();
(0, b.useEffect)(() => {
- e(pqe());
- }, [e]), Eqe(), Dqe();
+ e(Lqe());
+ }, [e]), Xqe(), Zqe();
}
-function kqe(e, t, n, r, i, a) {
- var o = J((n) => AKe(n, e, t)), s = J(sKe), c = J(IQ), l = J(PQ), u = J(FQ), d = J(mqe)?.sourceViewBox != null, f = kX();
+function $qe(e, t, n, r, i, a) {
+ var o = J((n) => eqe(n, e, t)), s = J(jKe), c = J(YQ), l = J(qQ), u = J(JQ), d = J(Rqe)?.sourceViewBox != null, f = HX();
(0, b.useEffect)(() => {
if (!d && l != null && c != null) {
- var e = I2({
+ var e = R2({
active: a,
coordinate: n,
dataKey: o,
@@ -77940,7 +78549,7 @@ function kqe(e, t, n, r, i, a) {
sourceViewBox: f,
graphicalItemId: s
});
- c4.emit(l4, l, e, c);
+ u4.emit(d4, l, e, c);
}
}, [
d,
@@ -77958,7 +78567,7 @@ function kqe(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function Aqe(e, t) {
+function eJe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -77968,30 +78577,30 @@ function Aqe(e, t) {
}
return n;
}
-function jqe(e) {
+function tJe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Aqe(Object(n), !0).forEach(function(t) {
- Mqe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Aqe(Object(n)).forEach(function(t) {
+ t % 2 ? eJe(Object(n), !0).forEach(function(t) {
+ nJe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eJe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Mqe(e, t, n) {
- return (t = Nqe(t)) in e ? Object.defineProperty(e, t, {
+function nJe(e, t, n) {
+ return (t = rJe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Nqe(e) {
- var t = Pqe(e, "string");
+function rJe(e) {
+ var t = iJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Pqe(e, t) {
+function iJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78001,25 +78610,25 @@ function Pqe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Fqe(e, t) {
- return Bqe(e) || zqe(e, t) || Lqe(e, t) || Iqe();
+function aJe(e, t) {
+ return uJe(e) || lJe(e, t) || sJe(e, t) || oJe();
}
-function Iqe() {
+function oJe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function Lqe(e, t) {
+function sJe(e, t) {
if (e) {
- if (typeof e == "string") return Rqe(e, t);
+ if (typeof e == "string") return cJe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Rqe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cJe(e, t) : void 0;
}
}
-function Rqe(e, t) {
+function cJe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function zqe(e, t) {
+function lJe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78040,16 +78649,16 @@ function zqe(e, t) {
return s;
}
}
-function Bqe(e) {
+function uJe(e) {
if (Array.isArray(e)) return e;
}
-function Vqe(e) {
+function dJe(e) {
return e.dataKey;
}
-function Hqe(e, t) {
- return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(rRe, t);
+function fJe(e, t) {
+ return /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ b.createElement(e, t) : /*#__PURE__*/ b.createElement(gRe, t);
}
-var Uqe = [], Wqe = {
+var pJe = [], mJe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -78075,10 +78684,10 @@ var Uqe = [], Wqe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function Gqe(e) {
- var t = OK(e, Wqe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = xq(), C = typeof v == "number" ? String(v) : v;
+function hJe(e) {
+ var t = VK(e, mJe), n = t.active, r = t.allowEscapeViewBox, i = t.animationDuration, a = t.animationEasing, o = t.content, s = t.filterNull, c = t.isAnimationActive, l = t.offset, u = t.payloadUniqBy, d = t.position, f = t.reverseDirection, p = t.useTranslate3d, m = t.wrapperStyle, h = t.cursor, g = t.shared, _ = t.trigger, v = t.defaultIndex, y = t.portal, x = t.axisId, S = Pq(), C = typeof v == "number" ? String(v) : v;
(0, b.useEffect)(() => {
- S(dGe({
+ S(FGe({
shared: g,
trigger: _,
axisId: x,
@@ -78093,20 +78702,20 @@ function Gqe(e) {
n,
C
]);
- var w = kX(), T = fZ(), E = iGe(g), D = J((e) => FKe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => PKe(e, E, _, C)), j = J((e) => NKe(e, E, _, C)), M = J((e) => MKe(e, E, _, C)), N = A, P = cqe(), ee = n ?? k ?? !1, F = Fqe(Iq([N, ee]), 2), te = F[0], ne = F[1], re = E === "axis" ? j : void 0;
- kqe(E, _, M, re, O, ee);
+ var w = HX(), T = TZ(), E = OGe(g), D = J((e) => aqe(e, E, _, C)) ?? {}, O = D.activeIndex, k = D.isActive, A = J((e) => iqe(e, E, _, C)), j = J((e) => rqe(e, E, _, C)), M = J((e) => nqe(e, E, _, C)), N = A, P = Mqe(), ee = n ?? k ?? !1, F = aJe(Yq([N, ee]), 2), te = F[0], ne = F[1], re = E === "axis" ? j : void 0;
+ $qe(E, _, M, re, O, ee);
var ie = y ?? P;
if (ie == null || w == null || E == null) return null;
- var ae = N ?? Uqe;
- ee || (ae = Uqe), s && ae.length && (ae = yq(ae.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, Vqe));
- var oe = ae.length > 0, se = jqe(jqe({}, t), {}, {
+ var ae = N ?? pJe;
+ ee || (ae = pJe), s && ae.length && (ae = Mq(ae.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, dJe));
+ var oe = ae.length > 0, se = tJe(tJe({}, t), {}, {
payload: ae,
label: re,
active: ee,
activeIndex: O,
coordinate: M,
accessibilityLayer: T
- }), ce = /*#__PURE__*/ b.createElement(CRe, {
+ }), ce = /*#__PURE__*/ b.createElement(IRe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -78123,8 +78732,8 @@ function Gqe(e) {
lastBoundingBox: te,
innerRef: ne,
hasPortalFromProps: !!y
- }, Hqe(o, se));
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(ce, ie), ee && /*#__PURE__*/ b.createElement(oqe, {
+ }, fJe(o, se));
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ (0, mt.createPortal)(ce, ie), ee && /*#__PURE__*/ b.createElement(Aqe, {
cursor: h,
tooltipEventType: E,
coordinate: M,
@@ -78134,23 +78743,23 @@ function Gqe(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cell.js
-var p4 = (e) => null;
-p4.displayName = "Cell";
+var h4 = (e) => null;
+h4.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function Kqe(e, t, n) {
- return (t = qqe(t)) in e ? Object.defineProperty(e, t, {
+function gJe(e, t, n) {
+ return (t = _Je(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qqe(e) {
- var t = Jqe(e, "string");
+function _Je(e) {
+ var t = vJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jqe(e, t) {
+function vJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78160,9 +78769,9 @@ function Jqe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Yqe = class {
+var yJe = class {
constructor(e) {
- Kqe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ gJe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -78185,7 +78794,7 @@ var Yqe = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function Xqe(e, t) {
+function bJe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78195,30 +78804,30 @@ function Xqe(e, t) {
}
return n;
}
-function Zqe(e) {
+function xJe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Xqe(Object(n), !0).forEach(function(t) {
- Qqe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xqe(Object(n)).forEach(function(t) {
+ t % 2 ? bJe(Object(n), !0).forEach(function(t) {
+ SJe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bJe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qqe(e, t, n) {
- return (t = $qe(t)) in e ? Object.defineProperty(e, t, {
+function SJe(e, t, n) {
+ return (t = CJe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $qe(e) {
- var t = eJe(e, "string");
+function CJe(e) {
+ var t = wJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eJe(e, t) {
+function wJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78228,10 +78837,10 @@ function eJe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var tJe = Zqe({}, {
+var TJe = xJe({}, {
cacheSize: 2e3,
enableCache: !0
-}), nJe = new Yqe(tJe.cacheSize), rJe = {
+}), EJe = new yJe(TJe.cacheSize), DJe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -78239,14 +78848,14 @@ var tJe = Zqe({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, iJe = "recharts_measurement_span";
-function aJe(e, t) {
+}, OJe = "recharts_measurement_span";
+function kJe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var oJe = (e, t) => {
+var AJe = (e, t) => {
try {
- var n = document.getElementById(iJe);
- n || (n = document.createElement("span"), n.setAttribute("id", iJe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, rJe, t), n.textContent = `${e}`;
+ var n = document.getElementById(OJe);
+ n || (n = document.createElement("span"), n.setAttribute("id", OJe), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, DJe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -78258,37 +78867,37 @@ var oJe = (e, t) => {
height: 0
};
}
-}, m4 = function(e) {
+}, g4 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || oZ.isSsr) return {
+ if (e == null || yZ.isSsr) return {
width: 0,
height: 0
};
- if (!tJe.enableCache) return oJe(e, t);
- var n = aJe(e, t), r = nJe.get(n);
+ if (!TJe.enableCache) return AJe(e, t);
+ var n = kJe(e, t), r = EJe.get(n);
if (r) return r;
- var i = oJe(e, t);
- return nJe.set(n, i), i;
-}, sJe;
-function h4(e, t) {
- return fJe(e) || dJe(e, t) || lJe(e, t) || cJe();
+ var i = AJe(e, t);
+ return EJe.set(n, i), i;
+}, jJe;
+function _4(e, t) {
+ return IJe(e) || FJe(e, t) || NJe(e, t) || MJe();
}
-function cJe() {
+function MJe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function lJe(e, t) {
+function NJe(e, t) {
if (e) {
- if (typeof e == "string") return uJe(e, t);
+ if (typeof e == "string") return PJe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? uJe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? PJe(e, t) : void 0;
}
}
-function uJe(e, t) {
+function PJe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function dJe(e, t) {
+function FJe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78309,22 +78918,22 @@ function dJe(e, t) {
return s;
}
}
-function fJe(e) {
+function IJe(e) {
if (Array.isArray(e)) return e;
}
-function pJe(e, t, n) {
- return (t = mJe(t)) in e ? Object.defineProperty(e, t, {
+function LJe(e, t, n) {
+ return (t = RJe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mJe(e) {
- var t = hJe(e, "string");
+function RJe(e) {
+ var t = zJe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hJe(e, t) {
+function zJe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78334,7 +78943,7 @@ function hJe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var gJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, _Je = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, vJe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, yJe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, bJe = {
+var BJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, VJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, HJe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, UJe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, WJe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -78342,7 +78951,7 @@ var gJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, _Je =
in: 96,
Q: 96 / 101.6,
px: 1
-}, xJe = [
+}, GJe = [
"cm",
"mm",
"pt",
@@ -78351,20 +78960,20 @@ var gJe = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, _Je =
"Q",
"px"
];
-function SJe(e) {
- return xJe.includes(e);
+function KJe(e) {
+ return GJe.includes(e);
}
-var g4 = "NaN";
-function CJe(e, t) {
- return e * bJe[t];
+var v4 = "NaN";
+function qJe(e, t) {
+ return e * WJe[t];
}
-var _4 = class e {
+var y4 = class e {
static parse(t) {
- var n = h4(yJe.exec(t) ?? [], 3), r = n[1], i = n[2];
+ var n = _4(UJe.exec(t) ?? [], 3), r = n[1], i = n[2];
return r == null ? e.NaN : new e(parseFloat(r), i ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, lG(e) && (this.unit = ""), t !== "" && !vJe.test(t) && (this.num = NaN, this.unit = ""), SJe(t) && (this.num = CJe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, SG(e) && (this.unit = ""), t !== "" && !HJe.test(t) && (this.num = NaN, this.unit = ""), KJe(t) && (this.num = qJe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -78382,50 +78991,50 @@ var _4 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return lG(this.num);
+ return SG(this.num);
}
};
-sJe = _4, pJe(_4, "NaN", new sJe(NaN, ""));
-function wJe(e) {
- if (e == null || e.includes(g4)) return g4;
+jJe = y4, LJe(y4, "NaN", new jJe(NaN, ""));
+function JJe(e) {
+ if (e == null || e.includes(v4)) return v4;
for (var t = e; t.includes("*") || t.includes("/");) {
- var n = h4(gJe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = _4.parse(r ?? ""), s = _4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
- if (c.isNaN()) return g4;
- t = t.replace(gJe, c.toString());
+ var n = _4(BJe.exec(t) ?? [], 4), r = n[1], i = n[2], a = n[3], o = y4.parse(r ?? ""), s = y4.parse(a ?? ""), c = i === "*" ? o.multiply(s) : o.divide(s);
+ if (c.isNaN()) return v4;
+ t = t.replace(BJe, c.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var l = h4(_Je.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = _4.parse(u ?? ""), m = _4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
- if (h.isNaN()) return g4;
- t = t.replace(_Je, h.toString());
+ var l = _4(VJe.exec(t) ?? [], 4), u = l[1], d = l[2], f = l[3], p = y4.parse(u ?? ""), m = y4.parse(f ?? ""), h = d === "+" ? p.add(m) : p.subtract(m);
+ if (h.isNaN()) return v4;
+ t = t.replace(VJe, h.toString());
}
return t;
}
-var TJe = /\(([^()]*)\)/;
-function EJe(e) {
- for (var t = e, n; (n = TJe.exec(t)) != null;) {
- var r = h4(n, 2)[1];
- t = t.replace(TJe, wJe(r));
+var YJe = /\(([^()]*)\)/;
+function XJe(e) {
+ for (var t = e, n; (n = YJe.exec(t)) != null;) {
+ var r = _4(n, 2)[1];
+ t = t.replace(YJe, JJe(r));
}
return t;
}
-function DJe(e) {
+function ZJe(e) {
var t = e.replace(/\s+/g, "");
- return t = EJe(t), t = wJe(t), t;
+ return t = XJe(t), t = JJe(t), t;
}
-function OJe(e) {
+function QJe(e) {
try {
- return DJe(e);
+ return ZJe(e);
} catch {
- return g4;
+ return v4;
}
}
-function v4(e) {
- var t = OJe(e.slice(5, -1));
- return t === g4 ? "" : t;
+function b4(e) {
+ var t = QJe(e.slice(5, -1));
+ return t === v4 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var kJe = [
+var $Je = [
"x",
"y",
"lineHeight",
@@ -78434,32 +79043,32 @@ var kJe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], AJe = [
+], eYe = [
"dx",
"dy",
"angle",
"className",
"breakAll"
];
-function y4() {
- return y4 = Object.assign ? Object.assign.bind() : function(e) {
+function x4() {
+ return x4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, y4.apply(null, arguments);
+ }, x4.apply(null, arguments);
}
-function jJe(e, t) {
+function tYe(e, t) {
if (e == null) return {};
- var n, r, i = MJe(e, t);
+ var n, r, i = nYe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function MJe(e, t) {
+function nYe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78468,25 +79077,25 @@ function MJe(e, t) {
}
return n;
}
-function NJe(e, t) {
- return RJe(e) || LJe(e, t) || FJe(e, t) || PJe();
+function rYe(e, t) {
+ return cYe(e) || sYe(e, t) || aYe(e, t) || iYe();
}
-function PJe() {
+function iYe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function FJe(e, t) {
+function aYe(e, t) {
if (e) {
- if (typeof e == "string") return IJe(e, t);
+ if (typeof e == "string") return oYe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? IJe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? oYe(e, t) : void 0;
}
}
-function IJe(e, t) {
+function oYe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function LJe(e, t) {
+function sYe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -78507,31 +79116,31 @@ function LJe(e, t) {
return s;
}
}
-function RJe(e) {
+function cYe(e) {
if (Array.isArray(e)) return e;
}
-var zJe = /[ \f\n\r\t\v\u2028\u2029]+/, BJe = (e) => {
+var lYe = /[ \f\n\r\t\v\u2028\u2029]+/, uYe = (e) => {
var t = e.children, n = e.breakAll, r = e.style;
try {
var i = [];
- return vG(t) || (i = n ? t.toString().split("") : t.toString().split(zJe)), {
+ return jG(t) || (i = n ? t.toString().split("") : t.toString().split(lYe)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: m4(e, r).width
+ width: g4(e, r).width
})),
- spaceWidth: n ? 0 : m4("\xA0", r).width
+ spaceWidth: n ? 0 : g4("\xA0", r).width
};
} catch {
return null;
}
};
-function VJe(e) {
+function dYe(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function HJe(e) {
- return vG(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function fYe(e) {
+ return jG(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var UJe = (e, t, n, r) => e.reduce((e, i) => {
+var pYe = (e, t, n, r) => e.reduce((e, i) => {
var a = i.word, o = i.width, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -78542,20 +79151,20 @@ var UJe = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), WJe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), GJe = "…", KJe = (e, t, n, r, i, a, o, s) => {
- var c = BJe({
+}, []), mYe = (e) => e.reduce((e, t) => e.width > t.width ? e : t), hYe = "…", gYe = (e, t, n, r, i, a, o, s) => {
+ var c = uYe({
breakAll: n,
style: r,
- children: e.slice(0, t) + GJe
+ children: e.slice(0, t) + hYe
});
if (!c) return [!1, []];
- var l = UJe(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || WJe(l).width > Number(a), l];
-}, qJe = (e, t, n, r, i) => {
- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = dG(a), u = String(o), d = UJe(t, r, n, i);
- if (!l || i || !(d.length > a || WJe(d).width > Number(r))) return d;
+ var l = pYe(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || mYe(l).width > Number(a), l];
+}, _Ye = (e, t, n, r, i) => {
+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = wG(a), u = String(o), d = pYe(t, r, n, i);
+ if (!l || i || !(d.length > a || mYe(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), _ = NJe(KJe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = NJe(KJe(u, g, c, s, a, r, n, i), 1)[0];
+ var g = Math.floor((f + p) / 2), _ = rYe(gYe(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = rYe(gYe(u, g, c, s, a, r, n, i), 1)[0];
if (!v && !b && (f = g + 1), v && b && (p = g - 1), !v && b) {
h = y;
break;
@@ -78563,13 +79172,13 @@ var UJe = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, JJe = (e) => [{
- words: vG(e) ? [] : e.toString().split(zJe),
+}, vYe = (e) => [{
+ words: jG(e) ? [] : e.toString().split(lYe),
width: void 0
-}], YJe = (e) => {
+}], yYe = (e) => {
var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;
- if ((t || n) && !oZ.isSsr) {
- var s, c, l = BJe({
+ if ((t || n) && !yZ.isSsr) {
+ var s, c, l = uYe({
breakAll: a,
children: r,
style: i
@@ -78577,28 +79186,28 @@ var UJe = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var u = l.wordsWithComputedWidth, d = l.spaceWidth;
s = u, c = d;
- } else return JJe(r);
- return qJe({
+ } else return vYe(r);
+ return _Ye({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return JJe(r);
-}, XJe = "#808080", ZJe = {
+ return vYe(r);
+}, bYe = "#808080", xYe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: XJe,
+ fill: bYe,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, b4 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = OK(e, ZJe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = jJe(n, kJe), f = (0, b.useMemo)(() => YJe({
+}, S4 = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = VK(e, xYe), r = n.x, i = n.y, a = n.lineHeight, o = n.capHeight, s = n.fill, c = n.scaleToFit, l = n.textAnchor, u = n.verticalAnchor, d = tYe(n, $Je), f = (0, b.useMemo)(() => yYe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -78612,32 +79221,32 @@ var UJe = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = jJe(d, AJe);
- if (!fG(r) || !fG(i) || f.length === 0) return null;
- var y = Number(r) + (dG(p) ? p : 0), x = Number(i) + (dG(m) ? m : 0);
- if (!VY(y) || !VY(x)) return null;
+ ]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = tYe(d, eYe);
+ if (!TG(r) || !TG(i) || f.length === 0) return null;
+ var y = Number(r) + (wG(p) ? p : 0), x = Number(i) + (wG(m) ? m : 0);
+ if (!eX(y) || !eX(x)) return null;
var S;
switch (u) {
case "start":
- S = v4(`calc(${o})`);
+ S = b4(`calc(${o})`);
break;
case "middle":
- S = v4(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ S = b4(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: S = v4(`calc(${f.length - 1} * -${a})`);
+ default: S = b4(`calc(${f.length - 1} * -${a})`);
}
var C = [], w = f[0];
if (c && w != null) {
var T = w.width, E = d.width;
- C.push(`scale(${dG(E) && dG(T) ? E / T : 1})`);
+ C.push(`scale(${wG(E) && wG(T) ? E / T : 1})`);
}
- return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", y4({}, JW(v), {
+ return h && C.push(`rotate(${h}, ${y}, ${x})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ b.createElement("text", x4({}, sG(v), {
ref: t,
x: y,
y: x,
className: Cv("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? XJe : s
+ fill: s.includes("url") ? bYe : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ b.createElement("tspan", {
@@ -78647,20 +79256,20 @@ var UJe = (e, t, n, r) => e.reduce((e, i) => {
}, n);
}));
});
-b4.displayName = "Text";
+S4.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/component/Label.js
-var QJe = ["labelRef"], $Je = ["content"];
-function eYe(e, t) {
+var SYe = ["labelRef"], CYe = ["content"];
+function wYe(e, t) {
if (e == null) return {};
- var n, r, i = tYe(e, t);
+ var n, r, i = TYe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function tYe(e, t) {
+function TYe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78669,7 +79278,7 @@ function tYe(e, t) {
}
return n;
}
-function nYe(e, t) {
+function EYe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -78679,30 +79288,30 @@ function nYe(e, t) {
}
return n;
}
-function x4(e) {
+function C4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? nYe(Object(n), !0).forEach(function(t) {
- rYe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nYe(Object(n)).forEach(function(t) {
+ t % 2 ? EYe(Object(n), !0).forEach(function(t) {
+ DYe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EYe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rYe(e, t, n) {
- return (t = iYe(t)) in e ? Object.defineProperty(e, t, {
+function DYe(e, t, n) {
+ return (t = OYe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iYe(e) {
- var t = aYe(e, "string");
+function OYe(e) {
+ var t = kYe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aYe(e, t) {
+function kYe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -78712,16 +79321,16 @@ function aYe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function S4() {
- return S4 = Object.assign ? Object.assign.bind() : function(e) {
+function w4() {
+ return w4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, S4.apply(null, arguments);
+ }, w4.apply(null, arguments);
}
-var oYe = /*#__PURE__*/ (0, b.createContext)(null), sYe = (e) => {
+var AYe = /*#__PURE__*/ (0, b.createContext)(null), jYe = (e) => {
var t = e.x, n = e.y, r = e.upperWidth, i = e.lowerWidth, a = e.width, o = e.height, s = e.children, c = (0, b.useMemo)(() => ({
x: t,
y: n,
@@ -78737,11 +79346,11 @@ var oYe = /*#__PURE__*/ (0, b.createContext)(null), sYe = (e) => {
a,
o
]);
- return /*#__PURE__*/ b.createElement(oYe.Provider, { value: c }, s);
-}, cYe = () => {
- var e = (0, b.useContext)(oYe), t = kX();
- return e || (t ? SG(t) : void 0);
-}, lYe = /*#__PURE__*/ (0, b.createContext)(null), uYe = (e) => {
+ return /*#__PURE__*/ b.createElement(AYe.Provider, { value: c }, s);
+}, MYe = () => {
+ var e = (0, b.useContext)(AYe), t = HX();
+ return e || (t ? FG(t) : void 0);
+}, NYe = /*#__PURE__*/ (0, b.createContext)(null), PYe = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, b.useMemo)(() => ({
cx: t,
cy: n,
@@ -78759,15 +79368,15 @@ var oYe = /*#__PURE__*/ (0, b.createContext)(null), sYe = (e) => {
o,
s
]);
- return /*#__PURE__*/ b.createElement(lYe.Provider, { value: l }, c);
-}, dYe = () => {
- var e = (0, b.useContext)(lYe), t = J(e$);
+ return /*#__PURE__*/ b.createElement(NYe.Provider, { value: l }, c);
+}, FYe = () => {
+ var e = (0, b.useContext)(NYe), t = J(p$);
return e || t;
-}, fYe = (e) => {
- var t = e.value, n = e.formatter, r = vG(e.children) ? t : e.children;
+}, IYe = (e) => {
+ var t = e.value, n = e.formatter, r = jG(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, C4 = (e) => e != null && typeof e == "function", pYe = (e, t) => cG(t - e) * Math.min(Math.abs(t - e), 360), mYe = (e, t, n, r, i) => {
- var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = pYe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, T4 = (e) => e != null && typeof e == "function", LYe = (e, t) => xG(t - e) * Math.min(Math.abs(t - e), 360), RYe = (e, t, n, r, i) => {
+ var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = LYe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -78781,20 +79390,20 @@ var oYe = /*#__PURE__*/ (0, b.createContext)(null), sYe = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = QZ(s, c, m, _), x = QZ(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}
+ var y = dQ(s, c, m, _), x = dQ(s, c, m, _ + (v ? 1 : -1) * 359), S = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${x.x},${x.y}`, C = vG(e.id) ? pG("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ b.createElement("text", S4({}, r, {
+ ${x.x},${x.y}`, C = jG(e.id) ? EG("recharts-radial-line-") : e.id;
+ return /*#__PURE__*/ b.createElement("text", w4({}, r, {
dominantBaseline: "central",
className: Cv("recharts-radial-bar-label", o)
}), /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("path", {
id: C,
d: S
})), /*#__PURE__*/ b.createElement("textPath", { xlinkHref: `#${C}` }, n));
-}, hYe = (e, t, n) => {
+}, zYe = (e, t, n) => {
var r = e.cx, i = e.cy, a = e.innerRadius, o = e.outerRadius, s = (e.startAngle + e.endAngle) / 2;
if (n === "outside") {
- var c = QZ(r, i, o + t, s), l = c.x;
+ var c = dQ(r, i, o + t, s), l = c.x;
return {
x: l,
y: c.y,
@@ -78820,22 +79429,22 @@ var oYe = /*#__PURE__*/ (0, b.createContext)(null), sYe = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var u = QZ(r, i, (a + o) / 2, s);
+ var u = dQ(r, i, (a + o) / 2, s);
return {
x: u.x,
y: u.y,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, w4 = (e) => e != null && "cx" in e && dG(e.cx), gYe = {
+}, E4 = (e) => e != null && "cx" in e && wG(e.cx), BYe = {
angle: 0,
offset: 5,
- zIndex: LQ.label,
+ zIndex: XQ.label,
position: "middle",
textBreakAll: !1
};
-function _Ye(e) {
- if (!w4(e)) return e;
+function VYe(e) {
+ if (!E4(e)) return e;
var t = e.cx, n = e.cy, r = e.outerRadius, i = r * 2;
return {
x: t - r,
@@ -78846,100 +79455,100 @@ function _Ye(e) {
height: i
};
}
-function T4(e) {
- var t = OK(e, gYe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = dYe(), p = cYe(), m = n == null ? i === "center" ? p : f ?? p : w4(n) ? n : SG(n), h, g, _ = _Ye(m);
- if (!m || vG(a) && vG(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;
- var v = w4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
- if (w4(m)) v || (g = hYe(m, t.offset, t.position));
+function D4(e) {
+ var t = VK(e, BYe), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = FYe(), p = MYe(), m = n == null ? i === "center" ? p : f ?? p : E4(n) ? n : FG(n), h, g, _ = VYe(m);
+ if (!m || jG(a) && jG(o) && !/*#__PURE__*/ (0, b.isValidElement)(s) && typeof s != "function") return null;
+ var v = E4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
+ if (E4(m)) v || (g = zYe(m, t.offset, t.position));
else if (_) {
- var y = TG({
+ var y = RG({
viewBox: _,
position: i,
offset: t.offset,
- parentViewBox: w4(r) ? void 0 : r,
+ parentViewBox: E4(r) ? void 0 : r,
clamp: !0
});
- g = x4(x4({
+ g = C4(C4({
x: y.x,
y: y.y,
textAnchor: y.horizontalAnchor,
verticalAnchor: y.verticalAnchor
}, y.width === void 0 ? {} : { width: y.width }), y.height === void 0 ? {} : { height: y.height });
}
- var x = x4(x4(x4(x4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });
+ var x = C4(C4(C4(C4({}, g?.x === void 0 ? {} : { x: g.x }), g?.y === void 0 ? {} : { y: g.y }), t), {}, { viewBox: m });
if (/*#__PURE__*/ (0, b.isValidElement)(s)) {
x.labelRef;
- var S = eYe(x, QJe);
+ var S = wYe(x, SYe);
return /*#__PURE__*/ (0, b.cloneElement)(s, S);
}
if (typeof s == "function") {
x.content;
- var C = eYe(x, $Je);
+ var C = wYe(x, CYe);
if (h = /*#__PURE__*/ (0, b.createElement)(s, C), /*#__PURE__*/ (0, b.isValidElement)(h)) return h;
- } else h = fYe(t);
- var w = JW(t);
- return v && w4(m) ? mYe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(b4, S4({
+ } else h = IYe(t);
+ var w = sG(t);
+ return v && E4(m) ? RYe(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(S4, w4({
ref: d,
className: Cv("recharts-label", l)
}, w, g, {
- textAnchor: VJe(w.textAnchor) ? w.textAnchor : g.textAnchor,
+ textAnchor: dYe(w.textAnchor) ? w.textAnchor : g.textAnchor,
breakAll: u
}), h));
}
-T4.displayName = "Label";
-var vYe = (e, t, n) => {
+D4.displayName = "Label";
+var HYe = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ b.createElement(T4, S4({ key: "label-implicit" }, r)) : fG(e) ? /*#__PURE__*/ b.createElement(T4, S4({
+ return e === !0 ? /*#__PURE__*/ b.createElement(D4, w4({ key: "label-implicit" }, r)) : TG(e) ? /*#__PURE__*/ b.createElement(D4, w4({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === T4 ? /*#__PURE__*/ (0, b.cloneElement)(e, x4({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(T4, S4({
+ }, r)) : /*#__PURE__*/ (0, b.isValidElement)(e) ? e.type === D4 ? /*#__PURE__*/ (0, b.cloneElement)(e, C4({ key: "label-implicit" }, r)) : /*#__PURE__*/ b.createElement(D4, w4({
key: "label-implicit",
content: e
- }, r)) : C4(e) ? /*#__PURE__*/ b.createElement(T4, S4({
+ }, r)) : T4(e) ? /*#__PURE__*/ b.createElement(D4, w4({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ b.createElement(T4, S4({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ b.createElement(D4, w4({}, e, { key: "label-implicit" }, r)) : null;
};
-function yYe(e) {
+function UYe(e) {
var t = e.label, n = e.labelRef;
- return vYe(t, cYe(), n) || null;
+ return HYe(t, MYe(), n) || null;
}
-function bYe(e) {
+function WYe(e) {
var t = e.label;
- return vYe(t, dYe()) || null;
+ return HYe(t, FYe()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var xYe = ["valueAccessor"], SYe = [
+var GYe = ["valueAccessor"], KYe = [
"dataKey",
"clockWise",
"id",
"textBreakAll",
"zIndex"
];
-function E4() {
- return E4 = Object.assign ? Object.assign.bind() : function(e) {
+function O4() {
+ return O4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, E4.apply(null, arguments);
+ }, O4.apply(null, arguments);
}
-function CYe(e, t) {
+function qYe(e, t) {
if (e == null) return {};
- var n, r, i = wYe(e, t);
+ var n, r, i = JYe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function wYe(e, t) {
+function JYe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -78948,23 +79557,23 @@ function wYe(e, t) {
}
return n;
}
-var TYe = (e) => {
+var YYe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (HJe(t)) return t;
-}, EYe = /*#__PURE__*/ (0, b.createContext)(void 0), D4 = EYe.Provider, DYe = /*#__PURE__*/ (0, b.createContext)(void 0), OYe = DYe.Provider;
-function kYe() {
- return (0, b.useContext)(EYe);
+ if (fYe(t)) return t;
+}, XYe = /*#__PURE__*/ (0, b.createContext)(void 0), k4 = XYe.Provider, ZYe = /*#__PURE__*/ (0, b.createContext)(void 0), QYe = ZYe.Provider;
+function $Ye() {
+ return (0, b.useContext)(XYe);
}
-function AYe() {
- return (0, b.useContext)(DYe);
+function eXe() {
+ return (0, b.useContext)(ZYe);
}
-function O4(e) {
- var t = e.valueAccessor, n = t === void 0 ? TYe : t, r = CYe(e, xYe), i = r.dataKey;
+function A4(e) {
+ var t = e.valueAccessor, n = t === void 0 ? YYe : t, r = qYe(e, GYe), i = r.dataKey;
r.clockWise;
- var a = r.id, o = r.textBreakAll, s = r.zIndex, c = CYe(r, SYe), l = kYe(), u = AYe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s ?? LQ.label }, /*#__PURE__*/ b.createElement(QW, { className: "recharts-label-list" }, d.map((e, t) => {
- var s = vG(i) ? n(e, t) : GY(e.payload, i), l = vG(a) ? {} : { id: `${a}-${t}` };
- return /*#__PURE__*/ b.createElement(T4, E4({ key: `label-${t}` }, JW(e), c, l, {
+ var a = r.id, o = r.textBreakAll, s = r.zIndex, c = qYe(r, KYe), l = $Ye(), u = eXe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: s ?? XQ.label }, /*#__PURE__*/ b.createElement(dG, { className: "recharts-label-list" }, d.map((e, t) => {
+ var s = jG(i) ? n(e, t) : iX(e.payload, i), l = jG(a) ? {} : { id: `${a}-${t}` };
+ return /*#__PURE__*/ b.createElement(D4, O4({ key: `label-${t}` }, sG(e), c, l, {
fill: r.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -78975,41 +79584,41 @@ function O4(e) {
}));
})));
}
-O4.displayName = "LabelList";
-function k4(e) {
+A4.displayName = "LabelList";
+function j4(e) {
var t = e.label;
- return t ? t === !0 ? /*#__PURE__*/ b.createElement(O4, { key: "labelList-implicit" }) : /*#__PURE__*/ b.isValidElement(t) || C4(t) ? /*#__PURE__*/ b.createElement(O4, {
+ return t ? t === !0 ? /*#__PURE__*/ b.createElement(A4, { key: "labelList-implicit" }) : /*#__PURE__*/ b.isValidElement(t) || T4(t) ? /*#__PURE__*/ b.createElement(A4, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ b.createElement(O4, E4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ b.createElement(A4, O4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var jYe = [
+var tXe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], MYe;
-function A4() {
- return A4 = Object.assign ? Object.assign.bind() : function(e) {
+], nXe;
+function M4() {
+ return M4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, A4.apply(null, arguments);
+ }, M4.apply(null, arguments);
}
-function NYe(e, t) {
+function rXe(e, t) {
if (e == null) return {};
- var n, r, i = PYe(e, t);
+ var n, r, i = iXe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function PYe(e, t) {
+function iXe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -79018,23 +79627,23 @@ function PYe(e, t) {
}
return n;
}
-function FYe(e, t) {
+function aXe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var IYe = (e) => e != null && e.x === +e.x && e.y === +e.y, LYe = function() {
+var oXe = (e) => e != null && e.x === +e.x && e.y === +e.y, sXe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- IYe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ oXe(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- IYe(n) && r && r.push(n);
+ oXe(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, j4 = (e, t) => {
- var n = LYe(e);
+}, N4 = (e, t) => {
+ var n = sXe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => sG(MYe ||= FYe([
+ var r = n.map((e) => e.reduce((e, t, n) => bG(nXe ||= aXe([
"",
"",
"",
@@ -79042,29 +79651,29 @@ var IYe = (e) => e != null && e.x === +e.x && e.y === +e.y, LYe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, RYe = (e, t, n) => {
- var r = j4(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${j4(Array.from(t).reverse(), n).slice(1)}`;
-}, zYe = (e) => {
- var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = NYe(e, jYe);
+}, cXe = (e, t, n) => {
+ var r = N4(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${N4(Array.from(t).reverse(), n).slice(1)}`;
+}, lXe = (e) => {
+ var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = rXe(e, tXe);
if (!t || !t.length) return null;
var o = Cv("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = RYe(t, r, i);
- return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", A4({}, JW(a), {
+ var s = a.stroke && a.stroke !== "none", c = cXe(t, r, i);
+ return /*#__PURE__*/ b.createElement("g", { className: o }, /*#__PURE__*/ b.createElement("path", M4({}, sG(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ b.createElement("path", A4({}, JW(a), {
+ })), s ? /*#__PURE__*/ b.createElement("path", M4({}, sG(a), {
fill: "none",
- d: j4(t, i)
- })) : null, s ? /*#__PURE__*/ b.createElement("path", A4({}, JW(a), {
+ d: N4(t, i)
+ })) : null, s ? /*#__PURE__*/ b.createElement("path", M4({}, sG(a), {
fill: "none",
- d: j4(r, i)
+ d: N4(r, i)
})) : null);
}
- var l = j4(t, i);
- return /*#__PURE__*/ b.createElement("path", A4({}, JW(a), {
+ var l = N4(t, i);
+ return /*#__PURE__*/ b.createElement("path", M4({}, sG(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -79072,112 +79681,112 @@ var IYe = (e) => e != null && e.x === +e.x && e.y === +e.y, LYe = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function M4() {
- return M4 = Object.assign ? Object.assign.bind() : function(e) {
+function P4() {
+ return P4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, M4.apply(null, arguments);
+ }, P4.apply(null, arguments);
}
-var N4 = (e) => {
+var F4 = (e) => {
var t = e.cx, n = e.cy, r = e.r, i = e.className, a = Cv("recharts-dot", i);
- return dG(t) && dG(n) && dG(r) ? /*#__PURE__*/ b.createElement("circle", M4({}, KW(e), TK(e), {
+ return wG(t) && wG(n) && wG(r) ? /*#__PURE__*/ b.createElement("circle", P4({}, aG(e), RK(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, P4 = (e) => e.graphicalItems.polarItems, F4 = Y([
- P4,
- q0,
- Y([t$, n$], Y0)
-], Z0), I4 = Y([Y([F4], $0), cQ], e2), BYe = Y([
+}, I4 = (e) => e.graphicalItems.polarItems, L4 = Y([
I4,
- q0,
- F4
-], YUe);
+ Y0,
+ Y([m$, h$], Z0)
+], $0), R4 = Y([Y([L4], t2), xQ], n2), uXe = Y([
+ R4,
+ Y0,
+ L4
+], yWe);
Y([
- I4,
- q0,
- F4
+ R4,
+ Y0,
+ L4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: GY(e, t.dataKey ?? n.dataKey),
+ value: iX(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: GY(e, t.dataKey),
+ value: iX(e, t.dataKey),
errorDomain: []
})));
-var VYe = () => void 0, HYe = Y([
- q0,
- NX,
- I4,
- BYe,
- jQ,
- t$,
+var dXe = () => void 0, fXe = Y([
+ Y0,
+ KX,
+ R4,
+ uXe,
+ WQ,
+ m$,
Y([
- q0,
- u2,
- d2,
- VYe,
+ Y0,
+ f2,
+ p2,
+ dXe,
Y([
- I4,
- q0,
- F4,
- f2,
- t$,
- Zze
- ], m2),
- VYe,
- NX,
- t$
- ], g2)
-], _2), UYe = Y([
- HYe,
- J0,
- y2
-], b2), WYe = Y([y2, Y([
- q0,
- HYe,
- UYe,
- t$
-], S2)], d$), L4 = (e, t, n) => {
+ R4,
+ Y0,
+ L4,
+ m2,
+ m$,
+ uBe
+ ], g2),
+ dXe,
+ KX,
+ m$
+ ], v2)
+], y2), pXe = Y([
+ fXe,
+ X0,
+ x2
+], S2), mXe = Y([x2, Y([
+ Y0,
+ fXe,
+ pXe,
+ m$
+], w2)], w$), z4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return KQ(e, n);
- case "radiusAxis": return qQ(e, n);
+ case "angleAxis": return a$(e, n);
+ case "radiusAxis": return o$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, R4 = (e, t, n) => {
+}, B4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return pBe(e, n);
- case "radiusAxis": return mBe(e, n);
+ case "angleAxis": return EBe(e, n);
+ case "radiusAxis": return DBe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, z4 = Y([Y([
- L4,
- y2,
- WYe,
- R4
-], z0)], u$), GYe = Y([
- NX,
- BYe,
- J0,
- t$
-], T2), B4 = Y([
- NX,
- L4,
- y2,
+}, V4 = Y([Y([
z4,
- UYe,
- R4,
- A2,
- GYe,
- t$
-], ZWe), KYe = Y([B4], (e) => {
+ x2,
+ mXe,
+ B4
+], V0)], C$), hXe = Y([
+ KX,
+ uXe,
+ X0,
+ m$
+], D2), H4 = Y([
+ KX,
+ z4,
+ x2,
+ V4,
+ pXe,
+ B4,
+ M2,
+ hXe,
+ m$
+], xGe), gXe = Y([H4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -79185,19 +79794,19 @@ var VYe = () => void 0, HYe = Y([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), qYe = Y([
- NX,
- L4,
+}), _Xe = Y([
+ KX,
z4,
- R4,
- A2,
- GYe,
- t$
-], $We), JYe = Y([(e, t) => B4(e, "angleAxis", t, !1)], (e) => {
+ V4,
+ B4,
+ M2,
+ hXe,
+ m$
+], CGe), vXe = Y([(e, t) => H4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), YYe = Y([(e, t) => B4(e, "radiusAxis", t, !1)], (e) => {
+}), yXe = Y([(e, t) => H4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), XYe = [
+}), bXe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -79210,16 +79819,16 @@ var VYe = () => void 0, HYe = Y([
"polarRadius",
"zIndex"
];
-function ZYe(e, t) {
+function xXe(e, t) {
if (e == null) return {};
- var n, r, i = QYe(e, t);
+ var n, r, i = SXe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function QYe(e, t) {
+function SXe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -79228,16 +79837,16 @@ function QYe(e, t) {
}
return n;
}
-function V4() {
- return V4 = Object.assign ? Object.assign.bind() : function(e) {
+function U4() {
+ return U4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, V4.apply(null, arguments);
+ }, U4.apply(null, arguments);
}
-function $Ye(e, t) {
+function CXe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79247,30 +79856,30 @@ function $Ye(e, t) {
}
return n;
}
-function H4(e) {
+function W4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $Ye(Object(n), !0).forEach(function(t) {
- eXe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $Ye(Object(n)).forEach(function(t) {
+ t % 2 ? CXe(Object(n), !0).forEach(function(t) {
+ wXe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CXe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function eXe(e, t, n) {
- return (t = tXe(t)) in e ? Object.defineProperty(e, t, {
+function wXe(e, t, n) {
+ return (t = TXe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tXe(e) {
- var t = nXe(e, "string");
+function TXe(e) {
+ var t = EXe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nXe(e, t) {
+function EXe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -79280,66 +79889,66 @@ function nXe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var rXe = (e, t, n, r) => {
+var DXe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = QZ(t, n, e, r);
+ var o = dQ(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, iXe = (e) => {
+}, OXe = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;
if (!a || !a.length || !o) return null;
- var s = H4({}, KW(e));
+ var s = W4({}, aG(e));
return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = QZ(t, n, r, e), o = QZ(t, n, i, e);
- return /*#__PURE__*/ b.createElement("line", V4({ key: `line-${e}` }, s, {
+ var a = dQ(t, n, r, e), o = dQ(t, n, i, e);
+ return /*#__PURE__*/ b.createElement("line", U4({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, aXe = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = H4({}, KW(e));
- return /*#__PURE__*/ b.createElement("circle", V4({}, i, {
+}, kXe = (e) => {
+ var t = e.cx, n = e.cy, r = e.radius, i = W4({}, aG(e));
+ return /*#__PURE__*/ b.createElement("circle", U4({}, i, {
className: Cv("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, oXe = (e) => {
- var t = e.radius, n = H4({}, KW(e));
- return /*#__PURE__*/ b.createElement("path", V4({}, n, {
+}, AXe = (e) => {
+ var t = e.radius, n = W4({}, aG(e));
+ return /*#__PURE__*/ b.createElement("path", U4({}, n, {
className: Cv("recharts-polar-grid-concentric-polygon", e.className),
- d: rXe(t, e.cx, e.cy, e.polarAngles)
+ d: DXe(t, e.cx, e.cy, e.polarAngles)
}));
-}, sXe = (e) => {
+}, jXe = (e) => {
var t = e.polarRadius, n = e.gridType;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(aXe, V4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement(oXe, V4({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ b.createElement(kXe, U4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ b.createElement(AXe, U4({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ b.createElement(aXe, V4({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ b.createElement(kXe, U4({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ b.createElement(oXe, V4({ key: i }, e, {
+ })) : /*#__PURE__*/ b.createElement(AXe, U4({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, cXe = {
+}, MXe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: LQ.grid,
+ zIndex: XQ.grid,
stroke: "#ccc",
strokeWidth: 1,
fill: "none"
-}, lXe = (e) => {
- var t = OK(e, cXe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = ZYe(t, XYe), m = J(e$), h = J((e) => JYe(e, i)), g = J((e) => YYe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+}, NXe = (e) => {
+ var t = VK(e, MXe), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = xXe(t, bXe), m = J(p$), h = J((e) => vXe(e, i)), g = J((e) => yXe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = H4({
+ var y = W4({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -79348,13 +79957,13 @@ var rXe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p);
- return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(sXe, V4({
+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: y.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ b.createElement(jXe, U4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ b.createElement(iXe, V4({
+ })), /*#__PURE__*/ b.createElement(OXe, U4({
gridType: n,
radialLines: r
}, y, {
@@ -79362,19 +79971,19 @@ var rXe = (e, t, n, r) => {
polarRadius: v
}))));
};
-lXe.displayName = "PolarGrid";
+NXe.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function U4(e) {
+function G4(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function uXe(e, t = NK) {
+function PXe(e, t = KK) {
if (e == null) return;
- let n = U4(e);
+ let n = G4(e);
if (n.length === 0) return;
- let r = _q(t), i, a;
+ let r = Aq(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -79383,11 +79992,11 @@ function uXe(e, t = NK) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function dXe(e, t = NK) {
+function FXe(e, t = KK) {
if (e == null) return;
- let n = U4(e);
+ let n = G4(e);
if (n.length === 0) return;
- let r = _q(t), i, a;
+ let r = Aq(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -79396,7 +80005,7 @@ function dXe(e, t = NK) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var fXe = dY({
+var IXe = wY({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -79404,47 +80013,47 @@ var fXe = dY({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = eY(t.payload);
+ e.radiusAxis[t.payload.id] = pY(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = eY(t.payload);
+ e.angleAxis[t.payload.id] = pY(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), W4 = fXe.actions, pXe = W4.addRadiusAxis, mXe = W4.removeRadiusAxis, hXe = W4.addAngleAxis, gXe = W4.removeAngleAxis, _Xe = fXe.reducer;
+}), K4 = IXe.actions, LXe = K4.addRadiusAxis, RXe = K4.removeRadiusAxis, zXe = K4.addAngleAxis, BXe = K4.removeAngleAxis, VXe = IXe.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function G4(e) {
+function q4(e) {
return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var vXe = ["type"], yXe = [
+var HXe = ["type"], UXe = [
"cx",
"cy",
"angle",
"axisLine"
-], bXe = [
+], WXe = [
"angle",
"tickFormatter",
"stroke",
"tick"
];
-function K4() {
- return K4 = Object.assign ? Object.assign.bind() : function(e) {
+function J4() {
+ return J4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, K4.apply(null, arguments);
+ }, J4.apply(null, arguments);
}
-function xXe(e, t) {
+function GXe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79454,30 +80063,30 @@ function xXe(e, t) {
}
return n;
}
-function q4(e) {
+function Y4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xXe(Object(n), !0).forEach(function(t) {
- SXe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xXe(Object(n)).forEach(function(t) {
+ t % 2 ? GXe(Object(n), !0).forEach(function(t) {
+ KXe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GXe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SXe(e, t, n) {
- return (t = CXe(t)) in e ? Object.defineProperty(e, t, {
+function KXe(e, t, n) {
+ return (t = qXe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CXe(e) {
- var t = wXe(e, "string");
+function qXe(e) {
+ var t = JXe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wXe(e, t) {
+function JXe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -79487,16 +80096,16 @@ function wXe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function J4(e, t) {
+function X4(e, t) {
if (e == null) return {};
- var n, r, i = TXe(e, t);
+ var n, r, i = YXe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function TXe(e, t) {
+function YXe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -79505,20 +80114,20 @@ function TXe(e, t) {
}
return n;
}
-var EXe = "radiusAxis";
-function DXe(e) {
- var t = xq(), n = LX(), r = (0, b.useMemo)(() => {
- var t = e.type, r = J4(e, vXe), i = VQ(n, "radiusAxis", t);
- if (i != null) return q4(q4({}, r), {}, { type: i });
+var XXe = "radiusAxis";
+function ZXe(e) {
+ var t = Pq(), n = XX(), r = (0, b.useMemo)(() => {
+ var t = e.type, r = X4(e, HXe), i = e$(n, "radiusAxis", t);
+ if (i != null) return Y4(Y4({}, r), {}, { type: i });
}, [e, n]);
- return (0, b.useEffect)(() => r == null ? xG : (t(pXe(r)), () => {
- t(mXe(r));
+ return (0, b.useEffect)(() => r == null ? PG : (t(LXe(r)), () => {
+ t(RXe(r));
}), [t, r]), null;
}
-var OXe = (e, t, n, r) => {
+var QXe = (e, t, n, r) => {
var i = e.coordinate;
- return QZ(n, r, i, t);
-}, kXe = (e) => {
+ return dQ(n, r, i, t);
+}, $Xe = (e) => {
var t;
switch (e) {
case "left":
@@ -79530,49 +80139,49 @@ var OXe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, AXe = (e, t, n, r) => {
- var i = uXe(r, (e) => e.coordinate || 0);
+}, eZe = (e, t, n, r) => {
+ var i = PXe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: dXe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: FXe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, jXe = (e, t) => {
- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = J4(e, yXe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = QZ(n, r, s[0], i), l = QZ(n, r, s[1], i), u = q4(q4(q4({}, KW(o)), {}, { fill: "none" }, KW(a)), {}, {
+}, tZe = (e, t) => {
+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = X4(e, UXe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = dQ(n, r, s[0], i), l = dQ(n, r, s[1], i), u = Y4(Y4(Y4({}, aG(o)), {}, { fill: "none" }, aG(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ b.createElement("line", K4({ className: "recharts-polar-radius-axis-line" }, u));
-}, MXe = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(b4, K4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), NXe = (e, t) => {
- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = J4(e, bXe), s = kXe(e.orientation), c = KW(o), l = qW(a), u = t.map((t, o) => {
- var u = OXe(t, e.angle, e.cx, e.cy), d = q4(q4(q4(q4({
+ return /*#__PURE__*/ b.createElement("line", J4({ className: "recharts-polar-radius-axis-line" }, u));
+}, nZe = (e, t, n) => /*#__PURE__*/ b.isValidElement(e) ? /*#__PURE__*/ b.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ b.createElement(S4, J4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), rZe = (e, t) => {
+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = X4(e, WXe), s = $Xe(e.orientation), c = aG(o), l = oG(a), u = t.map((t, o) => {
+ var u = QXe(t, e.angle, e.cx, e.cy), d = Y4(Y4(Y4(Y4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ b.createElement(QW, K4({
- className: Cv("recharts-polar-radius-axis-tick", G4(a)),
+ return /*#__PURE__*/ b.createElement(dG, J4({
+ className: Cv("recharts-polar-radius-axis-tick", q4(a)),
key: `tick-${t.coordinate}`
- }, EK(e, t, o)), MXe(a, d, r ? r(t.value, o) : t.value));
+ }, zK(e, t, o)), nZe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ b.createElement(QW, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, PXe = (e) => {
- var t = e.radiusAxisId, n = J(e$), r = J((e) => z4(e, "radiusAxis", t)), i = J((e) => B4(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ b.createElement(dG, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, iZe = (e) => {
+ var t = e.radiusAxisId, n = J(p$), r = J((e) => V4(e, "radiusAxis", t)), i = J((e) => H4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = q4(q4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(QW, { className: Cv("recharts-polar-radius-axis", EXe, a.className) }, s && jXe(a, i), o && NXe(a, i), /*#__PURE__*/ b.createElement(uYe, AXe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(bYe, { label: a.label }), a.children)));
+ var a = Y4(Y4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: a.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: Cv("recharts-polar-radius-axis", XXe, a.className) }, s && tZe(a, i), o && rZe(a, i), /*#__PURE__*/ b.createElement(PYe, eZe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ b.createElement(WYe, { label: a.label }), a.children)));
};
-function FXe(e) {
- var t = OK(e, zQ);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(DXe, {
+function aZe(e) {
+ var t = VK(e, QQ);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZXe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -79589,22 +80198,22 @@ function FXe(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ b.createElement(PXe, t));
+ }), /*#__PURE__*/ b.createElement(iZe, t));
}
-FXe.displayName = "PolarRadiusAxis";
+aZe.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var IXe = ["children", "type"], LXe = ["ref"];
-function Y4() {
- return Y4 = Object.assign ? Object.assign.bind() : function(e) {
+var oZe = ["children", "type"], sZe = ["ref"];
+function Z4() {
+ return Z4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Y4.apply(null, arguments);
+ }, Z4.apply(null, arguments);
}
-function RXe(e, t) {
+function cZe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79614,30 +80223,30 @@ function RXe(e, t) {
}
return n;
}
-function X4(e) {
+function Q4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? RXe(Object(n), !0).forEach(function(t) {
- zXe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RXe(Object(n)).forEach(function(t) {
+ t % 2 ? cZe(Object(n), !0).forEach(function(t) {
+ lZe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cZe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zXe(e, t, n) {
- return (t = BXe(t)) in e ? Object.defineProperty(e, t, {
+function lZe(e, t, n) {
+ return (t = uZe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function BXe(e) {
- var t = VXe(e, "string");
+function uZe(e) {
+ var t = dZe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function VXe(e, t) {
+function dZe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -79647,16 +80256,16 @@ function VXe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function HXe(e, t) {
+function fZe(e, t) {
if (e == null) return {};
- var n, r, i = UXe(e, t);
+ var n, r, i = pZe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function UXe(e, t) {
+function pZe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -79665,50 +80274,50 @@ function UXe(e, t) {
}
return n;
}
-var WXe = 1e-5, GXe = Math.cos(ZZ(45)), KXe = "angleAxis";
-function qXe(e) {
- var t = xq(), n = LX(), r = (0, b.useMemo)(() => {
+var mZe = 1e-5, hZe = Math.cos(uQ(45)), gZe = "angleAxis";
+function _Ze(e) {
+ var t = Pq(), n = XX(), r = (0, b.useMemo)(() => {
e.children;
- var t = e.type, r = HXe(e, IXe), i = VQ(n, "angleAxis", t);
- if (i != null) return X4(X4({}, r), {}, { type: i });
- }, [e, n]), i = r === J((e) => KQ(e, r?.id));
- return (0, b.useEffect)(() => r == null ? xG : (t(hXe(r)), () => {
- t(gXe(r));
+ var t = e.type, r = fZe(e, oZe), i = e$(n, "angleAxis", t);
+ if (i != null) return Q4(Q4({}, r), {}, { type: i });
+ }, [e, n]), i = r === J((e) => a$(e, r?.id));
+ return (0, b.useEffect)(() => r == null ? PG : (t(zXe(r)), () => {
+ t(BXe(r));
}), [t, r]), i ? e.children : null;
}
-var JXe = (e, t) => {
- var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = QZ(n, r, i, e.coordinate), c = QZ(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
+var vZe = (e, t) => {
+ var n = t.cx, r = t.cy, i = t.radius, a = t.orientation, o = t.tickSize || 8, s = dQ(n, r, i, e.coordinate), c = dQ(n, r, i + (a === "inner" ? -1 : 1) * o, e.coordinate);
return {
x1: s.x,
y1: s.y,
x2: c.x,
y2: c.y
};
-}, YXe = (e, t) => {
- var n = Math.cos(ZZ(-e.coordinate));
- return n > WXe ? t === "outer" ? "start" : "end" : n < -WXe ? t === "outer" ? "end" : "start" : "middle";
-}, XXe = (e) => {
- var t = Math.cos(ZZ(-e.coordinate)), n = Math.sin(ZZ(-e.coordinate));
- return Math.abs(t) <= GXe ? n > 0 ? "start" : "end" : "middle";
-}, ZXe = (e) => {
+}, yZe = (e, t) => {
+ var n = Math.cos(uQ(-e.coordinate));
+ return n > mZe ? t === "outer" ? "start" : "end" : n < -mZe ? t === "outer" ? "end" : "start" : "middle";
+}, bZe = (e) => {
+ var t = Math.cos(uQ(-e.coordinate)), n = Math.sin(uQ(-e.coordinate));
+ return Math.abs(t) <= hZe ? n > 0 ? "start" : "end" : "middle";
+}, xZe = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;
if (!a) return null;
- var s = X4(X4({}, KW(e)), {}, { fill: "none" }, KW(a));
- if (i === "circle") return /*#__PURE__*/ b.createElement(N4, Y4({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = Q4(Q4({}, aG(e)), {}, { fill: "none" }, aG(a));
+ if (i === "circle") return /*#__PURE__*/ b.createElement(F4, Z4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => QZ(t, n, r, e.coordinate));
- return /*#__PURE__*/ b.createElement(zYe, Y4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, QXe = (e) => {
+ var c = o.map((e) => dQ(t, n, r, e.coordinate));
+ return /*#__PURE__*/ b.createElement(lXe, Z4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+}, SZe = (e) => {
var t = e.tick, n = e.tickProps, r = e.value;
- return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(b4, Y4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, $Xe = (e) => {
- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = KW(e);
+ return t ? /*#__PURE__*/ b.isValidElement(t) ? /*#__PURE__*/ b.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ b.createElement(S4, Z4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+}, CZe = (e) => {
+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = aG(e);
o.ref;
- var s = HXe(o, LXe), c = qW(t), l = X4(X4({}, s), {}, { fill: "none" }, KW(n)), u = a.map((a, o) => {
- var u = JXe(a, e), d = YXe(a, e.orientation), f = XXe(a), p = X4(X4(X4({}, s), {}, {
+ var s = fZe(o, sZe), c = oG(t), l = Q4(Q4({}, s), {}, { fill: "none" }, aG(n)), u = a.map((a, o) => {
+ var u = vZe(a, e), d = yZe(a, e.orientation), f = bZe(a), p = Q4(Q4(Q4({}, s), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -79719,28 +80328,28 @@ var JXe = (e, t) => {
x: u.x2,
y: u.y2
});
- return /*#__PURE__*/ b.createElement(QW, Y4({
- className: Cv("recharts-polar-angle-axis-tick", G4(t)),
+ return /*#__PURE__*/ b.createElement(dG, Z4({
+ className: Cv("recharts-polar-angle-axis-tick", q4(t)),
key: `tick-${a.coordinate}`
- }, EK(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Y4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(QXe, {
+ }, zK(e, a, o)), n && /*#__PURE__*/ b.createElement("line", Z4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ b.createElement(SZe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ b.createElement(QW, { className: "recharts-polar-angle-axis-ticks" }, u);
-}, eZe = (e) => {
- var t = e.angleAxisId, n = J(e$), r = J((e) => z4(e, "angleAxis", t)), i = hX(), a = J((e) => KYe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ b.createElement(dG, { className: "recharts-polar-angle-axis-ticks" }, u);
+}, wZe = (e) => {
+ var t = e.angleAxisId, n = J(p$), r = J((e) => V4(e, "angleAxis", t)), i = OX(), a = J((e) => gXe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = X4(X4(X4({}, e), {}, { scale: r }, n), {}, {
+ var o = Q4(Q4(Q4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(QW, { className: Cv("recharts-polar-angle-axis", KXe, o.className) }, /*#__PURE__*/ b.createElement(ZXe, o), /*#__PURE__*/ b.createElement($Xe, o)));
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: o.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: Cv("recharts-polar-angle-axis", gZe, o.className) }, /*#__PURE__*/ b.createElement(xZe, o), /*#__PURE__*/ b.createElement(CZe, o)));
};
-function Z4(e) {
- var t = OK(e, RQ);
- return /*#__PURE__*/ b.createElement(qXe, {
+function $4(e) {
+ var t = VK(e, ZQ);
+ return /*#__PURE__*/ b.createElement(_Ze, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -79757,12 +80366,12 @@ function Z4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ b.createElement(eZe, t));
+ }, /*#__PURE__*/ b.createElement(wZe, t));
}
-Z4.displayName = "PolarAngleAxis";
+$4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var tZe = /* @__PURE__ */ o(((e) => {
+var TZe = /* @__PURE__ */ o(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -79791,26 +80400,26 @@ var tZe = /* @__PURE__ */ o(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), nZe = (/* @__PURE__ */ o(((e, t) => {
- t.exports = tZe();
-})))(), rZe = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", iZe = null, Q4 = null, aZe = (e) => {
- if (e === iZe && Array.isArray(Q4)) return Q4;
+})), EZe = (/* @__PURE__ */ o(((e, t) => {
+ t.exports = TZe();
+})))(), DZe = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", OZe = null, e3 = null, kZe = (e) => {
+ if (e === OZe && Array.isArray(e3)) return e3;
var t = [];
return b.Children.forEach(e, (e) => {
- vG(e) || ((0, nZe.isFragment)(e) ? t = t.concat(aZe(e.props.children)) : t.push(e));
- }), Q4 = t, iZe = e, t;
+ jG(e) || ((0, EZe.isFragment)(e) ? t = t.concat(kZe(e.props.children)) : t.push(e));
+ }), e3 = t, OZe = e, t;
};
-function oZe(e, t) {
+function AZe(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => rZe(e)) : [rZe(t)], aZe(e).forEach((e) => {
- var t = aG(e, "type.displayName") || aG(e, "type.name");
+ return r = Array.isArray(t) ? t.map((e) => DZe(e)) : [DZe(t)], kZe(e).forEach((e) => {
+ var t = vG(e, "type.displayName") || vG(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
-var $4 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
+var t3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/recharts/es6/util/ActiveShapeUtils.js
-function sZe(e, t) {
+function jZe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -79820,30 +80429,30 @@ function sZe(e, t) {
}
return n;
}
-function cZe(e) {
+function MZe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? sZe(Object(n), !0).forEach(function(t) {
- lZe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sZe(Object(n)).forEach(function(t) {
+ t % 2 ? jZe(Object(n), !0).forEach(function(t) {
+ NZe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jZe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lZe(e, t, n) {
- return (t = uZe(t)) in e ? Object.defineProperty(e, t, {
+function NZe(e, t, n) {
+ return (t = PZe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uZe(e) {
- var t = dZe(e, "string");
+function PZe(e) {
+ var t = FZe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dZe(e, t) {
+function FZe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -79853,49 +80462,49 @@ function dZe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function fZe(e, t) {
- return cZe(cZe({}, t), e);
+function IZe(e, t) {
+ return MZe(MZe({}, t), e);
}
-function pZe(e) {
+function LZe(e) {
return /*#__PURE__*/ (0, b.isValidElement)(e) ? e.props : e;
}
-function mZe(e, t) {
- return /*#__PURE__*/ (0, b.cloneElement)(e, fZe(pZe(e), t));
+function RZe(e, t) {
+ return /*#__PURE__*/ (0, b.cloneElement)(e, IZe(LZe(e), t));
}
-function hZe(e) {
+function zZe(e) {
if ("index" in e) {
var t = e.index;
return typeof t == "number" || typeof t == "string" ? t : void 0;
}
}
-function gZe(e) {
+function BZe(e) {
return "isActive" in e && e.isActive === !0;
}
-function e3(e) {
- var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = hZe(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? mZe(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, fZe(t, r)) : /*#__PURE__*/ b.createElement(n, r);
- return gZe(r) ? /*#__PURE__*/ b.createElement(QW, { className: a }, l) : /*#__PURE__*/ b.createElement(QW, { className: s }, l);
+function n3(e) {
+ var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = zZe(r), l = /*#__PURE__*/ (0, b.isValidElement)(t) ? RZe(t, r) : t === n ? /*#__PURE__*/ b.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ b.createElement(n, IZe(t, r)) : /*#__PURE__*/ b.createElement(n, r);
+ return BZe(r) ? /*#__PURE__*/ b.createElement(dG, { className: a }, l) : /*#__PURE__*/ b.createElement(dG, { className: s }, l);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
-var t3 = (e, t, n) => {
- var r = xq();
+var r3 = (e, t, n) => {
+ var r = Pq();
return (i, a) => (o) => {
- e?.(i, a, o), r(fGe({
+ e?.(i, a, o), r(IGe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
activeGraphicalItemId: n
}));
};
-}, n3 = (e) => {
- var t = xq();
+}, i3 = (e) => {
+ var t = Pq();
return (n, r) => (i) => {
- e?.(n, r, i), t(pGe());
+ e?.(n, r, i), t(LGe());
};
-}, r3 = (e, t, n) => {
- var r = xq();
+}, a3 = (e, t, n) => {
+ var r = Pq();
return (i, a) => (o) => {
- e?.(i, a, o), r(hGe({
+ e?.(i, a, o), r(zGe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -79905,10 +80514,10 @@ var t3 = (e, t, n) => {
};
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
-function i3(e) {
- var t = e.tooltipEntrySettings, n = xq(), r = hX(), i = (0, b.useRef)(null);
+function o3(e) {
+ var t = e.tooltipEntrySettings, n = Pq(), r = OX(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- r || (i.current === null ? n(cGe(t)) : i.current !== t && n(lGe({
+ r || (i.current === null ? n(MGe(t)) : i.current !== t && n(NGe({
prev: i.current,
next: t
})), i.current = t);
@@ -79917,15 +80526,15 @@ function i3(e) {
n,
r
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(uGe(i.current)), null);
+ i.current &&= (n(PGe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
-function a3(e) {
- var t = e.legendPayload, n = xq(), r = hX(), i = (0, b.useRef)(null);
+function s3(e) {
+ var t = e.legendPayload, n = Pq(), r = OX(), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- r || (i.current === null ? n(HX(t)) : i.current !== t && n(UX({
+ r || (i.current === null ? n(tZ(t)) : i.current !== t && n(nZ({
prev: i.current,
next: t
})), i.current = t);
@@ -79934,13 +80543,13 @@ function a3(e) {
r,
t
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(WX(i.current)), null);
+ i.current &&= (n(rZ(i.current)), null);
}, [n]), null;
}
-function _Ze(e) {
- var t = e.legendPayload, n = xq(), r = J(NX), i = (0, b.useRef)(null);
+function VZe(e) {
+ var t = e.legendPayload, n = Pq(), r = J(KX), i = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(HX(t)) : i.current !== t && n(UX({
+ (r === "centric" || r === "radial") && (i.current === null ? n(tZ(t)) : i.current !== t && n(nZ({
prev: i.current,
next: t
})), i.current = t);
@@ -79949,30 +80558,30 @@ function _Ze(e) {
r,
t
]), (0, b.useLayoutEffect)(() => () => {
- i.current &&= (n(WX(i.current)), null);
+ i.current &&= (n(rZ(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/animation/matchBy.js
-function vZe(e, t) {
- return CZe(e) || SZe(e, t) || bZe(e, t) || yZe();
+function HZe(e, t) {
+ return qZe(e) || KZe(e, t) || WZe(e, t) || UZe();
}
-function yZe() {
+function UZe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function bZe(e, t) {
+function WZe(e, t) {
if (e) {
- if (typeof e == "string") return xZe(e, t);
+ if (typeof e == "string") return GZe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? xZe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? GZe(e, t) : void 0;
}
}
-function xZe(e, t) {
+function GZe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function SZe(e, t) {
+function KZe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -79993,11 +80602,11 @@ function SZe(e, t) {
return s;
}
}
-function CZe(e) {
+function qZe(e) {
if (Array.isArray(e)) return e;
}
-var o3 = "index", wZe = "append";
-function s3(e, t) {
+var c3 = "index", JZe = "append";
+function l3(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = [];
for (var i of n) r.push({
status: "removed",
@@ -80016,14 +80625,14 @@ function s3(e, t) {
}
return r;
}
-function TZe(e, t) {
+function YZe(e, t) {
var n = e.length / t.length;
- return s3(t.map((t, r) => e[Math.floor(r * n)]), t);
+ return l3(t.map((t, r) => e[Math.floor(r * n)]), t);
}
-function EZe(e, t) {
- return s3(t.map((t, n) => e[n]), t);
+function XZe(e, t) {
+ return l3(t.map((t, n) => e[n]), t);
}
-function DZe(e, t) {
+function ZZe(e, t) {
for (var n = /* @__PURE__ */ new Map(), r = 0; r < e.length; r++) {
var i = e[r];
if (i != null) {
@@ -80033,8 +80642,8 @@ function DZe(e, t) {
}
return n;
}
-function OZe(e, t, n) {
- var r = DZe(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
+function QZe(e, t, n) {
+ var r = ZZe(e, n), i = /* @__PURE__ */ new Set(), a = t.map((e, t) => {
var a = n(e, t);
if (a != null) {
var o = r.get(a);
@@ -80042,20 +80651,20 @@ function OZe(e, t, n) {
}
}), o = [];
for (var s of r) {
- var c = vZe(s, 2), l = c[0], u = c[1];
+ var c = HZe(s, 2), l = c[0], u = c[1];
i.has(l) || o.push(u);
}
- return s3(a, t, o);
+ return l3(a, t, o);
}
-function c3(e, t, n) {
+function u3(e, t, n) {
return t == null ? null : e == null ? t.map((e) => ({
status: "added",
next: e
- })) : n === "index" ? TZe(e, t) : n === "append" ? EZe(e, t) : OZe(e, t, n);
+ })) : n === "index" ? YZe(e, t) : n === "append" ? XZe(e, t) : QZe(e, t, n);
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationStartSnapshot.js
-function l3(e, t) {
+function d3(e, t) {
var n = (0, b.useRef)(e), r = (0, b.useRef)(t.current), i = (0, b.useRef)(!0);
n.current !== e && (n.current = e, r.current = t.current, i.current = !1);
var a = (0, b.useCallback)(function(e, n) {
@@ -80069,25 +80678,25 @@ function l3(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/AnimatedItems.js
-function kZe(e, t) {
- return PZe(e) || NZe(e, t) || jZe(e, t) || AZe();
+function $Ze(e, t) {
+ return iQe(e) || rQe(e, t) || tQe(e, t) || eQe();
}
-function AZe() {
+function eQe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function jZe(e, t) {
+function tQe(e, t) {
if (e) {
- if (typeof e == "string") return MZe(e, t);
+ if (typeof e == "string") return nQe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? MZe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nQe(e, t) : void 0;
}
}
-function MZe(e, t) {
+function nQe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function NZe(e, t) {
+function rQe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -80108,11 +80717,11 @@ function NZe(e, t) {
return s;
}
}
-function PZe(e) {
+function iQe(e) {
if (Array.isArray(e)) return e;
}
-function u3(e, t) {
- var n = kZe((0, b.useState)(!1), 2), r = n[0], i = n[1];
+function f3(e, t) {
+ var n = $Ze((0, b.useState)(!1), 2), r = n[0], i = n[1];
return {
isAnimating: r,
handleAnimationStart: (0, b.useCallback)(() => {
@@ -80123,9 +80732,9 @@ function u3(e, t) {
}, [t])
};
}
-function d3(e) {
- var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = RZ(t, n), _ = l3(g, i), v = _.startValue ?? null, y = c3(v, r, f ?? o3);
- return /*#__PURE__*/ b.createElement(LZ, {
+function p3(e) {
+ var t = e.animationInput, n = e.animationIdPrefix, r = e.items, i = e.previousItemsRef, a = e.isAnimationActive, o = e.animationBegin, s = e.animationDuration, c = e.animationEasing, l = e.onAnimationStart, u = e.onAnimationEnd, d = e.animationInterpolateFn, f = e.animationMatchBy, p = e.shouldUpdatePreviousRef, m = e.children, h = e.layout, g = ZZ(t, n), _ = d3(g, i), v = _.startValue ?? null, y = u3(v, r, f ?? c3);
+ return /*#__PURE__*/ b.createElement(XZ, {
animationId: g,
begin: o,
duration: s,
@@ -80139,25 +80748,25 @@ function d3(e) {
return _.syncStepValue(n, e, i), n == null ? null : m(n, e, t);
});
}
-function FZe(e, t) {
- return BZe(e) || zZe(e, t) || LZe(e, t) || IZe();
+function aQe(e, t) {
+ return uQe(e) || lQe(e, t) || sQe(e, t) || oQe();
}
-function IZe() {
+function oQe() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function LZe(e, t) {
+function sQe(e, t) {
if (e) {
- if (typeof e == "string") return RZe(e, t);
+ if (typeof e == "string") return cQe(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? RZe(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? cQe(e, t) : void 0;
}
}
-function RZe(e, t) {
+function cQe(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function zZe(e, t) {
+function lQe(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -80178,22 +80787,22 @@ function zZe(e, t) {
return s;
}
}
-function BZe(e) {
+function uQe(e) {
if (Array.isArray(e)) return e;
}
-var VZe = b.useId ?? (() => FZe(b.useState(() => pG("uid-")), 1)[0]);
+var dQe = b.useId ?? (() => aQe(b.useState(() => EG("uid-")), 1)[0]);
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function HZe(e, t) {
- var n = VZe();
+function fQe(e, t) {
+ var n = dQe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var UZe = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
- var t = e.id, n = e.type, r = e.children, i = HZe(`recharts-${n}`, t);
- return /*#__PURE__*/ b.createElement(UZe.Provider, { value: i }, r(i));
-}, WZe = dY({
+var pQe = /*#__PURE__*/ (0, b.createContext)(void 0), m3 = (e) => {
+ var t = e.id, n = e.type, r = e.children, i = fQe(`recharts-${n}`, t);
+ return /*#__PURE__*/ b.createElement(pQe.Provider, { value: i }, r(i));
+}, mQe = wY({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -80202,80 +80811,80 @@ var UZe = /*#__PURE__*/ (0, b.createContext)(void 0), f3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(eY(t.payload));
+ e.cartesianItems.push(pY(t.payload));
},
- prepare: sY()
+ prepare: bY()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = ZJ(e).cartesianItems.indexOf(eY(r));
- a > -1 && (e.cartesianItems[a] = eY(i));
+ var n = t.payload, r = n.prev, i = n.next, a = uY(e).cartesianItems.indexOf(pY(r));
+ a > -1 && (e.cartesianItems[a] = pY(i));
},
- prepare: sY()
+ prepare: bY()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = ZJ(e).cartesianItems.indexOf(eY(t.payload));
+ var n = uY(e).cartesianItems.indexOf(pY(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: sY()
+ prepare: bY()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(eY(t.payload));
+ e.polarItems.push(pY(t.payload));
},
- prepare: sY()
+ prepare: bY()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = ZJ(e).polarItems.indexOf(eY(t.payload));
+ var n = uY(e).polarItems.indexOf(pY(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: sY()
+ prepare: bY()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var n = t.payload, r = n.prev, i = n.next, a = ZJ(e).polarItems.indexOf(eY(r));
- a > -1 && (e.polarItems[a] = eY(i));
+ var n = t.payload, r = n.prev, i = n.next, a = uY(e).polarItems.indexOf(pY(r));
+ a > -1 && (e.polarItems[a] = pY(i));
},
- prepare: sY()
+ prepare: bY()
}
}
-}), p3 = WZe.actions, GZe = p3.addCartesianGraphicalItem, KZe = p3.replaceCartesianGraphicalItem, qZe = p3.removeCartesianGraphicalItem, JZe = p3.addPolarGraphicalItem, YZe = p3.removePolarGraphicalItem, XZe = p3.replacePolarGraphicalItem, ZZe = WZe.reducer, m3 = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = xq(), n = (0, b.useRef)(null);
+}), h3 = mQe.actions, hQe = h3.addCartesianGraphicalItem, gQe = h3.replaceCartesianGraphicalItem, _Qe = h3.removeCartesianGraphicalItem, vQe = h3.addPolarGraphicalItem, yQe = h3.removePolarGraphicalItem, bQe = h3.replacePolarGraphicalItem, xQe = mQe.reducer, g3 = /*#__PURE__*/ (0, b.memo)((e) => {
+ var t = Pq(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- n.current === null ? t(GZe(e)) : n.current !== e && t(KZe({
+ n.current === null ? t(hQe(e)) : n.current !== e && t(gQe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(qZe(n.current)), null);
+ n.current &&= (t(_Qe(n.current)), null);
}, [t]), null;
-}), QZe = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = xq(), n = (0, b.useRef)(null);
+}), SQe = /*#__PURE__*/ (0, b.memo)((e) => {
+ var t = Pq(), n = (0, b.useRef)(null);
return (0, b.useLayoutEffect)(() => {
- n.current === null ? t(JZe(e)) : n.current !== e && t(XZe({
+ n.current === null ? t(vQe(e)) : n.current !== e && t(bQe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(YZe(n.current)), null);
+ n.current &&= (t(yQe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function $Ze(e) {
+function CQe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function eQe(e) {
- if (PK(e) && e.length !== 0) return $Ze(U4(e));
+function wQe(e) {
+ if (qK(e) && e.length !== 0) return CQe(G4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var tQe = ["points"];
-function nQe(e, t) {
+var TQe = ["points"];
+function EQe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80285,30 +80894,30 @@ function nQe(e, t) {
}
return n;
}
-function h3(e) {
+function _3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? nQe(Object(n), !0).forEach(function(t) {
- rQe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nQe(Object(n)).forEach(function(t) {
+ t % 2 ? EQe(Object(n), !0).forEach(function(t) {
+ DQe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EQe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rQe(e, t, n) {
- return (t = iQe(t)) in e ? Object.defineProperty(e, t, {
+function DQe(e, t, n) {
+ return (t = OQe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iQe(e) {
- var t = aQe(e, "string");
+function OQe(e) {
+ var t = kQe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aQe(e, t) {
+function kQe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80318,25 +80927,25 @@ function aQe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function g3() {
- return g3 = Object.assign ? Object.assign.bind() : function(e) {
+function v3() {
+ return v3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, g3.apply(null, arguments);
+ }, v3.apply(null, arguments);
}
-function oQe(e, t) {
+function AQe(e, t) {
if (e == null) return {};
- var n, r, i = sQe(e, t);
+ var n, r, i = jQe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function sQe(e, t) {
+function jQe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -80345,23 +80954,23 @@ function sQe(e, t) {
}
return n;
}
-function cQe(e) {
+function MQe(e) {
var t = e.option, n = e.dotProps, r = e.className;
if (/*#__PURE__*/ (0, b.isValidElement)(t)) return /*#__PURE__*/ (0, b.cloneElement)(t, n);
if (typeof t == "function") return t(n);
var i = Cv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
a.points;
- var o = oQe(a, tQe);
- return /*#__PURE__*/ b.createElement(N4, g3({}, o, { className: i }));
+ var o = AQe(a, TQe);
+ return /*#__PURE__*/ b.createElement(F4, v3({}, o, { className: i }));
}
-function lQe(e, t) {
+function NQe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
-function _3(e) {
- var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? LQ.scatter : l;
- if (!lQe(t, n)) return null;
- var d = $4(n), f = $Me(n), p = t.map((e, r) => {
- var s = h3(h3(h3({ r: 3 }, o), f), {}, {
+function y3(e) {
+ var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? XQ.scatter : l;
+ if (!NQe(t, n)) return null;
+ var d = t3(n), f = fNe(n), p = t.map((e, r) => {
+ var s = _3(_3(_3({ r: 3 }, o), f), {}, {
index: r,
cx: e.x ?? void 0,
cy: e.y ?? void 0,
@@ -80370,18 +80979,18 @@ function _3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ b.createElement(cQe, {
+ return /*#__PURE__*/ b.createElement(MQe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), m = {};
- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(a4, { zIndex: u }, /*#__PURE__*/ b.createElement(QW, g3({ className: r }, m), p));
+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ b.createElement(s4, { zIndex: u }, /*#__PURE__*/ b.createElement(dG, v3({ className: r }, m), p));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function uQe(e, t) {
+function PQe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80391,30 +81000,30 @@ function uQe(e, t) {
}
return n;
}
-function v3(e) {
+function b3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? uQe(Object(n), !0).forEach(function(t) {
- dQe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uQe(Object(n)).forEach(function(t) {
+ t % 2 ? PQe(Object(n), !0).forEach(function(t) {
+ FQe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PQe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dQe(e, t, n) {
- return (t = fQe(t)) in e ? Object.defineProperty(e, t, {
+function FQe(e, t, n) {
+ return (t = IQe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fQe(e) {
- var t = pQe(e, "string");
+function IQe(e) {
+ var t = LQe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pQe(e, t) {
+function LQe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80424,7 +81033,7 @@ function pQe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var mQe = dY({
+var RQe = wY({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -80434,60 +81043,60 @@ var mQe = dY({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = eY(t.payload);
+ e.xAxis[t.payload.id] = pY(t.payload);
},
- prepare: sY()
+ prepare: bY()
},
replaceXAxis: {
reducer(e, t) {
var n = t.payload, r = n.prev, i = n.next;
- e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = eY(i));
+ e.xAxis[r.id] !== void 0 && (r.id !== i.id && delete e.xAxis[r.id], e.xAxis[i.id] = pY(i));
},
- prepare: sY()
+ prepare: bY()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: sY()
+ prepare: bY()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = eY(t.payload);
+ e.yAxis[t.payload.id] = pY(t.payload);
},
- prepare: sY()
+ prepare: bY()
},
replaceYAxis: {
reducer(e, t) {
var n = t.payload, r = n.prev, i = n.next;
- e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = eY(i));
+ e.yAxis[r.id] !== void 0 && (r.id !== i.id && delete e.yAxis[r.id], e.yAxis[i.id] = pY(i));
},
- prepare: sY()
+ prepare: bY()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: sY()
+ prepare: bY()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = eY(t.payload);
+ e.zAxis[t.payload.id] = pY(t.payload);
},
- prepare: sY()
+ prepare: bY()
},
replaceZAxis: {
reducer(e, t) {
var n = t.payload, r = n.prev, i = n.next;
- e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = eY(i));
+ e.zAxis[r.id] !== void 0 && (r.id !== i.id && delete e.zAxis[r.id], e.zAxis[i.id] = pY(i));
},
- prepare: sY()
+ prepare: bY()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: sY()
+ prepare: bY()
},
updateYAxisWidth(e, t) {
var n = t.payload, r = n.id, i = n.width, a = e.yAxis[r];
@@ -80495,7 +81104,7 @@ var mQe = dY({
var o = a.widthHistory || [];
if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.width && Math.abs(i - (o[0] ?? 0)) <= 1) return;
var s = [...o, i].slice(-3);
- e.yAxis[r] = v3(v3({}, a), {}, {
+ e.yAxis[r] = b3(b3({}, a), {}, {
width: i,
widthHistory: s
});
@@ -80507,24 +81116,24 @@ var mQe = dY({
var o = a.heightHistory || [];
if (o.length === 3 && o[0] === o[2] && i === o[1] && i !== a.height && Math.abs(i - (o[0] ?? 0)) <= 1) return;
var s = [...o, i].slice(-3);
- e.xAxis[r] = v3(v3({}, a), {}, {
+ e.xAxis[r] = b3(b3({}, a), {}, {
height: i,
heightHistory: s
});
}
}
}
-}), y3 = mQe.actions, hQe = y3.addXAxis, gQe = y3.replaceXAxis, _Qe = y3.removeXAxis, vQe = y3.addYAxis, yQe = y3.replaceYAxis, bQe = y3.removeYAxis;
-y3.addZAxis, y3.replaceZAxis, y3.removeZAxis;
-var xQe = y3.updateYAxisWidth, SQe = y3.updateXAxisHeight, CQe = mQe.reducer, wQe = Y([
- Y([fX], (e) => ({
+}), x3 = RQe.actions, zQe = x3.addXAxis, BQe = x3.replaceXAxis, VQe = x3.removeXAxis, HQe = x3.addYAxis, UQe = x3.replaceYAxis, WQe = x3.removeYAxis;
+x3.addZAxis, x3.replaceZAxis, x3.removeZAxis;
+var GQe = x3.updateYAxisWidth, KQe = x3.updateXAxisHeight, qQe = RQe.reducer, JQe = Y([
+ Y([TX], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- aX,
- oX
+ vX,
+ yX
], (e, t, n) => {
if (e && t != null && n != null) return {
x: e.left,
@@ -80532,10 +81141,10 @@ var xQe = y3.updateYAxisWidth, SQe = y3.updateXAxisHeight, CQe = mQe.reducer, wQ
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), b3 = () => J(wQe), TQe = () => J(dKe);
+}), S3 = () => J(JQe), YQe = () => J(FKe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function EQe(e, t) {
+function XQe(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80545,30 +81154,30 @@ function EQe(e, t) {
}
return n;
}
-function x3(e) {
+function C3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? EQe(Object(n), !0).forEach(function(t) {
- DQe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EQe(Object(n)).forEach(function(t) {
+ t % 2 ? XQe(Object(n), !0).forEach(function(t) {
+ ZQe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XQe(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DQe(e, t, n) {
- return (t = OQe(t)) in e ? Object.defineProperty(e, t, {
+function ZQe(e, t, n) {
+ return (t = QQe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function OQe(e) {
- var t = kQe(e, "string");
+function QQe(e) {
+ var t = $Qe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kQe(e, t) {
+function $Qe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80578,10 +81187,10 @@ function kQe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var AQe = (e) => {
+var e$e = (e) => {
var t = e.point, n = e.childIndex, r = e.mainColor, i = e.activeDot, a = e.dataKey, o = e.clipPath;
if (i === !1 || t.x == null || t.y == null) return null;
- var s = x3(x3(x3({}, {
+ var s = C3(C3(C3({}, {
index: n,
dataKey: a,
cx: t.x,
@@ -80592,17 +81201,17 @@ var AQe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), qW(i)), TK(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(N4, s);
- return /*#__PURE__*/ b.createElement(QW, {
+ }), oG(i)), RK(i)), c = /*#__PURE__*/ (0, b.isValidElement)(i) ? /*#__PURE__*/ (0, b.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ b.createElement(F4, s);
+ return /*#__PURE__*/ b.createElement(dG, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
-function S3(e) {
- var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? LQ.activeDot : o, c = J(X2), l = TQe();
+function w3(e) {
+ var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? XQ.activeDot : o, c = J(Q2), l = YQe();
if (t == null || l == null) return null;
var u = t.find((e) => l.includes(e.payload));
- return vG(u) ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: s }, /*#__PURE__*/ b.createElement(AQe, {
+ return jG(u) ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: s }, /*#__PURE__*/ b.createElement(e$e, {
point: u,
childIndex: Number(c),
mainColor: n,
@@ -80613,7 +81222,7 @@ function S3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function jQe(e, t) {
+function t$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80623,30 +81232,30 @@ function jQe(e, t) {
}
return n;
}
-function C3(e) {
+function T3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jQe(Object(n), !0).forEach(function(t) {
- MQe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jQe(Object(n)).forEach(function(t) {
+ t % 2 ? t$e(Object(n), !0).forEach(function(t) {
+ n$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function MQe(e, t, n) {
- return (t = NQe(t)) in e ? Object.defineProperty(e, t, {
+function n$e(e, t, n) {
+ return (t = r$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function NQe(e) {
- var t = PQe(e, "string");
+function r$e(e) {
+ var t = i$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function PQe(e, t) {
+function i$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80656,16 +81265,16 @@ function PQe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var FQe = (e, t) => z4(e, "radiusAxis", t), IQe = Y([FQe], (e) => {
+var a$e = (e, t) => V4(e, "radiusAxis", t), o$e = Y([a$e], (e) => {
if (e != null) return { scale: e };
-}), LQe = Y([qQ, FQe], (e, t) => {
- if (e != null && t != null) return C3(C3({}, e), {}, { scale: t });
-}), RQe = (e, t, n, r) => B4(e, "radiusAxis", t, r), zQe = (e, t, n) => KQ(e, n), BQe = (e, t, n) => z4(e, "angleAxis", n), VQe = Y([zQe, BQe], (e, t) => {
- if (e != null && t != null) return C3(C3({}, e), {}, { scale: t });
-}), HQe = (e, t, n, r) => B4(e, "angleAxis", n, r), UQe = Y([
- zQe,
- BQe,
- e$
+}), s$e = Y([o$, a$e], (e, t) => {
+ if (e != null && t != null) return T3(T3({}, e), {}, { scale: t });
+}), c$e = (e, t, n, r) => H4(e, "radiusAxis", t, r), l$e = (e, t, n) => a$(e, n), u$e = (e, t, n) => V4(e, "angleAxis", n), d$e = Y([l$e, u$e], (e, t) => {
+ if (e != null && t != null) return T3(T3({}, e), {}, { scale: t });
+}), f$e = (e, t, n, r) => H4(e, "angleAxis", n, r), p$e = Y([
+ l$e,
+ u$e,
+ p$
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -80674,40 +81283,40 @@ var FQe = (e, t) => z4(e, "radiusAxis", t), IQe = Y([FQe], (e) => {
cx: n.cx,
cy: n.cy
};
-}), WQe = (e, t, n, r, i) => i, GQe = Y([
- NX,
- LQe,
- RQe,
- VQe,
- HQe
-], (e, t, n, r, i) => KY(e, "radiusAxis") ? nX(t, n, !1) : nX(r, i, !1)), KQe = Y([
- IQe,
- UQe,
- cQ,
- Y([P4, WQe], (e, t) => {
+}), m$e = (e, t, n, r, i) => i, h$e = Y([
+ KX,
+ s$e,
+ c$e,
+ d$e,
+ f$e
+], (e, t, n, r, i) => aX(e, "radiusAxis") ? hX(t, n, !1) : hX(r, i, !1)), g$e = Y([
+ o$e,
+ p$e,
+ xQ,
+ Y([I4, m$e], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- GQe
+ h$e
], (e, t, n, r, i) => {
var a = n.chartData, o = n.dataStartIndex, s = n.dataEndIndex;
- if (e != null && t != null && a != null && i != null && r != null) return r$e({
+ if (e != null && t != null && a != null && i != null && r != null) return D$e({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), qQe = ["id"];
-function w3() {
- return w3 = Object.assign ? Object.assign.bind() : function(e) {
+}), _$e = ["id"];
+function E3() {
+ return E3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, w3.apply(null, arguments);
+ }, E3.apply(null, arguments);
}
-function JQe(e, t) {
+function v$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -80717,30 +81326,30 @@ function JQe(e, t) {
}
return n;
}
-function T3(e) {
+function D3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? JQe(Object(n), !0).forEach(function(t) {
- YQe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JQe(Object(n)).forEach(function(t) {
+ t % 2 ? v$e(Object(n), !0).forEach(function(t) {
+ y$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function YQe(e, t, n) {
- return (t = XQe(t)) in e ? Object.defineProperty(e, t, {
+function y$e(e, t, n) {
+ return (t = b$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function XQe(e) {
- var t = ZQe(e, "string");
+function b$e(e) {
+ var t = x$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ZQe(e, t) {
+function x$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -80750,16 +81359,16 @@ function ZQe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function QQe(e, t) {
+function S$e(e, t) {
if (e == null) return {};
- var n, r, i = $Qe(e, t);
+ var n, r, i = C$e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function $Qe(e, t) {
+function C$e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -80768,44 +81377,44 @@ function $Qe(e, t) {
}
return n;
}
-function E3(e, t) {
+function O3(e, t) {
return e && e !== "none" ? e : t;
}
-var e$e = (e) => {
+var w$e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: a,
- color: E3(r, i),
- value: iX(n, t),
+ color: O3(r, i),
+ value: _X(n, t),
payload: e
}];
-}, t$e = /*#__PURE__*/ b.memo((e) => {
+}, T$e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {
dataDefinedOnItem: void 0,
- getPosition: xG,
+ getPosition: PG,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: iX(a, t),
+ name: _X(a, t),
hide: o,
type: s,
- color: E3(n, i),
+ color: O3(n, i),
unit: "",
graphicalItemId: c
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: l });
});
-function n$e(e) {
+function E$e(e) {
var t = e.points, n = e.props, r = n.dot, i = n.dataKey;
n.id;
- var a = KW(QQe(n, qQe));
- return /*#__PURE__*/ b.createElement(_3, {
+ var a = aG(S$e(n, _$e));
+ return /*#__PURE__*/ b.createElement(y3, {
points: t,
dot: r,
className: "recharts-radar-dots",
@@ -80814,11 +81423,11 @@ function n$e(e) {
baseProps: a
});
}
-function r$e(e) {
+function D$e(e) {
var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = GY(e, n.dataKey, r), d = GY(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? eQe(d) : d, m = vG(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(T3(T3({}, QZ(o, s, m, f)), {}, {
+ var a = iX(e, n.dataKey, r), d = iX(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? wQe(d) : d, m = jG(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(D3(D3({}, dQ(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -80831,8 +81440,8 @@ function r$e(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = vG(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(T3(T3({}, e), {}, { radius: r }, QZ(o, s, r, e.angle)));
+ var n = e.value[0], r = jG(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(D3(D3({}, e), {}, { radius: r }, dQ(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -80840,7 +81449,7 @@ function r$e(e) {
baseLinePoints: d
};
}
-function i$e(e) {
+function O$e(e) {
var t = e.showLabels, n = e.points, r = e.children, i = n.map((e) => {
var t = {
x: e.x,
@@ -80850,7 +81459,7 @@ function i$e(e) {
upperWidth: 0,
height: 0
};
- return T3(T3({}, t), {}, {
+ return D3(D3({}, t), {}, {
value: e.value ?? "",
payload: e.payload,
parentViewBox: void 0,
@@ -80858,12 +81467,12 @@ function i$e(e) {
fill: void 0
});
});
- return /*#__PURE__*/ b.createElement(D4, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ b.createElement(k4, { value: t ? i : void 0 }, r);
}
-function a$e(e) {
+function k$e(e) {
var t = e.points, n = e.baseLinePoints, r = e.props;
if (t == null) return null;
- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, T3(T3({}, r), {}, { points: t })) : typeof i == "function" ? i(T3(T3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(zYe, w3({}, JW(r), {
+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ b.isValidElement(i) ? /*#__PURE__*/ b.cloneElement(i, D3(D3({}, r), {}, { points: t })) : typeof i == "function" ? i(D3(D3({}, r), {}, { points: t })) : /*#__PURE__*/ b.createElement(lXe, E3({}, sG(r), {
onMouseEnter: (e) => {
var t = r.onMouseEnter;
t && t(r, e);
@@ -80876,24 +81485,24 @@ function a$e(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ b.createElement(QW, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(n$e, {
+ return /*#__PURE__*/ b.createElement(dG, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ b.createElement(E$e, {
props: r,
points: t
}));
}
-var o$e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [T3(T3({}, e.next), {}, {
- x: gG(e.prev.x, e.next.x, t),
- y: gG(e.prev.y, e.next.y, t)
-})] : [T3(T3({}, e.next), {}, {
- x: gG(e.next.cx, e.next.x, t),
- y: gG(e.next.cy, e.next.y, t)
+var A$e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [D3(D3({}, e.next), {}, {
+ x: kG(e.prev.x, e.next.x, t),
+ y: kG(e.prev.y, e.next.y, t)
+})] : [D3(D3({}, e.next), {}, {
+ x: kG(e.next.cx, e.next.x, t),
+ y: kG(e.next.cy, e.next.y, t)
})]);
-function s$e(e) {
- var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = l3(t, r), h = m.startValue, g = c3(h ?? null, a, u), _ = u3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = LX();
- return S == null ? null : /*#__PURE__*/ b.createElement(i$e, {
+function j$e(e) {
+ var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = d3(t, r), h = m.startValue, g = u3(h ?? null, a, u), _ = f3(f, p), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = XX();
+ return S == null ? null : /*#__PURE__*/ b.createElement(O$e, {
showLabels: !v,
points: i
- }, /*#__PURE__*/ b.createElement(d3, {
+ }, /*#__PURE__*/ b.createElement(p3, {
animationInput: t,
animationIdPrefix: "recharts-radar-",
items: i,
@@ -80909,62 +81518,62 @@ function s$e(e) {
layout: S
}, (e, n) => {
var r = n === 1 ? a : d(g, n, S);
- return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(a$e, {
+ return m.syncStepValue(r, n), /*#__PURE__*/ b.createElement(k$e, {
points: e,
baseLinePoints: r,
props: t
});
- }), /*#__PURE__*/ b.createElement(k4, { label: t.label }), t.children);
+ }), /*#__PURE__*/ b.createElement(j4, { label: t.label }), t.children);
}
-function c$e(e) {
+function M$e(e) {
var t = (0, b.useRef)(void 0), n = (0, b.useRef)(void 0);
- return /*#__PURE__*/ b.createElement(s$e, {
+ return /*#__PURE__*/ b.createElement(j$e, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var l$e = {
+var N$e = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: o3,
- animationInterpolateFn: o$e,
+ animationMatchBy: c3,
+ animationInterpolateFn: A$e,
dot: !1,
hide: !1,
isAnimationActive: "auto",
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: LQ.area
+ zIndex: XQ.area
};
-function u$e(e) {
+function P$e(e) {
var t = e.hide, n = e.className, r = e.points;
if (t) return null;
var i = Cv("recharts-radar", n);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(QW, { className: i }, /*#__PURE__*/ b.createElement(c$e, e)), /*#__PURE__*/ b.createElement(S3, {
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: i }, /*#__PURE__*/ b.createElement(M$e, e)), /*#__PURE__*/ b.createElement(w3, {
points: r,
- mainColor: E3(e.stroke, e.fill),
+ mainColor: O3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function d$e(e) {
- var t = hX(), n = J((n) => KQe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ b.createElement(u$e, w3({}, e, {
+function F$e(e) {
+ var t = OX(), n = J((n) => g$e(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ b.createElement(P$e, E3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
-function D3(e) {
- var t = OK(e, l$e);
- return /*#__PURE__*/ b.createElement(f3, {
+function k3(e) {
+ var t = VK(e, N$e);
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QZe, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(SQe, {
type: "radar",
id: e,
data: void 0,
@@ -80972,7 +81581,7 @@ function D3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ b.createElement(_Ze, { legendPayload: e$e(t) }), /*#__PURE__*/ b.createElement(t$e, {
+ }), /*#__PURE__*/ b.createElement(VZe, { legendPayload: w$e(t) }), /*#__PURE__*/ b.createElement(T$e, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -80981,22 +81590,22 @@ function D3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(d$e, w3({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(F$e, E3({}, t, { id: e }))));
}
-D3.displayName = "Radar";
+k3.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-var f$e = ["option"];
-function p$e(e, t) {
+var I$e = ["option"];
+function L$e(e, t) {
if (e == null) return {};
- var n, r, i = m$e(e, t);
+ var n, r, i = R$e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function m$e(e, t) {
+function R$e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81005,39 +81614,39 @@ function m$e(e, t) {
}
return n;
}
-var h$e = iQ;
-function g$e(e) {
+var z$e = _Q;
+function B$e(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
-function O3(e) {
- var t = e.option, n = p$e(e, f$e);
- return /*#__PURE__*/ b.createElement(e3, {
+function A3(e) {
+ var t = e.option, n = L$e(e, I$e);
+ return /*#__PURE__*/ b.createElement(n3, {
option: t,
- DefaultShape: h$e,
+ DefaultShape: z$e,
shapeProps: n
});
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-function _$e(e, t) {
- return S$e(e) || x$e(e, t) || y$e(e, t) || v$e();
+function V$e(e, t) {
+ return K$e(e) || G$e(e, t) || U$e(e, t) || H$e();
}
-function v$e() {
+function H$e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function y$e(e, t) {
+function U$e(e, t) {
if (e) {
- if (typeof e == "string") return b$e(e, t);
+ if (typeof e == "string") return W$e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? b$e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? W$e(e, t) : void 0;
}
}
-function b$e(e, t) {
+function W$e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function x$e(e, t) {
+function G$e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -81058,33 +81667,33 @@ function x$e(e, t) {
return s;
}
}
-function S$e(e) {
+function K$e(e) {
if (Array.isArray(e)) return e;
}
-var C$e = (e, t, n) => {
+var q$e = (e, t, n) => {
var r = n ?? e;
- if (!vG(r)) return mG(r, t, 0);
-}, w$e = (e, t, n) => {
- var r = {}, i = e.filter(a$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+ if (!jG(r)) return DG(r, t, 0);
+}, J$e = (e, t, n) => {
+ var r = {}, i = e.filter(v$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
- var r = _$e(e, 2), i = r[0], a = r[1];
+ var r = V$e(e, 2), i = r[0], a = r[1];
return {
stackId: i,
dataKeys: a.map((e) => e.dataKey),
- barSize: C$e(t, n, a[0]?.barSize)
+ barSize: q$e(t, n, a[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: C$e(t, n, e.barSize)
+ barSize: q$e(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function T$e(e, t) {
+function Y$e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81094,30 +81703,30 @@ function T$e(e, t) {
}
return n;
}
-function k3(e) {
+function j3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? T$e(Object(n), !0).forEach(function(t) {
- E$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T$e(Object(n)).forEach(function(t) {
+ t % 2 ? Y$e(Object(n), !0).forEach(function(t) {
+ X$e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y$e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function E$e(e, t, n) {
- return (t = D$e(t)) in e ? Object.defineProperty(e, t, {
+function X$e(e, t, n) {
+ return (t = Z$e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function D$e(e) {
- var t = O$e(e, "string");
+function Z$e(e) {
+ var t = Q$e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function O$e(e, t) {
+function Q$e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81127,11 +81736,11 @@ function O$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function k$e(e, t, n, r, i) {
+function $$e(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = mG(e, n, 0, !0), s, c = [];
- if (VY(r[0]?.barSize)) {
+ var o = DG(e, n, 0, !0), s, c = [];
+ if (eX(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
var f = {
@@ -81150,11 +81759,11 @@ function k$e(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = mG(t, n, 0, !0);
+ var p = DG(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m = Math.round(m));
- var h = VY(i) ? Math.min(m, i) : m;
+ var h = eX(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -81167,11 +81776,11 @@ function k$e(e, t, n, r, i) {
return s;
}
}
-var A$e = (e, t, n, r, i, a, o) => {
- var s = vG(o) ? t : o, c = k$e(n, r, i === a ? a : i, e, s);
- return i !== a && c != null && (c = c.map((e) => k3(k3({}, e), {}, { position: k3(k3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
-}, j$e = (e, t) => {
- var n = r$(t);
+var e1e = (e, t, n, r, i, a, o) => {
+ var s = jG(o) ? t : o, c = $$e(n, r, i === a ? a : i, e, s);
+ return i !== a && c != null && (c = c.map((e) => j3(j3({}, e), {}, { position: j3(j3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
+}, t1e = (e, t) => {
+ var n = g$(t);
if (e && n != null && t != null) {
var r = t.stackId;
if (r != null) {
@@ -81182,7 +81791,7 @@ var A$e = (e, t, n, r, i, a, o) => {
}
}
}
-}, M$e = (e, t) => {
+}, n1e = (e, t) => {
if (e != null && t != null) {
var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));
if (n != null) return n.position;
@@ -81190,7 +81799,7 @@ var A$e = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function N$e(e, t) {
+function r1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81200,30 +81809,30 @@ function N$e(e, t) {
}
return n;
}
-function A3(e) {
+function M3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? N$e(Object(n), !0).forEach(function(t) {
- P$e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N$e(Object(n)).forEach(function(t) {
+ t % 2 ? r1e(Object(n), !0).forEach(function(t) {
+ i1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function P$e(e, t, n) {
- return (t = F$e(t)) in e ? Object.defineProperty(e, t, {
+function i1e(e, t, n) {
+ return (t = a1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function F$e(e) {
- var t = I$e(e, "string");
+function a1e(e) {
+ var t = o1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function I$e(e, t) {
+function o1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81233,81 +81842,81 @@ function I$e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var j3 = Y([(e, t) => qQ(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
- if (e != null && t != null) return A3(A3({}, e), {}, { scale: t });
-}), M3 = (e, t) => qYe(e, "radiusAxis", t, !1), N3 = Y([(e, t, n) => KQ(e, n), (e, t, n) => z4(e, "angleAxis", n)], (e, t) => {
- if (e != null && t != null) return A3(A3({}, e), {}, { scale: t });
-}), P3 = (e, t, n) => B4(e, "angleAxis", n, !1), F3 = Y([P4, (e, t, n, r) => r], (e, t) => {
+var N3 = Y([(e, t) => o$(e, t), (e, t) => V4(e, "radiusAxis", t)], (e, t) => {
+ if (e != null && t != null) return M3(M3({}, e), {}, { scale: t });
+}), P3 = (e, t) => _Xe(e, "radiusAxis", t, !1), F3 = Y([(e, t, n) => a$(e, n), (e, t, n) => V4(e, "angleAxis", n)], (e, t) => {
+ if (e != null && t != null) return M3(M3({}, e), {}, { scale: t });
+}), I3 = (e, t, n) => H4(e, "angleAxis", n, !1), L3 = Y([I4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), L$e = Y([
- NX,
- j3,
- M3,
+}), s1e = Y([
+ KX,
N3,
- P3
-], (e, t, n, r, i) => KY(e, "radiusAxis") ? nX(t, n, !1) : nX(r, i, !1)), R$e = Y([
+ P3,
+ F3,
+ I3
+], (e, t, n, r, i) => aX(e, "radiusAxis") ? hX(t, n, !1) : hX(r, i, !1)), c1e = Y([
+ F3,
N3,
- j3,
- NX
+ KX
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return $Y({ numericAxis: r });
-}), z$e = (e, t, n, r, i) => i, B$e = (e, t, n, r, i) => n, V$e = (e, t, n, r, i) => t, H$e = (e, t, n, r, i) => r.maxBarSize, U$e = (e) => e.type === "radialBar", W$e = Y([Y([
+ if (r != null && r.scale != null) return fX({ numericAxis: r });
+}), l1e = (e, t, n, r, i) => i, u1e = (e, t, n, r, i) => n, d1e = (e, t, n, r, i) => t, f1e = (e, t, n, r, i) => r.maxBarSize, p1e = (e) => e.type === "radialBar", m1e = Y([Y([
Y([
Y([
- NX,
- P4,
- B$e,
- V$e
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(U$e)),
- AQ,
+ KX,
+ I4,
+ u1e,
+ d1e
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(p1e)),
+ UQ,
() => void 0
- ], w$e),
- DQ,
- OQ,
- kQ,
+ ], J$e),
+ BQ,
+ VQ,
+ HQ,
Y([
- NX,
- DQ,
+ KX,
+ BQ,
+ F3,
+ I3,
N3,
P3,
- j3,
- M3,
- H$e
+ f1e
], (e, t, n, r, i, a, o) => {
- var s = vG(o) ? t : o;
- return e === "centric" ? nX(n, r, !0) ?? s ?? 0 : nX(i, a, !0) ?? s ?? 0;
+ var s = jG(o) ? t : o;
+ return e === "centric" ? hX(n, r, !0) ?? s ?? 0 : hX(i, a, !0) ?? s ?? 0;
}),
- L$e,
- H$e
-], A$e), F3], M$e), G$e = Y([F4], (e) => e.filter(U$e).filter(a$)), K$e = Y([
+ s1e,
+ f1e
+], e1e), L3], n1e), h1e = Y([L4], (e) => e.filter(p1e).filter(v$)), g1e = Y([
Y([
- G$e,
- cQ,
- a2
- ], i$),
- G$e,
- jQ,
- MQ
-], s2), q$e = Y([
+ h1e,
+ xQ,
+ s2
+ ], _$),
+ h1e,
+ WQ,
+ GQ
+], l2), _1e = Y([
+ F3,
+ I3,
N3,
P3,
- j3,
- M3,
- sQ,
- F3,
- L$e,
- NX,
- R$e,
- e$,
- z$e,
- W$e,
- Y([(e, t, n) => NX(e) === "centric" ? K$e(e, "radiusAxis", t) : K$e(e, "angleAxis", n), F3], j$e)
+ bQ,
+ L3,
+ s1e,
+ KX,
+ c1e,
+ p$,
+ l1e,
+ m1e,
+ Y([(e, t, n) => KX(e) === "centric" ? g1e(e, "radiusAxis", t) : g1e(e, "angleAxis", n), L3], t1e)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = i.chartData, m = i.dataStartIndex, h = i.dataEndIndex;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var g = a.dataKey, _ = a.minPointSize, v = l.cx, y = l.cy, b = l.startAngle, x = l.endAngle;
- return m1e({
+ return R1e({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -81328,7 +81937,7 @@ var j3 = Y([(e, t) => qQ(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), J$e = Y([cQ, (e, t) => t], (e, t) => {
+}), v1e = Y([xQ, (e, t) => t], (e, t) => {
var n = e.chartData, r = e.dataStartIndex, i = e.dataEndIndex;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -81341,31 +81950,31 @@ var j3 = Y([(e, t) => qQ(e, t), (e, t) => z4(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function Y$e(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && VY(e.zIndex) ? e.zIndex : t;
+function y1e(e, t) {
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && eX(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var X$e = [
+var b1e = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], Z$e = [
+], x1e = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], Q$e = ["value", "background"];
-function I3() {
- return I3 = Object.assign ? Object.assign.bind() : function(e) {
+], S1e = ["value", "background"];
+function R3() {
+ return R3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, I3.apply(null, arguments);
+ }, R3.apply(null, arguments);
}
-function $$e(e, t) {
+function C1e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81375,30 +81984,30 @@ function $$e(e, t) {
}
return n;
}
-function L3(e) {
+function z3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $$e(Object(n), !0).forEach(function(t) {
- e1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $$e(Object(n)).forEach(function(t) {
+ t % 2 ? C1e(Object(n), !0).forEach(function(t) {
+ w1e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C1e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function e1e(e, t, n) {
- return (t = t1e(t)) in e ? Object.defineProperty(e, t, {
+function w1e(e, t, n) {
+ return (t = T1e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function t1e(e) {
- var t = n1e(e, "string");
+function T1e(e) {
+ var t = E1e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function n1e(e, t) {
+function E1e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81408,16 +82017,16 @@ function n1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function R3(e, t) {
+function B3(e, t) {
if (e == null) return {};
- var n, r, i = r1e(e, t);
+ var n, r, i = D1e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function r1e(e, t) {
+function D1e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81426,8 +82035,8 @@ function r1e(e, t) {
}
return n;
}
-var i1e = [];
-function a1e(e) {
+var O1e = [];
+function k1e(e) {
var t = e.showLabels, n = e.sectors, r = e.children, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -81444,15 +82053,15 @@ function a1e(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ b.createElement(OYe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ b.createElement(QYe, { value: t ? i : void 0 }, r);
}
-function o1e(e) {
- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = R3(n, X$e), f = KW(d), p = J(X2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = R3(n, Z$e), v = t3(m, n.dataKey, u), y = n3(g), x = r3(h, n.dataKey, u);
- return t == null ? null : /*#__PURE__*/ b.createElement(a1e, {
+function A1e(e) {
+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = B3(n, b1e), f = aG(d), p = J(Q2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = B3(n, x1e), v = r3(m, n.dataKey, u), y = i3(g), x = a3(h, n.dataKey, u);
+ return t == null ? null : /*#__PURE__*/ b.createElement(k1e, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = L3(L3(L3(L3({}, f), {}, { cornerRadius: g$e(l) }, e), EK(_, e, t)), {}, {
+ var n = !!(c && p === String(t)), r = v(e, t), u = y(e, t), m = x(e, t), h = z3(z3(z3(z3({}, f), {}, { cornerRadius: B$e(l) }, e), zK(_, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: u,
onClick: m,
@@ -81466,19 +82075,19 @@ function o1e(e) {
option: n && c != null ? c : s,
index: t
});
- return n ? /*#__PURE__*/ b.createElement(a4, {
- zIndex: LQ.activeBar,
+ return n ? /*#__PURE__*/ b.createElement(s4, {
+ zIndex: XQ.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
- }, /*#__PURE__*/ b.createElement(O3, h)) : /*#__PURE__*/ b.createElement(O3, I3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));
- }), /*#__PURE__*/ b.createElement(k4, { label: n.label }), n.children);
-}
-var s1e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [L3(L3({}, e.next), {}, {
- startAngle: gG(e.prev.startAngle, e.next.startAngle, t),
- endAngle: gG(e.prev.endAngle, e.next.endAngle, t)
-})] : [L3(L3({}, e.next), {}, { endAngle: gG(e.next.startAngle, e.next.endAngle, t) })]);
-function c1e(e) {
- var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = u3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = LX();
- return m == null ? null : /*#__PURE__*/ b.createElement(d3, {
+ }, /*#__PURE__*/ b.createElement(A3, h)) : /*#__PURE__*/ b.createElement(A3, R3({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, h));
+ }), /*#__PURE__*/ b.createElement(j4, { label: n.label }), n.children);
+}
+var j1e = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [z3(z3({}, e.next), {}, {
+ startAngle: kG(e.prev.startAngle, e.next.startAngle, t),
+ endAngle: kG(e.prev.endAngle, e.next.endAngle, t)
+})] : [z3(z3({}, e.next), {}, { endAngle: kG(e.next.startAngle, e.next.endAngle, t) })]);
+function M1e(e) {
+ var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = f3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = XX();
+ return m == null ? null : /*#__PURE__*/ b.createElement(p3, {
animationInput: t,
animationIdPrefix: "recharts-radialbar-",
items: r,
@@ -81492,7 +82101,7 @@ function c1e(e) {
animationInterpolateFn: t.animationInterpolateFn,
animationMatchBy: t.animationMatchBy,
layout: m
- }, (e, n, r) => /*#__PURE__*/ b.createElement(o1e, {
+ }, (e, n, r) => /*#__PURE__*/ b.createElement(A1e, {
sectors: e,
allOtherRadialBarProps: t,
showLabels: !d,
@@ -81501,21 +82110,21 @@ function c1e(e) {
isEntrance: r
}));
}
-function l1e(e) {
+function N1e(e) {
var t = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(c1e, {
+ return /*#__PURE__*/ b.createElement(M1e, {
props: e,
previousSectorsRef: t
});
}
-function u1e(e) {
- var t = J((t) => J$e(t, e.legendType));
- return /*#__PURE__*/ b.createElement(_Ze, { legendPayload: t ?? [] });
+function P1e(e) {
+ var t = J((t) => v1e(t, e.legendType));
+ return /*#__PURE__*/ b.createElement(VZe, { legendPayload: t ?? [] });
}
-var d1e = /*#__PURE__*/ b.memo((e) => {
+var F1e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {
dataDefinedOnItem: n,
- getPosition: xG,
+ getPosition: PG,
settings: {
graphicalItemId: e.id,
stroke: r,
@@ -81523,7 +82132,7 @@ var d1e = /*#__PURE__*/ b.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: iX(a, t),
+ name: _X(a, t),
hide: o,
type: c,
color: s,
@@ -81531,39 +82140,39 @@ var d1e = /*#__PURE__*/ b.memo((e) => {
formatter: l
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: u });
-}), f1e = class extends b.PureComponent {
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: u });
+}), I1e = class extends b.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var t = this.props.cornerRadius, n = qW(this.props.background);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: Y$e(this.props.background, LQ.barBackground) }, e.map((e, r) => {
+ var t = this.props.cornerRadius, n = oG(this.props.background);
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: y1e(this.props.background, XQ.barBackground) }, e.map((e, r) => {
e.value;
- var i = e.background, a = R3(e, Q$e);
+ var i = e.background, a = B3(e, S1e);
if (!i) return null;
- var o = L3(L3(L3(L3(L3({ cornerRadius: g$e(t) }, a), {}, { fill: "#eee" }, i), n), EK(this.props, e, r)), {}, {
+ var o = z3(z3(z3(z3(z3({ cornerRadius: B$e(t) }, a), {}, { fill: "#eee" }, i), n), zK(this.props, e, r)), {}, {
index: r,
className: Cv("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
isActive: !1
});
- return /*#__PURE__*/ b.createElement(O3, I3({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));
+ return /*#__PURE__*/ b.createElement(A3, R3({ key: `background-${a.cx}-${a.cy}-${a.innerRadius}-${a.outerRadius}-${a.startAngle}-${a.endAngle}-${r}` }, o));
}));
}
render() {
var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;
if (t) return null;
var a = Cv("recharts-area", r);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(QW, { className: a }, i && /*#__PURE__*/ b.createElement(QW, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(QW, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(l1e, this.props))));
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: this.props.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: a }, i && /*#__PURE__*/ b.createElement(dG, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ b.createElement(dG, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ b.createElement(N1e, this.props))));
}
};
-function p1e(e) {
- var t = b.useMemo(() => oZe(e.children, p4), [e.children]), n = b.useMemo(() => ({
+function L1e(e) {
+ var t = b.useMemo(() => AZe(e.children, h4), [e.children]), n = b.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: XY(e.stackId),
+ stackId: lX(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -81578,8 +82187,8 @@ function p1e(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = J((r) => q$e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? i1e;
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(d1e, {
+ ]), r = J((r) => _1e(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? O1e;
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(F1e, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -81590,15 +82199,15 @@ function p1e(e) {
tooltipType: e.tooltipType,
formatter: e.formatter,
id: e.id
- }), /*#__PURE__*/ b.createElement(f1e, I3({}, e, { sectors: r })));
+ }), /*#__PURE__*/ b.createElement(I1e, R3({}, e, { sectors: r })));
}
-var z3 = {
+var V3 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: wZe,
- animationInterpolateFn: s1e,
+ animationMatchBy: JZe,
+ animationInterpolateFn: j1e,
background: !1,
cornerIsExternal: !1,
cornerRadius: 0,
@@ -81609,15 +82218,15 @@ var z3 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- shape: h$e,
- zIndex: LQ.bar
+ shape: z$e,
+ zIndex: XQ.bar
};
-function m1e(e) {
+function R1e(e) {
var t = e.displayedData, n = e.stackedData, r = e.dataStartIndex, i = e.stackedDomain, a = e.dataKey, o = e.baseValue, s = e.layout, c = e.radiusAxis, l = e.radiusAxisTicks, u = e.bandSize, d = e.pos, f = e.angleAxis, p = e.minPointSize, m = e.cx, h = e.cy, g = e.angleAxisTicks, _ = e.cells, v = e.startAngle, y = e.endAngle;
- return g == null || l == null ? i1e : (t ?? []).map((e, t) => {
+ return g == null || l == null ? O1e : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = YY(n[r + t], i) : (b = GY(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = QY({
+ if (n ? b = cX(n[r + t], i) : (b = iX(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = dX({
axis: c,
ticks: l,
bandSize: u,
@@ -81628,7 +82237,7 @@ function m1e(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = cG(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = xG(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -81640,7 +82249,7 @@ function m1e(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = QY({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = dX({
axis: f,
ticks: g,
bandSize: u,
@@ -81651,11 +82260,11 @@ function m1e(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = cG(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = xG(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
- return L3(L3(L3({}, e), T), {}, {
+ return z3(z3(z3({}, e), T), {}, {
payload: e,
value: n ? b : b[1],
cx: m,
@@ -81667,38 +82276,38 @@ function m1e(e) {
}, _ && _[t] && _[t].props);
});
}
-function B3(e) {
- var t = OK(e, z3);
- return /*#__PURE__*/ b.createElement(f3, {
+function H3(e) {
+ var t = VK(e, V3);
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(QZe, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(SQe, {
type: "radialBar",
id: e,
data: void 0,
dataKey: t.dataKey,
- hide: t.hide ?? z3.hide,
- angleAxisId: t.angleAxisId ?? z3.angleAxisId,
- radiusAxisId: t.radiusAxisId ?? z3.radiusAxisId,
- stackId: XY(t.stackId),
+ hide: t.hide ?? V3.hide,
+ angleAxisId: t.angleAxisId ?? V3.angleAxisId,
+ radiusAxisId: t.radiusAxisId ?? V3.radiusAxisId,
+ stackId: lX(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ b.createElement(u1e, t), /*#__PURE__*/ b.createElement(p1e, I3({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(P1e, t), /*#__PURE__*/ b.createElement(L1e, R3({}, t, { id: e }))));
}
-B3.displayName = "RadialBar";
+H3.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var h1e = (e) => {
- var t = e.chartData, n = xq(), r = hX();
- return (0, b.useEffect)(() => r ? () => {} : (n(gqe(t)), () => {
- n(gqe(void 0));
+var z1e = (e) => {
+ var t = e.chartData, n = Pq(), r = OX();
+ return (0, b.useEffect)(() => r ? () => {} : (n(Bqe(t)), () => {
+ n(Bqe(void 0));
}), [
t,
n,
r
]), null;
-}, g1e = {
+}, B1e = {
x: 0,
y: 0,
width: 0,
@@ -81709,15 +82318,15 @@ var h1e = (e) => {
bottom: 0,
left: 0
}
-}, _1e = dY({
+}, V1e = wY({
name: "brush",
- initialState: g1e,
+ initialState: B1e,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? g1e : t.payload;
+ return t.payload == null ? B1e : t.payload;
} }
});
-_1e.actions.setBrushSettings;
-var v1e = _1e.reducer, y1e = (e, t) => {
+V1e.actions.setBrushSettings;
+var H1e = V1e.reducer, U1e = (e, t) => {
var n = e.x, r = e.y, i = t.x, a = t.y;
return {
x: Math.min(n, i),
@@ -81725,9 +82334,9 @@ var v1e = _1e.reducer, y1e = (e, t) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, b1e = (e) => {
+}, W1e = (e) => {
var t = e.x1, n = e.y1, r = e.x2, i = e.y2;
- return y1e({
+ return U1e({
x: t,
y: n
}, {
@@ -81735,13 +82344,13 @@ var v1e = _1e.reducer, y1e = (e, t) => {
y: i
});
};
-function x1e(e) {
+function G1e(e) {
return (e % 180 + 180) % 180;
}
-var S1e = function(e) {
- var t = e.width, n = e.height, r = x1e(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var K1e = function(e) {
+ var t = e.width, n = e.height, r = G1e(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
return Math.abs(a);
-}, C1e = dY({
+}, q1e = wY({
name: "referenceElements",
initialState: {
dots: [],
@@ -81753,48 +82362,48 @@ var S1e = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = ZJ(e).dots.findIndex((e) => e === t.payload);
+ var n = uY(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = ZJ(e).areas.findIndex((e) => e === t.payload);
+ var n = uY(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(eY(t.payload));
+ e.lines.push(pY(t.payload));
},
removeLine: (e, t) => {
- var n = ZJ(e).lines.findIndex((e) => e === t.payload);
+ var n = uY(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), V3 = C1e.actions;
-V3.addDot, V3.removeDot, V3.addArea, V3.removeArea;
-var w1e = V3.addLine, T1e = V3.removeLine, E1e = C1e.reducer;
+}), U3 = q1e.actions;
+U3.addDot, U3.removeDot, U3.addArea, U3.removeArea;
+var J1e = U3.addLine, Y1e = U3.removeLine, X1e = q1e.reducer;
//#endregion
//#region node_modules/recharts/es6/container/ClipPathProvider.js
-function D1e(e, t) {
- return M1e(e) || j1e(e, t) || k1e(e, t) || O1e();
+function Z1e(e, t) {
+ return n0e(e) || t0e(e, t) || $1e(e, t) || Q1e();
}
-function O1e() {
+function Q1e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function k1e(e, t) {
+function $1e(e, t) {
if (e) {
- if (typeof e == "string") return A1e(e, t);
+ if (typeof e == "string") return e0e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? A1e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? e0e(e, t) : void 0;
}
}
-function A1e(e, t) {
+function e0e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function j1e(e, t) {
+function t0e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -81815,20 +82424,20 @@ function j1e(e, t) {
return s;
}
}
-function M1e(e) {
+function n0e(e) {
if (Array.isArray(e)) return e;
}
-var N1e = /*#__PURE__*/ (0, b.createContext)(void 0), P1e = (e) => {
- var t = e.children, n = D1e((0, b.useState)(`${pG("recharts")}-clip`), 1)[0], r = b3();
+var r0e = /*#__PURE__*/ (0, b.createContext)(void 0), i0e = (e) => {
+ var t = e.children, n = Z1e((0, b.useState)(`${EG("recharts")}-clip`), 1)[0], r = S3();
if (r == null) return null;
var i = r.x, a = r.y, o = r.width, s = r.height;
- return /*#__PURE__*/ b.createElement(N1e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {
+ return /*#__PURE__*/ b.createElement(r0e.Provider, { value: n }, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: n }, /*#__PURE__*/ b.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, F1e = () => (0, b.useContext)(N1e), I1e = class {
+}, a0e = () => (0, b.useContext)(r0e), o0e = class {
constructor(e) {
var t = e.x, n = e.y;
this.xAxisScale = t, this.yAxisScale = n;
@@ -81854,7 +82463,7 @@ var N1e = /*#__PURE__*/ (0, b.createContext)(void 0), P1e = (e) => {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function L1e(e, t) {
+function s0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81864,30 +82473,30 @@ function L1e(e, t) {
}
return n;
}
-function R1e(e) {
+function c0e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? L1e(Object(n), !0).forEach(function(t) {
- z1e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L1e(Object(n)).forEach(function(t) {
+ t % 2 ? s0e(Object(n), !0).forEach(function(t) {
+ l0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function z1e(e, t, n) {
- return (t = B1e(t)) in e ? Object.defineProperty(e, t, {
+function l0e(e, t, n) {
+ return (t = u0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function B1e(e) {
- var t = V1e(e, "string");
+function u0e(e) {
+ var t = d0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function V1e(e, t) {
+function d0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -81897,27 +82506,27 @@ function V1e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function H3() {
- return H3 = Object.assign ? Object.assign.bind() : function(e) {
+function W3() {
+ return W3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, H3.apply(null, arguments);
+ }, W3.apply(null, arguments);
}
-var H1e = (e, t) => {
+var f0e = (e, t) => {
var n;
if (/*#__PURE__*/ b.isValidElement(e)) n = /*#__PURE__*/ b.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!VY(t.x1) || !VY(t.y1) || !VY(t.x2) || !VY(t.y2)) return null;
- n = /*#__PURE__*/ b.createElement("line", H3({}, t, { className: "recharts-reference-line-line" }));
+ if (!eX(t.x1) || !eX(t.y1) || !eX(t.x2) || !eX(t.y2)) return null;
+ n = /*#__PURE__*/ b.createElement("line", W3({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, U1e = (e, t, n, r, i, a) => {
+}, p0e = (e, t, n, r, i, a) => {
var o = a.x, s = a.width, c = i.map(e, { position: n });
- if (!VY(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!eX(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -81926,9 +82535,9 @@ var H1e = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, W1e = (e, t, n, r, i, a) => {
+}, m0e = (e, t, n, r, i, a) => {
var o = a.y, s = a.height, c = i.map(e, { position: n });
- if (!VY(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!eX(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -81937,7 +82546,7 @@ var H1e = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, G1e = (e, t, n, r) => {
+}, h0e = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -81946,43 +82555,43 @@ var H1e = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, K1e = (e, t, n, r, i, a, o) => {
- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = fG(s);
- return fG(c) ? U1e(c, u, r, a, t, n) : d ? W1e(s, u, r, i, e, n) : l != null && l.length === 2 ? G1e(l, u, r, new I1e({
+}, g0e = (e, t, n, r, i, a, o) => {
+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = TG(s);
+ return TG(c) ? p0e(c, u, r, a, t, n) : d ? m0e(s, u, r, i, e, n) : l != null && l.length === 2 ? h0e(l, u, r, new o0e({
x: e,
y: t
})) : null;
};
-function q1e(e) {
- var t = xq();
- return (0, b.useEffect)(() => (t(w1e(e)), () => {
- t(T1e(e));
+function _0e(e) {
+ var t = Pq();
+ return (0, b.useEffect)(() => (t(J1e(e)), () => {
+ t(Y1e(e));
})), null;
}
-function J1e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = hX(), s = F1e(), c = J((e) => U0(e, t)), l = J((e) => G0(e, n)), u = J((e) => D2(e, "xAxis", t, o)), d = J((e) => D2(e, "yAxis", n, o)), f = kX();
+function v0e(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.shape, i = e.className, a = e.ifOverflow, o = OX(), s = a0e(), c = J((e) => G0(e, t)), l = J((e) => q0(e, n)), u = J((e) => k2(e, "xAxis", t, o)), d = J((e) => k2(e, "yAxis", n, o)), f = HX();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = K1e(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = g0e(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var g = m.x, _ = m.y, v = h.x, y = h.y, x = R1e(R1e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, JW(e)), {}, {
+ var g = m.x, _ = m.y, v = h.x, y = h.y, x = c0e(c0e({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, sG(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), S = b1e({
+ }), S = W1e({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(QW, { className: Cv("recharts-reference-line", i) }, H1e(r, x), /*#__PURE__*/ b.createElement(sYe, H3({}, S, {
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: Cv("recharts-reference-line", i) }, f0e(r, x), /*#__PURE__*/ b.createElement(jYe, W3({}, S, {
lowerWidth: S.width,
upperWidth: S.width
- }), /*#__PURE__*/ b.createElement(yYe, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ b.createElement(UYe, { label: e.label }), e.children)));
}
-var Y1e = {
+var y0e = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -81992,36 +82601,36 @@ var Y1e = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: LQ.line
+ zIndex: XQ.line
};
-function X1e(e) {
- var t = OK(e, Y1e);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(q1e, {
+function b0e(e) {
+ var t = VK(e, y0e);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(_0e, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ b.createElement(J1e, t));
+ }), /*#__PURE__*/ b.createElement(v0e, t));
}
-X1e.displayName = "ReferenceLine";
+b0e.displayName = "ReferenceLine";
//#endregion
//#region node_modules/es-toolkit/dist/function/noop.mjs
-function Z1e() {}
+function x0e() {}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
-function Q1e(e) {
+function S0e(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null ? !1 : Object.prototype.toString.call(e) === "[object Object]";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
-function $1e(e, t, n) {
- return U3(e, t, void 0, void 0, void 0, void 0, n);
+function C0e(e, t, n) {
+ return G3(e, t, void 0, void 0, void 0, void 0, n);
}
-function U3(e, t, n, r, i, a, o) {
+function G3(e, t, n, r, i, a, o) {
let s = o(e, t, n, r, i, a);
if (s !== void 0) return s;
if (typeof e == typeof t) switch (typeof e) {
@@ -82032,22 +82641,22 @@ function U3(e, t, n, r, i, a, o) {
case "undefined": return e === t;
case "number": return e === t || Object.is(e, t);
case "function": return e === t;
- case "object": return W3(e, t, a, o);
+ case "object": return K3(e, t, a, o);
}
- return W3(e, t, a, o);
+ return K3(e, t, a, o);
}
-function W3(e, t, n, r) {
+function K3(e, t, n, r) {
if (Object.is(e, t)) return !0;
- let i = LK(e), a = LK(t);
- if (i === "[object Arguments]" && (i = YK), a === "[object Arguments]" && (a = YK), i !== a) return !1;
+ let i = XK(e), a = XK(t);
+ if (i === "[object Arguments]" && (i = cq), a === "[object Arguments]" && (a = cq), i !== a) return !1;
switch (i) {
- case zK: return e.toString() === t.toString();
- case BK: return uq(e.valueOf(), t.valueOf());
- case VK:
- case WK:
- case UK: return Object.is(e.valueOf(), t.valueOf());
- case RK: return e.source === t.source && e.flags === t.flags;
- case SPe: return e === t;
+ case QK: return e.toString() === t.toString();
+ case $K: return Cq(e.valueOf(), t.valueOf());
+ case eq:
+ case rq:
+ case nq: return Object.is(e.valueOf(), t.valueOf());
+ case ZK: return e.source === t.source && e.flags === t.flags;
+ case FPe: return e === t;
}
n ??= /* @__PURE__ */ new Map();
let o = n.get(e), s = n.get(t);
@@ -82055,47 +82664,47 @@ function W3(e, t, n, r) {
n.set(e, t), n.set(t, e);
try {
switch (i) {
- case GK:
+ case iq:
if (e.size !== t.size) return !1;
- for (let [i, a] of e.entries()) if (!t.has(i) || !U3(a, t.get(i), i, e, t, n, r)) return !1;
+ for (let [i, a] of e.entries()) if (!t.has(i) || !G3(a, t.get(i), i, e, t, n, r)) return !1;
return !0;
- case KK: {
+ case aq: {
if (e.size !== t.size) return !1;
let i = Array.from(e.values()), a = Array.from(t.values());
for (let o = 0; o < i.length; o++) {
- let s = i[o], c = a.findIndex((i) => U3(s, i, void 0, e, t, n, r));
+ let s = i[o], c = a.findIndex((i) => G3(s, i, void 0, e, t, n, r));
if (c === -1) return !1;
a.splice(c, 1);
}
return !0;
}
- case qK:
- case ZK:
- case QK:
- case $K:
- case eq:
- case wPe:
- case tq:
- case nq:
- case rq:
- case TPe:
- case iq:
- case aq:
- if (sq(e) !== sq(t) || e.length !== t.length) return !1;
- for (let i = 0; i < e.length; i++) if (!U3(e[i], t[i], i, e, t, n, r)) return !1;
+ case oq:
+ case uq:
+ case dq:
+ case fq:
+ case pq:
+ case LPe:
+ case mq:
+ case hq:
+ case gq:
+ case RPe:
+ case _q:
+ case vq:
+ if (bq(e) !== bq(t) || e.length !== t.length) return !1;
+ for (let i = 0; i < e.length; i++) if (!G3(e[i], t[i], i, e, t, n, r)) return !1;
return !0;
- case JK: return e.byteLength === t.byteLength && W3(new Uint8Array(e), new Uint8Array(t), n, r);
- case XK: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : W3(new Uint8Array(e), new Uint8Array(t), n, r);
- case CPe: return e.name === t.name && e.message === t.message;
- case YK: {
- if (!(W3(e.constructor, t.constructor, n, r) || Q1e(e) && Q1e(t))) return !1;
- let i = [...Object.keys(e), ...IK(e)], a = [...Object.keys(t), ...IK(t)];
+ case sq: return e.byteLength === t.byteLength && K3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case lq: return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : K3(new Uint8Array(e), new Uint8Array(t), n, r);
+ case IPe: return e.name === t.name && e.message === t.message;
+ case cq: {
+ if (!(K3(e.constructor, t.constructor, n, r) || S0e(e) && S0e(t))) return !1;
+ let i = [...Object.keys(e), ...YK(e)], a = [...Object.keys(t), ...YK(t)];
if (i.length !== a.length) return !1;
for (let a = 0; a < i.length; a++) {
let o = i[a], s = e[o];
if (!Object.hasOwn(t, o)) return !1;
let c = t[o];
- if (!U3(s, c, o, e, t, n, r)) return !1;
+ if (!G3(s, c, o, e, t, n, r)) return !1;
}
return !0;
}
@@ -82107,12 +82716,12 @@ function W3(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isEqual.mjs
-function e0e(e, t) {
- return $1e(e, t, Z1e);
+function w0e(e, t) {
+ return C0e(e, t, x0e);
}
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function t0e(e, t) {
+function T0e(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -82123,13 +82732,13 @@ function t0e(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function n0e(e, t, n) {
- return S1e({
+function E0e(e, t, n) {
+ return K1e({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function r0e(e, t, n) {
+function D0e(e, t, n) {
var r = n === "width", i = e.x, a = e.y, o = e.width, s = e.height;
return t === 1 ? {
start: r ? i : a,
@@ -82139,33 +82748,33 @@ function r0e(e, t, n) {
end: r ? i : a
};
}
-function G3(e, t, n, r, i) {
+function q3(e, t, n, r, i) {
if (e * t < e * r || e * t > e * i) return !1;
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function i0e(e, t) {
- return t0e(e, t + 1);
+function O0e(e, t) {
+ return T0e(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function a0e(e, t, n, r, i) {
+function k0e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = t.start, s = t.end, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
- if (t === void 0) return { v: t0e(r, l) };
- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || G3(e, p, f, u, s);
+ if (t === void 0) return { v: T0e(r, l) };
+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || q3(e, p, f, u, s);
m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function o0e(e, t, n, r, i) {
+function A0e(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var o = t.start, s = t.end, c = 1; c <= a; c++) {
for (var l = (a - 1) % c, u = o, d = !0, f = function() {
var t = r[m];
if (t == null) return 0;
- var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || G3(e, f, c, u, s);
+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || q3(e, f, c, u, s);
if (!p) return d = !1, 1;
p && (u = f + e * (c() / 2 + i));
}, p, m = l; m < a && (p = f(), p === 0 || p !== 1); m += c);
@@ -82181,7 +82790,7 @@ function o0e(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function s0e(e, t) {
+function j0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82191,30 +82800,30 @@ function s0e(e, t) {
}
return n;
}
-function K3(e) {
+function J3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? s0e(Object(n), !0).forEach(function(t) {
- c0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0e(Object(n)).forEach(function(t) {
+ t % 2 ? j0e(Object(n), !0).forEach(function(t) {
+ M0e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function c0e(e, t, n) {
- return (t = l0e(t)) in e ? Object.defineProperty(e, t, {
+function M0e(e, t, n) {
+ return (t = N0e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function l0e(e) {
- var t = u0e(e, "string");
+function N0e(e) {
+ var t = P0e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function u0e(e, t) {
+function P0e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82224,26 +82833,26 @@ function u0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function d0e(e, t, n, r, i) {
+function F0e(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, s = t.start, c = t.end, l = function(t) {
var r = a[t];
if (r == null) return 1;
var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);
if (t === o - 1) {
var f = e * (l.coordinate + e * d() / 2 - c);
- a[t] = l = K3(K3({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
- } else a[t] = l = K3(K3({}, l), {}, { tickCoord: l.coordinate });
- l.tickCoord != null && G3(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = K3(K3({}, l), {}, { isShow: !0 }));
+ a[t] = l = J3(J3({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
+ } else a[t] = l = J3(J3({}, l), {}, { tickCoord: l.coordinate });
+ l.tickCoord != null && q3(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = J3(J3({}, l), {}, { isShow: !0 }));
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function f0e(e, t, n, r, i, a) {
+function I0e(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, c = t.start, l = t.end;
if (a) {
var u = r[s - 1];
if (u != null) {
var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);
- o[s - 1] = u = K3(K3({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && G3(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = K3(K3({}, u), {}, { isShow: !0 }));
+ o[s - 1] = u = J3(J3({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && q3(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = J3(J3({}, u), {}, { isShow: !0 }));
}
}
for (var p = a ? s - 1 : s, m = function(t) {
@@ -82252,17 +82861,17 @@ function f0e(e, t, n, r, i, a) {
var a = r, s, u = () => (s === void 0 && (s = n(r, t)), s);
if (t === 0) {
var d = e * (a.coordinate - e * u() / 2 - c);
- o[t] = a = K3(K3({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
- } else o[t] = a = K3(K3({}, a), {}, { tickCoord: a.coordinate });
- a.tickCoord != null && G3(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = K3(K3({}, a), {}, { isShow: !0 }));
+ o[t] = a = J3(J3({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
+ } else o[t] = a = J3(J3({}, a), {}, { tickCoord: a.coordinate });
+ a.tickCoord != null && q3(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = J3(J3({}, a), {}, { isShow: !0 }));
}, h = 0; h < p; h++) if (m(h)) continue;
return o;
}
-function q3(e, t, n) {
+function Y3(e, t, n) {
var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;
if (!i || !i.length || !r) return [];
- if (dG(c) || oZ.isSsr) return i0e(i, dG(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? m4(u, {
+ if (wG(c) || yZ.isSsr) return O0e(i, wG(c) ? c : 0) ?? [];
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? g4(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -82270,19 +82879,19 @@ function q3(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? n0e(m4(i, {
+ return p === "width" ? E0e(g4(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : m4(i, {
+ }), m, d) : g4(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? cG(_.coordinate - g.coordinate) : 1, y = r0e(a, v, p);
- return c === "equidistantPreserveStart" ? a0e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? o0e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? f0e(v, y, h, i, o, c === "preserveStartEnd") : d0e(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? xG(_.coordinate - g.coordinate) : 1, y = D0e(a, v, p);
+ return c === "equidistantPreserveStart" ? k0e(v, y, h, i, o) : c === "equidistantPreserveEnd" ? A0e(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? I0e(v, y, h, i, o, c === "preserveStartEnd") : F0e(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var p0e = (e) => {
+var L0e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -82295,7 +82904,7 @@ var p0e = (e) => {
return Math.round(f);
}
return 0;
-}, m0e = (e) => {
+}, R0e = (e) => {
var t = e.ticks, n = e.label, r = e.labelGapWithTick, i = r === void 0 ? 5 : r, a = e.tickSize, o = a === void 0 ? 0 : a, s = e.tickMargin, c = s === void 0 ? 0 : s, l = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -82308,7 +82917,7 @@ var p0e = (e) => {
return Math.round(f);
}
return 0;
-}, h0e = dY({
+}, z0e = wY({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -82317,14 +82926,14 @@ var p0e = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var n = t.payload, r = n.axisType, i = n.axisId, a = n.ticks;
- e[r][i] = eY(a);
+ e[r][i] = pY(a);
},
removeRenderedTicks: (e, t) => {
var n = t.payload, r = n.axisType, i = n.axisId;
delete e[r][i];
}
}
-}), g0e = h0e.actions, _0e = g0e.setRenderedTicks, v0e = g0e.removeRenderedTicks, y0e = h0e.reducer, b0e = [
+}), B0e = z0e.actions, V0e = B0e.setRenderedTicks, H0e = B0e.removeRenderedTicks, U0e = z0e.reducer, W0e = [
"axisLine",
"width",
"height",
@@ -82334,25 +82943,25 @@ var p0e = (e) => {
"axisType",
"axisId"
];
-function x0e(e, t) {
- return E0e(e) || T0e(e, t) || C0e(e, t) || S0e();
+function G0e(e, t) {
+ return X0e(e) || Y0e(e, t) || q0e(e, t) || K0e();
}
-function S0e() {
+function K0e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function C0e(e, t) {
+function q0e(e, t) {
if (e) {
- if (typeof e == "string") return w0e(e, t);
+ if (typeof e == "string") return J0e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? w0e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? J0e(e, t) : void 0;
}
}
-function w0e(e, t) {
+function J0e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function T0e(e, t) {
+function Y0e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -82373,19 +82982,19 @@ function T0e(e, t) {
return s;
}
}
-function E0e(e) {
+function X0e(e) {
if (Array.isArray(e)) return e;
}
-function D0e(e, t) {
+function Z0e(e, t) {
if (e == null) return {};
- var n, r, i = O0e(e, t);
+ var n, r, i = Q0e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function O0e(e, t) {
+function Q0e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -82394,16 +83003,16 @@ function O0e(e, t) {
}
return n;
}
-function J3() {
- return J3 = Object.assign ? Object.assign.bind() : function(e) {
+function X3() {
+ return X3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, J3.apply(null, arguments);
+ }, X3.apply(null, arguments);
}
-function k0e(e, t) {
+function $0e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82413,30 +83022,30 @@ function k0e(e, t) {
}
return n;
}
-function Y3(e) {
+function Z3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? k0e(Object(n), !0).forEach(function(t) {
- A0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k0e(Object(n)).forEach(function(t) {
+ t % 2 ? $0e(Object(n), !0).forEach(function(t) {
+ e2e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function A0e(e, t, n) {
- return (t = j0e(t)) in e ? Object.defineProperty(e, t, {
+function e2e(e, t, n) {
+ return (t = t2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function j0e(e) {
- var t = M0e(e, "string");
+function t2e(e) {
+ var t = n2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function M0e(e, t) {
+function n2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82446,7 +83055,7 @@ function M0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var X3 = {
+var Q3 = {
x: 0,
y: 0,
width: 0,
@@ -82468,15 +83077,15 @@ var X3 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: LQ.axis
+ zIndex: XQ.axis
};
-function N0e(e) {
+function r2e(e) {
var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;
if (!s) return null;
- var l = Y3(Y3(Y3({}, c), KW(s)), {}, { fill: "none" });
+ var l = Z3(Z3(Z3({}, c), aG(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
- l = Y3(Y3({}, l), {}, {
+ l = Z3(Z3({}, l), {}, {
x1: t,
y1: n + u * i,
x2: t + r,
@@ -82484,17 +83093,17 @@ function N0e(e) {
});
} else {
var d = +(a === "left" && !o || a === "right" && o);
- l = Y3(Y3({}, l), {}, {
+ l = Z3(Z3({}, l), {}, {
x1: t + d * r,
y1: n,
x2: t + d * r,
y2: n + i
});
}
- return /*#__PURE__*/ b.createElement("line", J3({}, l, { className: Cv("recharts-cartesian-axis-line", aG(s, "className")) }));
+ return /*#__PURE__*/ b.createElement("line", X3({}, l, { className: Cv("recharts-cartesian-axis-line", vG(s, "className")) }));
}
-function P0e(e, t, n, r, i, a, o, s, c) {
- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = dG(e.tickCoord) ? e.tickCoord : e.coordinate;
+function i2e(e, t, n, r, i, a, o, s, c) {
+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = wG(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;
@@ -82520,14 +83129,14 @@ function P0e(e, t, n, r, i, a, o, s, c) {
}
};
}
-function F0e(e, t) {
+function a2e(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function I0e(e, t) {
+function o2e(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -82535,18 +83144,18 @@ function I0e(e, t) {
default: return t ? "end" : "start";
}
}
-function L0e(e) {
+function s2e(e) {
var t = e.option, n = e.tickProps, r = e.value, i, a = Cv(n.className, "recharts-cartesian-axis-tick-value");
- if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, Y3(Y3({}, n), {}, { className: a }));
- else if (typeof t == "function") i = t(Y3(Y3({}, n), {}, { className: a }));
+ if (/*#__PURE__*/ b.isValidElement(t)) i = /*#__PURE__*/ b.cloneElement(t, Z3(Z3({}, n), {}, { className: a }));
+ else if (typeof t == "function") i = t(Z3(Z3({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Cv(o, G4(t))), i = /*#__PURE__*/ b.createElement(b4, J3({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Cv(o, q4(t))), i = /*#__PURE__*/ b.createElement(S4, X3({}, n, { className: o }), r);
}
return i;
}
-function R0e(e) {
- var t = e.ticks, n = e.axisType, r = e.axisId, i = xq(), a = (0, b.useRef)(null);
+function c2e(e) {
+ var t = e.ticks, n = e.axisType, r = e.axisId, i = Pq(), a = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (r != null && n != null) {
var e = t.map((e) => ({
@@ -82555,11 +83164,11 @@ function R0e(e) {
offset: e.offset,
index: e.index
})), o = a.current;
- o != null && o.axisId === r && o.axisType === n && e0e(o.ticks, e) || (a.current = {
+ o != null && o.axisId === r && o.axisType === n && w0e(o.ticks, e) || (a.current = {
ticks: e,
axisId: r,
axisType: n
- }, i(_0e({
+ }, i(V0e({
ticks: e,
axisId: r,
axisType: n
@@ -82570,8 +83179,8 @@ function R0e(e) {
t,
r,
n
- ]), (0, b.useEffect)(() => r == null || n == null ? xG : () => {
- i(v0e({
+ ]), (0, b.useEffect)(() => r == null || n == null ? PG : () => {
+ i(H0e({
axisId: r,
axisType: n
}));
@@ -82581,17 +83190,17 @@ function R0e(e) {
n
]), null;
}
-var z0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = q3(Y3(Y3({}, S), {}, { ticks: r }), y, x), D = KW(S), O = qW(i), k = VJe(D.textAnchor) ? D.textAnchor : F0e(d, f), A = I0e(d, f), j = {};
+var l2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, x = e.letterSpacing, S = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = Y3(Z3(Z3({}, S), {}, { ticks: r }), y, x), D = aG(S), O = oG(i), k = dYe(D.textAnchor) ? D.textAnchor : a2e(d, f), A = o2e(d, f), j = {};
typeof a == "object" && (j = a);
- var M = Y3(Y3({}, D), {}, { fill: "none" }, j), N = E.map((e) => Y3({ entry: e }, P0e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
+ var M = Z3(Z3({}, D), {}, { fill: "none" }, j), N = E.map((e) => Z3({ entry: e }, i2e(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
var t = e.entry, n = e.line;
- return /*#__PURE__*/ b.createElement(QW, {
+ return /*#__PURE__*/ b.createElement(dG, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, a && /*#__PURE__*/ b.createElement("line", J3({}, M, n, { className: Cv("recharts-cartesian-axis-tick-line", aG(a, "className")) })));
+ }, a && /*#__PURE__*/ b.createElement("line", X3({}, M, n, { className: Cv("recharts-cartesian-axis-tick-line", vG(a, "className")) })));
}), ee = N.map((e, t) => {
- var n = e.entry, r = e.tick, a = Y3(Y3({}, Y3(Y3(Y3(Y3({ verticalAnchor: A }, D), {}, {
+ var n = e.entry, r = e.tick, a = Z3(Z3({}, Z3(Z3(Z3(Z3({ verticalAnchor: A }, D), {}, {
textAnchor: k,
stroke: "none",
fill: o
@@ -82602,34 +83211,34 @@ var z0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
tickFormatter: s,
padding: l
}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);
- return /*#__PURE__*/ b.createElement(QW, J3({
+ return /*#__PURE__*/ b.createElement(dG, X3({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, EK(C, n, t)), i && /*#__PURE__*/ b.createElement(L0e, {
+ }, zK(C, n, t)), i && /*#__PURE__*/ b.createElement(s2e, {
option: i,
tickProps: a,
value: `${typeof s == "function" ? s(n.value, t) : n.value}${c || ""}`
}));
});
- return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(R0e, {
+ return /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${w}-ticks` }, /*#__PURE__*/ b.createElement(c2e, {
ticks: E,
axisId: T,
axisType: w
- }), ee.length > 0 && /*#__PURE__*/ b.createElement(a4, { zIndex: LQ.label }, /*#__PURE__*/ b.createElement("g", {
+ }), ee.length > 0 && /*#__PURE__*/ b.createElement(s4, { zIndex: XQ.label }, /*#__PURE__*/ b.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${w}-tick-labels`,
ref: t
}, ee)), P.length > 0 && /*#__PURE__*/ b.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${w}-tick-lines` }, P));
-}), B0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = D0e(e, b0e), d = x0e((0, b.useState)(""), 2), f = d[0], p = d[1], m = x0e((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);
+}), u2e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.axisLine, r = e.width, i = e.height, a = e.className, o = e.hide, s = e.ticks, c = e.axisType, l = e.axisId, u = Z0e(e, W0e), d = G0e((0, b.useState)(""), 2), f = d[0], p = d[1], m = G0e((0, b.useState)(""), 2), h = m[0], g = m[1], _ = (0, b.useRef)(null);
(0, b.useImperativeHandle)(t, () => ({
- getCalculatedWidth: () => p0e({
+ getCalculatedWidth: () => L0e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
tickSize: e.tickSize,
tickMargin: e.tickMargin
}),
- getCalculatedHeight: () => m0e({
+ getCalculatedHeight: () => R0e({
ticks: _.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -82648,7 +83257,7 @@ var z0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
}
}
}, [f, h]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(a4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(QW, { className: Cv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(N0e, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ b.createElement(s4, { zIndex: e.zIndex }, /*#__PURE__*/ b.createElement(dG, { className: Cv("recharts-cartesian-axis", a) }, /*#__PURE__*/ b.createElement(r2e, {
x: e.x,
y: e.y,
width: r,
@@ -82656,8 +83265,8 @@ var z0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: KW(e)
- }), /*#__PURE__*/ b.createElement(z0e, {
+ otherSvgProps: aG(e)
+ }), /*#__PURE__*/ b.createElement(l2e, {
ref: v,
axisType: c,
events: u,
@@ -82681,37 +83290,37 @@ var z0e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ b.createElement(sYe, {
+ }), /*#__PURE__*/ b.createElement(jYe, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ b.createElement(yYe, {
+ }, /*#__PURE__*/ b.createElement(UYe, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
-}), Z3 = /*#__PURE__*/ b.forwardRef((e, t) => {
- var n = OK(e, X3);
- return /*#__PURE__*/ b.createElement(B0e, J3({}, n, { ref: t }));
+}), $3 = /*#__PURE__*/ b.forwardRef((e, t) => {
+ var n = VK(e, Q3);
+ return /*#__PURE__*/ b.createElement(u2e, X3({}, n, { ref: t }));
});
-Z3.displayName = "CartesianAxis";
+$3.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/theme/RechartsThemeContext.js
-var V0e = /*#__PURE__*/ (0, b.createContext)({ grid: {
+var d2e = /*#__PURE__*/ (0, b.createContext)({ grid: {
stroke: "#ccc",
fill: "none"
} });
-V0e.Provider;
-var H0e = () => (0, b.useContext)(V0e), U0e = [
+d2e.Provider;
+var f2e = () => (0, b.useContext)(d2e), p2e = [
"x1",
"y1",
"x2",
"y2",
"key"
-], W0e = ["offset"], G0e = ["xAxisId", "yAxisId"], K0e = ["xAxisId", "yAxisId"];
-function q0e(e, t) {
+], m2e = ["offset"], h2e = ["xAxisId", "yAxisId"], g2e = ["xAxisId", "yAxisId"];
+function _2e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -82721,30 +83330,30 @@ function q0e(e, t) {
}
return n;
}
-function Q3(e) {
+function e6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? q0e(Object(n), !0).forEach(function(t) {
- J0e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q0e(Object(n)).forEach(function(t) {
+ t % 2 ? _2e(Object(n), !0).forEach(function(t) {
+ v2e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _2e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function J0e(e, t, n) {
- return (t = Y0e(t)) in e ? Object.defineProperty(e, t, {
+function v2e(e, t, n) {
+ return (t = y2e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Y0e(e) {
- var t = X0e(e, "string");
+function y2e(e) {
+ var t = b2e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function X0e(e, t) {
+function b2e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82754,25 +83363,25 @@ function X0e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $3() {
- return $3 = Object.assign ? Object.assign.bind() : function(e) {
+function t6() {
+ return t6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, $3.apply(null, arguments);
+ }, t6.apply(null, arguments);
}
-function e6(e, t) {
+function n6(e, t) {
if (e == null) return {};
- var n, r, i = Z0e(e, t);
+ var n, r, i = x2e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Z0e(e, t) {
+function x2e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -82781,7 +83390,7 @@ function Z0e(e, t) {
}
return n;
}
-var Q0e = (e) => {
+var S2e = (e) => {
var t = e.fill;
if (!t || t === "none") return null;
var n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.ry;
@@ -82797,15 +83406,15 @@ var Q0e = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function $0e(e) {
+function C2e(e) {
var t = e.option, n = e.lineItemProps, r;
if (/*#__PURE__*/ b.isValidElement(t)) r = /*#__PURE__*/ b.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = KW(e6(n, U0e)) ?? {};
+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = aG(n6(n, p2e)) ?? {};
l.offset;
- var u = e6(l, W0e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
- r = /*#__PURE__*/ b.createElement("line", $3({}, u, {
+ var u = n6(l, m2e), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
+ r = /*#__PURE__*/ b.createElement("line", t6({}, u, {
strokeDasharray: d,
x1: i,
y1: a,
@@ -82817,12 +83426,12 @@ function $0e(e) {
}
return r;
}
-function e2e(e) {
+function w2e(e) {
var t = e.x, n = e.width, r = e.horizontal, i = r === void 0 || r, a = e.horizontalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = e6(e, G0e), s = a.map((e, r) => {
- var a = Q3(Q3({}, o), {}, {
+ var o = n6(e, h2e), s = a.map((e, r) => {
+ var a = e6(e6({}, o), {}, {
x1: t,
y1: e,
x2: t + n,
@@ -82830,7 +83439,7 @@ function e2e(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ b.createElement($0e, {
+ return /*#__PURE__*/ b.createElement(C2e, {
key: `line-${r}`,
option: i,
lineItemProps: a
@@ -82838,12 +83447,12 @@ function e2e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, s);
}
-function t2e(e) {
+function T2e(e) {
var t = e.y, n = e.height, r = e.vertical, i = r === void 0 || r, a = e.verticalPoints;
if (!i || !a || !a.length) return null;
e.xAxisId, e.yAxisId;
- var o = e6(e, K0e), s = a.map((e, r) => {
- var a = Q3(Q3({}, o), {}, {
+ var o = n6(e, g2e), s = a.map((e, r) => {
+ var a = e6(e6({}, o), {}, {
x1: e,
y1: t,
x2: e,
@@ -82851,7 +83460,7 @@ function t2e(e) {
key: `line-${r}`,
index: r
});
- return /*#__PURE__*/ b.createElement($0e, {
+ return /*#__PURE__*/ b.createElement(C2e, {
option: i,
lineItemProps: a,
key: `line-${r}`
@@ -82859,7 +83468,7 @@ function t2e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid-vertical" }, s);
}
-function n2e(e) {
+function E2e(e) {
var t = e.horizontalFill, n = e.fillOpacity, r = e.x, i = e.y, a = e.width, o = e.height, s = e.horizontalPoints, c = e.horizontal;
if (!(c === void 0 || c) || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -82882,7 +83491,7 @@ function n2e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function r2e(e) {
+function D2e(e) {
var t = e.vertical, n = t === void 0 || t, r = e.verticalFill, i = e.fillOpacity, a = e.x, o = e.y, s = e.width, c = e.height, l = e.verticalPoints;
if (!n || !r || !r.length) return null;
var u = l.map((e) => Math.round(e + a - a)).sort((e, t) => e - t);
@@ -82905,10 +83514,10 @@ function r2e(e) {
});
return /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, d);
}
-var i2e = (e, t) => {
+var O2e = (e, t) => {
var n = e.xAxis, r = e.width, i = e.height, a = e.offset;
- return qY(q3(Q3(Q3(Q3({}, X3), n), {}, {
- ticks: JY(n, !0),
+ return oX(Y3(e6(e6(e6({}, Q3), n), {}, {
+ ticks: sX(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -82916,10 +83525,10 @@ var i2e = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, a2e = (e, t) => {
+}, k2e = (e, t) => {
var n = e.yAxis, r = e.width, i = e.height, a = e.offset;
- return qY(q3(Q3(Q3(Q3({}, X3), n), {}, {
- ticks: JY(n, !0),
+ return oX(Y3(e6(e6(e6({}, Q3), n), {}, {
+ ticks: sX(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -82927,7 +83536,7 @@ var i2e = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, o2e = {
+}, A2e = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -82937,41 +83546,41 @@ var i2e = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: LQ.grid
+ zIndex: XQ.grid
};
-function s2e(e) {
- var t = jX(), n = MX(), r = AX(), i = Q3(Q3({}, OK(e, o2e)), {}, {
- x: dG(e.x) ? e.x : r.left,
- y: dG(e.y) ? e.y : r.top,
- width: dG(e.width) ? e.width : r.width,
- height: dG(e.height) ? e.height : r.height
- }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = hX(), h = J((e) => XWe(e, "xAxis", a, m)), g = J((e) => XWe(e, "yAxis", o, m)), _ = H0e(), v = {
+function j2e(e) {
+ var t = WX(), n = GX(), r = UX(), i = e6(e6({}, VK(e, A2e)), {}, {
+ x: wG(e.x) ? e.x : r.left,
+ y: wG(e.y) ? e.y : r.top,
+ width: wG(e.width) ? e.width : r.width,
+ height: wG(e.height) ? e.height : r.height
+ }), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = OX(), h = J((e) => bGe(e, "xAxis", a, m)), g = J((e) => bGe(e, "yAxis", o, m)), _ = f2e(), v = {
stroke: i.stroke ?? _.grid.stroke,
strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,
strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,
strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray
};
- if (!HY(l) || !HY(u) || !dG(s) || !dG(c)) return null;
- var y = i.verticalCoordinatesGenerator || i2e, x = i.horizontalCoordinatesGenerator || a2e, S = i.horizontalPoints, C = i.verticalPoints;
+ if (!tX(l) || !tX(u) || !wG(s) || !wG(c)) return null;
+ var y = i.verticalCoordinatesGenerator || O2e, x = i.horizontalCoordinatesGenerator || k2e, S = i.horizontalPoints, C = i.verticalPoints;
if ((!S || !S.length) && typeof x == "function") {
var w = f && f.length, T = x({
- yAxis: g ? Q3(Q3({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,
+ yAxis: g ? e6(e6({}, g), {}, { ticks: w ? f : g.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, w ? !0 : d);
- vX(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);
+ jX(Array.isArray(T), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof T}]`), Array.isArray(T) && (S = T);
}
if ((!C || !C.length) && typeof y == "function") {
var E = p && p.length, D = y({
- xAxis: h ? Q3(Q3({}, h), {}, { ticks: E ? p : h.ticks }) : void 0,
+ xAxis: h ? e6(e6({}, h), {}, { ticks: E ? p : h.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, E ? !0 : d);
- vX(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
+ jX(Array.isArray(D), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof D}]`), Array.isArray(D) && (C = D);
}
- return /*#__PURE__*/ b.createElement(a4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(Q0e, {
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: i.zIndex }, /*#__PURE__*/ b.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ b.createElement(S2e, {
fill: i.fill ?? _.grid.fill,
fillOpacity: i.fillOpacity ?? _.grid.fillOpacity,
x: i.x,
@@ -82979,22 +83588,22 @@ function s2e(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ b.createElement(n2e, $3({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(r2e, $3({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(e2e, $3({}, i, v, {
+ }), /*#__PURE__*/ b.createElement(E2e, t6({}, i, { horizontalPoints: S })), /*#__PURE__*/ b.createElement(D2e, t6({}, i, { verticalPoints: C })), /*#__PURE__*/ b.createElement(w2e, t6({}, i, v, {
offset: r,
horizontalPoints: S,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ b.createElement(t2e, $3({}, i, v, {
+ })), /*#__PURE__*/ b.createElement(T2e, t6({}, i, v, {
offset: r,
verticalPoints: C,
xAxis: h,
yAxis: g
}))));
}
-s2e.displayName = "CartesianGrid";
+j2e.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/cartesian/LineDrawShape.js
-var c2e = [
+var M2e = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -83002,25 +83611,25 @@ var c2e = [
"strokeDasharray",
"connectNulls"
];
-function t6() {
- return t6 = Object.assign ? Object.assign.bind() : function(e) {
+function r6() {
+ return r6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, t6.apply(null, arguments);
+ }, r6.apply(null, arguments);
}
-function l2e(e, t) {
+function N2e(e, t) {
if (e == null) return {};
- var n, r, i = u2e(e, t);
+ var n, r, i = P2e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function u2e(e, t) {
+function P2e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83029,26 +83638,26 @@ function u2e(e, t) {
}
return n;
}
-function d2e(e) {
+function F2e(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function f2e(e, t) {
+function I2e(e, t) {
return `${t}px ${e}px`;
}
-function p2e(e) {
+function L2e(e) {
return e.length % 2 == 0 ? e : [...e, ...e];
}
-function m2e(e, t) {
+function R2e(e, t) {
for (var n = [], r = 0; r < t; ++r) n.push(...e);
return n;
}
-function h2e(e, t, n) {
- var r = p2e(n), i = r.reduce((e, t) => e + t, 0);
- if (!i) return f2e(t, e);
+function z2e(e, t, n) {
+ var r = L2e(n), i = r.reduce((e, t) => e + t, 0);
+ if (!i) return I2e(t, e);
for (var a = Math.floor(e / i), o = e % i, s = [], c = 0, l = 0; c < r.length; l += (u = r[c]) ?? 0, ++c) {
var u, d = r[c];
if (d != null && l + d > o) {
@@ -83058,39 +83667,39 @@ function h2e(e, t, n) {
}
var f = s.length % 2 == 0 ? [0, t] : [t];
return [
- ...m2e(r, a),
+ ...R2e(r, a),
...s,
...f
].map((e) => `${e}px`).join(", ");
}
-function g2e(e, t, n) {
- return e ? h2e(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : f2e(t, n);
+function B2e(e, t, n) {
+ return e ? z2e(n, t, `${e}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : I2e(t, n);
}
-function _2e(e) {
+function V2e(e) {
e.animationElapsedTime, e.isAnimating, e.isEntrance;
- var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = l2e(e, c2e), a = r ?? !1, o;
+ var t = e.visibleLength, n = e.strokeDasharray, r = e.connectNulls, i = N2e(e, M2e), a = r ?? !1, o;
if (t != null) {
var s = i.pathRef;
- o = g2e(n, d2e(s?.current ?? null), t);
+ o = B2e(n, F2e(s?.current ?? null), t);
} else n != null && (o = String(n));
- return /*#__PURE__*/ b.createElement(SZ, t6({}, i, {
+ return /*#__PURE__*/ b.createElement(FZ, r6({}, i, {
connectNulls: a,
strokeDasharray: o
}));
}
//#endregion
//#region node_modules/recharts/es6/cartesian/useAnimatedLineLength.js
-function v2e(e) {
+function H2e(e) {
var t = (0, b.useRef)(0), n = (0, b.useRef)(0), r = (0, b.useRef)(!1), i = (0, b.useRef)(e);
return i.current !== e && (t.current = n.current, i.current = e), (0, b.useCallback)((e, i) => {
if (r.current) return null;
- var a = Math.min(oG(t.current + e * i), i);
+ var a = Math.min(yG(t.current + e * i), i);
return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;
}, []);
}
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var y2e = dY({
+var U2e = wY({
name: "errorBars",
initialState: {},
reducers: {
@@ -83107,19 +83716,19 @@ var y2e = dY({
e[r] && (e[r] = e[r].filter((e) => e.dataKey !== i.dataKey || e.direction !== i.direction));
}
}
-}), n6 = y2e.actions;
-n6.addErrorBar, n6.replaceErrorBar, n6.removeErrorBar;
-var b2e = y2e.reducer, x2e = ["children"];
-function S2e(e, t) {
+}), i6 = U2e.actions;
+i6.addErrorBar, i6.replaceErrorBar, i6.removeErrorBar;
+var W2e = U2e.reducer, G2e = ["children"];
+function K2e(e, t) {
if (e == null) return {};
- var n, r, i = C2e(e, t);
+ var n, r, i = q2e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function C2e(e, t) {
+function q2e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83128,7 +83737,7 @@ function C2e(e, t) {
}
return n;
}
-var w2e = /*#__PURE__*/ (0, b.createContext)({
+var J2e = /*#__PURE__*/ (0, b.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -83139,22 +83748,22 @@ var w2e = /*#__PURE__*/ (0, b.createContext)({
}),
errorBarOffset: 0
});
-function T2e(e) {
- var t = e.children, n = S2e(e, x2e);
- return /*#__PURE__*/ b.createElement(w2e.Provider, { value: n }, t);
+function Y2e(e) {
+ var t = e.children, n = K2e(e, G2e);
+ return /*#__PURE__*/ b.createElement(J2e.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
-function r6(e, t) {
- var n = J((t) => U0(t, e)), r = J((e) => G0(e, t)), i = n?.allowDataOverflow ?? H0.allowDataOverflow, a = r?.allowDataOverflow ?? W0.allowDataOverflow;
+function a6(e, t) {
+ var n = J((t) => G0(t, e)), r = J((e) => q0(e, t)), i = n?.allowDataOverflow ?? W0.allowDataOverflow, a = r?.allowDataOverflow ?? K0.allowDataOverflow;
return {
needClip: i || a,
needClipX: i,
needClipY: a
};
}
-function i6(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = b3(), a = r6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => MWe(e, t, !1)), u = J((e) => NWe(e, n, !1));
+function o6(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.clipPathId, i = S3(), a = a6(t, n), o = a.needClipX, s = a.needClipY, c = a.needClip, l = J((e) => nGe(e, t, !1)), u = J((e) => rGe(e, n, !1));
if (!c || !i) return null;
var d = i.x, f = i.y, p = i.width, m = i.height, h = o && l ? Math.min(l[0], l[1]) : d - p / 2, g = s && u ? Math.min(u[0], u[1]) : f - m / 2, _ = o && l ? Math.abs(l[1] - l[0]) : p * 2, v = s && u ? Math.abs(u[1] - u[0]) : m * 2;
return /*#__PURE__*/ b.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ b.createElement("rect", {
@@ -83166,30 +83775,30 @@ function i6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var E2e = (e, t, n, r) => M2(e, "xAxis", t, r), D2e = (e, t, n, r) => j2(e, "xAxis", t, r), O2e = (e, t, n, r) => M2(e, "yAxis", n, r), k2e = (e, t, n, r) => j2(e, "yAxis", n, r), A2e = Y([
- NX,
- E2e,
- O2e,
- D2e,
- k2e
-], (e, t, n, r, i) => KY(e, "xAxis") ? nX(t, r, !1) : nX(n, i, !1)), j2e = (e, t, n, r, i) => i;
-function M2e(e) {
+var X2e = (e, t, n, r) => P2(e, "xAxis", t, r), Z2e = (e, t, n, r) => N2(e, "xAxis", t, r), Q2e = (e, t, n, r) => P2(e, "yAxis", n, r), $2e = (e, t, n, r) => N2(e, "yAxis", n, r), e4e = Y([
+ KX,
+ X2e,
+ Q2e,
+ Z2e,
+ $2e
+], (e, t, n, r, i) => aX(e, "xAxis") ? hX(t, r, !1) : hX(n, i, !1)), t4e = (e, t, n, r, i) => i;
+function n4e(e) {
return e.type === "line";
}
-var N2e = Y([
- NX,
- E2e,
- O2e,
- D2e,
- k2e,
- Y([X0, j2e], (e, t) => e.filter(M2e).find((e) => e.id === t)),
- A2e,
- lQ
+var r4e = Y([
+ KX,
+ X2e,
+ Q2e,
+ Z2e,
+ $2e,
+ Y([Q0, t4e], (e, t) => e.filter(n4e).find((e) => e.id === t)),
+ e4e,
+ SQ
], (e, t, n, r, i, a, o, s) => {
var c = s.chartData, l = s.dataStartIndex, u = s.dataEndIndex;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var d = a.dataKey, f = a.data, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return t4e({
+ if (p != null) return T4e({
layout: e,
xAxis: t,
yAxis: n,
@@ -83203,8 +83812,8 @@ var N2e = Y([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function P2e(e) {
- var t = qW(e), n = 3, r = 2;
+function i4e(e) {
+ var t = oG(e), n = 3, r = 2;
if (t != null) {
var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -83219,14 +83828,14 @@ function P2e(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var F2e = ["id"], I2e = [
+var a4e = ["id"], o4e = [
"type",
"layout",
"connectNulls",
"needClip",
"shape",
"strokeDasharray"
-], L2e = [
+], s4e = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -83242,25 +83851,25 @@ var F2e = ["id"], I2e = [
"yAxisId",
"id"
];
-function a6() {
- return a6 = Object.assign ? Object.assign.bind() : function(e) {
+function s6() {
+ return s6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, a6.apply(null, arguments);
+ }, s6.apply(null, arguments);
}
-function o6(e, t) {
+function c6(e, t) {
if (e == null) return {};
- var n, r, i = R2e(e, t);
+ var n, r, i = c4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function R2e(e, t) {
+function c4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83269,7 +83878,7 @@ function R2e(e, t) {
}
return n;
}
-function z2e(e, t) {
+function l4e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83279,30 +83888,30 @@ function z2e(e, t) {
}
return n;
}
-function s6(e) {
+function l6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? z2e(Object(n), !0).forEach(function(t) {
- B2e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z2e(Object(n)).forEach(function(t) {
+ t % 2 ? l4e(Object(n), !0).forEach(function(t) {
+ u4e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l4e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function B2e(e, t, n) {
- return (t = V2e(t)) in e ? Object.defineProperty(e, t, {
+function u4e(e, t, n) {
+ return (t = d4e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function V2e(e) {
- var t = H2e(e, "string");
+function d4e(e) {
+ var t = f4e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function H2e(e, t) {
+function f4e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83312,19 +83921,19 @@ function H2e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function U2e(e) {
+function p4e(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function W2e(e) {
+function m4e(e) {
var t = 0, n = 0;
for (var r of e) r.status === "matched" && r.prev.x != null && r.next.x != null && (t += r.next.x - r.prev.x, n++);
return n > 0 ? t / n : 0;
}
-var c6 = {
+var u6 = {
activeDot: !0,
animateNewValues: !0,
animationBegin: 0,
@@ -83333,29 +83942,29 @@ var c6 = {
animationInterpolateFn: (e, t) => {
if (e == null) return [];
if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);
- var n = W2e(e), r = [];
- for (var i of e) if (i.status === "matched") r.push(s6(s6({}, i.next), {}, {
- x: gG(i.prev.x, i.next.x, t),
- y: gG(i.prev.y, i.next.y, t)
+ var n = m4e(e), r = [];
+ for (var i of e) if (i.status === "matched") r.push(l6(l6({}, i.next), {}, {
+ x: kG(i.prev.x, i.next.x, t),
+ y: kG(i.prev.y, i.next.y, t)
}));
else if (i.status === "added") {
if (i.next.x != null) {
var a = i.next.x - n;
- r.push(s6(s6({}, i.next), {}, {
- x: gG(a, i.next.x, t),
+ r.push(l6(l6({}, i.next), {}, {
+ x: kG(a, i.next.x, t),
y: i.next.y
}));
} else r.push(i.next);
} else if (i.status === "removed" && i.prev.x != null) {
var o = i.prev.x + n;
- r.push(s6(s6({}, i.prev), {}, {
- x: gG(i.prev.x, o, t),
+ r.push(l6(l6({}, i.prev), {}, {
+ x: kG(i.prev.x, o, t),
y: i.prev.y
}));
}
return r;
},
- animationMatchBy: o3,
+ animationMatchBy: c3,
connectNulls: !1,
dot: !0,
fill: "#fff",
@@ -83363,34 +83972,34 @@ var c6 = {
isAnimationActive: "auto",
label: !1,
legendType: "line",
- shape: _2e,
+ shape: V2e,
stroke: "#3182bd",
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: LQ.line,
+ zIndex: XQ.line,
type: "linear"
-}, G2e = (e) => {
+}, h4e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: i,
color: r,
- value: iX(n, t),
+ value: _X(n, t),
payload: e
}];
-}, K2e = /*#__PURE__*/ b.memo((e) => {
+}, g4e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: xG,
+ getPosition: PG,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: iX(o, t),
+ name: _X(o, t),
hide: s,
type: u,
color: r,
@@ -83399,13 +84008,13 @@ var c6 = {
graphicalItemId: d
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: f });
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: f });
});
-function q2e(e) {
+function _4e(e) {
var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;
r.id;
- var s = KW(o6(r, F2e));
- return /*#__PURE__*/ b.createElement(_3, {
+ var s = aG(c6(r, a4e));
+ return /*#__PURE__*/ b.createElement(y3, {
points: n,
dot: i,
className: "recharts-line-dots",
@@ -83416,7 +84025,7 @@ function q2e(e) {
clipPathId: t
});
}
-function J2e(e) {
+function v4e(e) {
var t = e.showLabels, n = e.children, r = e.points, i = (0, b.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -83426,7 +84035,7 @@ function J2e(e) {
upperWidth: 0,
height: 0
};
- return s6(s6({}, t), {}, {
+ return l6(l6({}, t), {}, {
value: e.value,
payload: e.payload,
viewBox: t,
@@ -83434,10 +84043,10 @@ function J2e(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ b.createElement(D4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ b.createElement(k4, { value: t ? i : void 0 }, n);
}
-function Y2e(e) {
- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = s6(s6({}, JW(o6(i, I2e))), {}, {
+function y4e(e) {
+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = l6(l6({}, sG(c6(i, o4e))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: f ? `url(#clipPath-${t})` : void 0,
@@ -83452,22 +84061,22 @@ function Y2e(e) {
isEntrance: i.animateNewValues ? s : !1,
visibleLength: c
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, r?.length > 1 && /*#__PURE__*/ b.createElement(e3, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, r?.length > 1 && /*#__PURE__*/ b.createElement(n3, {
option: p,
- DefaultShape: c6.shape,
+ DefaultShape: u6.shape,
shapeProps: h
- }), /*#__PURE__*/ b.createElement(q2e, {
+ }), /*#__PURE__*/ b.createElement(_4e, {
points: r,
clipPathId: t,
props: i
}));
}
-function X2e(e) {
- var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = U2e(r.current), m = u3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = v2e(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);
- return /*#__PURE__*/ b.createElement(J2e, {
+function b4e(e) {
+ var t = e.clipPathId, n = e.props, r = e.pathRef, i = e.previousPointsRef, a = n.points, o = n.isAnimationActive, s = n.animationBegin, c = n.animationDuration, l = n.animationEasing, u = n.animationMatchBy, d = n.animationInterpolateFn, f = n.layout, p = p4e(r.current), m = f3(n.onAnimationStart, n.onAnimationEnd), h = m.isAnimating, g = m.handleAnimationStart, _ = m.handleAnimationEnd, v = !h, y = H2e(a), x = (0, b.useCallback)((e) => e > 0 && p > 0, [p]);
+ return /*#__PURE__*/ b.createElement(v4e, {
points: a,
showLabels: v
- }, n.children, /*#__PURE__*/ b.createElement(d3, {
+ }, n.children, /*#__PURE__*/ b.createElement(p3, {
animationInput: a,
animationIdPrefix: "recharts-line-",
items: a,
@@ -83484,7 +84093,7 @@ function X2e(e) {
layout: f
}, (e, i, a) => {
var o = h || i < 1, s = o ? y(i, p) : null;
- return /*#__PURE__*/ b.createElement(Y2e, {
+ return /*#__PURE__*/ b.createElement(y4e, {
props: n,
points: e,
clipPathId: t,
@@ -83494,28 +84103,28 @@ function X2e(e) {
isEntrance: a,
visibleLength: s
});
- }), /*#__PURE__*/ b.createElement(k4, { label: n.label }));
+ }), /*#__PURE__*/ b.createElement(j4, { label: n.label }));
}
-function Z2e(e) {
+function x4e(e) {
var t = e.clipPathId, n = e.props, r = (0, b.useRef)(null), i = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(X2e, {
+ return /*#__PURE__*/ b.createElement(b4e, {
props: n,
clipPathId: t,
previousPointsRef: r,
pathRef: i
});
}
-var Q2e = (e, t) => ({
+var S4e = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: GY(e.payload, t)
-}), $2e = class extends b.Component {
+ errorVal: iX(e.payload, t)
+}), C4e = class extends b.Component {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;
if (t) return null;
- var m = Cv("recharts-line", i), h = d, g = P2e(n), _ = g.r, v = g.strokeWidth, y = $4(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: p }, /*#__PURE__*/ b.createElement(QW, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ var m = Cv("recharts-line", i), h = d, g = i4e(n), _ = g.r, v = g.strokeWidth, y = t3(n), x = _ * 2 + v, S = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: p }, /*#__PURE__*/ b.createElement(dG, { className: m }, f && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(o6, {
clipPathId: h,
xAxisId: a,
yAxisId: o
@@ -83524,16 +84133,16 @@ var Q2e = (e, t) => ({
y: s - x / 2,
width: l + x,
height: u + x
- }))), /*#__PURE__*/ b.createElement(T2e, {
+ }))), /*#__PURE__*/ b.createElement(Y2e, {
xAxisId: a,
yAxisId: o,
data: r,
- dataPointFormatter: Q2e,
+ dataPointFormatter: S4e,
errorBarOffset: 0
- }, /*#__PURE__*/ b.createElement(Z2e, {
+ }, /*#__PURE__*/ b.createElement(x4e, {
props: this.props,
clipPathId: h
- }))), /*#__PURE__*/ b.createElement(S3, {
+ }))), /*#__PURE__*/ b.createElement(w3, {
activeDot: this.props.activeDot,
points: r,
mainColor: this.props.stroke,
@@ -83542,11 +84151,11 @@ var Q2e = (e, t) => ({
}));
}
};
-function e4e(e) {
- var t = OK(e, c6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = o6(t, L2e), _ = r6(p, m).needClip, v = b3(), y = PX(), x = hX(), S = J((e) => N2e(e, p, m, x, h));
+function w4e(e) {
+ var t = VK(e, u6), n = t.activeDot, r = t.animateNewValues, i = t.animationBegin, a = t.animationDuration, o = t.animationEasing, s = t.connectNulls, c = t.dot, l = t.hide, u = t.isAnimationActive, d = t.label, f = t.legendType, p = t.xAxisId, m = t.yAxisId, h = t.id, g = c6(t, s4e), _ = a6(p, m).needClip, v = S3(), y = qX(), x = OX(), S = J((e) => r4e(e, p, m, x, h));
if (y !== "horizontal" && y !== "vertical" || S == null || v == null) return null;
var C = v.height, w = v.width, T = v.x, E = v.y;
- return /*#__PURE__*/ b.createElement($2e, a6({}, g, {
+ return /*#__PURE__*/ b.createElement(C4e, s6({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -83570,23 +84179,23 @@ function e4e(e) {
needClip: _
}));
}
-function t4e(e) {
+function T4e(e) {
var t = e.layout, n = e.xAxis, r = e.yAxis, i = e.xAxisTicks, a = e.yAxisTicks, o = e.dataKey, s = e.bandSize;
return e.displayedData.map((e, c) => {
- var l = GY(e, o);
+ var l = iX(e, o);
if (t === "horizontal") return {
- x: ZY({
+ x: uX({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (vG(l) ? null : r.scale.map(l)) ?? null,
+ y: (jG(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = vG(l) ? null : n.scale.map(l), d = ZY({
+ var u = jG(l) ? null : n.scale.map(l), d = uX({
axis: r,
ticks: a,
bandSize: s,
@@ -83601,12 +84210,12 @@ function t4e(e) {
};
}).filter(Boolean);
}
-function n4e(e) {
- var t = OK(e, c6), n = hX();
- return /*#__PURE__*/ b.createElement(f3, {
+function E4e(e) {
+ var t = VK(e, u6), n = OX();
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: G2e(t) }), /*#__PURE__*/ b.createElement(K2e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(s3, { legendPayload: h4e(t) }), /*#__PURE__*/ b.createElement(g4e, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -83618,7 +84227,7 @@ function n4e(e) {
formatter: t.formatter,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(m3, {
+ }), /*#__PURE__*/ b.createElement(g3, {
type: "line",
id: e,
data: t.data,
@@ -83628,56 +84237,56 @@ function n4e(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ b.createElement(e4e, a6({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(w4e, s6({}, t, { id: e }))));
}
-var r4e = /*#__PURE__*/ b.memo(n4e, qX);
-r4e.displayName = "Line";
+var D4e = /*#__PURE__*/ b.memo(E4e, oZ);
+D4e.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
-function l6(e, t) {
+function d6(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;
}
-function u6(e, t) {
+function f6(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var i4e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), a4e = (e, t, n) => j2(e, "xAxis", l6(e, t), n), o4e = (e, t, n) => M2(e, "yAxis", u6(e, t), n), s4e = (e, t, n) => j2(e, "yAxis", u6(e, t), n), c4e = Y([
- NX,
- i4e,
- o4e,
- a4e,
- s4e
-], (e, t, n, r, i) => KY(e, "xAxis") ? nX(t, r, !1) : nX(n, i, !1)), d6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), l4e = (e) => KY(NX(e), "xAxis") ? "yAxis" : "xAxis", u4e = (e, t) => l4e(e) === "yAxis" ? u6(e, t) : l6(e, t), d4e = (e, t, n) => c2(e, l4e(e), u4e(e, t), n), f4e = Y([
- NX,
- i4e,
- o4e,
- a4e,
- s4e,
- Y([d6, d4e], (e, t) => {
+var O4e = (e, t, n) => P2(e, "xAxis", d6(e, t), n), k4e = (e, t, n) => N2(e, "xAxis", d6(e, t), n), A4e = (e, t, n) => P2(e, "yAxis", f6(e, t), n), j4e = (e, t, n) => N2(e, "yAxis", f6(e, t), n), M4e = Y([
+ KX,
+ O4e,
+ A4e,
+ k4e,
+ j4e
+], (e, t, n, r, i) => aX(e, "xAxis") ? hX(t, r, !1) : hX(n, i, !1)), p6 = Y([Q0, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), N4e = (e) => aX(KX(e), "xAxis") ? "yAxis" : "xAxis", P4e = (e, t) => N4e(e) === "yAxis" ? f6(e, t) : d6(e, t), F4e = (e, t, n) => u2(e, N4e(e), P4e(e, t), n), I4e = Y([
+ KX,
+ O4e,
+ A4e,
+ k4e,
+ j4e,
+ Y([p6, F4e], (e, t) => {
if (e != null && t != null) {
- var n = e.stackId, r = r$(e);
+ var n = e.stackId, r = g$(e);
if (n != null && r != null) {
var i = (t[n]?.stackedData)?.find((e) => e.key === r);
if (i != null) return i.map((e) => [e[0], e[1]]);
}
}
}),
- uQ,
- c4e,
- d6,
- lBe,
- Y([d6, d4e], (e, t) => {
+ CQ,
+ M4e,
+ p6,
+ SBe,
+ Y([p6, F4e], (e, t) => {
if (e != null && e.stackId != null && t != null) {
var n = t[e.stackId];
- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(bG);
+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(NG);
}
})
], (e, t, n, r, i, a, o, s, c, l, u) => {
var d = o.chartData, f = o.dataStartIndex, p = o.dataEndIndex;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var m = c.data, h = m && m.length > 0 ? m : d?.slice(f, p + 1);
- if (h != null) return V4e({
+ if (h != null) return d3e({
layout: e,
xAxis: t,
yAxis: n,
@@ -83692,7 +84301,7 @@ var i4e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), a4e = (e, t, n) => j2(e, "xA
stackDataKeys: u
});
}
-}), p4e = [
+}), L4e = [
"animationElapsedTime",
"isAnimating",
"isEntrance",
@@ -83700,26 +84309,26 @@ var i4e = (e, t, n) => M2(e, "xAxis", l6(e, t), n), a4e = (e, t, n) => j2(e, "xA
"isRange",
"stroke",
"connectNulls"
-], m4e = ["id", "baseLine"];
-function f6() {
- return f6 = Object.assign ? Object.assign.bind() : function(e) {
+], R4e = ["id", "baseLine"];
+function m6() {
+ return m6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, f6.apply(null, arguments);
+ }, m6.apply(null, arguments);
}
-function h4e(e, t) {
+function z4e(e, t) {
if (e == null) return {};
- var n, r, i = g4e(e, t);
+ var n, r, i = B4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function g4e(e, t) {
+function B4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83728,51 +84337,51 @@ function g4e(e, t) {
}
return n;
}
-function _4e(e) {
+function V4e(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!VY(a) || !VY(o)) return null;
+ if (!eX(a) || !eX(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
- return dG(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), dG(c) ? /*#__PURE__*/ b.createElement("rect", {
+ return wG(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), wG(c) ? /*#__PURE__*/ b.createElement("rect", {
x: a < o ? a : a - s,
y: 0,
width: s,
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function v4e(e) {
+function H4e(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!VY(a) || !VY(o)) return null;
+ if (!eX(a) || !eX(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
- return dG(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), dG(c) ? /*#__PURE__*/ b.createElement("rect", {
+ return wG(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), wG(c) ? /*#__PURE__*/ b.createElement("rect", {
x: 0,
y: a < o ? a : a - s,
width: c + (i ? parseInt(`${i}`, 10) : 1),
height: Math.floor(s)
}) : null;
}
-function y4e(e) {
+function U4e(e) {
var t = e.alpha, n = e.layout, r = e.points, i = e.baseLine, a = e.strokeWidth;
- return n === "vertical" ? /*#__PURE__*/ b.createElement(v4e, {
+ return n === "vertical" ? /*#__PURE__*/ b.createElement(H4e, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ b.createElement(_4e, {
+ }) : /*#__PURE__*/ b.createElement(V4e, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function b4e(e) {
- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = h4e(e, p4e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = VZe(), h = d.id, g = d.baseLine, _ = KW(h4e(d, m4e)), v = /*#__PURE__*/ b.createElement(SZ, f6({}, d, {
+function W4e(e) {
+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = z4e(e, L4e), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = dQe(), h = d.id, g = d.baseLine, _ = aG(z4e(d, R4e)), v = /*#__PURE__*/ b.createElement(FZ, m6({}, d, {
id: h,
baseLine: g,
connectNulls: p,
stroke: "none",
className: "recharts-area-area",
layout: f
- })), y = l !== "none" && /*#__PURE__*/ b.createElement(SZ, f6({}, _, {
+ })), y = l !== "none" && /*#__PURE__*/ b.createElement(FZ, m6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -83780,7 +84389,7 @@ function b4e(e) {
fill: "none",
stroke: l,
points: d.points
- })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(SZ, f6({}, _, {
+ })), x = l !== "none" && c && Array.isArray(g) && /*#__PURE__*/ b.createElement(FZ, m6({}, _, {
className: "recharts-area-curve",
layout: f,
type: d.type,
@@ -83789,17 +84398,17 @@ function b4e(e) {
stroke: l,
points: g
}));
- return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(QW, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(y4e, {
+ return o && (i || n < 1) ? /*#__PURE__*/ b.createElement(dG, null, /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement("clipPath", { id: m }, /*#__PURE__*/ b.createElement(U4e, {
alpha: n,
points: d.points ?? [],
baseLine: g,
layout: f,
strokeWidth: d.strokeWidth
- }))), /*#__PURE__*/ b.createElement(QW, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);
+ }))), /*#__PURE__*/ b.createElement(dG, { clipPath: `url(#${m})` }, v, y, x)) : /*#__PURE__*/ b.createElement(b.Fragment, null, v, y, x);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Area.js
-var x4e = ["id"], S4e = [
+var G4e = ["id"], K4e = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -83815,25 +84424,25 @@ var x4e = ["id"], S4e = [
"xAxisId",
"yAxisId"
];
-function p6() {
- return p6 = Object.assign ? Object.assign.bind() : function(e) {
+function h6() {
+ return h6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, p6.apply(null, arguments);
+ }, h6.apply(null, arguments);
}
-function C4e(e, t) {
+function q4e(e, t) {
if (e == null) return {};
- var n, r, i = w4e(e, t);
+ var n, r, i = J4e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function w4e(e, t) {
+function J4e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -83842,7 +84451,7 @@ function w4e(e, t) {
}
return n;
}
-function T4e(e, t) {
+function Y4e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -83852,30 +84461,30 @@ function T4e(e, t) {
}
return n;
}
-function m6(e) {
+function g6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? T4e(Object(n), !0).forEach(function(t) {
- E4e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T4e(Object(n)).forEach(function(t) {
+ t % 2 ? Y4e(Object(n), !0).forEach(function(t) {
+ X4e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y4e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function E4e(e, t, n) {
- return (t = D4e(t)) in e ? Object.defineProperty(e, t, {
+function X4e(e, t, n) {
+ return (t = Z4e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function D4e(e) {
- var t = O4e(e, "string");
+function Z4e(e) {
+ var t = Q4e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function O4e(e, t) {
+function Q4e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -83885,15 +84494,15 @@ function O4e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var k4e = {
+var $4e = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
- animationMatchBy: o3,
- animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [m6(m6({}, e.next), {}, {
- x: gG(e.prev.x, e.next.x, t),
- y: gG(e.prev.y, e.next.y, t)
+ animationMatchBy: c3,
+ animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [g6(g6({}, e.next), {}, {
+ x: kG(e.prev.x, e.next.x, t),
+ y: kG(e.prev.y, e.next.y, t)
})] : e.status === "added" ? [e.next] : []),
connectNulls: !1,
dot: !1,
@@ -83906,48 +84515,48 @@ var k4e = {
strokeWidth: 1,
type: "linear",
label: !1,
- shape: b4e,
+ shape: W4e,
xAxisId: 0,
yAxisId: 0,
- zIndex: LQ.area
+ zIndex: XQ.area
};
-function h6(e, t) {
+function _6(e, t) {
return e && e !== "none" ? e : t;
}
-var A4e = (e) => {
+var e3e = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: a,
- color: h6(r, i),
- value: iX(n, t),
+ color: _6(r, i),
+ value: _X(n, t),
payload: e
}];
-}, j4e = /*#__PURE__*/ b.memo((e) => {
+}, t3e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: xG,
+ getPosition: PG,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: iX(o, t),
+ name: _X(o, t),
hide: s,
type: u,
- color: h6(r, a),
+ color: _6(r, a),
unit: c,
formatter: l,
graphicalItemId: d
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: f });
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: f });
});
-function M4e(e) {
- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = KW(r);
- return /*#__PURE__*/ b.createElement(_3, {
+function n3e(e) {
+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = aG(r);
+ return /*#__PURE__*/ b.createElement(y3, {
points: n,
dot: a,
className: "recharts-area-dots",
@@ -83958,7 +84567,7 @@ function M4e(e) {
clipPathId: t
});
}
-function N4e(e) {
+function r3e(e) {
var t = e.showLabels, n = e.children, r = e.points.map((e) => {
var t = {
x: e.x ?? 0,
@@ -83968,7 +84577,7 @@ function N4e(e) {
upperWidth: 0,
height: 0
};
- return m6(m6({}, t), {}, {
+ return g6(g6({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: void 0,
@@ -83976,10 +84585,10 @@ function N4e(e) {
fill: void 0
});
});
- return /*#__PURE__*/ b.createElement(D4, { value: t ? r : void 0 }, n);
+ return /*#__PURE__*/ b.createElement(k4, { value: t ? r : void 0 }, n);
}
-function P4e(e) {
- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = C4e(a, x4e), _ = m6(m6({}, JW(g)), {}, {
+function i3e(e) {
+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = q4e(a, G4e), _ = g6(g6({}, sG(g)), {}, {
id: h,
points: t,
connectNulls: f,
@@ -83992,27 +84601,27 @@ function P4e(e) {
isAnimating: s,
isEntrance: c
});
- return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(QW, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(e3, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, t?.length > 1 && /*#__PURE__*/ b.createElement(dG, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ b.createElement(n3, {
option: m,
- DefaultShape: k4e.shape,
+ DefaultShape: $4e.shape,
shapeProps: _
- })), /*#__PURE__*/ b.createElement(M4e, {
+ })), /*#__PURE__*/ b.createElement(n3e, {
points: t,
props: g,
clipPathId: i
}));
}
-function F4e(e, t, n) {
- return dG(e) ? gG(dG(t) ? t : void 0, e, n) : vG(e) || lG(e) ? gG(dG(t) ? t : void 0, 0, n) : e;
+function a3e(e, t, n) {
+ return wG(e) ? kG(wG(t) ? t : void 0, e, n) : jG(e) || SG(e) ? kG(wG(t) ? t : void 0, 0, n) : e;
}
-function I4e(e) {
+function o3e(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, b.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), h = l3(m, a), g = FX(), _ = u3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;
+ }), [o, s]), h = d3(m, a), g = JX(), _ = f3(r.onAnimationStart, r.onAnimationEnd), v = _.isAnimating, y = _.handleAnimationStart, x = _.handleAnimationEnd, S = h.startValue;
if (g == null) return null;
- var C = Array.isArray(s) && Array.isArray(S) ? c3(S, s, f) : Array.isArray(s) ? c3(null, s, f) : null;
- return /*#__PURE__*/ b.createElement(d3, {
+ var C = Array.isArray(s) && Array.isArray(S) ? u3(S, s, f) : Array.isArray(s) ? u3(null, s, f) : null;
+ return /*#__PURE__*/ b.createElement(p3, {
animationInput: m,
animationIdPrefix: "recharts-area-",
items: o,
@@ -84027,11 +84636,11 @@ function I4e(e) {
animationMatchBy: f,
layout: g
}, (e, i, a) => {
- var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : F4e(s, S, i);
- return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(N4e, {
+ var c = i === 1 ? s : Array.isArray(s) ? p(C, i, g) : a ? s : a3e(s, S, i);
+ return h.syncStepValue(c, i), /*#__PURE__*/ b.createElement(r3e, {
showLabels: !v,
points: o
- }, r.children, /*#__PURE__*/ b.createElement(P4e, {
+ }, r.children, /*#__PURE__*/ b.createElement(i3e, {
points: e,
baseLine: c,
needClip: t,
@@ -84040,12 +84649,12 @@ function I4e(e) {
animationElapsedTime: i,
isAnimating: v || i < 1,
isEntrance: a
- }), /*#__PURE__*/ b.createElement(k4, { label: r.label }));
+ }), /*#__PURE__*/ b.createElement(j4, { label: r.label }));
});
}
-function L4e(e) {
+function s3e(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = (0, b.useRef)(null), a = (0, b.useRef)();
- return /*#__PURE__*/ b.createElement(I4e, {
+ return /*#__PURE__*/ b.createElement(o3e, {
needClip: t,
clipPathId: n,
props: r,
@@ -84053,12 +84662,12 @@ function L4e(e) {
previousBaselineRef: a
});
}
-var R4e = class extends b.PureComponent {
+var c3e = class extends b.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;
if (t) return null;
- var h = Cv("recharts-area", i), g = f, _ = P2e(n), v = _.r, y = _.strokeWidth, x = $4(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
- return /*#__PURE__*/ b.createElement(a4, { zIndex: m }, /*#__PURE__*/ b.createElement(QW, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ var h = Cv("recharts-area", i), g = f, _ = i4e(n), v = _.r, y = _.strokeWidth, x = t3(n), S = v * 2 + y, C = s ? `url(#clipPath-${x ? "" : "dots-"}${g})` : void 0;
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: m }, /*#__PURE__*/ b.createElement(dG, { className: h }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(o6, {
clipPathId: g,
xAxisId: c,
yAxisId: l
@@ -84067,30 +84676,30 @@ var R4e = class extends b.PureComponent {
y: a - S / 2,
width: u + S,
height: d + S
- }))), /*#__PURE__*/ b.createElement(L4e, {
+ }))), /*#__PURE__*/ b.createElement(s3e, {
needClip: s,
clipPathId: g,
props: this.props
- })), /*#__PURE__*/ b.createElement(S3, {
+ })), /*#__PURE__*/ b.createElement(w3, {
points: r,
- mainColor: h6(this.props.stroke, this.props.fill),
+ mainColor: _6(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: C
- }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ b.createElement(S3, {
+ }), this.props.isRange && Array.isArray(p) && /*#__PURE__*/ b.createElement(w3, {
points: p,
- mainColor: h6(this.props.stroke, this.props.fill),
+ mainColor: _6(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: C
}));
}
};
-function z4e(e) {
- var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = C4e(e, S4e), g = PX(), _ = DKe(), v = r6(p, m).needClip, y = hX(), x = J((t) => f4e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = b3();
+function l3e(e) {
+ var t = e.activeDot, n = e.animationBegin, r = e.animationDuration, i = e.animationEasing, a = e.connectNulls, o = e.dot, s = e.fill, c = e.fillOpacity, l = e.hide, u = e.isAnimationActive, d = e.legendType, f = e.stroke, p = e.xAxisId, m = e.yAxisId, h = q4e(e, K4e), g = qX(), _ = ZKe(), v = a6(p, m).needClip, y = OX(), x = J((t) => I4e(t, e.id, y)) ?? {}, S = x.points, C = x.isRange, w = x.baseLine, T = S3();
if (g !== "horizontal" && g !== "vertical" || T == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var E = T.height, D = T.width, O = T.x, k = T.y;
- return !S || !S.length ? null : /*#__PURE__*/ b.createElement(R4e, p6({}, h, {
+ return !S || !S.length ? null : /*#__PURE__*/ b.createElement(c3e, h6({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -84116,9 +84725,9 @@ function z4e(e) {
yAxisId: m
}));
}
-var B4e = (e, t, n, r, i) => {
+var u3e = (e, t, n, r, i) => {
var a = n ?? t;
- if (dG(a)) return a;
+ if (wG(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
if (o.type === "number") {
var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);
@@ -84126,17 +84735,17 @@ var B4e = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function V4e(e) {
- var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = B4e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
+function d3e(e) {
+ var t = e.areaSettings, n = t.connectNulls, r = t.baseValue, i = t.dataKey, a = e.stackedData, o = e.layout, s = e.chartBaseValue, c = e.xAxis, l = e.yAxis, u = e.displayedData, d = e.dataStartIndex, f = e.xAxisTicks, p = e.yAxisTicks, m = e.bandSize, h = e.stackDataKeys, g = a && a.length, _ = u3e(o, s, r, c, l), v = o === "horizontal", y = !1, b = u.map((e, t) => {
var r;
if (g) r = a[d + t];
else {
- var o = GY(e, i);
+ var o = iX(e, i);
Array.isArray(o) ? (r = o, y = !0) : r = [_, o];
}
- var s = r?.[1] ?? null, u = GY(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => GY(e, t) == null), x = s == null || g && !n && u == null || b;
+ var s = r?.[1] ?? null, u = iX(e, i), b = g && u == null && h != null && h.length > 0 && h.every((t) => iX(e, t) == null), x = s == null || g && !n && u == null || b;
return v ? {
- x: ZY({
+ x: uX({
axis: c,
ticks: f,
bandSize: m,
@@ -84148,7 +84757,7 @@ function V4e(e) {
payload: e
} : {
x: x ? null : c.scale.map(s) ?? null,
- y: ZY({
+ y: uX({
axis: l,
ticks: p,
bandSize: m,
@@ -84176,12 +84785,12 @@ function V4e(e) {
isRange: y
};
}
-function H4e(e) {
- var t = OK(e, k4e), n = hX();
- return /*#__PURE__*/ b.createElement(f3, {
+function f3e(e) {
+ var t = VK(e, $4e), n = OX();
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: A4e(t) }), /*#__PURE__*/ b.createElement(j4e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(s3, { legendPayload: e3e(t) }), /*#__PURE__*/ b.createElement(t3e, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -84193,7 +84802,7 @@ function H4e(e) {
formatter: t.formatter,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(m3, {
+ }), /*#__PURE__*/ b.createElement(g3, {
type: "area",
id: e,
data: t.data,
@@ -84201,35 +84810,35 @@ function H4e(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: XY(t.stackId),
+ stackId: lX(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ b.createElement(z4e, p6({}, t, { id: e }))));
+ }), /*#__PURE__*/ b.createElement(l3e, h6({}, t, { id: e }))));
}
-var U4e = /*#__PURE__*/ b.memo(H4e, qX);
-U4e.displayName = "Area";
+var p3e = /*#__PURE__*/ b.memo(f3e, oZ);
+p3e.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var W4e = "Invariant failed";
-function G4e(e, t) {
- if (!e) throw Error(W4e);
+var m3e = "Invariant failed";
+function h3e(e, t) {
+ if (!e) throw Error(m3e);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-var K4e = ["option"];
-function q4e(e, t) {
+var g3e = ["option"];
+function _3e(e, t) {
if (e == null) return {};
- var n, r, i = J4e(e, t);
+ var n, r, i = v3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function J4e(e, t) {
+function v3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -84238,92 +84847,92 @@ function J4e(e, t) {
}
return n;
}
-var g6 = qZ;
-function _6(e) {
- var t = e.option, n = q4e(e, K4e);
- return /*#__PURE__*/ b.createElement(e3, {
+var v6 = oQ;
+function y6(e) {
+ var t = e.option, n = _3e(e, g3e);
+ return /*#__PURE__*/ b.createElement(n3, {
option: t,
- DefaultShape: g6,
+ DefaultShape: v6,
shapeProps: n,
activeClassName: "recharts-active-bar",
inActiveClassName: "recharts-inactive-bar"
});
}
-var Y4e = function(e) {
+var y3e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
- if (dG(e)) return e;
- var i = dG(n) || vG(n);
- return i ? e(n, r) : (!i && G4e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ if (wG(e)) return e;
+ var i = wG(n) || jG(n);
+ return i ? e(n, r) : (!i && h3e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, X4e = (e, t, n) => n, v6 = Y([X0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Z4e = Y([v6], (e) => e?.maxBarSize), Q4e = (e, t, n, r) => r, $4e = Y([
- NX,
- X0,
- l6,
- u6,
- X4e
-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), e3e = (e, t, n) => {
- var r = NX(e), i = l6(e, t), a = u6(e, t);
- if (i != null && a != null) return r === "horizontal" ? c2(e, "yAxis", a, n) : c2(e, "xAxis", i, n);
-}, t3e = Y([
- $4e,
- AQ,
+}, b3e = (e, t, n) => n, b6 = Y([Q0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), x3e = Y([b6], (e) => e?.maxBarSize), S3e = (e, t, n, r) => r, C3e = Y([
+ KX,
+ Q0,
+ d6,
+ f6,
+ b3e
+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), w3e = (e, t, n) => {
+ var r = KX(e), i = d6(e, t), a = f6(e, t);
+ if (i != null && a != null) return r === "horizontal" ? u2(e, "yAxis", a, n) : u2(e, "xAxis", i, n);
+}, T3e = Y([
+ C3e,
+ UQ,
(e, t) => {
- var n = NX(e), r = l6(e, t), i = u6(e, t);
- if (r != null && i != null) return n === "horizontal" ? JWe(e, "xAxis", r) : JWe(e, "yAxis", i);
+ var n = KX(e), r = d6(e, t), i = f6(e, t);
+ if (r != null && i != null) return n === "horizontal" ? vGe(e, "xAxis", r) : vGe(e, "yAxis", i);
}
-], w$e), n3e = (e, t, n) => {
- var r = v6(e, t);
+], J$e), E3e = (e, t, n) => {
+ var r = b6(e, t);
if (r == null) return 0;
- var i = l6(e, t), a = u6(e, t);
+ var i = d6(e, t), a = f6(e, t);
if (i == null || a == null) return 0;
- var o = NX(e), s = DQ(e), c = r.maxBarSize, l = vG(c) ? s : c, u, d;
- return o === "horizontal" ? (u = M2(e, "xAxis", i, n), d = j2(e, "xAxis", i, n)) : (u = M2(e, "yAxis", a, n), d = j2(e, "yAxis", a, n)), nX(u, d, !0) ?? l ?? 0;
-}, r3e = (e, t, n) => {
- var r = NX(e), i = l6(e, t), a = u6(e, t);
+ var o = KX(e), s = BQ(e), c = r.maxBarSize, l = jG(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = P2(e, "xAxis", i, n), d = N2(e, "xAxis", i, n)) : (u = P2(e, "yAxis", a, n), d = N2(e, "yAxis", a, n)), hX(u, d, !0) ?? l ?? 0;
+}, D3e = (e, t, n) => {
+ var r = KX(e), i = d6(e, t), a = f6(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = M2(e, "xAxis", i, n), s = j2(e, "xAxis", i, n)) : (o = M2(e, "yAxis", a, n), s = j2(e, "yAxis", a, n)), nX(o, s);
+ return r === "horizontal" ? (o = P2(e, "xAxis", i, n), s = N2(e, "xAxis", i, n)) : (o = P2(e, "yAxis", a, n), s = N2(e, "yAxis", a, n)), hX(o, s);
}
-}, i3e = Y([
- fX,
- mX,
+}, O3e = Y([
+ TX,
+ DX,
(e, t, n) => {
- var r = l6(e, t);
- if (r != null) return M2(e, "xAxis", r, n);
+ var r = d6(e, t);
+ if (r != null) return P2(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = u6(e, t);
- if (r != null) return M2(e, "yAxis", r, n);
+ var r = f6(e, t);
+ if (r != null) return P2(e, "yAxis", r, n);
},
(e, t, n) => {
- var r = l6(e, t);
- if (r != null) return j2(e, "xAxis", r, n);
+ var r = d6(e, t);
+ if (r != null) return N2(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = u6(e, t);
- if (r != null) return j2(e, "yAxis", r, n);
+ var r = f6(e, t);
+ if (r != null) return N2(e, "yAxis", r, n);
},
Y([Y([
- t3e,
- DQ,
- OQ,
- kQ,
- n3e,
- r3e,
- Z4e
- ], A$e), v6], M$e),
- NX,
- uQ,
- r3e,
- Y([e3e, v6], j$e),
- v6,
- Q4e
+ T3e,
+ BQ,
+ VQ,
+ HQ,
+ E3e,
+ D3e,
+ x3e
+ ], e1e), b6], n1e),
+ KX,
+ CQ,
+ D3e,
+ Y([w3e, b6], t1e),
+ b6,
+ S3e
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var p = c.chartData, m = c.dataStartIndex, h = c.dataEndIndex;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var g = d.data, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return U3e({
+ if (_ != null) return p6e({
layout: s,
barSettings: d,
pos: o,
@@ -84340,26 +84949,26 @@ var Y4e = function(e) {
dataStartIndex: m
});
}
-}), a3e = ["index"];
-function y6() {
- return y6 = Object.assign ? Object.assign.bind() : function(e) {
+}), k3e = ["index"];
+function x6() {
+ return x6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, y6.apply(null, arguments);
+ }, x6.apply(null, arguments);
}
-function o3e(e, t) {
+function A3e(e, t) {
if (e == null) return {};
- var n, r, i = s3e(e, t);
+ var n, r, i = j3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function s3e(e, t) {
+function j3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -84368,54 +84977,54 @@ function s3e(e, t) {
}
return n;
}
-var c3e = /*#__PURE__*/ (0, b.createContext)(void 0), l3e = (e) => {
- var t = (0, b.useContext)(c3e);
+var M3e = /*#__PURE__*/ (0, b.createContext)(void 0), N3e = (e) => {
+ var t = (0, b.useContext)(M3e);
if (t != null) return t.stackId;
- if (e != null) return XY(e);
-}, u3e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, d3e = (e) => {
- var t = (0, b.useContext)(c3e);
+ if (e != null) return lX(e);
+}, P3e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, F3e = (e) => {
+ var t = (0, b.useContext)(M3e);
if (t != null) {
var n = t.stackId;
- return `url(#${u3e(n, e)})`;
+ return `url(#${P3e(n, e)})`;
}
-}, f3e = (e) => {
- var t = e.index, n = o3e(e, a3e), r = d3e(t);
- return /*#__PURE__*/ b.createElement(QW, y6({
+}, I3e = (e) => {
+ var t = e.index, n = A3e(e, k3e), r = F3e(t);
+ return /*#__PURE__*/ b.createElement(dG, x6({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, p3e = [
+}, L3e = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], m3e = [
+], R3e = [
"value",
"background",
"tooltipPosition"
-], h3e = ["id"], g3e = [
+], z3e = ["id"], B3e = [
"onMouseEnter",
"onClick",
"onMouseLeave"
];
-function _3e(e, t) {
- return S3e(e) || x3e(e, t) || y3e(e, t) || v3e();
+function V3e(e, t) {
+ return K3e(e) || G3e(e, t) || U3e(e, t) || H3e();
}
-function v3e() {
+function H3e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function y3e(e, t) {
+function U3e(e, t) {
if (e) {
- if (typeof e == "string") return b3e(e, t);
+ if (typeof e == "string") return W3e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? b3e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? W3e(e, t) : void 0;
}
}
-function b3e(e, t) {
+function W3e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function x3e(e, t) {
+function G3e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -84436,19 +85045,19 @@ function x3e(e, t) {
return s;
}
}
-function S3e(e) {
+function K3e(e) {
if (Array.isArray(e)) return e;
}
-function b6() {
- return b6 = Object.assign ? Object.assign.bind() : function(e) {
+function S6() {
+ return S6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, b6.apply(null, arguments);
+ }, S6.apply(null, arguments);
}
-function C3e(e, t) {
+function q3e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84458,30 +85067,30 @@ function C3e(e, t) {
}
return n;
}
-function x6(e) {
+function C6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? C3e(Object(n), !0).forEach(function(t) {
- w3e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C3e(Object(n)).forEach(function(t) {
+ t % 2 ? q3e(Object(n), !0).forEach(function(t) {
+ J3e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q3e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function w3e(e, t, n) {
- return (t = T3e(t)) in e ? Object.defineProperty(e, t, {
+function J3e(e, t, n) {
+ return (t = Y3e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function T3e(e) {
- var t = E3e(e, "string");
+function Y3e(e) {
+ var t = X3e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function E3e(e, t) {
+function X3e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84491,16 +85100,16 @@ function E3e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function S6(e, t) {
+function w6(e, t) {
if (e == null) return {};
- var n, r, i = D3e(e, t);
+ var n, r, i = Z3e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function D3e(e, t) {
+function Z3e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -84509,27 +85118,27 @@ function D3e(e, t) {
}
return n;
}
-var O3e = (e) => {
+var Q3e = (e) => {
var t = e.dataKey, n = e.name, r = e.fill, i = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: i,
color: r,
- value: iX(n, t),
+ value: _X(n, t),
payload: e
}];
-}, k3e = /*#__PURE__*/ b.memo((e) => {
+}, $3e = /*#__PURE__*/ b.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {
dataDefinedOnItem: void 0,
- getPosition: xG,
+ getPosition: PG,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: iX(a, t),
+ name: _X(a, t),
hide: o,
type: l,
color: i,
@@ -84538,22 +85147,22 @@ var O3e = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ b.createElement(i3, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ b.createElement(o3, { tooltipEntrySettings: d });
});
-function A3e(e) {
- var t = J(X2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = S6(a, p3e), u = t3(o, r, a.id), d = n3(s), f = r3(c, r, a.id);
+function e6e(e) {
+ var t = J(Q2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = w6(a, L3e), u = r3(o, r, a.id), d = i3(s), f = a3(c, r, a.id);
if (!i || n == null) return null;
- var p = qW(i);
- return /*#__PURE__*/ b.createElement(a4, { zIndex: Y$e(i, LQ.barBackground) }, n.map((e, n) => {
+ var p = oG(i);
+ return /*#__PURE__*/ b.createElement(s4, { zIndex: y1e(i, XQ.barBackground) }, n.map((e, n) => {
e.value;
var a = e.background;
e.tooltipPosition;
- var o = S6(e, m3e);
+ var o = w6(e, R3e);
if (!a) return null;
- var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = x6(x6(x6(x6(x6({
+ var s = u(e, e.originalDataIndex), c = d(e, e.originalDataIndex), m = f(e, e.originalDataIndex), h = C6(C6(C6(C6(C6({
option: i,
isActive: String(e.originalDataIndex) === t
- }, o), {}, { fill: "#eee" }, a), p), EK(l, e, n)), {}, {
+ }, o), {}, { fill: "#eee" }, a), p), zK(l, e, n)), {}, {
onMouseEnter: s,
onMouseLeave: c,
onClick: m,
@@ -84561,10 +85170,10 @@ function A3e(e) {
index: n,
className: "recharts-bar-background-rectangle"
});
- return /*#__PURE__*/ b.createElement(_6, b6({ key: `background-bar-${n}` }, h));
+ return /*#__PURE__*/ b.createElement(y6, S6({ key: `background-bar-${n}` }, h));
}));
}
-function j3e(e) {
+function t6e(e) {
var t = e.showLabels, n = e.children, r = e.rects?.map((e) => {
var t = {
x: e.x,
@@ -84574,7 +85183,7 @@ function j3e(e) {
upperWidth: e.width,
height: e.height
};
- return x6(x6({}, t), {}, {
+ return C6(C6({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: e.parentViewBox,
@@ -84582,10 +85191,10 @@ function j3e(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ b.createElement(D4, { value: t ? r : void 0 }, n);
+ return /*#__PURE__*/ b.createElement(k4, { value: t ? r : void 0 }, n);
}
-function M3e(e) {
- var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(X2), c = J(oKe), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = _3e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = _3e((0, b.useState)(!1), 2), h = m[0], g = m[1];
+function n6e(e) {
+ var t = e.shape, n = e.activeBar, r = e.baseProps, i = e.entry, a = e.index, o = e.dataKey, s = J(Q2), c = J(AKe), l = n && String(i.originalDataIndex) === s && (c == null || o === c), u = s != null && (String(i.originalDataIndex) !== s || c != null && o !== c), d = V3e((0, b.useState)(!1), 2), f = d[0], p = d[1], m = V3e((0, b.useState)(!1), 2), h = m[0], g = m[1];
(0, b.useEffect)(() => {
var e;
return l ? (p(!0), e = requestAnimationFrame(() => {
@@ -84596,7 +85205,7 @@ function M3e(e) {
}, [l, u]);
var _ = (0, b.useCallback)(() => {
l || p(!1);
- }, [l]), v = l && h, y = l || f, x = l ? n === !0 ? t : n : t, S = /*#__PURE__*/ b.createElement(_6, b6({}, r, { name: String(r.name) }, i, {
+ }, [l]), v = l && h, y = l || f, x = l ? n === !0 ? t : n : t, S = /*#__PURE__*/ b.createElement(y6, S6({}, r, { name: String(r.name) }, i, {
isActive: v,
option: x,
index: a,
@@ -84606,11 +85215,11 @@ function M3e(e) {
isEntrance: e.isEntrance,
onTransitionEnd: _
}));
- return y ? /*#__PURE__*/ b.createElement(a4, { zIndex: LQ.activeBar }, /*#__PURE__*/ b.createElement(f3e, { index: i.originalDataIndex }, S)) : S;
+ return y ? /*#__PURE__*/ b.createElement(s4, { zIndex: XQ.activeBar }, /*#__PURE__*/ b.createElement(I3e, { index: i.originalDataIndex }, S)) : S;
}
-function N3e(e) {
+function r6e(e) {
var t = e.shape, n = e.baseProps, r = e.entry, i = e.index, a = e.dataKey;
- return /*#__PURE__*/ b.createElement(_6, b6({}, n, { name: String(n.name) }, r, {
+ return /*#__PURE__*/ b.createElement(y6, S6({}, n, { name: String(n.name) }, r, {
isActive: !1,
option: t,
index: i,
@@ -84620,17 +85229,17 @@ function N3e(e) {
isEntrance: e.isEntrance
}));
}
-function P3e(e) {
- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = KW(n) ?? {}, s = o.id, c = S6(o, h3e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = S6(n, g3e), g = t3(f, u, s), _ = n3(m), v = r3(p, u, s);
- return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(f3e, b6({
+function i6e(e) {
+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = aG(n) ?? {}, s = o.id, c = w6(o, z3e), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = w6(n, B3e), g = r3(f, u, s), _ = i3(m), v = a3(p, u, s);
+ return t ? /*#__PURE__*/ b.createElement(b.Fragment, null, t.map((e, t) => /*#__PURE__*/ b.createElement(I3e, S6({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, EK(h, e, t), {
+ }, zK(h, e, t), {
onMouseEnter: g(e, e.originalDataIndex),
onMouseLeave: _(e, e.originalDataIndex),
onClick: v(e, e.originalDataIndex)
- }), d ? /*#__PURE__*/ b.createElement(M3e, {
+ }), d ? /*#__PURE__*/ b.createElement(n6e, {
shape: l,
activeBar: d,
baseProps: c,
@@ -84640,7 +85249,7 @@ function P3e(e) {
animationElapsedTime: r,
isAnimating: i,
isEntrance: a
- }) : /*#__PURE__*/ b.createElement(N3e, {
+ }) : /*#__PURE__*/ b.createElement(r6e, {
shape: l,
baseProps: c,
entry: e,
@@ -84651,32 +85260,32 @@ function P3e(e) {
isEntrance: a
})))) : null;
}
-var F3e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
- if (e.status === "removed") return n === "horizontal" ? [x6(x6({}, e.prev), {}, {
- height: gG(e.prev.height, 0, t),
- y: gG(e.prev.y, e.prev.y + e.prev.height, t)
- })] : [x6(x6({}, e.prev), {}, { width: gG(e.prev.width, 0, t) })];
- if (e.status === "matched") return [x6(x6({}, e.next), {}, {
- x: gG(e.prev.x, e.next.x, t),
- y: gG(e.prev.y, e.next.y, t),
- width: gG(e.prev.width, e.next.width, t),
- height: gG(e.prev.height, e.next.height, t)
+var a6e = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
+ if (e.status === "removed") return n === "horizontal" ? [C6(C6({}, e.prev), {}, {
+ height: kG(e.prev.height, 0, t),
+ y: kG(e.prev.y, e.prev.y + e.prev.height, t)
+ })] : [C6(C6({}, e.prev), {}, { width: kG(e.prev.width, 0, t) })];
+ if (e.status === "matched") return [C6(C6({}, e.next), {}, {
+ x: kG(e.prev.x, e.next.x, t),
+ y: kG(e.prev.y, e.next.y, t),
+ width: kG(e.prev.width, e.next.width, t),
+ height: kG(e.prev.height, e.next.height, t)
})];
var r = e.next;
- return n === "horizontal" ? [x6(x6({}, r), {}, {
- height: gG(0, r.height, t),
- y: gG(r.stackedBarStart, r.y, t)
- })] : [x6(x6({}, r), {}, {
- width: gG(0, r.width, t),
- x: gG(r.stackedBarStart, r.x, t)
+ return n === "horizontal" ? [C6(C6({}, r), {}, {
+ height: kG(0, r.height, t),
+ y: kG(r.stackedBarStart, r.y, t)
+ })] : [C6(C6({}, r), {}, {
+ width: kG(0, r.width, t),
+ x: kG(r.stackedBarStart, r.x, t)
})];
});
-function I3e(e) {
- var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = u3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;
- return /*#__PURE__*/ b.createElement(j3e, {
+function o6e(e) {
+ var t = e.props, n = e.previousRectanglesRef, r = t.data, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.animationInterpolateFn, l = t.layout, u = f3(t.onAnimationStart, t.onAnimationEnd), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd;
+ return /*#__PURE__*/ b.createElement(t6e, {
showLabels: !d,
rects: r
- }, /*#__PURE__*/ b.createElement(d3, {
+ }, /*#__PURE__*/ b.createElement(p3, {
animationInput: r,
animationIdPrefix: "recharts-bar-",
items: r,
@@ -84690,80 +85299,80 @@ function I3e(e) {
animationInterpolateFn: c,
animationMatchBy: t.animationMatchBy,
layout: l
- }, (e, n, r) => /*#__PURE__*/ b.createElement(QW, null, /*#__PURE__*/ b.createElement(P3e, {
+ }, (e, n, r) => /*#__PURE__*/ b.createElement(dG, null, /*#__PURE__*/ b.createElement(i6e, {
props: t,
data: e,
animationElapsedTime: n,
isAnimating: d || n < 1,
isEntrance: r
- }))), /*#__PURE__*/ b.createElement(k4, { label: t.label }), t.children);
+ }))), /*#__PURE__*/ b.createElement(j4, { label: t.label }), t.children);
}
-function L3e(e) {
+function s6e(e) {
var t = (0, b.useRef)(null);
- return /*#__PURE__*/ b.createElement(I3e, {
+ return /*#__PURE__*/ b.createElement(o6e, {
previousRectanglesRef: t,
props: e
});
}
-var R3e = 0, z3e = (e, t) => {
+var c6e = 0, l6e = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: GY(e, t)
+ errorVal: iX(e, t)
};
-}, B3e = class extends b.PureComponent {
+}, u6e = class extends b.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;
if (t || n == null) return null;
var u = Cv("recharts-bar", i), d = l;
- return /*#__PURE__*/ b.createElement(QW, {
+ return /*#__PURE__*/ b.createElement(dG, {
className: u,
id: l
- }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(i6, {
+ }, s && /*#__PURE__*/ b.createElement("defs", null, /*#__PURE__*/ b.createElement(o6, {
clipPathId: d,
xAxisId: a,
yAxisId: o
- })), /*#__PURE__*/ b.createElement(QW, {
+ })), /*#__PURE__*/ b.createElement(dG, {
className: "recharts-bar-rectangles",
clipPath: s ? `url(#clipPath-${d})` : void 0
- }, /*#__PURE__*/ b.createElement(A3e, {
+ }, /*#__PURE__*/ b.createElement(e6e, {
data: n,
dataKey: r,
background: c,
allOtherBarProps: this.props
- }), /*#__PURE__*/ b.createElement(L3e, this.props)));
+ }), /*#__PURE__*/ b.createElement(s6e, this.props)));
}
-}, V3e = {
+}, d6e = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
animationEasing: "ease",
- animationInterpolateFn: F3e,
- animationMatchBy: wZe,
+ animationInterpolateFn: a6e,
+ animationMatchBy: JZe,
background: !1,
hide: !1,
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: R3e,
- shape: g6,
+ minPointSize: c6e,
+ shape: v6,
xAxisId: 0,
yAxisId: 0,
- zIndex: LQ.bar
+ zIndex: XQ.bar
};
-function H3e(e) {
- var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = r6(t, n).needClip, f = PX(), p = hX(), m = oZe(e.children, p4), h = J((t) => i3e(t, e.id, p, m));
+function f6e(e) {
+ var t = e.xAxisId, n = e.yAxisId, r = e.hide, i = e.legendType, a = e.minPointSize, o = e.activeBar, s = e.animationBegin, c = e.animationDuration, l = e.animationEasing, u = e.isAnimationActive, d = a6(t, n).needClip, f = qX(), p = OX(), m = AZe(e.children, h4), h = J((t) => O3e(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
- return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ b.createElement(T2e, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ b.createElement(Y2e, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: z3e,
+ dataPointFormatter: l6e,
errorBarOffset: g
- }, /*#__PURE__*/ b.createElement(B3e, b6({}, e, {
+ }, /*#__PURE__*/ b.createElement(u6e, S6({}, e, {
layout: f,
needClip: d,
data: h,
@@ -84779,20 +85388,20 @@ function H3e(e) {
isAnimationActive: u
})));
}
-function U3e(e) {
- var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = $Y({ numericAxis: v }), x = v.scale.map(b);
+function p6e(e) {
+ var t = e.layout, n = e.barSettings, r = n.dataKey, i = n.minPointSize, a = n.hasCustomShape, o = e.pos, s = e.bandSize, c = e.xAxis, l = e.yAxis, u = e.xAxisTicks, d = e.yAxisTicks, f = e.stackedData, p = e.displayedData, m = e.offset, h = e.cells, g = e.parentViewBox, _ = e.dataStartIndex, v = t === "horizontal" ? l : c, y = f ? v.scale.domain() : null, b = fX({ numericAxis: v }), x = v.scale.map(b);
return p.map((e, n) => {
var p, v, S, C, w, T;
if (f) {
var E = f[n + _];
if (E == null) return null;
- p = YY(E, y);
- } else p = GY(e, r), Array.isArray(p) || (p = [b, p]);
- var D = Y4e(i, R3e)(p[1], n);
+ p = cX(E, y);
+ } else p = iX(e, r), Array.isArray(p) || (p = [b, p]);
+ var D = y3e(i, c6e)(p[1], n);
if (t === "horizontal") {
var O = l.scale.map(p[0]), k = l.scale.map(p[1]);
if (O == null || k == null) return null;
- v = QY({
+ v = dX({
axis: c,
ticks: u,
bandSize: s,
@@ -84801,19 +85410,19 @@ function U3e(e) {
index: n
}), S = k ?? O ?? void 0, C = o.size;
var A = O - k;
- if (w = lG(A) ? 0 : A, T = {
+ if (w = SG(A) ? 0 : A, T = {
x: v,
y: m.top,
width: C,
height: m.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = cG(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = xG(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = c.scale.map(p[0]), N = c.scale.map(p[1]);
if (M == null || N == null) return null;
- if (v = M, S = QY({
+ if (v = M, S = dX({
axis: l,
ticks: d,
bandSize: s,
@@ -84826,11 +85435,11 @@ function U3e(e) {
width: m.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = cG(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = xG(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
- return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : x6(x6({}, e), {}, {
+ return v == null || S == null || C == null || w == null || !a && (C === 0 || w === 0) ? null : C6(C6({}, e), {}, {
stackedBarStart: x,
x: v,
y: S,
@@ -84848,12 +85457,12 @@ function U3e(e) {
}, h && h[n] && h[n].props);
}).filter(Boolean);
}
-function W3e(e) {
- var t = OK(e, V3e), n = l3e(t.stackId), r = hX();
- return /*#__PURE__*/ b.createElement(f3, {
+function m6e(e) {
+ var t = VK(e, d6e), n = N3e(t.stackId), r = OX();
+ return /*#__PURE__*/ b.createElement(m3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(a3, { legendPayload: O3e(t) }), /*#__PURE__*/ b.createElement(k3e, {
+ }, (e) => /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(s3, { legendPayload: Q3e(t) }), /*#__PURE__*/ b.createElement($3e, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -84864,7 +85473,7 @@ function W3e(e) {
formatter: t.formatter,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ b.createElement(m3, {
+ }), /*#__PURE__*/ b.createElement(g3, {
type: "bar",
id: e,
data: void 0,
@@ -84878,24 +85487,24 @@ function W3e(e) {
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize,
isPanorama: r,
- hasCustomShape: t.shape != null && t.shape !== g6
- }), /*#__PURE__*/ b.createElement(a4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(H3e, b6({}, t, { id: e })))));
+ hasCustomShape: t.shape != null && t.shape !== v6
+ }), /*#__PURE__*/ b.createElement(s4, { zIndex: t.zIndex }, /*#__PURE__*/ b.createElement(f6e, S6({}, t, { id: e })))));
}
-var C6 = /*#__PURE__*/ b.memo(W3e, qX);
-C6.displayName = "Bar";
+var T6 = /*#__PURE__*/ b.memo(m6e, oZ);
+T6.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var G3e = ["domain", "range"], K3e = ["domain", "range"];
-function q3e(e, t) {
+var h6e = ["domain", "range"], g6e = ["domain", "range"];
+function _6e(e, t) {
if (e == null) return {};
- var n, r, i = J3e(e, t);
+ var n, r, i = v6e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function J3e(e, t) {
+function v6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -84904,31 +85513,31 @@ function J3e(e, t) {
}
return n;
}
-function Y3e(e, t) {
+function y6e(e, t) {
return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;
}
-function X3e(e, t) {
+function b6e(e, t) {
if (e === t) return !0;
- var n = e.domain, r = e.range, i = q3e(e, G3e), a = t.domain, o = t.range, s = q3e(t, K3e);
- return !Y3e(n, a) || !Y3e(r, o) ? !1 : qX(i, s);
+ var n = e.domain, r = e.range, i = _6e(e, h6e), a = t.domain, o = t.range, s = _6e(t, g6e);
+ return !y6e(n, a) || !y6e(r, o) ? !1 : oZ(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var Z3e = ["type"], Q3e = [
+var x6e = ["type"], S6e = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], $3e = ["id", "scale"];
-function w6() {
- return w6 = Object.assign ? Object.assign.bind() : function(e) {
+], C6e = ["id", "scale"];
+function E6() {
+ return E6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, w6.apply(null, arguments);
+ }, E6.apply(null, arguments);
}
-function e6e(e, t) {
+function w6e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -84938,30 +85547,30 @@ function e6e(e, t) {
}
return n;
}
-function t6e(e) {
+function T6e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? e6e(Object(n), !0).forEach(function(t) {
- n6e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e6e(Object(n)).forEach(function(t) {
+ t % 2 ? w6e(Object(n), !0).forEach(function(t) {
+ E6e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w6e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function n6e(e, t, n) {
- return (t = r6e(t)) in e ? Object.defineProperty(e, t, {
+function E6e(e, t, n) {
+ return (t = D6e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function r6e(e) {
- var t = i6e(e, "string");
+function D6e(e) {
+ var t = O6e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function i6e(e, t) {
+function O6e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -84971,16 +85580,16 @@ function i6e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function T6(e, t) {
+function D6(e, t) {
if (e == null) return {};
- var n, r, i = a6e(e, t);
+ var n, r, i = k6e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function a6e(e, t) {
+function k6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -84989,27 +85598,27 @@ function a6e(e, t) {
}
return n;
}
-function o6e(e) {
- var t = xq(), n = (0, b.useRef)(null), r = FX(), i = e.type, a = T6(e, Z3e), o = VQ(r, "xAxis", i), s = (0, b.useMemo)(() => {
- if (o != null) return t6e(t6e({}, a), {}, { type: o });
+function A6e(e) {
+ var t = Pq(), n = (0, b.useRef)(null), r = JX(), i = e.type, a = D6(e, x6e), o = e$(r, "xAxis", i), s = (0, b.useMemo)(() => {
+ if (o != null) return T6e(T6e({}, a), {}, { type: o });
}, [a, o]);
return (0, b.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(hQe(s)) : n.current !== s && t(gQe({
+ s != null && (n.current === null ? t(zQe(s)) : n.current !== s && t(BQe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(_Qe(n.current)), null);
+ n.current &&= (t(VQe(n.current)), null);
}, [t]), null;
}
-var s6e = (e) => {
- var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(mX), c = hX(), l = xq(), u = "xAxis", d = J((e) => QWe(e, u, t, c)), f = J((e) => BWe(e, t)), p = J((e) => GWe(e, t)), m = J((e) => RUe(e, t));
+var j6e = (e) => {
+ var t = e.xAxisId, n = e.className, r = e.height, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(DX), c = OX(), l = Pq(), u = "xAxis", d = J((e) => SGe(e, u, t, c)), f = J((e) => uGe(e, t)), p = J((e) => hGe(e, t)), m = J((e) => cWe(e, t));
if ((0, b.useLayoutEffect)(() => {
- if (!(r !== "auto" || !f || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !f || T4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedHeight();
- Math.round(f.height) !== Math.round(n) && l(SQe({
+ Math.round(f.height) !== Math.round(n) && l(KQe({
id: t,
height: n
}));
@@ -85025,10 +85634,10 @@ var s6e = (e) => {
m
]), f == null || p == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = T6(e, Q3e);
+ var h = D6(e, S6e);
m.id, m.scale;
- var g = T6(m, $3e);
- return /*#__PURE__*/ b.createElement(Z3, w6({}, h, g, {
+ var g = D6(m, C6e);
+ return /*#__PURE__*/ b.createElement($3, E6({}, h, g, {
ref: a,
labelRef: o,
x: p.x,
@@ -85041,33 +85650,33 @@ var s6e = (e) => {
axisType: u,
axisId: t
}));
-}, c6e = {
- allowDataOverflow: H0.allowDataOverflow,
- allowDecimals: H0.allowDecimals,
- allowDuplicatedCategory: H0.allowDuplicatedCategory,
- angle: H0.angle,
- axisLine: X3.axisLine,
- height: H0.height,
+}, M6e = {
+ allowDataOverflow: W0.allowDataOverflow,
+ allowDecimals: W0.allowDecimals,
+ allowDuplicatedCategory: W0.allowDuplicatedCategory,
+ angle: W0.angle,
+ axisLine: Q3.axisLine,
+ height: W0.height,
hide: !1,
- includeHidden: H0.includeHidden,
- interval: H0.interval,
+ includeHidden: W0.includeHidden,
+ interval: W0.interval,
label: !1,
- minTickGap: H0.minTickGap,
- mirror: H0.mirror,
- orientation: H0.orientation,
- padding: H0.padding,
- reversed: H0.reversed,
- scale: H0.scale,
- tick: H0.tick,
- tickCount: H0.tickCount,
- tickLine: X3.tickLine,
- tickSize: X3.tickSize,
- type: H0.type,
- niceTicks: H0.niceTicks,
+ minTickGap: W0.minTickGap,
+ mirror: W0.mirror,
+ orientation: W0.orientation,
+ padding: W0.padding,
+ reversed: W0.reversed,
+ scale: W0.scale,
+ tick: W0.tick,
+ tickCount: W0.tickCount,
+ tickLine: Q3.tickLine,
+ tickSize: Q3.tickSize,
+ type: W0.type,
+ niceTicks: W0.niceTicks,
xAxisId: 0
-}, l6e = /*#__PURE__*/ b.memo((e) => {
- var t = OK(e, c6e);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(o6e, {
+}, N6e = /*#__PURE__*/ b.memo((e) => {
+ var t = VK(e, M6e);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(A6e, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -85093,26 +85702,26 @@ var s6e = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ b.createElement(s6e, t));
-}, X3e);
-l6e.displayName = "XAxis";
+ }), /*#__PURE__*/ b.createElement(j6e, t));
+}, b6e);
+N6e.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var u6e = ["type"], d6e = [
+var P6e = ["type"], F6e = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], f6e = ["id", "scale"];
-function E6() {
- return E6 = Object.assign ? Object.assign.bind() : function(e) {
+], I6e = ["id", "scale"];
+function O6() {
+ return O6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, E6.apply(null, arguments);
+ }, O6.apply(null, arguments);
}
-function p6e(e, t) {
+function L6e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -85122,30 +85731,30 @@ function p6e(e, t) {
}
return n;
}
-function m6e(e) {
+function R6e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? p6e(Object(n), !0).forEach(function(t) {
- h6e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p6e(Object(n)).forEach(function(t) {
+ t % 2 ? L6e(Object(n), !0).forEach(function(t) {
+ z6e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L6e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function h6e(e, t, n) {
- return (t = g6e(t)) in e ? Object.defineProperty(e, t, {
+function z6e(e, t, n) {
+ return (t = B6e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function g6e(e) {
- var t = _6e(e, "string");
+function B6e(e) {
+ var t = V6e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _6e(e, t) {
+function V6e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -85155,16 +85764,16 @@ function _6e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function D6(e, t) {
+function k6(e, t) {
if (e == null) return {};
- var n, r, i = v6e(e, t);
+ var n, r, i = H6e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function v6e(e, t) {
+function H6e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85173,27 +85782,27 @@ function v6e(e, t) {
}
return n;
}
-function y6e(e) {
- var t = xq(), n = (0, b.useRef)(null), r = FX(), i = e.type, a = D6(e, u6e), o = VQ(r, "yAxis", i), s = (0, b.useMemo)(() => {
- if (o != null) return m6e(m6e({}, a), {}, { type: o });
+function U6e(e) {
+ var t = Pq(), n = (0, b.useRef)(null), r = JX(), i = e.type, a = k6(e, P6e), o = e$(r, "yAxis", i), s = (0, b.useMemo)(() => {
+ if (o != null) return R6e(R6e({}, a), {}, { type: o });
}, [o, a]);
return (0, b.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(vQe(s)) : n.current !== s && t(yQe({
+ s != null && (n.current === null ? t(HQe(s)) : n.current !== s && t(UQe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, b.useLayoutEffect)(() => () => {
- n.current &&= (t(bQe(n.current)), null);
+ n.current &&= (t(WQe(n.current)), null);
}, [t]), null;
}
-function b6e(e) {
- var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(mX), c = hX(), l = xq(), u = "yAxis", d = J((e) => qWe(e, t)), f = J((e) => KWe(e, t)), p = J((e) => QWe(e, u, t, c)), m = J((e) => zUe(e, t));
+function W6e(e) {
+ var t = e.yAxisId, n = e.className, r = e.width, i = e.label, a = (0, b.useRef)(null), o = (0, b.useRef)(null), s = J(DX), c = OX(), l = Pq(), u = "yAxis", d = J((e) => _Ge(e, t)), f = J((e) => gGe(e, t)), p = J((e) => SGe(e, u, t, c)), m = J((e) => lWe(e, t));
if ((0, b.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || C4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !d || T4(i) || /*#__PURE__*/ (0, b.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(xQe({
+ Math.round(d.width) !== Math.round(n) && l(GQe({
id: t,
width: n
}));
@@ -85209,10 +85818,10 @@ function b6e(e) {
m
]), d == null || f == null || m == null) return null;
e.dangerouslySetInnerHTML, e.ticks, e.scale;
- var h = D6(e, d6e);
+ var h = k6(e, F6e);
m.id, m.scale;
- var g = D6(m, f6e);
- return /*#__PURE__*/ b.createElement(Z3, E6({}, h, g, {
+ var g = k6(m, I6e);
+ return /*#__PURE__*/ b.createElement($3, O6({}, h, g, {
ref: a,
labelRef: o,
x: f.x,
@@ -85227,33 +85836,33 @@ function b6e(e) {
axisId: t
}));
}
-var x6e = {
- allowDataOverflow: W0.allowDataOverflow,
- allowDecimals: W0.allowDecimals,
- allowDuplicatedCategory: W0.allowDuplicatedCategory,
- angle: W0.angle,
- axisLine: X3.axisLine,
+var G6e = {
+ allowDataOverflow: K0.allowDataOverflow,
+ allowDecimals: K0.allowDecimals,
+ allowDuplicatedCategory: K0.allowDuplicatedCategory,
+ angle: K0.angle,
+ axisLine: Q3.axisLine,
hide: !1,
- includeHidden: W0.includeHidden,
- interval: W0.interval,
+ includeHidden: K0.includeHidden,
+ interval: K0.interval,
label: !1,
- minTickGap: W0.minTickGap,
- mirror: W0.mirror,
- orientation: W0.orientation,
- padding: W0.padding,
- reversed: W0.reversed,
- scale: W0.scale,
- tick: W0.tick,
- tickCount: W0.tickCount,
- tickLine: X3.tickLine,
- tickSize: X3.tickSize,
- type: W0.type,
- niceTicks: W0.niceTicks,
- width: W0.width,
+ minTickGap: K0.minTickGap,
+ mirror: K0.mirror,
+ orientation: K0.orientation,
+ padding: K0.padding,
+ reversed: K0.reversed,
+ scale: K0.scale,
+ tick: K0.tick,
+ tickCount: K0.tickCount,
+ tickLine: Q3.tickLine,
+ tickSize: Q3.tickSize,
+ type: K0.type,
+ niceTicks: K0.niceTicks,
+ width: K0.width,
yAxisId: 0
-}, S6e = /*#__PURE__*/ b.memo((e) => {
- var t = OK(e, x6e);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(y6e, {
+}, K6e = /*#__PURE__*/ b.memo((e) => {
+ var t = VK(e, G6e);
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(U6e, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -85279,27 +85888,27 @@ var x6e = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ b.createElement(b6e, t));
-}, X3e);
-S6e.displayName = "YAxis";
-var O6 = Y([
+ }), /*#__PURE__*/ b.createElement(W6e, t));
+}, b6e);
+K6e.displayName = "YAxis";
+var A6 = Y([
(e, t) => t,
- NX,
- e$,
- c$,
- nKe,
- K2,
- kKe,
- fX
-], RKe);
+ KX,
+ p$,
+ x$,
+ EKe,
+ J2,
+ $Ke,
+ TX
+], cqe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function C6e(e) {
+function q6e(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
-function k6(e) {
+function j6(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (C6e(e)) {
+ if (q6e(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -85314,50 +85923,50 @@ function k6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var w6e = nY("mouseClick"), T6e = IY();
-T6e.startListening({
- actionCreator: w6e,
+var J6e = hY("mouseClick"), Y6e = YY();
+Y6e.startListening({
+ actionCreator: J6e,
effect: (e, t) => {
- var n = e.payload, r = O6(t.getState(), k6(n));
- r?.activeIndex != null && t.dispatch(_Ge({
+ var n = e.payload, r = A6(t.getState(), j6(n));
+ r?.activeIndex != null && t.dispatch(VGe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var A6 = nY("mouseMove"), E6e = IY(), j6 = null, M6 = null, N6 = null;
-E6e.startListening({
- actionCreator: A6,
+var M6 = hY("mouseMove"), X6e = YY(), N6 = null, P6 = null, F6 = null;
+X6e.startListening({
+ actionCreator: M6,
effect: (e, t) => {
var n = e.payload, r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a?.includes("mousemove");
- j6 !== null && (cancelAnimationFrame(j6), j6 = null), M6 !== null && (typeof i != "number" || !o) && (clearTimeout(M6), M6 = null), N6 = k6(n);
+ N6 !== null && (cancelAnimationFrame(N6), N6 = null), P6 !== null && (typeof i != "number" || !o) && (clearTimeout(P6), P6 = null), F6 = j6(n);
var s = () => {
- var e = t.getState(), n = N2(e, e.tooltip.settings.shared);
- if (!N6) j6 = null, M6 = null;
+ var e = t.getState(), n = F2(e, e.tooltip.settings.shared);
+ if (!F6) N6 = null, P6 = null;
else {
if (n === "axis") {
- var r = O6(e, N6);
- r?.activeIndex == null ? t.dispatch(mGe()) : t.dispatch(gGe({
+ var r = A6(e, F6);
+ r?.activeIndex == null ? t.dispatch(RGe()) : t.dispatch(BGe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
- j6 = null, M6 = null;
+ N6 = null, P6 = null;
}
};
- o ? i === "raf" ? j6 = requestAnimationFrame(s) : typeof i == "number" && M6 === null && (M6 = setTimeout(s, i)) : s();
+ o ? i === "raf" ? N6 = requestAnimationFrame(s) : typeof i == "number" && P6 === null && (P6 = setTimeout(s, i)) : s();
}
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function D6e(e, t) {
+function Z6e(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
//#region node_modules/recharts/es6/state/rootPropsSlice.js
-var O6e = {
+var Q6e = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -85369,43 +85978,43 @@ var O6e = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, k6e = dY({
+}, $6e = wY({
name: "rootProps",
- initialState: O6e,
+ initialState: Q6e,
reducers: { updateOptions: (e, t) => {
- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? O6e.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? Q6e.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), A6e = k6e.reducer, j6e = k6e.actions.updateOptions, M6e = dY({
+}), e8e = $6e.reducer, t8e = $6e.actions.updateOptions, n8e = wY({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), N6e = M6e.actions.updatePolarOptions, P6e = M6e.reducer, F6e = nY("keyDown"), I6e = nY("focus"), L6e = nY("blur"), P6 = IY(), F6 = null, I6 = null, L6 = null;
-P6.startListening({
- actionCreator: F6e,
+}), r8e = n8e.actions.updatePolarOptions, i8e = n8e.reducer, a8e = hY("keyDown"), o8e = hY("focus"), s8e = hY("blur"), I6 = YY(), L6 = null, R6 = null, z6 = null;
+I6.startListening({
+ actionCreator: a8e,
effect: (e, t) => {
- L6 = e.payload, F6 !== null && (cancelAnimationFrame(F6), F6 = null);
+ z6 = e.payload, L6 !== null && (cancelAnimationFrame(L6), L6 = null);
var n = t.getState().eventSettings, r = n.throttleDelay, i = n.throttledEvents, a = i === "all" || i.includes("keydown");
- I6 !== null && (typeof r != "number" || !a) && (clearTimeout(I6), I6 = null);
+ R6 !== null && (typeof r != "number" || !a) && (clearTimeout(R6), R6 = null);
var o = () => {
try {
var e = t.getState();
if (e.rootProps.accessibilityLayer === !1) return;
- var n = e.tooltip.keyboardInteraction, r = L6;
+ var n = e.tooltip.keyboardInteraction, r = z6;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
- var i = z2(n, U2(e), o2(e), G2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = K2(e), c = U2(e), l = N2(e, e.tooltip.settings.shared);
+ var i = V2(n, G2(e), c2(e), q2(e)), a = i == null ? -1 : Number(i), o = !Number.isFinite(a) || a < 0, s = J2(e), c = G2(e), l = F2(e, e.tooltip.settings.shared);
if (r === "Enter") {
if (o) return;
- var u = n4(e, l, "hover", String(n.index));
- t.dispatch(L2({
+ var u = i4(e, l, "hover", String(n.index));
+ t.dispatch(z2({
active: !n.active,
activeIndex: n.index,
activeCoordinate: u
}));
return;
}
- var d = eGe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
+ var d = wGe(e) === "left-to-right" ? 1 : -1, f = r === "ArrowRight" ? 1 : -1, p;
if (o) {
- var m = o2(e), h = G2(e), g = f * d, _ = (e) => ({
+ var m = c2(e), h = q2(e), g = f * d, _ = (e) => ({
active: !1,
index: String(e),
dataKey: void 0,
@@ -85413,11 +86022,11 @@ P6.startListening({
coordinate: void 0
});
if (p = -1, g > 0) {
- for (var v = 0; v < c.length; v++) if (z2(_(v), c, m, h) != null) {
+ for (var v = 0; v < c.length; v++) if (V2(_(v), c, m, h) != null) {
p = v;
break;
}
- } else for (var y = c.length - 1; y >= 0; y--) if (z2(_(y), c, m, h) != null) {
+ } else for (var y = c.length - 1; y >= 0; y--) if (V2(_(y), c, m, h) != null) {
p = y;
break;
}
@@ -85427,29 +86036,29 @@ P6.startListening({
var b = s?.length || c.length;
if (b === 0 || p >= b || p < 0) return;
}
- var x = n4(e, l, "hover", String(p));
- t.dispatch(L2({
+ var x = i4(e, l, "hover", String(p));
+ t.dispatch(z2({
active: !0,
activeIndex: p.toString(),
activeCoordinate: x
}));
} finally {
- F6 = null, I6 = null;
+ L6 = null, R6 = null;
}
};
- a ? r === "raf" ? F6 = requestAnimationFrame(o) : typeof r == "number" && I6 === null && (o(), L6 = null, I6 = setTimeout(() => {
- L6 ? o() : (I6 = null, F6 = null);
+ a ? r === "raf" ? L6 = requestAnimationFrame(o) : typeof r == "number" && R6 === null && (o(), z6 = null, R6 = setTimeout(() => {
+ z6 ? o() : (R6 = null, L6 = null);
}, r)) : o();
}
-}), P6.startListening({
- actionCreator: I6e,
+}), I6.startListening({
+ actionCreator: o8e,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var r = n.tooltip.keyboardInteraction;
if (!r.active && r.index == null) {
- var i = "0", a = n4(n, N2(n, n.tooltip.settings.shared), "hover", String(i));
- t.dispatch(L2({
+ var i = "0", a = i4(n, F2(n, n.tooltip.settings.shared), "hover", String(i));
+ t.dispatch(z2({
active: !0,
activeIndex: i,
activeCoordinate: a
@@ -85457,13 +86066,13 @@ P6.startListening({
}
}
}
-}), P6.startListening({
- actionCreator: L6e,
+}), I6.startListening({
+ actionCreator: s8e,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var r = n.tooltip.keyboardInteraction;
- r.active && t.dispatch(L2({
+ r.active && t.dispatch(z2({
active: !1,
activeIndex: r.index,
activeCoordinate: r.coordinate
@@ -85473,7 +86082,7 @@ P6.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function R6e(e) {
+function c8e(e) {
e.persist();
var t = e.currentTarget;
return new Proxy(e, { get: (e, n) => {
@@ -85484,54 +86093,54 @@ function R6e(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var R6 = nY("externalEvent"), z6e = IY(), z6 = /* @__PURE__ */ new Map(), B6 = /* @__PURE__ */ new Map(), V6 = /* @__PURE__ */ new Map();
-z6e.startListening({
- actionCreator: R6,
+var B6 = hY("externalEvent"), l8e = YY(), V6 = /* @__PURE__ */ new Map(), H6 = /* @__PURE__ */ new Map(), U6 = /* @__PURE__ */ new Map();
+l8e.startListening({
+ actionCreator: B6,
effect: (e, t) => {
var n = e.payload, r = n.handler, i = n.reactEvent;
if (r != null) {
- var a = i.type, o = R6e(i);
- V6.set(a, {
+ var a = i.type, o = c8e(i);
+ U6.set(a, {
handler: r,
reactEvent: o
});
- var s = z6.get(a);
- s !== void 0 && (cancelAnimationFrame(s), z6.delete(a));
- var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = B6.get(a);
- f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), B6.delete(a));
+ var s = V6.get(a);
+ s !== void 0 && (cancelAnimationFrame(s), V6.delete(a));
+ var c = t.getState().eventSettings, l = c.throttleDelay, u = c.throttledEvents, d = u === "all" || u?.includes(a), f = H6.get(a);
+ f !== void 0 && (typeof l != "number" || !d) && (clearTimeout(f), H6.delete(a));
var p = () => {
- var e = V6.get(a);
+ var e = U6.get(a);
try {
if (!e) return;
var n = e.handler, r = e.reactEvent, i = t.getState(), o = {
- activeCoordinate: lKe(i),
- activeDataKey: oKe(i),
- activeIndex: X2(i),
- activeLabel: aKe(i),
- activeTooltipIndex: X2(i),
- isTooltipActive: uKe(i)
+ activeCoordinate: NKe(i),
+ activeDataKey: AKe(i),
+ activeIndex: Q2(i),
+ activeLabel: kKe(i),
+ activeTooltipIndex: Q2(i),
+ isTooltipActive: PKe(i)
};
n && n(o, r);
} finally {
- z6.delete(a), B6.delete(a), V6.delete(a);
+ V6.delete(a), H6.delete(a), U6.delete(a);
}
};
if (!d) p();
else if (l === "raf") {
var m = requestAnimationFrame(p);
- z6.set(a, m);
+ V6.set(a, m);
} else if (typeof l == "number") {
- if (!B6.has(a)) {
+ if (!H6.has(a)) {
p();
var h = setTimeout(p, l);
- B6.set(a, h);
+ H6.set(a, h);
}
} else p();
}
}
});
-var B6e = Y([
- Y([B2], (e) => e.tooltipItemPayloads),
+var u8e = Y([
+ Y([H2], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
], (e, t, n) => {
@@ -85542,61 +86151,61 @@ var B6e = Y([
if (i != null) return i(t);
}
}
-}), V6e = nY("touchMove"), H6e = IY(), H6 = null, U6 = null, U6e = null, W6 = null;
-H6e.startListening({
- actionCreator: V6e,
+}), d8e = hY("touchMove"), f8e = YY(), W6 = null, G6 = null, p8e = null, K6 = null;
+f8e.startListening({
+ actionCreator: d8e,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- W6 = R6e(n);
+ K6 = c8e(n);
var r = t.getState().eventSettings, i = r.throttleDelay, a = r.throttledEvents, o = a === "all" || a.includes("touchmove");
- H6 !== null && (cancelAnimationFrame(H6), H6 = null), U6 !== null && (typeof i != "number" || !o) && (clearTimeout(U6), U6 = null), U6e = Array.from(n.touches).map((e) => k6({
+ W6 !== null && (cancelAnimationFrame(W6), W6 = null), G6 !== null && (typeof i != "number" || !o) && (clearTimeout(G6), G6 = null), p8e = Array.from(n.touches).map((e) => j6({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
}));
var s = () => {
- if (W6 != null) {
- var e = t.getState(), n = N2(e, e.tooltip.settings.shared);
+ if (K6 != null) {
+ var e = t.getState(), n = F2(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = U6e?.[0];
+ var r = p8e?.[0];
if (r == null) {
- H6 = null, U6 = null;
+ W6 = null, G6 = null;
return;
}
- var i = O6(e, r);
- i?.activeIndex != null && t.dispatch(gGe({
+ var i = A6(e, r);
+ i?.activeIndex != null && t.dispatch(BGe({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
}));
} else if (n === "item") {
- var a = W6.touches[0];
+ var a = K6.touches[0];
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(wIe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = H2(e).find((e) => e.id === c);
+ var s = o.getAttribute(LIe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = W2(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var u = l.dataKey, d = B6e(e, s, c);
- t.dispatch(fGe({
+ var u = l.dataKey, d = u8e(e, s, c);
+ t.dispatch(IGe({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
activeGraphicalItemId: c
}));
}
- H6 = null, U6 = null;
+ W6 = null, G6 = null;
}
};
- o ? i === "raf" ? H6 = requestAnimationFrame(s) : typeof i == "number" && U6 === null && (s(), W6 = null, U6 = setTimeout(() => {
- W6 ? s() : (U6 = null, H6 = null);
+ o ? i === "raf" ? W6 = requestAnimationFrame(s) : typeof i == "number" && G6 === null && (s(), K6 = null, G6 = setTimeout(() => {
+ K6 ? s() : (G6 = null, W6 = null);
}, i)) : s();
}
}
});
//#endregion
//#region node_modules/recharts/es6/state/eventSettingsSlice.js
-var G6 = {
+var q6 = {
throttleDelay: "raf",
throttledEvents: [
"mousemove",
@@ -85605,33 +86214,33 @@ var G6 = {
"scroll",
"wheel"
]
-}, W6e = dY({
+}, m8e = wY({
name: "eventSettings",
- initialState: G6,
+ initialState: q6,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = eY(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = pY(t.payload.throttledEvents));
} }
-}), G6e = W6e.actions.setEventSettings, K6e = W6e.reducer, q6e = Uq({
- brush: v1e,
- cartesianAxis: CQe,
- chartData: vqe,
- errorBars: b2e,
- eventSettings: K6e,
- graphicalItems: ZZe,
- layout: dIe,
- legend: oLe,
- options: fqe,
- polarAxis: _Xe,
- polarOptions: P6e,
- referenceElements: E1e,
- renderedTicks: y0e,
- rootProps: A6e,
- tooltip: vGe,
- zIndex: $Ke
-}), J6e = function(e) {
+}), h8e = m8e.actions.setEventSettings, g8e = m8e.reducer, _8e = nJ({
+ brush: H1e,
+ cartesianAxis: qQe,
+ chartData: Hqe,
+ errorBars: W2e,
+ eventSettings: g8e,
+ graphicalItems: xQe,
+ layout: wIe,
+ legend: yLe,
+ options: Iqe,
+ polarAxis: VXe,
+ polarOptions: i8e,
+ referenceElements: X1e,
+ renderedTicks: U0e,
+ rootProps: e8e,
+ tooltip: HGe,
+ zIndex: Cqe
+}), v8e = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return LFe({
- reducer: q6e,
+ return XFe({
+ reducer: _8e,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -85641,40 +86250,40 @@ var G6 = {
"production"
].includes("es6")
}).concat([
- T6e.middleware,
- E6e.middleware,
- P6.middleware,
- z6e.middleware,
- H6e.middleware
+ Y6e.middleware,
+ X6e.middleware,
+ I6.middleware,
+ l8e.middleware,
+ f8e.middleware
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(lY({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(SY({ type: "raf" }));
},
- devTools: oZ.devToolsEnabled && {
- serialize: { replacer: D6e },
+ devTools: yZ.devToolsEnabled && {
+ serialize: { replacer: Z6e },
name: `recharts-${t}`
}
});
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function Y6e(e) {
- var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = hX(), a = (0, b.useRef)(null);
+function y8e(e) {
+ var t = e.preloadedState, n = e.children, r = e.reduxStoreName, i = OX(), a = (0, b.useRef)(null);
if (i) return n;
- a.current ??= J6e(t, r);
- var o = bq;
- return /*#__PURE__*/ b.createElement(bLe, {
+ a.current ??= v8e(t, r);
+ var o = Nq;
+ return /*#__PURE__*/ b.createElement(NLe, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function X6e(e) {
- var t = e.layout, n = e.margin, r = xq(), i = hX();
+function b8e(e) {
+ var t = e.layout, n = e.margin, r = Pq(), i = OX();
return (0, b.useEffect)(() => {
- i || (r(cIe(t)), r(sIe(n)));
+ i || (r(xIe(t)), r(bIe(n)));
}, [
r,
i,
@@ -85682,31 +86291,31 @@ function X6e(e) {
n
]), null;
}
-var Z6e = /*#__PURE__*/ (0, b.memo)(X6e, qX);
+var x8e = /*#__PURE__*/ (0, b.memo)(b8e, oZ);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function Q6e(e) {
- var t = xq();
+function S8e(e) {
+ var t = Pq();
return (0, b.useEffect)(() => {
- t(j6e(e));
+ t(t8e(e));
}, [t, e]), null;
}
-var $6e = /*#__PURE__*/ (0, b.memo)((e) => {
- var t = xq();
+var C8e = /*#__PURE__*/ (0, b.memo)((e) => {
+ var t = Pq();
return (0, b.useEffect)(() => {
- t(G6e(e));
+ t(h8e(e));
}, [t, e]), null;
-}, qX);
+}, oZ);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function e8e(e) {
- var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = xq();
- return (0, b.useLayoutEffect)(() => (r.current && i(ZKe({
+function w8e(e) {
+ var t = e.zIndex, n = e.isPanorama, r = (0, b.useRef)(null), i = Pq();
+ return (0, b.useLayoutEffect)(() => (r.current && i(xqe({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(QKe({
+ i(Sqe({
zIndex: t,
isPanorama: n
}));
@@ -85720,15 +86329,15 @@ function e8e(e) {
className: `recharts-zIndex-layer_${t}`
});
}
-function t8e(e) {
- var t = e.children, n = e.isPanorama, r = J(BKe);
+function T8e(e) {
+ var t = e.children, n = e.isPanorama, r = J(uqe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(e8e, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, i.map((e) => /*#__PURE__*/ b.createElement(w8e, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ b.createElement(e8e, {
+ })), t, a.map((e) => /*#__PURE__*/ b.createElement(w8e, {
key: e,
zIndex: e,
isPanorama: n
@@ -85736,17 +86345,17 @@ function t8e(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var n8e = ["children"];
-function r8e(e, t) {
+var E8e = ["children"];
+function D8e(e, t) {
if (e == null) return {};
- var n, r, i = i8e(e, t);
+ var n, r, i = O8e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function i8e(e, t) {
+function O8e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -85755,68 +86364,68 @@ function i8e(e, t) {
}
return n;
}
-function K6() {
- return K6 = Object.assign ? Object.assign.bind() : function(e) {
+function J6() {
+ return J6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, K6.apply(null, arguments);
+ }, J6.apply(null, arguments);
}
-var a8e = {
+var k8e = {
width: "100%",
height: "100%",
display: "block"
-}, o8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = jX(), r = MX(), i = fZ();
- if (!HY(n) || !HY(r)) return null;
+}, A8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = WX(), r = GX(), i = TZ();
+ if (!tX(n) || !tX(r)) return null;
var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ b.createElement(XW, K6({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ b.createElement(lG, J6({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: a8e,
+ style: k8e,
ref: t
}), a);
-}), s8e = (e) => {
- var t = e.children, n = J(_X);
+}), j8e = (e) => {
+ var t = e.children, n = J(AX);
if (!n) return null;
var r = n.width, i = n.height, a = n.y, o = n.x;
- return /*#__PURE__*/ b.createElement(XW, {
+ return /*#__PURE__*/ b.createElement(lG, {
width: r,
height: i,
x: o,
y: a
}, t);
-}, c8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = r8e(e, n8e);
- return hX() ? /*#__PURE__*/ b.createElement(s8e, null, /*#__PURE__*/ b.createElement(t8e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(o8e, K6({ ref: t }, r), /*#__PURE__*/ b.createElement(t8e, { isPanorama: !1 }, n));
+}, M8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.children, r = D8e(e, E8e);
+ return OX() ? /*#__PURE__*/ b.createElement(j8e, null, /*#__PURE__*/ b.createElement(T8e, { isPanorama: !0 }, n)) : /*#__PURE__*/ b.createElement(A8e, J6({ ref: t }, r), /*#__PURE__*/ b.createElement(T8e, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function l8e(e, t) {
- return m8e(e) || p8e(e, t) || d8e(e, t) || u8e();
+function N8e(e, t) {
+ return R8e(e) || L8e(e, t) || F8e(e, t) || P8e();
}
-function u8e() {
+function P8e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function d8e(e, t) {
+function F8e(e, t) {
if (e) {
- if (typeof e == "string") return f8e(e, t);
+ if (typeof e == "string") return I8e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? f8e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? I8e(e, t) : void 0;
}
}
-function f8e(e, t) {
+function I8e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function p8e(e, t) {
+function L8e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -85837,15 +86446,15 @@ function p8e(e, t) {
return s;
}
}
-function m8e(e) {
+function R8e(e) {
if (Array.isArray(e)) return e;
}
-function h8e() {
- var e = xq(), t = l8e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(CIe);
+function z8e() {
+ var e = Pq(), t = N8e((0, b.useState)(null), 2), n = t[0], r = t[1], i = J(IIe);
return (0, b.useEffect)(() => {
if (n != null) {
var t = n.getBoundingClientRect().width / n.offsetWidth;
- VY(t) && t !== i && e(uIe(t));
+ eX(t) && t !== i && e(CIe(t));
}
}, [
n,
@@ -85855,7 +86464,7 @@ function h8e() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function g8e(e, t) {
+function B8e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -85865,30 +86474,30 @@ function g8e(e, t) {
}
return n;
}
-function _8e(e) {
+function V8e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? g8e(Object(n), !0).forEach(function(t) {
- v8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g8e(Object(n)).forEach(function(t) {
+ t % 2 ? B8e(Object(n), !0).forEach(function(t) {
+ H8e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B8e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function v8e(e, t, n) {
- return (t = y8e(t)) in e ? Object.defineProperty(e, t, {
+function H8e(e, t, n) {
+ return (t = U8e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function y8e(e) {
- var t = b8e(e, "string");
+function U8e(e) {
+ var t = W8e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function b8e(e, t) {
+function W8e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -85898,34 +86507,34 @@ function b8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function q6() {
- return q6 = Object.assign ? Object.assign.bind() : function(e) {
+function Y6() {
+ return Y6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, q6.apply(null, arguments);
+ }, Y6.apply(null, arguments);
}
-function J6(e, t) {
- return T8e(e) || w8e(e, t) || S8e(e, t) || x8e();
+function X6(e, t) {
+ return Y8e(e) || J8e(e, t) || K8e(e, t) || G8e();
}
-function x8e() {
+function G8e() {
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
-function S8e(e, t) {
+function K8e(e, t) {
if (e) {
- if (typeof e == "string") return C8e(e, t);
+ if (typeof e == "string") return q8e(e, t);
var n = {}.toString.call(e).slice(8, -1);
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? C8e(e, t) : void 0;
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? q8e(e, t) : void 0;
}
}
-function C8e(e, t) {
+function q8e(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
return r;
}
-function w8e(e, t) {
+function J8e(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, i, a, o, s = [], c = !0, l = !1;
@@ -85946,11 +86555,11 @@ function w8e(e, t) {
return s;
}
}
-function T8e(e) {
+function Y8e(e) {
if (Array.isArray(e)) return e;
}
-var E8e = () => (Oqe(), null);
-function Y6(e) {
+var X8e = () => (Qqe(), null);
+function Z6(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
var t = parseFloat(e);
@@ -85958,10 +86567,10 @@ function Y6(e) {
}
return 0;
}
-var D8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = (0, b.useRef)(null), r = J6((0, b.useState)({
- containerWidth: Y6(e.style?.width),
- containerHeight: Y6(e.style?.height)
+var Z8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = (0, b.useRef)(null), r = X6((0, b.useState)({
+ containerWidth: Z6(e.style?.width),
+ containerHeight: Z6(e.style?.height)
}), 2), i = r[0], a = r[1], o = (0, b.useCallback)((e, t) => {
a((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -85986,14 +86595,14 @@ var D8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
}, [t, o]);
return (0, b.useEffect)(() => () => {
n.current?.disconnect();
- }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(RX, {
+ }, [o]), /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: i.containerWidth,
height: i.containerHeight
- }), /*#__PURE__*/ b.createElement("div", q6({ ref: s }, e)));
-}), O8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = J6((0, b.useState)({
- containerWidth: Y6(n),
- containerHeight: Y6(r)
+ }), /*#__PURE__*/ b.createElement("div", Y6({ ref: s }, e)));
+}), Q8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.width, r = e.height, i = X6((0, b.useState)({
+ containerWidth: Z6(n),
+ containerHeight: Z6(r)
}), 2), a = i[0], o = i[1], s = (0, b.useCallback)((e, t) => {
o((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -86008,32 +86617,32 @@ var D8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
s(r, i);
}
}, [t, s]);
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(RX, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: a.containerWidth,
height: a.containerHeight
- }), /*#__PURE__*/ b.createElement("div", q6({ ref: c }, e)));
-}), k8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ b.createElement("div", Y6({ ref: c }, e)));
+}), $8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.width, r = e.height;
- return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(RX, {
+ return /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: n,
height: r
- }), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));
-}), A8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ b.createElement("div", Y6({ ref: t }, e)));
+}), e5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
var n = e.width, r = e.height;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement(O8e, q6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement(k8e, q6({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ b.createElement(Q8e, Y6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ b.createElement($8e, Y6({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(RX, {
+ })) : /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: n,
height: r
- }), /*#__PURE__*/ b.createElement("div", q6({ ref: t }, e)));
+ }), /*#__PURE__*/ b.createElement("div", Y6({ ref: t }, e)));
});
-function j8e(e) {
- return e ? D8e : A8e;
+function t5e(e) {
+ return e ? Z8e : e5e;
}
-var M8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = xq(), w = J6((0, b.useState)(null), 2), T = w[0], E = w[1], D = J6((0, b.useState)(null), 2), O = D[0], k = D[1], A = h8e(), j = DX(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {
+var n5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.children, r = e.className, i = e.height, a = e.onClick, o = e.onContextMenu, s = e.onDoubleClick, c = e.onMouseDown, l = e.onMouseEnter, u = e.onMouseLeave, d = e.onMouseMove, f = e.onMouseUp, p = e.onTouchEnd, m = e.onTouchMove, h = e.onTouchStart, g = e.style, _ = e.width, v = e.responsive, y = e.dispatchTouchEvents, x = y === void 0 || y, S = (0, b.useRef)(null), C = Pq(), w = X6((0, b.useState)(null), 2), T = w[0], E = w[1], D = X6((0, b.useState)(null), 2), O = D[0], k = D[1], A = z8e(), j = BX(), M = j?.width > 0 ? j.width : _, N = j?.height > 0 ? j.height : i, P = (0, b.useCallback)((e) => {
A(e), typeof t == "function" && t(e), E(e), k(e), e != null && (S.current = e);
}, [
A,
@@ -86041,58 +86650,58 @@ var M8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
E,
k
]), ee = (0, b.useCallback)((e) => {
- C(w6e(e)), C(R6({
+ C(J6e(e)), C(B6({
handler: a,
reactEvent: e
}));
}, [C, a]), F = (0, b.useCallback)((e) => {
- C(A6(e)), C(R6({
+ C(M6(e)), C(B6({
handler: l,
reactEvent: e
}));
}, [C, l]), te = (0, b.useCallback)((e) => {
- C(mGe()), C(R6({
+ C(RGe()), C(B6({
handler: u,
reactEvent: e
}));
}, [C, u]), ne = (0, b.useCallback)((e) => {
- C(A6(e)), C(R6({
+ C(M6(e)), C(B6({
handler: d,
reactEvent: e
}));
}, [C, d]), re = (0, b.useCallback)(() => {
- C(I6e());
+ C(o8e());
}, [C]), ie = (0, b.useCallback)(() => {
- C(L6e());
+ C(s8e());
}, [C]), ae = (0, b.useCallback)((e) => {
- C(F6e(e.key));
+ C(a8e(e.key));
}, [C]), oe = (0, b.useCallback)((e) => {
- C(R6({
+ C(B6({
handler: o,
reactEvent: e
}));
}, [C, o]), se = (0, b.useCallback)((e) => {
- C(R6({
+ C(B6({
handler: s,
reactEvent: e
}));
}, [C, s]), ce = (0, b.useCallback)((e) => {
- C(R6({
+ C(B6({
handler: c,
reactEvent: e
}));
}, [C, c]), le = (0, b.useCallback)((e) => {
- C(R6({
+ C(B6({
handler: f,
reactEvent: e
}));
}, [C, f]), ue = (0, b.useCallback)((e) => {
- C(R6({
+ C(B6({
handler: h,
reactEvent: e
}));
}, [C, h]), de = (0, b.useCallback)((e) => {
- x && C(V6e(e)), C(R6({
+ x && C(d8e(e)), C(B6({
handler: m,
reactEvent: e
}));
@@ -86101,16 +86710,16 @@ var M8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
x,
m
]), fe = (0, b.useCallback)((e) => {
- C(R6({
+ C(B6({
handler: p,
reactEvent: e
}));
- }, [C, p]), pe = j8e(v);
- return /*#__PURE__*/ b.createElement(sqe.Provider, { value: T }, /*#__PURE__*/ b.createElement(DG.Provider, { value: O }, /*#__PURE__*/ b.createElement(pe, {
+ }, [C, p]), pe = t5e(v);
+ return /*#__PURE__*/ b.createElement(jqe.Provider, { value: T }, /*#__PURE__*/ b.createElement(BG.Provider, { value: O }, /*#__PURE__*/ b.createElement(pe, {
width: M ?? g?.width,
height: N ?? g?.height,
className: Cv("recharts-wrapper", r),
- style: _8e({
+ style: V8e({
position: "relative",
cursor: "default",
width: M,
@@ -86131,8 +86740,8 @@ var M8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
onTouchMove: de,
onTouchStart: ue,
ref: P
- }, /*#__PURE__*/ b.createElement(E8e, null), n)));
-}), N8e = [
+ }, /*#__PURE__*/ b.createElement(X8e, null), n)));
+}), r5e = [
"width",
"height",
"responsive",
@@ -86143,16 +86752,16 @@ var M8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
"title",
"desc"
];
-function P8e(e, t) {
+function i5e(e, t) {
if (e == null) return {};
- var n, r, i = F8e(e, t);
+ var n, r, i = a5e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function F8e(e, t) {
+function a5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -86161,16 +86770,16 @@ function F8e(e, t) {
}
return n;
}
-var I8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = KW(P8e(e, N8e));
- return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(RX, {
+var o5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = aG(i5e(e, r5e));
+ return c ? /*#__PURE__*/ b.createElement(b.Fragment, null, /*#__PURE__*/ b.createElement(ZX, {
width: n,
height: r
- }), /*#__PURE__*/ b.createElement(c8e, {
+ }), /*#__PURE__*/ b.createElement(M8e, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ b.createElement(M8e, {
+ }, a)) : /*#__PURE__*/ b.createElement(n5e, {
className: o,
style: s,
width: n,
@@ -86187,25 +86796,25 @@ var I8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ b.createElement(c8e, {
+ }, /*#__PURE__*/ b.createElement(M8e, {
otherAttributes: d,
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ b.createElement(P1e, null, a)));
+ }, /*#__PURE__*/ b.createElement(i0e, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
-function X6() {
- return X6 = Object.assign ? Object.assign.bind() : function(e) {
+function Q6() {
+ return Q6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, X6.apply(null, arguments);
+ }, Q6.apply(null, arguments);
}
-function L8e(e, t) {
+function s5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86215,30 +86824,30 @@ function L8e(e, t) {
}
return n;
}
-function R8e(e) {
+function c5e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? L8e(Object(n), !0).forEach(function(t) {
- z8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L8e(Object(n)).forEach(function(t) {
+ t % 2 ? s5e(Object(n), !0).forEach(function(t) {
+ l5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function z8e(e, t, n) {
- return (t = B8e(t)) in e ? Object.defineProperty(e, t, {
+function l5e(e, t, n) {
+ return (t = u5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function B8e(e) {
- var t = V8e(e, "string");
+function u5e(e) {
+ var t = d5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function V8e(e, t) {
+function d5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86248,7 +86857,7 @@ function V8e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var H8e = R8e({
+var f5e = c5e({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -86263,24 +86872,24 @@ var H8e = R8e({
reverseStackOrder: !1,
stackOffset: "none",
syncMethod: "index"
-}, G6), Z6 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = OK(e.categoricalChartProps, H8e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
+}, q6), $6 = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ var n = VK(e.categoricalChartProps, f5e), r = e.chartName, i = e.defaultTooltipEventType, a = e.validateTooltipEventTypes, o = e.tooltipPayloadSearcher, s = e.categoricalChartProps, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ b.createElement(Y6e, {
+ return /*#__PURE__*/ b.createElement(y8e, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ b.createElement(h1e, { chartData: s.data }), /*#__PURE__*/ b.createElement(Z6e, {
+ }, /*#__PURE__*/ b.createElement(z1e, { chartData: s.data }), /*#__PURE__*/ b.createElement(x8e, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ b.createElement($6e, {
+ }), /*#__PURE__*/ b.createElement(C8e, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ b.createElement(Q6e, {
+ }), /*#__PURE__*/ b.createElement(S8e, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -86292,52 +86901,52 @@ var H8e = R8e({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ b.createElement(I8e, X6({}, n, { ref: t })));
-}), U8e = ["axis"], W8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {
+ }), /*#__PURE__*/ b.createElement(o5e, Q6({}, n, { ref: t })));
+}), p5e = ["axis"], m5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement($6, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: U8e,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: p5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: e,
ref: t
-})), G8e = ["axis", "item"], K8e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {
+})), h5e = ["axis", "item"], g5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement($6, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: G8e,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: h5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function q8e(e) {
- var t = xq();
+function _5e(e) {
+ var t = Pq();
return (0, b.useEffect)(() => {
- t(N6e(e));
+ t(r8e(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var J8e = ["layout"];
-function Q6() {
- return Q6 = Object.assign ? Object.assign.bind() : function(e) {
+var v5e = ["layout"];
+function e8() {
+ return e8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Q6.apply(null, arguments);
+ }, e8.apply(null, arguments);
}
-function Y8e(e, t) {
+function y5e(e, t) {
if (e == null) return {};
- var n, r, i = X8e(e, t);
+ var n, r, i = b5e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function X8e(e, t) {
+function b5e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -86346,7 +86955,7 @@ function X8e(e, t) {
}
return n;
}
-function Z8e(e, t) {
+function x5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86356,30 +86965,30 @@ function Z8e(e, t) {
}
return n;
}
-function Q8e(e) {
+function S5e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Z8e(Object(n), !0).forEach(function(t) {
- $8e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z8e(Object(n)).forEach(function(t) {
+ t % 2 ? x5e(Object(n), !0).forEach(function(t) {
+ C5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $8e(e, t, n) {
- return (t = e5e(t)) in e ? Object.defineProperty(e, t, {
+function C5e(e, t, n) {
+ return (t = w5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function e5e(e) {
- var t = t5e(e, "string");
+function w5e(e) {
+ var t = T5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function t5e(e, t) {
+function T5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86389,7 +86998,7 @@ function t5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $6 = Q8e({
+var t8 = S5e({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -86408,24 +87017,24 @@ var $6 = Q8e({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, G6), n5e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
- var n = OK(e.categoricalChartProps, $6), r = n.layout, i = Y8e(n, J8e), a = e.chartName, o = {
+}, q6), E5e = /*#__PURE__*/ (0, b.forwardRef)(function(e, t) {
+ var n = VK(e.categoricalChartProps, t8), r = n.layout, i = y5e(n, v5e), a = e.chartName, o = {
chartName: a,
defaultTooltipEventType: e.defaultTooltipEventType,
validateTooltipEventTypes: e.validateTooltipEventTypes,
tooltipPayloadSearcher: e.tooltipPayloadSearcher,
eventEmitter: void 0
};
- return /*#__PURE__*/ b.createElement(Y6e, {
+ return /*#__PURE__*/ b.createElement(y8e, {
preloadedState: { options: o },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ b.createElement(h1e, { chartData: n.data }), /*#__PURE__*/ b.createElement(Z6e, {
+ }, /*#__PURE__*/ b.createElement(z1e, { chartData: n.data }), /*#__PURE__*/ b.createElement(x8e, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ b.createElement($6e, {
+ }), /*#__PURE__*/ b.createElement(C8e, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ b.createElement(Q6e, {
+ }), /*#__PURE__*/ b.createElement(S8e, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -86437,18 +87046,18 @@ var $6 = Q8e({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ b.createElement(q8e, {
+ }), /*#__PURE__*/ b.createElement(_5e, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ b.createElement(I8e, Q6({}, i, { ref: t })));
+ }), /*#__PURE__*/ b.createElement(o5e, e8({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function r5e(e, t) {
+function D5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86458,30 +87067,30 @@ function r5e(e, t) {
}
return n;
}
-function i5e(e) {
+function O5e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? r5e(Object(n), !0).forEach(function(t) {
- a5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r5e(Object(n)).forEach(function(t) {
+ t % 2 ? D5e(Object(n), !0).forEach(function(t) {
+ k5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function a5e(e, t, n) {
- return (t = o5e(t)) in e ? Object.defineProperty(e, t, {
+function k5e(e, t, n) {
+ return (t = A5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function o5e(e) {
- var t = s5e(e, "string");
+function A5e(e) {
+ var t = j5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function s5e(e, t) {
+function j5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86491,31 +87100,31 @@ function s5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var c5e = ["axis"], l5e = i5e(i5e({}, $6), {}, {
+var M5e = ["axis"], N5e = O5e(O5e({}, t8), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), u5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = OK(e, l5e);
- return /*#__PURE__*/ b.createElement(n5e, {
+}), P5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = VK(e, N5e);
+ return /*#__PURE__*/ b.createElement(E5e, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: c5e,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: M5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: n,
ref: t
});
-}), d5e = ["axis"], f5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement(Z6, {
+}), F5e = ["axis"], I5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => /*#__PURE__*/ b.createElement($6, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: d5e,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: F5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function p5e(e, t) {
+function L5e(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -86525,30 +87134,30 @@ function p5e(e, t) {
}
return n;
}
-function m5e(e) {
+function R5e(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? p5e(Object(n), !0).forEach(function(t) {
- h5e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p5e(Object(n)).forEach(function(t) {
+ t % 2 ? L5e(Object(n), !0).forEach(function(t) {
+ z5e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L5e(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function h5e(e, t, n) {
- return (t = g5e(t)) in e ? Object.defineProperty(e, t, {
+function z5e(e, t, n) {
+ return (t = B5e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function g5e(e) {
- var t = _5e(e, "string");
+function B5e(e) {
+ var t = V5e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _5e(e, t) {
+function V5e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -86558,59 +87167,59 @@ function _5e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var v5e = ["axis", "item"], y5e = m5e(m5e({}, $6), {}, {
+var H5e = ["axis", "item"], U5e = R5e(R5e({}, t8), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), b5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
- var n = OK(e, y5e);
- return /*#__PURE__*/ b.createElement(n5e, {
+}), W5e = /*#__PURE__*/ (0, b.forwardRef)((e, t) => {
+ var n = VK(e, U5e);
+ return /*#__PURE__*/ b.createElement(E5e, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: v5e,
- tooltipPayloadSearcher: u4,
+ validateTooltipEventTypes: H5e,
+ tooltipPayloadSearcher: f4,
categoricalChartProps: n,
ref: t
});
});
//#endregion
//#region src/react/charts/cn.ts
-function e8(...e) {
- return tk(Cv(e));
+function n8(...e) {
+ return nk(Cv(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var x5e = {
+var G5e = {
light: "",
dark: ".dark"
-}, t8 = Object.keys(x5e);
-function S5e(e) {
- for (let [t, n] of Object.entries(e)) if (n.colors && !t8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${t8.join(", ")}). Received empty object or invalid keys.`);
+}, r8 = Object.keys(G5e);
+function K5e(e) {
+ for (let [t, n] of Object.entries(e)) if (n.colors && !r8.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${r8.join(", ")}). Received empty object or invalid keys.`);
}
-var C5e = b.createContext(null);
-function n8() {
- let e = b.useContext(C5e);
+var q5e = b.createContext(null);
+function i8() {
+ let e = b.useContext(q5e);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
-function r8({ id: e, config: t, initialDimension: n = {
+function a8({ id: e, config: t, initialDimension: n = {
width: 320,
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = b.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return S5e(t), /* @__PURE__ */ (0, x.jsx)(C5e.Provider, {
+ return K5e(t), /* @__PURE__ */ (0, x.jsx)(q5e.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, x.jsxs)("div", {
"data-slot": "chart",
"data-chart": c,
- className: e8("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
+ className: n8("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
...o,
children: [
- /* @__PURE__ */ (0, x.jsx)(T5e, {
+ /* @__PURE__ */ (0, x.jsx)(Y5e, {
id: c,
config: t
}),
- /* @__PURE__ */ (0, x.jsx)(OX, {
+ /* @__PURE__ */ (0, x.jsx)(VX, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -86620,7 +87229,7 @@ function r8({ id: e, config: t, initialDimension: n = {
})
});
}
-function i8({ isLoading: e }) {
+function o8({ isLoading: e }) {
return e ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",
children: /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -86629,7 +87238,7 @@ function i8({ isLoading: e }) {
})
}) : null;
}
-function w5e(e, t) {
+function J5e(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -86639,46 +87248,46 @@ function w5e(e, t) {
}
return r;
}
-var T5e = ({ id: e, config: t }) => {
+var Y5e = ({ id: e, config: t }) => {
let n = Object.entries(t).filter(([, e]) => e.colors);
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : w5e(r, o8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(x5e).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : J5e(r, c8(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ }).filter(Boolean).join("\n"), i = Object.entries(G5e).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, x.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
-function a8(e, t, n) {
+function s8(e, t, n) {
if (typeof t != "object" || !t) return;
let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
}
-function o8(e) {
+function c8(e) {
if (!e.colors) return 1;
- let t = t8.map((t) => e.colors?.[t]?.length ?? 0);
+ let t = r8.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var E5e = (e = 10, t = 0, n = 70) => {
+var X5e = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, D5e = {
+}, Z5e = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, O5e = {
+}, Q5e = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
-function s8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
- let { config: h } = n8(), g = b.useMemo(() => {
+function l8({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
+ let { config: h } = i8(), g = b.useMemo(() => {
if (i || !t?.length) return null;
- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = a8(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = s8(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
return s ? /* @__PURE__ */ (0, x.jsx)("div", {
- className: e8("font-medium", c),
+ className: n8("font-medium", c),
children: s(a, t)
}) : a ? /* @__PURE__ */ (0, x.jsx)("div", {
- className: e8("font-medium", c),
+ className: n8("font-medium", c),
children: a
}) : null;
}, [
@@ -86693,23 +87302,23 @@ function s8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: e8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", D5e[p], O5e[m], n),
+ className: n8("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Z5e[p], Q5e[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, x.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
- let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = a8(h, e, n), o = i ? o8(i) : 1;
+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = s8(h, e, n), o = i ? c8(i) : 1;
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: e8("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
+ className: n8("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, x.jsx)("div", {
- className: e8("shrink-0 rounded-[2px]", {
+ className: n8("shrink-0 rounded-[2px]", {
"h-2.5 w-2.5": r === "dot",
"w-1": r === "line",
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: k5e(n, o)
+ style: $5e(n, o)
}), /* @__PURE__ */ (0, x.jsxs)("div", {
- className: e8("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
+ className: n8("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "grid gap-1.5",
children: [_ ? g : null, /* @__PURE__ */ (0, x.jsx)("span", {
@@ -86726,27 +87335,27 @@ function s8({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function k5e(e, t) {
+function $5e(e, t) {
return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-var c8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(Gqe, {
+var u8 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, x.jsx)(hJe, {
animationDuration: e,
...t
});
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-legend.tsx
-function l8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
- let { config: u } = n8();
+function d8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
+ let { config: u } = i8();
return r?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
- className: e8("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
+ className: n8("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
children: r.filter((e) => e.type !== "none").map((e) => {
- let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = a8(u, e, r), a = o === null || o === r, d = i ? o8(i) : 1;
+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = s8(u, e, r), a = o === null || o === r, d = i ? c8(i) : 1;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: e8("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
+ className: n8("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(A5e, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, x.jsx)(i.icon, {}) : /* @__PURE__ */ (0, x.jsx)(e7e, {
variant: l,
dataKey: r,
colorsCount: d
@@ -86755,8 +87364,8 @@ function l8({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function A5e({ variant: e, dataKey: t, colorsCount: n }) {
- let r = j5e(t, n), i = M5e(t, n);
+function e7e({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = t7e(t, n), i = n7e(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, x.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -86788,10 +87397,10 @@ function A5e({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function j5e(e, t) {
+function t7e(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function M5e(e, t) {
+function n7e(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -86806,12 +87415,12 @@ function M5e(e, t) {
...n
};
}
-var u8 = QX, d8 = () => null, N5e = {
+var f8 = dZ, p8 = () => null, r7e = {
stiffness: 300,
damping: 35,
mass: .8
};
-function P5e({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function i7e({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = b.useRef(null), [a, o] = b.useState(!1), s = (0, b.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, b.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -86857,7 +87466,7 @@ function P5e({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function F5e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: S = !1 }) {
+function a7e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: S = !1 }) {
let C = b.useRef(null), w = b.useMemo(() => n ?? Object.keys(t), [n, t]), T = e.length, E = b.useId().replace(/:/g, ""), D = d !== void 0 && f !== void 0, [O, k] = b.useState(() => ({
startIndex: Math.max(0, Math.min(p, T - 1)),
endIndex: Math.max(0, Math.min(m ?? T - 1, T - 1))
@@ -86891,7 +87500,7 @@ function F5e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [T, v]), { isDragging: M, bind: N } = P5e({
+ }, [T, v]), { isDragging: M, bind: N } = i7e({
range: O,
totalPoints: T,
containerRef: C,
@@ -86918,7 +87527,7 @@ function F5e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]);
let ee = T > 1 ? P.startIndex / (T - 1) * 100 : 0, F = T > 1 ? P.endIndex / (T - 1) * 100 : 100, te = c_(ee), ne = c_(F);
te.get() !== ee && te.set(ee), ne.get() !== F && ne.set(F);
- let re = f_(te, N5e), ie = f_(ne, N5e), ae = u_(re, (e) => `${e}%`), oe = u_(ie, (e) => `${e}%`), se = u_(re, (e) => `${e}%`), ce = u_(ie, (e) => `${Math.max(0, 100 - e)}%`), le = c_(`${Math.max(0, F - ee)}%`), ue = (0, b.useCallback)(() => {
+ let re = f_(te, r7e), ie = f_(ne, r7e), ae = u_(re, (e) => `${e}%`), oe = u_(ie, (e) => `${e}%`), se = u_(re, (e) => `${e}%`), ce = u_(ie, (e) => `${Math.max(0, 100 - e)}%`), le = c_(`${Math.max(0, F - ee)}%`), ue = (0, b.useCallback)(() => {
le.set(`${Math.max(0, ie.get() - re.get())}%`);
}, [
re,
@@ -86938,16 +87547,16 @@ function F5e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
return T === 0 ? null : /* @__PURE__ */ (0, x.jsxs)("div", {
ref: C,
"data-chart": S ? void 0 : E,
- className: e8("group relative select-none", o),
+ className: n8("group relative select-none", o),
style: { height: a },
children: [
- !S && /* @__PURE__ */ (0, x.jsx)(T5e, {
+ !S && /* @__PURE__ */ (0, x.jsx)(Y5e, {
id: E,
config: t
}),
/* @__PURE__ */ (0, x.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, x.jsx)(L5e, {
+ children: /* @__PURE__ */ (0, x.jsx)(s7e, {
data: e,
keys: w,
chartConfig: t,
@@ -86976,13 +87585,13 @@ function F5e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...N("middle")
}),
- /* @__PURE__ */ (0, x.jsx)(I5e, {
+ /* @__PURE__ */ (0, x.jsx)(o7e, {
side: "left",
position: ae,
label: y ? de(P.startIndex) : void 0,
bind: N("left")
}),
- /* @__PURE__ */ (0, x.jsx)(I5e, {
+ /* @__PURE__ */ (0, x.jsx)(o7e, {
side: "right",
position: oe,
label: y ? de(P.endIndex) : void 0,
@@ -86991,16 +87600,16 @@ function F5e({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function I5e({ side: e, position: t, label: n, bind: r }) {
+function o7e({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
return /* @__PURE__ */ (0, x.jsxs)(p_.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, x.jsx)("div", {
- className: e8("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
+ className: n8("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
...r,
children: /* @__PURE__ */ (0, x.jsx)("div", {
- className: e8("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
+ className: n8("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-[2px]",
children: [
@@ -87011,15 +87620,15 @@ function I5e({ side: e, position: t, label: n, bind: r }) {
})
})
}), n && /* @__PURE__ */ (0, x.jsx)("div", {
- className: e8("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
+ className: n8("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
children: n
})]
});
}
-function L5e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function s7e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = b.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
- colorsCount: o8(t)
+ colorsCount: c8(t)
})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${a}-zm-vertical-fade`,
x1: "0",
@@ -87073,10 +87682,10 @@ function L5e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, x.jsx)(OX, {
+ if (r === "line") return /* @__PURE__ */ (0, x.jsx)(VX, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, x.jsxs)(W8e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(m5e, {
data: e,
margin: {
top: 4,
@@ -87084,7 +87693,7 @@ function L5e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(r4e, {
+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(D4e, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -87100,10 +87709,10 @@ function L5e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, x.jsx)(OX, {
+ return /* @__PURE__ */ (0, x.jsx)(VX, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, x.jsxs)(K8e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(g5e, {
data: e,
margin: {
top: 2,
@@ -87113,7 +87722,7 @@ function L5e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
},
barGap: 2,
barSize: 14,
- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(C6, {
+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(T6, {
dataKey: e,
fill: `url(#${a}-zm-${e})`,
fillOpacity: .35,
@@ -87129,10 +87738,10 @@ function L5e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, x.jsx)(OX, {
+ return /* @__PURE__ */ (0, x.jsx)(VX, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, x.jsxs)(f5e, {
+ children: /* @__PURE__ */ (0, x.jsxs)(I5e, {
data: e,
margin: {
top: 4,
@@ -87140,7 +87749,7 @@ function L5e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(U4e, {
+ children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, x.jsx)(p3e, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -87158,7 +87767,7 @@ function L5e({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function R5e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function c7e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = b.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -87182,7 +87791,7 @@ function R5e({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var z5e = {
+var l7e = {
dots: ({ id: e }) => /* @__PURE__ */ (0, x.jsx)("pattern", {
id: e,
x: "0",
@@ -87354,9 +87963,9 @@ var z5e = {
})
})
};
-function f8({ variant: e }) {
- let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = z5e[e];
- return /* @__PURE__ */ (0, x.jsxs)(a4, {
+function m8({ variant: e }) {
+ let t = (0, b.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = l7e[e];
+ return /* @__PURE__ */ (0, x.jsxs)(s4, {
zIndex: -1,
children: [/* @__PURE__ */ (0, x.jsxs)("defs", { children: [
/* @__PURE__ */ (0, x.jsx)(a, { id: n }),
@@ -87386,20 +87995,20 @@ function f8({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var B5e = 2, V5e = "loading", H5e = 2e3, U5e = "evil-stacked", W5e = .5, G5e = .05, K5e = [
+var u7e = 2, d7e = "loading", f7e = 2e3, p7e = "evil-stacked", m7e = .5, h7e = .05, g7e = [
0,
.7,
.5,
1
-], q5e = (0, b.createContext)(null);
-function p8() {
- let e = (0, b.use)(q5e);
+], _7e = (0, b.createContext)(null);
+function h8() {
+ let e = (0, b.use)(_7e);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function m8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = B5e, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = p7e(m, h), { visibleData: D, brushProps: O } = R5e({ data: t }), k = (0, b.useMemo)(() => {
- let e = b.Children.toArray(n), t = e.find((e) => (0, b.isValidElement)(e) && e.type === d8), r = (0, b.isValidElement)(t) ? t.props : {};
+function g8({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = u7e, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
+ let _ = (0, b.useId)().replace(/:/g, ""), [v] = (0, b.useState)(() => Date.now()), [y, S] = (0, b.useState)(f), [C, w] = (0, b.useState)(!1), { loadingData: T, onShimmerExit: E } = L7e(m, h), { visibleData: D, brushProps: O } = c7e({ data: t }), k = (0, b.useMemo)(() => {
+ let e = b.Children.toArray(n), t = e.find((e) => (0, b.isValidElement)(e) && e.type === p8), r = (0, b.isValidElement)(t) ? t.props : {};
return {
slot: {
present: (0, b.isValidElement)(t),
@@ -87407,7 +88016,7 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
formatLabel: r.formatLabel,
onChange: r.onChange
},
- chartChildren: e.filter((e) => !((0, b.isValidElement)(e) && e.type === d8))
+ chartChildren: e.filter((e) => !((0, b.isValidElement)(e) && e.type === p8))
};
}, [n]), A = k.slot.present, j = a === "stacked" || a === "percent", M = o === "horizontal", N = A && !m ? D : t, P = (0, b.useCallback)((e) => {
S(e), p?.(e);
@@ -87436,12 +88045,12 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
P,
C
]);
- return /* @__PURE__ */ (0, x.jsx)(q5e, {
+ return /* @__PURE__ */ (0, x.jsx)(_7e, {
value: ee,
- children: /* @__PURE__ */ (0, x.jsxs)(r8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(a8, {
className: r,
config: e,
- footer: A && !m && /* @__PURE__ */ (0, x.jsx)(F5e, {
+ footer: A && !m && /* @__PURE__ */ (0, x.jsx)(a7e, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -87457,7 +88066,7 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
O.onChange(e), k.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(K8e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(o8, { isLoading: m }), /* @__PURE__ */ (0, x.jsxs)(g5e, {
id: _,
accessibilityLayer: !0,
layout: M ? "vertical" : "horizontal",
@@ -87469,10 +88078,10 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
onMouseLeave: () => w(!1),
...i,
children: [
- d && /* @__PURE__ */ (0, x.jsx)(f8, { variant: d }),
- /* @__PURE__ */ (0, x.jsx)(X1e, { color: "white" }),
+ d && /* @__PURE__ */ (0, x.jsx)(m8, { variant: d }),
+ /* @__PURE__ */ (0, x.jsx)(b0e, { color: "white" }),
k.chartChildren,
- m && /* @__PURE__ */ (0, x.jsx)(m7e, {
+ m && /* @__PURE__ */ (0, x.jsx)(R7e, {
chartId: _,
onShimmerExit: E
})
@@ -87481,8 +88090,8 @@ function m8({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function J5e({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = p8(), S = (0, b.useId)().replace(/:/g, ""), C = ere();
+function v7e({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = h8(), S = (0, b.useId)().replace(/:/g, ""), C = ere();
if (f) return null;
let w = n ?? p, T = _ === e, E = C ? "none" : r ?? m, D = {
id: S,
@@ -87502,65 +88111,65 @@ function J5e({ dataKey: e, variant: t = "default", radius: n, animationType: r,
i && v(T ? null : e);
}
};
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(C6, {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(T6, {
dataKey: e,
- stackId: u ? U5e : void 0,
+ stackId: u ? p7e : void 0,
fill: `url(#${S}-colors-${e})`,
radius: w,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, x.jsx)(e7e, {
+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(w7e, {
...e,
...D,
animationType: E
}),
- activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(e7e, {
+ activeBar: (e) => /* @__PURE__ */ (0, x.jsx)(w7e, {
...e,
...D,
animationType: "none"
}),
...c
}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, x.jsx)(i7e, {
+ /* @__PURE__ */ (0, x.jsx)(O7e, {
id: S,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, x.jsx)(a7e, {
+ t === "hatched" && /* @__PURE__ */ (0, x.jsx)(k7e, {
id: S,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, x.jsx)(s7e, {
+ t === "duotone" && /* @__PURE__ */ (0, x.jsx)(j7e, {
id: S,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(c7e, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, x.jsx)(M7e, {
id: S,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, x.jsx)(l7e, {
+ t === "gradient" && /* @__PURE__ */ (0, x.jsx)(N7e, {
id: S,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, x.jsx)(u7e, {
+ t === "stripped" && /* @__PURE__ */ (0, x.jsx)(P7e, {
id: S,
dataKey: e
}),
- s && /* @__PURE__ */ (0, x.jsx)(o7e, {
+ s && /* @__PURE__ */ (0, x.jsx)(A7e, {
id: S,
dataKey: e
}),
- o && /* @__PURE__ */ (0, x.jsx)(d7e, {
+ o && /* @__PURE__ */ (0, x.jsx)(F7e, {
id: S,
dataKey: e
})
] })] });
}
-function Y5e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
- let { isLoading: o, isHorizontal: s } = p8();
- return o ? null : /* @__PURE__ */ (0, x.jsx)(l6e, {
+function y7e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+ let { isLoading: o, isHorizontal: s } = h8();
+ return o ? null : /* @__PURE__ */ (0, x.jsx)(N6e, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -87569,9 +88178,9 @@ function Y5e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function X5e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
- let { isLoading: s, isHorizontal: c } = p8();
- return s ? null : /* @__PURE__ */ (0, x.jsx)(S6e, {
+function b7e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+ let { isLoading: s, isHorizontal: c } = h8();
+ return s ? null : /* @__PURE__ */ (0, x.jsx)(K6e, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -87581,33 +88190,33 @@ function X5e({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function Z5e({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
- let { isHorizontal: i } = p8();
- return /* @__PURE__ */ (0, x.jsx)(s2e, {
+function x7e({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+ let { isHorizontal: i } = h8();
+ return /* @__PURE__ */ (0, x.jsx)(j2e, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
...r
});
}
-function Q5e({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = p8();
- return r ? null : /* @__PURE__ */ (0, x.jsx)(c8, {
+function S7e({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = h8();
+ return r ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
cursor: !1,
defaultIndex: n,
- content: /* @__PURE__ */ (0, x.jsx)(s8, {
+ content: /* @__PURE__ */ (0, x.jsx)(l8, {
selected: i,
roundness: t,
variant: e
})
});
}
-function $5e({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
- let { selectedDataKey: i, selectDataKey: a } = p8();
- return /* @__PURE__ */ (0, x.jsx)(u8, {
+function C7e({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+ let { selectedDataKey: i, selectDataKey: a } = h8();
+ return /* @__PURE__ */ (0, x.jsx)(f8, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, x.jsx)(l8, {
+ content: /* @__PURE__ */ (0, x.jsx)(d8, {
selected: i,
onSelectChange: a,
isClickable: r,
@@ -87615,8 +88224,8 @@ function $5e({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var e7e = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = t7e(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : n7e(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = r7e({
+var w7e = (e) => {
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, S = typeof e.index == "number" ? e.index : -1, C = u && y > 0 && S === y - 1, w = s === "stripped", T = T7e(h, S, y, m, g), E = C ? `url(#${a}-buffer-hatched-${o})` : E7e(s, a, o), D = l ? `url(#${a}-bar-glow-${o})` : void 0, O = D7e({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -87628,7 +88237,7 @@ var e7e = (e) => {
c,
0,
0
- ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(qZ, {
+ ] : c, j = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(oQ, {
x: t,
y: n,
width: r,
@@ -87639,7 +88248,7 @@ var e7e = (e) => {
filter: D,
stroke: C ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: C ? 1 : void 0
- }), w && /* @__PURE__ */ (0, x.jsx)(qZ, {
+ }), w && /* @__PURE__ */ (0, x.jsx)(oQ, {
x: t,
y: n - 4,
width: r,
@@ -87650,7 +88259,7 @@ var e7e = (e) => {
return /* @__PURE__ */ (0, x.jsxs)("g", {
style: k,
onClick: b,
- children: [/* @__PURE__ */ (0, x.jsx)(qZ, {
+ children: [/* @__PURE__ */ (0, x.jsx)(oQ, {
...e,
fill: "transparent"
}), T ? /* @__PURE__ */ (0, x.jsx)(p_.g, {
@@ -87661,7 +88270,7 @@ var e7e = (e) => {
children: j
}) : j]
});
-}, t7e = (e, t, n, r, i) => {
+}, T7e = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -87676,11 +88285,11 @@ var e7e = (e) => {
break;
default: s = t;
}
- let c = s * G5e * 1e3, l = W5e * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * h7e * 1e3, l = m7e * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: K5e,
+ ease: g7e,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -87694,7 +88303,7 @@ var e7e = (e) => {
transition: p,
style: { originY: 1 }
};
-}, n7e = (e, t, n) => {
+}, E7e = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -87703,11 +88312,11 @@ var e7e = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, r7e = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, D7e = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, i7e = ({ id: e, dataKey: t, config: n }) => {
- let r = o8(n[t] ?? {});
+}, O7e = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
@@ -87728,7 +88337,7 @@ var e7e = (e) => {
}, i);
})
});
-}, a7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+}, k7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -87769,7 +88378,7 @@ var e7e = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), o7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+] }), A7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -87810,8 +88419,8 @@ var e7e = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), s7e = ({ id: e, dataKey: t, config: n }) => {
- let r = o8(n[t] ?? {});
+] }), j7e = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-duotone-mask-gradient-${t}`,
@@ -87878,8 +88487,8 @@ var e7e = (e) => {
})
})
] });
-}, c7e = ({ id: e, dataKey: t, config: n }) => {
- let r = o8(n[t] ?? {});
+}, M7e = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-duotone-reverse-mask-gradient-${t}`,
@@ -87946,7 +88555,7 @@ var e7e = (e) => {
})
})
] });
-}, l7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+}, N7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -87983,7 +88592,7 @@ var e7e = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), u7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
+] }), P7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -88020,7 +88629,7 @@ var e7e = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), d7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
+] }), F7e = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -88040,35 +88649,35 @@ var e7e = (e) => {
}),
/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), f7e = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), I7e = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function p7e(e, t = 12) {
+function L7e(e, t = 12) {
let [n, r] = (0, b.useState)(!1), i = (0, b.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, b.useMemo)(() => E5e(t, 20, 80), [t, n]),
+ loadingData: (0, b.useMemo)(() => X5e(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var m7e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(C6, {
- dataKey: V5e,
+var R7e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(T6, {
+ dataKey: d7e,
fill: "currentColor",
fillOpacity: .15,
- radius: B5e,
+ radius: u7e,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(h7e, {
+}), /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(z7e, {
chartId: e,
onShimmerExit: t
-}) })] }), h7e = ({ chartId: e, onShimmerExit: t }) => {
- let n = f7e(), r = (0, b.useRef)(-1);
+}) })] }), z7e = ({ chartId: e, onShimmerExit: t }) => {
+ let n = I7e(), r = (0, b.useRef)(-1);
return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
/* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -88099,7 +88708,7 @@ var m7e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: H5e / 1e3,
+ duration: f7e / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -88121,13 +88730,13 @@ var m7e = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, x.jsxs)(x.Fr
})
] });
};
-m8.Bar = J5e, m8.XAxis = Y5e, m8.YAxis = X5e, m8.Grid = Z5e, m8.Tooltip = Q5e, m8.Legend = $5e, m8.Brush = d8;
+g8.Bar = v7e, g8.XAxis = y7e, g8.YAxis = b7e, g8.Grid = x7e, g8.Tooltip = S7e, g8.Legend = C7e, g8.Brush = p8;
//#endregion
//#region src/react/charts/chart-card.tsx
-var h8 = `${sk({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
-function g8({ title: e, children: t }) {
+var _8 = `${ck({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+function v8({ title: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: h8,
+ className: _8,
"aria-label": e,
children: [/* @__PURE__ */ (0, x.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
@@ -88138,31 +88747,31 @@ function g8({ title: e, children: t }) {
})]
});
}
-var g7e = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, _7e = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), _8;
-function v7e(e) {
- if (_8 === void 0) try {
- _8 = document.createElement("canvas").getContext("2d"), _8 && (_8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);
+var B7e = (e) => (e.codePointAt(0) ?? 0) > 11903 ? 13 : 7, V7e = (e) => [...new Intl.Segmenter(void 0, { granularity: "grapheme" }).segment(e)].map((e) => e.segment), y8;
+function H7e(e) {
+ if (y8 === void 0) try {
+ y8 = document.createElement("canvas").getContext("2d"), y8 && (y8.font = `12px ${getComputedStyle(document.body).fontFamily || "sans-serif"}`);
} catch {
- _8 = null;
+ y8 = null;
}
- return _8 ? _8.measureText(e).width : null;
+ return y8 ? y8.measureText(e).width : null;
}
-var v8 = (e) => v7e(e) ?? _7e(e).reduce((e, t) => e + g7e(t), 0);
-function y7e(e, t) {
- if (v8(e) <= t) return e;
- let n = _7e(e), r = 0;
- for (; r < n.length && v8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;
+var b8 = (e) => H7e(e) ?? V7e(e).reduce((e, t) => e + B7e(t), 0);
+function U7e(e, t) {
+ if (b8(e) <= t) return e;
+ let n = V7e(e), r = 0;
+ for (; r < n.length && b8(`${n.slice(0, r + 1).join("")}…`) <= t;) r += 1;
return `${n.slice(0, r).join("")}…`;
}
-var b7e = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(v8)) + 12);
-function y8(e) {
+var W7e = (e, t = 104) => Math.min(t, Math.max(24, ...e.map(b8)) + 12);
+function x8(e) {
let { along: t, payload: n, width: r = 0, visibleTicksCount: i = 1, ...a } = e, o = String(n?.value ?? ""), s = t === "x" ? r / Math.max(1, i) - 2 : r - 8;
- return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(b4, {
+ return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(S4, {
...a,
- children: y7e(o, s)
+ children: U7e(o, s)
})] });
}
-function b8({ title: e, figure: t, note: n }) {
+function S8({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, x.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
@@ -88180,24 +88789,24 @@ function b8({ title: e, figure: t, note: n }) {
})]
});
}
-var x8 = [
+var C8 = [
"var(--color-chart-1)",
"var(--color-chart-2)",
"var(--color-chart-3)",
"var(--color-chart-4)",
"var(--color-chart-5)",
"var(--color-chart-6)"
-], S8 = (e) => ({ light: [e] }), C8 = (e) => `s${e}`;
-function x7e(e) {
- return Object.fromEntries(e.map((e, t) => [C8(t), {
+], w8 = (e) => ({ light: [e] }), T8 = (e) => `s${e}`;
+function G7e(e) {
+ return Object.fromEntries(e.map((e, t) => [T8(t), {
label: e,
- colors: S8(x8[t % x8.length])
+ colors: w8(C8[t % C8.length])
}]));
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var S7e = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
-function C7e({ swatch: e, name: t, value: n }) {
+var K7e = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
+function q7e({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, x.jsxs)("div", {
@@ -88212,33 +88821,33 @@ function C7e({ swatch: e, name: t, value: n }) {
})]
});
}
-var w7e = "size-2.5 shrink-0 rounded-xs";
-function T7e({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
- let { config: o } = n8(), s = (t ?? []).filter((e) => e.type !== "none");
+var J7e = "size-2.5 shrink-0 rounded-xs";
+function Y7e({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+ let { config: o } = i8(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, x.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: S7e,
+ className: K7e,
children: [c ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "font-medium text-foreground",
children: c
}) : null, s.map((e, t) => {
- let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = a8(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, x.jsx)(C7e, {
+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = s8(o, e, a), c = i ? n[i] : e.value;
+ return /* @__PURE__ */ (0, x.jsx)(q7e, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, x.jsx)("i", {
- className: w7e,
+ className: J7e,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
})]
});
}
-function w8({ nameKey: e, valueKey: t, hideLabel: n }) {
- return /* @__PURE__ */ (0, x.jsx)(c8, {
+function E8({ nameKey: e, valueKey: t, hideLabel: n }) {
+ return /* @__PURE__ */ (0, x.jsx)(u8, {
cursor: !1,
- content: /* @__PURE__ */ (0, x.jsx)(T7e, {
+ content: /* @__PURE__ */ (0, x.jsx)(Y7e, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -88247,41 +88856,41 @@ function w8({ nameKey: e, valueKey: t, hideLabel: n }) {
}
//#endregion
//#region src/react/charts/bar-card.tsx
-var T8 = [0, (e) => e * 1.2];
-function E7e(e) {
+var D8 = [0, (e) => e * 1.2];
+function X7e(e) {
let t = Math.abs(e), n = (t, n) => {
let r = e / t;
return `${r.toLocaleString(void 0, { maximumFractionDigits: +(Math.abs(r) < 100) })}${n}`;
};
return t >= 1e8 ? n(1e8, "亿") : t >= 1e5 ? n(1e4, "万") : e.toLocaleString();
}
-var D7e = (e) => ({
+var Z7e = (e) => ({
position: e,
className: "fill-text-secondary",
- formatter: (e) => E7e(Number(e))
+ formatter: (e) => X7e(Number(e))
});
-function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {
+function O8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout: o = "vertical" }) {
let s = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
name: e.name,
value: e.value
})), c = s.reduce((e, t) => e + t.value, 0);
- if (!c) return /* @__PURE__ */ (0, x.jsx)(g8, {
+ if (!c) return /* @__PURE__ */ (0, x.jsx)(v8, {
title: e,
children: a
});
let l = o === "horizontal";
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: h8,
+ className: _8,
"aria-label": e,
- children: [/* @__PURE__ */ (0, x.jsx)(b8, {
+ children: [/* @__PURE__ */ (0, x.jsx)(S8, {
title: e,
figure: c.toLocaleString(),
note: t
- }), /* @__PURE__ */ (0, x.jsxs)(m8, {
+ }), /* @__PURE__ */ (0, x.jsxs)(g8, {
data: s,
config: { value: {
label: n,
- colors: S8(i)
+ colors: w8(i)
} },
layout: o,
barRadius: 4,
@@ -88293,40 +88902,40 @@ function E8({ title: e, unit: t, series: n, rows: r, color: i, empty: a, layout:
} } : void 0,
className: l ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(m8.Grid, {}),
- l ? /* @__PURE__ */ (0, x.jsx)(m8.YAxis, {
+ /* @__PURE__ */ (0, x.jsx)(g8.Grid, {}),
+ l ? /* @__PURE__ */ (0, x.jsx)(g8.YAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, x.jsx)(y8, { along: "y" }),
- width: b7e(s.map((e) => e.name))
- }) : /* @__PURE__ */ (0, x.jsx)(m8.XAxis, {
+ tick: /* @__PURE__ */ (0, x.jsx)(x8, { along: "y" }),
+ width: W7e(s.map((e) => e.name))
+ }) : /* @__PURE__ */ (0, x.jsx)(g8.XAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, x.jsx)(y8, { along: "x" })
+ tick: /* @__PURE__ */ (0, x.jsx)(x8, { along: "x" })
}),
- l ? /* @__PURE__ */ (0, x.jsx)(m8.XAxis, {
+ l ? /* @__PURE__ */ (0, x.jsx)(g8.XAxis, {
hide: !0,
- domain: T8
- }) : /* @__PURE__ */ (0, x.jsx)(m8.YAxis, {
+ domain: D8
+ }) : /* @__PURE__ */ (0, x.jsx)(g8.YAxis, {
hide: !0,
- domain: T8
+ domain: D8
}),
- /* @__PURE__ */ (0, x.jsx)(m8.Bar, {
+ /* @__PURE__ */ (0, x.jsx)(g8.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: D7e(l ? "right" : "top")
+ label: Z7e(l ? "right" : "top")
}
}),
- /* @__PURE__ */ (0, x.jsx)(w8, {})
+ /* @__PURE__ */ (0, x.jsx)(E8, {})
]
})]
});
}
//#endregion
//#region src/react/charts/heat.ts
-var O7e = [
+var Q7e = [
"周一",
"周二",
"周三",
@@ -88334,8 +88943,8 @@ var O7e = [
"周五",
"周六",
"周日"
-], k7e = (e, t) => e ? Math.max(.12, e / t) : 0;
-function A7e(e) {
+], $7e = (e, t) => e ? Math.max(.12, e / t) : 0;
+function e9e(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
let { weekday: e, hour: r, count: i } = n;
@@ -88345,14 +88954,14 @@ function A7e(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${O7e[t]} ${n}:00`,
+ label: `${Q7e[t]} ${n}:00`,
count: e,
- share: k7e(e, r)
+ share: $7e(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
}
-function j7e(e) {
+function t9e(e) {
let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {
cells: [],
total: 0,
@@ -88370,7 +88979,7 @@ function j7e(e) {
key: r,
label: r,
count: s,
- share: k7e(s, o)
+ share: $7e(s, o)
};
});
return {
@@ -88382,7 +88991,7 @@ function j7e(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var D8 = 14, O8 = 17, M7e = {
+var k8 = 14, A8 = 17, n9e = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -88391,42 +89000,42 @@ var D8 = 14, O8 = 17, M7e = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, N7e = {
+}, r9e = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function P7e({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function i9e({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${S7e} ${N7e[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${K7e} ${r9e[a]}`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, x.jsx)(C7e, {
+ }), /* @__PURE__ */ (0, x.jsx)(q7e, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${w7e} ${M7e[n].dot}` })
+ swatch: /* @__PURE__ */ (0, x.jsx)("i", { className: `${J7e} ${n9e[n].dot}` })
})]
});
}
-function F7e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
- let [l, u] = (0, b.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * O8, m = f + a * O8, h = (e) => ({
- x: d + e % i * O8,
- y: f + Math.floor(e / i) * O8
- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + D8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", S = _ ? {
+function a9e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+ let [l, u] = (0, b.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * A8, m = f + a * A8, h = (e) => ({
+ x: d + e % i * A8,
+ y: f + Math.floor(e / i) * A8
+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + k8 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", S = _ ? {
start: _.x,
- center: _.x + D8 / 2,
- end: _.x + D8
+ center: _.x + k8 / 2,
+ end: _.x + k8
}[y] : 0;
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: h8,
+ className: _8,
children: [
- /* @__PURE__ */ (0, x.jsx)(b8, {
+ /* @__PURE__ */ (0, x.jsx)(S8, {
title: e,
figure: (g ? g.count : r).toLocaleString(),
note: g ? g.label : t.unit
@@ -88449,19 +89058,19 @@ function F7e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis
"aria-label": `${e.label},${e.count} ${t.cellUnit}`,
x: r,
y: i,
- width: D8,
- height: D8,
+ width: k8,
+ height: k8,
rx: 3,
fillOpacity: e.share || 1,
opacity: l >= 0 && l !== n ? .4 : 1,
- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${M7e[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${n9e[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
onPointerEnter: () => u(n),
onFocus: () => u(n),
onBlur: () => u(-1)
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, x.jsx)(P7e, {
+ }), g && _ ? /* @__PURE__ */ (0, x.jsx)(i9e, {
cell: g,
series: t.series,
tone: c,
@@ -88477,24 +89086,24 @@ function F7e({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis
]
});
}
-var I7e = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [O7e.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {
+var o9e = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [Q7e.map((e, t) => /* @__PURE__ */ (0, x.jsx)("text", {
x: 0,
- y: 18 + t * O8 + 7,
+ y: 18 + t * A8 + 7,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: e
}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, x.jsx)("text", {
- x: 30 + t * O8,
+ x: 30 + t * A8,
y: 8,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function L7e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = A7e(e), s = j7e(e);
+function s9e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+ let o = e9e(e), s = t9e(e);
return s.cells.length ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, x.jsx)(F7e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(a9e, {
title: t,
words: r,
tone: i,
@@ -88502,9 +89111,9 @@ function L7e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: I7e,
+ axis: o9e,
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, x.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, x.jsx)(F7e, {
+ }), /* @__PURE__ */ (0, x.jsx)(a9e, {
title: n,
words: r,
tone: i,
@@ -88514,14 +89123,14 @@ function L7e({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
rows: 7,
footer: /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, x.jsx)("span", { children: s.end })] })
})]
- }) : /* @__PURE__ */ (0, x.jsx)(g8, {
+ }) : /* @__PURE__ */ (0, x.jsx)(v8, {
title: t,
children: a
});
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function R7e({ children: e, className: t = "", previewCount: n = 10 }) {
+function c9e({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, b.useId)(), i = (0, b.useRef)(null), [a, o] = (0, b.useState)(!1), [s, c] = (0, b.useState)(!1), l = b.Children.toArray(e), u = l.length > n;
(0, b.useLayoutEffect)(() => {
let e = i.current;
@@ -88562,20 +89171,20 @@ function R7e({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, x.jsx)(bO, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, x.jsx)(xO, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var z7e = "30%", B7e = "100%", V7e = 5, H7e = 14, U7e = 5, W7e = 1500, G7e = (0, b.createContext)(null);
-function k8() {
- let e = (0, b.use)(G7e);
+var l9e = "30%", u9e = "100%", d9e = 5, f9e = 14, p9e = 5, m9e = 1500, h9e = (0, b.createContext)(null);
+function j8() {
+ let e = (0, b.use)(h9e);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = z7e, outerRadius: l = B7e, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = Q7e(f), v = Y7e(o), y = (0, b.useCallback)((e, t) => {
+function M8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = l9e, outerRadius: l = u9e, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, b.useId)().replace(/:/g, ""), [h, g] = (0, b.useState)(u), _ = S9e(f), v = y9e(o), y = (0, b.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -88602,12 +89211,12 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, x.jsx)(G7e, {
+ return /* @__PURE__ */ (0, x.jsx)(h9e, {
value: C,
- children: /* @__PURE__ */ (0, x.jsxs)(r8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(a8, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(b5e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(o8, { isLoading: f }), /* @__PURE__ */ (0, x.jsxs)(W5e, {
id: m,
data: f ? _ : S,
innerRadius: c,
@@ -88618,16 +89227,16 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
cy: v.cy,
...a,
children: [
- s != null && s > 0 && /* @__PURE__ */ (0, x.jsx)(Z4, {
+ s != null && s > 0 && /* @__PURE__ */ (0, x.jsx)($4, {
type: "number",
domain: [0, s],
tick: !1,
axisLine: !1
}),
- p && /* @__PURE__ */ (0, x.jsx)(f8, { variant: p }),
+ p && /* @__PURE__ */ (0, x.jsx)(m8, { variant: p }),
r,
- f && /* @__PURE__ */ (0, x.jsx)($7e, {}),
- /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(X7e, {
+ f && /* @__PURE__ */ (0, x.jsx)(C9e, {}),
+ /* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)(b9e, {
config: e,
chartId: m
}) })
@@ -88636,9 +89245,9 @@ function A8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function K7e({ dataKey: e, cornerRadius: t = V7e, barSize: n = H7e, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = k8();
- return s ? null : /* @__PURE__ */ (0, x.jsx)(B3, {
+function g9e({ dataKey: e, cornerRadius: t = d9e, barSize: n = f9e, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = j8();
+ return s ? null : /* @__PURE__ */ (0, x.jsx)(H3, {
dataKey: e,
cornerRadius: t,
barSize: n,
@@ -88652,7 +89261,7 @@ function K7e({ dataKey: e, cornerRadius: t = V7e, barSize: n = H7e, showBackgrou
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, x.jsx)(iQ, {
+ return /* @__PURE__ */ (0, x.jsx)(_Q, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -88661,12 +89270,12 @@ function K7e({ dataKey: e, cornerRadius: t = V7e, barSize: n = H7e, showBackgrou
...a
});
}
-function q7e({ variant: e, roundness: t, defaultIndex: n }) {
- let { nameKey: r, isLoading: i } = k8();
- return i ? null : /* @__PURE__ */ (0, x.jsx)(c8, {
+function _9e({ variant: e, roundness: t, defaultIndex: n }) {
+ let { nameKey: r, isLoading: i } = j8();
+ return i ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, x.jsx)(s8, {
+ content: /* @__PURE__ */ (0, x.jsx)(l8, {
nameKey: r,
hideLabel: !0,
roundness: t,
@@ -88674,12 +89283,12 @@ function q7e({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function J7e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = k8();
- return a ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
+function v9e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = j8();
+ return a ? null : /* @__PURE__ */ (0, x.jsx)(f8, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, x.jsx)(l8, {
+ content: /* @__PURE__ */ (0, x.jsx)(d8, {
selected: o,
onSelectChange: s,
isClickable: r,
@@ -88688,7 +89297,7 @@ function J7e({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function Y7e(e) {
+function y9e(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -88704,8 +89313,8 @@ function Y7e(e) {
};
}
}
-var X7e = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {
- let r = o8(n);
+var b9e = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment, { children: Object.entries(e).map(([e, n]) => {
+ let r = c8(n);
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
x1: "0",
@@ -88727,47 +89336,47 @@ var X7e = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, x.jsx)(x.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function Z7e() {
- return Array.from({ length: U7e }, (e, t) => ({
+function x9e() {
+ return Array.from({ length: p9e }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function Q7e(e) {
+function S9e(e) {
let [t, n] = (0, b.useState)(0);
return (0, b.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, W7e);
+ }, m9e);
return () => clearInterval(t);
- }, [e]), (0, b.useMemo)(() => Z7e(), [t]);
+ }, [e]), (0, b.useMemo)(() => x9e(), [t]);
}
-var $7e = () => /* @__PURE__ */ (0, x.jsx)(B3, {
+var C9e = () => /* @__PURE__ */ (0, x.jsx)(H3, {
dataKey: "value",
- cornerRadius: V7e,
- barSize: H7e,
+ cornerRadius: d9e,
+ barSize: f9e,
background: !0,
isAnimationActive: !0,
- animationDuration: W7e,
+ animationDuration: m9e,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, x.jsx)(iQ, {
+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(_Q, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-A8.RadialBar = K7e, A8.Tooltip = q7e, A8.Legend = J7e;
+M8.RadialBar = g9e, M8.Tooltip = _9e, M8.Legend = v9e;
//#endregion
//#region src/react/stats/radial-card.tsx
-var e9e = [
+var w9e = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], t9e = [
+], T9e = [
"aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1",
"aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2",
"aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",
@@ -88775,19 +89384,19 @@ var e9e = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function n9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
- let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = VMe(t);
- if (!c.length) return /* @__PURE__ */ (0, x.jsx)(g8, {
+function E9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
+ let [i, a] = (0, b.useState)(-1), [o, s] = (0, b.useState)(-1), c = eNe(t);
+ if (!c.length) return /* @__PURE__ */ (0, x.jsx)(v8, {
title: e,
children: n
});
- let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = HMe(c.map((e) => e.value)), m = c.map((e, t) => ({
- slice: C8(t),
+ let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = tNe(c.map((e) => e.value)), m = c.map((e, t) => ({
+ slice: T8(t),
value: e.value,
- arc: UMe(e.value, p)
+ arc: nNe(e.value, p)
}));
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: h8,
+ className: _8,
children: [
/* @__PURE__ */ (0, x.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -88795,7 +89404,7 @@ function n9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsxs)("h3", {
className: "flex items-center gap-1.5 text-title-2-medium wrap-anywhere text-text-primary",
- children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(Ok, { mark: d.mark }) : null, d ? d.name : e]
+ children: [d?.mark ? /* @__PURE__ */ (0, x.jsx)(kk, { mark: d.mark }) : null, d ? d.name : e]
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: (d ? d.value : u).toLocaleString()
@@ -88809,18 +89418,18 @@ function n9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
role: "img",
"aria-label": e,
onPointerLeave: () => s(-1),
- children: /* @__PURE__ */ (0, x.jsxs)(A8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(M8, {
data: m,
nameKey: "slice",
- config: x7e(c.map((e) => e.name)),
+ config: G7e(c.map((e) => e.name)),
max: p,
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
- children: [/* @__PURE__ */ (0, x.jsx)(A8.RadialBar, {
+ children: [/* @__PURE__ */ (0, x.jsx)(M8.RadialBar, {
dataKey: "arc",
- barSize: WMe(c.length),
+ barSize: rNe(c.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, x.jsx)(iQ, {
+ shape: (e) => /* @__PURE__ */ (0, x.jsx)(_Q, {
...e,
opacity: l >= 0 && l !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -88828,7 +89437,7 @@ function n9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
onClick: (e, t) => f(t),
onMouseEnter: (e, t) => s(t)
}
- }), /* @__PURE__ */ (0, x.jsx)(w8, {
+ }), /* @__PURE__ */ (0, x.jsx)(E8, {
nameKey: "slice",
valueKey: "value",
hideLabel: !0
@@ -88845,16 +89454,16 @@ function n9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
onPointerLeave: () => s(-1),
onFocus: () => s(t),
onBlur: () => s(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${t9e[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${T9e[t % 6]}`,
children: [
/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 max-w-full items-start gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, x.jsx)("i", {
"aria-hidden": !0,
- className: `mt-0.5 size-3 shrink-0 rounded-sm ${e9e[t % 6]}`
+ className: `mt-0.5 size-3 shrink-0 rounded-sm ${w9e[t % 6]}`
}), /* @__PURE__ */ (0, x.jsxs)("span", {
className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",
- children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(Ok, { mark: e.mark }) : null, e.name]
+ children: [e.mark ? /* @__PURE__ */ (0, x.jsx)(kk, { mark: e.mark }) : null, e.name]
})]
}),
/* @__PURE__ */ (0, x.jsx)("b", {
@@ -88866,15 +89475,15 @@ function n9e({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
children: Ut(e.bytes)
})
]
- }, C8(t)))
+ }, T8(t)))
})
]
});
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var r9e = 10, j8 = x8[5], i9e = x8[4], a9e = `${sk()} flex flex-col gap-4`, M8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", o9e = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", s9e = "开始播放后,这里会显示最近的真实观看证据。", c9e = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", l9e = "添加媒体文件夹后,这里会显示存储空间。", u9e = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", d9e = "探测时长后,这里会显示时长分布。", f9e = "探测画质后,这里会显示画质分布。", p9e = "开始播放后,这里会显示播放落在一周的哪些时段。", m9e = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);
-function P8({ term: e, value: t }) {
+var D9e = 10, N8 = C8[5], O9e = C8[4], k9e = `${ck()} flex flex-col gap-4`, P8 = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", A9e = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", j9e = "开始播放后,这里会显示最近的真实观看证据。", M9e = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", N9e = "添加媒体文件夹后,这里会显示存储空间。", P9e = "把媒体文件夹归进媒体库后,这里会按库显示视频数。", F9e = "探测时长后,这里会显示时长分布。", I9e = "探测画质后,这里会显示画质分布。", L9e = "开始播放后,这里会显示播放落在一周的哪些时段。", R9e = "开始播放后,这里会显示每个作品播了几次。", F8 = (e, t) => Math.min(Math.max(e, 0), t);
+function I8({ term: e, value: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, x.jsx)("span", {
@@ -88882,11 +89491,11 @@ function P8({ term: e, value: t }) {
children: e
}), /* @__PURE__ */ (0, x.jsx)("b", {
className: "text-title-3-medium tabular-nums text-text-primary",
- children: LW(t)
+ children: XW(t)
})]
});
}
-function F8({ term: e, value: t, total: n }) {
+function L8({ term: e, value: t, total: n }) {
let r = Math.max(n, 1);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -88894,19 +89503,19 @@ function F8({ term: e, value: t, total: n }) {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
children: [/* @__PURE__ */ (0, x.jsx)("span", { children: e }), /* @__PURE__ */ (0, x.jsxs)("b", {
className: "tabular-nums",
- children: [LW(t), IW(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
+ children: [XW(t), YW(t) ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: RW(t, n)
+ children: ZW(t, n)
}) : null]
})]
- }), /* @__PURE__ */ (0, x.jsx)(fk, {
- label: `${e}:${LW(t)} / ${n.toLocaleString()}`,
- value: IW(t) ? N8(t, r) : 0,
+ }), /* @__PURE__ */ (0, x.jsx)(pk, {
+ label: `${e}:${XW(t)} / ${n.toLocaleString()}`,
+ value: YW(t) ? F8(t, r) : 0,
max: r
})]
});
}
-function I8({ term: e, figure: t, unit: n }) {
+function R8({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",
children: [
@@ -88925,32 +89534,32 @@ function I8({ term: e, figure: t, unit: n }) {
]
});
}
-function L8({ headline: e, children: t }) {
+function z8({ headline: e, children: t }) {
return /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `${a9e} md:flex-row md:gap-6`,
+ className: `${k9e} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function h9e({ data: e, configurable: t, openMediaSettings: n }) {
+function z9e({ data: e, configurable: t, openMediaSettings: n }) {
return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, x.jsx)(n9e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(E9e, {
title: "网盘与本地",
- empty: M8,
+ empty: P8,
rows: e.by_loc.map((e) => ({
name: Yt[e.k] ?? e.k,
value: e.videos,
bytes: e.bytes,
mark: Ja[e.k] || "database"
}))
- }), /* @__PURE__ */ (0, x.jsx)(n9e, {
+ }), /* @__PURE__ */ (0, x.jsx)(E9e, {
title: "媒体库",
- empty: u9e,
+ empty: P9e,
rows: e.by_library.map((e) => ({
name: e.name,
value: e.videos,
@@ -88961,34 +89570,34 @@ function h9e({ data: e, configurable: t, openMediaSettings: n }) {
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",
children: [
- /* @__PURE__ */ (0, x.jsx)(E8, {
+ /* @__PURE__ */ (0, x.jsx)(O8, {
title: "时长",
unit: "个视频",
series: "视频",
- color: j8,
- rows: JMe(e.by_length),
- empty: d9e
+ color: N8,
+ rows: sNe(e.by_length),
+ empty: F9e
}),
- /* @__PURE__ */ (0, x.jsx)(E8, {
+ /* @__PURE__ */ (0, x.jsx)(O8, {
title: "画质",
unit: "个视频",
series: "视频",
- color: j8,
- rows: HW(e.by_quality),
- empty: f9e
+ color: N8,
+ rows: tG(e.by_quality),
+ empty: I9e
}),
- /* @__PURE__ */ (0, x.jsx)(E8, {
+ /* @__PURE__ */ (0, x.jsx)(O8, {
title: "文件类型",
unit: "个条目",
series: "条目",
- color: j8,
+ color: N8,
layout: "horizontal",
- rows: KMe(e.by_medium),
- empty: M8
+ rows: aNe(e.by_medium),
+ empty: P8
})
]
})]
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
icon: Tde,
title: "还没有视频",
@@ -88996,17 +89605,17 @@ function h9e({ data: e, configurable: t, openMediaSettings: n }) {
size: "small",
onClick: n,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, x.jsx)(ok, {
+ }) : null, /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: M8
+ children: P8
});
}
-function g9e({ data: e }) {
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(L7e, {
+function B9e({ data: e }) {
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(s9e, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -89016,42 +89625,42 @@ function g9e({ data: e }) {
cellUnit: "个作品"
},
tone: 5,
- empty: p9e
- }), /* @__PURE__ */ (0, x.jsx)(E8, {
+ empty: L9e
+ }), /* @__PURE__ */ (0, x.jsx)(O8, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: i9e,
- rows: XMe(e.replays),
- empty: m9e
+ color: O9e,
+ rows: lNe(e.replays),
+ empty: R9e
})] });
}
-function _9e({ attribution: e }) {
+function V9e({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col",
children: [
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "有创作者",
value: e.creator,
total: t
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "有番号",
value: e.code,
total: t
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "有厂牌",
value: e.studio,
total: t
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "已抽帧",
value: e.thumb,
total: t
}),
- /* @__PURE__ */ (0, x.jsx)(F8, {
+ /* @__PURE__ */ (0, x.jsx)(L8, {
term: "已探测时长",
value: e.duration,
total: t
@@ -89059,7 +89668,7 @@ function _9e({ attribution: e }) {
]
});
}
-function v9e({ volume: e }) {
+function H9e({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, x.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -89076,13 +89685,13 @@ function v9e({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [Ut(n), /* @__PURE__ */ (0, x.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: RW(n, t)
+ children: ZW(n, t)
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, x.jsx)(fk, {
+ t == null ? null : /* @__PURE__ */ (0, x.jsx)(pk, {
label: `${e.label}空间使用率`,
- value: N8(n, Math.max(t, 1)),
+ value: F8(n, Math.max(t, 1)),
max: Math.max(t, 1)
}),
/* @__PURE__ */ (0, x.jsxs)("p", {
@@ -89098,25 +89707,25 @@ function v9e({ volume: e }) {
]
});
}
-function y9e({ volumes: e, configurable: t, openMediaSettings: n }) {
+function U9e({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(v9e, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ children: e.map((e) => /* @__PURE__ */ (0, x.jsx)(H9e, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: OO,
+ icon: kO,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, x.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: l9e
+ children: N9e
});
}
-function b9e({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, x.jsx)(R7e, {
- previewCount: r9e,
+function W9e({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, x.jsx)(c9e, {
+ previewCount: D9e,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, x.jsx)("li", {
className: "min-w-0",
@@ -89140,24 +89749,24 @@ function b9e({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, `${e.k}:${r}`))
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: AO,
+ icon: jO,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, x.jsx)(ok, {
+ actions: /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: o9e
+ children: A9e
});
}
-function x9e({ rows: e }) {
+function G9e({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = BW(e);
+ let t = $W(e);
return /* @__PURE__ */ (0, x.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -89165,7 +89774,7 @@ function x9e({ rows: e }) {
children: [/* @__PURE__ */ (0, x.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, x.jsx)("a", {
- href: BMe(e),
+ href: $Me(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
@@ -89175,34 +89784,34 @@ function x9e({ rows: e }) {
children: [e.creator ? /* @__PURE__ */ (0, x.jsx)("span", {
className: "min-w-0 wrap-anywhere",
children: e.creator
- }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: zMe(e) })]
+ }) : null, /* @__PURE__ */ (0, x.jsx)("span", { children: QMe(e) })]
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, x.jsx)(fk, {
+ children: [/* @__PURE__ */ (0, x.jsx)(pk, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, x.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${VW(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${eG(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: kO,
+ icon: AO,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, x.jsx)(ok, {
+ actions: /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: s9e
+ children: j9e
});
}
-function S9e({ sources: e, videos: t }) {
+function K9e({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("article", {
@@ -89221,9 +89830,9 @@ function S9e({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(fk, {
+ /* @__PURE__ */ (0, x.jsx)(pk, {
label: `${e.k} 覆盖视频`,
- value: N8(e.assets, Math.max(t, 1)),
+ value: F8(e.assets, Math.max(t, 1)),
max: Math.max(t, 1)
}),
/* @__PURE__ */ (0, x.jsxs)("small", {
@@ -89232,27 +89841,27 @@ function S9e({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: AO,
+ icon: jO,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, x.jsx)(ok, {
+ actions: /* @__PURE__ */ (0, x.jsx)(sk, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: c9e
+ children: M9e
});
}
-function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
+function B8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
return /* @__PURE__ */ (0, x.jsx)(Dj, {
id: e,
- className: $N({
+ className: mP({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, x.jsx)(rP, {
+ children: /* @__PURE__ */ (0, x.jsx)(vP, {
label: t,
icon: i,
accent: a,
@@ -89261,18 +89870,18 @@ function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function C9e(e) {
+function q9e(e) {
let t = dt({
- queryKey: PW,
- queryFn: ({ signal: e }) => FW(e)
+ queryKey: qW,
+ queryFn: ({ signal: e }) => JW(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, x.jsx)(uk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!n) return /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? z(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = IW(n.tag_cov) ? RW(n.tag_cov, n.attribution.videos) : "未取得", c = `${LW(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
- return /* @__PURE__ */ (0, x.jsxs)(uk, { children: [
+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = YW(n.tag_cov) ? ZW(n.tag_cov, n.attribution.videos) : "未取得", c = `${XW(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
+ return /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${Ut(o)}`
@@ -89283,36 +89892,36 @@ function C9e(e) {
children: [
/* @__PURE__ */ (0, x.jsxs)(Ej, {
"aria-label": "统计视图",
- className: eP,
+ className: hP,
children: [
- /* @__PURE__ */ (0, x.jsx)(R8, {
+ /* @__PURE__ */ (0, x.jsx)(B8, {
id: "inventory",
label: "馆藏视频",
- icon: TO,
+ icon: EO,
accent: 0,
figure: a.toLocaleString(),
detail: Ut(o)
}),
- /* @__PURE__ */ (0, x.jsx)(R8, {
+ /* @__PURE__ */ (0, x.jsx)(B8, {
id: "viewing",
label: "看过",
icon: ade,
accent: 1,
- figure: LW(r.played),
- detail: zW(r.play_seconds)
+ figure: XW(r.played),
+ detail: QW(r.play_seconds)
}),
- /* @__PURE__ */ (0, x.jsx)(R8, {
+ /* @__PURE__ */ (0, x.jsx)(B8, {
id: "coverage",
label: "内容标签",
- icon: AO,
+ icon: jO,
accent: 2,
figure: s,
detail: c
}),
- /* @__PURE__ */ (0, x.jsx)(R8, {
+ /* @__PURE__ */ (0, x.jsx)(B8, {
id: "storage",
label: "使用空间",
- icon: OO,
+ icon: kO,
accent: 3,
figure: `${i.online.toLocaleString()} 个卷`,
detail: i.measured ? `已用 ${Ut(i.used)}` : "容量未取得"
@@ -89321,7 +89930,7 @@ function C9e(e) {
}),
/* @__PURE__ */ (0, x.jsx)(Oj, {
id: "inventory",
- children: /* @__PURE__ */ (0, x.jsx)(h9e, {
+ children: /* @__PURE__ */ (0, x.jsx)(z9e, {
data: n,
...e
})
@@ -89329,71 +89938,71 @@ function C9e(e) {
/* @__PURE__ */ (0, x.jsxs)(Oj, {
id: "viewing",
className: "flex flex-col gap-5",
- children: [/* @__PURE__ */ (0, x.jsx)(L8, {
- headline: /* @__PURE__ */ (0, x.jsx)(I8, {
+ children: [/* @__PURE__ */ (0, x.jsx)(z8, {
+ headline: /* @__PURE__ */ (0, x.jsx)(R8, {
term: "观看",
- figure: LW(r.played),
+ figure: XW(r.played),
unit: "个作品有播放记录"
}),
children: /* @__PURE__ */ (0, x.jsxs)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(P8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "馆藏观看",
value: r.library_played
}),
- /* @__PURE__ */ (0, x.jsx)(P8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "在线直接观看",
value: r.online_played
}),
- /* @__PURE__ */ (0, x.jsx)(P8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "高潮计数",
value: r.o_total
}),
- /* @__PURE__ */ (0, x.jsx)(P8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "快进扫过",
value: r.skimmed
}),
- /* @__PURE__ */ (0, x.jsx)(P8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "喜欢",
value: r.liked
}),
- /* @__PURE__ */ (0, x.jsx)(P8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "明确不喜欢",
value: r.dislike
}),
- /* @__PURE__ */ (0, x.jsx)(P8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "看过了",
value: r.seen
}),
- /* @__PURE__ */ (0, x.jsx)(P8, {
+ /* @__PURE__ */ (0, x.jsx)(I8, {
term: "回收站",
value: r.trash
})
]
})
- }), /* @__PURE__ */ (0, x.jsx)(g9e, { data: n })]
+ }), /* @__PURE__ */ (0, x.jsx)(B9e, { data: n })]
}),
/* @__PURE__ */ (0, x.jsx)(Oj, {
id: "coverage",
- children: /* @__PURE__ */ (0, x.jsx)(L8, {
- headline: /* @__PURE__ */ (0, x.jsx)(I8, {
+ children: /* @__PURE__ */ (0, x.jsx)(z8, {
+ headline: /* @__PURE__ */ (0, x.jsx)(R8, {
term: "内容标签覆盖",
figure: s,
unit: c
}),
- children: /* @__PURE__ */ (0, x.jsx)(_9e, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, x.jsx)(V9e, { attribution: n.attribution })
})
}),
/* @__PURE__ */ (0, x.jsx)(Oj, {
id: "storage",
- children: /* @__PURE__ */ (0, x.jsx)(L8, {
- headline: /* @__PURE__ */ (0, x.jsx)(I8, {
+ children: /* @__PURE__ */ (0, x.jsx)(z8, {
+ headline: /* @__PURE__ */ (0, x.jsx)(R8, {
term: "使用空间",
figure: i.measured.toLocaleString(),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, x.jsx)(y9e, {
+ children: /* @__PURE__ */ (0, x.jsx)(U9e, {
volumes: n.storage_volumes,
...e
})
@@ -89403,27 +90012,27 @@ function C9e(e) {
}),
/* @__PURE__ */ (0, x.jsxs)(Tj, {
defaultSelectedKey: "tags",
- className: `${sk({ padding: "none" })} flex flex-col`,
+ className: `${ck({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsxs)(Aj, {
+ children: /* @__PURE__ */ (0, x.jsxs)(qj, {
"aria-label": "统计维度",
- className: Mj,
+ className: Yj,
children: [
/* @__PURE__ */ (0, x.jsx)(Dj, {
id: "tags",
- className: Nj,
+ className: Xj,
children: "内容标签"
}),
/* @__PURE__ */ (0, x.jsx)(Dj, {
id: "recent",
- className: Nj,
+ className: Xj,
children: "最近看过"
}),
/* @__PURE__ */ (0, x.jsx)(Dj, {
id: "sources",
- className: Nj,
+ className: Xj,
children: "标签来源"
})
]
@@ -89432,7 +90041,7 @@ function C9e(e) {
/* @__PURE__ */ (0, x.jsx)(Oj, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(b9e, {
+ children: /* @__PURE__ */ (0, x.jsx)(W9e, {
tags: n.top_tags,
...e
})
@@ -89440,12 +90049,12 @@ function C9e(e) {
/* @__PURE__ */ (0, x.jsx)(Oj, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(x9e, { rows: n.recent })
+ children: /* @__PURE__ */ (0, x.jsx)(G9e, { rows: n.recent })
}),
/* @__PURE__ */ (0, x.jsx)(Oj, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(S9e, {
+ children: /* @__PURE__ */ (0, x.jsx)(K9e, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -89456,66 +90065,66 @@ function C9e(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function w9e(e, t) {
+function J9e(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
//#region node_modules/d3-sankey/src/constant.js
-function z8(e) {
+function V8(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
-function T9e(e, t) {
- return B8(e.source, t.source) || e.index - t.index;
+function Y9e(e, t) {
+ return H8(e.source, t.source) || e.index - t.index;
}
-function E9e(e, t) {
- return B8(e.target, t.target) || e.index - t.index;
+function X9e(e, t) {
+ return H8(e.target, t.target) || e.index - t.index;
}
-function B8(e, t) {
+function H8(e, t) {
return e.y0 - t.y0;
}
-function V8(e) {
+function U8(e) {
return e.value;
}
-function D9e(e) {
+function Z9e(e) {
return e.index;
}
-function O9e(e) {
+function Q9e(e) {
return e.nodes;
}
-function k9e(e) {
+function $9e(e) {
return e.links;
}
-function A9e(e, t) {
+function eet(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function j9e({ nodes: e }) {
+function tet({ nodes: e }) {
for (let t of e) {
let e = t.y0, n = e;
for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function M9e() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = D9e, c = w9e, l, u, d = O9e, f = k9e, p = 6;
+function net() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Z9e, c = J9e, l, u, d = Q9e, f = $9e, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
links: f.apply(null, arguments)
};
- return h(e), g(e), _(e), v(e), x(e), j9e(e), e;
+ return h(e), g(e), _(e), v(e), x(e), tet(e), e;
}
m.update = function(e) {
- return j9e(e), e;
+ return tet(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : z8(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : V8(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : z8(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : V8(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -89523,9 +90132,9 @@ function M9e() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : z8(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : V8(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : z8(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : V8(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -89541,12 +90150,12 @@ function M9e() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = A9e(n, t)), typeof i != "object" && (i = r.target = A9e(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = eet(n, t)), typeof i != "object" && (i = r.target = eet(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
}
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(O$(t.sourceLinks, V8), O$(t.targetLinks, V8)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(V$(t.sourceLinks, U8), V$(t.targetLinks, U8)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -89571,7 +90180,7 @@ function M9e() {
}
}
function y({ nodes: t }) {
- let r = T$(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = L$(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -89580,7 +90189,7 @@ function M9e() {
return o;
}
function b(e) {
- let n = E$(e, (e) => (r - t - (e.length - 1) * o) / O$(e, V8));
+ let n = R$(e, (e) => (r - t - (e.length - 1) * o) / V$(e, U8));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -89597,7 +90206,7 @@ function M9e() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (T$(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (L$(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -89616,7 +90225,7 @@ function M9e() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(B8), w(i, n);
+ l === void 0 && i.sort(H8), w(i, n);
}
}
function C(e, t, n) {
@@ -89632,7 +90241,7 @@ function M9e() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(B8), w(i, n);
+ l === void 0 && i.sort(H8), w(i, n);
}
}
function w(e, n) {
@@ -89653,12 +90262,12 @@ function M9e() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(E9e);
- for (let { target: { targetLinks: t } } of e) t.sort(T9e);
+ for (let { source: { sourceLinks: e } } of t) e.sort(X9e);
+ for (let { target: { targetLinks: t } } of e) t.sort(Y9e);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(E9e), n.sort(T9e);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(X9e), n.sort(Y9e);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -89688,15 +90297,15 @@ function M9e() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var H8 = Math.PI, U8 = 2 * H8, W8 = 1e-6, N9e = U8 - W8;
-function G8() {
+var W8 = Math.PI, G8 = 2 * W8, K8 = 1e-6, ret = G8 - K8;
+function q8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function P9e() {
- return new G8();
+function iet() {
+ return new q8();
}
-G8.prototype = P9e.prototype = {
- constructor: G8,
+q8.prototype = iet.prototype = {
+ constructor: q8,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -89717,11 +90326,11 @@ G8.prototype = P9e.prototype = {
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (i < 0) throw Error("negative radius: " + i);
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
- else if (d > W8) {
- if (!(Math.abs(u * s - c * l) > W8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > K8) {
+ if (!(Math.abs(u * s - c * l) > K8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
else {
- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((H8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > W8 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((W8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > K8 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
}
}
},
@@ -89729,7 +90338,7 @@ G8.prototype = P9e.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > W8 || Math.abs(this._y1 - l) > W8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % U8 + U8), d > N9e ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > W8 && (this._ += "A" + n + "," + n + ",0," + +(d >= H8) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > K8 || Math.abs(this._y1 - l) > K8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % G8 + G8), d > ret ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > K8 && (this._ += "A" + n + "," + n + ",0," + +(d >= W8) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
rect: function(e, t, n, r) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
@@ -89740,93 +90349,93 @@ G8.prototype = P9e.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function F9e(e) {
+function aet(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function I9e(e) {
+function oet(e) {
return e[0];
}
-function L9e(e) {
+function set(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var R9e = Array.prototype.slice;
+var cet = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function z9e(e) {
+function uet(e) {
return e.source;
}
-function B9e(e) {
+function det(e) {
return e.target;
}
-function V9e(e) {
- var t = z9e, n = B9e, r = I9e, i = L9e, a = null;
+function fet(e) {
+ var t = uet, n = det, r = oet, i = set, a = null;
function o() {
- var o, s = R9e.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = P9e(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
+ var o, s = cet.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = iet(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
return arguments.length ? (t = e, o) : t;
}, o.target = function(e) {
return arguments.length ? (n = e, o) : n;
}, o.x = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : F9e(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : aet(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : F9e(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : aet(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function H9e(e, t, n, r, i) {
+function pet(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function U9e() {
- return V9e(H9e);
+function met() {
+ return fet(pet);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function W9e(e) {
+function het(e) {
return [e.source.x1, e.y0];
}
-function G9e(e) {
+function get(e) {
return [e.target.x0, e.y1];
}
-function K9e() {
- return U9e().source(W9e).target(G9e);
+function _et() {
+ return met().source(het).target(get);
}
//#endregion
//#region src/react/taste/taste.ts
-var q9e = "/api/taste", J9e = "/api/taste/refresh", Y9e = "/api/taste/import", X9e = "/api/taste/source", K8 = (e) => ["taste", e], Z9e = ["taste", "refresh"], Q9e = [
+var vet = "/api/taste", yet = "/api/taste/refresh", bet = "/api/taste/import", xet = "/api/taste/source", J8 = (e) => ["taste", e], Cet = ["taste", "refresh"], wet = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], $9e = (e, t) => V(X9e, {
+], Tet = (e, t) => V(xet, {
...e,
window: t
-}), eet = (e, t) => B(`${q9e}?window=${e}`, t), tet = (e) => B(J9e, e);
-async function net(e, t) {
+}), Eet = (e, t) => B(`${vet}?window=${e}`, t), Det = (e) => B(yet, e);
+async function Oet(e, t) {
await H.fetchQuery({
- queryKey: K8(e),
- queryFn: () => eet(e, t)
+ queryKey: J8(e),
+ queryFn: () => Eet(e, t)
});
}
-var ret = (e) => V(J9e, {
+var ket = (e) => V(yet, {
window: e,
background: !0
-}), iet = (e, t) => V(X9e, {
+}), Aet = (e, t) => V(xet, {
operation: "remove",
source_key: e,
window: t
});
-async function aet(e) {
- let t = await fetch(Y9e, {
+async function jet(e) {
+ let t = await fetch(bet, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -89844,47 +90453,47 @@ async function aet(e) {
}
return n;
}
-var oet = 1e4, q8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function set(e) {
+var Met = 1e4, Y8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function Net(e) {
let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;
- return !e.range_start && !e.range_end ? t : `${t} · ${q8(e.range_start)}—${q8(e.range_end)}`;
+ return !e.range_start && !e.range_end ? t : `${t} · ${Y8(e.range_start)}—${Y8(e.range_end)}`;
}
-var cet = zW, uet = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), det = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function fet(e) {
+var Pet = QW, Fet = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Iet = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function Let(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${Number(e.web_visits).toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");
}
-function pet(e) {
- let t = e.map(det), n = Math.max(1, ...t);
+function Ret(e) {
+ let t = e.map(Iet), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var met = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var zet = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function het(e) {
- let t = met(e, 6);
+function Bet(e) {
+ let t = zet(e, 6);
return t.length < 3 ? [] : t;
}
-var get = {
+var Vet = {
width: 720,
height: 435
-}, _et = {
+}, Het = {
source: 145,
target: 545
-}, vet = 30, yet = 240;
-function bet(e, t, n) {
+}, Uet = 30, Wet = 240;
+function Get(e, t, n) {
let r = /* @__PURE__ */ new Map();
for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);
if (r.size <= 12) return (e) => e;
let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);
return (e) => a.has(e) ? e : o;
}
-function xet(e = []) {
+function Ket(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = bet(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = bet(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = Get(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Get(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
for (let e of t) {
let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);
s ? s.value += e.value : i.set(o, {
@@ -89893,7 +90502,7 @@ function xet(e = []) {
value: e.value
});
}
- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * vet + yet), u = M9e().nodeId((e) => e.id).nodeWidth(10).nodePadding(vet).extent([[155, 16], [535, l]])({
+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * Uet + Wet), u = net().nodeId((e) => e.id).nodeWidth(10).nodePadding(Uet).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -89908,7 +90517,7 @@ function xet(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = K9e();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = _et();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -89936,14 +90545,14 @@ function xet(e = []) {
};
}),
total: d,
- height: l + get.height - 404
+ height: l + Vet.height - 404
};
}
-var Cet = (e) => Jt(e, 17), wet = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var qet = (e) => Jt(e, 17), Jet = b.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = b.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
- case "border": return /* @__PURE__ */ (0, x.jsx)(Eet, {
+ case "border": return /* @__PURE__ */ (0, x.jsx)(Xet, {
cx: e,
cy: t,
dotId: c,
@@ -89952,7 +90561,7 @@ var Cet = (e) => Jt(e, 17), wet = b.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, x.jsx)(Det, {
+ case "colored-border": return /* @__PURE__ */ (0, x.jsx)(Zet, {
cx: e,
cy: t,
dotId: c,
@@ -89961,7 +90570,7 @@ var Cet = (e) => Jt(e, 17), wet = b.memo(function({ cx: e, cy: t, dataKey: n, ch
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, x.jsx)(Tet, {
+ default: return /* @__PURE__ */ (0, x.jsx)(Yet, {
cx: e,
cy: t,
dotId: c,
@@ -89971,7 +90580,7 @@ var Cet = (e) => Jt(e, 17), wet = b.memo(function({ cx: e, cy: t, dataKey: n, ch
maskId: s
});
}
-}), Tet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
+}), Yet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
children: [/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {
@@ -89991,9 +90600,9 @@ var Cet = (e) => Jt(e, 17), wet = b.memo(function({ cx: e, cy: t, dataKey: n, ch
clipPath: `url(#dot-clip-${n})`
})]
}));
-Tet.displayName = "DefaultDot";
-var Eet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
- className: e8(a, "text-background"),
+Yet.displayName = "DefaultDot";
+var Xet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
+ className: n8(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {
@@ -90029,9 +90638,9 @@ var Eet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
}) })
]
}));
-Eet.displayName = "PrimaryBorderDot";
-var Det = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
- className: e8(a, "text-background"),
+Xet.displayName = "PrimaryBorderDot";
+var Zet = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, x.jsxs)("g", {
+ className: n8(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, x.jsx)("defs", { children: /* @__PURE__ */ (0, x.jsx)("clipPath", {
@@ -90059,17 +90668,17 @@ var Det = b.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, clas
})
]
}));
-Det.displayName = "ColoredBorderDot";
+Zet.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var Oet = 1, ket = .3, Aet = 6, jet = 1500, Met = "value", Net = (0, b.createContext)(null);
-function J8() {
- let e = (0, b.use)(Net);
+var Qet = 1, $et = .3, ett = 6, ttt = 1500, ntt = "value", rtt = (0, b.createContext)(null);
+function X8() {
+ let e = (0, b.use)(rtt);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
-function Y8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = Jet(c, l), m = (0, b.useCallback)((e) => {
+function Z8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
+ let u = (0, b.useId)().replace(/:/g, ""), [d, f] = (0, b.useState)(o), p = vtt(c, l), m = (0, b.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, b.useMemo)(() => ({
config: e,
@@ -90082,37 +90691,37 @@ function Y8({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, x.jsx)(Net, {
+ return /* @__PURE__ */ (0, x.jsx)(rtt, {
value: h,
- children: /* @__PURE__ */ (0, x.jsxs)(r8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(a8, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, x.jsx)(i8, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)(u5e, {
+ children: [/* @__PURE__ */ (0, x.jsx)(o8, { isLoading: c }), /* @__PURE__ */ (0, x.jsxs)(P5e, {
id: u,
data: c ? p : t,
...i,
children: [
- a && /* @__PURE__ */ (0, x.jsx)(f8, { variant: a }),
+ a && /* @__PURE__ */ (0, x.jsx)(m8, { variant: a }),
n,
- c && /* @__PURE__ */ (0, x.jsx)(Yet, {})
+ c && /* @__PURE__ */ (0, x.jsx)(ytt, {})
]
})]
})
});
}
-function Pet({ dataKey: e, variant: t = "filled", fillOpacity: n = ket, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = J8(), d = (0, b.useId)().replace(/:/g, "");
+function itt({ dataKey: e, variant: t = "filled", fillOpacity: n = $et, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = X8(), d = (0, b.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = Het(a, d, e, p.dot);
- return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(D3, {
+ }, m = t === "filled", { dot: h, activeDot: g } = ftt(a, d, e, p.dot);
+ return /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(k3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: Oet,
+ strokeWidth: Qet,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -90125,30 +90734,30 @@ function Pet({ dataKey: e, variant: t = "filled", fillOpacity: n = ket, isGlowin
},
...o
}), /* @__PURE__ */ (0, x.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, x.jsx)(Uet, {
+ /* @__PURE__ */ (0, x.jsx)(ptt, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, x.jsx)(Wet, {
+ /* @__PURE__ */ (0, x.jsx)(mtt, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, x.jsx)(Get, {
+ m && /* @__PURE__ */ (0, x.jsx)(htt, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, x.jsx)(Ket, {
+ r && /* @__PURE__ */ (0, x.jsx)(gtt, {
id: d,
dataKey: e
})
] })] });
}
-var Fet = () => null, Iet = () => null;
-function Let({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, x.jsx)(lXe, {
+var att = () => null, ott = () => null;
+function stt({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, x.jsx)(NXe, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -90156,47 +90765,47 @@ function Let({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function Ret({ tick: e = {
+function ctt({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
- let { isLoading: r } = J8();
- return r ? null : /* @__PURE__ */ (0, x.jsx)(Z4, {
+ let { isLoading: r } = X8();
+ return r ? null : /* @__PURE__ */ (0, x.jsx)($4, {
tick: e,
tickLine: t,
...n
});
}
-function zet({ tick: e = {
+function ltt({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
- let { isLoading: i } = J8();
- return i ? null : /* @__PURE__ */ (0, x.jsx)(FXe, {
+ let { isLoading: i } = X8();
+ return i ? null : /* @__PURE__ */ (0, x.jsx)(aZe, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function Bet({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = J8();
- return r ? null : /* @__PURE__ */ (0, x.jsx)(c8, {
+function utt({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = X8();
+ return r ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, x.jsx)(s8, {
+ content: /* @__PURE__ */ (0, x.jsx)(l8, {
selected: i,
roundness: t,
variant: e
})
});
}
-function Vet({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = J8();
- return i ? null : /* @__PURE__ */ (0, x.jsx)(u8, {
+function dtt({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = X8();
+ return i ? null : /* @__PURE__ */ (0, x.jsx)(f8, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, x.jsx)(l8, {
+ content: /* @__PURE__ */ (0, x.jsx)(d8, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -90204,22 +90813,22 @@ function Vet({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var Het = (e, t, n, r) => {
+var ftt = (e, t, n, r) => {
let i = !1, a = !1;
return b.Children.forEach(e, (e) => {
if ((0, b.isValidElement)(e)) {
- if (e.type === Fet) {
+ if (e.type === att) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, x.jsx)(wet, {
+ i = /* @__PURE__ */ (0, x.jsx)(Jet, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === Iet) {
+ if (e.type === ott) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, x.jsx)(wet, {
+ a = /* @__PURE__ */ (0, x.jsx)(Jet, {
type: i,
dataKey: n,
chartId: t,
@@ -90231,7 +90840,7 @@ var Het = (e, t, n, r) => {
dot: i,
activeDot: a
};
-}, X8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("stop", {
+}, Q8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[0]
@@ -90246,46 +90855,46 @@ var Het = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), Uet = ({ id: e, dataKey: t, config: n }) => {
- let r = o8(n[t] ?? {});
+}) }), ptt = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: /* @__PURE__ */ (0, x.jsx)(X8, {
+ children: /* @__PURE__ */ (0, x.jsx)(Q8, {
dataKey: t,
colorsCount: r
})
});
-}, Wet = ({ id: e, dataKey: t, config: n }) => {
- let r = o8(n[t] ?? {});
+}, mtt = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {});
return /* @__PURE__ */ (0, x.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "1",
- children: /* @__PURE__ */ (0, x.jsx)(X8, {
+ children: /* @__PURE__ */ (0, x.jsx)(Q8, {
dataKey: t,
colorsCount: r
})
});
-}, Get = ({ id: e, dataKey: t, config: n }) => {
- let r = o8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
+}, htt = ({ id: e, dataKey: t, config: n }) => {
+ let r = c8(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, x.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
cy: "50%",
r: "50%",
- children: /* @__PURE__ */ (0, x.jsx)(X8, {
+ children: /* @__PURE__ */ (0, x.jsx)(Q8, {
dataKey: t,
colorsCount: r,
opacities: i
})
});
-}, Ket = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
+}, gtt = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, x.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -90305,7 +90914,7 @@ var Het = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, x.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, x.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), qet = (e) => [
+}), _tt = (e) => [
"A",
"B",
"C",
@@ -90314,20 +90923,20 @@ var Het = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [Met]: 30 + Math.random() * 70
+ [ntt]: 30 + Math.random() * 70
}));
-function Jet(e, t = Aet) {
+function vtt(e, t = ett) {
let [n, r] = (0, b.useState)(0);
return (0, b.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, jet);
+ }, ttt);
return () => clearInterval(t);
- }, [e]), (0, b.useMemo)(() => qet(t), [t, n]);
+ }, [e]), (0, b.useMemo)(() => _tt(t), [t, n]);
}
-var Yet = () => /* @__PURE__ */ (0, x.jsx)(D3, {
- dataKey: Met,
+var ytt = () => /* @__PURE__ */ (0, x.jsx)(k3, {
+ dataKey: ntt,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -90335,41 +90944,41 @@ var Yet = () => /* @__PURE__ */ (0, x.jsx)(D3, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: jet,
+ animationDuration: ttt,
animationEasing: "ease-in-out"
});
-Y8.Radar = Pet, Y8.Dot = Fet, Y8.ActiveDot = Iet, Y8.PolarGrid = Let, Y8.PolarAngleAxis = Ret, Y8.PolarRadiusAxis = zet, Y8.Tooltip = Bet, Y8.Legend = Vet;
+Z8.Radar = itt, Z8.Dot = att, Z8.ActiveDot = ott, Z8.PolarGrid = stt, Z8.PolarAngleAxis = ctt, Z8.PolarRadiusAxis = ltt, Z8.Tooltip = utt, Z8.Legend = dtt;
//#endregion
//#region src/react/taste/charts.tsx
-function Xet(e) {
+function btt(e) {
let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;
- return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(b4, {
+ return /* @__PURE__ */ (0, x.jsxs)("g", { children: [/* @__PURE__ */ (0, x.jsx)("title", { children: o }), /* @__PURE__ */ (0, x.jsx)(S4, {
...a,
x: t,
textAnchor: r,
fill: "currentColor",
fontSize: 12,
- children: y7e(o, c - 4)
+ children: U7e(o, c - 4)
})] });
}
-var Zet = [
+var xtt = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], Qet = [
+], Stt = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], $et = { value: {
+], Ctt = { value: {
label: "标签命中",
- colors: S8(x8[3])
-} }, ett = [
+ colors: w8(C8[3])
+} }, wtt = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -90379,51 +90988,51 @@ var Zet = [
"min-h-52",
"min-h-60",
"min-h-64"
-], ttt = 26, ntt = { radius: $et.value }, rtt = (e, t) => Math.sqrt(e / t);
-function itt({ rows: e, label: t }) {
- let n = het(e);
+], Ttt = 26, Ett = { radius: Ctt.value }, Dtt = (e, t) => Math.sqrt(e / t);
+function Ott({ rows: e, label: t }) {
+ let n = Bet(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: rtt(e.value, r)
+ radius: Dtt(e.value, r)
}));
return /* @__PURE__ */ (0, x.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
- children: /* @__PURE__ */ (0, x.jsxs)(Y8, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Z8, {
data: i,
- config: ntt,
+ config: Ett,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(Y8.PolarGrid, {}),
- /* @__PURE__ */ (0, x.jsx)(Y8.PolarAngleAxis, {
+ /* @__PURE__ */ (0, x.jsx)(Z8.PolarGrid, {}),
+ /* @__PURE__ */ (0, x.jsx)(Z8.PolarAngleAxis, {
dataKey: "name",
- tick: /* @__PURE__ */ (0, x.jsx)(Xet, {})
+ tick: /* @__PURE__ */ (0, x.jsx)(btt, {})
}),
- /* @__PURE__ */ (0, x.jsx)(Y8.PolarRadiusAxis, {
+ /* @__PURE__ */ (0, x.jsx)(Z8.PolarRadiusAxis, {
domain: [0, 1],
allowDecimals: !0,
tick: !1
}),
- /* @__PURE__ */ (0, x.jsx)(Y8.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, x.jsx)(w8, { valueKey: "value" })
+ /* @__PURE__ */ (0, x.jsx)(Z8.Radar, { dataKey: "radius" }),
+ /* @__PURE__ */ (0, x.jsx)(E8, { valueKey: "value" })
]
})
});
}
-function att({ rows: e, label: t }) {
- let n = met(e, 8);
+function ktt({ rows: e, label: t }) {
+ let n = zet(e, 8);
return n.length ? /* @__PURE__ */ (0, x.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${ett[n.length]}`,
- children: /* @__PURE__ */ (0, x.jsxs)(m8, {
+ className: `flex grow flex-col ${wtt[n.length]}`,
+ children: /* @__PURE__ */ (0, x.jsxs)(g8, {
data: n,
- config: $et,
+ config: Ctt,
layout: "horizontal",
barRadius: 4,
chartProps: {
- maxBarSize: ttt,
+ maxBarSize: Ttt,
margin: {
top: 5,
right: 56,
@@ -90433,37 +91042,37 @@ function att({ rows: e, label: t }) {
},
className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, x.jsx)(m8.YAxis, {
+ /* @__PURE__ */ (0, x.jsx)(g8.YAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, x.jsx)(y8, { along: "y" }),
- width: b7e(n.map((e) => e.name))
+ tick: /* @__PURE__ */ (0, x.jsx)(x8, { along: "y" }),
+ width: W7e(n.map((e) => e.name))
}),
- /* @__PURE__ */ (0, x.jsx)(m8.XAxis, {
+ /* @__PURE__ */ (0, x.jsx)(g8.XAxis, {
hide: !0,
- domain: T8
+ domain: D8
}),
- /* @__PURE__ */ (0, x.jsx)(m8.Bar, {
+ /* @__PURE__ */ (0, x.jsx)(g8.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: D7e("right")
+ label: Z7e("right")
}
}),
- /* @__PURE__ */ (0, x.jsx)(w8, {})
+ /* @__PURE__ */ (0, x.jsx)(E8, {})
]
})
}) : null;
}
-function ott({ flows: e }) {
- let [t, n] = (0, b.useState)(null), r = xet(e);
+function Att({ flows: e }) {
+ let [t, n] = (0, b.useState)(null), r = Ket(e);
if (!r) return null;
let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: h8,
+ className: _8,
children: [
- /* @__PURE__ */ (0, x.jsx)(b8, {
+ /* @__PURE__ */ (0, x.jsx)(S8, {
title: "创作者线索来源",
figure: (t ? t.value : r.total).toLocaleString(),
note: t ? t.label : "条线索"
@@ -90485,7 +91094,7 @@ function ott({ flows: e }) {
/* @__PURE__ */ (0, x.jsx)("div", {
className: "min-w-0 max-sm:hidden",
children: /* @__PURE__ */ (0, x.jsxs)("svg", {
- viewBox: `0 0 ${get.width} ${r.height}`,
+ viewBox: `0 0 ${Vet.width} ${r.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -90499,7 +91108,7 @@ function ott({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${Zet[e.color]}`,
+ className: `outline-none transition-opacity ${xtt[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -90533,15 +91142,15 @@ function ott({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? Qet[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? Stt[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, x.jsxs)("text", {
- x: _et[e.side],
+ x: Het[e.side],
y: e.y + e.height / 2,
textAnchor: e.side === "source" ? "end" : "start",
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
- children: [Cet(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {
- x: _et[e.side],
+ children: [qet(e.name), /* @__PURE__ */ (0, x.jsx)("tspan", {
+ x: Het[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -90558,15 +91167,15 @@ function ott({ flows: e }) {
}
//#endregion
//#region src/react/taste/browser-sources.tsx
-function stt({ browsers: e, range: t }) {
+function jtt({ browsers: e, range: t }) {
let [n, r] = (0, b.useState)(!1), [i, a] = (0, b.useState)(""), [o, s] = (0, b.useState)(""), c = ft({
- mutationFn: (e) => $9e(e, t),
+ mutationFn: (e) => Tet(e, t),
onSuccess: (e) => {
- H.setQueryData(K8(t), e.dashboard), r(!1), a(""), s("");
+ H.setQueryData(J8(t), e.dashboard), r(!1), a(""), s("");
}
});
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: `${sk()} flex flex-col gap-4`,
+ className: `${ck()} flex flex-col gap-4`,
"aria-label": "浏览器同步",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
@@ -90600,7 +91209,7 @@ function stt({ browsers: e, range: t }) {
});
},
children: [
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "浏览器名称",
value: i,
onChange: a,
@@ -90608,7 +91217,7 @@ function stt({ browsers: e, range: t }) {
isRequired: !0,
isDisabled: c.isPending
}),
- /* @__PURE__ */ (0, x.jsx)($P, {
+ /* @__PURE__ */ (0, x.jsx)(Nj, {
label: "资料目录或历史文件",
value: o,
onChange: s,
@@ -90685,11 +91294,11 @@ function stt({ browsers: e, range: t }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var ctt = 10, ltt = tk(oP, sP, "text-body-2-medium"), Z8 = `${sk()} flex flex-col gap-4`, Q8 = "rounded-xl bg-background-primary-default p-3", utt = "读取运行 Peach 的这台电脑上的浏览记录", dtt = "导入或读取浏览记录后,这里会列出已采集设备。", ftt = "馆藏里暂时没有对得上浏览信号的标签。", ptt = "采集浏览记录后,这里会显示聚合后的口味证据。", mtt = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", htt = "采集浏览记录后,这里会列出浏览过的标签。", gtt = "采集浏览记录后,这里会列出浏览过的创作者。", _tt = "采集浏览记录后,这里会列出常访问的网站。", vtt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", ytt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", btt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", xtt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", Stt = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", Ctt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", wtt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", Ttt = "peach-taste-guide-dismissed";
-function $8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
+var Mtt = 10, Ntt = nk(xP, SP, "text-body-2-medium"), $8 = `${ck()} flex flex-col gap-4`, e5 = "rounded-xl bg-background-primary-default p-3", Ptt = "读取运行 Peach 的这台电脑上的浏览记录", Ftt = "导入或读取浏览记录后,这里会列出已采集设备。", Itt = "馆藏里暂时没有对得上浏览信号的标签。", Ltt = "采集浏览记录后,这里会显示聚合后的口味证据。", Rtt = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", ztt = "采集浏览记录后,这里会列出浏览过的标签。", Btt = "采集浏览记录后,这里会列出浏览过的创作者。", Vtt = "采集浏览记录后,这里会列出常访问的网站。", Htt = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Utt = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Wtt = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Gtt = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", Ktt = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", qtt = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Jtt = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", Ytt = "peach-taste-guide-dismissed";
+function t5({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, x.jsx)("div", {
- className: $N(),
- children: /* @__PURE__ */ (0, x.jsx)(rP, {
+ className: mP(),
+ children: /* @__PURE__ */ (0, x.jsx)(vP, {
label: t,
icon: e,
accent: i,
@@ -90698,7 +91307,7 @@ function $8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function Ett({ name: e, domain: t }) {
+function Xtt({ name: e, domain: t }) {
return /* @__PURE__ */ (0, x.jsxs)("span", {
className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",
children: [qt(e).toUpperCase(), /* @__PURE__ */ (0, x.jsx)("img", {
@@ -90712,22 +91321,22 @@ function Ett({ name: e, domain: t }) {
})]
});
}
-function Dtt({ html: e }) {
+function Ztt({ html: e }) {
return /* @__PURE__ */ (0, x.jsx)("span", {
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${Bz}`,
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${Jz}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function Ott({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, x.jsx)(ck, {
+function Qtt({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
+ if (!e.length) return /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: MO,
+ icon: NO,
title: "暂无足够证据",
children: r
});
- let a = pet(e);
- return /* @__PURE__ */ (0, x.jsx)(R7e, {
- previewCount: ctt,
+ let a = Ret(e);
+ return /* @__PURE__ */ (0, x.jsx)(c9e, {
+ previewCount: Mtt,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
@@ -90746,15 +91355,15 @@ function Ott({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- n === "domain" ? /* @__PURE__ */ (0, x.jsx)(Ett, {
+ n === "domain" ? /* @__PURE__ */ (0, x.jsx)(Xtt, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(Ett, {
+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, x.jsx)(Xtt, {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(Dtt, { html: ra(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, x.jsx)(Ztt, { html: ra(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -90768,10 +91377,10 @@ function Ott({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: fet(e)
+ children: Let(e)
})]
}),
- o ? /* @__PURE__ */ (0, x.jsx)(SO, {
+ o ? /* @__PURE__ */ (0, x.jsx)(CO, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -90791,31 +91400,31 @@ function Ott({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
})
});
}
-function ktt({ label: e, panels: t, onSignal: n }) {
+function $tt({ label: e, panels: t, onSignal: n }) {
return /* @__PURE__ */ (0, x.jsxs)(Tj, {
- className: `${sk({ padding: "none" })} flex flex-col`,
+ className: `${ck({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, x.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, x.jsx)(Aj, {
+ children: /* @__PURE__ */ (0, x.jsx)(qj, {
"aria-label": e,
- className: Mj,
+ className: Yj,
children: t.map((e) => /* @__PURE__ */ (0, x.jsx)(Dj, {
id: e.id,
- className: Nj,
+ className: Xj,
children: e.name
}, e.id))
})
}), t.map((e) => /* @__PURE__ */ (0, x.jsx)(Oj, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, x.jsx)(Ott, {
+ children: /* @__PURE__ */ (0, x.jsx)(Qtt, {
...e.props,
onSignal: n
})
}, e.id))]
});
}
-function Att({ data: e, onSignal: t, navigate: n }) {
+function ent({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -90830,7 +91439,7 @@ function Att({ data: e, onSignal: t, navigate: n }) {
act: () => n(e.route)
}))];
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: Z8,
+ className: $8,
"aria-label": "口味总结",
children: [
/* @__PURE__ */ (0, x.jsxs)("header", {
@@ -90859,7 +91468,7 @@ function Att({ data: e, onSignal: t, navigate: n }) {
r.points?.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: r.points.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `flex min-w-0 flex-col gap-1 ${Q8}`,
+ className: `flex min-w-0 flex-col gap-1 ${e5}`,
children: [/* @__PURE__ */ (0, x.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.label
@@ -90874,7 +91483,7 @@ function Att({ data: e, onSignal: t, navigate: n }) {
children: a.map((e) => /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
onClick: e.act,
- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${Q8} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${e5} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [/* @__PURE__ */ (0, x.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-1",
children: [/* @__PURE__ */ (0, x.jsx)("b", {
@@ -90884,44 +91493,44 @@ function Att({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular wrap-anywhere text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, x.jsx)(SO, {
+ }), /* @__PURE__ */ (0, x.jsx)(CO, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: MO,
+ icon: NO,
title: "还没有可探索的入口",
- children: ftt
+ children: Itt
})
]
});
}
-function jtt({ onboarding: e, done: t }) {
+function tnt({ onboarding: e, done: t }) {
let [n, r] = (0, b.useState)(() => {
try {
- return localStorage.getItem(Ttt) === "1";
+ return localStorage.getItem(Ytt) === "1";
} catch {
return !1;
}
});
return t || n ? null : /* @__PURE__ */ (0, x.jsx)("div", {
- className: sk({
+ className: ck({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, x.jsxs)(Dk, {
+ children: /* @__PURE__ */ (0, x.jsxs)(Ok, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: xtt
+ children: Gtt
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Stt
+ children: Ktt
}),
/* @__PURE__ */ (0, x.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -90951,7 +91560,7 @@ function jtt({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, x.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Ctt
+ children: qtt
}),
/* @__PURE__ */ (0, x.jsx)("span", {
className: "self-start",
@@ -90960,7 +91569,7 @@ function jtt({ onboarding: e, done: t }) {
size: "small",
onClick: () => {
try {
- localStorage.setItem(Ttt, "1");
+ localStorage.setItem(Ytt, "1");
} catch {}
r(!0);
},
@@ -90971,7 +91580,7 @@ function jtt({ onboarding: e, done: t }) {
})
});
}
-function Mtt({ busy: e, onRefresh: t, onImport: n }) {
+function nnt({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, b.useRef)(null), [i, a] = (0, b.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -90980,15 +91589,15 @@ function Mtt({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, x.jsx)(G, {
- leadingIcon: wO,
- title: utt,
+ leadingIcon: TO,
+ title: Ptt,
onClick: t,
...q(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, x.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: bO,
+ leadingIcon: xO,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -90997,27 +91606,27 @@ function Mtt({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, x.jsx)(jA, {
+ }), /* @__PURE__ */ (0, x.jsx)(MA, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: aP,
- children: /* @__PURE__ */ (0, x.jsxs)(iP, {
+ className: bP,
+ children: /* @__PURE__ */ (0, x.jsxs)(yP, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: ltt,
+ className: Ntt,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, x.jsx)(wO, {
+ children: [/* @__PURE__ */ (0, x.jsx)(TO, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
}), /* @__PURE__ */ (0, x.jsxs)("button", {
type: "button",
- className: ltt,
+ className: Ntt,
onClick: () => o(n),
children: [/* @__PURE__ */ (0, x.jsx)(Cde, {
"aria-hidden": !0,
@@ -91027,15 +91636,15 @@ function Mtt({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function Ntt({ sources: e, window: t, toast: n }) {
+function rnt({ sources: e, window: t, toast: n }) {
let r = ft({
- mutationFn: (e) => iet(e, t),
+ mutationFn: (e) => Aet(e, t),
onSuccess: (e) => {
- H.setQueryData(K8(t), e.dashboard), n("已移除口味数据源");
+ H.setQueryData(J8(t), e.dashboard), n("已移除口味数据源");
}
});
return /* @__PURE__ */ (0, x.jsxs)("section", {
- className: Z8,
+ className: $8,
"aria-label": "数据源",
children: [
/* @__PURE__ */ (0, x.jsx)("h3", {
@@ -91049,14 +91658,14 @@ function Ntt({ sources: e, window: t, toast: n }) {
e.length ? /* @__PURE__ */ (0, x.jsx)("div", {
className: "inline-grid w-full gap-2 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, x.jsxs)("div", {
- className: `flex min-w-0 items-center gap-3 ${Q8}`,
+ className: `flex min-w-0 items-center gap-3 ${e5}`,
children: [
/* @__PURE__ */ (0, x.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
children: e.browser === "browserexport" ? /* @__PURE__ */ (0, x.jsx)(Cde, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, x.jsx)(TO, {
+ }) : /* @__PURE__ */ (0, x.jsx)(EO, {
"aria-hidden": !0,
className: "size-4"
})
@@ -91077,12 +91686,12 @@ function Ntt({ sources: e, window: t, toast: n }) {
"aria-label": `移除 ${e.profile}`,
className: "shrink-0",
iconOnly: !0,
- leadingIcon: EO,
+ leadingIcon: DO,
...q(r.isPending),
onClick: () => {
r.isPending || cs({
title: "移除口味数据源",
- body: wtt,
+ body: Jtt,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -91090,32 +91699,32 @@ function Ntt({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: TO,
+ icon: EO,
title: "还没有数据源",
- children: dtt
+ children: Ftt
})
]
});
}
-function Ptt(e) {
+function int(e) {
let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, b.useState)("all"), [s, c] = (0, b.useState)("browser"), l = (0, b.useRef)(null), u = dt({
- queryKey: K8(a),
- queryFn: ({ signal: e }) => eet(a, e),
+ queryKey: J8(a),
+ queryFn: ({ signal: e }) => Eet(a, e),
placeholderData: de
- }), { job: d, running: f, outcome: p, start: m } = RP({
- queryKey: Z9e,
- queryFn: ({ signal: e }) => tet(e),
- start: () => ret(a),
- idlePollMs: oet,
+ }), { job: d, running: f, outcome: p, start: m } = $P({
+ queryKey: Cet,
+ queryFn: ({ signal: e }) => Det(e),
+ start: () => ket(a),
+ idlePollMs: Met,
onFinish: (e) => {
e.status !== "failed" && (H.invalidateQueries({ queryKey: ["taste"] }), r(e.warnings?.length ? "部分浏览记录未取得" : "已更新口味分析"));
}
}), h = ft({
- mutationFn: (e) => aet(e),
+ mutationFn: (e) => jet(e),
onSuccess: (e) => {
- H.setQueryData(K8("all"), e.dashboard), o("all"), r("已导入口味数据");
+ H.setQueryData(J8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
}), g = (e) => {
let t = e.currentTarget.files?.[0];
@@ -91123,13 +91732,13 @@ function Ptt(e) {
}, _ = () => {
f || m.isPending || (m.reset(), m.mutate());
}, v = u.data;
- if (!v) return /* @__PURE__ */ (0, x.jsx)(uk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
+ if (!v) return /* @__PURE__ */ (0, x.jsx)(dk, { children: /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
title: "口味分析读取失败",
children: u.error ? z(u.error) : "读取口味分析失败"
}) });
- let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = uet(C.browser_categories || []), E = het(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? z(m.error) : h.error ? z(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, x.jsxs)(uk, { children: [
+ let y = v.summary || {}, S = v.coverage || {}, C = v.rankings || {}, w = v.storage || {}, T = Fet(C.browser_categories || []), E = Bet(T).length > 0, D = v.gaps || [], O = S.tagged || 0, k = S.identified || 0, A = m.error ? z(m.error) : h.error ? z(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
+ return /* @__PURE__ */ (0, x.jsxs)(dk, { children: [
/* @__PURE__ */ (0, x.jsxs)(Tj, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
@@ -91137,33 +91746,33 @@ function Ptt(e) {
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, x.jsxs)(Aj, {
+ children: [/* @__PURE__ */ (0, x.jsxs)(qj, {
"aria-label": "口味证据来源",
- className: Mj,
+ className: Yj,
children: [/* @__PURE__ */ (0, x.jsx)(Dj, {
id: "browser",
- className: Nj,
+ className: Xj,
children: "浏览器记录"
}), /* @__PURE__ */ (0, x.jsx)(Dj, {
id: "peach",
- className: Nj,
+ className: Xj,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, x.jsx)(FP, {
+ /* @__PURE__ */ (0, x.jsx)(XP, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: Q9e.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(IP, {
+ children: wet.map(([e, t]) => /* @__PURE__ */ (0, x.jsx)(ZP, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, x.jsx)(Mtt, {
+ /* @__PURE__ */ (0, x.jsx)(nnt, {
busy: f || m.isPending || h.isPending,
onRefresh: _,
onImport: () => l.current?.click()
@@ -91179,7 +91788,7 @@ function Ptt(e) {
]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(jtt, {
+ /* @__PURE__ */ (0, x.jsx)(tnt, {
onboarding: i,
done: !!(y.history_sources || v.updated_at)
}),
@@ -91187,12 +91796,12 @@ function Ptt(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, x.jsx)(jP, {
+ f ? /* @__PURE__ */ (0, x.jsx)(KP, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- h.isPending ? /* @__PURE__ */ (0, x.jsx)(jP, { label: "正在导入历史文件" }) : null,
+ h.isPending ? /* @__PURE__ */ (0, x.jsx)(KP, { label: "正在导入历史文件" }) : null,
A ? /* @__PURE__ */ (0, x.jsx)(K, {
tone: "error",
children: A
@@ -91208,31 +91817,31 @@ function Ptt(e) {
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: eP,
+ className: hP,
children: [
- /* @__PURE__ */ (0, x.jsx)($8, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 0,
- icon: kO,
+ icon: AO,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
- detail: set(y)
+ detail: Net(y)
}),
- /* @__PURE__ */ (0, x.jsx)($8, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 1,
- icon: AO,
+ icon: jO,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
- /* @__PURE__ */ (0, x.jsx)($8, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 2,
- icon: MO,
+ icon: NO,
term: "浏览候选",
figure: D.length.toLocaleString()
}),
- /* @__PURE__ */ (0, x.jsx)($8, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 3,
- icon: TO,
+ icon: EO,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: Ut(w.bytes || 0)
@@ -91240,7 +91849,7 @@ function Ptt(e) {
]
}),
/* @__PURE__ */ (0, x.jsxs)("section", {
- className: E ? `${Z8} md:flex-row md:gap-6` : Z8,
+ className: E ? `${$8} md:flex-row md:gap-6` : $8,
"aria-label": "浏览器画像",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: E ? "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0" : "flex flex-wrap items-baseline justify-between gap-x-4 gap-y-1",
@@ -91249,29 +91858,29 @@ function Ptt(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- E ? /* @__PURE__ */ (0, x.jsx)(itt, {
+ E ? /* @__PURE__ */ (0, x.jsx)(Ott, {
rows: T,
label: "主要口味维度"
}) : null,
/* @__PURE__ */ (0, x.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: v.updated_at ? `更新于 ${q8(v.updated_at)}` : "尚未采集浏览记录"
+ children: v.updated_at ? `更新于 ${Y8(v.updated_at)}` : "尚未采集浏览记录"
})
]
}), /* @__PURE__ */ (0, x.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, x.jsx)(att, {
+ children: T.length ? /* @__PURE__ */ (0, x.jsx)(ktt, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, x.jsx)(ck, {
+ }) : /* @__PURE__ */ (0, x.jsx)(lk, {
shell: "plain",
- icon: MO,
+ icon: NO,
title: "暂无口味维度",
- children: ptt
+ children: Ltt
})
})]
}),
- /* @__PURE__ */ (0, x.jsx)(L7e, {
+ /* @__PURE__ */ (0, x.jsx)(s9e, {
activity: v.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -91283,8 +91892,8 @@ function Ptt(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, x.jsx)(ott, { flows: v.creator_flows }),
- /* @__PURE__ */ (0, x.jsx)(ktt, {
+ /* @__PURE__ */ (0, x.jsx)(Att, { flows: v.creator_flows }),
+ /* @__PURE__ */ (0, x.jsx)($tt, {
label: "浏览器口味维度",
onSignal: t,
panels: [
@@ -91295,7 +91904,7 @@ function Ptt(e) {
rows: C.browser_tags || [],
kind: "tag",
visual: "none",
- empty: htt
+ empty: ztt
}
},
{
@@ -91305,7 +91914,7 @@ function Ptt(e) {
rows: C.browser_creators || [],
kind: "creator",
visual: "creator",
- empty: gtt
+ empty: Btt
}
},
{
@@ -91325,7 +91934,7 @@ function Ptt(e) {
rows: C.domains || [],
kind: "",
visual: "domain",
- empty: _tt
+ empty: Vtt
}
},
{
@@ -91335,7 +91944,7 @@ function Ptt(e) {
rows: D,
kind: "",
visual: "none",
- empty: mtt
+ empty: Rtt
}
}
]
@@ -91347,37 +91956,37 @@ function Ptt(e) {
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, x.jsxs)("div", {
- className: eP,
+ className: hP,
children: [
- /* @__PURE__ */ (0, x.jsx)($8, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 0,
icon: ade,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
- detail: cet(y.peach_seconds || 0)
+ detail: Pet(y.peach_seconds || 0)
}),
- /* @__PURE__ */ (0, x.jsx)($8, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 1,
icon: Sde,
term: "喜欢",
figure: Number(y.liked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, x.jsx)($8, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 2,
icon: xde,
term: "不合口味",
figure: Number(y.disliked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, x.jsx)($8, {
+ /* @__PURE__ */ (0, x.jsx)(t5, {
accent: 3,
- icon: AO,
+ icon: jO,
term: "有标签",
figure: O.toLocaleString()
})
]
}),
/* @__PURE__ */ (0, x.jsxs)("section", {
- className: `${Z8} md:flex-row md:gap-6`,
+ className: `${$8} md:flex-row md:gap-6`,
"aria-label": "Peach 观看",
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",
@@ -91397,18 +92006,18 @@ function Ptt(e) {
]
}), /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, x.jsx)(Ftt, {
+ children: [/* @__PURE__ */ (0, x.jsx)(ant, {
term: "有标签",
value: O,
rest: S.untagged || 0
- }), /* @__PURE__ */ (0, x.jsx)(Ftt, {
+ }), /* @__PURE__ */ (0, x.jsx)(ant, {
term: "有身份",
value: k,
rest: S.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, x.jsx)(ktt, {
+ /* @__PURE__ */ (0, x.jsx)($tt, {
label: "Peach 口味维度",
onSignal: t,
panels: [
@@ -91419,7 +92028,7 @@ function Ptt(e) {
rows: C.peach_tags || [],
kind: "tag",
visual: "none",
- empty: vtt
+ empty: Htt
}
},
{
@@ -91429,7 +92038,7 @@ function Ptt(e) {
rows: C.peach_creators || [],
kind: "creator",
visual: "creator",
- empty: ytt
+ empty: Utt
}
},
{
@@ -91439,7 +92048,7 @@ function Ptt(e) {
rows: C.peach_performers || [],
kind: "performer",
visual: "entity",
- empty: btt
+ empty: Wtt
}
}
]
@@ -91448,23 +92057,23 @@ function Ptt(e) {
})
]
}),
- /* @__PURE__ */ (0, x.jsx)(Att, {
+ /* @__PURE__ */ (0, x.jsx)(ent, {
data: v,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, x.jsx)(Ntt, {
+ /* @__PURE__ */ (0, x.jsx)(rnt, {
sources: v.sources || [],
window: a,
toast: r
}),
- /* @__PURE__ */ (0, x.jsx)(stt, {
+ /* @__PURE__ */ (0, x.jsx)(jtt, {
browsers: v.browsers || [],
range: a
})
] });
}
-function Ftt({ term: e, value: t, rest: n }) {
+function ant({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, x.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -91477,7 +92086,7 @@ function Ftt({ term: e, value: t, rest: n }) {
children: `${n.toLocaleString()} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, x.jsx)(fk, {
+ }), /* @__PURE__ */ (0, x.jsx)(pk, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -91486,13 +92095,13 @@ function Ftt({ term: e, value: t, rest: n }) {
}
//#endregion
//#region src/index-skeleton.ts
-var e5 = {
+var n5 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Itt = [[
+}, ont = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -91500,7 +92109,7 @@ var e5 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], Ltt = [[
+]], snt = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -91508,7 +92117,7 @@ var e5 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], Rtt = [[
+]], cnt = [[
"studios",
"厂牌",
"clapperboard"
@@ -91516,7 +92125,7 @@ var e5 = {
"agencies",
"事务所",
"briefcase"
-]], ztt = [[
+]], lnt = [[
"local",
"本地",
"hard-drive"
@@ -91524,7 +92133,7 @@ var e5 = {
"online",
"在线",
"rss"
-]], Btt = [
+]], unt = [
[
"performers",
"艺人",
@@ -91540,7 +92149,7 @@ var e5 = {
"在线",
"rss"
]
-], Vtt = [[
+], dnt = [[
"cloud",
"标签云",
"tags"
@@ -91548,8 +92157,8 @@ var e5 = {
"alphabet",
"字母表",
"text-aa"
-]], Htt = (e) => e === "compact" ? "compact" : "big";
-function Utt(e, t) {
+]], fnt = (e) => e === "compact" ? "compact" : "big";
+function pnt(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -91559,7 +92168,7 @@ function Utt(e, t) {
category: n.get("category") || "all"
};
}
-var t5 = (e, t, n) => to(e.map(([e, t, n]) => ({
+var r5 = (e, t, n) => to(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -91567,38 +92176,38 @@ var t5 = (e, t, n) => to(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), Wtt = (e) => `<div class="board-filter-frame" data-filter-frame>
+}), mnt = (e) => `<div class="board-filter-frame" data-filter-frame>
<div class="tagbar" data-filter-row="top" data-skeleton-tier="pill" aria-label="标签类型"></div>
<div class="count" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span>
- ${Qo("tag-view", "标签视图", Vtt, e)}</div></div>`;
-function Gtt({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = e5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Qo("people-layout", o + "索引版式", c ? Ltt : Itt, a) : "";
+ ${Qo("tag-view", "标签视图", dnt, e)}</div></div>`;
+function hnt({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = n5[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies", l = s ? Qo("people-layout", o + "索引版式", c ? snt : ont, a) : "";
return `<div class="ihead peach-react">
<h2 class="disp indexheading">${o}</h2>
${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}
- <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${uP("", t, "过滤" + o)}</div>
+ <div data-index-search class="ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40">${TP("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? t5(ztt, n, "词表") : e === "performers" || e === "creators" ? t5(Btt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t5(Rtt, e, "公司类型") : ""}
- ${e === "tags" ? Wtt(r) : ""}
- ${e === "performers" && n !== "online" ? Pbe(i) : ""}
+ ${e === "tags" ? r5(lnt, n, "词表") : e === "performers" || e === "creators" ? r5(unt, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? r5(cnt, e, "公司类型") : ""}
+ ${e === "tags" ? mnt(r) : ""}
+ ${e === "performers" && n !== "online" ? Bbe(i) : ""}
${go({
kind: e,
layout: a,
mode: r
})}`;
}
-var Ktt = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function qtt(e, t, n) {
- let r = Gtt(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== Ktt(r) && (e.innerHTML = r, Co(e));
+var gnt = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function _nt(e, t, n) {
+ let r = hnt(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== gnt(r) && (e.innerHTML = r, Co(e));
}
//#endregion
//#region src/react/router/pages/index-entity.tsx
-var Jtt = () => Tc, Ytt = () => uc, n5 = () => document.getElementById("index");
-function r5(e, t, n = {}) {
- let r = (0, b.useSyncExternalStore)(Ic, Jtt);
- mL();
- let i = DL(iR.navigation.location.pathname), a = (0, b.useRef)({
+var vnt = () => Tc, ynt = () => uc, i5 = () => document.getElementById("index");
+function a5(e, t, n = {}) {
+ let r = (0, b.useSyncExternalStore)(Ic, vnt);
+ SL();
+ let i = FL(fR.navigation.location.pathname), a = (0, b.useRef)({
mounted: !0,
epoch: -1,
opens: -1,
@@ -91623,7 +92232,7 @@ function r5(e, t, n = {}) {
let t = a.current;
if (!t.mounted) return;
let n = t.epoch !== e || t.opens !== Tc, r = t.opens !== Tc;
- if (t.epoch = e, t.opens = Tc, DL(iR.navigation.location.pathname)) {
+ if (t.epoch = e, t.opens = Tc, FL(fR.navigation.location.pathname)) {
n && o.current.options.onCovered?.();
return;
}
@@ -91644,13 +92253,13 @@ function r5(e, t, n = {}) {
i
]);
}
-async function Xtt(e, t, n, r) {
- let i = n5();
+async function bnt(e, t, n, r) {
+ let i = i5();
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = Utt(t, n), s = Htt(wT().value.peopleLayout);
- qtt(i, o, s), await JL(a, {
+ let o = pnt(t, n), s = fnt(wT().value.peopleLayout);
+ _nt(i, o, s), await nR(a, {
...o,
layout: s,
selectMode: uc,
@@ -91660,23 +92269,23 @@ async function Xtt(e, t, n, r) {
isCurrent: r
}) && r() && e.surfaceShown?.("index", a);
}
-function Ztt(e) {
- let t = n5(), n = t ? WL(t) : null;
+function xnt(e) {
+ let t = i5(), n = t ? QL(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function Qtt({ epoch: e }) {
- let t = (0, b.useContext)(pR), n = mL(), r = n.pathname.split("/").filter(Boolean)[0];
- return r5(e, (e, i) => {
- t && Xtt(t, r, n.search, i);
- }, { shown: () => Ztt(`/${r}`) }), null;
+function Snt({ epoch: e }) {
+ let t = (0, b.useContext)(xR), n = SL(), r = n.pathname.split("/").filter(Boolean)[0];
+ return a5(e, (e, i) => {
+ t && bnt(t, r, n.search, i);
+ }, { shown: () => xnt(`/${r}`) }), null;
}
-function $tt() {
- let e = fR(), t = (0, b.useSyncExternalStore)(Ic, Ytt), n = (0, b.useRef)(t);
+function Cnt() {
+ let e = bR(), t = (0, b.useSyncExternalStore)(Ic, ynt), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && YL(n5(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, x.jsx)(Qtt, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && rR(i5(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, x.jsx)(Snt, { epoch: e }, e);
}
-function ent(e) {
+function wnt(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -91690,9 +92299,9 @@ function ent(e) {
name: a
} : null;
}
-var tnt = /* @__PURE__ */ new WeakMap();
-function nnt(e) {
- let t = tnt.get(e);
+var Tnt = /* @__PURE__ */ new WeakMap();
+function Ent(e) {
+ let t = Tnt.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -91702,14 +92311,14 @@ function nnt(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, tnt.set(e, t)), t;
+ }, Tnt.set(e, t)), t;
}
-function rnt() {
- let e = n5(), t = e ? WL(e) : null;
+function Dnt() {
+ let e = i5(), t = e ? QL(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function int(e, t, n, r, i, a) {
- let o = n5();
+async function Ont(e, t, n, r, i, a) {
+ let o = i5();
if (!o) return;
let { segment: s, kind: c, name: l } = n;
if (e.surfaceChanged("entity", r), await t.loading(c, l, a), !a()) return;
@@ -91723,7 +92332,7 @@ async function int(e, t, n, r, i, a) {
}, m = t.props(c, l, i), h = {
...m,
hosts: p,
- card: nnt(e),
+ card: Ent(e),
actions: {
...m.actions,
javContext: (e) => {
@@ -91731,43 +92340,43 @@ async function int(e, t, n, r, i, a) {
}
}
};
- await JL(`/${s}/*`, h, {
+ await nR(`/${s}/*`, h, {
container: o,
isCurrent: a,
place: (e) => (e.replaceChildren(...d), f.firstElementChild)
- }) && a() && rnt() && (e.surfaceShown?.("entity", r), window.scrollTo({
+ }) && a() && Dnt() && (e.surfaceShown?.("entity", r), window.scrollTo({
top: 0,
behavior: "smooth"
}));
}
-function ant({ target: e }) {
- let t = (0, b.useContext)(pR), n = fR(), r = mL();
- return r5(n, (n, i) => {
+function knt({ target: e }) {
+ let t = (0, b.useContext)(xR), n = bR(), r = SL();
+ return a5(n, (n, i) => {
let a = t?.entity;
- t && a && (n || !a.refresh(e.kind, e.name, r.search)) && int(t, a, e, r.pathname, r.search, i);
- }, { shown: () => rnt() && !n5()?.hidden }), null;
+ t && a && (n || !a.refresh(e.kind, e.name, r.search)) && Ont(t, a, e, r.pathname, r.search, i);
+ }, { shown: () => Dnt() && !i5()?.hidden }), null;
}
-function ont() {
- let e = ent(mL().pathname);
- return e ? /* @__PURE__ */ (0, x.jsx)(ant, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function Ant() {
+ let e = wnt(SL().pathname);
+ return e ? /* @__PURE__ */ (0, x.jsx)(knt, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
//#endregion
//#region src/react/router/pages/catalog.tsx
-var snt = () => Tc, cnt = iR.navigation.seq, lnt = iR.navigation.openEpoch, i5 = iR.navigation.location.pathname, a5 = {
- seq: cnt,
+var jnt = () => Tc, Mnt = fR.navigation.seq, Nnt = fR.navigation.openEpoch, o5 = fR.navigation.location.pathname, s5 = {
+ seq: Mnt,
claimed: !0,
- from: i5
+ from: o5
};
-iR.listen((e) => {
- a5 = {
+fR.listen((e) => {
+ s5 = {
seq: e.seq,
- claimed: e.openEpoch === lnt,
- from: i5
- }, lnt = e.openEpoch, i5 = e.location.pathname;
+ claimed: e.openEpoch === Nnt,
+ from: o5
+ }, Nnt = e.openEpoch, o5 = e.location.pathname;
});
-var o5 = !1;
-function unt(e) {
- let { seq: t, openEpoch: n, location: r } = iR.navigation, i = DL(r.pathname), a = sR() ?? r, o = U ?? {};
+var c5 = !1;
+function Pnt(e) {
+ let { seq: t, openEpoch: n, location: r } = fR.navigation, i = FL(r.pathname), a = hR() ?? r, o = U ?? {};
return {
seq: t,
epoch: n,
@@ -91778,7 +92387,7 @@ function unt(e) {
opened: e
};
}
-function dnt(e, t, n, r) {
+function Fnt(e, t, n, r) {
let i = { ...U };
if (e === "/trash") return {
...i,
@@ -91809,13 +92418,13 @@ function dnt(e, t, n, r) {
jav: a.get("jav") || ""
};
}
-function fnt(e, t) {
- let n = { ...e }, r = unt(n.opened);
+function Int(e, t) {
+ let n = { ...e }, r = Pnt(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
if (r.covered) {
- sR() || i.fill();
+ hR() || i.fill();
return;
}
let a = !1;
@@ -91825,41 +92434,41 @@ function fnt(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = iR.navigation.action === "POP" && a5.from !== "/");
+ r.epoch !== n.epoch && (a = fR.navigation.action === "POP" && s5.from !== "/");
}
- let { pathname: o, search: s } = iR.navigation.location;
+ let { pathname: o, search: s } = fR.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = iB(s);
- o5 = !0, aR(aB(e, t), { replace: !0 });
+ let { kind: e, view: t } = fB(s);
+ c5 = !0, pR(pB(e, t), { replace: !0 });
return;
}
- let c = o5;
- o5 = !1, a &&= o === "/", e.opened = !0, Pc({ state: dnt(o, s, a, i) }), i.open(o, {
+ let c = c5;
+ c5 = !1, a &&= o === "/", e.opened = !0, Pc({ state: Fnt(o, s, a, i) }), i.open(o, {
entering: a,
retitle: c
});
}
-function pnt(e) {
- return wt(e) || e === "/trash" || DL(e) || e === "/immerse" || !!ent(e);
+function Lnt(e) {
+ return wt(e) || e === "/trash" || FL(e) || e === "/immerse" || !!wnt(e);
}
-function mnt() {
- let e = (0, b.useContext)(pR), t = fR(), n = (0, b.useSyncExternalStore)(Ic, snt), r = mL(), i = (0, b.useRef)(null), a = (0, b.useRef)({
+function Rnt() {
+ let e = (0, b.useContext)(xR), t = bR(), n = (0, b.useSyncExternalStore)(Ic, jnt), r = SL(), i = (0, b.useRef)(null), a = (0, b.useRef)({
mounted: !0,
queued: !1
});
return (0, b.useEffect)(() => {
let t = a.current;
t.mounted = !0;
- let n = unt(!DL(iR.navigation.location.pathname));
- return !n.covered && n.opens > 0 && (o5 || a5.seq === cnt ? n.opens = -1 : a5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
+ let n = Pnt(!FL(fR.navigation.location.pathname));
+ return !n.covered && n.opens > 0 && (c5 || s5.seq === Mnt ? n.opens = -1 : s5.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {
t.mounted = !1, queueMicrotask(() => {
- e?.catalog && !pnt(iR.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !Lnt(fR.navigation.location.pathname) && e.catalog.release();
});
};
}, []), (0, b.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && fnt(i.current, e);
+ t.queued = !1, t.mounted && i.current && Int(i.current, e);
}));
}, [
t,
@@ -91868,34 +92477,34 @@ function mnt() {
e
]), null;
}
-function hnt() {
- let { pathname: e, search: t } = mL(), n = (0, b.useContext)(pR), r = document.getElementById("javLibraryHeader"), i = wt(e) && new URLSearchParams(t).get("jav") === "1";
+function znt() {
+ let { pathname: e, search: t } = SL(), n = (0, b.useContext)(xR), r = document.getElementById("javLibraryHeader"), i = wt(e) && new URLSearchParams(t).get("jav") === "1";
return (0, b.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
- }, [r, i]), DL(e) && !EL(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(mnt, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(dDe, {
+ }, [r, i]), FL(e) && !PL(e) ? null : /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [/* @__PURE__ */ (0, x.jsx)(Rnt, {}, e === "/junk-files" ? "/junk-files" : "/"), i && r && n ? (0, mt.createPortal)(/* @__PURE__ */ (0, x.jsx)(gDe, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null] });
}
//#endregion
//#region src/react/router/pages/follow.tsx
-var s5 = () => document.getElementById("stats"), gnt = () => jc;
-function _nt(e) {
+var l5 = () => document.getElementById("stats"), Bnt = () => jc;
+function Vnt(e) {
let t = document.createElement("div");
return t.className = "peach-react", po(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-async function vnt(e, t) {
- let n = s5(), r = e.follow;
+async function Hnt(e, t) {
+ let n = l5(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = Ac;
- e.surfaceChanged("follow", "/follow"), rU(n, r.skeleton()), await JL("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), mU(n, r.skeleton()), await nR("/follow", r.props(), {
container: n,
isCurrent: t,
- place: _nt
+ place: Vnt
}), t() && window.scrollTo(i ? {
top: i,
behavior: "instant"
@@ -91904,32 +92513,32 @@ async function vnt(e, t) {
behavior: "smooth"
});
}
-function ynt() {
- let e = s5(), t = e ? WL(e) : null;
+function Unt() {
+ let e = l5(), t = e ? QL(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function bnt() {
- let e = (0, b.useContext)(pR);
- return r5(fR(), (t, n) => {
- e && vnt(e, n);
+function Wnt() {
+ let e = (0, b.useContext)(xR);
+ return a5(bR(), (t, n) => {
+ e && Hnt(e, n);
}, {
- shown: ynt,
+ shown: Unt,
onCovered: () => {
- iR.navigation.location.pathname.startsWith("/follow/item/") && e?.follow?.ground();
+ fR.navigation.location.pathname.startsWith("/follow/item/") && e?.follow?.ground();
}
}), null;
}
-function xnt(e) {
- let t = e ? WL(e) : null;
+function Gnt(e) {
+ let t = e ? QL(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function Snt(e, t) {
- let n = s5();
- n && (e.surfaceChanged("playlists", "/playlists"), rU(n, tU("/playlists", {
+async function Knt(e, t) {
+ let n = l5();
+ n && (e.surfaceChanged("playlists", "/playlists"), mU(n, fU("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
- })), await JL("/playlists", { revision: jc }, {
+ })), await nR("/playlists", { revision: jc }, {
container: n,
isCurrent: t
}), t() && window.scrollTo({
@@ -91937,68 +92546,68 @@ async function Snt(e, t) {
behavior: "smooth"
}));
}
-function Cnt() {
- let e = (0, b.useContext)(pR), t = (0, b.useSyncExternalStore)(Ic, gnt), n = (0, b.useRef)(t);
+function qnt() {
+ let e = (0, b.useContext)(xR), t = (0, b.useSyncExternalStore)(Ic, Bnt), n = (0, b.useRef)(t);
return (0, b.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = s5();
- xnt(e) && YL(e, { revision: t });
- }, [t]), r5(fR(), (t, n) => {
- e && Snt(e, n);
+ let e = l5();
+ Gnt(e) && rR(e, { revision: t });
+ }, [t]), a5(bR(), (t, n) => {
+ e && Knt(e, n);
}, { shown: () => {
- let e = s5();
- return xnt(e) && !e.hidden;
+ let e = l5();
+ return Gnt(e) && !e.hidden;
} }), null;
}
//#endregion
//#region src/react/router/pages/immerse.tsx
-function wnt() {
- let e = new URLSearchParams(iR.navigation.location.search).get("id");
+function Jnt() {
+ let e = new URLSearchParams(fR.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function Tnt() {
- let e = (0, b.useContext)(pR);
- return uR(() => {
- e?.openImmerse(wnt());
+function Ynt() {
+ let e = (0, b.useContext)(xR);
+ return vR(() => {
+ e?.openImmerse(Jnt());
}, !0), null;
}
-function Ent() {
- return /* @__PURE__ */ (0, x.jsx)(Tnt, {}, fR());
+function Xnt() {
+ return /* @__PURE__ */ (0, x.jsx)(Ynt, {}, bR());
}
//#endregion
//#region src/react/router/pages/managed.tsx
-var Dnt = [
+var Znt = [
"list",
"add",
"feeds"
-], Ont = () => Tc > 0, knt = () => (0, b.useSyncExternalStore)(Ic, Ont), c5 = !1, Ant = () => wT().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);
-function jnt(e) {
- let t = l5();
- return tU(e, {
- followLayout: Ant(),
+], Qnt = () => Tc > 0, $nt = () => (0, b.useSyncExternalStore)(Ic, Qnt), u5 = !1, ert = () => wT().value.followLayout === "table" ? "table" : "default", d5 = () => new URLSearchParams(window.location.search);
+function trt(e) {
+ let t = d5();
+ return fU(e, {
+ followLayout: ert(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
});
}
-function u5(e) {
+function f5(e) {
return vt("/healthz", { signal: e.controller.signal }).catch((e) => {
if (yt(e)) return null;
throw e;
});
}
-function Mnt(e, t) {
+function nrt(e, t) {
return {
readOnly: !!e?.ledger_read_only,
readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",
writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""
};
}
-async function Nnt(e, t) {
+async function rrt(e, t) {
if (e === "/jav") {
- let e = await u5(t);
+ let e = await f5(t);
return t.live ? {
- tab: pB(l5().get("tab")),
+ tab: xB(d5().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -92009,58 +92618,58 @@ async function Nnt(e, t) {
}
if (e === "/configuration") {
window.location.hash === "#peachProxy" && Pc({ configurationRequestedSection: "网络与访问" });
- let e = l5().get("section") || Sc;
+ let e = d5().get("section") || Sc;
return e ? { section: e } : {};
}
if (e === "/review") {
- let e = l5().get("category") || "", n = await u5(t);
+ let e = d5().get("category") || "", n = await f5(t);
return t.live ? {
- category: eN(e) ? e : "",
- ...Mnt(n, "/review")
+ category: hN(e) ? e : "",
+ ...nrt(n, "/review")
} : null;
}
if (e === "/follow-manage") {
- let e = l5(), n = e.get("tab") || "", r = {
- tab: Dnt.includes(n) ? n : "list",
+ let e = d5(), n = e.get("tab") || "", r = {
+ tab: Znt.includes(n) ? n : "list",
page: Math.max(1, Math.floor(Number(e.get("page"))) || 1),
sort: e.get("sort") || "",
dir: e.get("dir") || ""
- }, i = await u5(t);
+ }, i = await f5(t);
if (!t.live) return null;
let a = wT().value;
return {
...r,
pageSize: Number(a.followPageSize) || 20,
- layout: Ant(),
- ...Mnt(i, "/follow-manage")
+ layout: ert(),
+ ...nrt(i, "/follow-manage")
};
}
return {};
}
-var d5 = () => {
+var p5 = () => {
window.scrollTo({
top: 0,
behavior: "smooth"
});
-}, f5 = (e) => {
+}, m5 = (e) => {
document.getElementById(e)?.scrollIntoView({ block: "start" });
-}, Pnt = /* @__PURE__ */ new Set(["/stats", "/taste"]), Fnt = /* @__PURE__ */ new Set([
+}, irt = /* @__PURE__ */ new Set(["/stats", "/taste"]), art = /* @__PURE__ */ new Set([
"/review",
"/quality-goals",
"/activity",
"/follow-manage"
]);
-async function Int(e, t, n) {
- if (e === "/jav" && pB(l5().get("tab")) === "library") {
- iR.replace(FEe(window.location.search));
+async function ort(e, t, n) {
+ if (e === "/jav" && xB(d5().get("tab")) === "library") {
+ fR.replace(BEe(window.location.search));
return;
}
- if (e === "/follow-manage" && l5().get("tab") === "wants") {
- aR("/jav?tab=wants", { replace: !0 });
+ if (e === "/follow-manage" && d5().get("tab") === "wants") {
+ pR("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/follow-manage" && l5().get("tab") === "source") {
- aR("/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85", { replace: !0 });
+ if (e === "/follow-manage" && d5().get("tab") === "source") {
+ pR("/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85", { replace: !0 });
return;
}
let r = document.getElementById("stats");
@@ -92083,36 +92692,36 @@ async function Int(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let i = e === "/data-cleanup" && c5;
- i && (c5 = !1), rU(r, jnt(e));
- let a = await Nnt(e, n);
+ let i = e === "/data-cleanup" && u5;
+ i && (u5 = !1), mU(r, trt(e));
+ let a = await rrt(e, n);
if (!a) return;
- let o = await JL(e, a, {
+ let o = await nR(e, a, {
container: r,
isCurrent: () => n.live
});
- if (o && (n.revision = WL(r)?.revision ?? 0), e === "/configuration" && o && Pc({ configurationRequestedSection: "" }), Pnt.has(e) && d5(), n.live) {
+ if (o && (n.revision = QL(r)?.revision ?? 0), e === "/configuration" && o && Pc({ configurationRequestedSection: "" }), irt.has(e) && p5(), n.live) {
let { hash: t } = window.location;
- Fnt.has(e) && d5(), e === "/configuration" && (t === "#libraryProcessing" ? queueMicrotask(() => {
- n.live && aR("/data-cleanup#libraryProcessing", {
+ art.has(e) && p5(), e === "/configuration" && (t === "#libraryProcessing" ? queueMicrotask(() => {
+ n.live && pR("/data-cleanup#libraryProcessing", {
replace: !0,
state: null
});
- }) : t === "#peachProxy" ? f5("peachProxy") : d5()), e === "/data-cleanup" && t === "#libraryProcessing" && f5("libraryProcessing");
+ }) : t === "#peachProxy" ? m5("peachProxy") : p5()), e === "/data-cleanup" && t === "#libraryProcessing" && m5("libraryProcessing");
}
- i && f5("resource-sync");
+ i && m5("resource-sync");
}
-function p5({ path: e }) {
- let t = fR();
- mL();
- let n = DL(iR.navigation.location.pathname), r = (0, b.useRef)(n ? null : t);
- return n || (r.current = t), /* @__PURE__ */ (0, x.jsx)(Lnt, {
+function h5({ path: e }) {
+ let t = bR();
+ SL();
+ let n = FL(fR.navigation.location.pathname), r = (0, b.useRef)(n ? null : t);
+ return n || (r.current = t), /* @__PURE__ */ (0, x.jsx)(srt, {
path: e,
covered: r.current === null
}, `${e} ${r.current ?? "covered"}`);
}
-function Lnt({ path: e, covered: t }) {
- let n = (0, b.useContext)(pR), r = knt(), i = (0, b.useRef)(null);
+function srt({ path: e, covered: t }) {
+ let n = (0, b.useContext)(xR), r = $nt(), i = (0, b.useRef)(null);
return (0, b.useEffect)(() => {
if (t || !n || !r || i.current) return;
let a = {
@@ -92121,7 +92730,7 @@ function Lnt({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && Int(e, n, a);
+ a.live && ort(e, n, a);
});
}, [r]), (0, b.useEffect)(() => () => {
let e = i.current;
@@ -92129,18 +92738,18 @@ function Lnt({ path: e, covered: t }) {
e.live = !1, e.controller.abort();
let t = document.getElementById("stats");
queueMicrotask(() => {
- t && e.revision && !t.hidden && WL(t)?.revision === e.revision && XL(t);
+ t && e.revision && !t.hidden && QL(t)?.revision === e.revision && iR(t);
});
}, []), null;
}
-function Rnt() {
- let e = knt(), t = (0, b.useRef)(!1);
+function crt() {
+ let e = $nt(), t = (0, b.useRef)(!1);
return (0, b.useEffect)(() => {
- if (!e || t.current || DL(iR.navigation.location.pathname)) return;
+ if (!e || t.current || FL(fR.navigation.location.pathname)) return;
t.current = !0;
let n = !0;
return queueMicrotask(() => {
- n && (c5 = !0, aR("/data-cleanup#resource-sync", { replace: !0 }));
+ n && (u5 = !0, pR("/data-cleanup#resource-sync", { replace: !0 }));
}), () => {
n = !1;
};
@@ -92148,28 +92757,28 @@ function Rnt() {
}
//#endregion
//#region src/react/router/managed-routes.tsx
-function znt(e, t, n) {
+function lrt(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- h5(r) ? n(r) : t.openManage(e);
+ _5(r) ? n(r) : t.openManage(e);
}
-var m5 = {
+var g5 = {
"/jav": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/jav" }),
- prefetch: (e, t) => uDe(e.tab, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(pDe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/jav" }),
+ prefetch: (e, t) => hDe(e.tab, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(vDe, {
...e,
navigate: t.navigate,
receipt: (e) => t.receipt(e)
})
},
"/stats": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/stats" }),
- prefetch: (e, t) => LMe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(C9e, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/stats" }),
+ prefetch: (e, t) => XMe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(q9e, {
tagLabel: Zs,
onTag: t.openTag,
configurable: e.configurable,
@@ -92179,9 +92788,9 @@ var m5 = {
})
},
"/taste": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/taste" }),
- prefetch: (e, t) => net("all", t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(Ptt, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/taste" }),
+ prefetch: (e, t) => Oet("all", t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(int, {
onSignal: t.openTasteSignal,
navigate: n,
toast: (e) => t.receipt(e),
@@ -92189,9 +92798,9 @@ var m5 = {
})
},
"/review": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/review" }),
- prefetch: (e, t) => fve(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(YDe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/review" }),
+ prefetch: (e, t) => bve(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(tOe, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -92201,52 +92810,52 @@ var m5 = {
})
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/data-cleanup" }),
- prefetch: (e, t) => Qve(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(wbe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/data-cleanup" }),
+ prefetch: (e, t) => oye(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(Abe, {
failure: t.failure,
- open: (e) => znt(e, t, n),
+ open: (e) => lrt(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
})
},
"/duplicates": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/duplicates" }),
- prefetch: (e, t) => k_e(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Pwe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/duplicates" }),
+ prefetch: (e, t) => L_e(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(zwe, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
})
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/quality-goals" }),
- prefetch: (e, t) => q_e(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(NDe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/quality-goals" }),
+ prefetch: (e, t) => tve(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(RDe, {
openItem: t.openItem,
- javTitleHtml: yO,
- javDisplayName: vO,
+ javTitleHtml: bO,
+ javDisplayName: yO,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
})
},
"/scraping": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/scraping" }),
- prefetch: (e, t) => nOe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(uOe, { toast: (e) => t.toast(e) })
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/scraping" }),
+ prefetch: (e, t) => cOe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(SOe, { toast: (e) => t.toast(e) })
},
"/configuration": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/configuration" }),
- prefetch: (e, t) => bOe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(Fke, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/configuration" }),
+ prefetch: (e, t) => MOe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(qke, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial,
section: e.section ?? ""
})
},
"/diagnostics": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/diagnostics" }),
- prefetch: (e, t) => Fwe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(zwe, {
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/diagnostics" }),
+ prefetch: (e, t) => Bwe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, x.jsx)(Wwe, {
navigate: n,
openItem: t.openItem,
receipt: (e) => t.receipt(e),
@@ -92256,14 +92865,14 @@ var m5 = {
})
},
"/activity": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/activity" }),
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/activity" }),
prefetch: (e, t) => ope(t),
page: () => /* @__PURE__ */ (0, x.jsx)(Npe, {})
},
"/follow-manage": {
- element: /* @__PURE__ */ (0, x.jsx)(p5, { path: "/follow-manage" }),
+ element: /* @__PURE__ */ (0, x.jsx)(h5, { path: "/follow-manage" }),
prefetch: (e, t) => Or(t, e.tab),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(QTe, {
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(rEe, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -92272,11 +92881,11 @@ var m5 = {
openServiceConfiguration: () => t.navigate("/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85")
})
}
-}, h5 = (e) => Object.hasOwn(m5, e), Bnt = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(Rnt, {}) } }, Vnt = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(Ent, {}) } }, g5 = {
+}, _5 = (e) => Object.hasOwn(g5, e), urt = { "/resource-sync": { element: /* @__PURE__ */ (0, x.jsx)(crt, {}) } }, drt = { "/immerse": { element: /* @__PURE__ */ (0, x.jsx)(Xnt, {}) } }, v5 = {
"/playlists": {
- element: /* @__PURE__ */ (0, x.jsx)(Cnt, {}),
- prefetch: (e, t) => yDe(t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(jDe, {
+ element: /* @__PURE__ */ (0, x.jsx)(qnt, {}),
+ prefetch: (e, t) => wDe(t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(IDe, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -92285,14 +92894,14 @@ var m5 = {
})
},
"/follow": {
- element: /* @__PURE__ */ (0, x.jsx)(bnt, {}),
+ element: /* @__PURE__ */ (0, x.jsx)(Wnt, {}),
prefetch: (e, t) => Xr(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Txe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(jxe, { ...e })
}
-}, Hnt = (e) => Object.hasOwn(g5, e), _5 = {
- element: /* @__PURE__ */ (0, x.jsx)($tt, {}),
- prefetch: (e, t) => Gbe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, x.jsx)(mEe, {
+}, frt = (e) => Object.hasOwn(v5, e), y5 = {
+ element: /* @__PURE__ */ (0, x.jsx)(Cnt, {}),
+ prefetch: (e, t) => Zbe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, x.jsx)(yEe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -92305,51 +92914,51 @@ var m5 = {
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
-}, v5 = {
- "/performers": _5,
- "/creators": _5,
- "/studios": _5,
- "/agencies": _5,
- "/tags": _5
-}, y5 = {
- element: /* @__PURE__ */ (0, x.jsx)(ont, {}),
- prefetch: (e) => Nbe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(wwe, { ...e })
}, b5 = {
- "/performers/*": y5,
- "/studios/*": y5,
- "/creators/*": y5,
- "/series/*": y5,
- "/agencies/*": y5
+ "/performers": y5,
+ "/creators": y5,
+ "/studios": y5,
+ "/agencies": y5,
+ "/tags": y5
}, x5 = {
+ element: /* @__PURE__ */ (0, x.jsx)(Ant, {}),
+ prefetch: (e) => zbe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(kwe, { ...e })
+}, S5 = {
+ "/performers/*": x5,
+ "/studios/*": x5,
+ "/creators/*": x5,
+ "/series/*": x5,
+ "/agencies/*": x5
+}, C5 = {
"/": {
- element: /* @__PURE__ */ (0, x.jsx)(hnt, {}),
+ element: /* @__PURE__ */ (0, x.jsx)(znt, {}),
prefetch: (e, t) => Jce(e, t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(wM, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(zM, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, x.jsx)(hnt, {}),
+ element: /* @__PURE__ */ (0, x.jsx)(znt, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(kEe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(PEe, { ...e })
}
-}, Unt = (e) => Object.hasOwn(x5, e), Wnt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(_De, { ...e }) : /* @__PURE__ */ (0, x.jsx)(NP, { ...e }), Gnt = {
+}, prt = (e) => Object.hasOwn(C5, e), mrt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, x.jsx)(SDe, { ...e }) : /* @__PURE__ */ (0, x.jsx)(JP, { ...e }), hrt = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Jge, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(n_e, { ...e })
},
"feed-new": {
- prefetch: (e) => kbe(e),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Bwe, { ...e })
+ prefetch: (e) => Fbe(e),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(Gwe, { ...e })
},
"library-processing": {
- prefetch: (e, t) => LM(t),
- page: (e) => /* @__PURE__ */ (0, x.jsx)(Wnt, { ...e })
+ prefetch: (e, t) => QM(t),
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(mrt, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, x.jsx)(hOe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, x.jsx)(DOe, { ...e })
}
-}, Knt = (e) => Object.hasOwn(Gnt, e), qnt = {
+}, grt = (e) => Object.hasOwn(hrt, e), _rt = {
"batch-dock": {
prefetch: async () => {},
page: () => /* @__PURE__ */ (0, x.jsx)(Tse, {})
@@ -92360,25 +92969,25 @@ var m5 = {
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(Rue, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Lue, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(wue, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(Cue, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(nAe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(pAe, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(gAe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(DAe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, x.jsx)(FMe, {})
+ page: () => /* @__PURE__ */ (0, x.jsx)(JMe, {})
}
-}, Jnt = (e) => Object.hasOwn(qnt, e), Ynt = [
+}, vrt = (e) => Object.hasOwn(_rt, e), yrt = [
"/",
"/unseen",
"/watch-later",
@@ -92387,44 +92996,44 @@ var m5 = {
"/junk-files"
];
[
- ...Object.keys(m5),
...Object.keys(g5),
...Object.keys(v5),
...Object.keys(b5),
- ...Ynt
+ ...Object.keys(S5),
+ ...yrt
];
-var Xnt = (e) => h5(e) || Hnt(e) || Object.hasOwn(v5, e) || Object.hasOwn(b5, e) || Unt(e) || Knt(e) || Jnt(e);
-function Znt(e) {
- return h5(e) ? m5[e] : Hnt(e) ? g5[e] : Unt(e) ? x5[e] : Knt(e) ? Gnt[e] : Jnt(e) ? qnt[e] : Object.hasOwn(v5, e) ? v5[e] : b5[e];
+var brt = (e) => _5(e) || frt(e) || Object.hasOwn(b5, e) || Object.hasOwn(S5, e) || prt(e) || grt(e) || vrt(e);
+function xrt(e) {
+ return _5(e) ? g5[e] : frt(e) ? v5[e] : prt(e) ? C5[e] : grt(e) ? hrt[e] : vrt(e) ? _rt[e] : Object.hasOwn(b5, e) ? b5[e] : S5[e];
}
-function Qnt(e, t, n) {
- return Xnt(e) ? Znt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function Srt(e, t, n) {
+ return brt(e) ? xrt(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function $nt(e, t, n, r) {
- return Znt(e).page(t, n, r);
+function Crt(e, t, n, r) {
+ return xrt(e).page(t, n, r);
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function ert(e) {
+function wrt(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var trt = (e) => {
+var Trt = (e) => {
switch (e) {
- case "success": return irt;
- case "info": return ort;
- case "warning": return art;
- case "error": return srt;
+ case "success": return Ort;
+ case "info": return Art;
+ case "warning": return krt;
+ case "error": return jrt;
default: return null;
}
-}, nrt = Array(12).fill(0), rrt = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {
+}, Ert = Array(12).fill(0), Drt = ({ visible: e, className: t }) => /*#__PURE__*/ b.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, nrt.map((e, t) => /*#__PURE__*/ b.createElement("div", {
+}, /*#__PURE__*/ b.createElement("div", { className: "sonner-spinner" }, Ert.map((e, t) => /*#__PURE__*/ b.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), irt = /*#__PURE__*/ b.createElement("svg", {
+})))), Ort = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -92435,7 +93044,7 @@ var trt = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), art = /*#__PURE__*/ b.createElement("svg", {
+})), krt = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -92446,7 +93055,7 @@ var trt = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), ort = /*#__PURE__*/ b.createElement("svg", {
+})), Art = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -92457,7 +93066,7 @@ var trt = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), srt = /*#__PURE__*/ b.createElement("svg", {
+})), jrt = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -92468,7 +93077,7 @@ var trt = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), crt = /*#__PURE__*/ b.createElement("svg", {
+})), Mrt = /*#__PURE__*/ b.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -92489,7 +93098,7 @@ var trt = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), lrt = () => {
+})), Nrt = () => {
let [e, t] = b.useState(document.hidden);
return b.useEffect(() => {
let e = () => {
@@ -92497,7 +93106,7 @@ var trt = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, urt = 1, drt = 100, S5 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : urt++, C5 = new class {
+}, Prt = 1, Frt = 100, Irt = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Prt++, w5 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -92507,10 +93116,10 @@ var trt = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - drt;
+ let e = this.toasts.length - Frt;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
- let { message: t, ...n } = e, r = S5(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = Irt(e), i = this.pendingDismissals.get(r);
i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -92585,7 +93194,7 @@ var trt = (e) => {
type: "default",
message: e
});
- else if (prt(e) && !e.ok) {
+ else if (Rrt(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !b.isValidElement(r) ? r : { message: r };
this.create({
@@ -92629,7 +93238,7 @@ var trt = (e) => {
}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
}, this.custom = (e, t) => {
- let n = S5(t);
+ let n = Irt(t);
return this.create({
...t,
jsx: e(n),
@@ -92638,34 +93247,34 @@ var trt = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), frt = (e, t) => C5.message(e, t), prt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", mrt = Object.assign(frt, {
- success: C5.success,
- info: C5.info,
- warning: C5.warning,
- error: C5.error,
- custom: C5.custom,
- message: C5.message,
- promise: C5.promise,
- dismiss: C5.dismiss,
- loading: C5.loading
+}(), Lrt = (e, t) => w5.message(e, t), Rrt = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", zrt = Object.assign(Lrt, {
+ success: w5.success,
+ info: w5.info,
+ warning: w5.warning,
+ error: w5.error,
+ custom: w5.custom,
+ message: w5.message,
+ promise: w5.promise,
+ dismiss: w5.dismiss,
+ loading: w5.loading
}, {
- getHistory: () => C5.toasts,
- getToasts: () => C5.getActiveToasts()
+ getHistory: () => w5.toasts,
+ getToasts: () => w5.getActiveToasts()
});
-ert("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-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;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
-function w5(e) {
+wrt("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-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;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+function T5(e) {
return e.label !== void 0;
}
-var hrt = 3, grt = "24px", _rt = "16px", vrt = 4e3, yrt = 356, brt = 14, xrt = 45, Srt = 200;
-function T5(...e) {
+var Brt = 3, Vrt = "24px", Hrt = "16px", Urt = 4e3, Wrt = 356, Grt = 14, Krt = 45, qrt = 200;
+function E5(...e) {
return e.filter(Boolean).join(" ");
}
-function Crt(e) {
+function Jrt(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var wrt = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, ne] = b.useState(!1), [re, ie] = b.useState(!1), [ae, oe] = b.useState(0), [se, ce] = b.useState(0), le = b.useRef(n.duration || y || vrt), ue = b.useRef(null), de = b.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = b.useMemo(() => n.duration || y || vrt, [n.duration, y]), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(0), Te = b.useRef(null), [Ee, De] = x.split("-"), Oe = b.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = lrt(), Ae = b.useMemo(() => e.swipeDirections ?? Crt(x), [e.swipeDirections, x]), je = n.invert || t, Me = me === "loading";
+var Yrt = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = b.useState(null), [k, A] = b.useState(null), [j, M] = b.useState(!1), [N, P] = b.useState(!1), [ee, F] = b.useState(!1), [te, ne] = b.useState(!1), [re, ie] = b.useState(!1), [ae, oe] = b.useState(0), [se, ce] = b.useState(0), le = b.useRef(n.duration || y || Urt), ue = b.useRef(null), de = b.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", ge = n.dismissible !== !1, _e = n.className || "", ve = n.descriptionClassName || "", ye = b.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), be = b.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), xe = b.useMemo(() => n.duration || y || Urt, [n.duration, y]), Se = b.useRef(0), Ce = b.useRef(0), we = b.useRef(0), Te = b.useRef(null), [Ee, De] = x.split("-"), Oe = b.useMemo(() => s.reduce((e, t, n) => n >= ye ? e : e + t.height, 0), [s, ye]), ke = Nrt(), Ae = b.useMemo(() => e.swipeDirections ?? Jrt(x), [e.swipeDirections, x]), je = n.invert || t, Me = me === "loading";
Ce.current = b.useMemo(() => ye * S + Oe, [ye, Oe]), b.useEffect(() => {
le.current = xe;
}, [xe]), b.useEffect(() => {
@@ -92706,7 +93315,7 @@ var wrt = (e) => {
let Ne = b.useCallback(() => {
P(!0), oe(Ce.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, Srt);
+ }, qrt);
}, [
n,
d,
@@ -92737,18 +93346,18 @@ var wrt = (e) => {
}, [Ne, n.delete]);
function Pe() {
return T?.loading ? /*#__PURE__*/ b.createElement("div", {
- className: T5(w?.loader, n?.classNames?.loader, "sonner-loader"),
+ className: E5(w?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": me === "loading"
- }, T.loading) : /*#__PURE__*/ b.createElement(rrt, {
- className: T5(w?.loader, n?.classNames?.loader),
+ }, T.loading) : /*#__PURE__*/ b.createElement(Drt, {
+ className: E5(w?.loader, n?.classNames?.loader),
visible: me === "loading"
});
}
- let Fe = n.icon || T?.[me] || trt(me);
+ let Fe = n.icon || T?.[me] || Trt(me);
return /*#__PURE__*/ b.createElement("li", {
tabIndex: 0,
ref: de,
- className: T5(_, _e, w?.toast, n?.classNames?.toast, w?.[he], n?.classNames?.[he]),
+ className: E5(_, _e, w?.toast, n?.classNames?.toast, w?.[he], n?.classNames?.[he]),
"data-sonner-toast": "",
"data-rich-colors": n.richColors ?? f,
"data-styled": !(n.jsx || n.unstyled || r),
@@ -92791,7 +93400,7 @@ var wrt = (e) => {
if (te || !ge) return;
Te.current = null;
let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / r;
- if ((D === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= xrt || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), ne(!0);
+ if ((D === "x" ? Ae.includes(e > 0 ? "right" : "left") : Ae.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Krt || a > .11)) oe(Ce.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ne(), ne(!0);
else {
var o, s;
(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ie(!1), F(!1), O(null);
@@ -92830,46 +93439,46 @@ var wrt = (e) => {
onClick: Me || !ge ? () => {} : () => {
Ne(), n.onDismiss == null || n.onDismiss.call(n, n);
},
- className: T5(w?.closeButton, n?.classNames?.closeButton)
- }, T?.close ?? crt) : null, (me || n.icon || n.promise) && n.icon !== null && (T?.[me] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {
+ className: E5(w?.closeButton, n?.classNames?.closeButton)
+ }, T?.close ?? Mrt) : null, (me || n.icon || n.promise) && n.icon !== null && (T?.[me] !== null || n.icon) ? /*#__PURE__*/ b.createElement("div", {
"data-icon": "",
- className: T5(w?.icon, n?.classNames?.icon)
+ className: E5(w?.icon, n?.classNames?.icon)
}, me === "loading" ? n.icon || Pe() : n.promise ? Pe() : null, me === "loading" ? null : Fe) : null, /*#__PURE__*/ b.createElement("div", {
"data-content": "",
- className: T5(w?.content, n?.classNames?.content)
+ className: E5(w?.content, n?.classNames?.content)
}, /*#__PURE__*/ b.createElement("div", {
"data-title": "",
- className: T5(w?.title, n?.classNames?.title)
+ className: E5(w?.title, n?.classNames?.title)
}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ b.createElement("div", {
"data-description": "",
- className: T5(v, ve, w?.description, n?.classNames?.description)
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ b.isValidElement(n.cancel) ? n.cancel : n.cancel && w5(n.cancel) ? /*#__PURE__*/ b.createElement("button", {
+ className: E5(v, ve, w?.description, n?.classNames?.description)
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ b.isValidElement(n.cancel) ? n.cancel : n.cancel && T5(n.cancel) ? /*#__PURE__*/ b.createElement("button", {
"data-button": !0,
"data-cancel": !0,
style: n.cancelButtonStyle || h,
onClick: (e) => {
- w5(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());
+ T5(n.cancel) && ge && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Ne());
},
- className: T5(w?.cancelButton, n?.classNames?.cancelButton)
- }, n.cancel.label) : null, /*#__PURE__*/ b.isValidElement(n.action) ? n.action : n.action && w5(n.action) ? /*#__PURE__*/ b.createElement("button", {
+ className: E5(w?.cancelButton, n?.classNames?.cancelButton)
+ }, n.cancel.label) : null, /*#__PURE__*/ b.isValidElement(n.action) ? n.action : n.action && T5(n.action) ? /*#__PURE__*/ b.createElement("button", {
"data-button": !0,
"data-action": !0,
style: n.actionButtonStyle || g,
onClick: (e) => {
- w5(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());
+ T5(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Ne());
},
- className: T5(w?.actionButton, n?.classNames?.actionButton)
+ className: E5(w?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function Trt() {
+function Xrt() {
if (typeof window > "u" || typeof document > "u") return "ltr";
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function Ert(e, t) {
+function Zrt(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? _rt : grt;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Hrt : Vrt;
function o(e) {
[
"top",
@@ -92890,11 +93499,11 @@ function Ert(e, t) {
}) : o(a);
}), n;
}
-var Drt = /*#__PURE__*/ b.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = hrt, toastOptions: g, dir: _ = Trt(), gap: v = brt, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), ne = b.useRef(!1), re = b.useCallback((e) => {
- w((t) => (t.find((t) => t.id === e.id)?.delete || C5.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
+var Qrt = /*#__PURE__*/ b.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = Brt, toastOptions: g, dir: _ = Xrt(), gap: v = Grt, icons: y, customAriaLabel: x, containerAriaLabel: S = "Notifications" } = e, [C, w] = b.useState([]), T = b.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = b.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = b.useState([]), [k, A] = b.useState(!1), [j, M] = b.useState(!1), [N, P] = b.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = b.useRef(null), F = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), te = b.useRef(null), ne = b.useRef(!1), re = b.useCallback((e) => {
+ w((t) => (t.find((t) => t.id === e.id)?.delete || w5.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
- return b.useEffect(() => C5.subscribe((e) => {
+ return b.useEffect(() => w5.subscribe((e) => {
e.dismiss ? requestAnimationFrame(() => {
w((t) => t.map((t) => t.id === e.id ? {
...t,
@@ -92963,7 +93572,7 @@ var Drt = /*#__PURE__*/ b.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return T.length ? /*#__PURE__*/ b.createElement("ol", {
key: t,
- dir: _ === "auto" ? Trt() : _,
+ dir: _ === "auto" ? Xrt() : _,
tabIndex: -1,
ref: ee,
className: c,
@@ -92973,10 +93582,10 @@ var Drt = /*#__PURE__*/ b.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${D[0]?.height || 0}px`,
- "--width": `${yrt}px`,
+ "--width": `${Wrt}px`,
"--gap": `${v}px`,
...m,
- ...Ert(l, u)
+ ...Zrt(l, u)
},
onBlur: (e) => {
ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, te.current &&= (te.current.focus({ preventScroll: !0 }), null));
@@ -92994,7 +93603,7 @@ var Drt = /*#__PURE__*/ b.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
},
onPointerUp: () => M(!1)
- }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(wrt, {
+ }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ b.createElement(Yrt, {
key: n.id,
icons: y,
index: i,
@@ -93024,23 +93633,23 @@ var Drt = /*#__PURE__*/ b.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), Ort = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {
+}), $rt = (e, t) => /* @__PURE__ */ (0, x.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), E5 = null;
-function krt() {
- let e = E5;
- E5 = null, e?.root.unmount();
-}
-var Art = (e, t) => {
- if (E5?.host === e) return;
- krt();
+}), D5 = null;
+function eit() {
+ let e = D5;
+ D5 = null, e?.root.unmount();
+}
+var tit = (e, t) => {
+ if (D5?.host === e) return;
+ eit();
let n = (0, ht.createRoot)(e);
- E5 = {
+ D5 = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, x.jsx)(Drt, {
+ }, n.render(/* @__PURE__ */ (0, x.jsx)(Qrt, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -93057,16 +93666,16 @@ var Art = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: Ort(t.success, !0),
- error: Ort(t.error, !1)
+ success: $rt(t.success, !0),
+ error: $rt(t.error, !1)
}
}));
-}, jrt = 6e3, Mrt = (e, t) => {
+}, nit = 6e3, rit = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? mrt.error : mrt.success, r = t.action;
+ let n = t.alert ? zrt.error : zrt.success, r = t.action;
n(/* @__PURE__ */ (0, x.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
- duration: t.timeout > 0 ? t.timeout : jrt,
+ duration: t.timeout > 0 ? t.timeout : nit,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -93074,83 +93683,83 @@ var Art = (e, t) => {
}
} : void 0
});
-}, D5 = null, O5 = null, k5 = 0, A5 = /* @__PURE__ */ new Set();
-function Nrt(e) {
- return D5 = e, O5 && e(O5), () => {
- D5 === e && (D5 = null);
+}, O5 = null, k5 = null, A5 = 0, j5 = /* @__PURE__ */ new Set();
+function iit(e) {
+ return O5 = e, k5 && e(k5), () => {
+ O5 === e && (O5 = null);
};
}
-function Prt(e) {
- return D5 && (O5 = e, D5(e), jCe(Promise.resolve(Qnt))), Promise.resolve();
+function ait(e) {
+ return O5 && (k5 = e, O5(e), ICe(Promise.resolve(Srt))), Promise.resolve();
}
-async function j5(e, t, n = (e) => e) {
- let r = k5;
- if (t.isConnected || A5.add(t), !await JL(e, {}, {
+async function M5(e, t, n = (e) => e) {
+ let r = A5;
+ if (t.isConnected || j5.add(t), !await nR(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!D5 && r === k5,
+ isCurrent: () => !!O5 && r === A5,
place: () => n(t)
- }) || r !== k5 || !D5) throw new DOMException("应用已卸载", "AbortError");
-}
-function Frt() {
- k5 += 1, D5 = null, O5 = null, M5 = null, N5 = null, I5 = null, L5 = null, z5 = null, B5 = null, V5 = null, H5 = null, W5 = null, G5 = null, K5 = null, q5 = null, J5 = null;
- for (let e of A5) e.remove();
- A5.clear(), krt();
-}
-var M5 = null, N5 = null;
-function P5(e) {
- return M5 ??= (async () => {
- let t = PMe(e), n = document.createElement("div");
- return n.dataset.stageHost = "", await j5("stage", n, (e) => (document.body.append(e), e)), N5 = t, t;
- })(), M5;
-}
-var F5 = () => N5, I5 = null, L5 = null;
-function Irt(e) {
- return I5 ??= (async () => {
- let t = Cue(e), n = document.createElement("div");
- return n.dataset.immerseHost = "", await j5("immerse", n, (e) => (document.body.append(e), e)), L5 = t, t;
- })(), I5;
-}
-var R5 = () => L5, z5 = null, B5 = null;
-function Lrt(e) {
- return z5 ??= (async () => {
- let t = tAe(e), n = document.createElement("div");
- return n.dataset.settingsHost = "", await j5("settings-panel", n, (e) => (document.body.append(e), e)), B5 = t, t;
- })(), z5;
-}
-var Rrt = () => B5, V5 = null, H5 = null;
-function zrt(e) {
- return V5 ??= (async () => {
- let t = hAe(e);
- return await j5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), H5 = t, t;
- })(), V5;
-}
-var U5 = () => H5, W5 = null, G5 = null;
-function Brt(e) {
- return W5 ??= (async () => {
- let t = Lue(e);
- return await j5("manage-header", e.root, (e) => (e.replaceChildren(), e)), G5 = t, t;
- })(), W5;
-}
-var Vrt = () => G5, K5 = null, q5 = null;
-function Hrt(e) {
- return K5 ??= (async () => {
+ }) || r !== A5 || !O5) throw new DOMException("应用已卸载", "AbortError");
+}
+function oit() {
+ A5 += 1, O5 = null, k5 = null, N5 = null, P5 = null, L5 = null, R5 = null, B5 = null, V5 = null, H5 = null, U5 = null, G5 = null, K5 = null, q5 = null, J5 = null, Y5 = null;
+ for (let e of j5) e.remove();
+ j5.clear(), eit();
+}
+var N5 = null, P5 = null;
+function F5(e) {
+ return N5 ??= (async () => {
+ let t = qMe(e), n = document.createElement("div");
+ return n.dataset.stageHost = "", await M5("stage", n, (e) => (document.body.append(e), e)), P5 = t, t;
+ })(), N5;
+}
+var I5 = () => P5, L5 = null, R5 = null;
+function sit(e) {
+ return L5 ??= (async () => {
+ let t = Sue(e), n = document.createElement("div");
+ return n.dataset.immerseHost = "", await M5("immerse", n, (e) => (document.body.append(e), e)), R5 = t, t;
+ })(), L5;
+}
+var z5 = () => R5, B5 = null, V5 = null;
+function cit(e) {
+ return B5 ??= (async () => {
+ let t = fAe(e), n = document.createElement("div");
+ return n.dataset.settingsHost = "", await M5("settings-panel", n, (e) => (document.body.append(e), e)), V5 = t, t;
+ })(), B5;
+}
+var lit = () => V5, H5 = null, U5 = null;
+function uit(e) {
+ return H5 ??= (async () => {
+ let t = EAe(e);
+ return await M5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), U5 = t, t;
+ })(), H5;
+}
+var W5 = () => U5, G5 = null, K5 = null;
+function dit(e) {
+ return G5 ??= (async () => {
+ let t = Iue(e);
+ return await M5("manage-header", e.root, (e) => (e.replaceChildren(), e)), K5 = t, t;
+ })(), G5;
+}
+var fit = () => K5, q5 = null, J5 = null;
+function pit(e) {
+ return q5 ??= (async () => {
let t = wse(e);
- return await j5("batch-dock", e.root), q5 = t, t;
- })(), K5;
+ return await M5("batch-dock", e.root), J5 = t, t;
+ })(), q5;
}
-var Urt = () => q5, J5 = null;
-function Wrt(e) {
- return J5 ??= (async () => {
- sce(e), await j5("glow-picker", e.root);
- })(), J5;
+var mit = () => J5, Y5 = null;
+function hit(e) {
+ return Y5 ??= (async () => {
+ sce(e), await M5("glow-picker", e.root);
+ })(), Y5;
}
-function Grt(e, t, n, r) {
- Art(e, t), Mrt(n, r);
+function git(e, t, n, r) {
+ tit(e, t), rit(n, r);
}
//#endregion
//#region src/application/effects.ts
-var Krt = class {
+var _it = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -93231,13 +93840,13 @@ var Krt = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, Y5 = new Krt();
-function qrt() {
- return Y5.dispose(), Y5 = new Krt(), Y5;
+}, X5 = new _it();
+function vit() {
+ return X5.dispose(), X5 = new _it(), X5;
}
//#endregion
//#region src/application/receipts.js
-var X5 = {
+var Z5 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -93247,10 +93856,10 @@ var X5 = {
rollSeed: void 0,
seededSample: void 0
};
-function Jrt() {
- X5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : R(e && typeof e == "object" ? e.text ?? "" : e ?? ""), X5.toastSeq = 0, X5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
- let a = `toast-${++X5.toastSeq}`, o = (e, t, n, r) => {
- Aa(i || (t ? "error" : "success")), Grt(I("#toasts"), {
+function yit() {
+ Z5.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : R(e && typeof e == "object" ? e.text ?? "" : e ?? ""), Z5.toastSeq = 0, Z5.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
+ let a = `toast-${++Z5.toastSeq}`, o = (e, t, n, r) => {
+ Aa(i || (t ? "error" : "success")), git(I("#toasts"), {
success: L("check"),
error: L("circle-alert")
}, a, {
@@ -93265,13 +93874,13 @@ function Jrt() {
} : null
});
};
- return o(X5.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(X5.toastBody(e), t, n, null) };
- }, X5.liftToastsOverTutorial = () => {
+ return o(Z5.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(Z5.toastBody(e), t, n, null) };
+ }, Z5.liftToastsOverTutorial = () => {
let e = I("#postSetupTutorial"), t = I("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;
e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);
- }, Y5.resize(X5.liftToastsOverTutorial).observe(I("#postSetupTutorial")), Y5.listen.bind(Y5, window)("resize", X5.liftToastsOverTutorial), X5.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
+ }, X5.resize(Z5.liftToastsOverTutorial).observe(I("#postSetupTutorial")), X5.listen.bind(X5, window)("resize", Z5.liftToastsOverTutorial), Z5.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
let r = null;
- return r = X5.toast({ text: e }, {
+ return r = Z5.toast({ text: e }, {
timeout: n,
action: t ? {
label: "撤销",
@@ -93284,7 +93893,7 @@ function Jrt() {
}
} : null
}), r;
- }, X5.actionFailure = (e, t) => X5.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), X5.rollSeed = () => Zt(), X5.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, Z5.actionFailure = (e, t) => Z5.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), Z5.rollSeed = () => Zt(), Z5.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
let i = new Set([...e].sort((e, t) => Xt(n, r(e)) - Xt(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
@@ -93292,7 +93901,7 @@ function Jrt() {
}
//#endregion
//#region src/react/catalog-grid/catalog-state.ts
-var Yrt = [
+var bit = [
"loc",
"creator",
"studio",
@@ -93309,10 +93918,10 @@ var Yrt = [
"q",
"jav"
];
-function Xrt(e, t, n, r = n.defaultSort) {
+function xit(e, t, n, r = n.defaultSort) {
return aT(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function Zrt(e, t, n) {
+function Sit(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = wt(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -93327,25 +93936,25 @@ function Zrt(e, t, n) {
orient: o("orient") || "",
region: o("region") || "",
state: St[r] || o("state") || "",
- ...Xrt(o("sort"), o("dir"), t),
+ ...xit(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
thumb: o("thumb") || "0"
};
}
-function Qrt(e, t) {
+function Cit(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function $rt(e) {
+function wit(e) {
let t = xt[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of Yrt) {
+ for (let t of bit) {
let r = e[t];
r && (t !== "tag_match" || r !== "all") && (t !== "dir" || r !== nT(e.sort ?? "")) && n.set(t, r);
}
return !xt[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function eit(e, t, n) {
+function Tit(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -93367,7 +93976,7 @@ function eit(e, t, n) {
thumb: "0"
};
}
-function tit(e) {
+function Eit(e) {
return {
state: e,
barsContext: {
@@ -93379,7 +93988,7 @@ function tit(e) {
}
//#endregion
//#region src/react/catalog-grid/catalog-controller.ts
-var nit = class {
+var Dit = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -93424,44 +94033,44 @@ var nit = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, Z5 = 3e4, Q5 = 0, rit = (e, t = Q5) => [
+}, Q5 = 3e4, $5 = 0, Oit = (e, t = $5) => [
"facets",
e,
t
-], iit = (e, t, n = Q5) => [
+], kit = (e, t, n = $5) => [
"tops",
e,
t,
n
-], ait = (e, t = Q5) => [
+], Ait = (e, t = $5) => [
"tops",
e,
t
];
-async function oit(e) {
+async function jit(e) {
let t = String(e), n = await vt(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await vt(`/api/tops?${r}`));
}
-function sit(e, t) {
+function Mit(e, t) {
return Promise.all([H.fetchQuery({
- queryKey: rit(e),
+ queryKey: Oit(e),
queryFn: () => vt(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: Z5
+ staleTime: Q5
}), H.fetchQuery({
- queryKey: iit(t, e),
- queryFn: () => oit(t),
- staleTime: Z5
+ queryKey: kit(t, e),
+ queryFn: () => jit(t),
+ staleTime: Q5
})]);
}
-function cit(e) {
+function Nit(e) {
return H.fetchQuery({
- queryKey: ait(e),
- queryFn: () => oit(e),
- staleTime: Z5
+ queryKey: Ait(e),
+ queryFn: () => jit(e),
+ staleTime: Q5
});
}
-function $5() {
- Q5 += 1;
+function e7() {
+ $5 += 1;
let e = (e) => e.state.fetchStatus === "idle";
H.removeQueries({
queryKey: ["facets"],
@@ -93473,7 +94082,7 @@ function $5() {
}
//#endregion
//#region src/application/navigation-items.ts
-var lit = [
+var Pit = [
[
"",
"首页",
@@ -93524,7 +94133,7 @@ var lit = [
"管理",
"wrench"
]
-], e7 = [
+], t7 = [
[
"stats",
"统计",
@@ -93570,18 +94179,18 @@ var lit = [
"Peach 配置",
"folder-cog"
]
-], uit = [
+], Fit = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], dit = (e) => e7.filter(([t]) => uit.includes(t) && (t !== "configuration" || e)), fit = e7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], Iit = (e) => t7.filter(([t]) => Fit.includes(t) && (t !== "configuration" || e)), Lit = t7.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), pit = [...lit, ...fit], mit = {
+]]), Rit = [...Pit, ...Lit], zit = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -93592,11 +94201,11 @@ var lit = [
};
//#endregion
//#region src/react/index/index-controller.ts
-function hit({ kind: e, q: t, scope: n, view: r, category: i }) {
+function Bit({ kind: e, q: t, scope: n, view: r, category: i }) {
let a = new URLSearchParams();
return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");
}
-function git(e, t, n) {
+function Vit(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: ra(e.k, r ? {
@@ -93609,20 +94218,20 @@ function git(e, t, n) {
face: aa(e.avatar_focus)
};
}
-function _it(e) {
+function Hit(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${R(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${ji({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${R(n)}</span>${r}`;
}
-function vit(e) {
+function Uit(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(yi(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(hit(t), n);
+ e.route(Bit(t), n);
},
- personAvatar: git,
- authorAvatar: _it,
+ personAvatar: Vit,
+ authorAvatar: Hit,
openFollowAuthor(n) {
t(bi(e.followView(), n));
},
@@ -93633,27 +94242,27 @@ function vit(e) {
}
//#endregion
//#region src/react/follow-manage/manage-route.ts
-var yit = [
+var Wit = [
"list",
"add",
"feeds"
];
-function bit(e) {
+function Git(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: yit.find((e) => e === n) || "list",
+ tab: Wit.find((e) => e === n) || "list",
page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
sort: t.get("sort") || "",
dir: t.get("dir") || ""
};
}
-function xit(e) {
+function Kit(e) {
let t = new URLSearchParams();
return e.tab !== "list" && t.set("tab", e.tab), e.page > 1 && t.set("page", String(e.page)), e.sort && t.set("sort", e.sort), e.dir && t.set("dir", e.dir), "/follow-manage" + (t.size ? `?${t}` : "");
}
-function Sit(e, t) {
- return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : xit({
- tab: t || bit(e).tab,
+function qit(e, t) {
+ return !t && new URLSearchParams(e).get("tab") === "wants" ? "/jav?tab=wants" : !t && new URLSearchParams(e).get("tab") === "source" ? "/configuration?section=%E6%9D%A5%E6%BA%90%E4%B8%8E%E8%AE%A2%E9%98%85" : Kit({
+ tab: t || Git(e).tab,
page: 1,
sort: "",
dir: ""
@@ -93661,7 +94270,7 @@ function Sit(e, t) {
}
//#endregion
//#region src/application/source-action.ts
-function Cit(e) {
+function Jit(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -93677,36 +94286,36 @@ function Cit(e) {
}
//#endregion
//#region src/react/entity-page/entity-route.ts
-var t7 = () => Object.fromEntries(fF.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function wit(e, t) {
- let n = new URLSearchParams(e), r = t7();
- for (let e of fF) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+var n7 = () => Object.fromEntries(SF.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function Yit(e, t) {
+ let n = new URLSearchParams(e), r = n7();
+ for (let e of SF) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
...aT(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function Tit(e) {
+function Xit(e) {
let t = new URLSearchParams();
- for (let n of fF) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== nT(e.sort || "")) && t.set(n, e[n]);
+ for (let n of SF) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== nT(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
-function Eit(e) {
+function Zit(e) {
let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");
return {
media: r === "photos" || r === "online" ? r : "videos",
set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0
};
}
-function Dit(e, t) {
- let n = new URLSearchParams(Tit(e));
+function Qit(e, t) {
+ let n = new URLSearchParams(Xit(e));
return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();
}
-function Oit(e, t, n, r) {
- let i = Dit(n, r);
+function $it(e, t, n, r) {
+ let i = Qit(n, r);
return Dt(e, t) + (i ? `?${i}` : "");
}
-function kit() {
+function eat() {
let e = "";
return {
fresh(t, n) {
@@ -93715,23 +94324,23 @@ function kit() {
read(t, n, r, i) {
let a = e === Dt(t, n) && !r;
e = "";
- let o = a ? t7() : { ...wit(r, i) };
+ let o = a ? n7() : { ...Yit(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : Eit(r)
+ } : Zit(r)
};
}
};
}
//#endregion
//#region src/react/entity-page/photo-surface.ts
-function Ait(e, t) {
+function tat(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function jit(e) {
+function nat(e) {
let t = () => {
let t = e.preferences();
for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);
@@ -93754,12 +94363,12 @@ function jit(e) {
}
//#endregion
//#region src/react/entity-page/entity-controller.ts
-function Mit(e, t, n) {
+function rat(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(Oit(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route($it(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -93773,7 +94382,7 @@ function Mit(e, t, n) {
if (s) return s;
let c = () => {
let n = e.context();
- return n?.kind === t && n.name === a ? n.filters : t7();
+ return n?.kind === t && n.name === a ? n.filters : n7();
}, l = {
...n,
route: (e, n) => {
@@ -93838,7 +94447,7 @@ function Mit(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-loading.ts
-function Nit(e) {
+function iat(e) {
return async (t, n, r) => {
!e.shapesReady() && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {
r() && e.syncParts(t, n);
@@ -93847,7 +94456,7 @@ function Nit(e) {
}
//#endregion
//#region src/react/entity-page/entity-portrait.ts
-function Pit(e, t) {
+function aat(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? na({
kind: e,
id: t.id,
@@ -93869,11 +94478,11 @@ function Pit(e, t) {
}
//#endregion
//#region src/react/entity-page/entity-application.ts
-function Fit(e) {
- let t = kit(), n = {
+function oat(e) {
+ let t = eat(), n = {
...e.helpers,
- portraitImg: Pit
- }, r = Mit(e.controller, n, e.actions);
+ portraitImg: aat
+ }, r = rat(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -93882,13 +94491,13 @@ function Fit(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: Nit(e.loading),
- photos: jit(e.photos)
+ loading: iat(e.loading),
+ photos: nat(e.photos)
};
}
//#endregion
//#region src/card-art/feed-identity.ts
-function Iit(e) {
+function sat(e) {
let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((e) => {
let t = ra(e.name, e, null);
return "id" in e && e.id ? `<a class="mav" href="${R(Dt("performer", e.name))}" aria-label="打开女优页:${R(e.name)}">${t}</a>` : `<span class="mav" title="${R(e.name)}">${t}</span>`;
@@ -93897,7 +94506,7 @@ function Iit(e) {
}
//#endregion
//#region src/application/feed.js
-var n7 = {
+var r7 = {
FEED_SKELETON_CARDS: void 0,
feedNewSkeletonHtml: void 0,
entityShapes: void 0,
@@ -93911,11 +94520,11 @@ var n7 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function Lit(e) {
+function cat(e) {
return e.has_cover ? ca(e, "big") : e.cover_url ? ca({ code: e.code }, "big").replace(/ src="[^"]*"/, ` src="${R(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`) : "<span class=\"nopic\">无封面</span>";
}
-function Rit(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${R(e.performers)}">${R(e.performers)}</span>`, e.release_date && `<span>${R(e.release_date)}</span>`].filter(Boolean).join(""), n = Lit(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? yO({
+function lat(e) {
+ let t = [e.performers && `<span class="feednewperformers" title="${R(e.performers)}">${R(e.performers)}</span>`, e.release_date && `<span>${R(e.release_date)}</span>`].filter(Boolean).join(""), n = cat(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? bO({
is_jav: !0,
code: e.code,
name: e.code,
@@ -93927,17 +94536,17 @@ function Rit(e) {
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${R(r)}">${L("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${R(r)}">${L("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${R(r)}">${L("check")}</button></div></div>
- <div class="meta">${Iit(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${sat(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-async function r7() {
- let e = Y5, t = await vt("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (n7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${It(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), i7(location.pathname) && zit(I("#feedNew"))), n7.entityShapes;
+async function i7() {
+ let e = X5, t = await vt("/api/entity/shapes", { signal: e.signal }).catch(() => null);
+ return e.isActive && t && !t.error && (r7.entityShapes = new Map((t.entities || []).flatMap((e) => e.names.map((t) => [`${e.kind}/${It(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && (X.homeHasFeed = t.home.feed), a7(location.pathname) && uat(I("#feedNew"))), r7.entityShapes;
}
-function zit(e) {
- !e || GL(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = n7.feedNewSkeletonHtml())));
+function uat(e) {
+ !e || $L(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = r7.feedNewSkeletonHtml())));
}
-function Bit(e, t) {
+function dat(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Qa(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -93945,57 +94554,57 @@ function Bit(e, t) {
actionHref: "/scraping"
});
}
-function Vit(e) {
+function fat(e) {
let t = e && !e.error && e.items || [];
- return Bit(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(Rit).join("")}</div>`;
+ return dat(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(lat).join("")}</div>`;
}
-function Hit(e) {
- e && (g9(e), Z.appSettings.feedAutoScroll && Vo(e));
+function pat(e) {
+ e && (_9(e), Z.appSettings.feedAutoScroll && Vo(e));
}
-function i7(e) {
+function a7(e) {
return wt(e) && e !== "/junk-files";
}
-function Uit(e) {
+function mat(e) {
return wt(e) && e !== "/junk-files";
}
-function Wit() {
+function hat() {
let e = I("#feedNew");
- GL(e) ? YL(e, { revision: ++n7.feedRevision }) : (zit(e), JL("feed-new", {
+ $L(e) ? rR(e, { revision: ++r7.feedRevision }) : (uat(e), nR("feed-new", {
host: e,
- revision: n7.feedRevision,
- helpers: n7.feedNewHelpers,
- actions: n7.feedNewActions
+ revision: r7.feedRevision,
+ helpers: r7.feedNewHelpers,
+ actions: r7.feedNewActions
}, {
container: e,
- isCurrent: () => i7(location.pathname)
+ isCurrent: () => a7(location.pathname)
}));
}
-function a7() {
+function o7() {
let e = I("#feedNew");
- e.querySelectorAll(".feednewrow").forEach(Ho), XL(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
+ e.querySelectorAll(".feednewrow").forEach(Ho), iR(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
-function Git() {
- n7.feedRevision += 1, YL(I("#feedNew"), { revision: n7.feedRevision }), c7({ feedRevision: n7.feedRevision });
+function gat() {
+ r7.feedRevision += 1, rR(I("#feedNew"), { revision: r7.feedRevision }), l7({ feedRevision: r7.feedRevision });
}
-function Kit() {
+function _at() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Vo(e) : Ho(e));
}
-function qit([e]) {
- I("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= n7.HERO_WIDE_PX);
+function vat([e]) {
+ I("#index").toggleAttribute("data-hero-wide", e.contentRect.width >= r7.HERO_WIDE_PX);
}
-function Jit() {
- n7.FEED_SKELETON_CARDS = 8, n7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${NT}"></div>
+function yat() {
+ r7.FEED_SKELETON_CARDS = 8, r7.feedNewSkeletonHtml = () => `<div class="feednewrow srow" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${NT}"></div>
<div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>
- <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(n7.FEED_SKELETON_CARDS)}</div>`, n7.entityShapes = null, n7.hasEntityPart = (e, t, n) => !!t && !!n7.entityShapes?.get(`${e}/${It(t)}`)?.includes(n), n7.feedNewSkeletonSection = () => `<section class="feednew">${n7.feedNewSkeletonHtml()}</section>`, n7.COSTAR_SKELETON_PEOPLE = 12, n7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">&#8203;</span></span>".repeat(n7.COSTAR_SKELETON_PEOPLE)}</div></div>`, n7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, n7.feedRevision = 0, n7.feedNewHelpers = {
- feedRowHtml: Vit,
- wireFeedRow: (e) => Hit(e)
- }, n7.feedNewActions = { settled: (e) => {
+ <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(r7.FEED_SKELETON_CARDS)}</div>`, r7.entityShapes = null, r7.hasEntityPart = (e, t, n) => !!t && !!r7.entityShapes?.get(`${e}/${It(t)}`)?.includes(n), r7.feedNewSkeletonSection = () => `<section class="feednew">${r7.feedNewSkeletonHtml()}</section>`, r7.COSTAR_SKELETON_PEOPLE = 12, r7.costarSkeletonFoot = () => `<div class="entityfoot"><div class="relatedpeople">${"<span class=\"av avskeleton\"><span class=\"ring\"></span><span class=\"nm\">&#8203;</span></span>".repeat(r7.COSTAR_SKELETON_PEOPLE)}</div></div>`, r7.factsSkeleton = () => `<dl class="entityfacts">${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, r7.feedRevision = 0, r7.feedNewHelpers = {
+ feedRowHtml: fat,
+ wireFeedRow: (e) => pat(e)
+ }, r7.feedNewActions = { settled: (e) => {
X.homeHasFeed = e;
- } }, n7.HERO_WIDE_PX = 900, Y5.resize(qit).observe(I("#index"));
+ } }, r7.HERO_WIDE_PX = 900, X5.resize(vat).observe(I("#index"));
}
//#endregion
//#region src/entity-skeleton.ts
-function Yit(e, t, n) {
+function bat(e, t, n) {
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true">
<section class="entityhero"><div class="entityprofile"><div class="entityportrait ${e === "studio" || e === "agency" ? "square " : ""}skeleton"></div>
@@ -94009,7 +94618,7 @@ function Yit(e, t, n) {
}
//#endregion
//#region src/application/entity.js
-var o7 = {
+var s7 = {
ENTITY_FILTER_KEYS: void 0,
emptyEntityFilters: void 0,
parseEntityFilters: void 0,
@@ -94034,16 +94643,16 @@ var o7 = {
sourceToolButtons: void 0,
application: void 0
};
-function s7() {
- let e = WL(I("#index"));
+function c7() {
+ let e = QL(I("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function c7(e) {
- o7.entityPageCurrent() && YL(I("#index"), e);
+function l7(e) {
+ s7.entityPageCurrent() && rR(I("#index"), e);
}
-function l7() {
+function u7() {
if (oc.type === "item") return oc;
- let e = s7();
+ let e = c7();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -94055,8 +94664,8 @@ function l7() {
}
return oc;
}
-function Xit(e, t, n = B7()) {
- return aot(n).map(([n, r]) => {
+function xat(e, t, n = V7()) {
+ return Aot(n).map(([n, r]) => {
let i = e === n, a = rT(n, e, t);
return {
key: n,
@@ -94067,50 +94676,50 @@ function Xit(e, t, n = B7()) {
};
});
}
-function u7(e, t, n, r = o7.EMPTY_ENTITY_MEDIA, i = {}) {
- return o7.application.route(e, t, n, r, i);
+function d7(e, t, n, r = s7.EMPTY_ENTITY_MEDIA, i = {}) {
+ return s7.application.route(e, t, n, r, i);
}
-function d7() {
- return Ait({
- entityWall: o7.entityPageWall,
- entityCurrent: o7.entityPageCurrent(),
+function f7() {
+ return tat({
+ entityWall: s7.entityPageWall,
+ entityCurrent: s7.entityPageCurrent(),
indexVisible: !I("#index").hidden,
pathname: location.pathname,
followMedia: $.followMediaView,
statsVisible: !I("#stats").hidden
}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));
}
-function f7() {
- o7.photos.sync();
+function p7() {
+ s7.photos.sync();
}
-function Zit() {
- d7() ? ece(zT()) : XT();
+function Sat() {
+ f7() ? ece(zT()) : XT();
}
-function Qit(e) {
- o7.photos.setSize(e);
+function Cat(e) {
+ s7.photos.setSize(e);
}
-var $it = Cit({
+var wat = Jit({
request: (e) => vt("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
- success: () => X5.toast({ text: "已在资源管理器中显示" }),
- failureText: (e) => o7.sourceHint(e instanceof Error ? e.message : String(e))
+ success: () => Z5.toast({ text: "已在资源管理器中显示" }),
+ failureText: (e) => s7.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function eat(e) {
+async function Tat(e) {
let t = { textContent: "" };
- return await $it(e, t), t.textContent;
+ return await wat(e, t), t.textContent;
}
-async function tat(e) {
+async function Eat(e) {
let t = { textContent: "" }, n = [];
- return await nat(e, t, (e) => {
+ return await Dat(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function nat(e, t, n) {
+async function Dat(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await vt("/api/purge-missing", {
@@ -94118,12 +94727,12 @@ async function nat(e, t, n) {
body: JSON.stringify({ id: e })
});
if (r.ok === !1) {
- t.textContent = o7.sourceHint(r.error);
+ t.textContent = s7.sourceHint(r.error);
return;
}
- if (t.textContent = r.removed ? `${o7.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
+ if (t.textContent = r.removed ? `${s7.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);
- n && n(r), X5.actionReceipt(o7.syncedText(r), { undo: e.length ? async () => {
+ n && n(r), Z5.actionReceipt(s7.syncedText(r), { undo: e.length ? async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -94135,22 +94744,22 @@ async function nat(e, t, n) {
restored: e.length
});
} : null });
- } else X5.actionReceipt("目录核对完成,无需改动");
+ } else Z5.actionReceipt("目录核对完成,无需改动");
} catch (e) {
- t.textContent = o7.sourceHint(e.message), X5.actionFailure("核对目录", e);
+ t.textContent = s7.sourceHint(e.message), Z5.actionFailure("核对目录", e);
}
}
-function rat(e) {
- return `<div class="srctools">${o7.sourceToolButtons(e)}
+function Oat(e) {
+ return `<div class="srctools">${s7.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function iat(e, t) {
+function kat(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && Y5.handler(r, "onclick", () => $it(Number(r.dataset.reveal), n, { button: r })), i && Y5.handler(i, "onclick", () => nat(Number(i.dataset.sync), n, t));
+ r && X5.handler(r, "onclick", () => wat(Number(r.dataset.reveal), n, { button: r })), i && X5.handler(i, "onclick", () => Dat(Number(i.dataset.sync), n, t));
}
-async function aat(e, t) {
+async function Aat(e, t) {
let n = os({
title: "添加别名",
description: "图库按名字存图,多记一个写法就多一批候选;这里添的名字也能提为统称。",
@@ -94162,9 +94771,9 @@ async function aat(e, t) {
confirmDisabled: !0,
onConfirm: () => t({ alias: r.value.trim() })
}), r = n.dialog.querySelector("[name=alias]");
- Y5.handler(r, "oninput", () => {
+ X5.handler(r, "oninput", () => {
n.confirmButton.disabled = !r.value.trim();
- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => Y5.handler(e, "onclick", async () => {
+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => X5.handler(e, "onclick", async () => {
let r = e.dataset.aliasDrop;
n.close();
try {
@@ -94173,49 +94782,49 @@ async function aat(e, t) {
remove: !0
});
} catch (e) {
- X5.actionFailure("撤销别名", e);
+ Z5.actionFailure("撤销别名", e);
return;
}
- X5.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
+ Z5.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
await t({ alias: r });
} });
}));
let { confirmed: i, result: a } = await n.done;
- i && (a?.added ? X5.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
+ i && (a?.added ? Z5.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
await t({
alias: a.alias,
remove: !0
});
- } }) : X5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));
+ } }) : Z5.actionReceipt(`${a?.alias} 已经是这条实体的名字`));
}
-function oat(e, t) {
- let n = Yit(e, Xa({
+function jat(e, t) {
+ let n = bat(e, Xa({
readout: "&nbsp;",
loading: !0,
filterRow: "bottom"
}), e === "agency" ? go({
kind: "performers",
- layout: S7.peopleIndexLayout()
- }) : d9());
- I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? p7(e, t) : (I("#index").innerHTML = n, p7(e, t), Co(I("#index")));
+ layout: C7.peopleIndexLayout()
+ }) : f9());
+ I("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? m7(e, t) : (I("#index").innerHTML = n, m7(e, t), Co(I("#index")));
}
-function p7(e, t) {
+function m7(e, t) {
let n = I("#index").firstElementChild;
if (n?.dataset.skeleton !== `entity/${e}`) return;
let r = (e, t, n) => {
t && !e ? n() : !t && e && e.remove();
};
- r(n.querySelector(".entityfoot"), e !== "agency" && n7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", n7.costarSkeletonFoot())), r(n.querySelector(".feednew"), n7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", n7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && n7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", n7.factsSkeleton()));
+ r(n.querySelector(".entityfoot"), e !== "agency" && r7.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", r7.costarSkeletonFoot())), r(n.querySelector(".feednew"), r7.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", r7.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && r7.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", r7.factsSkeleton()));
}
-function sat(e) {
- let t = Tt[e] || e, n = e5[t] || "条目", r = e5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function Mat(e) {
+ let t = Tt[e] || e, n = n5[t] || "条目", r = n5[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
I("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
-function m7(e, t) {
- A9(o7.application.fresh(e, t));
+function h7(e, t) {
+ j9(s7.application.fresh(e, t));
}
-function cat() {
- o7.ENTITY_FILTER_KEYS = [
+function Nat() {
+ s7.ENTITY_FILTER_KEYS = [
"loc",
"creator",
"tag",
@@ -94225,71 +94834,71 @@ function cat() {
"orient",
"sort",
"dir"
- ], o7.emptyEntityFilters = t7, o7.parseEntityFilters = (e) => wit(e, {
+ ], s7.emptyEntityFilters = n7, s7.parseEntityFilters = (e) => Yit(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), o7.entityFilterSearch = Tit, o7.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), s7.entityFilterSearch = Xit, s7.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
- } : e, o7.activeFilterState = () => {
- let e = l7();
+ } : e, s7.activeFilterState = () => {
+ let e = u7();
return e.type === "home" ? U : e.filters;
}, I("#q").value = U.q, X.rememberSearchValue();
}
-function lat() {
- o7.entityPageView = "", o7.entityPageWall = !1, o7.entityPageRevision = 0, o7.entityPageCurrent = () => !!s7(), o7.entityPageLive = (e, t) => {
- let n = s7();
+function Pat() {
+ s7.entityPageView = "", s7.entityPageWall = !1, s7.entityPageRevision = 0, s7.entityPageCurrent = () => !!c7(), s7.entityPageLive = (e, t) => {
+ let n = c7();
return !!n && !I("#index").hidden && n.props.kind === e && n.props.name === t;
- }, o7.EMPTY_ENTITY_MEDIA = {
+ }, s7.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, o7.parseMediaView = Eit, o7.entityViewSearch = Dit, o7.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, o7.entityBodySkeleton = () => d9(), o7.entityPageHelpers = {
+ }, s7.parseMediaView = Zit, s7.entityViewSearch = Qit, s7.entityBodyCanLoadMore = () => !I("#index").hidden && I("#stats").hidden, s7.entityBodySkeleton = () => f9(), s7.entityPageHelpers = {
wireDrag: (e) => {
- e && g9(e);
+ e && _9(e);
},
wireScroller: (e) => {
e && Po(e);
},
- wireFeedRow: (e) => Hit(e),
- feedRowHtml: Vit,
- receipt: (e, t) => X5.actionReceipt(e, t),
- failure: (e, t) => X5.actionFailure(e, t),
- aliasForm: (e, t) => aat(e, t),
- sourceToolsHtml: (e) => rat(e),
- wireSourceTools: (e, t) => iat(e, t),
- comboItems: (e) => Bot(e),
- sortKeys: (e, t, n) => Xit(e, t, n)
- }, o7.entityFollowActions = {
+ wireFeedRow: (e) => pat(e),
+ feedRowHtml: fat,
+ receipt: (e, t) => Z5.actionReceipt(e, t),
+ failure: (e, t) => Z5.actionFailure(e, t),
+ aliasForm: (e, t) => Aat(e, t),
+ sourceToolsHtml: (e) => Oat(e),
+ wireSourceTools: (e, t) => kat(e, t),
+ comboItems: (e) => dst(e),
+ sortKeys: (e, t, n) => xat(e, t, n)
+ }, s7.entityFollowActions = {
...$.followFeedActions,
route: () => {},
shuffle: () => {},
loaded: () => {},
toggleSelection: () => {}
- }, o7.SOURCE_HINTS = {
+ }, s7.SOURCE_HINTS = {
"source offline": "来源不在线,这一次不对账;接上这个来源后重试",
"source not mapped": "本机没有映射这个来源的盘符",
"file missing": "源文件已不在盘上;点右边的同步把账本对齐",
"unsupported platform": "当前服务端系统不支持直接定位文件",
"reveal failed": "打开文件管理器失败,请重试"
- }, o7.sourceHint = (e) => o7.SOURCE_HINTS[e] || e, o7.syncedText = (e) => [
+ }, s7.sourceHint = (e) => s7.SOURCE_HINTS[e] || e, s7.syncedText = (e) => [
e.trashed ? `已把 ${e.trashed} 项移入回收站` : "",
e.vanished ? `${e.vanished} 项带个人记录,已标为已消失` : "",
e.reattached ? `${e.reattached} 项的记录已接到库里的另一个版本` : ""
- ].filter(Boolean).join(","), o7.sourceToolButtons = (e) => `
+ ].filter(Boolean).join(","), s7.sourceToolButtons = (e) => `
<button type="button" data-reveal="${e}" title="在文件管理器里打开源文件所在目录"
aria-label="定位源文件">${L("folder-open")}</button>
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${L("folder-sync")}</button>`;
}
-function uat() {
- o7.application = Fit({
+function Fat() {
+ s7.application = oat({
controller: {
context: () => {
- let e = l7();
+ let e = u7();
return e.type === "entity" ? e : null;
},
- live: (e, t) => o7.entityPageLive(e, t),
- current: () => o7.entityPageCurrent(),
+ live: (e, t) => s7.entityPageLive(e, t),
+ current: () => s7.entityPageCurrent(),
route: (e, t = !1) => Q.route(e, t),
suffix: () => location.search + location.hash,
restoreHomeContext: () => Pc({ barsContext: {
@@ -94297,14 +94906,14 @@ function uat() {
filters: U
} }),
releaseBodyPreviews: () => Ks(I("#index [data-entity-body]")),
- push: c7,
+ push: l7,
state: () => ({
seed: String(U.seed || ""),
jav: U.jav === "1"
}),
preferences: () => ({
- revision: o7.entityPageRevision,
- feedRevision: n7.feedRevision,
+ revision: s7.entityPageRevision,
+ feedRevision: r7.feedRevision,
photoSize: zT(),
photoLayout: BT(),
photoLayouts: MT,
@@ -94312,49 +94921,49 @@ function uat() {
javLayout: FT(),
javLayouts: AT,
states: X.VIEW_PILLS,
- peopleLayout: S7.peopleIndexLayout(),
- layout: u9(),
+ peopleLayout: C7.peopleIndexLayout(),
+ layout: d9(),
selectMode: uc,
selected: new Set(cc),
seekSeconds: Z.appSettings.seekSeconds,
groupCollapse: Z.appSettings.groupCollapse,
- wireDrag: g9,
- skeletonHtml: o7.entityBodySkeleton,
- canLoadMore: o7.entityBodyCanLoadMore,
+ wireDrag: _9,
+ skeletonHtml: s7.entityBodySkeleton,
+ canLoadMore: s7.entityBodyCanLoadMore,
follow: {
helpers: $.followFeedHelpers,
- actions: o7.entityFollowActions
+ actions: s7.entityFollowActions
}
}),
- changeFilter: $7,
- rollSeed: () => X5.rollSeed(),
+ changeFilter: e9,
+ rollSeed: () => Z5.rollSeed(),
writeSeed: (e) => {
U.seed = e, Fc();
},
- setJavLayout: sot,
+ setJavLayout: Mot,
javLayout: FT,
setPhotoLayout: GT,
- syncPhotoWalls: f7,
- openEntity: m7,
- photoViewActive: d7,
+ syncPhotoWalls: p7,
+ openEntity: h7,
+ photoViewActive: f7,
recordPainted: (e, t) => {
- o7.entityPageView = e, o7.entityPageWall = t;
+ s7.entityPageView = e, s7.entityPageWall = t;
},
- syncDensity: Zit,
- scheduleSticky: q7,
- releasePage: () => XL(I("#index")),
- showMissing: sat,
- dropBars: $5
+ syncDensity: Sat,
+ scheduleSticky: J7,
+ releasePage: () => iR(I("#index")),
+ showMissing: Mat,
+ dropBars: e7
},
loading: {
- shapesReady: () => !!n7.entityShapes,
- waitShapes: Uat,
- paintSkeleton: oat,
+ shapesReady: () => !!r7.entityShapes,
+ waitShapes: mot,
+ paintSkeleton: jat,
resetView: () => {
- Pc({ detailReturnBarsContext: null }), o7.entityPageView = "", o7.entityPageWall = !1;
+ Pc({ detailReturnBarsContext: null }), s7.entityPageView = "", s7.entityPageWall = !1;
},
- loadShapes: r7,
- syncParts: p7
+ loadShapes: i7,
+ syncParts: m7
},
photos: {
preferences: () => ({
@@ -94363,27 +94972,27 @@ function uat() {
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: c7,
- pushFollow: F9,
- syncDensity: Zit,
+ pushEntity: l7,
+ pushFollow: I9,
+ syncDensity: Sat,
storeSize: Zse
},
- helpers: o7.entityPageHelpers,
+ helpers: s7.entityPageHelpers,
actions: {
- toggleTag: r9,
- openFollowAuthor: zat,
+ toggleTag: i9,
+ openFollowAuthor: uot,
javContext: (e) => Pc({ entityJavLayout: !!e })
},
sortPreference: () => ({
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
})
- }), o7.photos = o7.application.photos, o7.entityPageHelpers = o7.application.helpers;
+ }), s7.photos = s7.application.photos, s7.entityPageHelpers = s7.application.helpers;
}
//#endregion
//#region src/application/playlists.js
-var h7 = { playlistWrite: void 0 };
-function dat(e, t) {
+var g7 = { playlistWrite: void 0 };
+function Iat(e, t) {
e === "tag" ? (Pc({ state: {
...U,
tag: t,
@@ -94393,17 +95002,17 @@ function dat(e, t) {
q: "",
state: "",
orient: ""
- } }), X.clearSearchField(), Q.route(Y7()), M7(), n9()) : m7(e, t);
+ } }), X.clearSearchField(), Q.route(X7()), N7(), r9()) : h7(e, t);
}
-function fat(e = "") {
+function Lat(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${R(e)}"></label>`;
}
-async function pat({ title: e, count: t, save: n }) {
+async function Rat({ title: e, count: t, save: n }) {
let r = os({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: fat(e),
+ body: Lat(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -94413,28 +95022,28 @@ async function pat({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await hst(a.id, a.current_asset_id, !0), X5.actionReceipt("已保存为播放列表", { undo: async () => {
- await h7.playlistWrite({
+ i && (await Bst(a.id, a.current_asset_id, !0), Z5.actionReceipt("已保存为播放列表", { undo: async () => {
+ await g7.playlistWrite({
action: "delete",
id: a.id
- }), A9("/playlists");
+ }), j9("/playlists");
} }));
}
-async function mat(e) {
+async function zat(e) {
let t = ((await vt("/api/playlists")).items || []).map((e) => `<label class="pickrow">${ro(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${R(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = os({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: fat() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Qa("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: Lat() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Qa("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await h7.playlistWrite({
+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await g7.playlistWrite({
action: "create",
name: t,
asset_ids: [e.id]
})).playlist : null;
- for (let t of r) await h7.playlistWrite({
+ for (let t of r) await g7.playlistWrite({
action: "add",
id: t,
asset_ids: [e.id]
@@ -94448,45 +95057,45 @@ async function mat(e) {
let e = n.dialog.querySelector("[name=\"name\"]").value.trim();
n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");
};
- Y5.listen(n.dialog, "input", r), Y5.listen(n.dialog, "change", r);
+ X5.listen(n.dialog, "input", r), X5.listen(n.dialog, "change", r);
let { confirmed: i, result: a } = await n.done;
if (!i) return;
let o = +!!a.created + a.added.length;
- X5.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
- for (let t of a.added) await h7.playlistWrite({
+ Z5.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
+ for (let t of a.added) await g7.playlistWrite({
action: "remove",
id: t,
asset_id: e.id
});
- a.created && await h7.playlistWrite({
+ a.created && await g7.playlistWrite({
action: "delete",
id: a.created.id
});
} });
}
-function hat() {
- Ks(), v9(!1), j7();
- let e = WL(I("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? Pc({ pageOpens: Tc + 1 }) : (A7({ manage: !1 }), Pc({ playlistsRevision: jc + 1 }));
+function Bat() {
+ Ks(), y9(!1), M7();
+ let e = QL(I("#stats"));
+ e?.path !== "/playlists" || !e.host.isConnected ? Pc({ pageOpens: Tc + 1 }) : (j7({ manage: !1 }), Pc({ playlistsRevision: jc + 1 }));
}
-function gat(e) {
+function Vat(e) {
Q.route("/review" + (e.category ? "?category=" + encodeURIComponent(e.category) : ""));
}
-function _at(e) {
+function Hat(e) {
Pc({ configurationRequestedSection: e }), Q.navigatePath("/configuration");
}
-function vat() {
- h7.playlistWrite = (e) => vt("/api/playlist", {
+function Uat() {
+ g7.playlistWrite = (e) => vt("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
}
//#endregion
//#region src/react/catalog-grid/selection-controller.ts
-function g7(e) {
+function _7(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function yat(e, t, n, r, i = !1) {
+function Wat(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -94494,24 +95103,24 @@ function yat(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function bat(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = ZM(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+function Gat(e, t, n, r, i, a = !1) {
+ let o = n === "follow", s = fN(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...yat(e, t, n, !0),
+ ...Wat(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function xat(e, t, n, r) {
- let i = g7(t);
+function Kat(e, t, n, r) {
+ let i = _7(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: iB(n).view === "dismissed"
+ junkDismissed: fB(n).view === "dismissed"
};
}
//#endregion
//#region src/application/selection.js
-var _7 = {
+var v7 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -94519,43 +95128,43 @@ var _7 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function v7() {
- l9({
+function y7() {
+ u9({
selected: new Set(cc),
selectMode: uc
- }), c7({
+ }), l7({
selected: new Set(cc),
selectMode: uc
- }), F9({
+ }), I9({
selected: new Set(lc),
selectMode: uc
- }), _7.batchDockProps = jat(), Urt() && (Urt().render(_7.batchDockProps), Z.syncGlassOptics());
+ }), v7.batchDockProps = not(), mit() && (mit().render(v7.batchDockProps), Z.syncGlassOptics());
}
-function y7(e, t = !1) {
- Pc(yat({
+function b7(e, t = !1) {
+ Pc(Wat({
selected: cc,
followSelected: lc
- }, x7(), g7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", uc), uc && Ks(), I("#selectMode").setAttribute("aria-pressed", String(uc)), v7();
+ }, S7(), _7(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", uc), uc && Ks(), I("#selectMode").setAttribute("aria-pressed", String(uc)), y7();
}
-function Sat() {
- return [...T7.gridCards()].map((e) => +e.dataset.id);
+function qat() {
+ return [...E7.gridCards()].map((e) => +e.dataset.id);
}
-function b7(e, t = !1) {
- Pc(bat({
+function x7(e, t = !1) {
+ Pc(Gat({
selected: cc,
followSelected: lc
- }, x7(), g7(location.pathname), Sat(), e, t)), y7(!0);
+ }, S7(), _7(location.pathname), qat(), e, t)), b7(!0);
}
-function Cat() {
+function Jat() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function wat(e, t = !1) {
- Pc(bat({
+function Yat(e, t = !1) {
+ Pc(Gat({
selected: cc,
followSelected: lc
- }, x7(), "follow", Cat(), e, t)), y7(!0);
+ }, S7(), "follow", Jat(), e, t)), b7(!0);
}
-async function Tat(e, t) {
+async function Xat(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -94587,32 +95196,32 @@ async function Tat(e, t) {
})
});
if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- y7(!1, !0), await W7();
+ b7(!1, !0), await G7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
- X5.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
+ Z5.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: i,
operation: r
})
- }), await W7();
+ }), await G7();
} : null });
} catch (e) {
throw Yo(t, !1), e;
} finally {
- Yo(t, !1), v7();
+ Yo(t, !1), y7();
}
}
});
}
-async function Eat() {
+async function Zat() {
let e = [...cc];
if (!e.length) return;
let t = os({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + _7.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + v7.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
<span class="chip-label">${t}</span></button>`).join("") + "</div>",
confirmLabel: "判定产地",
confirmDisabled: !0,
@@ -94632,13 +95241,13 @@ async function Eat() {
};
}
});
- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => Y5.handler(e, "onclick", () => {
+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => X5.handler(e, "onclick", () => {
t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;
}));
let { confirmed: n, result: r } = await t.done;
- n && (y7(!1, !0), await W7(), X5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
+ n && (b7(!1, !0), await G7(), Z5.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function Dat(e, t) {
+async function Qat(e, t) {
let n = [...lc];
if (!n.length) return;
let r = {
@@ -94664,16 +95273,16 @@ async function Dat(e, t) {
items: n,
to: e
})
- }), y7(!1, !0), location.pathname === "/follow" && Pc({ pageOpens: Tc + 1 }), X5.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), b7(!1, !0), location.pathname === "/follow" && Pc({ pageOpens: Tc + 1 }), Z5.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw Yo(t, !1), e;
} finally {
- Yo(t, !1), v7();
+ Yo(t, !1), y7();
}
}
});
}
-async function Oat(e, t) {
+async function $at(e, t) {
let n = [...cc];
if (!n.length) return;
let r = {
@@ -94699,68 +95308,68 @@ async function Oat(e, t) {
ids: n,
operation: e
})
- }), y7(!1, !0), await a9();
+ }), b7(!1, !0), await o9();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
- X5.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
+ Z5.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: t
})
- }), await a9();
+ }), await o9();
} : null });
} catch (e) {
throw Yo(t, !1), e;
} finally {
- Yo(t, !1), v7();
+ Yo(t, !1), y7();
}
}
});
}
-function kat() {
- Hrt({
+function eot() {
+ pit({
root: I("[data-batch-dock]"),
run: (e, t, n) => {
- _7.BATCH_RUNNERS[e]?.(t, n);
+ v7.BATCH_RUNNERS[e]?.(t, n);
}
}).then((e) => {
- e.render(_7.batchDockProps), Z.syncGlassOptics();
+ e.render(v7.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function Aat() {
- _7.batchDockProps = {
+function tot() {
+ v7.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, _7.trashCount = null, _7.currentSelectSurface = () => g7(location.pathname), Y5.handler(I("#selectMode"), "onclick", () => y7(!uc, !!uc)), _7.REGION_CHOICES = [
+ }, v7.trashCount = null, v7.currentSelectSurface = () => _7(location.pathname), X5.handler(I("#selectMode"), "onclick", () => b7(!uc, !!uc)), v7.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], _7.BATCH_RUNNERS = {
- batch: Tat,
- region: Eat,
- follow: Dat,
- junk: Oat,
- clear: () => y7(!1, !0)
- }, Y5.handler(I("#density"), "onclick", () => {
- d7() ? Qit(zT() === "big" ? "small" : "big") : $se();
+ ], v7.BATCH_RUNNERS = {
+ batch: Xat,
+ region: Zat,
+ follow: Qat,
+ junk: $at,
+ clear: () => b7(!1, !0)
+ }, X5.handler(I("#density"), "onclick", () => {
+ f7() ? Cat(zT() === "big" ? "small" : "big") : $se();
}), XT(), Ws({
selecting: () => uc,
- censored: () => h9(),
+ censored: () => g9(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
- }), Y5.listen(window, "pagehide", () => Ks()), Y5.listen(document, "visibilitychange", () => {
+ }), X5.listen(window, "pagehide", () => Ks()), X5.listen(document, "visibilitychange", () => {
document.hidden && Ks();
- }), Vs(), _7.coverRecheck = 0, Y5.listen(window, "resize", () => {
- Rs(I("#index")), clearTimeout(_7.coverRecheck), _7.coverRecheck = Y5.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), Vs(), v7.coverRecheck = 0, X5.listen(window, "resize", () => {
+ Rs(I("#index")), clearTimeout(v7.coverRecheck), v7.coverRecheck = X5.delay(() => I("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && ks(e);
}), 200);
}, { passive: !0 });
}
-function x7() {
+function S7() {
return {
selectMode: uc,
selectSurface: pc,
@@ -94768,79 +95377,79 @@ function x7() {
followLastSelectedId: fc
};
}
-function jat() {
- return xat({
+function not() {
+ return Kat({
selected: cc,
followSelected: lc
}, location.pathname, location.search, U.state);
}
//#endregion
//#region src/application/index.js
-var S7 = {
+var C7 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function Mat() {
+function rot() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function Nat() {
- return bit(location.search);
+function iot() {
+ return Git(location.search);
}
-function Pat(e) {
- return xit(e);
+function aot(e) {
+ return Kit(e);
}
-function Fat(e) {
- Q.route(Pat(e));
+function oot(e) {
+ Q.route(aot(e));
}
-function C7(e = "") {
- return Sit(location.search, e);
+function w7(e = "") {
+ return qit(location.search, e);
}
-function Iat(e) {
- return _it(e);
+function sot(e) {
+ return Hit(e);
}
-function Lat(e) {
- return hit(e);
+function cot(e) {
+ return Bit(e);
}
-function w7() {
- I("#stats").hidden = !0, I("#index").hidden = !1, o9(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;
+function T7() {
+ I("#stats").hidden = !0, I("#index").hidden = !1, s9(), X.hideCatalogCombo(), I("#count").textContent = "", I("#loadSentinel").hidden = !0;
}
-function Rat(e, t) {
+function lot(e, t) {
Pc({ state: {
...U,
state: "",
tag: e.join(","),
tag_match: t
- } }), y7(!1, !1), Q.route(Y7()), M7(), E9(), n9();
+ } }), b7(!1, !1), Q.route(X7()), N7(), D9(), r9();
}
-function zat(e) {
- S7.controller.openFollowAuthor(e);
+function uot(e) {
+ C7.controller.openFollowAuthor(e);
}
-function Bat(e) {
- S7.controller.openFollowTag(e);
+function dot(e) {
+ C7.controller.openFollowTag(e);
}
-function Vat() {
+function fot() {
$.FOLLOW_MANAGE_TABS = [
"list",
"add",
"feeds"
- ], Y5.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") ? _at("媒体库与入库") : !e.target.closest?.("a[href=\"/follow-manage?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(C7("add")));
- }), S7.peopleIndexLayout = () => Htt(Z.appSettings.peopleLayout), S7.personAvatar = git;
+ ], X5.listen(document, "click", (e) => {
+ e.target.closest?.("[data-empty-settings]") ? Hat("媒体库与入库") : !e.target.closest?.("a[href=\"/follow-manage?tab=add\"]") || e.defaultPrevented || e.button || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), Q.navigatePath(w7("add")));
+ }), C7.peopleIndexLayout = () => fnt(Z.appSettings.peopleLayout), C7.personAvatar = Vit;
}
-function Hat() {
- S7.controller = vit({
+function pot() {
+ C7.controller = Uit({
route: Q.route,
- followView: M9,
- adoptFollowView: N9,
+ followView: N9,
+ adoptFollowView: P9,
hideIndex: () => {
I("#index").hidden = !0;
},
- openPage: A9
+ openPage: j9
});
}
//#endregion
//#region src/application/loading.js
-var T7 = {
+var E7 = {
setGridCards: void 0,
gridCards: void 0,
managementPlaceholder: void 0,
@@ -94849,49 +95458,49 @@ var T7 = {
ENTITY_SHAPES_WAIT: void 0,
syncPageTitle: void 0
};
-function E7(e = "正在读取作品") {
+function D7(e = "正在读取作品") {
let t = I("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = TEe(iB(location.search)), Co(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && t9({
+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = AEe(fB(location.search)), Co(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && n9({
count: null,
- ...Not()
- })), I("#loadSentinel").hidden = !0, c9()) return;
- let r = I("#grid"), i = d9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== nU(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== Got()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : T7.setGridCards(i), Co(I("#grid")));
+ ...ist()
+ })), I("#loadSentinel").hidden = !0, l9()) return;
+ let r = I("#grid"), i = f9(e), a = r.querySelector(".catalog-skeleton");
+ (a?.dataset.skeleton !== pU(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== gst()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : E7.setGridCards(i), Co(I("#grid")));
}
-function D7() {
- I("#catalogFilter").style.display = "none", e9();
+function O7() {
+ I("#catalogFilter").style.display = "none", t9();
}
-function Uat() {
+function mot() {
let e = new Promise((e) => {
- let t = T7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
+ let t = E7.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
- t -= Math.min(i - n, 50), n = i, t > 0 ? Y5.delay(r, Math.min(t, 50)) : e();
+ t -= Math.min(i - n, 50), n = i, t > 0 ? X5.delay(r, Math.min(t, 50)) : e();
};
- Y5.delay(r, 50);
+ X5.delay(r, 50);
});
- return Promise.race([T7.entityShapesReady ||= r7(), e]);
+ return Promise.race([E7.entityShapesReady ||= i7(), e]);
}
-function Wat() {
+function hot() {
let e = decodeURIComponent(location.pathname);
- if (document.body.dataset.surface = location.pathname, /^\/(item\/\d+|(?:mix|parts|editions|playlists)\/\d+\/\d+)$/.test(e)) D7();
- else if (e.startsWith("/follow/item/") || e.startsWith("/jav/movie/")) D7();
- else if (e === "/junk-files") E7("正在读取垃圾文件");
- else if (e === "/jav" && pB(new URLSearchParams(location.search).get("tab")) === "library") E7("正在读取馆藏");
+ if (document.body.dataset.surface = location.pathname, /^\/(item\/\d+|(?:mix|parts|editions|playlists)\/\d+\/\d+)$/.test(e)) O7();
+ else if (e.startsWith("/follow/item/") || e.startsWith("/jav/movie/")) O7();
+ else if (e === "/junk-files") D7("正在读取垃圾文件");
+ else if (e === "/jav" && xB(new URLSearchParams(location.search).get("tab")) === "library") D7("正在读取馆藏");
else if (Q.managedPagePath(e)) {
- D7();
+ O7();
let t = I("#stats");
- t.hidden = !1, o9(), t.innerHTML = e.startsWith("/follow") && e !== "/follow-manage" ? $.followSkeletonHtml("正在读取关注内容") : T7.managementPlaceholder(e), Co(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) D7(), w7(), qtt(I("#index"), Utt(e.slice(1), location.search), S7.peopleIndexLayout());
+ t.hidden = !1, s9(), t.innerHTML = e.startsWith("/follow") && e !== "/follow-manage" ? $.followSkeletonHtml("正在读取关注内容") : E7.managementPlaceholder(e), Co(t);
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) O7(), T7(), _nt(I("#index"), pnt(e.slice(1), location.search), C7.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies)\//.test(e)) {
- D7(), I("#index").hidden = !1, o9();
+ O7(), I("#index").hidden = !1, s9();
let t = Et[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- Uat().then(() => {
- I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (oat(t, n), Co(I("#index")));
+ mot().then(() => {
+ I("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (jat(t, n), Co(I("#index")));
});
- } else Q.routeMeta(e) ? E7() : (o9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);
+ } else Q.routeMeta(e) ? D7() : (s9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0);
}
-function Gat() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => eU(t, {
+function got() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => dU(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
@@ -94903,39 +95512,39 @@ function Gat() {
<div class="board-filter-frame" data-filter-frame>
<div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div>
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, I("#loadSentinel").innerHTML = eo("继续载入中…"), T7.setGridCards = (e) => po(I("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, I("#loadSentinel").innerHTML = eo("继续载入中…"), E7.setGridCards = (e) => po(I("#grid"), () => {
I("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), T7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), T7.managementPlaceholder = (e) => tU(e, {
- followLayout: Mat(),
+ }), E7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]"), E7.managementPlaceholder = (e) => fU(e, {
+ followLayout: rot(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(Nat())
- }), T7.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", T7.entityShapesReady = null, T7.ENTITY_SHAPES_WAIT = 400, T7.syncPageTitle = (e) => {
- let t = new URL(e, location.origin), n = IL(decodeURIComponent(t.pathname))?.title;
- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, Sst();
+ }))(iot())
+ }), E7.wantsDiscoveryBars = () => I("#catalogFilter").style.display !== "none", E7.entityShapesReady = null, E7.ENTITY_SHAPES_WAIT = 400, E7.syncPageTitle = (e) => {
+ let t = new URL(e, location.origin), n = WL(decodeURIComponent(t.pathname))?.title;
+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, qst();
};
}
//#endregion
//#region src/sidebar-skeleton.ts
-var O7 = (e) => e.replace(/[&<>"']/g, (e) => ({
+var k7 = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function Kat(e, t, n) {
+function _ot(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${O7(r)}"/></svg>`;
- return `<button type="button" data-nav="${O7(e)}" aria-pressed="${n(e)}" aria-label="${O7(t)}">${i}<span>${O7(t)}</span></button>`;
+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${k7(r)}"/></svg>`;
+ return `<button type="button" data-nav="${k7(e)}" aria-pressed="${n(e)}" aria-label="${k7(t)}">${i}<span>${k7(t)}</span></button>`;
}).join("")}</div>`;
}
//#endregion
//#region src/application/filter-scroll.js
-function qat(e, t, n, r = !1) {
+function vot(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -94954,7 +95563,7 @@ function qat(e, t, n, r = !1) {
}
//#endregion
//#region src/application/layout.js
-var k7 = {
+var A7 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -94976,20 +95585,20 @@ var k7 = {
mobileFilterHost: void 0,
mobileFilterPath: void 0
};
-function A7({ manage: e = !0, placeholder: t = "" } = {}) {
- I("#stats").hidden = !1, I("#index").hidden = !0, o9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? I7() : (L7(""), E9()), t && rU(I("#stats"), t);
-}
-function j7() {
- X.hideCatalogCombo(), D7(), document.body.classList.remove("entity-open", "index-open");
+function j7({ manage: e = !0, placeholder: t = "" } = {}) {
+ I("#stats").hidden = !1, I("#index").hidden = !0, s9(), I("#count").textContent = "", I("#loadSentinel").hidden = !0, e ? L7() : (R7(""), D9()), t && mU(I("#stats"), t);
}
function M7() {
- document.body.classList.remove("entity-open", "index-open"), XL(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, i7(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", e9(), I7(), R7();
+ X.hideCatalogCombo(), O7(), document.body.classList.remove("entity-open", "index-open");
}
-function Jat() {
- Q.route("/"), M7();
+function N7() {
+ document.body.classList.remove("entity-open", "index-open"), iR(I("#index")), I("#stats").hidden = !0, I("#index").hidden = !0, a7(location.pathname) || (I("#feedNew").hidden = !0), I("#catalogFilter").style.display = "", t9(), L7(), z7();
}
-function Yat({ tags: e = [], providers: t = [], duration: n = !1 }) {
- T9({
+function yot() {
+ Q.route("/"), N7();
+}
+function bot({ tags: e = [], providers: t = [], duration: n = !1 }) {
+ E9({
content: e.length || t.length || n ? {
kind: "follow",
tags: e.map(([e, t]) => ({
@@ -95012,54 +95621,54 @@ function Yat({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function Xat(e) {
- Mst({
- ...M9(),
+function xot(e) {
+ rct({
+ ...N9(),
...e
- }), T9({ filters: $.followSidebarFilters() });
+ }), E9({ filters: $.followSidebarFilters() });
}
-function N7() {
+function P7() {
return matchMedia("(max-width:760px)").matches;
}
-function P7(e) {
+function F7(e) {
let t = I("#drawer"), n = !e && t.contains(document.activeElement);
- t.inert = !e && N7(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
+ t.inert = !e && P7(), t.classList.toggle("open", e), I("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), I("#filterBtn").setAttribute("aria-expanded", String(!!e)), I("#filterBtn").setAttribute("aria-controls", "drawer"), I("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && I("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function Zat() {
- N7() && P7(!1);
+function Sot() {
+ P7() && F7(!1);
}
-function Qat() {
+function Cot() {
Cc === null && (Pc({ runtimeConfigurable: !1 }), vt("/healthz").then((e) => {
- Pc({ runtimeConfigurable: !!e.configurable }), Cc && F7() && I7();
+ Pc({ runtimeConfigurable: !!e.configurable }), Cc && I7() && L7();
}).catch(() => {}));
}
-function $at(e = "") {
- return Lrt(k7.settingsHost()).then((t) => (t.open(e), t));
+function wot(e = "") {
+ return cit(A7.settingsHost()).then((t) => (t.open(e), t));
}
-function eot() {
+function Tot() {
return {
scroll: I("#drawerScroll"),
store: Z.settingsStore,
- navCatalog: k7.NAV_CATALOG,
- navOn: G7,
- navTo: uot,
- toggleChip: (e, t, n) => $7((r) => {
+ navCatalog: A7.NAV_CATALOG,
+ navOn: K7,
+ navTo: Fot,
+ toggleChip: (e, t, n) => e9((r) => {
if (n) {
let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);
i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");
} else r[e] = r[e] === t ? "" : t;
}),
- setDuration: (e, t) => $7((n) => {
+ setDuration: (e, t) => e9((n) => {
n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";
}),
openFollowTag: (e) => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), P7(!1), A9(j9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), F7(!1), j9(M9());
},
selectFollowTag: (e) => {
- $.followTags = /* @__PURE__ */ new Set([e]), P7(!1), A9(j9());
+ $.followTags = /* @__PURE__ */ new Set([e]), F7(!1), j9(M9());
},
- selectFollowProvider: (e) => Xat({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => Xat({
+ selectFollowProvider: (e) => xot({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => xot({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -95068,16 +95677,16 @@ function eot() {
}
};
}
-function tot() {
+function Eot() {
let e = I("#drawerScroll");
- e.innerHTML = Kat(Z.appSettings.sidebarOrder, k7.NAV_CATALOG, G7), Y5.listen(e, "click", (e) => {
- if (U5()) return;
+ e.innerHTML = _ot(Z.appSettings.sidebarOrder, A7.NAV_CATALOG, K7), X5.listen(e, "click", (e) => {
+ if (W5()) return;
let t = e.target.closest?.("[data-nav]");
- t && uot(t.dataset.nav);
- }), zrt(eot()).then((e) => e.render(k7.sidebarProps)).catch(() => {});
+ t && Fot(t.dataset.nav);
+ }), uit(Tot()).then((e) => e.render(A7.sidebarProps)).catch(() => {});
}
-async function not() {
- let e = Y5, t = null;
+async function Dot() {
+ let e = X5, t = null;
try {
t = await vt("/api/settings", { signal: e.signal });
} catch {
@@ -95085,120 +95694,120 @@ async function not() {
}
e.isActive && TT(t, (e) => Z.settingsEffects[e]?.());
}
-function F7() {
+function I7() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");
}
-function I7() {
- let e = F7();
- Qat(), e && D7(), I("#count").classList.toggle("no-tagbar", !!e), E9(), e !== "trash" && (_7.trashCount = null), L7(e);
+function L7() {
+ let e = I7();
+ Cot(), e && O7(), I("#count").classList.toggle("no-tagbar", !!e), D9(), e !== "trash" && (v7.trashCount = null), R7(e);
}
-function rot(e) {
+function Oot(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
- sections: k7.MANAGE_SECTIONS,
- menu: e ? k7.manageMenuSections() : [],
- trash: _7.trashCount
+ sections: A7.MANAGE_SECTIONS,
+ menu: e ? A7.manageMenuSections() : [],
+ trash: v7.trashCount
};
}
-function L7(e = F7()) {
- R7();
- let t = rot(e), n = Vrt();
+function R7(e = I7()) {
+ z7();
+ let t = Oot(e), n = fit();
if (n) n.render(t);
else {
- let e = jue(t);
- e !== k7.manageHeaderSkeleton && (k7.manageHeaderSkeleton = e, k7.manageHeaderRoot().innerHTML = e);
+ let e = Aue(t);
+ e !== A7.manageHeaderSkeleton && (A7.manageHeaderSkeleton = e, A7.manageHeaderRoot().innerHTML = e);
}
- let r = fO(t)?.title || "";
- r !== k7.lastManagePageLabel && (k7.lastManagePageLabel = r, r && fo(k7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ let r = pO(t)?.title || "";
+ r !== A7.lastManagePageLabel && (A7.lastManagePageLabel = r, r && fo(A7.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function iot() {
- let e = k7.manageHeaderRoot();
- Y5.listen(e, "click", (e) => {
- if (Vrt()) return;
+function kot() {
+ let e = A7.manageHeaderRoot();
+ X5.listen(e, "click", (e) => {
+ if (fit()) return;
let t = e.target.closest?.("[data-manage]");
- if (t) z7(t.dataset.manage);
+ if (t) B7(t.dataset.manage);
else if (e.target.closest?.("[data-manage-crumb] a[href]")) {
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;
e.preventDefault(), Q.navigatePath("/data-cleanup");
- } else e.target.closest?.("[data-empty-trash]") && zot();
- }), Brt({
+ } else e.target.closest?.("[data-empty-trash]") && ust();
+ }), dit({
root: e,
- openManage: z7,
+ openManage: B7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
- emptyTrash: zot
- }).then(() => L7()).catch(() => {});
+ emptyTrash: ust
+ }).then(() => R7()).catch(() => {});
}
-function R7() {
+function z7() {
let e = I("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !F7() && wt(t) && Ct[U.state] || "";
- e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!F7() || !wt(t) || !!n || U.jav === "1";
+ let t = decodeURIComponent(location.pathname), n = !I7() && wt(t) && Ct[U.state] || "";
+ e.hidden = !n, n && (e.textContent = n), I("#catalogPageHeading").hidden = !!I7() || !wt(t) || !!n || U.jav === "1";
}
-function z7(e = "stats") {
+function B7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Fc(), Q.route(aB()), M7(), E9(), n9());
+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Fc(), Q.route(pB()), N7(), D9(), r9());
}
-function B7() {
+function V7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || Dc : !1;
}
-function aot(e = B7()) {
+function Aot(e = V7()) {
let t = Xw.filter(([e]) => e !== "seed");
return e ? [Zw, ...t] : t;
}
-function V7() {
+function H7() {
return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
}
-function H7() {
- return IT(V7());
+function U7() {
+ return IT(H7());
}
-function oot(e) {
- Yse(e), U7(), I("#grid").hidden || f9();
+function jot(e) {
+ Yse(e), W7(), I("#grid").hidden || p9();
}
-function sot(e) {
- WT(e), U7(), f9();
+function Mot(e) {
+ WT(e), W7(), p9();
}
-function U7() {
+function W7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
- e.checked = e.value === H7();
- }), X.catalogFilterProps && t9({ layout: Mot() });
+ e.checked = e.value === U7();
+ }), X.catalogFilterProps && n9({ layout: rst() });
}
-function cot(e) {
- Xse(e), U7(), f9();
+function Not(e) {
+ Xse(e), W7(), p9();
}
-async function W7() {
- $5(), X.mixRelatedCache.clear(), await Promise.all([lot(), n9()]);
+async function G7() {
+ e7(), X.mixRelatedCache.clear(), await Promise.all([Pot(), r9()]);
}
-async function lot() {
- if (o7.entityPageCurrent() && !I("#index").hidden) {
- c7({ revision: ++o7.entityPageRevision });
+async function Pot() {
+ if (s7.entityPageCurrent() && !I("#index").hidden) {
+ l7({ revision: ++s7.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
- if (IL(e)?.reload === "reopen" || e === "/follow") {
+ if (WL(e)?.reload === "reopen" || e === "/follow") {
Pc({ pageOpens: Tc + 1 });
return;
}
let t = Q.routeMeta(e);
- t?.route.reload ? await t.route.reload() : await a9();
+ t?.route.reload ? await t.route.reload() : await o9();
}
-function G7(e) {
- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = k7.DIRECT_MANAGE_NAV[e];
- if (r) return F7() === r;
+function K7(e) {
+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = A7.DIRECT_MANAGE_NAV[e];
+ if (r) return I7() === r;
if (e === "manage") {
- let e = F7();
- return !!e && !Z.appSettings.sidebarOrder.some((t) => k7.DIRECT_MANAGE_NAV[t] === e);
+ let e = I7();
+ return !!e && !Z.appSettings.sidebarOrder.some((t) => A7.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || B7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !F7() && !U.state && !B7() && U.orient !== "竖屏" : xt[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || V7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !I7() && !U.state && !V7() && U.orient !== "竖屏" : xt[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
}
-function uot(e) {
- if (Zat(), k7.DIRECT_MANAGE_NAV[e]) {
- z7(k7.DIRECT_MANAGE_NAV[e]);
+function Fot(e) {
+ if (Sot(), A7.DIRECT_MANAGE_NAV[e]) {
+ B7(A7.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
- z7();
+ B7();
return;
}
if (e === "jav") {
@@ -95206,25 +95815,25 @@ function uot(e) {
return;
}
if (e === "") {
- X7();
+ Z7();
return;
}
let t = xt[e] ? null : Q.routePathOf("nav", e);
- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Fc(), Q.route(Y7()), M7(), E9(), n9());
+ t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Fc(), Q.route(X7()), N7(), D9(), r9());
}
-function K7() {
+function q7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- uc && pc !== _7.currentSelectSurface() && y7(!1, !0);
+ uc && pc !== v7.currentSelectSurface() && b7(!1, !0);
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Et, t[0]), r = wt(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
- I("#selectMode").hidden = !i, I("#density").hidden = !a, f7(), !i && uc && y7(!1, !0);
+ I("#selectMode").hidden = !i, I("#density").hidden = !a, p7(), !i && uc && b7(!1, !0);
}
-function dot() {
+function Iot() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
- (t !== k7.mobileFilterHost || location.pathname !== k7.mobileFilterPath) && (k7.mobileFilterScroll = null), k7.mobileFilterHost = t, k7.mobileFilterPath = location.pathname;
+ (t !== A7.mobileFilterHost || location.pathname !== A7.mobileFilterPath) && (A7.mobileFilterScroll = null), A7.mobileFilterHost = t, A7.mobileFilterPath = location.pathname;
let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");
- k7.mobileFilterScroll = qat(k7.mobileFilterScroll, n, innerWidth <= 760, r);
+ A7.mobileFilterScroll = vot(A7.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
- let e = n === t && k7.mobileFilterScroll.free;
+ let e = n === t && A7.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
let r = n.getBoundingClientRect().top;
n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);
@@ -95236,63 +95845,63 @@ function dot() {
});
}
}
-function fot() {
- dot(), [".board-filter-frame", "#count"].forEach((e) => {
+function Lot() {
+ Iot(), [".board-filter-frame", "#count"].forEach((e) => {
let t = I(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;
t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);
});
}
-function q7() {
- k7.stickyFrame ||= Y5.frame(() => {
- k7.stickyFrame = 0, fot();
+function J7() {
+ A7.stickyFrame ||= X5.frame(() => {
+ A7.stickyFrame = 0, Lot();
});
}
-function pot() {
+function Rot() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), Y5.handler(I("#filterBtn"), "onclick", () => P7(!I("#drawer").classList.contains("open"))), k7.SIDEBAR_ITEMS = lit, k7.MANAGE_SECTIONS = e7, k7.MANAGE_MENU_SECTIONS = uit, k7.manageMenuSections = () => dit(Cc === !0), k7.OPTIONAL_SIDEBAR_ITEMS = fit, k7.NAV_CATALOG = pit, k7.DIRECT_MANAGE_NAV = mit, k7.settingsHost = () => ({
+ }), X5.handler(I("#filterBtn"), "onclick", () => F7(!I("#drawer").classList.contains("open"))), A7.SIDEBAR_ITEMS = Pit, A7.MANAGE_SECTIONS = t7, A7.MANAGE_MENU_SECTIONS = Fit, A7.manageMenuSections = () => Iit(Cc === !0), A7.OPTIONAL_SIDEBAR_ITEMS = Lit, A7.NAV_CATALOG = Rit, A7.DIRECT_MANAGE_NAV = zit, A7.settingsHost = () => ({
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Aa(e),
- navCatalog: k7.NAV_CATALOG,
+ navCatalog: A7.NAV_CATALOG,
themeOptions: Wse,
videoLayouts: AT,
- followInitialRanges: UV,
- videoLayout: () => H7(),
- setVideoLayout: cot,
- censored: h9,
- setCensored: rst,
+ followInitialRanges: rH,
+ videoLayout: () => U7(),
+ setVideoLayout: Not,
+ censored: g9,
+ setCensored: Ost,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: ist,
- receipt: (e) => X5.actionReceipt(e),
- failure: X5.actionFailure,
+ setHighContrast: kst,
+ receipt: (e) => Z5.actionReceipt(e),
+ failure: Z5.actionFailure,
syncRemote: (e) => TT(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/configuration"),
attached: () => Z.syncGlassOptics(),
configurable: () => vt("/healthz").then((e) => (Pc({ runtimeConfigurable: !!e.configurable }), Cc)).catch(() => null)
- }), Y5.handler(I("#settingsBtn"), "onclick", () => void $at()), k7.lastManagePageLabel = "", k7.manageHeaderSkeleton = "", k7.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, k7.scrollT = null, k7.stickyFrame = 0, k7.mobileFilterScroll = null, k7.mobileFilterHost = null, k7.mobileFilterPath = "", Y5.listen(document, "focusin", q7), Y5.listen(document, "focusout", q7), Y5.listen(window, "scroll", () => {
- q7(), location.pathname === "/follow" && P9() && Pc({ followScrollY: scrollY }), window.__scrolling = !0, Ks(), clearTimeout(k7.scrollT), k7.scrollT = Y5.delay(() => {
+ }), X5.handler(I("#settingsBtn"), "onclick", () => void wot()), A7.lastManagePageLabel = "", A7.manageHeaderSkeleton = "", A7.manageHeaderRoot = () => I("[data-manage-header]"), window.__scrolling = !1, A7.scrollT = null, A7.stickyFrame = 0, A7.mobileFilterScroll = null, A7.mobileFilterHost = null, A7.mobileFilterPath = "", X5.listen(document, "focusin", J7), X5.listen(document, "focusout", J7), X5.listen(window, "scroll", () => {
+ J7(), location.pathname === "/follow" && F9() && Pc({ followScrollY: scrollY }), window.__scrolling = !0, Ks(), clearTimeout(A7.scrollT), A7.scrollT = X5.delay(() => {
window.__scrolling = !1;
}, 180);
- }, { passive: !0 }), Y5.listen(window, "resize", q7, { passive: !0 }), Y5.handler(I("#scrim"), "onclick", () => P7(!1));
+ }, { passive: !0 }), X5.listen(window, "resize", J7, { passive: !0 }), X5.handler(I("#scrim"), "onclick", () => F7(!1));
}
//#endregion
//#region src/catalog-filter-skeleton.ts
-var mot = 64, J7 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var zot = 64, Y7 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), hot = (e) => e.repeat(mot);
-function got(e, t) {
- let n = e.map((e) => `<a href="${J7(e.href)}" data-catalog-view="${J7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${J7(e.label)}</a>`).join("");
- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + hot("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + hot("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(mot) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";
+})[e]), Bot = (e) => e.repeat(zot);
+function Vot(e, t) {
+ let n = e.map((e) => `<a href="${Y7(e.href)}" data-catalog-view="${Y7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${Y7(e.label)}</a>`).join("");
+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Bot("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + Bot("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(zot) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";
}
//#endregion
//#region src/catalog-onboarding.ts
-var _ot = [
+var Hot = [
"loc",
"creator",
"performer",
@@ -95310,9 +95919,9 @@ var _ot = [
"jav",
"thumb"
];
-async function vot(e, t) {
+async function Uot(e, t) {
let n = new URLSearchParams();
- for (let t of _ot) e[t] && n.set(t, e[t]);
+ for (let t of Hot) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -95323,7 +95932,7 @@ async function vot(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function yot({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function Wot({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/follow-manage?tab=add\">添加关注</a>";
if (t || n) return no("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
if (e !== "catalog") {
@@ -95379,43 +95988,43 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function bot() {
- X.initialParams.has("loc") || (U.loc = xot(U.loc), Fc());
+function Got() {
+ X.initialParams.has("loc") || (U.loc = Kot(U.loc), Fc());
}
-function xot(e) {
- return Qrt(e, Z.sourceOnline);
+function Kot(e) {
+ return Cit(e, Z.sourceOnline);
}
-function Y7(e = U) {
- return $rt(e);
+function X7(e = U) {
+ return wit(e);
}
-function Sot() {
- Pc(tit(eit(U, Z.appSettings, X5.rollSeed))), $5();
+function qot() {
+ Pc(Eit(Tit(U, Z.appSettings, Z5.rollSeed))), e7();
}
-function X7(e = null, t = !1) {
- Sot(), e && (Object.assign(U, e), Fc()), Q.route(e ? Y7() : "/"), X.clearSearchField(), v9(!1), M7(), E9(), n9(), t && window.scrollTo({
+function Z7(e = null, t = !1) {
+ qot(), e && (Object.assign(U, e), Fc()), Q.route(e ? X7() : "/"), X.clearSearchField(), y9(!1), N7(), D9(), r9(), t && window.scrollTo({
top: 0,
behavior: "smooth"
});
}
-function Cot(e, t = null) {
+function Jot(e, t = null) {
let n = e.id;
- !e.medium || e.medium === "video" ? b9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : b7(n);
+ !e.medium || e.medium === "video" ? x9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : x7(n);
}
-function wot(e) {
+function Yot(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, vt("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
-function Tot(e, t) {
- F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : e.edition_group ? pst(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? mst(e.part_group.seed_id, e.id, !0, t) : b9(e.id, !0, null, t);
+function Xot(e, t) {
+ I5()?.miniplayerTakesCard(e) ? I5().miniplayerPlay(e.id) : e.edition_group ? Rst(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? zst(e.part_group.seed_id, e.id, !0, t) : x9(e.id, !0, null, t);
}
-async function Eot(e, t) {
+async function Zot(e, t) {
try {
let n = await vt("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
- e.watch_later = n.watch_later, t(!!n.watch_later), X5.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
+ e.watch_later = n.watch_later, t(!!n.watch_later), Z5.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
let n = await vt("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -95423,10 +96032,10 @@ async function Eot(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- X5.actionFailure("更新稍后看", e);
+ Z5.actionFailure("更新稍后看", e);
}
}
-async function Dot(e, t) {
+async function Qot(e, t) {
try {
await vt("/api/batch", {
method: "POST",
@@ -95434,25 +96043,25 @@ async function Dot(e, t) {
ids: [e.id],
operation: t
})
- }), await a9();
+ }), await o9();
let n = t === "restore" ? "dispose" : "restore";
- X5.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
+ Z5.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: [e.id],
operation: n
})
- }), await a9();
+ }), await o9();
} });
} catch (e) {
- throw X5.actionFailure("操作", e), e;
+ throw Z5.actionFailure("操作", e), e;
}
}
-async function Oot(e) {
+async function $ot(e) {
let t = new URLSearchParams();
- if (B7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {
- let e = o7.activeFilterState();
+ if (V7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {
+ let e = s7.activeFilterState();
[
"loc",
"creator",
@@ -95470,46 +96079,46 @@ async function Oot(e) {
e[n] && t.set(n, e[n]);
});
}
- return sit(t.toString(), X.topsQueryParams(e).toString());
+ return Mit(t.toString(), X.topsQueryParams(e).toString());
}
-function kot() {
+function est() {
if (scrollY <= 0) return;
let e = document.documentElement;
e.classList.add("refiltering");
let t = () => {
e.classList.remove("refiltering"), removeEventListener("scrollend", t);
};
- Y5.listen.bind(Y5, window)("scrollend", t), Y5.delay(t, 1200), scrollTo({
+ X5.listen.bind(X5, window)("scrollend", t), X5.delay(t, 1200), scrollTo({
top: 0,
behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"
});
}
-function Z7(e) {
- l7().type !== "entity" && t9({ tags: Pot(e) }), T9({ filters: { ...e } }), i9();
+function Q7(e) {
+ u7().type !== "entity" && n9({ tags: ast(e) }), E9({ filters: { ...e } }), a9();
}
-async function Q7(e) {
- let t = ++X.facetCountsSeq, [n] = await Oot(e);
- t === X.facetCountsSeq && (e.type === "home" && (_9.facets = n), T9({ latest: est(n, e) }));
+async function $7(e) {
+ let t = ++X.facetCountsSeq, [n] = await $ot(e);
+ t === X.facetCountsSeq && (e.type === "home" && (v9.facets = n), E9({ latest: Tst(n, e) }));
}
-function $7(e) {
- kot();
- let t = l7();
+function e9(e) {
+ est();
+ let t = u7();
if (t.type === "entity") {
let n = { ...t.filters };
- e(n), u7(t.kind, t.name, n), Z7(n), Q7(l7());
+ e(n), d7(t.kind, t.name, n), Q7(n), $7(u7());
} else if (t.type === "item") {
- let t = o7.cloneBarsContext(sc);
- if (v9(!1), Pc({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), u7(t.kind, t.name, t.filters) ? n9() : Pc({ pageOpens: Tc + 1 });
+ let t = s7.cloneBarsContext(sc);
+ if (y9(!1), Pc({ detailReturnBarsContext: null }), t && t.type === "entity") {
+ e(t.filters), d7(t.kind, t.name, t.filters) ? r9() : Pc({ pageOpens: Tc + 1 });
return;
}
e(U), Pc({ barsContext: {
type: "home",
filters: U
- } }), Q.route(Y7()), M7(), n9();
- } else e(U), Fc(), Q.route(Y7()), Z7(U), Q7(oc);
+ } }), Q.route(X7()), N7(), r9();
+ } else e(U), Fc(), Q.route(X7()), Q7(U), $7(oc);
}
-function Aot() {
+function tst() {
return {
tiers: null,
empty: !1,
@@ -95526,90 +96135,94 @@ function Aot() {
combo: [],
comboHidden: !0,
comboHost: I("#combo"),
- actions: jot(),
+ actions: nst(),
helpers: {
- wireDrag: g9,
+ wireDrag: _9,
wireScroller: (e) => {
e && Po(e);
}
}
};
}
-function e9() {
- X.catalogFilterProps && t9({});
+function t9() {
+ X.catalogFilterProps && n9({});
}
-function t9(e) {
+function n9(e) {
let t = I("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");
e = {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || Aot(),
+ ...X.catalogFilterProps || tst(),
...e
- }, !X.catalogFilterMounting && (GL(t) ? YL(t, e) : (!t.firstChild && !n && (t.innerHTML = got(X.catalogViews(), X.catalogFilterProps.state), Co(t)), X.catalogFilterMounting = JL("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && ($L(t) ? rR(t, e) : (!t.firstChild && !n && (t.innerHTML = Vot(X.catalogViews(), X.catalogFilterProps.state), Co(t)), X.catalogFilterMounting = nR("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
- }).then(() => YL(t, X.catalogFilterProps)).finally(() => {
+ }).then(() => rR(t, X.catalogFilterProps)).finally(() => {
X.catalogFilterMounting = null;
})));
}
-function jot() {
+function nst() {
return {
- openEntity: (e, t) => m7(e, t),
+ currentHref: () => {
+ let e = new URL(X7(), location.origin);
+ return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;
+ },
+ openEntity: (e, t) => h7(e, t),
setView: (e) => {
- U.state = e, Fc(), t9({ state: e }), Q.route(Y7()), n9();
+ U.state = e, Fc(), n9({ state: e }), Q.route(X7()), r9();
},
- toggleTag: (e) => r9(e),
- clearFilter: (e) => $7((t) => {
+ toggleTag: (e) => i9(e),
+ clearFilter: (e) => e9((t) => {
t[e] = "";
}),
- clearAll: () => $7((e) => {
+ clearAll: () => e9((e) => {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
let t = rT(e, U.sort, U.dir);
- t && (U.sort = t.sort, U.dir = t.dir, Fc(), m9());
+ t && (U.sort = t.sort, U.dir = t.dir, Fc(), h9());
},
- reshuffle: () => tst(),
+ reshuffle: () => Est(),
setLayout: (e) => {
- B7() ? sot(e) : oot(e);
+ V7() ? Mot(e) : jot(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await cit(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(Fot) : n.map(Iot);
+ let n = (await Nit(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ return e === "performers" ? n.map(ost) : n.map(sst);
}
};
}
-function Mot() {
- return B7() ? {
+function rst() {
+ return V7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
value: FT(),
options: AT
- } : V7() ? {
+ } : H7() ? {
name: "home-layout",
label: "首页卡片版式",
- value: H7(),
+ value: U7(),
options: AT
} : null;
}
-function Not() {
+function ist() {
return {
- sorts: Xit(U.sort, U.dir),
- layout: Mot(),
+ sorts: xat(U.sort, U.dir),
+ layout: rst(),
state: U.state || "",
trash: U.state === "trash"
};
}
-function Pot(e) {
+function ast(e) {
return X.catalogTagRows.map((t) => ({
...t,
selected: X.tagPressed(e.tag, t.k)
}));
}
-function Fot(e) {
+function ost(e) {
return {
name: e.k,
ringHtml: `<span data-tier-initial>${R(qt(e.k))}</span>${na({
@@ -95623,85 +96236,85 @@ function Fot(e) {
})}`
};
}
-function Iot(e) {
+function sst(e) {
return {
name: e.k,
fallback: Kt(e.k, 2),
logo: e.has_logo ? $i(e.k, "icon", e.logo_version) : ""
};
}
-function Lot(e) {
- X.catalogFilterProps?.tiers || (X.barsRendered = "", t9({
+function cst(e) {
+ X.catalogFilterProps?.tiers || (X.barsRendered = "", n9({
tiers: null,
state: e.state || ""
}));
}
-async function n9() {
+async function r9() {
let e = ++X.barsRequestSeq;
- if (T9(), !rc(location.pathname) || oc.type === "item") return;
- let t = l7(), n = o7.activeFilterState(), r = JSON.stringify([
+ if (E9(), !rc(location.pathname) || oc.type === "item") return;
+ let t = u7(), n = s7.activeFilterState(), r = JSON.stringify([
t,
n,
U.state || "",
U.seed || "",
- B7()
+ V7()
]);
- Lot(n);
- let [i, a] = await Oot(t);
+ cst(n);
+ let [i, a] = await $ot(t);
if (e !== X.barsRequestSeq) return;
let o = r + "\n" + JSON.stringify([i, a]);
if (o === X.barsRendered) {
- k7.sidebarCatalog && T9({
- content: k7.sidebarCatalog,
+ A7.sidebarCatalog && E9({
+ content: A7.sidebarCatalog,
filters: { ...n }
});
return;
}
- X.barsRendered = o, t.type === "home" && (_9.facets = i);
+ X.barsRendered = o, t.type === "home" && (v9.facets = i);
let s = i.tags || [];
Bi(a.performers), Bi(a.studios);
- let c = t.type === "home" && !B7() && !U.state && !U.q && !i.locations.some((e) => e.n > 0);
+ let c = t.type === "home" && !V7() && !U.state && !U.q && !i.locations.some((e) => e.n > 0);
X.catalogTopsPages = {
context: t,
performers: 0,
studios: 0
};
- let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = X5.seededSample(f, X.TAGS_FIRST, `tags:${U.seed || ""}`), m = new Set(p.map((e) => e.k));
+ let l = X.tagList(n.tag), u = new Map(s.map((e) => [e.k, e])), d = l.map((e) => u.get(e) || { k: e }), f = s.filter((e) => !l.includes(e.k)), p = Z5.seededSample(f, X.TAGS_FIRST, `tags:${U.seed || ""}`), m = new Set(p.map((e) => e.k));
X.catalogTagRows = d.concat(p, f.filter((e) => !m.has(e.k))).map((e) => ({
k: e.k,
label: Zs(e.k),
n: e.n ?? null
- })), t9({
+ })), n9({
tiers: {
key: String(X.barsRequestSeq),
- performers: a.performers.map(Fot),
- studios: a.studios.map(Iot)
+ performers: a.performers.map(ost),
+ studios: a.studios.map(sst)
},
empty: c,
- tags: Pot(n),
+ tags: ast(n),
tagFirst: d.length + p.length,
views: X.catalogViews(),
state: n.state || ""
- }), i9(), k7.sidebarCatalog = {
+ }), a9(), A7.sidebarCatalog = {
kind: "catalog",
- key: String(++k7.sidebarContentSeq),
- facets: est(i, t)
- }, T9({
- content: k7.sidebarCatalog,
+ key: String(++A7.sidebarContentSeq),
+ facets: Tst(i, t)
+ }, E9({
+ content: A7.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function Rot(e, t) {
- _9.total = e, U.state === "trash" && (_7.trashCount = {
- total: _9.total,
+function lst(e, t) {
+ v9.total = e, U.state === "trash" && (v7.trashCount = {
+ total: v9.total,
shown: t
- }), I7(), t9({ count: {
- total: _9.total,
+ }), L7(), n9({ count: {
+ total: v9.total,
shown: t
} });
}
-function zot() {
+function ust() {
return cs({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -95711,19 +96324,19 @@ function zot() {
try {
let e = await vt("/api/trash/empty", { method: "POST" });
if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- X5.actionReceipt(`已永久删除 ${e.purged} 项`);
+ Z5.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
- await a9();
+ await o9();
}
}
});
}
-function r9(e) {
- $7((t) => {
+function i9(e) {
+ e9((t) => {
t.tag = e ? X.withTagToggled(t.tag, e) : "";
});
}
-function Bot(e) {
+function dst(e) {
let t = [];
return e.creator && t.push({
kind: "clear",
@@ -95743,16 +96356,16 @@ function Bot(e) {
label: Zs(e)
})), t;
}
-function i9() {
- t9({
- combo: Bot(U),
+function a9() {
+ n9({
+ combo: dst(U),
comboHidden: !X.catalogOnScreen()
});
}
-async function a9() {
+async function o9() {
let e = Q.claimSurface(Q.surfacePath());
- if (Uit(location.pathname) && !GL(I("#libraryProcessingNotice")) && JL("library-processing", {
- toast: X5.toast,
+ if (mat(location.pathname) && !$L(I("#libraryProcessingNotice")) && nR("library-processing", {
+ toast: Z5.toast,
mode: "notice"
}, {
container: I("#libraryProcessingNotice"),
@@ -95763,113 +96376,113 @@ async function a9() {
filters: U
},
detailReturnBarsContext: null
- }), v9(!1), U.state === "ads") return qot(e);
- if (X.controller.page === "/junk-files" && o9(), E7(), M7(), i7(location.pathname)) {
- if (await T7.entityShapesReady, !Q.surfaceCurrent(e)) return;
- Wit();
- } else a7();
- return i9(), I("#count").classList.remove("manage-static", "junkcount"), Hot(e);
-}
-function Vot(e) {
+ }), y9(!1), U.state === "ads") return vst(e);
+ if (X.controller.page === "/junk-files" && s9(), D7(), N7(), a7(location.pathname)) {
+ if (await E7.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ hat();
+ } else o7();
+ return a9(), I("#count").classList.remove("manage-static", "junkcount"), pst(e);
+}
+function fst(e) {
X.controller.settle(e);
}
-function o9() {
+function s9() {
let e = I("#grid");
- Ks(e), XL(e), X.controller.clear(), e.innerHTML = "";
-}
-function Hot(e) {
- return Wot("/", Kot, e, { place: Pst });
+ Ks(e), iR(e), X.controller.clear(), e.innerHTML = "";
}
-function Uot(e) {
- return Wot("/junk-files", Yot, e);
+function pst(e) {
+ return hst("/", _st, e, { place: act });
}
-function s9() {
- return !!WL(I("#grid"));
+function mst(e) {
+ return hst("/junk-files", bst, e);
}
function c9() {
- return X.controller.taken(s9());
+ return !!QL(I("#grid"));
+}
+function l9() {
+ return X.controller.taken(c9());
}
-function l9(e) {
- YL(I("#grid"), e);
+function u9(e) {
+ rR(I("#grid"), e);
}
-function Wot(e, t, n, r = {}) {
+function hst(e, t, n, r = {}) {
let i = I("#grid");
- X.controller.page && X.controller.page !== e && o9();
- let a = X.controller.begin(e, s9()), o = t();
- if (!a.mount) return l9(o), a.settled;
+ X.controller.page && X.controller.page !== e && s9();
+ let a = X.controller.begin(e, c9()), o = t();
+ if (!a.mount) return u9(o), a.settled;
Ks(i);
- let s = () => XL(i);
- return a.signal.addEventListener("abort", s, { once: !0 }), JL(e, o, {
+ let s = () => iR(i);
+ return a.signal.addEventListener("abort", s, { once: !0 }), nR(e, o, {
...r,
container: i,
isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()
}).catch((e) => console.error(e)).finally(() => {
- a.signal.removeEventListener("abort", s), a.finish(s9());
+ a.signal.removeEventListener("abort", s), a.finish(c9());
}), a.settled;
}
-function u9() {
- let e = V7();
+function d9() {
+ let e = H7();
return HT({
- active: B7() || e,
+ active: V7() || e,
home: e,
portrait: U.orient === "竖屏"
});
}
-function d9(e = "正在读取作品") {
- return eU(e, {
+function f9(e = "正在读取作品") {
+ return dU(e, {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
- cardRatio: Got()
+ cardRatio: gst()
});
}
-function Got() {
- return U ? UT(u9()) : 16 / 9;
+function gst() {
+ return U ? UT(d9()) : 16 / 9;
}
-function f9() {
- c9() && (Ks(I("#grid")), l9({
- layout: u9(),
+function p9() {
+ l9() && (Ks(I("#grid")), u9({
+ layout: d9(),
seekSeconds: Z.appSettings.seekSeconds
- })), o7.entityPageCurrent() && (Ks(I("#index [data-entity-hero]")), c7({
- layout: u9(),
+ })), s7.entityPageCurrent() && (Ks(I("#index [data-entity-hero]")), l7({
+ layout: d9(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function Kot() {
+function _st() {
let e = wt(decodeURIComponent(location.pathname)), t = U.state === "trash";
return {
mode: "catalog",
helpers: X.gridHelpers,
actions: X.gridActions,
- layout: u9(),
+ layout: d9(),
selectMode: uc,
selected: new Set(cc),
seekSeconds: Z.appSettings.seekSeconds,
revision: X.controller.revision,
- wireDrag: g9,
- settled: Vot,
- skeletonHtml: () => d9(),
+ wireDrag: _9,
+ settled: fst,
+ skeletonHtml: () => f9(),
filters: { ...U },
batchSize: Z.appSettings.batchSize,
groupCollapse: Z.appSettings.groupCollapse,
excludeVertical: e && !U.q && !U.orient || U.jav === "1",
mix: e && !t,
- shorts: e && !B7() && U.orient !== "竖屏" && !t,
+ shorts: e && !V7() && U.orient !== "竖屏" && !t,
countRow: I("#count"),
- onCount: Rot,
- onCountFailed: () => t9({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : yot({
- jav: B7() && !t,
+ onCount: lst,
+ onCountFailed: () => n9({ count: !1 }),
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : Wot({
+ jav: V7() && !t,
configurable: Cc,
filtered: !t
}),
canLoadMore: () => I("#stats").hidden && I("#index").hidden
};
}
-function qot(e) {
+function vst(e) {
let t = I("#count");
- return X.controller.page === "/junk-files" && s9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (o9(), E7("正在读取垃圾文件")), M7(), i9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), Uot(e);
+ return X.controller.page === "/junk-files" && c9() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (s9(), D7("正在读取垃圾文件")), N7(), a9(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), mst(e);
}
-async function Jot(e, t) {
+async function yst(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await vt("/api/batch", {
@@ -95878,24 +96491,24 @@ async function Jot(e, t) {
ids: n,
operation: t
})
- }), await a9();
+ }), await o9();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
- X5.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
+ Z5.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
await vt("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: e
})
- }), await a9();
+ }), await o9();
} });
} catch (e) {
- throw X5.actionFailure("操作", e), e;
+ throw Z5.actionFailure("操作", e), e;
}
}
-function Yot() {
+function bst() {
return {
- ...iB(location.search),
+ ...fB(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -95903,16 +96516,16 @@ function Yot() {
selectMode: uc,
selected: new Set(cc),
countRow: I("#count"),
- settled: Vot,
- skeletonHtml: () => eU("正在读取垃圾文件", {
+ settled: fst,
+ skeletonHtml: () => dU("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => I("#stats").hidden && I("#index").hidden
};
}
-function Xot() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => Xrt(e, t, Z.appSettings, n), Pc(tit(Zrt(location, Z.appSettings, X5.rollSeed))), X.searchValueSnapshot = {
+function xst() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => xit(e, t, Z.appSettings, n), Pc(Eit(Sit(location, Z.appSettings, Z5.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = I("#q")) => {
@@ -95933,42 +96546,42 @@ function Xot() {
};
};
}
-function Zot() {
+function Sst() {
X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => yO(e, t),
- displayName: (e, t) => vO(e, t),
+ titleHtml: (e, t) => bO(e, t),
+ displayName: (e, t) => yO(e, t),
tagLabel: (e) => Zs(e)
}, X.gridActions = {
- open: (e, t) => Tot(e, t),
- openResource: (e, t) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : Cot(e, t),
- openShort: (e) => F5()?.miniplayerTakesCard(e) ? F5().miniplayerPlay(e.id) : S9(e.id),
- openShorts: () => S9(),
- openMix: (e, t) => fst(e, e, !0, t),
- openEntity: (e, t) => m7(e, t),
- openUnowned: () => X7({ owner: "none" }, !0),
+ open: (e, t) => Xot(e, t),
+ openResource: (e, t) => I5()?.miniplayerTakesCard(e) ? I5().miniplayerPlay(e.id) : Jot(e, t),
+ openShort: (e) => I5()?.miniplayerTakesCard(e) ? I5().miniplayerPlay(e.id) : C9(e.id),
+ openShorts: () => C9(),
+ openMix: (e, t) => Lst(e, e, !0, t),
+ openEntity: (e, t) => h7(e, t),
+ openUnowned: () => Z7({ owner: "none" }, !0),
toggleTag: (e) => {
- $7((t) => {
+ e9((t) => {
t.tag = X.tagPressed(t.tag, e) ? "" : e;
}), window.scrollTo({
top: 0,
behavior: "smooth"
});
},
- toggleSelection: (e, t) => b7(e, t),
- watchLater: (e, t) => Eot(e, t),
- resourceOperation: (e, t) => Dot(e, t),
- mixRelated: (e) => wot(e),
- canFlip: () => !uc && !h9() && !window.__scrolling && !X.reduceMotion()
+ toggleSelection: (e, t) => x7(e, t),
+ watchLater: (e, t) => Zot(e, t),
+ resourceOperation: (e, t) => Qot(e, t),
+ mixRelated: (e) => Yot(e),
+ canFlip: () => !uc && !g9() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
let n = new URLSearchParams({
n: "60",
seed: U.seed || ""
});
- return t && n.set("page", String(t)), B7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), n;
+ return t && n.set("page", String(t)), V7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), n;
}, X.facetCountsSeq = 0, X.VIEW_PILLS = [
{
k: "",
@@ -95989,38 +96602,38 @@ function Zot() {
], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({
...e,
href: e.k ? xt[e.k] : "/"
- })), X.TAGS_FIRST = 26, Y5.listen(I("#catalogFilter"), "click", (e) => {
+ })), X.TAGS_FIRST = 26, X5.listen(I("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
- t && !e.defaultPrevented && (e.preventDefault(), jot().setView(t.dataset.catalogView));
+ t && !e.defaultPrevented && (e.preventDefault(), nst().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => I("#index").hidden && I("#stats").hidden, X.COMBO_LABELS = {
creator: "创作者",
studio: "厂牌",
owner: "归属"
}, X.hideCatalogCombo = () => {
- X.catalogFilterProps && t9({ comboHidden: !0 });
+ X.catalogFilterProps && n9({ comboHidden: !0 });
};
}
-function Qot() {
+function Cst() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- uc && y7(!1, !0), Q.route(e);
+ uc && b7(!1, !0), Q.route(e);
},
- toggleSelection: (e, t) => b7(e, t),
- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : b9(e.id, !0, null, t),
+ toggleSelection: (e, t) => x7(e, t),
+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : x9(e.id, !0, null, t),
reveal: async (e) => {
try {
return await vt("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e.id })
- }), X5.toast({ text: "已在资源管理器中显示" }), "";
+ }), Z5.toast({ text: "已在资源管理器中显示" }), "";
} catch (e) {
- return o7.sourceHint(e.message);
+ return s7.sourceHint(e.message);
}
},
- operate: (e, t) => Jot(e, t)
+ operate: (e, t) => yst(e, t)
};
}
-X.controller = new nit();
+X.controller = new Dit();
//#endregion
//#region src/application/preferences.js
var Z = {
@@ -96044,8 +96657,8 @@ var Z = {
emptyState: void 0,
CENSOR_KEY: void 0
};
-async function p9() {
- let e = Y5;
+async function m9() {
+ let e = X5;
try {
let t = await mn(e.signal);
if (!e.isActive) return Z.sourceOnline;
@@ -96054,18 +96667,18 @@ async function p9() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), bot(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), Got(), Z.sourceOnline;
}
-function m9() {
+function h9() {
let e = Q.surfacePath();
- if (!wt(e) || e === "/junk-files") return a9();
+ if (!wt(e) || e === "/junk-files") return o9();
let t = Z.nextCatalogLoad();
- return aR(Y7(), {
+ return pR(X7(), {
replace: !0,
- state: iR.navigation.location.state
+ state: fR.navigation.location.state
}), t;
}
-function $ot(e) {
+function wst(e) {
return e === "local" ? {
kind: "glyph",
name: "hard-drive"
@@ -96080,7 +96693,7 @@ function $ot(e) {
cost: "free"
};
}
-function est(e, t) {
+function Tst(e, t) {
let n = (e, t = (e) => e.label || Zs(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -96091,7 +96704,7 @@ function est(e, t) {
value: e.k,
label: Yt[e.k] || e.k,
n: e.n ?? null,
- dot: $ot(e.k),
+ dot: wst(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -96103,24 +96716,24 @@ function est(e, t) {
duration: !!e.stats?.duration
};
}
-async function tst(e = !1) {
- if (e && (document.hidden || !wt(decodeURIComponent(location.pathname)) || _9.stageOpen() || _9.immerseOpen() || uc || cc.size || document.activeElement === I("#q"))) return !1;
+async function Est(e = !1) {
+ if (e && (document.hidden || !wt(decodeURIComponent(location.pathname)) || v9.stageOpen() || v9.immerseOpen() || uc || cc.size || document.activeElement === I("#q"))) return !1;
if (!I("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- hat();
+ Bat();
return;
}
let n = t === "reopen" ? e : "/stats";
- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, iR.navigation.location.state) : Q.navigatePath(n);
+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, fR.navigation.location.state) : Q.navigatePath(n);
} else if (I("#index").hidden) {
- U.sort = "seed", U.dir = "", U.seed = X5.rollSeed(), Fc(), $5(), t9({ refreshing: !0 });
+ U.sort = "seed", U.dir = "", U.seed = Z5.rollSeed(), Fc(), e7(), n9({ refreshing: !0 });
try {
- let e = m9();
- await null, await Promise.all([e, n9()]);
+ let e = h9();
+ await null, await Promise.all([e, r9()]);
} finally {
- t9({ refreshing: !1 });
+ n9({ refreshing: !1 });
}
return e || window.scrollTo({
top: 0,
@@ -96128,29 +96741,29 @@ async function tst(e = !1) {
}), !0;
}
}
-function h9() {
+function g9() {
return document.body.classList.contains("censor");
}
-function nst(e) {
+function Dst(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function rst(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), nst(e), e && Ks();
+function Ost(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Dst(e), e && Ks();
}
-function ist(e) {
+function kst(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
-function g9(e) {
+function _9(e) {
return Po(e, { drag: !0 });
}
-function ast() {
- ["#nrow", "#count"].forEach((e) => g9(I(e))), document.querySelectorAll(".tier,.srow").forEach(g9);
+function Ast() {
+ ["#nrow", "#count"].forEach((e) => _9(I(e))), document.querySelectorAll(".tier,.srow").forEach(_9);
}
-function ost() {
+function jst() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function sst() {
+function Mst() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "脱盘模式:这个来源当前没有挂载", Z.OFFLINE_REASON = {
local: "本地硬盘没有挂载,接上后点重新检测即可播放。",
115: "115 网盘没有挂载,检查 CloudDrive 是否在运行。",
@@ -96165,30 +96778,30 @@ function sst() {
$T(), eE();
},
batchSize: () => {
- location.pathname === "/" && a9();
+ location.pathname === "/" && o9();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = iT(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Fc(), location.pathname === "/" && m9();
+ U.sort = Z.appSettings.defaultSort, U.dir = iT(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Fc(), location.pathname === "/" && h9();
},
sortDirection: () => {
- U.dir = iT(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Fc(), location.pathname === "/" && m9();
+ U.dir = iT(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Fc(), location.pathname === "/" && h9();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
Js(e, "previewing", !1), Js(e, "longhover", !1);
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
- seekSeconds: () => f9(),
- groupCollapse: () => lot(),
- feedAutoScroll: () => Kit(),
- feedCompilations: () => Git(),
+ seekSeconds: () => p9(),
+ groupCollapse: () => Pot(),
+ feedAutoScroll: () => _at(),
+ feedCompilations: () => gat(),
miniplayer: () => {
- Z.appSettings.miniplayer || F5()?.closeMiniplayer();
+ Z.appSettings.miniplayer || I5()?.closeMiniplayer();
},
javImage: () => {
- Ji(document, Z.appSettings.javImage), f9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Es), dst();
+ Ji(document, Z.appSettings.javImage), p9(), document.querySelectorAll("img[data-jav-image].cover").forEach(Es), Ist();
},
- searchHistoryLimit: () => YL(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
+ searchHistoryLimit: () => rR(I("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
local: L("hard-drive"),
115: `<img class="source-icon" src="${Ja[115]}" alt="">`,
@@ -96199,12 +96812,12 @@ function sst() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${R(r)}" aria-label="${R(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = no;
}
-function cst() {
- Z.CENSOR_KEY = "peach-censor", nst(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function Nst() {
+ Z.CENSOR_KEY = "peach-censor", Dst(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
//#endregion
//#region src/application/media.js
-var _9 = {
+var v9 = {
total: void 0,
facets: void 0,
stageHost: void 0,
@@ -96216,18 +96829,18 @@ var _9 = {
immerseOpen: void 0,
requestedImmerseId: void 0
};
-function lst() {
+function Pst() {
let e = Number(new URLSearchParams(location.search).get("t"));
return Number.isFinite(e) && e > 0 ? {
time: e,
autoplay: !1
} : null;
}
-function ust() {
- return F5()?.exit() || Promise.resolve();
+function Fst() {
+ return I5()?.exit() || Promise.resolve();
}
-function v9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && D9(), F5()?.dispose({ miniplayer: n }), Pc({
+function y9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
+ Q.queueOpenRequest !== r && O9(), I5()?.dispose({ miniplayer: n }), Pc({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -96235,15 +96848,15 @@ function v9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailOriginAnchor: null,
detailOriginAbove: !1,
detailReturnNeedsRestore: !1
- }), q7(), e && Q.route(mc || "/");
+ }), J7(), e && Q.route(mc || "/");
}
-function dst() {
- F5()?.repaintPoster();
+function Ist() {
+ I5()?.repaintPoster();
}
-function y9(e, t, n, r, i = null, a = {}) {
+function b9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = vc?.kind === e && (e === "playlist" ? vc.playlistId : vc.seedId) === t;
- r && !o && Pc({ detailReturnPath: location.pathname + location.search }), r && jL();
+ r && !o && Pc({ detailReturnPath: location.pathname + location.search }), r && zL();
let s = e === "playlist" ? {
kind: e,
playlistId: t,
@@ -96254,38 +96867,38 @@ function y9(e, t, n, r, i = null, a = {}) {
fresh: !o
};
if (a.autoplay && (s.autoplay = !0), r) {
- D9();
+ O9();
let e = Q.queueOpenRequest = {
- seq: iR.navigation.seq,
+ seq: fR.navigation.seq,
cancelled: !1
};
- Q.requestedQueue = () => b9(n == null ? null : +n, !1, s, i, !0, e), Pc({ queueOpens: Ec + 1 });
- } else return b9(n == null ? null : +n, !1, s, i, r);
+ Q.requestedQueue = () => x9(n == null ? null : +n, !1, s, i, !0, e), Pc({ queueOpens: Ec + 1 });
+ } else return x9(n == null ? null : +n, !1, s, i, r);
}
-function fst(e, t = e, n = !0, r = null) {
- return y9("mix", e, t, n, r);
+function Lst(e, t = e, n = !0, r = null) {
+ return b9("mix", e, t, n, r);
}
-function pst(e, t = e, n = !0, r = null) {
- return y9("editions", e, t, n, r);
+function Rst(e, t = e, n = !0, r = null) {
+ return b9("editions", e, t, n, r);
}
-function mst(e, t = e, n = !0, r = null) {
- return y9("parts", e, t, n, r);
+function zst(e, t = e, n = !0, r = null) {
+ return b9("parts", e, t, n, r);
}
-function hst(e, t = null, n = !0) {
- return y9("playlist", e, t, n);
+function Bst(e, t = null, n = !0) {
+ return b9("playlist", e, t, n);
}
-function gst() {
+function Vst() {
return !!I("#grid").querySelector("[data-id],[data-mix-seed]") || !I("#index").hidden || !I("#stats").hidden;
}
-async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {
+async function x9(e, t = !0, n = null, r = null, i = !1, a = null) {
if (a?.cancelled) return;
- if (a || D9(), t && !n) {
- Pc({ detailReturnPath: location.pathname + location.search }), O9("/item/" + +e, "item", () => b9(e, !1, null, r));
+ if (a || O9(), t && !n) {
+ Pc({ detailReturnPath: location.pathname + location.search }), k9("/item/" + +e, "item", () => x9(e, !1, null, r));
return;
}
Ks(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : hc?.isConnected ? hc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : gc, c = gst(), l = _c || !t && !c, u = oc.type === "item" ? sc : o7.cloneBarsContext(l7());
- t ? Pc({ detailReturnPath: location.pathname + location.search }) : i || Pc({ detailReturnPath: NL() || mc }), t && jL(), F5()?.showing() !== "item" && v9(!1, !0, {
+ let o = r?.isConnected ? r : hc?.isConnected ? hc : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : gc, c = Vst(), l = _c || !t && !c, u = oc.type === "item" ? sc : s7.cloneBarsContext(u7());
+ t ? Pc({ detailReturnPath: location.pathname + location.search }) : i || Pc({ detailReturnPath: VL() || mc }), t && zL(), I5()?.showing() !== "item" && y9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), Pc({
@@ -96296,182 +96909,182 @@ async function b9(e, t = !0, n = null, r = null, i = !1, a = null) {
kind: n.kind,
seedId: n.seedId,
playlistId: n.playlistId
- } }), Pc({ pendingQueueRoute: n && i ? `${_9.QUEUE_ROUTES[n.kind]}/${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/item/" + e, !1, PL("item"));
- let d = await P5(_9.stageHost);
+ } }), Pc({ pendingQueueRoute: n && i ? `${v9.QUEUE_ROUTES[n.kind]}/${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/item/" + e, !1, HL("item"));
+ let d = await F5(v9.stageHost);
if (a?.cancelled) return;
let f = a ? {
- ..._9.itemDetailActions,
+ ...v9.itemDetailActions,
present: (e, t) => {
- a.cancelled || _9.itemDetailActions.present(e, t);
+ a.cancelled || v9.itemDetailActions.present(e, t);
},
redirect: (e) => {
- a.cancelled || _9.itemDetailActions.redirect(e);
+ a.cancelled || v9.itemDetailActions.redirect(e);
}
- } : _9.itemDetailActions;
+ } : v9.itemDetailActions;
await d.open({
kind: "item",
id: e,
queue: n,
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
- helpers: _9.itemDetailHelpers,
+ helpers: v9.itemDetailHelpers,
actions: f,
grid: {
helpers: X.gridHelpers,
actions: X.gridActions
},
- layout: u9(),
+ layout: d9(),
selectMode: uc,
selected: new Set(cc),
seekSeconds: Z.appSettings.seekSeconds,
- resume: t || e == null ? null : lst()
- }), q7();
+ resume: t || e == null ? null : Pst()
+ }), J7();
}
-async function _st() {
- let e = o7.cloneBarsContext(sc), t = mc || "/", n = _c;
- await ust(), v9(!1, !1, { miniplayer: !1 }), Pc({ detailReturnBarsContext: null }), ML(), Pc({ barsContext: e || {
+async function Hst() {
+ let e = s7.cloneBarsContext(sc), t = mc || "/", n = _c;
+ await Fst(), y9(!1, !1, { miniplayer: !1 }), Pc({ detailReturnBarsContext: null }), BL(), Pc({ barsContext: e || {
type: "home",
filters: U
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Pc({ pageOpens: Tc + 1 }) : (n9(), location.pathname === "/playlists" && Pc({ pageOpens: Tc + 1 })));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Pc({ pageOpens: Tc + 1 }) : (r9(), location.pathname === "/playlists" && Pc({ pageOpens: Tc + 1 })));
}
-async function x9(e, t = !0) {
+async function S9(e, t = !0) {
if (t) {
- Pc({ detailReturnPath: location.pathname + location.search }), O9("/jav/movie/" + encodeURIComponent(e), "jav", () => x9(e, !1));
+ Pc({ detailReturnPath: location.pathname + location.search }), k9("/jav/movie/" + encodeURIComponent(e), "jav", () => S9(e, !1));
return;
}
- let n = iR.navigation.seq, r = o7.cloneBarsContext(l7()), i = !gst(), a = NL() || (i ? "/jav?tab=discover" : mc) || "/jav?tab=discover";
- F5()?.showing() !== "jav" && v9(!1, !0, { miniplayer: !1 }), Pc({
+ let n = fR.navigation.seq, r = s7.cloneBarsContext(u7()), i = !Vst(), a = VL() || (i ? "/jav?tab=discover" : mc) || "/jav?tab=discover";
+ I5()?.showing() !== "jav" && y9(!1, !0, { miniplayer: !1 }), Pc({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), Ks();
- let [o, s] = await Promise.all([P5(_9.stageHost), B("/healthz")]);
- iR.navigation.seq === n && (await o.open({
+ let [o, s] = await Promise.all([F5(v9.stageHost), B("/healthz")]);
+ fR.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
readOnly: !!s.ledger_read_only,
actions: {
- close: () => void _st(),
+ close: () => void Hst(),
navigate: (e) => Q.navigatePath(e),
openTag: (e) => {
- $7((t) => {
+ e9((t) => {
t.tag = e;
}), window.scrollTo({
top: 0,
behavior: "smooth"
});
},
- receipt: (e) => X5.toast({ text: e })
+ receipt: (e) => Z5.toast({ text: e })
}
- }), q7());
+ }), J7());
}
-async function S9(e = null, t = !0) {
- t ? (_9.requestedImmerseId = e, Q.route("/immerse")) : (F5()?.closeMiniplayer(), await (await Irt(_9.immerseHost)).open(e));
+async function C9(e = null, t = !0) {
+ t ? (v9.requestedImmerseId = e, Q.route("/immerse")) : (I5()?.closeMiniplayer(), await (await sit(v9.immerseHost)).open(e));
}
-function vst() {
- _9.total = 0, _9.facets = null, _9.stageHost = {
+function Ust() {
+ v9.total = 0, v9.facets = null, v9.stageHost = {
player: {
settings: () => Z.appSettings,
saveSettings: () => Z.saveSettings(),
- toast: (e, t) => X5.toast({ text: e }, t),
- loadSourceStatus: () => p9(),
+ toast: (e, t) => Z5.toast({ text: e }, t),
+ loadSourceStatus: () => m9(),
offlineReason: (e) => Z.offlineReason(e)
},
sourceOffline: (e) => Z.sourceOffline(e),
expand: (e, t, n) => {
- e === "follow" ? L9(t, !0, n) : b9(t, !0);
+ e === "follow" ? R9(t, !0, n) : x9(t, !0);
},
- openItem: (e) => void b9(e)
- }, _9.stageOpen = () => !!F5()?.isOpen();
+ openItem: (e) => void x9(e)
+ }, v9.stageOpen = () => !!I5()?.isOpen();
}
-function yst() {
- _9.QUEUE_ROUTES = {
+function Wst() {
+ v9.QUEUE_ROUTES = {
mix: "/mix",
parts: "/parts",
editions: "/editions",
playlist: "/playlists"
- }, _9.itemDetailHelpers = {
+ }, v9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => yO(e),
- displayName: (e) => vO(e),
+ titleHtml: (e) => bO(e),
+ displayName: (e) => yO(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Zs(e),
isDurationTag: (e) => Qt.has(e),
- tagCandidates: () => _9.facets && _9.facets.tags || [],
+ tagCandidates: () => v9.facets && v9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => eU("正在读取推荐", {
+ relatedSkeletonHtml: () => dU("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => wot(e),
- wireDrag: (e) => g9(e),
+ mixRelated: (e) => Yot(e),
+ wireDrag: (e) => _9(e),
wireDragReorder: (e, t) => is(e, t)
- }, _9.itemDetailActions = {
- close: () => _st(),
+ }, v9.itemDetailActions = {
+ close: () => Hst(),
present: (e) => {
Pc({ presentedItem: e });
let t = sc;
Pc({ barsContext: {
type: "item",
id: e.id,
- filters: t?.type === "entity" ? { ...t.filters } : o7.emptyEntityFilters()
- } }), yc && (Q.queueOpenRequest = null, Q.route(`${yc}/${e.id}`, !1, PL("item")), Pc({ pendingQueueRoute: null })), n9();
+ filters: t?.type === "entity" ? { ...t.filters } : s7.emptyEntityFilters()
+ } }), yc && (Q.queueOpenRequest = null, Q.route(`${yc}/${e.id}`, !1, HL("item")), Pc({ pendingQueueRoute: null })), r9();
},
redirect: (e) => {
let t = !!yc;
- e.kind === "follow" && !t && ICe("follow"), e.kind === "follow" ? (Pc({ followDetailReturnPath: mc || "/" }), L9(e.id, !1, null, !0)) : e.kind === "item" ? b9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? A9("/playlists") : hat() : v9(!1);
+ e.kind === "follow" && !t && VCe("follow"), e.kind === "follow" ? (Pc({ followDetailReturnPath: mc || "/" }), R9(e.id, !1, null, !0)) : e.kind === "item" ? x9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? j9("/playlists") : Bat() : y9(!1);
},
- openQueueItem: (e, t, n = !0) => void y9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
+ openQueueItem: (e, t, n = !0) => void b9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
let e = bc;
if (!e) return;
let t = vc;
- t ? y9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : b9(e.id, !1);
+ t ? b9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : x9(e.id, !1);
},
- checkSource: async (e) => (await p9())[e] !== !1,
+ checkSource: async (e) => (await m9())[e] !== !1,
openSavedFollow: () => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", A9(j9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", j9(M9());
},
- openEntity: (e, t) => m7(e, t),
- openUnowned: () => X7({ owner: "none" }, !0),
- openRegion: (e) => X7({ region: e || "none" }, !0),
+ openEntity: (e, t) => h7(e, t),
+ openUnowned: () => Z7({ owner: "none" }, !0),
+ openRegion: (e) => Z7({ region: e || "none" }, !0),
openTag: (e) => {
- $7((t) => {
+ e9((t) => {
t.tag = e;
}), window.scrollTo({
top: 0,
behavior: "smooth"
});
},
- addToPlaylist: (e) => mat(e),
- saveMix: (e) => pat(e),
- editPlaylist: () => A9("/playlists"),
- openPlaylists: () => A9("/playlists"),
- reveal: (e) => eat(e),
- sync: (e) => tat(e),
+ addToPlaylist: (e) => zat(e),
+ saveMix: (e) => Rat(e),
+ editPlaylist: () => j9("/playlists"),
+ openPlaylists: () => j9("/playlists"),
+ reveal: (e) => Tat(e),
+ sync: (e) => Eat(e),
trashChanged: async (e, t) => {
- U.state === "ads" && (t || e === "trash") && (t || (ML(), v9(!0, !1, { miniplayer: !1 })), await a9());
+ U.state === "ads" && (t || e === "trash") && (t || (BL(), y9(!0, !1, { miniplayer: !1 })), await o9());
},
- toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
- failure: (e, t) => X5.actionFailure(e, t)
- }, _9.immerseHost = {
+ toast: (e, { undo: t } = {}) => Z5.actionReceipt(e, { undo: t }),
+ failure: (e, t) => Z5.actionFailure(e, t)
+ }, v9.immerseHost = {
filters: () => U,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => vO(e),
+ displayName: (e) => yO(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
- closed: () => X7(),
- openItem: (e) => void b9(e),
- openEntity: (e, t) => m7(e, t),
- openUnowned: () => X7({ owner: "none" }, !0),
- toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
- warn: (e) => X5.toast({ text: e }, { sound: "warning" }),
- failure: (e, t) => X5.actionFailure(e, t)
- }, _9.immerseOpen = () => !!R5()?.isOpen(), Y5.handler(I("#immerseBtn"), "onclick", () => S9());
+ closed: () => Z7(),
+ openItem: (e) => void x9(e),
+ openEntity: (e, t) => h7(e, t),
+ openUnowned: () => Z7({ owner: "none" }, !0),
+ toast: (e, { undo: t } = {}) => Z5.actionReceipt(e, { undo: t }),
+ warn: (e) => Z5.toast({ text: e }, { sound: "warning" }),
+ failure: (e, t) => Z5.actionFailure(e, t)
+ }, v9.immerseOpen = () => !!z5()?.isOpen(), X5.handler(I("#immerseBtn"), "onclick", () => C9());
}
//#endregion
//#region src/application/tutorial.js
-var C9 = {
+var w9 = {
postSetupTutorialDone: void 0,
postSetupTutorialNeedsReopen: void 0,
postSetupTutorialTasks: void 0,
@@ -96480,29 +97093,29 @@ var C9 = {
readPostSetupTutorialDone: void 0,
openTutorialTarget: void 0
};
-async function bst() {
- Cs(), await C9.writePostSetupTutorialDone(!1), await w9();
+async function Gst() {
+ Cs(), await w9.writePostSetupTutorialDone(!1), await T9();
}
-async function w9() {
+async function T9() {
let e = I("#postSetupTutorial");
if (!e) return;
let t = () => {
e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");
};
- if (C9.postSetupTutorialNeedsReopen && (C9.postSetupTutorialNeedsReopen = !1, await C9.writePostSetupTutorialDone(!1).catch(() => {})), ms() !== "pending" || await C9.readPostSetupTutorialDone()) {
+ if (w9.postSetupTutorialNeedsReopen && (w9.postSetupTutorialNeedsReopen = !1, await w9.writePostSetupTutorialDone(!1).catch(() => {})), ms() !== "pending" || await w9.readPostSetupTutorialDone()) {
t();
return;
}
let n = xs();
e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${L("compass")}<p>正在检查安装进度…</p></article>`);
try {
- let r = await C9.postSetupTutorialTasks();
+ let r = await w9.postSetupTutorialTasks();
if (!Ss(n)) return;
let i = new Set(r.map((e) => e.key)), a = new Set([...vs()].filter((e) => i.has(e)));
ys(a);
let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);
if (!s.length) {
- hs("complete"), t(), await C9.writePostSetupTutorialDone(!0).catch(() => {});
+ hs("complete"), t(), await w9.writePostSetupTutorialDone(!0).catch(() => {});
return;
}
let c = iee(o);
@@ -96510,50 +97123,50 @@ async function w9() {
e.removeAttribute("aria-busy");
return;
}
- e.innerHTML = C9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");
+ e.innerHTML = w9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");
let l = s[0], u = e.querySelector("[data-tutorial-collapse]");
- Y5.handler(u, "onclick", () => {
+ X5.handler(u, "onclick", () => {
let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";
t.dataset.collapsed = String(n), _s(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), u.innerHTML = L(n ? "chevron-up" : "chevron-down");
- }), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => Y5.handler(e, "onclick", () => {
+ }), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => X5.handler(e, "onclick", () => {
let t = vs(), n = e.dataset.tutorialSkip;
- t.add(n), ys(t), X5.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
+ t.add(n), ys(t), Z5.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
let e = vs();
- e.delete(n), ys(e), hs("pending"), await w9();
- } }), w9();
+ e.delete(n), ys(e), hs("pending"), await T9();
+ } }), T9();
}));
let d = new Map(o.map((e) => [e.key, e]));
- e.querySelectorAll("[data-tutorial-task]").forEach((e) => Y5.handler(e, "onclick", (t) => {
+ e.querySelectorAll("[data-tutorial-task]").forEach((e) => X5.handler(e, "onclick", (t) => {
let n = d.get(e.dataset.tutorialTask);
- !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), C9.openTutorialTarget(n));
- })), Y5.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => C9.openTutorialTarget(l));
+ !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), w9.openTutorialTarget(n));
+ })), X5.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => w9.openTutorialTarget(l));
} catch {
if (!Ss(n)) return;
e.innerHTML = `<article class="post-setup-notification post-setup-error">${L("alert")}
<div><h2>暂时无法检查安装进度</h2><p>切换页面或重新打开后会再检查一次。</p>
<div class="post-setup-error-actions"><button class="geist-button" type="button" data-tutorial-retry>重试</button>
- <button class="geist-button" type="button" data-tutorial-dismiss>关闭</button></div></div></article>`, e.removeAttribute("aria-busy"), Y5.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {
- delete e.dataset.tutorialSignature, e.innerHTML = "", w9();
- }), Y5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);
+ <button class="geist-button" type="button" data-tutorial-dismiss>关闭</button></div></div></article>`, e.removeAttribute("aria-busy"), X5.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {
+ delete e.dataset.tutorialSignature, e.innerHTML = "", T9();
+ }), X5.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);
}
}
-function xst() {
- if (Pc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), C9.postSetupTutorialDone = null, C9.postSetupTutorialNeedsReopen = !1, wc) {
- hs("pending"), C9.postSetupTutorialDone = !1, C9.postSetupTutorialNeedsReopen = !0;
+function Kst() {
+ if (Pc({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), w9.postSetupTutorialDone = null, w9.postSetupTutorialNeedsReopen = !1, wc) {
+ hs("pending"), w9.postSetupTutorialDone = !1, w9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
- e.searchParams.delete("onboarding"), aR(e, {
+ e.searchParams.delete("onboarding"), pR(e, {
replace: !0,
- state: iR.navigation.location.state
+ state: fR.navigation.location.state
});
}
{
let e = new URL(location.href), t = e.searchParams.get("agentation");
- t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), aR(e, {
+ t === "on" && localStorage.setItem("peach.agentation", "on"), t === "off" && localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), pR(e, {
replace: !0,
- state: iR.navigation.location.state
+ state: fR.navigation.location.state
})), localStorage.getItem("peach.agentation") === "on" && import("/dev/agentation.js").catch(() => {});
}
- C9.postSetupTutorialTasks = async () => {
+ w9.postSetupTutorialTasks = async () => {
let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await vt("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);
return [
{
@@ -96606,7 +97219,7 @@ function xst() {
icon: "square-check-big"
}
];
- }, C9.postSetupTutorialHtml = (e, t, n) => {
+ }, w9.postSetupTutorialHtml = (e, t, n) => {
let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = gs(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}">
<a href="${e.href}" data-tutorial-task="${e.key}">
<span class="post-setup-check" aria-hidden="true">${e.done ? L("check") : L(e.icon)}</span>
@@ -96625,19 +97238,19 @@ function xst() {
<ol class="post-setup-task-list" id="postSetupTaskList">${s}</ol>
<footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer>
</article>`;
- }, C9.writePostSetupTutorialDone = async (e) => {
- C9.postSetupTutorialDone = e, await vt("/api/settings", {
+ }, w9.writePostSetupTutorialDone = async (e) => {
+ w9.postSetupTutorialDone = e, await vt("/api/settings", {
method: "POST",
body: JSON.stringify({ postSetupTutorialDone: e })
});
- }, C9.readPostSetupTutorialDone = async () => {
- if (C9.postSetupTutorialDone === null) try {
- C9.postSetupTutorialDone = (await vt("/api/settings")).postSetupTutorialDone === !0;
+ }, w9.readPostSetupTutorialDone = async () => {
+ if (w9.postSetupTutorialDone === null) try {
+ w9.postSetupTutorialDone = (await vt("/api/settings")).postSetupTutorialDone === !0;
} catch {
- C9.postSetupTutorialDone = !1;
+ w9.postSetupTutorialDone = !1;
}
- return C9.postSetupTutorialDone;
- }, C9.openTutorialTarget = (e) => {
+ return w9.postSetupTutorialDone;
+ }, w9.openTutorialTarget = (e) => {
e.setupEntry && Pc({ cameFromSetup: !0 }), Q.navigatePath(e.href);
};
}
@@ -96662,48 +97275,48 @@ var Q = {
queueOpenRequest: void 0,
initialOverlayOpened: void 0
};
-function Sst() {
- let e = U5();
- e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(G7(e.dataset.nav))));
+function qst() {
+ let e = W5();
+ e ? e.navChanged() : I("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(K7(e.dataset.nav))));
}
-function T9(e = {}) {
+function E9(e = {}) {
let t = Q.surfacePath();
- t !== k7.sidebarSurface && (k7.sidebarSurface = t, k7.sidebarProps = {
- ...k7.sidebarProps,
+ t !== A7.sidebarSurface && (A7.sidebarSurface = t, A7.sidebarProps = {
+ ...A7.sidebarProps,
content: null,
latest: null
- }), k7.sidebarProps = {
- ...k7.sidebarProps,
+ }), A7.sidebarProps = {
+ ...A7.sidebarProps,
...e
- }, U5()?.render(k7.sidebarProps);
-}
-function E9() {
- T9(), Sst(), K7();
+ }, W5()?.render(A7.sidebarProps);
}
function D9() {
+ E9(), qst(), q7();
+}
+function O9() {
Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, Pc({ pendingQueueRoute: null });
}
-function O9(e, t, n) {
- D9(), jL(), Q.requestedOverlay = {
+function k9(e, t, n) {
+ O9(), zL(), Q.requestedOverlay = {
path: e,
open: n
- }, Q.route(e, !1, PL(t));
+ }, Q.route(e, !1, HL(t));
}
-function k9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, T7.syncPageTitle(location.href), T9(), ML(), w9();
+function A9() {
+ Q.surfaceEpoch++, X.barsRequestSeq++, E7.syncPageTitle(location.href), E9(), BL(), T9();
}
-function A9(e) {
+function j9(e) {
Q.route(e), Pc({ pageOpens: Tc + 1 });
}
-function Cst() {
+function Jst() {
Q.routeMeta = (e) => {
- let t = IL(e);
+ let t = WL(e);
return t ? { route: t } : null;
- }, Q.routePathOf = (e, t) => Object.keys(FL).find((n) => FL[n][e] === t), Q.catalogPage = (e) => wt(e) || e === "/trash", Q.managedPagePath = (e) => {
- let t = IL(e);
- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !DL(e) && e !== "/immerse";
+ }, Q.routePathOf = (e, t) => Object.keys(UL).find((n) => UL[n][e] === t), Q.catalogPage = (e) => wt(e) || e === "/trash", Q.managedPagePath = (e) => {
+ let t = WL(e);
+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !FL(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? S9(ost()) : e === "/follow" ? I9() : e === "/playlists" || Q.catalogPage(e) ? A9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/follow-manage" ? C7() : e) : (y7(!1, !0), A9(Lat({
+ e === "/immerse" ? C9(jst()) : e === "/follow" ? L9() : e === "/playlists" || Q.catalogPage(e) ? j9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/follow-manage" ? w7() : e) : (b7(!1, !0), j9(cot({
kind: e.slice(1),
q: "",
scope: "local",
@@ -96712,35 +97325,35 @@ function Cst() {
})));
};
}
-function wst() {
+function Yst() {
Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Uit(e) || XL(I("#libraryProcessingNotice")), i7(e) || a7(), XL(I("#stats"), I("#index")), !wt(e) && e !== "/trash" && o9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
- Q.surfaceEpoch++, X.barsRequestSeq++, aR(e, {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (mat(e) || iR(I("#libraryProcessingNotice")), a7(e) || o7(), iR(I("#stats"), I("#index")), !wt(e) && e !== "/trash" && s9(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ Q.surfaceEpoch++, X.barsRequestSeq++, pR(e, {
replace: t,
state: n
- }), T7.syncPageTitle(e), queueMicrotask(() => {
- K7(), R7(), T9(), w9();
+ }), E7.syncPageTitle(e), queueMicrotask(() => {
+ q7(), z7(), E9(), T9();
});
}, Q.navigatePath = (e, t = !1, n) => {
- t ? iR.replace(e, n) : iR.push(e, n), queueMicrotask(() => {
- K7(), R7();
+ t ? fR.replace(e, n) : fR.push(e, n), queueMicrotask(() => {
+ q7(), z7();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
//#endregion
//#region src/jobs.ts
-function Tst(e, t, n) {
+function Xst(e, t, n) {
if (!Number.isFinite(n) || n <= 0) return "";
let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;
return `<div class="ui-board-job-progress" role="progressbar" aria-label="${R(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${R(e)}<small>${Math.round(i)}%</small></span></div>`;
}
-function Est(e, t = 0, n = 0) {
- return n > 0 ? Tst(e, t, n) : eo(e);
+function Zst(e, t = 0, n = 0) {
+ return n > 0 ? Xst(e, t, n) : eo(e);
}
-async function Dst(e) {
+async function Qst(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -96755,14 +97368,14 @@ async function Dst(e) {
await t(2e3);
}
}
-function Ost(e) {
+function $st(e) {
let t = e.note || ((e) => Qa(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || eo, r = e.progress || ((e, t, n) => Est(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
+ })), n = e.loading || eo, r = e.progress || ((e, t, n) => Zst(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);
let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;
- Dst({
+ Qst({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -96812,25 +97425,25 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function kst(e) {
+function ect(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- X5.toast({ text: Mr(e) }, {
+ Z5.toast({ text: Mr(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
action: {
label: "查看",
- run: () => I9(!0)
+ run: () => L9(!0)
}
});
}
-function j9() {
- return yi(M9());
+function M9() {
+ return yi(N9());
}
-function Ast() {
+function tct() {
return $.controller.read();
}
-function M9() {
+function N9() {
return {
status: $.followFilter,
media: $.followMediaView,
@@ -96845,33 +97458,33 @@ function M9() {
seed: $.followSeed
};
}
-function N9(e) {
+function P9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
-function jst() {
- let e = WL(I("#stats"));
+function nct() {
+ let e = QL(I("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
-function P9() {
- return !!jst();
+function F9() {
+ return !!nct();
}
-function F9(e) {
- P9() && YL(I("#stats"), e);
+function I9(e) {
+ F9() && rR(I("#stats"), e);
}
-function Mst(e, t = {}) {
+function rct(e, t = {}) {
return $.controller.route(e, t);
}
-function I9(e = !1) {
+function L9(e = !1) {
$.controller.enter(e);
}
-async function L9(e, t = !0, n = null, r = !1) {
+async function R9(e, t = !0, n = null, r = !1) {
if (t) {
- !location.pathname.startsWith("/follow/item/") && !r && Pc({ followDetailReturnPath: location.pathname + location.search }), O9(`/follow/item/${+e}`, "follow", () => L9(e, !1, n, r));
+ !location.pathname.startsWith("/follow/item/") && !r && Pc({ followDetailReturnPath: location.pathname + location.search }), k9(`/follow/item/${+e}`, "follow", () => R9(e, !1, n, r));
return;
}
Ks(), e = +e;
let i = !location.pathname.startsWith("/follow/item/");
- t && i && !r && Pc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Pc({ followDetailReturnPath: NL() || "/follow" }), t && jL(), F5()?.showing() !== "follow" && v9(!1, !1, { miniplayer: !1 }), t && Q.route(`/follow/item/${e}`, !1, PL("follow")), await (await P5(_9.stageHost)).open({
+ t && i && !r && Pc({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Pc({ followDetailReturnPath: VL() || "/follow" }), t && zL(), I5()?.showing() !== "follow" && y9(!1, !1, { miniplayer: !1 }), t && Q.route(`/follow/item/${e}`, !1, HL("follow")), await (await F5(v9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -96879,67 +97492,67 @@ async function L9(e, t = !0, n = null, r = !1) {
relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,
helpers: $.followFeedHelpers,
actions: $.followDetailActions,
- resume: t ? null : lst()
- }), q7();
+ resume: t ? null : Pst()
+ }), J7();
}
-async function Nst() {
- await ust(), v9(!1, !1, { miniplayer: !1 }), ML(), Q.route(xc || "/follow"), !(o7.entityPageView && o7.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && P9() ? (Ast(), F9({ view: M9() })) : Pc({ pageOpens: Tc + 1 }));
+async function ict() {
+ await Fst(), y9(!1, !1, { miniplayer: !1 }), BL(), Q.route(xc || "/follow"), !(s7.entityPageView && s7.entityPageCurrent() && !I("#index").hidden) && (location.pathname === "/follow" && F9() ? (tct(), I9({ view: N9() })) : Pc({ pageOpens: Tc + 1 }));
}
-function Pst(e) {
+function act(e) {
let t = document.createElement("div");
return t.className = "peach-react", po(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function Fst() {
+function oct() {
$.followFeedHelpers = $s({
wireDrag: (e) => {
- e && g9(e);
+ e && _9(e);
},
wireScroller: (e) => {
e && Po(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: Ost
+ jobProgress: $st
}), $.followFeedActions = {
- loaded: (e) => Yat(e),
- openDetail: (e) => L9(e),
+ loaded: (e) => bot(e),
+ openDetail: (e) => R9(e),
openAuthor: (e) => Q.navigatePath(`/creators/${encodeURIComponent(e)}`),
- openManage: () => Q.navigatePath(C7()),
- toggleSelection: (e, t) => wat(e, t),
+ openManage: () => Q.navigatePath(w7()),
+ toggleSelection: (e, t) => Yat(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), f7();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), p7();
},
setPhotoLayout: (e) => {
- GT(e), f7();
+ GT(e), p7();
},
- canFlip: () => !uc && !h9() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
- failure: (e, t) => X5.actionFailure(e, t),
- checkReport: (e) => kst(e)
+ canFlip: () => !uc && !g9() && !window.__scrolling && !X.reduceMotion(),
+ toast: (e, { undo: t } = {}) => Z5.actionReceipt(e, { undo: t }),
+ failure: (e, t) => Z5.actionFailure(e, t),
+ checkReport: (e) => ect(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- F5()?.showing() !== "follow" && (Ks(), v9(!1), j7(), !P9() && (Q.claimSurface(Q.surfacePath()), A7({ manage: !1 }), I("#stats").querySelector(".peach-react") && XL(I("#stats")), I("#stats").replaceChildren()));
+ I5()?.showing() !== "follow" && (Ks(), y9(!1), M7(), !F9() && (Q.claimSurface(Q.surfacePath()), j7({ manage: !1 }), I("#stats").querySelector(".peach-react") && iR(I("#stats")), I("#stats").replaceChildren()));
}
}, $.followDetailActions = ac({
- view: M9,
- adoptView: N9,
+ view: N9,
+ adoptView: P9,
rememberReturn: (e) => Pc({ followDetailReturnPath: e }),
- close: () => void Nst(),
- open: (e, t, n) => void L9(e, !0, t, n),
- drawer: Yat,
+ close: () => void ict(),
+ open: (e, t, n) => void R9(e, !0, t, n),
+ drawer: bot,
openAuthor: (e) => Q.navigatePath(`/creators/${encodeURIComponent(e)}`)
}, {
- toast: (e, { undo: t } = {}) => X5.actionReceipt(e, { undo: t }),
- failure: X5.actionFailure
+ toast: (e, { undo: t } = {}) => Z5.actionReceipt(e, { undo: t }),
+ failure: Z5.actionFailure
});
}
-function Ist() {
+function sct() {
$.controller = Si({
location: () => location,
- view: M9,
- adoptView: N9,
+ view: N9,
+ adoptView: P9,
session: () => ({
discoverySeed: Oc,
revision: kc,
@@ -96957,16 +97570,16 @@ function Ist() {
photoLayout: BT(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
- live: P9,
- push: F9,
+ live: F9,
+ push: I9,
route: Q.route,
- openPage: A9,
- rollSeed: () => Number(X5.rollSeed()),
+ openPage: j9,
+ rollSeed: () => Number(Z5.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- Ks(), j7(), A7({ manage: !1 });
+ Ks(), M7(), j7({ manage: !1 });
},
- syncPhotoWalls: f7,
+ syncPhotoWalls: p7,
scrollTop: () => window.scrollTo({
top: 0,
behavior: "smooth"
@@ -96975,20 +97588,20 @@ function Ist() {
}
//#endregion
//#region src/application/lifecycle.js
-var R9 = { overlayScan: void 0 };
-function Lst() {
- exe(), Zo(document), va(document.documentElement, { variant: "page" }), va(I("#drawerScroll")), R9.overlayScan = 0, Y5.mutation(() => {
- R9.overlayScan ||= Y5.delay(() => {
- R9.overlayScan = 0, Jo();
+var z9 = { overlayScan: void 0 };
+function cct() {
+ oxe(), Zo(document), va(document.documentElement, { variant: "page" }), va(I("#drawerScroll")), z9.overlayScan = 0, X5.mutation(() => {
+ z9.overlayScan ||= X5.delay(() => {
+ z9.overlayScan = 0, Jo();
});
}).observe(document.body, {
childList: !0,
subtree: !0
- }), Jo(), Pi(document.body), X.homeHasFeed = null, X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, k7.sidebarProps = {
+ }), Jo(), Pi(document.body), X.homeHasFeed = null, X.barsRequestSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, A7.sidebarProps = {
content: null,
filters: {},
latest: null
- }, k7.sidebarSurface = "", k7.sidebarCatalog = null, k7.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
+ }, A7.sidebarSurface = "", A7.sidebarCatalog = null, A7.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
@@ -96996,7 +97609,7 @@ function Lst() {
}
//#endregion
//#region src/application/search-morph.js
-function Rst(e, t, n, r, i, a, o) {
+function lct(e, t, n, r, i, a, o) {
let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];
return s.map((a, c) => {
let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);
@@ -97012,60 +97625,60 @@ function Rst(e, t, n, r, i, a, o) {
}
//#endregion
//#region src/application/search.js
-var z9 = {
+var B9 = {
searchControl: void 0,
searchActions: void 0,
searchHelpers: void 0,
searchMorph: void 0,
searchMorphViewport: void 0
};
-function B9() {
- z9.searchControl?.close();
+function V9() {
+ B9.searchControl?.close();
}
-function zst(e) {
+function uct(e) {
let t = e ? Gi({
...e,
is_jav: !!e.code
}, Z.appSettings.javImage) : "";
return t === "cover" ? ca(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";
}
-function V9() {
- z9.searchMorph?.cancel(), z9.searchMorph = null, I(".search").classList.remove("search-morphing");
+function H9() {
+ B9.searchMorph?.cancel(), B9.searchMorph = null, I(".search").classList.remove("search-morphing");
}
-function H9(e) {
+function U9(e) {
let t = I(".search"), n = I("#searchBtn");
if (t.classList.contains("open") === e) return;
- let r = !!z9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
- V9(), t.classList.remove("open");
+ let r = !!B9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);
+ H9(), t.classList.remove("open");
let o = n.getBoundingClientRect();
if (t.classList.toggle("open", e), I("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;
let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Wo();
t.classList.add("search-morphing");
- let h = t.animate(Rst(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(lct(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
});
- z9.searchMorph = h, Y5.handler(h, "onfinish", () => {
- z9.searchMorph === h && V9();
+ B9.searchMorph = h, X5.handler(h, "onfinish", () => {
+ B9.searchMorph === h && H9();
});
}
-function Bst() {
- return _9.immerseOpen() ? R5().activeVideo() : F5()?.activeVideo() || null;
+function dct() {
+ return v9.immerseOpen() ? z5().activeVideo() : I5()?.activeVideo() || null;
}
-function Vst(e) {
+function fct(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function Hst() {
- z9.searchControl = null, z9.searchActions = {
+function pct() {
+ B9.searchControl = null, B9.searchActions = {
search: (e) => {
- X.rememberSearchValue(), v9(!1), U.q = e, Fc(), Q.route(U.jav === "1" ? Y7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
+ X.rememberSearchValue(), y9(!1), U.q = e, Fc(), Q.route(U.jav === "1" ? X7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
},
- openItem: (e) => b9(e),
- openEntity: (e, t) => m7(e, t)
- }, z9.searchHelpers = {
- pool: () => vot(U, vt),
- coverHtml: (e) => `<span class="pic">${zst(e)}</span>`,
+ openItem: (e) => x9(e),
+ openEntity: (e, t) => h7(e, t)
+ }, B9.searchHelpers = {
+ pool: () => Uot(U, vt),
+ coverHtml: (e) => `<span class="pic">${uct(e)}</span>`,
present: (e) => Ba(e),
dismiss: (e) => Va(e),
wireScroller: (e) => Po(e),
@@ -97080,68 +97693,68 @@ function Hst() {
text: e.value,
scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft
})
- }, JL("search", {
+ }, nR("search", {
input: I("#q"),
historyLimit: Z.appSettings.searchHistoryLimit,
- actions: z9.searchActions,
- helpers: z9.searchHelpers,
+ actions: B9.searchActions,
+ helpers: B9.searchHelpers,
expose: (e) => {
- z9.searchControl = e;
+ B9.searchControl = e;
}
}, {
container: I("#searchMenu"),
isCurrent: () => !0
- }), Y5.listen(I("#q"), "beforeinput", (e) => {
+ }), X5.listen(I("#q"), "beforeinput", (e) => {
e.isComposing || X.rememberSearchValue(e.currentTarget);
- }), Y5.listen(I("#q"), "scroll", (e) => {
+ }), X5.listen(I("#q"), "scroll", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
- }), Y5.listen(I("#q"), "pointerdown", (e) => {
+ }), X5.listen(I("#q"), "pointerdown", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function Ust() {
- z9.searchMorph = null, z9.searchMorphViewport = innerWidth, Y5.listen.bind(Y5, window)("resize", () => {
- innerWidth !== z9.searchMorphViewport && (z9.searchMorphViewport = innerWidth, V9());
- }, { passive: !0 }), Y5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", V9), Y5.handler(I("#searchBtn"), "onclick", () => {
- H9(!0), I("#q").focus({ preventScroll: !0 });
- }), Y5.handler(I("#searchBack"), "onclick", () => {
- H9(!1), B9(), I("#q").blur(), I("#searchBtn").focus({ preventScroll: !0 });
- }), Y5.listen(I("#q"), "blur", () => Y5.delay(() => {
- document.activeElement !== I("#q") && (!I("#q").value && !I("#searchMenu").matches(":hover") && H9(!1), B9());
- }, 140)), Y5.listen(document, "pointerdown", (e) => {
- e.target.closest(".search") || B9();
- }, !0), Y5.handler(I("#brandHome"), "onclick", (e) => {
- e.preventDefault(), X7(null, !0);
- }), Y5.listen(document, "keydown", (e) => {
+function mct() {
+ B9.searchMorph = null, B9.searchMorphViewport = innerWidth, X5.listen.bind(X5, window)("resize", () => {
+ innerWidth !== B9.searchMorphViewport && (B9.searchMorphViewport = innerWidth, H9());
+ }, { passive: !0 }), X5.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", H9), X5.handler(I("#searchBtn"), "onclick", () => {
+ U9(!0), I("#q").focus({ preventScroll: !0 });
+ }), X5.handler(I("#searchBack"), "onclick", () => {
+ U9(!1), V9(), I("#q").blur(), I("#searchBtn").focus({ preventScroll: !0 });
+ }), X5.listen(I("#q"), "blur", () => X5.delay(() => {
+ document.activeElement !== I("#q") && (!I("#q").value && !I("#searchMenu").matches(":hover") && U9(!1), V9());
+ }, 140)), X5.listen(document, "pointerdown", (e) => {
+ e.target.closest(".search") || V9();
+ }, !0), X5.handler(I("#brandHome"), "onclick", (e) => {
+ e.preventDefault(), Z7(null, !0);
+ }), X5.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = Rrt();
+ let t = lit();
if (t?.isOpen()) {
t.close();
return;
}
if (!I("#searchMenu").hidden) {
- B9();
+ V9();
return;
}
- if (_9.immerseOpen()) {
- R5().close();
+ if (v9.immerseOpen()) {
+ z5().close();
return;
}
- if (_9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), F5().requestClose());
+ if (v9.stageOpen()) {
+ e.defaultPrevented || (e.preventDefault(), I5().requestClose());
return;
}
if (I("#drawer").classList.contains("open")) {
- P7(!1);
+ F7(!1);
return;
}
if (uc || cc.size || lc.size) {
- y7(!1, !0);
+ b7(!1, !0);
return;
}
return;
}
- if (Vst(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (fct(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
let t = document.querySelector(`#stage[open] [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);
if (t) {
@@ -97149,10 +97762,10 @@ function Ust() {
return;
}
}
- let t = Bst();
+ let t = dct();
if (t) {
if (e.key === "t" || e.key === "T") {
- e.preventDefault(), F5()?.toggleTheater();
+ e.preventDefault(), I5()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
@@ -97172,7 +97785,7 @@ function Ust() {
return;
}
if (e.key === "i" || e.key === "I") {
- e.preventDefault(), F5()?.toggleMiniplayer();
+ e.preventDefault(), I5()?.toggleMiniplayer();
return;
}
}
@@ -97180,62 +97793,62 @@ function Ust() {
}
//#endregion
//#region src/application/composition.js
-var U9 = {
+var W9 = {
shellActions: void 0,
routing: void 0
};
-function Wst() {
- let e = Y5;
- T7.entityShapesReady = r7(), Wat(), tot(), U9.shellActions = {
- openItem: (e) => void b9(e),
- openEntity: (e, t) => void m7(e, t),
+function hct() {
+ let e = X5;
+ E7.entityShapesReady = i7(), hot(), Eot(), W9.shellActions = {
+ openItem: (e) => void x9(e),
+ openEntity: (e, t) => void h7(e, t),
openTag: (e) => {
- Jat(), r9(e);
+ yot(), i9(e);
},
- openTasteSignal: dat,
+ openTasteSignal: Iat,
navigate: (e) => {
let t = /^\/jav\/movie\/([A-Za-z0-9_-]{2,64})$/.exec(e);
- t ? x9(t[1]) : Q.navigatePath(e);
+ t ? S9(t[1]) : Q.navigatePath(e);
},
- openManage: z7,
+ openManage: B7,
managePath: (e) => Q.routePathOf("section", e) || "",
- openFollow: () => I9(),
- receipt: (e, t) => X5.actionReceipt(e, t),
- toast: (e, t) => X5.toast(e, t),
- failure: X5.actionFailure,
- revealSource: eat,
- reopenTutorial: bst,
+ openFollow: () => L9(),
+ receipt: (e, t) => Z5.actionReceipt(e, t),
+ toast: (e, t) => Z5.toast(e, t),
+ failure: Z5.actionFailure,
+ revealSource: Tat,
+ reopenTutorial: Gst,
requestConfigurationSection: (e) => {
Pc({ configurationRequestedSection: e });
},
- routeReview: gat,
- routeFollowManage: Fat,
+ routeReview: Vat,
+ routeFollowManage: oot,
saveFollowPreference: (e) => {
e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();
},
srcBadge: (e, t) => Z.srcBadge(e, t),
- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(Lat(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(cot(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
- exitSelectMode: () => y7(!1, !1),
- personAvatar: (e, t, n) => S7.personAvatar(e, t, n),
- authorAvatar: (e) => Iat(e),
- showIndexTags: Rat,
- openFollowAuthor: zat,
- openFollowTag: Bat,
- openPlaylist: (e, t) => void hst(e, t, !0),
- canFlip: () => !uc && !h9() && !window.__scrolling && !X.reduceMotion(),
+ exitSelectMode: () => b7(!1, !1),
+ personAvatar: (e, t, n) => C7.personAvatar(e, t, n),
+ authorAvatar: (e) => sot(e),
+ showIndexTags: lot,
+ openFollowAuthor: uot,
+ openFollowTag: dot,
+ openPlaylist: (e, t) => void Bst(e, t, !0),
+ canFlip: () => !uc && !g9() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (Ks(), Pc({ barsContext: {
type: "home",
filters: U
- } }), M7(), document.body.classList.add("entity-open"), e9(), w7()) : e === "index" ? (Ks(), document.body.classList.remove("entity-open"), Q.claimSurface(t), M7(), document.body.classList.add("index-open"), e9(), w7()) : (Ks(), Q.claimSurface(t), e === "catalog" ? M7() : (j7(), A7({ manage: e === "management" })));
+ } }), N7(), document.body.classList.add("entity-open"), t9(), T7()) : e === "index" ? (Ks(), document.body.classList.remove("entity-open"), Q.claimSurface(t), N7(), document.body.classList.add("index-open"), t9(), T7()) : (Ks(), Q.claimSurface(t), e === "catalog" ? N7() : (M7(), j7({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
- let t = _9.requestedImmerseId === void 0 ? e : _9.requestedImmerseId;
- _9.requestedImmerseId = void 0, S9(t, !1);
+ let t = v9.requestedImmerseId === void 0 ? e : v9.requestedImmerseId;
+ v9.requestedImmerseId = void 0, C9(t, !1);
},
openQueueRequest: () => {
let e = Q.requestedQueue;
@@ -97243,10 +97856,10 @@ function Wst() {
},
openOverlay: (e) => {
let t = Q.requestedOverlay;
- Q.requestedOverlay = null, iR.navigation.claimed && (!oR() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (oR() && (Q.initialOverlayOpened = !0), e.kind === "item" ? b9(e.id, !1) : e.kind === "jav" ? x9(e.code, !1) : e.kind === "follow" ? L9(e.id, !1) : y9(e.queue, e.key, e.item, !1));
+ Q.requestedOverlay = null, fR.navigation.claimed && (!mR() || Q.initialOverlayOpened) ? t?.path === location.pathname && t.open() : (mR() && (Q.initialOverlayOpened = !0), e.kind === "item" ? x9(e.id, !1) : e.kind === "jav" ? S9(e.code, !1) : e.kind === "follow" ? R9(e.id, !1) : b9(e.queue, e.key, e.item, !1));
},
closeStage: () => {
- _9.stageOpen() && v9(!1);
+ v9.stageOpen() && y9(!1);
},
grid: {
helpers: X.gridHelpers,
@@ -97254,59 +97867,59 @@ function Wst() {
},
configurable: () => !!Cc,
surfaceShown: (e) => {
- e === "index" ? (E9(), q7()) : n9();
+ e === "index" ? (D9(), J7()) : r9();
},
entity: {
- loading: (e, t, n) => o7.application.loading(e, t, n),
- props: (e, t, n) => o7.application.addressProps(e, t, n),
+ loading: (e, t, n) => s7.application.loading(e, t, n),
+ props: (e, t, n) => s7.application.addressProps(e, t, n),
refresh: (e, t, n) => {
- let r = o7.parseEntityFilters(n);
+ let r = s7.parseEntityFilters(n);
e === "creator" && (r.creator = "");
- let i = l7();
- return i.type !== "entity" || i.kind !== e || i.name !== t || !u7(e, t, r, o7.parseMediaView(n), { push: !1 }) ? !1 : (Z7(r), Q7(l7()), !0);
+ let i = u7();
+ return i.type !== "entity" || i.kind !== e || i.name !== t || !d7(e, t, r, s7.parseMediaView(n), { push: !1 }) ? !1 : (Q7(r), $7(u7()), !0);
}
},
follow: $.followFeedShell,
catalog: {
- defaultLoc: () => xot("local,115"),
+ defaultLoc: () => Kot("local,115"),
open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {
- n && (k9(), K7(), R7()), t && $5(), e === "/trash" ? (X.clearSearchField(), M7()) : (I("#q").value = U.q, X.rememberSearchValue()), E9(), n9(), Z.handOff(a9());
+ n && (A9(), q7(), z7()), t && e7(), e === "/trash" ? (X.clearSearchField(), N7()) : (I("#q").value = U.q, X.rememberSearchValue()), D9(), r9(), Z.handOff(o9());
},
load: () => {
- Z.handOff(a9());
+ Z.handOff(o9());
},
fill: () => {
- if (c9() || !oR() && !I("#grid").querySelector(".catalog-skeleton")) return;
+ if (l9() || !mR() && !I("#grid").querySelector(".catalog-skeleton")) return;
let e = I("#count");
- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), Hot(Q.surfaceToken(Q.surfacePath()));
+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), pst(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- o9(), a7(), XL(I("#libraryProcessingNotice"));
+ s9(), o7(), iR(I("#libraryProcessingNotice"));
}
}
- }, U9.routing = !1, Y5.own(iR.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !DL(e.location.pathname) && v9(!1), U9.routing && !e.claimed && k9();
- })), Prt(U9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), iot(), kat(), I7(), Promise.all([
- p9(),
- not(),
- T7.entityShapesReady
- ]).then(() => e.isActive && T7.wantsDiscoveryBars() ? n9() : null).then(() => {
- e.isActive && (E9(), ast(), U9.routing = !0, Pc({ pageOpens: 1 }), k9(), q7());
+ }, W9.routing = !1, X5.own(fR.listen((e) => {
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !FL(e.location.pathname) && y9(!1), W9.routing && !e.claimed && A9();
+ })), ait(W9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), kot(), eot(), L7(), Promise.all([
+ m9(),
+ Dot(),
+ E7.entityShapesReady
+ ]).then(() => e.isActive && E7.wantsDiscoveryBars() ? r9() : null).then(() => {
+ e.isActive && (D9(), Ast(), W9.routing = !0, Pc({ pageOpens: 1 }), A9(), J7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
}
//#endregion
//#region src/theme-transition.ts
-var W9 = !1;
-async function Gst(e, t) {
- if (W9) return;
+var G9 = !1;
+async function gct(e, t) {
+ if (G9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
return;
}
let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");
- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, W9 = !0, document.head.append(o);
+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, G9 = !0, document.head.append(o);
let s = document.documentElement;
s.dataset.themeSnapshot = "true";
let c = !1, l = () => {
@@ -97317,14 +97930,14 @@ async function Gst(e, t) {
} catch {
l();
} finally {
- delete s.dataset.themeSnapshot, o.remove(), W9 = !1;
+ delete s.dataset.themeSnapshot, o.remove(), G9 = !1;
}
}
//#endregion
//#region src/application/chrome.js
-function Kst() {
+function _ct() {
(() => {
- let e = Y5, t = [
+ let e = X5, t = [
"#brandHome",
"#filterBtn",
"#settingsBtn"
@@ -97397,7 +98010,7 @@ function Kst() {
o.className = "mark", o.setAttribute("aria-hidden", "true"), o.innerHTML = a(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(o), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${R(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${a(n)}</span><span>${R(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {
sessionStorage.setItem("peach.library", t.dataset.library), location.assign("/");
})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {
- d.setOpen(!1), P7(!1), _at("媒体库与入库");
+ d.setOpen(!1), F7(!1), Hat("媒体库与入库");
});
let s = l.querySelector(".board-library-rows");
e.listen(s, "pointerover", (e) => {
@@ -97414,18 +98027,18 @@ function Kst() {
h.before(g), e.own(() => g.remove());
let _ = document.createElement("div");
_.className = "board-sidebar-foot", e.own(() => _.remove()), _.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${L("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${L("moon")}</button></div>`, _.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), _.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(_), _.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {
- t.getAttribute("aria-pressed") !== "true" && Gst(t, () => {
+ t.getAttribute("aria-pressed") !== "true" && gct(t, () => {
Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), OT();
});
})), OT();
let v = document.createElement("div");
v.className = "popmenu board-glow-menu", v.id = "boardGlowMenu", v.hidden = !0, v.setAttribute("popover", "manual"), v.setAttribute("role", "dialog"), v.setAttribute("aria-label", "配色"), document.body.append(v), e.own(() => v.remove());
let y = _.querySelector("#boardGlowBtn"), b = Wa(_, y, v);
- e.own(b.dispose), e.own(oce(y)), Wrt({
+ e.own(b.dispose), e.own(oce(y)), hit({
root: v,
store: Z.settingsStore,
openDetails: () => {
- e.isActive && (b.setOpen(!1), P7(!1), $at("外观与导航").then((t) => {
+ e.isActive && (b.setOpen(!1), F7(!1), wot("外观与导航").then((t) => {
e.isActive && t.reveal("#homeGlowControls");
}));
}
@@ -97437,17 +98050,17 @@ function Kst() {
let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");
if (!t) return;
c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);
- let r = n.classList.contains("open"), i = !N7();
+ let r = n.classList.contains("open"), i = !P7();
i || r ? h.parentElement !== t && t.append(h) : h.parentElement !== g.parentElement && g.after(h), n.inert = !i && !r;
}
- Z.placeSidebarHead = x, x(), e.listen(document, "board:sidebar", x), e.listen.bind(Y5, window)("resize", x);
+ Z.placeSidebarHead = x, x(), e.listen(document, "board:sidebar", x), e.listen.bind(X5, window)("resize", x);
let S = !1;
function C() {
S = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);
}
- if (e.listen.bind(Y5, window)("scroll", () => {
+ if (e.listen.bind(X5, window)("scroll", () => {
S || (S = !0, e.frame(C));
- }, { passive: !0 }), e.listen.bind(Y5, window)("resize", C), C(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
+ }, { passive: !0 }), e.listen.bind(X5, window)("resize", C), C(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");
n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";
let r = document.createElementNS(t, "defs");
@@ -97522,35 +98135,35 @@ function Kst() {
subtree: !0
}), f();
}
- })(), P7(!N7() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), F7(!P7() && sessionStorage.getItem("board.sidebar") !== "closed");
}
//#endregion
//#region src/application/initialize.js
-function qst() {
- Lst(), Cst(), Gat(), wst(), sst(), Jrt(), Xot(), xst(), cat(), vst(), Aat(), Zot(), Jit(), vat(), Fst(), Vat(), lat(), Ist(), Hat(), uat(), pot(), Qot(), Hst(), yst(), Ust(), cst(), Wst(), Kst(), Y5.own(o9), Y5.own(D9);
+function vct() {
+ cct(), Jst(), got(), Yst(), Mst(), yit(), xst(), Kst(), Nat(), Ust(), tot(), Sst(), yat(), Uat(), oct(), fot(), Pat(), sct(), pot(), Fat(), Rot(), Cst(), pct(), Wst(), mct(), Nst(), hct(), _ct(), X5.own(s9), X5.own(O9);
}
//#endregion
//#region src/ui-kit/middle-truncate.ts
-var Jst = "…", Yst = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, G9 = /* @__PURE__ */ new WeakMap(), K9 = /* @__PURE__ */ new WeakSet(), q9 = null, J9 = null, Y9 = /* @__PURE__ */ new Set(), Xst = (e) => Yst ? [...Yst.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function Zst(e, t) {
- let n = Xst(e);
+var yct = "…", bct = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, K9 = /* @__PURE__ */ new WeakMap(), q9 = /* @__PURE__ */ new WeakSet(), J9 = null, Y9 = null, X9 = /* @__PURE__ */ new Set(), xct = (e) => bct ? [...bct.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
+function Sct(e, t) {
+ let n = xct(e);
if (!n.length || t(e)) return String(e ?? "");
- let r = 0, i = Math.max(0, n.length - 1), a = Jst;
+ let r = 0, i = Math.max(0, n.length - 1), a = yct;
for (; r <= i;) {
- let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + Jst + (s ? n.slice(-s).join("") : "");
+ let e = r + i >> 1, o = Math.ceil(e / 2), s = Math.floor(e / 2), c = n.slice(0, o).join("") + yct + (s ? n.slice(-s).join("") : "");
t(c) ? (a = c, r = e + 1) : i = e - 1;
}
return a;
}
-var Qst = Object.assign((e, t) => {
- let n = getComputedStyle(e), r = (Qst.canvas ||= document.createElement("canvas")).getContext("2d");
+var Cct = Object.assign((e, t) => {
+ let n = getComputedStyle(e), r = (Cct.canvas ||= document.createElement("canvas")).getContext("2d");
if (!r) return Infinity;
r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;
let i = r.measureText(t).width, a = parseFloat(n.letterSpacing);
- Number.isFinite(a) && (i += Math.max(0, Xst(t).length - 1) * a);
+ Number.isFinite(a) && (i += Math.max(0, xct(t).length - 1) * a);
let o = parseFloat(n.wordSpacing);
return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;
-}, { canvas: null }), $st = (e) => {
+}, { canvas: null }), wct = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -97560,56 +98173,56 @@ var Qst = Object.assign((e, t) => {
n === e ? a++ : t > 0 && (i += t, a++);
}
return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);
-}, ect = (e) => {
- let t = G9.get(e);
+}, Tct = (e) => {
+ let t = K9.get(e);
if (!t || !e.isConnected) return;
- let n = $st(e), r = n > 0 ? Zst(t.full, (t) => Qst(e, t) <= n) : t.full;
+ let n = wct(e), r = n > 0 ? Sct(t.full, (t) => Cct(e, t) <= n) : t.full;
t.rendered = r, e.textContent !== r && (e.textContent = r);
let i = r !== t.full;
e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), (!e.hasAttribute("title") || e.dataset.middleTitle === "true") && (e.title = t.full, e.dataset.middleTitle = "true");
-}, X9 = (e) => {
- let t = G9.get(e);
+}, Z9 = (e) => {
+ let t = K9.get(e);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, ect(e);
+ t.raf = 0, Tct(e);
}));
-}, tct = (e) => {
- e instanceof HTMLElement && (G9.has(e) || G9.set(e, {
+}, Ect = (e) => {
+ e instanceof HTMLElement && (K9.has(e) || K9.set(e, {
full: e.textContent || "",
rendered: e.textContent || "",
raf: 0
- }), K9.has(e) || (K9.add(e), Y9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? q9?.observe(e.parentElement) : q9?.observe(e)), X9(e));
-}, nct = (e) => {
+ }), q9.has(e) || (q9.add(e), X9.add(e), e.dataset.middleTruncateWithin !== void 0 && e.parentElement ? J9?.observe(e.parentElement) : J9?.observe(e)), Z9(e));
+}, Dct = (e) => {
if (e.nodeType !== Node.ELEMENT_NODE) return;
let t = e;
- t.matches("[data-middle-truncate]") && tct(t), t.querySelectorAll("[data-middle-truncate]").forEach(tct);
+ t.matches("[data-middle-truncate]") && Ect(t), t.querySelectorAll("[data-middle-truncate]").forEach(Ect);
};
-function rct(e = document) {
- J9?.(), K9 = /* @__PURE__ */ new WeakSet(), Y9 = /* @__PURE__ */ new Set();
- let t = Y9, n = !0;
- q9 = new ResizeObserver((e) => e.forEach((e) => {
- n && (X9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(X9));
+function Oct(e = document) {
+ Y9?.(), q9 = /* @__PURE__ */ new WeakSet(), X9 = /* @__PURE__ */ new Set();
+ let t = X9, n = !0;
+ J9 = new ResizeObserver((e) => e.forEach((e) => {
+ n && (Z9(e.target), e.target.querySelectorAll?.(":scope>[data-middle-truncate-within]").forEach(Z9));
}));
- let r = q9;
- nct(e.documentElement || e);
+ let r = J9;
+ Dct(e.documentElement || e);
let i = new MutationObserver((e) => e.forEach((e) => {
if (!n) return;
- e.addedNodes.forEach(nct);
+ e.addedNodes.forEach(Dct);
let t = (e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target)?.closest?.("[data-middle-truncate]");
if (!t) return;
- let r = G9.get(t);
- r && t.textContent !== r.rendered && (r.full = t.textContent || "", t.dataset.middleTitle === "true" && t.removeAttribute("title"), X9(t));
+ let r = K9.get(t);
+ r && t.textContent !== r.rendered && (r.full = t.textContent || "", t.dataset.middleTitle === "true" && t.removeAttribute("title"), Z9(t));
}));
i.observe(e.body || e, {
childList: !0,
characterData: !0,
subtree: !0
}), document.fonts?.ready?.then(() => {
- n && e.querySelectorAll("[data-middle-truncate]").forEach(X9);
+ n && e.querySelectorAll("[data-middle-truncate]").forEach(Z9);
});
let a = (e) => {
let t = document.getSelection();
if (!t || t.isCollapsed) return;
- let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && G9.get(n);
+ let n = (t.anchorNode?.nodeType === Node.ELEMENT_NODE ? t.anchorNode : t.anchorNode?.parentElement)?.closest?.("[data-middle-truncate]"), r = n && K9.get(n);
r && n.contains(t.focusNode) && e.clipboardData && (e.clipboardData?.setData("text/plain", r.full), e.preventDefault());
};
e.addEventListener("copy", a);
@@ -97617,61 +98230,61 @@ function rct(e = document) {
if (n) {
n = !1, r.disconnect(), i.disconnect(), e.removeEventListener("copy", a);
for (let e of t) {
- let t = G9.get(e);
+ let t = K9.get(e);
t?.raf && (cancelAnimationFrame(t.raf), t.raf = 0);
}
- t.clear(), J9 === o && (J9 = null, q9 = null);
+ t.clear(), Y9 === o && (Y9 = null, J9 = null);
}
};
- return J9 = o, o;
+ return Y9 = o, o;
}
//#endregion
//#region src/react/application.tsx
-var Z9 = null;
-function ict(e) {
- Z9 !== e || e.owners || (Z9 = null, e.effects.dispose());
-}
-function act() {
- if (!Z9) {
- let e = qrt();
- Z9 = {
+var Q9 = null;
+function kct(e) {
+ Q9 !== e || e.owners || (Q9 = null, e.effects.dispose());
+}
+function Act() {
+ if (!Q9) {
+ let e = vit();
+ Q9 = {
effects: e,
owners: 0
- }, e.own(rct(document)), e.own(() => {
+ }, e.own(Oct(document)), e.own(() => {
Ks(), H.cancelQueries();
- }), e.own(Frt), e.own(PCe), e.own(Ra);
+ }), e.own(oit), e.own(zCe), e.own(Ra);
}
- return Z9.owners += 1, Z9.effects.resume(), Z9;
+ return Q9.owners += 1, Q9.effects.resume(), Q9;
}
-function oct() {
+function jct() {
let [e, t] = (0, b.useState)(null);
return (0, b.useLayoutEffect)(() => {
- let e = Z9 === null, n = act(), r = Nrt(t);
+ let e = Q9 === null, n = Act(), r = iit(t);
if (e) try {
- qst();
+ vct();
} catch (e) {
- throw r(), n.effects.dispose(), Z9 = null, e;
+ throw r(), n.effects.dispose(), Q9 = null, e;
}
return () => {
- r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => ict(n)));
+ r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => kct(n)));
};
- }, []), /* @__PURE__ */ (0, x.jsx)(QCe, { actions: e });
+ }, []), /* @__PURE__ */ (0, x.jsx)(rwe, { actions: e });
}
-var Q9 = /* @__PURE__ */ new WeakMap();
-function sct(e) {
- let t = Q9.get(e);
+var $9 = /* @__PURE__ */ new WeakMap();
+function Mct(e) {
+ let t = $9.get(e);
if (t) return t;
- let n = (0, ht.createRoot)(e, $Ce);
- Q9.set(e, n);
+ let n = (0, ht.createRoot)(e, iwe);
+ $9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
- Q9.get(e) === n && (Q9.delete(e), r(), Z9 && ict(Z9));
- }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(oct, {}))), n;
+ $9.get(e) === n && ($9.delete(e), r(), Q9 && kct(Q9));
+ }, (0, mt.flushSync)(() => n.render(/* @__PURE__ */ (0, x.jsx)(jct, {}))), n;
}
//#endregion
//#region src/react/bootstrap.tsx
-var $9 = document.getElementById("appRoot");
-if (!$9) throw Error("主界面宿主缺失");
-sct($9);
+var Nct = document.getElementById("appRoot");
+if (!Nct) throw Error("主界面宿主缺失");
+Mct(Nct);
//#endregion
-export { OT as applyTheme, iR as peachHistory, so as popCount, Grt as showToast };
+export { OT as applyTheme, fR as peachHistory, so as popCount, git as showToast };