nish-ui 1.9.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +218 -58
- package/dist/base-tailwind.css +1757 -0
- package/dist/base.css +1590 -1445
- package/dist/chart.d.ts +4 -1
- package/dist/chart.js +122 -49
- package/dist/elements-all.d.ts +8 -0
- package/dist/elements-all.js +178 -0
- package/dist/elements-charts.d.ts +71 -0
- package/dist/elements-charts.js +56 -57
- package/dist/elements-data.d.ts +71 -0
- package/dist/elements-data.js +5 -6
- package/dist/elements-forms.d.ts +71 -0
- package/dist/elements-forms.js +24 -25
- package/dist/elements.d.ts +71 -0
- package/dist/elements.js +4 -5
- package/dist/esm/chart-values.js +58 -0
- package/dist/esm/chart.js +10 -0
- package/dist/esm/cn.js +19 -0
- package/dist/esm/combobox-filter.js +13 -0
- package/dist/esm/components/accordion.js +166 -0
- package/dist/esm/components/app-shell.js +198 -0
- package/dist/esm/components/avatar-classes.js +28 -0
- package/dist/esm/components/avatar.js +113 -0
- package/dist/esm/components/breadcrumbs.js +154 -0
- package/dist/esm/components/canvas/follow-caption.js +32 -0
- package/dist/esm/components/canvas/follow.js +119 -0
- package/dist/esm/components/canvas/icons.js +70 -0
- package/dist/esm/components/canvas/index.js +10 -0
- package/dist/esm/components/canvas/layout.js +258 -0
- package/dist/esm/components/canvas/legend.js +93 -0
- package/dist/esm/components/canvas/minimap.js +127 -0
- package/dist/esm/components/canvas/node.js +87 -0
- package/dist/esm/components/canvas/route.js +262 -0
- package/dist/esm/components/canvas/system-canvas.js +837 -0
- package/dist/esm/components/canvas/types.js +10 -0
- package/dist/esm/components/canvas/view.js +47 -0
- package/dist/esm/components/chart-hooks.js +19 -0
- package/dist/esm/components/charts.js +467 -0
- package/dist/esm/components/client.js +24 -0
- package/dist/esm/components/combobox.js +343 -0
- package/dist/esm/components/command.js +403 -0
- package/dist/esm/components/data-classes.js +159 -0
- package/dist/esm/components/data.js +517 -0
- package/dist/esm/components/display-classes.js +130 -0
- package/dist/esm/components/display.js +755 -0
- package/dist/esm/components/error-boundary.js +64 -0
- package/dist/esm/components/feedback.js +136 -0
- package/dist/esm/components/file-dropzone.js +184 -0
- package/dist/esm/components/filters.js +108 -0
- package/dist/esm/components/flow.js +746 -0
- package/dist/esm/components/forms-classes.js +43 -0
- package/dist/esm/components/forms.js +581 -0
- package/dist/esm/components/hooks-classes.js +9 -0
- package/dist/esm/components/hooks.js +236 -0
- package/dist/esm/components/icons.js +96 -0
- package/dist/esm/components/inbox-classes.js +29 -0
- package/dist/esm/components/inbox.js +257 -0
- package/dist/esm/components/latest.js +13 -0
- package/dist/esm/components/layout-vars.js +96 -0
- package/dist/esm/components/layout.js +272 -0
- package/dist/esm/components/media.js +143 -0
- package/dist/esm/components/nav.js +614 -0
- package/dist/esm/components/overlay-classes.js +66 -0
- package/dist/esm/components/overlay.js +1447 -0
- package/dist/esm/components/pagination-classes.js +29 -0
- package/dist/esm/components/pagination.js +154 -0
- package/dist/esm/components/portal.js +16 -0
- package/dist/esm/components/primitives-classes.js +198 -0
- package/dist/esm/components/primitives.js +268 -0
- package/dist/esm/components/progress.js +77 -0
- package/dist/esm/components/provider.js +32 -0
- package/dist/esm/components/radio-group.js +186 -0
- package/dist/esm/components/resource-classes.js +133 -0
- package/dist/esm/components/resource.js +209 -0
- package/dist/esm/components/segmented.js +178 -0
- package/dist/esm/components/separator.js +38 -0
- package/dist/esm/components/service-tokens.js +221 -0
- package/dist/esm/components/settings.js +301 -0
- package/dist/esm/components/slider.js +262 -0
- package/dist/esm/components/split-classes.js +8 -0
- package/dist/esm/components/split.js +411 -0
- package/dist/esm/components/strings.js +119 -0
- package/dist/esm/components/table.js +144 -0
- package/dist/esm/components/tabs-classes.js +21 -0
- package/dist/esm/components/tabs.js +201 -0
- package/dist/esm/components/tag-input.js +257 -0
- package/dist/esm/components/theme-toggle.js +177 -0
- package/dist/esm/components/toast.js +361 -0
- package/dist/esm/components/url-state.js +118 -0
- package/dist/esm/components/visually-hidden.js +20 -0
- package/dist/esm/format.js +320 -0
- package/dist/esm/inbox-client.js +2 -0
- package/dist/esm/inbox-types.js +2 -0
- package/dist/esm/index.js +320 -0
- package/dist/esm/runtime.js +37 -0
- package/dist/esm/server/inbox/client.js +297 -0
- package/dist/esm/server/inbox/types.js +24 -0
- package/dist/esm/sparkline-path.js +59 -0
- package/dist/esm/split-layout.js +419 -0
- package/dist/esm/system-canvas.js +2 -0
- package/dist/esm/theme.js +804 -0
- package/dist/esm/tokens.mjs +425 -0
- package/dist/esm/url.js +20 -0
- package/dist/files.json +5 -1
- package/dist/fonts/LICENSE-Inter.txt +93 -0
- package/dist/format.d.ts +32 -18
- package/dist/format.js +227 -82
- package/dist/inbox-client.js +3 -1
- package/dist/index.d.ts +1686 -667
- package/dist/nish-components.css +4649 -4506
- package/dist/nish-components.min.css +1 -0
- package/dist/nish.css +1603 -1450
- package/dist/nish.min.css +1 -0
- package/dist/node/eslint.js +29 -14
- package/dist/node/th-check.js +29 -14
- package/dist/node/vite.d.ts +12 -0
- package/dist/node/vite.js +12 -2
- package/dist/server/hono.d.ts +15 -6
- package/dist/server/hono.js +30 -25
- package/dist/server/index.d.ts +3 -10
- package/dist/server/index.js +71 -38
- package/dist/{spa-DuVB5O7S.d.ts → spa-BLlMc0eI.d.ts} +38 -5
- package/dist/system-canvas-BLuWd69H.d.ts +183 -0
- package/dist/system-canvas.d.ts +2 -168
- package/dist/tailwind-core.css +114 -0
- package/dist/tailwind.css +3 -7
- package/dist/theme-init.js +23 -9
- package/dist/theme-init.sha256 +1 -0
- package/dist/theme.d.ts +243 -4
- package/dist/theme.global.js +356 -89
- package/dist/theme.js +337 -67
- package/dist/tokens.css +14 -6
- package/dist/tokens.dtcg.json +1513 -0
- package/dist/tokens.js +29 -14
- package/dist/tokens.json +512 -0
- package/package.json +51 -13
- package/dist/chart.js.map +0 -1
- package/dist/elements-charts.js.map +0 -1
- package/dist/elements-data.js.map +0 -1
- package/dist/elements-forms.js.map +0 -1
- package/dist/elements.js.map +0 -1
- package/dist/format.js.map +0 -1
- package/dist/inbox-client.js.map +0 -1
- package/dist/index.js +0 -10260
- package/dist/index.js.map +0 -1
- package/dist/server/hono.js.map +0 -1
- package/dist/server/index.js.map +0 -1
- package/dist/split-layout.js.map +0 -1
- package/dist/system-canvas.js +0 -2204
- package/dist/system-canvas.js.map +0 -1
- package/dist/theme.global.js.map +0 -1
- package/dist/theme.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--nish-font-sans:"Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--nish-font-mono:ui-monospace, "Cascadia Code", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;--nish-text-3xs:.625rem;--nish-text-3xs-lh:.875rem;--nish-text-2xs:.6875rem;--nish-text-2xs-lh:1rem;--nish-text-xs:.75rem;--nish-text-xs-lh:1.1rem;--nish-text-sm:.875rem;--nish-text-sm-lh:1.35rem;--nish-text-base:1rem;--nish-text-base-lh:1.55rem;--nish-text-lg:1.125rem;--nish-text-lg-lh:1.65rem;--nish-text-xl:1.25rem;--nish-text-xl-lh:1.75rem;--nish-text-2xl:1.5rem;--nish-text-2xl-lh:2rem;--nish-text-3xl:1.875rem;--nish-text-3xl-lh:2.3rem;--nish-text-4xl:2.25rem;--nish-text-4xl-lh:2.6rem;--nish-weight-normal:400;--nish-weight-medium:500;--nish-weight-semibold:600;--nish-weight-bold:700;--nish-tracking-tight:-.015em;--nish-tracking-caps:.08em;--nish-space-1:4px;--nish-space-2:8px;--nish-space-3:12px;--nish-space-4:16px;--nish-space-5:20px;--nish-space-6:24px;--nish-space-8:32px;--nish-space-10:40px;--nish-space-12:48px;--nish-space-16:64px;--nish-radius-xs:4px;--nish-radius-sm:8px;--nish-radius-card:12px;--nish-radius-md:14px;--nish-radius-lg:20px;--nish-radius-pill:999px;--nish-ease-out:cubic-bezier(.22, 1, .36, 1);--nish-ease-in-out:cubic-bezier(.65, 0, .35, 1);--nish-dur-fast:.16s;--nish-dur-med:.32s;--nish-z-base:0;--nish-z-sticky:20;--nish-z-dropdown:40;--nish-z-modal:50;--nish-z-toast:60;--nish-z-tooltip:100;--nish-page-max:1120px;--nish-gutter:16px;--nish-tap-min:44px;--nish-focus-width:2px;--nish-focus-offset:2px;--nish-bp-sm:640px;--nish-bp-md:768px;--nish-bp-lg:1024px;--nish-bp-xl:1280px}:root,[data-theme]{--nish-shadow-card:0 1px 2px color-mix(in srgb, var(--nish-scrim) 10%, transparent), 0 6px 20px -8px color-mix(in srgb, var(--nish-scrim) 22%, transparent);--nish-shadow-pop:0 4px 12px -2px color-mix(in srgb, var(--nish-scrim) 24%, transparent), 0 12px 32px -8px color-mix(in srgb, var(--nish-scrim) 30%, transparent);--nish-shadow-modal:0 24px 64px -16px color-mix(in srgb, var(--nish-scrim) 45%, transparent);--nish-accent-soft:color-mix(in srgb, var(--nish-accent) 14%, transparent);--nish-accent-soft-solid:color-mix(in srgb, var(--nish-accent) 14%, var(--nish-bg));--nish-ok-soft:color-mix(in srgb, var(--nish-ok) 14%, transparent);--nish-ok-soft-solid:color-mix(in srgb, var(--nish-ok) 14%, var(--nish-bg));--nish-loss-soft:color-mix(in srgb, var(--nish-loss) 14%, transparent);--nish-loss-soft-solid:color-mix(in srgb, var(--nish-loss) 14%, var(--nish-bg));--nish-warn-soft:color-mix(in srgb, var(--nish-warn) 14%, transparent);--nish-warn-soft-solid:color-mix(in srgb, var(--nish-warn) 14%, var(--nish-bg));--nish-info-soft:color-mix(in srgb, var(--nish-info) 14%, transparent);--nish-info-soft-solid:color-mix(in srgb, var(--nish-info) 14%, var(--nish-bg));--nish-emerald-soft:color-mix(in srgb, var(--nish-emerald) 14%, transparent);--nish-emerald-soft-solid:color-mix(in srgb, var(--nish-emerald) 14%, var(--nish-bg));--nish-indigo-soft:color-mix(in srgb, var(--nish-indigo) 14%, transparent);--nish-indigo-soft-solid:color-mix(in srgb, var(--nish-indigo) 14%, var(--nish-bg));--nish-amber-soft:color-mix(in srgb, var(--nish-amber) 14%, transparent);--nish-amber-soft-solid:color-mix(in srgb, var(--nish-amber) 14%, var(--nish-bg));--nish-lime-soft:color-mix(in srgb, var(--nish-lime) 14%, transparent);--nish-lime-soft-solid:color-mix(in srgb, var(--nish-lime) 14%, var(--nish-bg));--nish-rose-soft:color-mix(in srgb, var(--nish-rose) 14%, transparent);--nish-rose-soft-solid:color-mix(in srgb, var(--nish-rose) 14%, var(--nish-bg));--nish-sky-soft:color-mix(in srgb, var(--nish-sky) 14%, transparent);--nish-sky-soft-solid:color-mix(in srgb, var(--nish-sky) 14%, var(--nish-bg));--nish-violet-soft:color-mix(in srgb, var(--nish-violet) 14%, transparent);--nish-violet-soft-solid:color-mix(in srgb, var(--nish-violet) 14%, var(--nish-bg));--nish-teal-soft:color-mix(in srgb, var(--nish-teal) 14%, transparent);--nish-teal-soft-solid:color-mix(in srgb, var(--nish-teal) 14%, var(--nish-bg));--nish-focus:var(--nish-accent)}:root,[data-theme=dark]{color-scheme:dark;--nish-bg:#0a0b0f;--nish-surface:#111218;--nish-elevated:#191b23;--nish-overlay:#22252f;--nish-line:#262935;--nish-line-strong:#3a3e4d;--nish-line-control:#666975;--nish-hi:#ececf1;--nish-hi2:#a8aab7;--nish-hi3:#8a8d9b;--nish-ghost:#6b6e7c;--nish-accent:#8b93ff;--nish-accent2:#c084fc;--nish-on-accent:#0a0b0f;--nish-on-accent2:#0a0b0f;--nish-on-ok:#0a0b0f;--nish-on-loss:#0a0b0f;--nish-on-warn:#0a0b0f;--nish-on-info:#0a0b0f;--nish-ok:#34d399;--nish-loss:#f87171;--nish-warn:#fbbf24;--nish-info:#38bdf8;--nish-ok-fill:#34d399;--nish-loss-fill:#f87171;--nish-warn-fill:#fbbf24;--nish-info-fill:#38bdf8;--nish-scrim:#000;--nish-invert-bg:#ececf1;--nish-invert-text:#111218;--nish-chart-1:#8b93ff;--nish-chart-2:#34d399;--nish-chart-3:#fbbf24;--nish-chart-4:#fb7185;--nish-chart-5:#38bdf8;--nish-chart-6:#c084fc;--nish-chart-7:#fb923c;--nish-chart-8:#a3e635;--nish-emerald:#34d399;--nish-indigo:#8b93ff;--nish-amber:#fbbf24;--nish-lime:#a3e635;--nish-rose:#fb7185;--nish-sky:#38bdf8;--nish-violet:#c084fc;--nish-teal:#2dd4bf}@media (prefers-color-scheme:light){:root:not([data-theme]){color-scheme:light;--nish-bg:#f7f6f3;--nish-surface:#fff;--nish-elevated:#f1f0ec;--nish-overlay:#e6e4de;--nish-line:#e2e0da;--nish-line-strong:#c9c6bd;--nish-line-control:#8a8881;--nish-hi:#17171c;--nish-hi2:#4f515c;--nish-hi3:#626470;--nish-ghost:#8a8c98;--nish-accent:#4338ca;--nish-accent2:#7e22ce;--nish-on-accent:#fff;--nish-on-accent2:#fff;--nish-on-ok:#0a0a0c;--nish-on-loss:#fff;--nish-on-warn:#0a0a0c;--nish-on-info:#0a0a0c;--nish-ok:#065f46;--nish-loss:#a91b1b;--nish-warn:#92400e;--nish-info:#075985;--nish-ok-fill:#059669;--nish-loss-fill:#dc2626;--nish-warn-fill:#c96d06;--nish-info-fill:#0284c7;--nish-scrim:#17171c;--nish-invert-bg:#17171c;--nish-invert-text:#f7f6f3;--nish-chart-1:#6366f1;--nish-chart-2:#059669;--nish-chart-3:#c96d06;--nish-chart-4:#f43f5e;--nish-chart-5:#0284c7;--nish-chart-6:#a855f7;--nish-chart-7:#ea580c;--nish-chart-8:#5a910c;--nish-emerald:#046d4f;--nish-indigo:#4e45e3;--nish-amber:#9b4708;--nish-lime:#41690d;--nish-rose:#b8113a;--nish-sky:#036499;--nish-violet:#7e22ce;--nish-teal:#0e6b64}}[data-theme=light]{color-scheme:light;--nish-bg:#f7f6f3;--nish-surface:#fff;--nish-elevated:#f1f0ec;--nish-overlay:#e6e4de;--nish-line:#e2e0da;--nish-line-strong:#c9c6bd;--nish-line-control:#8a8881;--nish-hi:#17171c;--nish-hi2:#4f515c;--nish-hi3:#626470;--nish-ghost:#8a8c98;--nish-accent:#4338ca;--nish-accent2:#7e22ce;--nish-on-accent:#fff;--nish-on-accent2:#fff;--nish-on-ok:#0a0a0c;--nish-on-loss:#fff;--nish-on-warn:#0a0a0c;--nish-on-info:#0a0a0c;--nish-ok:#065f46;--nish-loss:#a91b1b;--nish-warn:#92400e;--nish-info:#075985;--nish-ok-fill:#059669;--nish-loss-fill:#dc2626;--nish-warn-fill:#c96d06;--nish-info-fill:#0284c7;--nish-scrim:#17171c;--nish-invert-bg:#17171c;--nish-invert-text:#f7f6f3;--nish-chart-1:#6366f1;--nish-chart-2:#059669;--nish-chart-3:#c96d06;--nish-chart-4:#f43f5e;--nish-chart-5:#0284c7;--nish-chart-6:#a855f7;--nish-chart-7:#ea580c;--nish-chart-8:#5a910c;--nish-emerald:#046d4f;--nish-indigo:#4e45e3;--nish-amber:#9b4708;--nish-lime:#41690d;--nish-rose:#b8113a;--nish-sky:#036499;--nish-violet:#7e22ce;--nish-teal:#0e6b64}[data-theme=slate]{color-scheme:dark;--nish-bg:#18181b;--nish-surface:#202024;--nish-elevated:#2c2c32;--nish-overlay:#36363d;--nish-line:#3a3a42;--nish-line-strong:#52525b;--nish-line-control:#77777e;--nish-hi:#f4f4f5;--nish-hi2:#b8b8c0;--nish-hi3:#a0a0a8;--nish-ghost:#71717a;--nish-accent:#a5b4fc;--nish-accent2:#c084fc;--nish-on-accent:#18181b;--nish-on-accent2:#18181b;--nish-on-ok:#18181b;--nish-on-loss:#18181b;--nish-on-warn:#18181b;--nish-on-info:#18181b;--nish-ok:#4ade80;--nish-loss:#fda4af;--nish-warn:#facc15;--nish-info:#38bdf8;--nish-ok-fill:#4ade80;--nish-loss-fill:#fda4af;--nish-warn-fill:#facc15;--nish-info-fill:#38bdf8;--nish-scrim:#000;--nish-invert-bg:#f4f4f5;--nish-invert-text:#202024;--nish-chart-1:#818cf8;--nish-chart-2:#4ade80;--nish-chart-3:#facc15;--nish-chart-4:#fb7185;--nish-chart-5:#38bdf8;--nish-chart-6:#c084fc;--nish-chart-7:#fb923c;--nish-chart-8:#a3e635;--nish-emerald:#34d399;--nish-indigo:#9aa1ff;--nish-amber:#fbbf24;--nish-lime:#a3e635;--nish-rose:#fc8395;--nish-sky:#38bdf8;--nish-violet:#c792fc;--nish-teal:#2dd4bf}[data-theme=terminal]{color-scheme:dark;--nish-bg:#050807;--nish-surface:#0c110e;--nish-elevated:#141c17;--nish-overlay:#1c2820;--nish-line:#233028;--nish-line-strong:#34483b;--nish-line-control:#5c6c61;--nish-hi:#d1fae5;--nish-hi2:#8fc4a8;--nish-hi3:#74a68b;--nish-ghost:#4f7a62;--nish-accent:#34d399;--nish-accent2:#2dd4bf;--nish-on-accent:#050807;--nish-on-accent2:#050807;--nish-on-ok:#050807;--nish-on-loss:#050807;--nish-on-warn:#050807;--nish-on-info:#050807;--nish-ok:#4ade80;--nish-loss:#f87171;--nish-warn:#fbbf24;--nish-info:#67e8f9;--nish-ok-fill:#4ade80;--nish-loss-fill:#f87171;--nish-warn-fill:#fbbf24;--nish-info-fill:#67e8f9;--nish-scrim:#000;--nish-invert-bg:#d1fae5;--nish-invert-text:#0c110e;--nish-chart-1:#34d399;--nish-chart-2:#67e8f9;--nish-chart-3:#fbbf24;--nish-chart-4:#f87171;--nish-chart-5:#a3e635;--nish-chart-6:#c084fc;--nish-chart-7:#fb923c;--nish-chart-8:#2dd4bf;--nish-emerald:#34d399;--nish-indigo:#8b93ff;--nish-amber:#fbbf24;--nish-lime:#a3e635;--nish-rose:#fb7185;--nish-sky:#38bdf8;--nish-violet:#c084fc;--nish-teal:#2dd4bf}[data-theme=mocha]{color-scheme:dark;--nish-bg:#1c1917;--nish-surface:#292524;--nish-elevated:#393432;--nish-overlay:#44403c;--nish-line:#44403c;--nish-line-strong:#57534e;--nish-line-control:#83807c;--nish-hi:#f5f0eb;--nish-hi2:#c6c0bb;--nish-hi3:#b2ada8;--nish-ghost:#78716c;--nish-accent:#fdba74;--nish-accent2:#f472b6;--nish-on-accent:#1c1917;--nish-on-accent2:#1c1917;--nish-on-ok:#1c1917;--nish-on-loss:#1c1917;--nish-on-warn:#1c1917;--nish-on-info:#1c1917;--nish-ok:#4ade80;--nish-loss:#fca5a5;--nish-warn:#facc15;--nish-info:#7dd3fc;--nish-ok-fill:#4ade80;--nish-loss-fill:#fca5a5;--nish-warn-fill:#facc15;--nish-info-fill:#7dd3fc;--nish-scrim:#000;--nish-invert-bg:#f5f0eb;--nish-invert-text:#292524;--nish-chart-1:#fb923c;--nish-chart-2:#4ade80;--nish-chart-3:#facc15;--nish-chart-4:#f472b6;--nish-chart-5:#7dd3fc;--nish-chart-6:#c4b5fd;--nish-chart-7:#f87171;--nish-chart-8:#bef264;--nish-emerald:#34d399;--nish-indigo:#a9afff;--nish-amber:#fbbf24;--nish-lime:#a3e635;--nish-rose:#fc99a7;--nish-sky:#3ebff8;--nish-violet:#cfa2fd;--nish-teal:#2dd4bf}[data-theme=ocean]{color-scheme:dark;--nish-bg:#020c18;--nish-surface:#061528;--nish-elevated:#0a243e;--nish-overlay:#103658;--nish-line:#123050;--nish-line-strong:#1f4a72;--nish-line-control:#507291;--nish-hi:#e0f2fe;--nish-hi2:#9ccde6;--nish-hi3:#6fa9c6;--nish-ghost:#3f7392;--nish-accent:#38bdf8;--nish-accent2:#a78bfa;--nish-on-accent:#020c18;--nish-on-accent2:#020c18;--nish-on-ok:#020c18;--nish-on-loss:#020c18;--nish-on-warn:#020c18;--nish-on-info:#020c18;--nish-ok:#34d399;--nish-loss:#fb7185;--nish-warn:#fbbf24;--nish-info:#7dd3fc;--nish-ok-fill:#34d399;--nish-loss-fill:#fb7185;--nish-warn-fill:#fbbf24;--nish-info-fill:#7dd3fc;--nish-scrim:#000;--nish-invert-bg:#38bdf8;--nish-invert-text:#020c18;--nish-chart-1:#38bdf8;--nish-chart-2:#34d399;--nish-chart-3:#fbbf24;--nish-chart-4:#fb7185;--nish-chart-5:#a78bfa;--nish-chart-6:#2dd4bf;--nish-chart-7:#fb923c;--nish-chart-8:#a3e635;--nish-emerald:#34d399;--nish-indigo:#8b93ff;--nish-amber:#fbbf24;--nish-lime:#a3e635;--nish-rose:#fb7185;--nish-sky:#38bdf8;--nish-violet:#c084fc;--nish-teal:#2dd4bf}[data-theme=contrast]{color-scheme:dark;--nish-bg:#000;--nish-surface:#080808;--nish-elevated:#141414;--nish-overlay:#222;--nish-line:#4a4a4a;--nish-line-strong:#8a8a8a;--nish-line-control:#8a8a8a;--nish-hi:#fff;--nish-hi2:#d4d4d4;--nish-hi3:#bdbdbd;--nish-ghost:#8f8f8f;--nish-accent:#ffd60a;--nish-accent2:#7dd3fc;--nish-on-accent:#000;--nish-on-accent2:#000;--nish-on-ok:#000;--nish-on-loss:#000;--nish-on-warn:#000;--nish-on-info:#000;--nish-ok:#4ade80;--nish-loss:#ff6b6b;--nish-warn:#ffd60a;--nish-info:#7dd3fc;--nish-ok-fill:#4ade80;--nish-loss-fill:#ff6b6b;--nish-warn-fill:#ffd60a;--nish-info-fill:#7dd3fc;--nish-scrim:#000;--nish-invert-bg:#fff;--nish-invert-text:#000;--nish-chart-1:#ffd60a;--nish-chart-2:#4ade80;--nish-chart-3:#7dd3fc;--nish-chart-4:#ff6b6b;--nish-chart-5:#c4b5fd;--nish-chart-6:#fb923c;--nish-chart-7:#f9a8d4;--nish-chart-8:#bef264;--nish-emerald:#34d399;--nish-indigo:#8b93ff;--nish-amber:#fbbf24;--nish-lime:#a3e635;--nish-rose:#fb7185;--nish-sky:#38bdf8;--nish-violet:#c084fc;--nish-teal:#2dd4bf}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fonts/inter-latin-ext-wght-normal.34b9c504.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./fonts/inter-latin-wght-normal.3100e775.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@layer nish.base{html{background-color:var(--nish-bg);color:var(--nish-hi);font-family:var(--nish-font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}:root{--nish-page-gutter:1rem;--nish-header-h:0px;--nish-bottom-inset:calc(var(--nish-bottom-nav-h,0px) + var(--nish-bottom-bar-h,0px))}@media (width>=640px){:root{--nish-page-gutter:1.5rem}}@media (hover:hover) and (pointer:fine){html{scrollbar-gutter:stable}}.nish-scroll-target{scroll-margin-top:calc(var(--nish-header-h,0px) + var(--nish-sticky-extra,0px) + .5rem)}.nish-scroll-fade{--nish-fade-start:#000;--nish-fade-end:#000;mask-image:linear-gradient(to right, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end));-webkit-mask-image:linear-gradient(to right, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end))}.nish-scroll-fade[data-at-start=false]{--nish-fade-start:transparent}.nish-scroll-fade[data-at-end=false]{--nish-fade-end:transparent}.nish-no-scrollbar{scrollbar-width:none}.nish-no-scrollbar::-webkit-scrollbar{display:none}.nish-pad-bottom-inset{padding-bottom:max(calc(var(--nish-bottom-inset) + 1rem), calc(1rem + env(safe-area-inset-bottom)))}:where([data-theme]:not(html)){background-color:var(--nish-bg);color:var(--nish-hi)}table,.nish-tabular{font-variant-numeric:tabular-nums}::selection{background:color-mix(in srgb, var(--nish-accent) 30%, transparent)}:focus-visible{outline:var(--nish-focus-width) solid var(--nish-focus);outline-offset:var(--nish-focus-offset)}.recharts-wrapper,.recharts-wrapper :focus{outline:none}.recharts-wrapper:focus-visible,.recharts-wrapper :focus-visible{outline:1px solid color-mix(in srgb, var(--nish-accent) 45%, transparent);outline-offset:2px;border-radius:var(--nish-radius-sm)}.recharts-rectangle.recharts-tooltip-cursor{fill:color-mix(in srgb, var(--nish-hi3) 14%, transparent)}.recharts-curve.recharts-tooltip-cursor{stroke:var(--nish-line-strong)}*{scrollbar-width:thin;scrollbar-color:var(--nish-line-strong) transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--nish-line-strong);background-clip:padding-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background:var(--nish-ghost);background-clip:padding-box;border:2px solid #0000}.nish-pill-link{font-family:var(--nish-font-sans);color:var(--nish-hi2);border:1px solid var(--nish-line);white-space:nowrap;box-sizing:border-box;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;min-height:44px;padding:4px 12px;font-size:14px;line-height:1.2;text-decoration:none;display:inline-flex}.nish-pill-link:hover{color:var(--nish-hi);border-color:var(--nish-line-strong)}@media (width<=480px){.nish-pill-link--compact{min-width:var(--nish-tap-min,44px);justify-content:center;padding-inline:6px}.nish-pill-link--compact .nish-pill-link-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.nish-pill-link--compact[data-compact=always]{min-width:var(--nish-tap-min,44px);justify-content:center;padding-inline:6px}.nish-pill-link--compact[data-compact=always] .nish-pill-link-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.scrollbar-none{scrollbar-width:none;-ms-overflow-style:none}.scrollbar-none::-webkit-scrollbar{display:none}.nish-skip-link{top:var(--nish-space-2);z-index:var(--nish-z-tooltip);transform:translateY(calc(-100% - var(--nish-space-4)));opacity:0;pointer-events:none;white-space:nowrap;min-height:var(--nish-tap-min);padding:0 var(--nish-space-4);border:1px solid var(--nish-line-strong);border-radius:var(--nish-radius-sm);background:var(--nish-elevated);color:var(--nish-hi);box-shadow:var(--nish-shadow-pop);font-size:var(--nish-text-sm);font-weight:var(--nish-weight-medium);align-items:center;text-decoration:none;display:inline-flex;position:fixed;inset-inline-start:var(--nish-space-2)}.nish-skip-link:focus,.nish-skip-link:focus-visible{opacity:1;pointer-events:auto;transform:none}kbd{font-family:var(--nish-font-mono);border:1px solid var(--nish-line-strong);border-radius:var(--nish-radius-xs);background:var(--nish-elevated);color:inherit;white-space:nowrap;padding:0 .35em;font-size:.85em}.nish-safe-area{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.nish-skeleton{background:var(--nish-elevated);position:relative;overflow:hidden}.nish-skeleton:after{content:"";background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--nish-overlay) 70%, transparent), transparent);animation:1.4s infinite nish-sheen;position:absolute;inset:0;transform:translate(-100%)}@keyframes nish-sheen{to{transform:translate(100%)}}@keyframes nish-sheet-out{0%{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes nish-fade-out{0%{opacity:1}to{opacity:0}}@keyframes nish-toast-in-top{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@keyframes nish-bar-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes nish-loading-bar{0%{transform:translate(-100%)}to{transform:translate(250%)}}@keyframes nish-pulse{50%{opacity:.35}}@keyframes nish-fade-in{0%{opacity:0}to{opacity:1}}@keyframes nish-rise-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes nish-sheet-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes nish-slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes nish-slide-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@property --nish-flow-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes nish-flow-spin{to{transform:rotate(360deg)}}@keyframes nish-flow-ripple{0%{opacity:.45;transform:scale(1)}to{opacity:0;transform:scale(1.9)}}@keyframes nish-flow-draw{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}@keyframes nish-flow-pop{0%{transform:scale(.7)}60%{transform:scale(1.12)}to{transform:scale(1)}}@keyframes nish-flow-shake{0%,to{transform:translate(0)}20%{transform:translate(-4px)}40%{transform:translate(4px)}60%{transform:translate(-3px)}80%{transform:translate(2px)}}@keyframes nish-flow-enter{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}@keyframes nish-flow-exit{0%{opacity:1;grid-template-rows:1fr;transform:none}to{opacity:0;grid-template-rows:0fr;transform:translateY(-8px)scale(.96)}}@keyframes nish-flow-feed-in{0%{opacity:0;grid-template-rows:0fr;transform:translateY(-6px)}to{opacity:1;grid-template-rows:1fr;transform:none}}@keyframes nish-flow-flash{0%{background-color:var(--nish-accent-soft)}to{background-color:#0000}}@keyframes nish-flow-dash{to{stroke-dashoffset:-6px}}@keyframes nish-flow-shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes nish-flow-shimmer-v{0%{transform:translateY(-100%)}to{transform:translateY(100%)}}@keyframes nish-flow-sweep{0%{opacity:1;transform:scaleX(0)}to{opacity:0;transform:scaleX(1)}}@keyframes nish-flow-sweep-v{0%{opacity:1;transform:scaleY(0)}to{opacity:0;transform:scaleY(1)}}@keyframes nish-flow-ticker-in{0%{opacity:0;transform:translateY(70%)}to{opacity:1;transform:none}}@keyframes nish-flow-ticker-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(-70%)}}@keyframes nish-flow-ring{to{--nish-flow-angle:360deg}}@keyframes nish-flow-glow{0%,to{opacity:.25}50%{opacity:1}}.nish-flow-steps-box{min-width:0;container-type:inline-size}.nish-flow-steps{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.nish-flow-step{align-items:flex-start;gap:.75rem;min-height:3rem;display:flex;position:relative}.nish-flow-step:last-child{min-height:2.75rem}.nish-flow-node{flex:none;position:relative}.nish-flow-text{overflow-wrap:anywhere;flex-direction:column;min-width:0;padding-top:.25rem;display:flex}.nish-flow-conn{top:2rem;bottom:.25rem;background-color:var(--nish-line);border-radius:1px;width:2px;position:absolute;inset-inline-start:calc(.875rem - 1px);overflow:hidden}.nish-flow-fill,.nish-flow-shimmer,.nish-flow-sweep{position:absolute;inset:0}.nish-flow-fill{background-color:var(--nish-ok-fill);transform-origin:top;transform:scaleY(0)}.nish-flow-conn[data-on=true] .nish-flow-fill{transform:scaleY(1)}.nish-flow-shimmer{background:linear-gradient(180deg, transparent, var(--nish-accent), transparent);display:none}.nish-flow-sweep{transform-origin:top;background:linear-gradient(180deg, var(--nish-accent), var(--nish-ok-fill));display:none}.nish-flow-arc,.nish-flow-ripple{display:none}.nish-flow-arc{pointer-events:none;position:absolute;inset:0}.nish-flow-ripple{border:1px solid var(--nish-accent);pointer-events:none;border-radius:9999px;position:absolute;inset:0}.nish-flow-check path{stroke-dasharray:1;stroke-dashoffset:0}.nish-flow-steps[data-orient=horizontal]{flex-direction:row}.nish-flow-steps[data-orient=horizontal] .nish-flow-step{text-align:center;flex-direction:column;flex:1 1 0;align-items:center;gap:.5rem;min-width:0;min-height:0;padding:0 .25rem}.nish-flow-steps[data-orient=horizontal] .nish-flow-text{align-items:center;padding-top:0}.nish-flow-steps[data-orient=horizontal] .nish-flow-label{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nish-flow-steps[data-orient=horizontal] .nish-flow-conn{top:calc(.875rem - 1px);inset-inline-end:calc(1.125rem - 50%);bottom:auto;width:auto;height:2px;inset-inline-start:calc(50% + 1.125rem)}.nish-flow-steps[data-orient=horizontal] .nish-flow-fill{transform-origin:0;transform:scaleX(0)}.nish-flow-steps[data-orient=horizontal] .nish-flow-conn[data-on=true] .nish-flow-fill{transform:scaleX(1)}.nish-flow-steps[data-orient=horizontal] .nish-flow-shimmer{background:linear-gradient(90deg, transparent, var(--nish-accent), transparent)}.nish-flow-steps[data-orient=horizontal] .nish-flow-sweep{transform-origin:0;background:linear-gradient(90deg, var(--nish-accent), var(--nish-ok-fill))}@container (width>=640px){.nish-flow-steps[data-orient=auto]{flex-direction:row}.nish-flow-steps[data-orient=auto] .nish-flow-step{text-align:center;flex-direction:column;flex:1 1 0;align-items:center;gap:.5rem;min-width:0;min-height:0;padding:0 .25rem}.nish-flow-steps[data-orient=auto] .nish-flow-text{align-items:center;padding-top:0}.nish-flow-steps[data-orient=auto] .nish-flow-label{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nish-flow-steps[data-orient=auto] .nish-flow-conn{top:calc(.875rem - 1px);inset-inline-end:calc(1.125rem - 50%);bottom:auto;width:auto;height:2px;inset-inline-start:calc(50% + 1.125rem)}.nish-flow-steps[data-orient=auto] .nish-flow-fill{transform-origin:0;transform:scaleX(0)}.nish-flow-steps[data-orient=auto] .nish-flow-conn[data-on=true] .nish-flow-fill{transform:scaleX(1)}.nish-flow-steps[data-orient=auto] .nish-flow-shimmer{background:linear-gradient(90deg, transparent, var(--nish-accent), transparent)}.nish-flow-steps[data-orient=auto] .nish-flow-sweep{transform-origin:0;background:linear-gradient(90deg, var(--nish-accent), var(--nish-ok-fill))}}.nish-flow-agent{position:relative}.nish-flow-agent[data-state=running]{border-color:var(--nish-accent)}.nish-flow-board-box{min-width:0;container-type:inline-size}.nish-flow-board{gap:.75rem;display:grid}.nish-flow-phase{min-width:0;position:relative}.nish-flow-phase:after{content:"";border-radius:inherit;pointer-events:none;opacity:0;position:absolute;inset:-1px}.nish-flow-phase[data-state=active]:after{opacity:1;box-shadow:0 0 0 1px var(--nish-accent), 0 0 16px var(--nish-accent-soft)}.nish-flow-phase-conn{top:1.375rem;width:1.5rem;height:12px;color:var(--nish-line-strong);margin-top:-6px;display:none;position:absolute;inset-inline-start:100%}.nish-flow-phase-conn[data-flow=true]{color:var(--nish-accent)}@container (width>=720px){.nish-flow-board{overscroll-behavior-x:contain;grid-auto-columns:minmax(220px,1fr);grid-auto-flow:column;gap:1.5rem;padding:.25rem;overflow-x:auto}.nish-flow-phase-conn{display:block}}.nish-flow-feed{margin:0;padding:0;list-style:none}.nish-flow-feed-item{grid-template-rows:1fr;display:grid;position:relative}.nish-flow-feed-item:before{content:"";top:0;bottom:0;background-color:var(--nish-line);width:1px;position:absolute;inset-inline-start:calc(.25rem - .5px)}.nish-flow-feed-item:first-child:before{top:.875rem}.nish-flow-feed-item:last-child:before{bottom:calc(100% - .875rem)}.nish-flow-feed-inner{min-height:0;overflow:hidden}.nish-flow-feed-row{border-radius:.375rem;grid-template-columns:minmax(0,1fr) auto;gap:0 .75rem;padding:.375rem .25rem .375rem 1.5rem;display:grid;position:relative}.nish-flow-feed-dot{top:.625rem;border-radius:9999px;width:.5rem;height:.5rem;position:absolute;inset-inline-start:0}.nish-flow-ticker{min-width:0;display:grid;overflow:hidden}.nish-flow-ticker>span{text-overflow:ellipsis;white-space:nowrap;grid-area:1/1;min-width:0;display:block;overflow:hidden}.nish-flow-item{grid-template-rows:1fr;display:grid}.nish-flow-item-inner{min-width:0;min-height:0}.nish-flow-item[data-phase=exit]{pointer-events:none}.nish-flow-item[data-phase=exit]>.nish-flow-item-inner{overflow:hidden}@media (prefers-reduced-motion:no-preference){.nish-flow-rise{animation:nish-rise-in .32s var(--nish-ease-out) both;animation-delay:var(--nish-flow-delay,0s)}.nish-flow-arc{animation:1.1s linear infinite nish-flow-spin;display:block}.nish-flow-ripple{animation:1.6s ease-out infinite nish-flow-ripple;display:block}.nish-flow-fill{transition:transform .5s var(--nish-ease-out)}.nish-flow-steps[data-sweep=true] .nish-flow-fill{transition-delay:var(--nish-flow-delay,0s)}.nish-flow-step[data-status=active]>.nish-flow-conn>.nish-flow-shimmer{animation:1.4s linear infinite nish-flow-shimmer-v;display:block}.nish-flow-steps[data-sweep=true] .nish-flow-sweep{opacity:0;animation:.7s ease-out both nish-flow-sweep-v;animation-delay:var(--nish-flow-delay,0s);display:block}.nish-flow-node[data-fx=done]{animation:nish-flow-pop .32s var(--nish-ease-out)}.nish-flow-node[data-fx=done] .nish-flow-check path{animation:.36s ease-out both nish-flow-draw}.nish-flow-node[data-fx=failed]{animation:.3s ease-in-out nish-flow-shake}.nish-flow-steps[data-orient=horizontal] .nish-flow-step[data-status=active]>.nish-flow-conn>.nish-flow-shimmer{animation-name:nish-flow-shimmer}.nish-flow-steps[data-orient=horizontal] .nish-flow-sweep{animation-name:nish-flow-sweep}@container (width>=640px){.nish-flow-steps[data-orient=auto] .nish-flow-step[data-status=active]>.nish-flow-conn>.nish-flow-shimmer{animation-name:nish-flow-shimmer}.nish-flow-steps[data-orient=auto] .nish-flow-sweep{animation-name:nish-flow-sweep}}.nish-flow-agent[data-state=running]:before{content:"";border-radius:inherit;pointer-events:none;background:conic-gradient(from var(--nish-flow-angle), transparent 0deg, transparent 230deg, var(--nish-accent) 360deg);-webkit-mask-composite:xor;padding:1px;animation:2.4s linear infinite nish-flow-ring;position:absolute;inset:-1px;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor,source-over;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.nish-flow-agent-spin{animation:.9s linear infinite nish-flow-spin}.nish-flow-agent[data-fx=done] .nish-flow-agent-icon{animation:nish-flow-pop .3s var(--nish-ease-out)}.nish-flow-agent[data-fx=done] .nish-flow-check path{animation:.3s ease-out both nish-flow-draw}.nish-flow-agent[data-fx=failed]{animation:.3s ease-in-out nish-flow-shake}.nish-flow-phase[data-state=active]:after{animation:2s ease-in-out infinite nish-flow-glow}.nish-flow-phase-conn[data-flow=true] .nish-flow-dashline{animation:1s linear infinite nish-flow-dash}.nish-flow-feed-item[data-fresh=true]{animation:nish-flow-feed-in .32s var(--nish-ease-out) both}.nish-flow-feed-item[data-fresh=true] .nish-flow-feed-row{animation:1.2s ease-out both nish-flow-flash}.nish-flow-ticker-in{animation:nish-flow-ticker-in .26s var(--nish-ease-out) both}.nish-flow-ticker-out{animation:.2s ease-in both nish-flow-ticker-out}.nish-flow-item[data-phase=enter]{animation:.38s ease-out both nish-flow-enter}.nish-flow-item[data-phase=exit]{animation:nish-flow-exit var(--nish-flow-exit-ms,.42s) ease-in both}}.nish-prose{color:var(--nish-hi2);font-size:var(--nish-text-sm);line-height:var(--nish-text-sm-lh);overflow-wrap:anywhere}.nish-prose>:where(:first-child){margin-top:0}.nish-prose>:where(:last-child){margin-bottom:0}.nish-prose :where(p,ul,ol,blockquote,pre,table,hr,figure){margin:.75em 0}.nish-prose :where(h1,h2,h3,h4,h5,h6){color:var(--nish-hi);font-weight:var(--nish-weight-semibold);letter-spacing:var(--nish-tracking-tight);margin:1.4em 0 .5em;line-height:1.3}.nish-prose :where(h1){font-size:1.6em}.nish-prose :where(h2){font-size:1.35em}.nish-prose :where(h3){font-size:1.15em}.nish-prose :where(h4,h5,h6){font-size:1em}.nish-prose :where(strong,b){color:var(--nish-hi);font-weight:var(--nish-weight-semibold)}.nish-prose :where(a){color:var(--nish-accent);text-underline-offset:2px;text-decoration:underline 1px}.nish-prose :where(a:hover){text-decoration-thickness:2px}.nish-prose :where(ul,ol){padding-inline-start:1.4em}.nish-prose :where(ul){list-style:outside}.nish-prose :where(ol){list-style:decimal}.nish-prose :where(li){margin:.25em 0}.nish-prose :where(li)::marker{color:var(--nish-hi3)}.nish-prose :where(li>ul,li>ol){margin:.25em 0}.nish-prose :where(ul:has(>li>input[type=checkbox])){padding-inline-start:.25em;list-style:none}.nish-prose :where(li>input[type=checkbox]){vertical-align:-.1em;accent-color:var(--nish-accent);margin:0 .5em 0 0}.nish-prose :where(blockquote){border-inline-start:3px solid var(--nish-line-strong);color:var(--nish-hi2);padding-inline-start:1em}.nish-prose :where(hr){border:0;border-top:1px solid var(--nish-line);margin:1.5em 0}.nish-prose :where(code){font-family:var(--nish-font-mono);border-radius:var(--nish-radius-xs);background:var(--nish-elevated);color:var(--nish-hi);padding:.1em .35em;font-size:.875em}.nish-prose :where(pre){padding:var(--nish-space-3) var(--nish-space-4);border:1px solid var(--nish-line);border-radius:var(--nish-radius-sm);background:var(--nish-elevated);line-height:1.55;overflow-x:auto}.nish-prose :where(pre code){overflow-wrap:normal;background:0 0;padding:0;font-size:.85em}.nish-prose :where(table){border-collapse:collapse;width:100%;display:block;overflow-x:auto}.nish-prose :where(th,td){border-bottom:1px solid var(--nish-line);text-align:start;vertical-align:top;padding:.4em .75em}.nish-prose :where(th){color:var(--nish-hi);font-weight:var(--nish-weight-semibold);border-bottom-color:var(--nish-line-strong)}.nish-prose :where(img,video){border-radius:var(--nish-radius-sm);max-width:100%;height:auto}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}.nish-spin,[data-nish-spin],.nish-spinner{animation:1.6s ease-in-out infinite nish-pulse!important}}.nish-canvas{--c:var(--nish-accent);--c-soft:var(--nish-accent-soft);touch-action:none;overscroll-behavior:contain;-webkit-user-select:none;user-select:none;cursor:grab;background-color:var(--nish-bg);background-image:linear-gradient(to right, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px), linear-gradient(to right, color-mix(in srgb, var(--nish-line) 28%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--nish-line) 28%, transparent) 1px, transparent 1px);background-position:0 0;background-size:120px 120px,120px 120px,24px 24px,24px 24px;width:100%;position:relative;overflow:clip}.nish-canvas[data-grid=major]{background-image:linear-gradient(to right, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--nish-line-strong) 38%, transparent) 1px, transparent 1px)}.nish-canvas[data-dragging=true]{cursor:grabbing}.nish-canvas:focus-visible{outline:2px solid var(--nish-focus);outline-offset:-2px}.nish-canvas-world{transform-origin:0 0;will-change:transform;position:absolute;top:0;left:0}.nish-canvas-coltitle{font-size:12px;font-weight:var(--nish-weight-semibold);letter-spacing:.08em;text-transform:uppercase;color:var(--nish-hi3);white-space:nowrap;z-index:1;background:var(--nish-bg);border-radius:999px;padding:2px 8px;position:absolute}.nish-canvas-group{z-index:0;border:1px solid var(--nish-line);background:linear-gradient(to bottom, var(--c-soft), transparent 60%), var(--nish-surface);border-radius:16px;transition:border-color .3s,box-shadow .3s,opacity .2s;position:absolute;overflow:hidden}.nish-canvas-group[data-live]{border-color:var(--c);box-shadow:0 0 22px color-mix(in srgb, var(--c) 28%, transparent)}.nish-canvas-group[data-selected],.nish-canvas-node[data-selected]{outline:2px solid var(--nish-accent);outline-offset:2px}.nish-canvas-group[data-selected]{overflow:visible}.nish-canvas-band{inset-inline:0;background:var(--c);height:3px;position:absolute;top:0}.nish-canvas-head{text-align:start;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;width:100%;height:52px;padding:3px 16px 0;display:flex}.nish-canvas-headtext{flex-direction:column;min-width:0;display:flex}.nish-canvas-title{font-weight:var(--nish-weight-semibold);color:var(--nish-hi);text-overflow:ellipsis;white-space:nowrap;line-height:1.25;overflow:hidden}.nish-canvas-subtitle{color:var(--nish-hi3);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.3;overflow:hidden}.nish-canvas-badge{flex-shrink:0}.nish-canvas-slot{z-index:2;transition:opacity .2s;position:absolute}.nish-canvas-slot[data-dim]{opacity:.35}.nish-canvas-slot[data-active]{z-index:3}.nish-canvas-node{text-align:start;cursor:pointer;border:1px solid var(--nish-line);background:var(--nish-bg);border-radius:12px;align-items:center;gap:8px;width:100%;height:100%;padding:0 10px;transition:border-color .4s,box-shadow .6s,background-color .3s;display:flex;position:relative}.nish-canvas-node:where([data-heat]){border-color:var(--nish-canvas-heat-line,var(--nish-line));box-shadow:var(--nish-canvas-heat-glow,none)}.nish-canvas-node:hover{border-color:color-mix(in srgb, var(--c) 55%, var(--nish-line))}.nish-canvas-node[data-active]{border-color:var(--c);background:color-mix(in srgb, var(--c) 10%, var(--nish-bg))}.nish-canvas-icon{width:28px;height:28px;color:var(--c);background:var(--c-soft);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.nish-canvas-text{flex-direction:column;flex:1;min-width:0;display:flex}.nish-canvas-label{font-size:13px;font-weight:var(--nish-weight-medium);color:var(--nish-hi);text-overflow:ellipsis;white-space:nowrap;line-height:1.25;overflow:hidden}.nish-canvas-detail{color:var(--nish-hi3);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.3;overflow:hidden}.nish-canvas-count{min-width:18px;font-size:11px;font-weight:var(--nish-weight-semibold);text-align:center;color:var(--nish-bg);background:var(--c);border-radius:9px;flex-shrink:0;padding:0 5px;line-height:18px}.nish-canvas-live{top:-3px;background:var(--c);width:9px;height:9px;box-shadow:0 0 0 2px var(--nish-bg);border-radius:50%;position:absolute;inset-inline-end:-3px}.nish-canvas-note{color:var(--c);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:1.3;display:block;overflow:hidden}.nish-canvas-edges,.nish-canvas-ports{z-index:0;pointer-events:none;position:absolute;top:0;left:0;overflow:visible}.nish-canvas-edge{transition:opacity .2s}.nish-canvas-edge-line{stroke:var(--nish-line-strong);stroke-width:1.5px;transition:stroke .4s}.nish-canvas-edge[data-line=dashed] .nish-canvas-edge-line{stroke-dasharray:6 5}.nish-canvas-edge[data-line=dotted] .nish-canvas-edge-line{stroke-dasharray:.5 6;stroke-linecap:round;stroke-width:2.25px}.nish-canvas-edge[data-active] .nish-canvas-edge-line{stroke:var(--c);stroke-width:2px}.nish-canvas-arrow{fill:var(--nish-line-strong);transition:fill .4s}.nish-canvas-edge[data-active] .nish-canvas-arrow{fill:var(--c)}.nish-canvas[data-focus] .nish-canvas-edge:not([data-hot]){opacity:.1}.nish-canvas[data-focus] .nish-canvas-edge[data-hot] .nish-canvas-edge-line{stroke:var(--c);stroke-width:2.5px}.nish-canvas[data-focus] .nish-canvas-edge[data-hot] .nish-canvas-arrow{fill:var(--c)}.nish-canvas[data-focus] .nish-canvas-group:not([data-related]){opacity:.5}.nish-canvas[data-lod=far] :is(.nish-canvas-detail,.nish-canvas-note,.nish-canvas-subtitle,.nish-canvas-badge){visibility:hidden}.nish-canvas[data-lod=far] .nish-canvas-label{font-size:19px}.nish-canvas[data-lod=far] .nish-canvas-title{font-size:24px}.nish-canvas[data-lod=far] .nish-canvas-coltitle{font-size:20px}.nish-canvas[data-lod=far] .nish-canvas-icon{transform:scale(1.25)}.nish-canvas-ports{z-index:4}.nish-canvas-port{fill:var(--nish-line-strong);transition:fill .4s}.nish-canvas-port[data-active]{fill:var(--c)}.nish-canvas-dot{fill:var(--c);display:none}.nish-canvas-edge-label{fill:var(--nish-hi3);paint-order:stroke;stroke:var(--nish-bg);stroke-width:4px;stroke-linejoin:round;font-size:11px}.nish-canvas-controls{inset-inline-end:12px;z-index:5;border:1px solid var(--nish-line);background:var(--nish-surface);box-shadow:var(--nish-shadow-md,0 4px 14px #0000002e);cursor:default;border-radius:14px;align-items:center;gap:2px;padding:2px 4px 2px 12px;display:flex;position:absolute;bottom:12px}.nish-canvas-zoom{font-variant-numeric:tabular-nums;min-width:3ch;color:var(--nish-hi3);margin-inline-end:4px;font-size:12px}@keyframes nish-canvas-rise{0%{opacity:0;transform:translateY(14px)scale(.97)}to{opacity:1;transform:none}}@keyframes nish-canvas-ring{0%{opacity:.6;transform:scale(1)}to{opacity:0;transform:scale(1.15)}}@keyframes nish-canvas-ping{0%{transform:scale(.96)}50%{transform:scale(1.04)}to{transform:scale(1)}}@keyframes nish-canvas-glow{0%,to{opacity:.3}50%{opacity:1}}@keyframes nish-canvas-travel{0%{offset-distance:0%}to{offset-distance:100%}}@keyframes nish-canvas-live{0%,to{transform:scale(1)}50%{transform:scale(1.35)}}@keyframes nish-canvas-fade{0%{opacity:0}}@media (prefers-reduced-motion:no-preference){.nish-canvas[data-relayout] .nish-canvas-group{transition:border-color .3s, box-shadow .3s, opacity .2s, left .45s var(--nish-ease-out), top .45s var(--nish-ease-out)}.nish-canvas[data-relayout] .nish-canvas-slot{transition:opacity .2s, left .45s var(--nish-ease-out), top .45s var(--nish-ease-out)}.nish-canvas[data-relayout] :is(.nish-canvas-edges,.nish-canvas-ports){animation:nish-canvas-fade .3s var(--nish-ease-out) both}.nish-canvas-group,.nish-canvas-slot{animation:nish-canvas-rise .42s var(--nish-ease-out) backwards;animation-delay:var(--nish-canvas-delay,0s)}.nish-canvas-group[data-live]:before{content:"";border-radius:inherit;box-shadow:inset 0 0 26px color-mix(in srgb, var(--c) 45%, transparent);pointer-events:none;opacity:.3;animation:2.4s ease-in-out infinite nish-canvas-glow;position:absolute;inset:0}.nish-canvas-node[data-active]:after{content:"";border-radius:inherit;border:2px solid var(--c);pointer-events:none;animation:1.6s ease-out infinite nish-canvas-ring;position:absolute;inset:-1px}.nish-canvas-node[data-fx=ping]{animation:nish-canvas-ping .4s var(--nish-ease-out)}.nish-canvas-live{animation:1.2s ease-in-out infinite nish-canvas-live}.nish-canvas-edge[data-active] .nish-canvas-dot{offset-rotate:0deg;animation:1.6s linear infinite nish-canvas-travel;display:block}}@media (forced-colors:active){[aria-selected=true],[aria-pressed=true],[aria-current]:not([aria-current=false]),[role=radio][aria-checked=true],[role=tab][aria-selected=true]{outline-offset:-2px;outline:2px solid highlight}[aria-disabled=true],:disabled{color:graytext;border-color:graytext}:focus-visible{outline:var(--nish-focus-width,2px) solid Highlight;outline-offset:var(--nish-focus-offset,2px)}.nish-flow-fill,.nish-flow-sweep{forced-color-adjust:none;background-color:highlight}.nish-flow-conn{forced-color-adjust:none;background-color:graytext}}html[data-nish-theme-switching] *,html[data-nish-theme-switching] :before,html[data-nish-theme-switching] :after{transition:none!important}@media print{:root,[data-theme]{color-scheme:light!important;--nish-bg:#f7f6f3!important;--nish-surface:#fff!important;--nish-elevated:#f1f0ec!important;--nish-overlay:#e6e4de!important;--nish-line:#e2e0da!important;--nish-line-strong:#c9c6bd!important;--nish-line-control:#8a8881!important;--nish-hi:#17171c!important;--nish-hi2:#4f515c!important;--nish-hi3:#626470!important;--nish-ghost:#8a8c98!important;--nish-accent:#4338ca!important;--nish-accent2:#7e22ce!important;--nish-on-accent:#fff!important;--nish-on-accent2:#fff!important;--nish-on-ok:#0a0a0c!important;--nish-on-loss:#fff!important;--nish-on-warn:#0a0a0c!important;--nish-on-info:#0a0a0c!important;--nish-ok:#065f46!important;--nish-loss:#a91b1b!important;--nish-warn:#92400e!important;--nish-info:#075985!important;--nish-ok-fill:#059669!important;--nish-loss-fill:#dc2626!important;--nish-warn-fill:#c96d06!important;--nish-info-fill:#0284c7!important;--nish-scrim:#17171c!important;--nish-invert-bg:#17171c!important;--nish-invert-text:#f7f6f3!important;--nish-chart-1:#6366f1!important;--nish-chart-2:#059669!important;--nish-chart-3:#c96d06!important;--nish-chart-4:#f43f5e!important;--nish-chart-5:#0284c7!important;--nish-chart-6:#a855f7!important;--nish-chart-7:#ea580c!important;--nish-chart-8:#5a910c!important;--nish-emerald:#046d4f!important;--nish-indigo:#4e45e3!important;--nish-amber:#9b4708!important;--nish-lime:#41690d!important;--nish-rose:#b8113a!important;--nish-sky:#036499!important;--nish-violet:#7e22ce!important;--nish-teal:#0e6b64!important}html,body{color:#000!important;background:#fff!important}*,:before,:after{box-shadow:none!important;text-shadow:none!important}[data-nish-print=hide]{display:none!important}[data-nish-bar]{position:static!important}.nish-skip-link{display:none!important}}.nish-flow-steps[data-orient=horizontal]:dir(rtl) .nish-flow-fill,.nish-flow-steps[data-orient=horizontal]:dir(rtl) .nish-flow-sweep{transform-origin:100%}@container (width>=640px){.nish-flow-steps[data-orient=auto]:dir(rtl) .nish-flow-fill,.nish-flow-steps[data-orient=auto]:dir(rtl) .nish-flow-sweep{transform-origin:100%}}.nish-scroll-fade:dir(rtl){mask-image:linear-gradient(to left, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end));-webkit-mask-image:linear-gradient(to left, var(--nish-fade-start), #000 24px, #000 calc(100% - 24px), var(--nish-fade-end))}}
|
package/dist/node/eslint.js
CHANGED
|
@@ -11,7 +11,9 @@ var COLOR_ROLES = [
|
|
|
11
11
|
"line",
|
|
12
12
|
// borders and dividers
|
|
13
13
|
"line-strong",
|
|
14
|
-
//
|
|
14
|
+
// strong dividers, focused outlines that are not the accent
|
|
15
|
+
"line-control",
|
|
16
|
+
// form-control borders: at least 3:1 on surface and elevated
|
|
15
17
|
"hi",
|
|
16
18
|
// primary text
|
|
17
19
|
"hi2",
|
|
@@ -97,7 +99,7 @@ var LIGHT_HUES = {
|
|
|
97
99
|
var DARK_CHART = ["#8b93ff", "#34d399", "#fbbf24", "#fb7185", "#38bdf8", "#c084fc", "#fb923c", "#a3e635"];
|
|
98
100
|
var LIGHT_CHART = ["#6366f1", "#059669", "#c96d06", "#f43f5e", "#0284c7", "#a855f7", "#ea580c", "#5a910c"];
|
|
99
101
|
var chart = (list) => Object.fromEntries(list.map((c, i) => [`chart-${i + 1}`, c]));
|
|
100
|
-
var
|
|
102
|
+
var RAW_THEMES = {
|
|
101
103
|
dark: {
|
|
102
104
|
label: "Dark",
|
|
103
105
|
scheme: "dark",
|
|
@@ -108,6 +110,7 @@ var THEMES = {
|
|
|
108
110
|
overlay: "#22252f",
|
|
109
111
|
line: "#262935",
|
|
110
112
|
"line-strong": "#3a3e4d",
|
|
113
|
+
"line-control": "#666975",
|
|
111
114
|
hi: "#ececf1",
|
|
112
115
|
hi2: "#a8aab7",
|
|
113
116
|
hi3: "#8a8d9b",
|
|
@@ -136,9 +139,10 @@ var THEMES = {
|
|
|
136
139
|
overlay: "#e6e4de",
|
|
137
140
|
line: "#e2e0da",
|
|
138
141
|
"line-strong": "#c9c6bd",
|
|
142
|
+
"line-control": "#8a8881",
|
|
139
143
|
hi: "#17171c",
|
|
140
144
|
hi2: "#4f515c",
|
|
141
|
-
hi3: "#
|
|
145
|
+
hi3: "#626470",
|
|
142
146
|
ghost: "#8a8c98",
|
|
143
147
|
accent: "#4338ca",
|
|
144
148
|
accent2: "#7e22ce",
|
|
@@ -174,9 +178,10 @@ var THEMES = {
|
|
|
174
178
|
overlay: "#36363d",
|
|
175
179
|
line: "#3a3a42",
|
|
176
180
|
"line-strong": "#52525b",
|
|
181
|
+
"line-control": "#77777e",
|
|
177
182
|
hi: "#f4f4f5",
|
|
178
|
-
hi2: "#
|
|
179
|
-
hi3: "#
|
|
183
|
+
hi2: "#b8b8c0",
|
|
184
|
+
hi3: "#a0a0a8",
|
|
180
185
|
ghost: "#71717a",
|
|
181
186
|
accent: "#a5b4fc",
|
|
182
187
|
accent2: "#c084fc",
|
|
@@ -206,6 +211,7 @@ var THEMES = {
|
|
|
206
211
|
overlay: "#1c2820",
|
|
207
212
|
line: "#233028",
|
|
208
213
|
"line-strong": "#34483b",
|
|
214
|
+
"line-control": "#5c6c61",
|
|
209
215
|
hi: "#d1fae5",
|
|
210
216
|
hi2: "#8fc4a8",
|
|
211
217
|
hi3: "#74a68b",
|
|
@@ -234,9 +240,10 @@ var THEMES = {
|
|
|
234
240
|
overlay: "#44403c",
|
|
235
241
|
line: "#44403c",
|
|
236
242
|
"line-strong": "#57534e",
|
|
243
|
+
"line-control": "#83807c",
|
|
237
244
|
hi: "#f5f0eb",
|
|
238
|
-
hi2: "#
|
|
239
|
-
hi3: "#
|
|
245
|
+
hi2: "#c6c0bb",
|
|
246
|
+
hi3: "#b2ada8",
|
|
240
247
|
ghost: "#78716c",
|
|
241
248
|
accent: "#fdba74",
|
|
242
249
|
accent2: "#f472b6",
|
|
@@ -267,6 +274,7 @@ var THEMES = {
|
|
|
267
274
|
overlay: "#103658",
|
|
268
275
|
line: "#123050",
|
|
269
276
|
"line-strong": "#1f4a72",
|
|
277
|
+
"line-control": "#507291",
|
|
270
278
|
hi: "#e0f2fe",
|
|
271
279
|
hi2: "#9ccde6",
|
|
272
280
|
hi3: "#6fa9c6",
|
|
@@ -295,6 +303,7 @@ var THEMES = {
|
|
|
295
303
|
overlay: "#222222",
|
|
296
304
|
line: "#4a4a4a",
|
|
297
305
|
"line-strong": "#8a8a8a",
|
|
306
|
+
"line-control": "#8a8a8a",
|
|
298
307
|
hi: "#ffffff",
|
|
299
308
|
hi2: "#d4d4d4",
|
|
300
309
|
hi3: "#bdbdbd",
|
|
@@ -314,13 +323,19 @@ var THEMES = {
|
|
|
314
323
|
}
|
|
315
324
|
}
|
|
316
325
|
};
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
326
|
+
var withFills = (t) => {
|
|
327
|
+
const c = t.colors;
|
|
328
|
+
const fills = Object.fromEntries(
|
|
329
|
+
["ok", "loss", "warn", "info"].flatMap((r) => [
|
|
330
|
+
[`${r}-fill`, c[`${r}-fill`] ?? c[r]],
|
|
331
|
+
[`on-${r}`, c[`on-${r}`] ?? c["on-accent"]]
|
|
332
|
+
])
|
|
333
|
+
);
|
|
334
|
+
return { ...t, colors: { ...c, ...fills, "on-accent2": c["on-accent2"] ?? c["on-accent"] } };
|
|
335
|
+
};
|
|
336
|
+
var THEMES = /* @__PURE__ */ Object.fromEntries(
|
|
337
|
+
Object.entries(RAW_THEMES).map(([name, t]) => [name, withFills(t)])
|
|
338
|
+
);
|
|
324
339
|
|
|
325
340
|
// src/th-colors.mjs
|
|
326
341
|
var TH_COLORS = [
|
package/dist/node/th-check.js
CHANGED
|
@@ -18,7 +18,9 @@ var COLOR_ROLES = [
|
|
|
18
18
|
"line",
|
|
19
19
|
// borders and dividers
|
|
20
20
|
"line-strong",
|
|
21
|
-
//
|
|
21
|
+
// strong dividers, focused outlines that are not the accent
|
|
22
|
+
"line-control",
|
|
23
|
+
// form-control borders: at least 3:1 on surface and elevated
|
|
22
24
|
"hi",
|
|
23
25
|
// primary text
|
|
24
26
|
"hi2",
|
|
@@ -104,7 +106,7 @@ var LIGHT_HUES = {
|
|
|
104
106
|
var DARK_CHART = ["#8b93ff", "#34d399", "#fbbf24", "#fb7185", "#38bdf8", "#c084fc", "#fb923c", "#a3e635"];
|
|
105
107
|
var LIGHT_CHART = ["#6366f1", "#059669", "#c96d06", "#f43f5e", "#0284c7", "#a855f7", "#ea580c", "#5a910c"];
|
|
106
108
|
var chart = (list) => Object.fromEntries(list.map((c, i) => [`chart-${i + 1}`, c]));
|
|
107
|
-
var
|
|
109
|
+
var RAW_THEMES = {
|
|
108
110
|
dark: {
|
|
109
111
|
label: "Dark",
|
|
110
112
|
scheme: "dark",
|
|
@@ -115,6 +117,7 @@ var THEMES = {
|
|
|
115
117
|
overlay: "#22252f",
|
|
116
118
|
line: "#262935",
|
|
117
119
|
"line-strong": "#3a3e4d",
|
|
120
|
+
"line-control": "#666975",
|
|
118
121
|
hi: "#ececf1",
|
|
119
122
|
hi2: "#a8aab7",
|
|
120
123
|
hi3: "#8a8d9b",
|
|
@@ -143,9 +146,10 @@ var THEMES = {
|
|
|
143
146
|
overlay: "#e6e4de",
|
|
144
147
|
line: "#e2e0da",
|
|
145
148
|
"line-strong": "#c9c6bd",
|
|
149
|
+
"line-control": "#8a8881",
|
|
146
150
|
hi: "#17171c",
|
|
147
151
|
hi2: "#4f515c",
|
|
148
|
-
hi3: "#
|
|
152
|
+
hi3: "#626470",
|
|
149
153
|
ghost: "#8a8c98",
|
|
150
154
|
accent: "#4338ca",
|
|
151
155
|
accent2: "#7e22ce",
|
|
@@ -181,9 +185,10 @@ var THEMES = {
|
|
|
181
185
|
overlay: "#36363d",
|
|
182
186
|
line: "#3a3a42",
|
|
183
187
|
"line-strong": "#52525b",
|
|
188
|
+
"line-control": "#77777e",
|
|
184
189
|
hi: "#f4f4f5",
|
|
185
|
-
hi2: "#
|
|
186
|
-
hi3: "#
|
|
190
|
+
hi2: "#b8b8c0",
|
|
191
|
+
hi3: "#a0a0a8",
|
|
187
192
|
ghost: "#71717a",
|
|
188
193
|
accent: "#a5b4fc",
|
|
189
194
|
accent2: "#c084fc",
|
|
@@ -213,6 +218,7 @@ var THEMES = {
|
|
|
213
218
|
overlay: "#1c2820",
|
|
214
219
|
line: "#233028",
|
|
215
220
|
"line-strong": "#34483b",
|
|
221
|
+
"line-control": "#5c6c61",
|
|
216
222
|
hi: "#d1fae5",
|
|
217
223
|
hi2: "#8fc4a8",
|
|
218
224
|
hi3: "#74a68b",
|
|
@@ -241,9 +247,10 @@ var THEMES = {
|
|
|
241
247
|
overlay: "#44403c",
|
|
242
248
|
line: "#44403c",
|
|
243
249
|
"line-strong": "#57534e",
|
|
250
|
+
"line-control": "#83807c",
|
|
244
251
|
hi: "#f5f0eb",
|
|
245
|
-
hi2: "#
|
|
246
|
-
hi3: "#
|
|
252
|
+
hi2: "#c6c0bb",
|
|
253
|
+
hi3: "#b2ada8",
|
|
247
254
|
ghost: "#78716c",
|
|
248
255
|
accent: "#fdba74",
|
|
249
256
|
accent2: "#f472b6",
|
|
@@ -274,6 +281,7 @@ var THEMES = {
|
|
|
274
281
|
overlay: "#103658",
|
|
275
282
|
line: "#123050",
|
|
276
283
|
"line-strong": "#1f4a72",
|
|
284
|
+
"line-control": "#507291",
|
|
277
285
|
hi: "#e0f2fe",
|
|
278
286
|
hi2: "#9ccde6",
|
|
279
287
|
hi3: "#6fa9c6",
|
|
@@ -302,6 +310,7 @@ var THEMES = {
|
|
|
302
310
|
overlay: "#222222",
|
|
303
311
|
line: "#4a4a4a",
|
|
304
312
|
"line-strong": "#8a8a8a",
|
|
313
|
+
"line-control": "#8a8a8a",
|
|
305
314
|
hi: "#ffffff",
|
|
306
315
|
hi2: "#d4d4d4",
|
|
307
316
|
hi3: "#bdbdbd",
|
|
@@ -321,13 +330,19 @@ var THEMES = {
|
|
|
321
330
|
}
|
|
322
331
|
}
|
|
323
332
|
};
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
333
|
+
var withFills = (t) => {
|
|
334
|
+
const c = t.colors;
|
|
335
|
+
const fills = Object.fromEntries(
|
|
336
|
+
["ok", "loss", "warn", "info"].flatMap((r) => [
|
|
337
|
+
[`${r}-fill`, c[`${r}-fill`] ?? c[r]],
|
|
338
|
+
[`on-${r}`, c[`on-${r}`] ?? c["on-accent"]]
|
|
339
|
+
])
|
|
340
|
+
);
|
|
341
|
+
return { ...t, colors: { ...c, ...fills, "on-accent2": c["on-accent2"] ?? c["on-accent"] } };
|
|
342
|
+
};
|
|
343
|
+
var THEMES = /* @__PURE__ */ Object.fromEntries(
|
|
344
|
+
Object.entries(RAW_THEMES).map(([name, t]) => [name, withFills(t)])
|
|
345
|
+
);
|
|
331
346
|
|
|
332
347
|
// src/th-colors.mjs
|
|
333
348
|
var TH_COLORS = [
|
package/dist/node/vite.d.ts
CHANGED
|
@@ -10,14 +10,26 @@ interface NishThemeInitOptions {
|
|
|
10
10
|
/** An old localStorage key (e.g. 'theme') whose value is copied to 'nish-theme' once, when there is no
|
|
11
11
|
* nish-theme cookie or localStorage value yet. Runs before theme-init. */
|
|
12
12
|
legacyKey?: string;
|
|
13
|
+
/** CSP nonce for the injected inline script: a string, or a function called when the HTML is transformed.
|
|
14
|
+
* The script tag gets `nonce="…"`. Vite transforms index.html once at build time, so in a production build
|
|
15
|
+
* the value is baked into the file and every response carries it: for a real per-response nonce pass a
|
|
16
|
+
* placeholder such as `'__NISH_CSP_NONCE__'` and have your server replace it with a fresh random value on
|
|
17
|
+
* each response. For static hosting use the `hash` property of the plugin instead. A function gives a
|
|
18
|
+
* fresh value per request only in the dev server. Default: no nonce attribute. */
|
|
19
|
+
nonce?: string | (() => string);
|
|
13
20
|
}
|
|
14
21
|
/** Structurally compatible with Vite's `Plugin` for the one hook this plugin uses. */
|
|
15
22
|
interface NishThemeInitPlugin {
|
|
16
23
|
name: string;
|
|
24
|
+
/** CSP source (`'sha256-...'` without quotes) of the exact script this plugin injects, including any
|
|
25
|
+
* prelude or legacyKey code. Differs from dist/theme-init.sha256, which covers only the file as shipped.
|
|
26
|
+
* With a `nonce` set, the nonce is what CSP checks, not this hash. */
|
|
27
|
+
hash: string;
|
|
17
28
|
transformIndexHtml: {
|
|
18
29
|
order: 'pre';
|
|
19
30
|
handler: (html: string) => string | {
|
|
20
31
|
tag: string;
|
|
32
|
+
attrs?: Record<string, string>;
|
|
21
33
|
children: string;
|
|
22
34
|
injectTo: 'head-prepend';
|
|
23
35
|
}[];
|
package/dist/node/vite.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// src/node/vite.ts
|
|
2
|
+
import { createHash } from "crypto";
|
|
2
3
|
import { existsSync, readFileSync } from "fs";
|
|
3
4
|
import { fileURLToPath } from "url";
|
|
4
5
|
function nishThemeInit(o = {}) {
|
|
@@ -9,20 +10,29 @@ function nishThemeInit(o = {}) {
|
|
|
9
10
|
const code = [legacy, o.prelude, themeInit].filter(Boolean).join("\n");
|
|
10
11
|
const position = o.position ?? "auto";
|
|
11
12
|
const charset = /<meta\s+charset[^>]*>/i;
|
|
13
|
+
const nonceAttr = () => {
|
|
14
|
+
const n = typeof o.nonce === "function" ? o.nonce() : o.nonce;
|
|
15
|
+
return n ? n : void 0;
|
|
16
|
+
};
|
|
12
17
|
return {
|
|
13
18
|
name: "nish-theme-init",
|
|
19
|
+
hash: "sha256-" + createHash("sha256").update(code).digest("base64"),
|
|
14
20
|
transformIndexHtml: {
|
|
15
21
|
order: "pre",
|
|
16
22
|
handler: (html) => {
|
|
23
|
+
const nonce = nonceAttr();
|
|
17
24
|
if (position === "head-prepend" || position === "auto" && !charset.test(html)) {
|
|
18
|
-
return [{ tag: "script", children: code, injectTo: "head-prepend" }];
|
|
25
|
+
return [{ tag: "script", ...nonce ? { attrs: { nonce } } : {}, children: code, injectTo: "head-prepend" }];
|
|
19
26
|
}
|
|
20
27
|
if (!charset.test(html)) throw new Error("@nish/ui/vite: no <meta charset> in index.html");
|
|
21
|
-
return html.replace(charset, (m) => m + "<script>" + code + "</script>");
|
|
28
|
+
return html.replace(charset, (m) => m + (nonce ? `<script nonce="${escapeAttr(nonce)}">` : "<script>") + code + "</script>");
|
|
22
29
|
}
|
|
23
30
|
}
|
|
24
31
|
};
|
|
25
32
|
}
|
|
33
|
+
function escapeAttr(s) {
|
|
34
|
+
return s.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<");
|
|
35
|
+
}
|
|
26
36
|
export {
|
|
27
37
|
nishThemeInit
|
|
28
38
|
};
|
package/dist/server/hono.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { Context, MiddlewareHandler, Handler, Env, Hono, ErrorHandler } from 'hono';
|
|
2
|
-
import { InboxActionCall, InboxData, SessionAuth, Limiter, ManagedServiceTokens, CrossSiteOptions, SpaOptions } from './index.js';
|
|
2
|
+
import { InboxActionCall, InboxData, SessionAuth, Limiter, TrustProxy, ManagedServiceTokens, CrossSiteOptions, SpaOptions } from './index.js';
|
|
3
3
|
|
|
4
4
|
/** Node socket peer from @hono/node-server's c.env.incoming, else undefined. */
|
|
5
5
|
declare function remoteAddressOf(c: Context): string | undefined;
|
|
6
|
-
|
|
6
|
+
/** The client address for c (see clientIp), or null when there is none. `trust` defaults to 'none':
|
|
7
|
+
* forwarding headers are ignored and the socket address is used. */
|
|
8
|
+
declare function clientIpOf(c: Context, trust?: TrustProxy): string | null;
|
|
9
|
+
/** The limiter key of every request that has no address at all (no socket, nothing trusted). */
|
|
10
|
+
declare const NO_ADDRESS_KEY = "no-address";
|
|
7
11
|
declare function isAuthed(c: Context, auth: SessionAuth): boolean;
|
|
8
12
|
declare function startSession(c: Context, auth: SessionAuth, secure: boolean): void;
|
|
9
13
|
declare function endSession(c: Context, auth: SessionAuth): void;
|
|
@@ -16,7 +20,10 @@ interface LoginOptions {
|
|
|
16
20
|
password: string | (() => string);
|
|
17
21
|
limiter: Limiter;
|
|
18
22
|
secure: boolean | ((c: Context) => boolean);
|
|
23
|
+
/** Trims and lowercases both sides before comparing. Default false: an exact match. */
|
|
19
24
|
caseInsensitive?: boolean;
|
|
25
|
+
/** Which forwarding headers name the client for rate limiting. Default 'none': only the socket. */
|
|
26
|
+
trustProxy?: TrustProxy;
|
|
20
27
|
failDelayMs?: number;
|
|
21
28
|
messages?: {
|
|
22
29
|
tooMany?: string;
|
|
@@ -27,9 +34,11 @@ interface LoginOptions {
|
|
|
27
34
|
/** Default c.json({ authed: true }). */
|
|
28
35
|
onSuccess?: (c: Context) => Response | Promise<Response>;
|
|
29
36
|
}
|
|
30
|
-
/** POST handler: limiter key clientIpOf(c)
|
|
31
|
-
*
|
|
32
|
-
*
|
|
37
|
+
/** POST handler: limiter key clientIpOf(c, trustProxy), or NO_ADDRESS_KEY (one shared bucket) when the
|
|
38
|
+
* request has no address; limiter.hit(key) first, before any await, false -> 429; body via
|
|
39
|
+
* c.req.json() (failure = {}); password must be a string of at most 1024 chars and match (exact
|
|
40
|
+
* unless caseInsensitive), else wait failDelayMs, 401; success -> limiter.reset, startSession,
|
|
41
|
+
* onSuccess. */
|
|
33
42
|
declare function loginHandler(o: LoginOptions): Handler;
|
|
34
43
|
/** GET <base>/me -> { authed }, POST <base>/login -> loginHandler, POST <base>/logout -> endSession + { authed: false }. base default '/api'. */
|
|
35
44
|
declare function mountSessionRoutes<E extends Env>(app: Hono<E>, o: LoginOptions & {
|
|
@@ -81,5 +90,5 @@ interface ServiceTokenRouteOptions {
|
|
|
81
90
|
* Mount behind the app's login (requireSession) and its cross-site write guard. */
|
|
82
91
|
declare function mountServiceTokenRoutes<E extends Env>(app: Hono<E>, o: ServiceTokenRouteOptions): void;
|
|
83
92
|
|
|
84
|
-
export { clientIpOf, crossSiteGuard, endSession, isAuthed, loginHandler, mountInboxAction, mountServiceTokenRoutes, mountSessionRoutes, onErrorHandler, remoteAddressOf, requireSession, serveSpa, startSession };
|
|
93
|
+
export { NO_ADDRESS_KEY, clientIpOf, crossSiteGuard, endSession, isAuthed, loginHandler, mountInboxAction, mountServiceTokenRoutes, mountSessionRoutes, onErrorHandler, remoteAddressOf, requireSession, serveSpa, startSession };
|
|
85
94
|
export type { InboxActionRouteOptions, LoginOptions, ServiceTokenRouteOptions };
|
package/dist/server/hono.js
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
// src/server/client-ip.ts
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
for (let i = entries.length - 1; i >= 0; i--) {
|
|
14
|
-
if (entries[i] !== "" && !isLoopback(entries[i])) return entries[i];
|
|
2
|
+
function clientIp(get, remoteAddress, opts = {}) {
|
|
3
|
+
const trust = opts.trust ?? "none";
|
|
4
|
+
if (trust === "cloudflare") {
|
|
5
|
+
const cf = get("cf-connecting-ip")?.trim();
|
|
6
|
+
if (cf && cf.length <= 64 && !cf.includes(",")) return cf;
|
|
7
|
+
}
|
|
8
|
+
if (trust === "cloudflare" || trust === "proxy") {
|
|
9
|
+
const xff = get("x-forwarded-for");
|
|
10
|
+
if (xff) {
|
|
11
|
+
const hop = xff.split(",").pop()?.trim();
|
|
12
|
+
if (hop) return hop;
|
|
15
13
|
}
|
|
16
14
|
}
|
|
17
|
-
|
|
18
|
-
return "local";
|
|
15
|
+
return remoteAddress ? remoteAddress : null;
|
|
19
16
|
}
|
|
20
17
|
|
|
21
18
|
// src/server/cross-site.ts
|
|
@@ -109,7 +106,7 @@ function errorResponse(err, req, log = (line) => console.error(line)) {
|
|
|
109
106
|
import { createHmac, createHash as createHash2, randomBytes as randomBytes2, timingSafeEqual as timingSafeEqual2 } from "crypto";
|
|
110
107
|
function passwordMatches(expected, provided, opts = {}) {
|
|
111
108
|
if (typeof expected !== "string" || typeof provided !== "string" || expected === "") return false;
|
|
112
|
-
const fold = opts.caseInsensitive ??
|
|
109
|
+
const fold = opts.caseInsensitive ?? false;
|
|
113
110
|
const a = fold ? expected.trim().toLowerCase() : expected;
|
|
114
111
|
const b = fold ? provided.trim().toLowerCase() : provided;
|
|
115
112
|
const ha = createHash2("sha256").update(a).digest();
|
|
@@ -120,6 +117,10 @@ function passwordMatches(expected, provided, opts = {}) {
|
|
|
120
117
|
// src/server/spa.ts
|
|
121
118
|
import { readFile, stat } from "fs/promises";
|
|
122
119
|
import { resolve, sep } from "path";
|
|
120
|
+
var SECURITY_HEADERS = {
|
|
121
|
+
"X-Content-Type-Options": "nosniff",
|
|
122
|
+
"Referrer-Policy": "strict-origin-when-cross-origin"
|
|
123
|
+
};
|
|
123
124
|
var TYPES = {
|
|
124
125
|
html: "text/html; charset=utf-8",
|
|
125
126
|
js: "text/javascript; charset=utf-8",
|
|
@@ -151,7 +152,6 @@ async function isFile(path) {
|
|
|
151
152
|
return false;
|
|
152
153
|
}
|
|
153
154
|
}
|
|
154
|
-
var text = (body, status) => new Response(body, { status, headers: { "Content-Type": "text/plain; charset=utf-8" } });
|
|
155
155
|
function createSpaHandler(o) {
|
|
156
156
|
const dir = resolve(o.dir);
|
|
157
157
|
const indexName = o.index ?? "index.html";
|
|
@@ -159,9 +159,12 @@ function createSpaHandler(o) {
|
|
|
159
159
|
const maxAge = o.maxAge ?? 3600;
|
|
160
160
|
const notBuilt = o.notBuilt ?? "UI not built: run npm run build";
|
|
161
161
|
const indexPath = resolve(dir, indexName);
|
|
162
|
+
const safety = { ...SECURITY_HEADERS };
|
|
163
|
+
if (o.frameOptions !== false) safety["X-Frame-Options"] = "SAMEORIGIN";
|
|
164
|
+
const text = (body, status) => new Response(body, { status, headers: { "Content-Type": "text/plain; charset=utf-8", ...safety } });
|
|
162
165
|
const send = async (file, cache, head) => {
|
|
163
166
|
const body = head ? null : await readFile(file);
|
|
164
|
-
return new Response(body, { status: 200, headers: { "Content-Type": contentType(file), "Cache-Control": cache } });
|
|
167
|
+
return new Response(body, { status: 200, headers: { "Content-Type": contentType(file), "Cache-Control": cache, ...safety } });
|
|
165
168
|
};
|
|
166
169
|
return async (req) => {
|
|
167
170
|
const head = req.method === "HEAD";
|
|
@@ -196,9 +199,10 @@ function remoteAddressOf(c) {
|
|
|
196
199
|
const address = env?.incoming?.socket?.remoteAddress;
|
|
197
200
|
return typeof address === "string" ? address : void 0;
|
|
198
201
|
}
|
|
199
|
-
function clientIpOf(c) {
|
|
200
|
-
return clientIp((name) => c.req.header(name), remoteAddressOf(c));
|
|
202
|
+
function clientIpOf(c, trust = "none") {
|
|
203
|
+
return clientIp((name) => c.req.header(name), remoteAddressOf(c), { trust });
|
|
201
204
|
}
|
|
205
|
+
var NO_ADDRESS_KEY = "no-address";
|
|
202
206
|
function isAuthed(c, auth) {
|
|
203
207
|
return auth.isAuthed(c.req.header("cookie"));
|
|
204
208
|
}
|
|
@@ -220,8 +224,8 @@ function loginHandler(o) {
|
|
|
220
224
|
const wrong = o.messages?.wrong ?? "That password is not right.";
|
|
221
225
|
const errorBody = o.errorBody ?? ((_kind, message) => ({ error: message }));
|
|
222
226
|
return async (c) => {
|
|
223
|
-
const key = clientIpOf(c);
|
|
224
|
-
if (!o.limiter.
|
|
227
|
+
const key = clientIpOf(c, o.trustProxy) ?? NO_ADDRESS_KEY;
|
|
228
|
+
if (!o.limiter.hit(key)) return c.json(errorBody("tooMany", tooMany), 429);
|
|
225
229
|
let body = {};
|
|
226
230
|
try {
|
|
227
231
|
body = await c.req.json();
|
|
@@ -230,9 +234,8 @@ function loginHandler(o) {
|
|
|
230
234
|
}
|
|
231
235
|
const provided = body && typeof body === "object" ? body.password : void 0;
|
|
232
236
|
const expected = typeof o.password === "function" ? o.password() : o.password;
|
|
233
|
-
const ok = typeof provided === "string" && provided.length <= 1024 && passwordMatches(expected, provided, { caseInsensitive: o.caseInsensitive ??
|
|
237
|
+
const ok = typeof provided === "string" && provided.length <= 1024 && passwordMatches(expected, provided, { caseInsensitive: o.caseInsensitive ?? false });
|
|
234
238
|
if (!ok) {
|
|
235
|
-
o.limiter.fail(key);
|
|
236
239
|
const delay = o.failDelayMs ?? 0;
|
|
237
240
|
if (delay > 0) await new Promise((resolve2) => setTimeout(resolve2, delay));
|
|
238
241
|
return c.json(errorBody("wrong", wrong), 401);
|
|
@@ -294,7 +297,8 @@ function mountInboxAction(app, o) {
|
|
|
294
297
|
});
|
|
295
298
|
}
|
|
296
299
|
function mountServiceTokenRoutes(app, o) {
|
|
297
|
-
|
|
300
|
+
let base = o.base ?? "/api/service-tokens";
|
|
301
|
+
while (base.endsWith("/")) base = base.slice(0, -1);
|
|
298
302
|
const log = o.log ?? ((line) => console.log(line));
|
|
299
303
|
app.get(base, (c) => {
|
|
300
304
|
c.header("Cache-Control", "no-store");
|
|
@@ -309,6 +313,7 @@ function mountServiceTokenRoutes(app, o) {
|
|
|
309
313
|
});
|
|
310
314
|
}
|
|
311
315
|
export {
|
|
316
|
+
NO_ADDRESS_KEY,
|
|
312
317
|
clientIpOf,
|
|
313
318
|
crossSiteGuard,
|
|
314
319
|
endSession,
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { c as InboxEventInput, d as InboxIngestAction, e as InboxEvent, f as InboxAction, I as InboxActionCall, a as InboxData } from '../spa-
|
|
2
|
-
export { C as CrossSiteOptions,
|
|
3
|
-
|
|
4
|
-
/** 127.0.0.0/8, ::1 and ::ffff:127.x. */
|
|
5
|
-
declare function isLoopback(address: string | null | undefined): boolean;
|
|
6
|
-
/** The key a limiter should use for this request. cf-connecting-ip (trimmed, at most 64 chars,
|
|
7
|
-
* no comma) first; else the rightmost X-Forwarded-For entry that is not loopback (127.0.0.0/8,
|
|
8
|
-
* ::1, ::ffff:127.x) and not empty; else remoteAddress when it is not loopback; else 'local'. */
|
|
9
|
-
declare function clientIp(get: (name: string) => string | null | undefined, remoteAddress?: string | null): string;
|
|
1
|
+
import { c as InboxEventInput, d as InboxIngestAction, e as InboxEvent, f as InboxAction, I as InboxActionCall, a as InboxData } from '../spa-BLlMc0eI.js';
|
|
2
|
+
export { g as ClientIpOptions, C as CrossSiteOptions, h as INBOX_ACTION_HEADER, i as INBOX_ACTION_TIMEOUT_MS, j as INBOX_DEFAULT_SETTINGS, k as INBOX_SOURCE_LABELS, l as InboxActionResult, m as InboxItem, n as InboxListResponse, o as InboxSettings, p as InboxSeverity, q as InboxView, L as Limiter, r as MIN_SECRET_BYTES, M as ManagedServiceTokens, R as RevocationStore, s as RevokedToken, t as SESSION_DAYS, u as ServiceTokenEntry, v as ServiceTokenView, w as ServiceTokens, S as SessionAuth, b as SpaOptions, T as TrustProxy, V as VerifyOptions, x as VerifyResult, y as checkServiceRequest, z as clientIp, A as createLimiter, B as createServiceTokens, D as createSessionAuth, E as createSessionToken, F as createSpaHandler, G as hashServiceToken, H as isCrossSiteWrite, J as isDirectLoopback, K as isLoopback, N as jsonRevocationStore, O as loadManagedServiceTokens, P as loadServiceTokens, Q as mintServiceToken, U as passwordMatches, W as readCookie, X as verifySessionToken } from '../spa-BLlMc0eI.js';
|
|
10
3
|
|
|
11
4
|
/** Folder `up` levels above the directory of `importMetaUrl` (dist/server/env.js, up 2 = repo root). */
|
|
12
5
|
declare function appRoot(importMetaUrl: string, up?: number): string;
|
|
@@ -138,5 +131,5 @@ declare function actionTokenMatches(token: unknown, storedHash: string | null |
|
|
|
138
131
|
/** An action button; throws Error(`not an inbox action target: ${target}`) when isInboxActionTarget fails. */
|
|
139
132
|
declare function inboxAction(id: string, label: string, target: string): InboxAction;
|
|
140
133
|
|
|
141
|
-
export { ACTION_TOKEN_FIELD, INBOX_ACTION_PATH, InboxAction, InboxActionCall, InboxData, InboxEvent, InboxEventInput, InboxIngestAction, actionTokenMatches, appRoot,
|
|
134
|
+
export { ACTION_TOKEN_FIELD, INBOX_ACTION_PATH, InboxAction, InboxActionCall, InboxData, InboxEvent, InboxEventInput, InboxIngestAction, actionTokenMatches, appRoot, createInboxClient, envNumber, errorResponse, hashActionToken, inboxAction, inboxActionTarget, installProcessHandlers, isInboxActionTarget, isInboxCall, loadAppEnv, newActionToken, parseInboxActionCall, parseInboxEvent };
|
|
142
135
|
export type { HeaderBag, InboxClient, InboxClientOptions, InboxSendResult, ProcessHandlerOptions };
|