@instantdb/components 0.22.92-experimental.sync-table-fixes.20350175943.1 → 0.22.92

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/dist/index.js CHANGED
@@ -1,50 +1,51 @@
1
1
  import { jsxs as h, jsx as r, Fragment as M } from "react/jsx-runtime";
2
- import { toast as Nt, Toaster as ca } from "sonner";
3
- import { Toaster as Xi, toast as Zi } from "sonner";
2
+ import { toast as St, Toaster as ca } from "sonner";
3
+ import { Toaster as Zi, toast as Qi } from "sonner";
4
4
  import { VisuallyHidden as ua } from "@radix-ui/react-visually-hidden";
5
5
  import { Editor as pa } from "@monaco-editor/react";
6
- import _e from "clsx";
7
- import We from "copy-to-clipboard";
8
- import He, { useMemo as le, useState as C, useEffect as H, useRef as X, useCallback as ot, useSyncExternalStore as ga, useLayoutEffect as yt, Component as lr, createContext as sr, useContext as dt, useId as dr, createElement as ha, Fragment as fa } from "react";
9
- import { twMerge as ma } from "tailwind-merge";
10
- import * as se from "@radix-ui/react-select";
11
- import { ChevronDownIcon as Et, ChevronRightIcon as ba, ArrowUturnLeftIcon as wa, ArrowPathIcon as va, ClockIcon as cr, ArrowUpIcon as ya, ArrowDownIcon as ka, ArrowsUpDownIcon as xa, Cog6ToothIcon as Sa, XMarkIcon as ur, PencilSquareIcon as Na, ArrowUpOnSquareIcon as Ea, TrashIcon as Ca, ExclamationTriangleIcon as Ia, CheckIcon as Aa, ChevronUpIcon as Ra, InformationCircleIcon as Ta } from "@heroicons/react/24/outline";
6
+ import Oe from "clsx";
7
+ import He from "copy-to-clipboard";
8
+ import { twMerge as ga } from "tailwind-merge";
9
+ import * as le from "@radix-ui/react-select";
10
+ import { ChevronDownIcon as Nt, ChevronRightIcon as ha, ArrowUturnLeftIcon as fa, ArrowPathIcon as ma, ClockIcon as ir, ArrowUpIcon as ba, ArrowDownIcon as wa, ArrowsUpDownIcon as va, Cog6ToothIcon as ya, XMarkIcon as lr, PencilSquareIcon as ka, ArrowUpOnSquareIcon as xa, TrashIcon as Sa, ExclamationTriangleIcon as Na, CheckIcon as Ea, ChevronUpIcon as Ca, InformationCircleIcon as Ia } from "@heroicons/react/24/outline";
11
+ import sr, { useMemo as se, useState as C, useEffect as H, useRef as X, useCallback as at, useSyncExternalStore as Aa, useLayoutEffect as vt, Component as dr, createContext as cr, useContext as lt, useId as ur, createElement as Ra, Fragment as Ta } from "react";
12
12
  import { createPortal as Oa } from "react-dom";
13
- import _a, { useSWRConfig as pr } from "swr";
14
- import { InstantAPIError as Da, id as Me, coerceToDate as La, tx as Fa } from "@instantdb/core";
15
- import { add as gr, formatDistanceToNow as hr, format as $a } from "date-fns";
16
- import { ArrowLeftIcon as ct, PencilSquareIcon as za, TrashIcon as it, PlusIcon as fr, ArrowUturnLeftIcon as Ve, ArrowPathIcon as ja, InformationCircleIcon as Ma, Cog8ToothIcon as Ba, ChevronLeftIcon as Ua, Bars3Icon as Pa, XMarkIcon as qa, EyeSlashIcon as mr, EyeIcon as br, ClipboardDocumentIcon as Ct, CheckCircleIcon as Ga } from "@heroicons/react/24/solid";
17
- import { id as qe, tx as Ha, init as Wa } from "@instantdb/react";
18
- import { useSensors as Va, useSensor as wt, MouseSensor as Ya, TouchSensor as Ka, KeyboardSensor as Xa, DndContext as Za, closestCenter as Qa } from "@dnd-kit/core";
19
- import { markdownTable as Ja } from "markdown-table";
20
- import { mkConfig as en, generateCsv as tn, download as rn } from "export-to-csv";
21
- import { restrictToHorizontalAxis as an } from "@dnd-kit/modifiers";
22
- import { useSortable as wr, SortableContext as qt, horizontalListSortingStrategy as Gt, arrayMove as nn } from "@dnd-kit/sortable";
23
- import { flexRender as lt, useReactTable as on, getCoreRowModel as ln } from "@tanstack/react-table";
24
- import { ArrowLeftIcon as Ht, PlusIcon as sn, ArrowRightIcon as dn, Table as cn, FileDown as un, CurlyBraces as pn, ArrowRightFromLine as gn, XIcon as hn } from "lucide-react";
25
- import { Combobox as vr, ComboboxInput as yr, ComboboxOptions as kr, ComboboxOption as xr, useClose as Ye, Popover as fn, PopoverButton as mn, PopoverPanel as bn } from "@headlessui/react";
26
- import { debounce as wn, last as vn, isObject as Ne } from "lodash";
27
- import { CSS as Sr } from "@dnd-kit/utilities";
28
- import "swr/subscription";
13
+ import * as Ge from "@radix-ui/react-dialog";
14
+ import { DialogTitle as _a } from "@radix-ui/react-dialog";
15
+ import { ArrowLeftIcon as Pt, PlusIcon as Da, ArrowRightIcon as La, Table as Fa, FileDown as $a, CurlyBraces as za, ArrowRightFromLine as ja, XIcon as Ma } from "lucide-react";
16
+ import Ba from "json5";
17
+ import { Combobox as pr, ComboboxInput as gr, ComboboxOptions as hr, ComboboxOption as fr, useClose as We, Popover as Ua, PopoverButton as Pa, PopoverPanel as qa } from "@headlessui/react";
18
+ import * as Te from "@radix-ui/react-dropdown-menu";
19
+ import * as qt from "@radix-ui/react-toggle-group";
20
+ import { ArrowLeftIcon as st, PencilSquareIcon as Ga, TrashIcon as nt, PlusIcon as mr, ArrowUturnLeftIcon as Ve, ArrowPathIcon as Ha, InformationCircleIcon as Wa, Cog8ToothIcon as Va, ChevronLeftIcon as Ya, Bars3Icon as Ka, XMarkIcon as Xa, EyeSlashIcon as br, EyeIcon as wr, ClipboardDocumentIcon as Et, CheckCircleIcon as Za } from "@heroicons/react/24/solid";
21
+ import vr from "react-copy-to-clipboard";
29
22
  import * as ne from "@radix-ui/react-tooltip";
30
- import { validate as yn } from "uuid";
31
- import * as Te from "@radix-ui/react-dialog";
32
- import kn from "json5";
33
- import * as Oe from "@radix-ui/react-dropdown-menu";
34
- import * as Wt from "@radix-ui/react-toggle-group";
35
- import Nr from "react-copy-to-clipboard";
36
- import * as Vt from "@radix-ui/react-switch";
37
- const xn = `/*! tailwindcss v4.1.17 | 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)))){*,: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-space-y-reverse:0;--tw-space-x-reverse:0;--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-font-weight: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-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:""}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--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-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-500:oklch(76.9% .188 70.08);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-slate-100:oklch(96.8% .007 247.896);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-neutral-950:oklch(14.5% 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--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-xs:4px;--blur-sm:8px;--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)}}@layer base{*,: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,ui-sans-serif,system-ui,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;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{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{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}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:#6a7282;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#155dfc;outline:2px solid #0000}input::placeholder,textarea::placeholder{color:#6a7282;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{appearance:none;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:#155dfc;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:#6a7282;flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.top-\\[18px\\]{top:18px}.top-\\[50\\%\\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-\\[50\\%\\]{left:50%}.z-0{z-index:0}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-100{z-index:100}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-0\\.5{margin-right:calc(var(--spacing)*.5)}.mr-4{margin-right:calc(var(--spacing)*4)}.mr-8{margin-right:calc(var(--spacing)*8)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.-ml-0\\.5{margin-left:calc(var(--spacing)*-.5)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-3\\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.h-\\(--radix-select-trigger-height\\){height:var(--radix-select-trigger-height)}.h-1{height:calc(var(--spacing)*1)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-12{height:calc(var(--spacing)*12)}.h-32{height:calc(var(--spacing)*32)}.h-64{height:calc(var(--spacing)*64)}.h-\\[1\\.15rem\\]{height:1.15rem}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.max-h-\\[25vh\\]{max-height:25vh}.max-h-\\[calc\\(100\\%-2rem\\)\\]{max-height:calc(100% - 2rem)}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[30vh\\]{min-height:30vh}.min-h-\\[34px\\]{min-height:34px}.min-h-full{min-height:100%}.w-\\(--input-width\\){width:var(--input-width)}.w-0\\.5{width:calc(var(--spacing)*.5)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-24{width:calc(var(--spacing)*24)}.w-48{width:calc(var(--spacing)*48)}.w-\\[30px\\]{width:30px}.w-\\[62px\\]{width:62px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[67vw\\]{max-width:67vw}.max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.max-w-fit{max-width:fit-content}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-xl{max-width:var(--container-xl)}.min-w-\\(--radix-select-trigger-width\\){min-width:var(--radix-select-trigger-width)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\\[200px\\]{min-width:200px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.origin-\\(--radix-tooltip-content-transform-origin\\){transform-origin:var(--radix-tooltip-content-transform-origin)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0\\.5{--tw-translate-y:calc(var(--spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-rotate-45{rotate:-45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.resize{resize:both}.resize-none{resize:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.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:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-1{column-gap:calc(var(--spacing)*1)}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}: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)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-visible{overflow:visible}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.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-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#606AF4\\]{border-color:#606af4}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-300\\/80{border-color:#d1d5dccc}@supports (color:color-mix(in lab,red,red)){.border-gray-300\\/80{border-color:color-mix(in oklab,var(--color-gray-300)80%,transparent)}}.border-gray-500{border-color:var(--color-gray-500)}.border-neutral-200{border-color:var(--color-neutral-200)}.border-neutral-300{border-color:var(--color-neutral-300)}.border-red-200{border-color:var(--color-red-200)}.border-red-500{border-color:var(--color-red-500)}.border-transparent{border-color:#0000}.border-r-gray-200{border-right-color:var(--color-gray-200)}.border-b-gray-200{border-bottom-color:var(--color-gray-200)}.border-l-red-500{border-left-color:var(--color-red-500)}.bg-\\[\\#606AF4\\]{background-color:#606af4}.bg-\\[\\#616AF4\\]{background-color:#616af4}.bg-\\[\\#4543e9\\]{background-color:#4543e9}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-200{background-color:var(--color-neutral-200)}.bg-neutral-300{background-color:var(--color-neutral-300)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-200{background-color:var(--color-red-200)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-linear-to-l{--tw-gradient-position:to left}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-l{--tw-gradient-position:to left in oklab}}.bg-linear-to-l{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-r{--tw-gradient-position:to right}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-r{--tw-gradient-position:to right in oklab}}.bg-linear-to-r{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-none{background-image:none}.from-black\\/10{--tw-gradient-from:#0000001a}@supports (color:color-mix(in lab,red,red)){.from-black\\/10{--tw-gradient-from:color-mix(in oklab,var(--color-black)10%,transparent)}}.from-black\\/10{--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-black\\/20{--tw-gradient-from:#0003}@supports (color:color-mix(in lab,red,red)){.from-black\\/20{--tw-gradient-from:color-mix(in oklab,var(--color-black)20%,transparent)}}.from-black\\/20{--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))}.via-black\\/0{--tw-gradient-via:#0000}@supports (color:color-mix(in lab,red,red)){.via-black\\/0{--tw-gradient-via:color-mix(in oklab,var(--color-black)0%,transparent)}}.via-black\\/0{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-black\\/5{--tw-gradient-via:#0000000d}@supports (color:color-mix(in lab,red,red)){.via-black\\/5{--tw-gradient-via:color-mix(in oklab,var(--color-black)5%,transparent)}}.via-black\\/5{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-transparent{--tw-gradient-to:transparent;--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))}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-24{padding-left:calc(var(--spacing)*24)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.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)}.text-balance{text-wrap:balance}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#606AF4\\]{color:#606af4}.text-\\[\\#2563EB\\]{color:#2563eb}.text-blue-800{color:var(--color-blue-800)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-700{color:var(--color-neutral-700)}.text-neutral-950{color:var(--color-neutral-950)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.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-2xs{--tw-shadow:0 1px 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-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px 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-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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-sm{--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-xs{--tw-shadow:0 1px 2px 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)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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-1{--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)}.ring-\\[\\#606AF4\\]{--tw-ring-color:#606af4}.ring-gray-300{--tw-ring-color:var(--color-gray-300)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.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,)}.blur-sm{--tw-blur:blur(var(--blur-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-xs{--tw-backdrop-blur:blur(var(--blur-xs));-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-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;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-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.content-\\[hi\\]{--tw-content:hi;content:var(--tw-content)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\\:text-amber-500:is(:where(.group):hover *){color:var(--color-amber-500)}.group-hover\\:opacity-70:is(:where(.group):hover *){opacity:.7}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\\:rounded-xs::file-selector-button{border-radius:var(--radius-xs)}.file\\:border-none::file-selector-button{--tw-border-style:none;border-style:none}.file\\:border-neutral-200::file-selector-button{border-color:var(--color-neutral-200)}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:p-2::file-selector-button{padding:calc(var(--spacing)*2)}.file\\:pt-1::file-selector-button{padding-top:calc(var(--spacing)*1)}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:shadow-none::file-selector-button{--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)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}.placeholder\\:text-neutral-500::placeholder{color:var(--color-neutral-500)}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.empty\\:invisible:empty{visibility:hidden}.focus-within\\:ring-2:focus-within{--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-within\\:ring-blue-700:focus-within{--tw-ring-color:var(--color-blue-700)}@media (hover:hover){.hover\\:cursor-col-resize:hover{cursor:col-resize}.hover\\:cursor-grab:hover{cursor:grab}.hover\\:border-red-300:hover{border-color:var(--color-red-300)}.hover\\:bg-\\[\\#4543E9\\]:hover,.hover\\:bg-\\[\\#4543e9\\]:hover{background-color:#4543e9}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-50\\/30:hover{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-50\\/30:hover{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-200\\/30:hover{background-color:#e5e7eb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-200\\/30:hover{background-color:color-mix(in oklab,var(--color-gray-200)30%,transparent)}}.hover\\:bg-gray-200\\/50:hover{background-color:#e5e7eb80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-200\\/50:hover{background-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)}}.hover\\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\\:bg-neutral-300:hover{background-color:var(--color-neutral-300)}.hover\\:bg-orange-500:hover{background-color:var(--color-orange-500)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-gray-700:hover{color:var(--color-gray-700)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-100:hover{color:var(--color-slate-100)}.hover\\:opacity-100:hover{opacity:1}}.focus\\:bg-neutral-100:focus{background-color:var(--color-neutral-100)}.focus\\:text-neutral-900:focus{color:var(--color-neutral-900)}.focus\\:ring-2:focus{--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\\:ring-\\[\\#606AF4\\]:focus{--tw-ring-color:#606af4}.focus\\:ring-offset-2:focus{--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\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-1:focus-visible{--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)}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + 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-neutral-950:focus-visible{--tw-ring-color:var(--color-neutral-950)}.focus-visible\\:outline-hidden:focus-visible{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus-visible\\:outline-hidden:focus-visible{outline-offset:2px;outline:2px solid #0000}}.active\\:cursor-grabbing:active{cursor:grabbing}@media (hover:hover){.hover\\:enabled\\:border-red-300:hover:enabled{border-color:var(--color-red-300)}.hover\\:enabled\\:bg-\\[\\#4543e9\\]:hover:enabled{background-color:#4543e9}.hover\\:enabled\\:bg-gray-50\\/30:hover:enabled{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:enabled\\:bg-gray-50\\/30:hover:enabled{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.hover\\:enabled\\:bg-gray-200\\/30:hover:enabled{background-color:#e5e7eb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:enabled\\:bg-gray-200\\/30:hover:enabled{background-color:color-mix(in oklab,var(--color-gray-200)30%,transparent)}}.hover\\:enabled\\:bg-orange-500:hover:enabled{background-color:var(--color-orange-500)}.hover\\:enabled\\:text-gray-600:hover:enabled{color:var(--color-gray-600)}.hover\\:enabled\\:text-red-600:hover:enabled{color:var(--color-red-600)}.hover\\:enabled\\:text-slate-100:hover:enabled{color:var(--color-slate-100)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{border-color:var(--color-gray-300)}.disabled\\:border-red-50:disabled{border-color:var(--color-red-50)}.disabled\\:bg-\\[\\#9197f3\\]:disabled{background-color:#9197f3}.disabled\\:bg-gray-200:disabled{background-color:var(--color-gray-200)}.disabled\\:text-gray-400:disabled{color:var(--color-gray-400)}.disabled\\:text-red-300:disabled{color:var(--color-red-300)}.disabled\\:opacity-20:disabled{opacity:.2}.disabled\\:opacity-50:disabled{opacity:.5}.data-disabled\\:pointer-events-none[data-disabled]{pointer-events:none}.data-disabled\\:opacity-50[data-disabled]{opacity:.5}.data-focus\\:bg-blue-100[data-focus]{background-color:var(--color-blue-100)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[size\\=default\\]\\:h-9[data-size=default]{height:calc(var(--spacing)*9)}.data-\\[size\\=sm\\]\\:h-8[data-size=sm]{height:calc(var(--spacing)*8)}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing)*2)}.data-\\[state\\=checked\\]\\:translate-x-\\[calc\\(100\\%-2px\\)\\][data-state=checked]{--tw-translate-x: calc(100% - 2px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[state\\=checked\\]\\:bg-neutral-800[data-state=checked]{background-color:var(--color-neutral-800)}.data-\\[state\\=checked\\]\\:bg-white[data-state=checked]{background-color:var(--color-white)}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[state\\=unchecked\\]\\:bg-neutral-300[data-state=unchecked]{background-color:var(--color-neutral-300)}@media (min-width:40rem){.sm\\:max-w-lg{max-width:var(--container-lg)}}@media (min-width:48rem){.md\\:static{position:static}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-start{justify-content:flex-start}.md\\:gap-2{gap:calc(var(--spacing)*2)}.md\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.md\\:shadow-none{--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)}}:where(.dark\\:divide-neutral-700:where(.dark,.dark *)>:not(:last-child)){border-color:var(--color-neutral-700)}.dark\\:border:where(.dark,.dark *){border-style:var(--tw-border-style);border-width:1px}.dark\\:border-neutral-500:where(.dark,.dark *){border-color:var(--color-neutral-500)}.dark\\:border-neutral-600:where(.dark,.dark *){border-color:var(--color-neutral-600)}.dark\\:border-neutral-700:where(.dark,.dark *){border-color:var(--color-neutral-700)}.dark\\:border-neutral-800:where(.dark,.dark *){border-color:var(--color-neutral-800)}.dark\\:border-red-900\\/60:where(.dark,.dark *){border-color:#82181a99}@supports (color:color-mix(in lab,red,red)){.dark\\:border-red-900\\/60:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-red-900)60%,transparent)}}.dark\\:border-y-neutral-700:where(.dark,.dark *){border-block-color:var(--color-neutral-700)}.dark\\:border-y-neutral-800:where(.dark,.dark *){border-block-color:var(--color-neutral-800)}.dark\\:border-t-neutral-700:where(.dark,.dark *){border-top-color:var(--color-neutral-700)}.dark\\:border-r-neutral-700:where(.dark,.dark *){border-right-color:var(--color-neutral-700)}.dark\\:border-b-neutral-600:where(.dark,.dark *){border-bottom-color:var(--color-neutral-600)}.dark\\:border-b-neutral-700:where(.dark,.dark *){border-bottom-color:var(--color-neutral-700)}.dark\\:border-l-neutral-700:where(.dark,.dark *){border-left-color:var(--color-neutral-700)}.dark\\:bg-\\[\\#606AF4\\]:where(.dark,.dark *){background-color:#606af4}.dark\\:bg-\\[\\#252525\\]:where(.dark,.dark *){background-color:#252525}.dark\\:bg-\\[\\#303030\\]:where(.dark,.dark *){background-color:#303030}.dark\\:bg-blue-700\\/30:where(.dark,.dark *){background-color:#1447e64d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-700\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-700)30%,transparent)}}.dark\\:bg-neutral-200:where(.dark,.dark *){background-color:var(--color-neutral-200)}.dark\\:bg-neutral-600\\/20:where(.dark,.dark *){background-color:#52525233}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)20%,transparent)}}.dark\\:bg-neutral-600\\/40:where(.dark,.dark *){background-color:#52525266}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/40:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)40%,transparent)}}.dark\\:bg-neutral-600\\/50:where(.dark,.dark *){background-color:#52525280}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)50%,transparent)}}.dark\\:bg-neutral-700:where(.dark,.dark *){background-color:var(--color-neutral-700)}.dark\\:bg-neutral-700\\/50:where(.dark,.dark *){background-color:#40404080}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-700\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-700)50%,transparent)}}.dark\\:bg-neutral-800:where(.dark,.dark *){background-color:var(--color-neutral-800)}.dark\\:bg-neutral-900:where(.dark,.dark *){background-color:var(--color-neutral-900)}.dark\\:bg-neutral-900\\/50:where(.dark,.dark *){background-color:#17171780}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-900\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-900)50%,transparent)}}.dark\\:bg-orange-600:where(.dark,.dark *){background-color:var(--color-orange-600)}.dark\\:bg-red-500\\/10:where(.dark,.dark *){background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-500\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.dark\\:bg-red-900\\/30:where(.dark,.dark *){background-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.dark\\:bg-transparent:where(.dark,.dark *){background-color:#0000}.dark\\:text-blue-100:where(.dark,.dark *){color:var(--color-blue-100)}.dark\\:text-neutral-50:where(.dark,.dark *){color:var(--color-neutral-50)}.dark\\:text-neutral-200:where(.dark,.dark *){color:var(--color-neutral-200)}.dark\\:text-neutral-300:where(.dark,.dark *){color:var(--color-neutral-300)}.dark\\:text-neutral-400:where(.dark,.dark *){color:var(--color-neutral-400)}.dark\\:text-neutral-500:where(.dark,.dark *){color:var(--color-neutral-500)}.dark\\:text-neutral-600:where(.dark,.dark *){color:var(--color-neutral-600)}.dark\\:text-red-400:where(.dark,.dark *){color:var(--color-red-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:ring-neutral-500:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-500)}.dark\\:ring-neutral-600:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-600)}.dark\\:ring-neutral-700:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-700)}.dark\\:file\\:border-neutral-700:where(.dark,.dark *)::file-selector-button{border-color:var(--color-neutral-700)}.dark\\:file\\:text-white:where(.dark,.dark *)::file-selector-button{color:var(--color-white)}.dark\\:placeholder\\:text-neutral-400:where(.dark,.dark *)::placeholder{color:var(--color-neutral-400)}.dark\\:placeholder\\:text-neutral-500:where(.dark,.dark *)::placeholder{color:var(--color-neutral-500)}.dark\\:checked\\:border-\\[\\#2563EB\\]:where(.dark,.dark *):checked{border-color:#2563eb}.dark\\:checked\\:bg-\\[\\#2563EB\\]:where(.dark,.dark *):checked{background-color:#2563eb}.dark\\:focus-within\\:ring-blue-500:where(.dark,.dark *):focus-within{--tw-ring-color:var(--color-blue-500)}@media (hover:hover){.dark\\:hover\\:border-red-800:where(.dark,.dark *):hover{border-color:var(--color-red-800)}.dark\\:hover\\:bg-\\[\\#4543e9\\]:where(.dark,.dark *):hover{background-color:#4543e9}.dark\\:hover\\:bg-neutral-700:where(.dark,.dark *):hover{background-color:var(--color-neutral-700)}.dark\\:hover\\:bg-neutral-700\\/30:where(.dark,.dark *):hover{background-color:#4040404d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/30:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)30%,transparent)}}.dark\\:hover\\:bg-neutral-700\\/50:where(.dark,.dark *):hover{background-color:#40404080}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)50%,transparent)}}.dark\\:hover\\:bg-neutral-700\\/80:where(.dark,.dark *):hover{background-color:#404040cc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/80:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)80%,transparent)}}.dark\\:hover\\:bg-neutral-800:where(.dark,.dark *):hover{background-color:var(--color-neutral-800)}.dark\\:hover\\:bg-orange-500:where(.dark,.dark *):hover{background-color:var(--color-orange-500)}.dark\\:hover\\:text-neutral-100:where(.dark,.dark *):hover{color:var(--color-neutral-100)}.dark\\:hover\\:text-neutral-300:where(.dark,.dark *):hover{color:var(--color-neutral-300)}.dark\\:hover\\:text-white:where(.dark,.dark *):hover{color:var(--color-white)}}.dark\\:focus\\:bg-neutral-700:where(.dark,.dark *):focus{background-color:var(--color-neutral-700)}.dark\\:focus\\:text-neutral-50:where(.dark,.dark *):focus{color:var(--color-neutral-50)}.dark\\:focus-visible\\:ring-neutral-400:where(.dark,.dark *):focus-visible{--tw-ring-color:var(--color-neutral-400)}@media (hover:hover){.dark\\:hover\\:enabled\\:border-red-800:where(.dark,.dark *):hover:enabled{border-color:var(--color-red-800)}.dark\\:hover\\:enabled\\:bg-\\[\\#4543e9\\]:where(.dark,.dark *):hover:enabled{background-color:#4543e9}.dark\\:hover\\:enabled\\:bg-neutral-700\\/30:where(.dark,.dark *):hover:enabled{background-color:#4040404d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:enabled\\:bg-neutral-700\\/30:where(.dark,.dark *):hover:enabled{background-color:color-mix(in oklab,var(--color-neutral-700)30%,transparent)}}.dark\\:hover\\:enabled\\:bg-orange-500:where(.dark,.dark *):hover:enabled{background-color:var(--color-orange-500)}.dark\\:hover\\:enabled\\:text-neutral-100:where(.dark,.dark *):hover:enabled{color:var(--color-neutral-100)}.dark\\:hover\\:enabled\\:text-neutral-300:where(.dark,.dark *):hover:enabled{color:var(--color-neutral-300)}.dark\\:hover\\:enabled\\:text-red-500:where(.dark,.dark *):hover:enabled{color:var(--color-red-500)}}.dark\\:disabled\\:border-neutral-400:where(.dark,.dark *):disabled{border-color:var(--color-neutral-400)}.dark\\:disabled\\:border-red-950:where(.dark,.dark *):disabled{border-color:var(--color-red-950)}.dark\\:disabled\\:bg-\\[\\#9197f3\\]:where(.dark,.dark *):disabled{background-color:#9197f3}.dark\\:disabled\\:text-neutral-600:where(.dark,.dark *):disabled{color:var(--color-neutral-600)}.dark\\:disabled\\:text-neutral-700:where(.dark,.dark *):disabled{color:var(--color-neutral-700)}.dark\\:disabled\\:text-red-800:where(.dark,.dark *):disabled{color:var(--color-red-800)}.dark\\:disabled\\:opacity-40:where(.dark,.dark *):disabled{opacity:.4}.dark\\:disabled\\:opacity-50:where(.dark,.dark *):disabled{opacity:.5}.dark\\:data-focus\\:bg-neutral-700:where(.dark,.dark *)[data-focus]{background-color:var(--color-neutral-700)}.dark\\:data-\\[state\\=checked\\]\\:border-transparent:where(.dark,.dark *)[data-state=checked]{border-color:#0000}.dark\\:data-\\[state\\=checked\\]\\:bg-neutral-600:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-neutral-600)}.dark\\:data-\\[state\\=checked\\]\\:bg-white:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-white)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-neutral-200:where(.dark,.dark *)[data-state=unchecked]{background-color:var(--color-neutral-200)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-neutral-700:where(.dark,.dark *)[data-state=unchecked]{background-color:var(--color-neutral-700)}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing)*2)}}@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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@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-font-weight{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-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:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}`, Er = typeof window < "u", Sn = xt("devBackend");
38
- let kt = "8888";
39
- if (Sn && Er) {
23
+ import * as Gt from "@radix-ui/react-switch";
24
+ import Qa, { useSWRConfig as yr } from "swr";
25
+ import { InstantAPIError as Ja, id as je, coerceToDate as en, tx as tn } from "@instantdb/core";
26
+ import { add as kr, formatDistanceToNow as xr, format as rn } from "date-fns";
27
+ import { id as Pe, tx as an, init as nn } from "@instantdb/react";
28
+ import { useSensors as on, useSensor as bt, MouseSensor as ln, TouchSensor as sn, KeyboardSensor as dn, DndContext as cn, closestCenter as un } from "@dnd-kit/core";
29
+ import { markdownTable as pn } from "markdown-table";
30
+ import { mkConfig as gn, generateCsv as hn, download as fn } from "export-to-csv";
31
+ import { restrictToHorizontalAxis as mn } from "@dnd-kit/modifiers";
32
+ import { useSortable as Sr, SortableContext as Ht, horizontalListSortingStrategy as Wt, arrayMove as bn } from "@dnd-kit/sortable";
33
+ import { flexRender as ot, useReactTable as wn, getCoreRowModel as vn } from "@tanstack/react-table";
34
+ import { debounce as yn, last as kn, isObject as Ne } from "lodash";
35
+ import { CSS as Nr } from "@dnd-kit/utilities";
36
+ import "swr/subscription";
37
+ import { validate as xn } from "uuid";
38
+ const Sn = `/*! tailwindcss v4.1.17 | 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)))){*,: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-space-y-reverse:0;--tw-space-x-reverse:0;--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-font-weight: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-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:""}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--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-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-500:oklch(76.9% .188 70.08);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-slate-100:oklch(96.8% .007 247.896);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-neutral-50:oklch(98.5% 0 0);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-neutral-950:oklch(14.5% 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--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-xs:4px;--blur-sm:8px;--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)}}@layer base{*,: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,ui-sans-serif,system-ui,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;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{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{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}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:#6a7282;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#155dfc;outline:2px solid #0000}input::placeholder,textarea::placeholder{color:#6a7282;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;print-color-adjust:unset;padding-right:.75rem}[type=checkbox],[type=radio]{appearance:none;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:#155dfc;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:#6a7282;flex-shrink:0;width:1rem;height:1rem;padding:0;display:inline-block}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors:active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media (forced-colors:active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-4{top:calc(var(--spacing)*4)}.top-\\[18px\\]{top:18px}.top-\\[50\\%\\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-\\[50\\%\\]{left:50%}.z-0{z-index:0}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-100{z-index:100}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-0\\.5{margin-right:calc(var(--spacing)*.5)}.mr-4{margin-right:calc(var(--spacing)*4)}.mr-8{margin-right:calc(var(--spacing)*8)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.-ml-0\\.5{margin-left:calc(var(--spacing)*-.5)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-3\\.5{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.h-\\(--radix-select-trigger-height\\){height:var(--radix-select-trigger-height)}.h-1{height:calc(var(--spacing)*1)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-12{height:calc(var(--spacing)*12)}.h-32{height:calc(var(--spacing)*32)}.h-64{height:calc(var(--spacing)*64)}.h-\\[1\\.15rem\\]{height:1.15rem}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.max-h-\\[25vh\\]{max-height:25vh}.max-h-\\[calc\\(100\\%-2rem\\)\\]{max-height:calc(100% - 2rem)}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[30vh\\]{min-height:30vh}.min-h-\\[34px\\]{min-height:34px}.min-h-full{min-height:100%}.w-\\(--input-width\\){width:var(--input-width)}.w-0\\.5{width:calc(var(--spacing)*.5)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-12{width:calc(var(--spacing)*12)}.w-24{width:calc(var(--spacing)*24)}.w-48{width:calc(var(--spacing)*48)}.w-\\[30px\\]{width:30px}.w-\\[62px\\]{width:62px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[67vw\\]{max-width:67vw}.max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.max-w-fit{max-width:fit-content}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-xl{max-width:var(--container-xl)}.min-w-\\(--radix-select-trigger-width\\){min-width:var(--radix-select-trigger-width)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\\[200px\\]{min-width:200px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.origin-\\(--radix-tooltip-content-transform-origin\\){transform-origin:var(--radix-tooltip-content-transform-origin)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0\\.5{--tw-translate-y:calc(var(--spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-rotate-45{rotate:-45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.resize{resize:both}.resize-none{resize:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing)*1)}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.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:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-1{column-gap:calc(var(--spacing)*1)}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}: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)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-visible{overflow:visible}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.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-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#606AF4\\]{border-color:#606af4}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-300\\/80{border-color:#d1d5dccc}@supports (color:color-mix(in lab,red,red)){.border-gray-300\\/80{border-color:color-mix(in oklab,var(--color-gray-300)80%,transparent)}}.border-gray-500{border-color:var(--color-gray-500)}.border-neutral-200{border-color:var(--color-neutral-200)}.border-neutral-300{border-color:var(--color-neutral-300)}.border-red-200{border-color:var(--color-red-200)}.border-red-500{border-color:var(--color-red-500)}.border-transparent{border-color:#0000}.border-r-gray-200{border-right-color:var(--color-gray-200)}.border-b-gray-200{border-bottom-color:var(--color-gray-200)}.border-l-red-500{border-left-color:var(--color-red-500)}.bg-\\[\\#606AF4\\]{background-color:#606af4}.bg-\\[\\#616AF4\\]{background-color:#616af4}.bg-\\[\\#4543e9\\]{background-color:#4543e9}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-200{background-color:var(--color-neutral-200)}.bg-neutral-300{background-color:var(--color-neutral-300)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-600{background-color:var(--color-orange-600)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-200{background-color:var(--color-red-200)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-linear-to-l{--tw-gradient-position:to left}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-l{--tw-gradient-position:to left in oklab}}.bg-linear-to-l{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-r{--tw-gradient-position:to right}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-r{--tw-gradient-position:to right in oklab}}.bg-linear-to-r{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-none{background-image:none}.from-black\\/10{--tw-gradient-from:#0000001a}@supports (color:color-mix(in lab,red,red)){.from-black\\/10{--tw-gradient-from:color-mix(in oklab,var(--color-black)10%,transparent)}}.from-black\\/10{--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-black\\/20{--tw-gradient-from:#0003}@supports (color:color-mix(in lab,red,red)){.from-black\\/20{--tw-gradient-from:color-mix(in oklab,var(--color-black)20%,transparent)}}.from-black\\/20{--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))}.via-black\\/0{--tw-gradient-via:#0000}@supports (color:color-mix(in lab,red,red)){.via-black\\/0{--tw-gradient-via:color-mix(in oklab,var(--color-black)0%,transparent)}}.via-black\\/0{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-black\\/5{--tw-gradient-via:#0000000d}@supports (color:color-mix(in lab,red,red)){.via-black\\/5{--tw-gradient-via:color-mix(in oklab,var(--color-black)5%,transparent)}}.via-black\\/5{--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-transparent{--tw-gradient-to:transparent;--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))}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-1{padding-left:calc(var(--spacing)*1)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-24{padding-left:calc(var(--spacing)*24)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.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)}.text-balance{text-wrap:balance}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#606AF4\\]{color:#606af4}.text-\\[\\#2563EB\\]{color:#2563eb}.text-blue-800{color:var(--color-blue-800)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-700{color:var(--color-neutral-700)}.text-neutral-950{color:var(--color-neutral-950)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.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-2xs{--tw-shadow:0 1px 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-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px 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-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px 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-sm{--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-xs{--tw-shadow:0 1px 2px 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)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + 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-1{--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)}.ring-\\[\\#606AF4\\]{--tw-ring-color:#606af4}.ring-gray-300{--tw-ring-color:var(--color-gray-300)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.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,)}.blur-sm{--tw-blur:blur(var(--blur-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-xs{--tw-backdrop-blur:blur(var(--blur-xs));-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-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;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-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.content-\\[hi\\]{--tw-content:hi;content:var(--tw-content)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\\:text-amber-500:is(:where(.group):hover *){color:var(--color-amber-500)}.group-hover\\:opacity-70:is(:where(.group):hover *){opacity:.7}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\\:rounded-xs::file-selector-button{border-radius:var(--radius-xs)}.file\\:border-none::file-selector-button{--tw-border-style:none;border-style:none}.file\\:border-neutral-200::file-selector-button{border-color:var(--color-neutral-200)}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:p-2::file-selector-button{padding:calc(var(--spacing)*2)}.file\\:pt-1::file-selector-button{padding-top:calc(var(--spacing)*1)}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:shadow-none::file-selector-button{--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)}.placeholder\\:text-gray-400::placeholder{color:var(--color-gray-400)}.placeholder\\:text-neutral-500::placeholder{color:var(--color-neutral-500)}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.empty\\:invisible:empty{visibility:hidden}.focus-within\\:ring-2:focus-within{--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-within\\:ring-blue-700:focus-within{--tw-ring-color:var(--color-blue-700)}@media (hover:hover){.hover\\:cursor-col-resize:hover{cursor:col-resize}.hover\\:cursor-grab:hover{cursor:grab}.hover\\:border-red-300:hover{border-color:var(--color-red-300)}.hover\\:bg-\\[\\#4543E9\\]:hover,.hover\\:bg-\\[\\#4543e9\\]:hover{background-color:#4543e9}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-50\\/30:hover{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-50\\/30:hover{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-gray-200\\/30:hover{background-color:#e5e7eb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-200\\/30:hover{background-color:color-mix(in oklab,var(--color-gray-200)30%,transparent)}}.hover\\:bg-gray-200\\/50:hover{background-color:#e5e7eb80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-200\\/50:hover{background-color:color-mix(in oklab,var(--color-gray-200)50%,transparent)}}.hover\\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\\:bg-neutral-300:hover{background-color:var(--color-neutral-300)}.hover\\:bg-orange-500:hover{background-color:var(--color-orange-500)}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-gray-700:hover{color:var(--color-gray-700)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-100:hover{color:var(--color-slate-100)}.hover\\:opacity-100:hover{opacity:1}}.focus\\:bg-neutral-100:focus{background-color:var(--color-neutral-100)}.focus\\:text-neutral-900:focus{color:var(--color-neutral-900)}.focus\\:ring-2:focus{--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\\:ring-\\[\\#606AF4\\]:focus{--tw-ring-color:#606af4}.focus\\:ring-offset-2:focus{--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\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-1:focus-visible{--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)}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + 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-neutral-950:focus-visible{--tw-ring-color:var(--color-neutral-950)}.focus-visible\\:outline-hidden:focus-visible{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus-visible\\:outline-hidden:focus-visible{outline-offset:2px;outline:2px solid #0000}}.active\\:cursor-grabbing:active{cursor:grabbing}@media (hover:hover){.hover\\:enabled\\:border-red-300:hover:enabled{border-color:var(--color-red-300)}.hover\\:enabled\\:bg-\\[\\#4543e9\\]:hover:enabled{background-color:#4543e9}.hover\\:enabled\\:bg-gray-50\\/30:hover:enabled{background-color:#f9fafb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:enabled\\:bg-gray-50\\/30:hover:enabled{background-color:color-mix(in oklab,var(--color-gray-50)30%,transparent)}}.hover\\:enabled\\:bg-gray-200\\/30:hover:enabled{background-color:#e5e7eb4d}@supports (color:color-mix(in lab,red,red)){.hover\\:enabled\\:bg-gray-200\\/30:hover:enabled{background-color:color-mix(in oklab,var(--color-gray-200)30%,transparent)}}.hover\\:enabled\\:bg-orange-500:hover:enabled{background-color:var(--color-orange-500)}.hover\\:enabled\\:text-gray-600:hover:enabled{color:var(--color-gray-600)}.hover\\:enabled\\:text-red-600:hover:enabled{color:var(--color-red-600)}.hover\\:enabled\\:text-slate-100:hover:enabled{color:var(--color-slate-100)}}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:border-gray-300:disabled{border-color:var(--color-gray-300)}.disabled\\:border-red-50:disabled{border-color:var(--color-red-50)}.disabled\\:bg-\\[\\#9197f3\\]:disabled{background-color:#9197f3}.disabled\\:bg-gray-200:disabled{background-color:var(--color-gray-200)}.disabled\\:text-gray-400:disabled{color:var(--color-gray-400)}.disabled\\:text-red-300:disabled{color:var(--color-red-300)}.disabled\\:opacity-20:disabled{opacity:.2}.disabled\\:opacity-50:disabled{opacity:.5}.data-disabled\\:pointer-events-none[data-disabled]{pointer-events:none}.data-disabled\\:opacity-50[data-disabled]{opacity:.5}.data-focus\\:bg-blue-100[data-focus]{background-color:var(--color-blue-100)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[size\\=default\\]\\:h-9[data-size=default]{height:calc(var(--spacing)*9)}.data-\\[size\\=sm\\]\\:h-8[data-size=sm]{height:calc(var(--spacing)*8)}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing)*2)}.data-\\[state\\=checked\\]\\:translate-x-\\[calc\\(100\\%-2px\\)\\][data-state=checked]{--tw-translate-x: calc(100% - 2px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[state\\=checked\\]\\:bg-neutral-800[data-state=checked]{background-color:var(--color-neutral-800)}.data-\\[state\\=checked\\]\\:bg-white[data-state=checked]{background-color:var(--color-white)}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[state\\=unchecked\\]\\:bg-neutral-300[data-state=unchecked]{background-color:var(--color-neutral-300)}@media (min-width:40rem){.sm\\:max-w-lg{max-width:var(--container-lg)}}@media (min-width:48rem){.md\\:static{position:static}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-start{justify-content:flex-start}.md\\:gap-2{gap:calc(var(--spacing)*2)}.md\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.md\\:shadow-none{--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)}}:where(.dark\\:divide-neutral-700:where(.dark,.dark *)>:not(:last-child)){border-color:var(--color-neutral-700)}.dark\\:border:where(.dark,.dark *){border-style:var(--tw-border-style);border-width:1px}.dark\\:border-neutral-500:where(.dark,.dark *){border-color:var(--color-neutral-500)}.dark\\:border-neutral-600:where(.dark,.dark *){border-color:var(--color-neutral-600)}.dark\\:border-neutral-700:where(.dark,.dark *){border-color:var(--color-neutral-700)}.dark\\:border-neutral-800:where(.dark,.dark *){border-color:var(--color-neutral-800)}.dark\\:border-red-900\\/60:where(.dark,.dark *){border-color:#82181a99}@supports (color:color-mix(in lab,red,red)){.dark\\:border-red-900\\/60:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-red-900)60%,transparent)}}.dark\\:border-y-neutral-700:where(.dark,.dark *){border-block-color:var(--color-neutral-700)}.dark\\:border-y-neutral-800:where(.dark,.dark *){border-block-color:var(--color-neutral-800)}.dark\\:border-t-neutral-700:where(.dark,.dark *){border-top-color:var(--color-neutral-700)}.dark\\:border-r-neutral-700:where(.dark,.dark *){border-right-color:var(--color-neutral-700)}.dark\\:border-b-neutral-600:where(.dark,.dark *){border-bottom-color:var(--color-neutral-600)}.dark\\:border-b-neutral-700:where(.dark,.dark *){border-bottom-color:var(--color-neutral-700)}.dark\\:border-l-neutral-700:where(.dark,.dark *){border-left-color:var(--color-neutral-700)}.dark\\:bg-\\[\\#606AF4\\]:where(.dark,.dark *){background-color:#606af4}.dark\\:bg-\\[\\#252525\\]:where(.dark,.dark *){background-color:#252525}.dark\\:bg-\\[\\#303030\\]:where(.dark,.dark *){background-color:#303030}.dark\\:bg-blue-700\\/30:where(.dark,.dark *){background-color:#1447e64d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-700\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-700)30%,transparent)}}.dark\\:bg-neutral-200:where(.dark,.dark *){background-color:var(--color-neutral-200)}.dark\\:bg-neutral-600\\/20:where(.dark,.dark *){background-color:#52525233}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)20%,transparent)}}.dark\\:bg-neutral-600\\/40:where(.dark,.dark *){background-color:#52525266}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/40:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)40%,transparent)}}.dark\\:bg-neutral-600\\/50:where(.dark,.dark *){background-color:#52525280}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-600\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-600)50%,transparent)}}.dark\\:bg-neutral-700:where(.dark,.dark *){background-color:var(--color-neutral-700)}.dark\\:bg-neutral-700\\/50:where(.dark,.dark *){background-color:#40404080}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-700\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-700)50%,transparent)}}.dark\\:bg-neutral-800:where(.dark,.dark *){background-color:var(--color-neutral-800)}.dark\\:bg-neutral-900:where(.dark,.dark *){background-color:var(--color-neutral-900)}.dark\\:bg-neutral-900\\/50:where(.dark,.dark *){background-color:#17171780}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-neutral-900\\/50:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-neutral-900)50%,transparent)}}.dark\\:bg-orange-600:where(.dark,.dark *){background-color:var(--color-orange-600)}.dark\\:bg-red-500\\/10:where(.dark,.dark *){background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-500\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.dark\\:bg-red-900\\/30:where(.dark,.dark *){background-color:#82181a4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-red-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-red-900)30%,transparent)}}.dark\\:bg-transparent:where(.dark,.dark *){background-color:#0000}.dark\\:text-blue-100:where(.dark,.dark *){color:var(--color-blue-100)}.dark\\:text-neutral-50:where(.dark,.dark *){color:var(--color-neutral-50)}.dark\\:text-neutral-200:where(.dark,.dark *){color:var(--color-neutral-200)}.dark\\:text-neutral-300:where(.dark,.dark *){color:var(--color-neutral-300)}.dark\\:text-neutral-400:where(.dark,.dark *){color:var(--color-neutral-400)}.dark\\:text-neutral-500:where(.dark,.dark *){color:var(--color-neutral-500)}.dark\\:text-neutral-600:where(.dark,.dark *){color:var(--color-neutral-600)}.dark\\:text-red-400:where(.dark,.dark *){color:var(--color-red-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:ring-neutral-500:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-500)}.dark\\:ring-neutral-600:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-600)}.dark\\:ring-neutral-700:where(.dark,.dark *){--tw-ring-color:var(--color-neutral-700)}.dark\\:file\\:border-neutral-700:where(.dark,.dark *)::file-selector-button{border-color:var(--color-neutral-700)}.dark\\:file\\:text-white:where(.dark,.dark *)::file-selector-button{color:var(--color-white)}.dark\\:placeholder\\:text-neutral-400:where(.dark,.dark *)::placeholder{color:var(--color-neutral-400)}.dark\\:placeholder\\:text-neutral-500:where(.dark,.dark *)::placeholder{color:var(--color-neutral-500)}.dark\\:checked\\:border-\\[\\#2563EB\\]:where(.dark,.dark *):checked{border-color:#2563eb}.dark\\:checked\\:bg-\\[\\#2563EB\\]:where(.dark,.dark *):checked{background-color:#2563eb}.dark\\:focus-within\\:ring-blue-500:where(.dark,.dark *):focus-within{--tw-ring-color:var(--color-blue-500)}@media (hover:hover){.dark\\:hover\\:border-red-800:where(.dark,.dark *):hover{border-color:var(--color-red-800)}.dark\\:hover\\:bg-\\[\\#4543e9\\]:where(.dark,.dark *):hover{background-color:#4543e9}.dark\\:hover\\:bg-neutral-700:where(.dark,.dark *):hover{background-color:var(--color-neutral-700)}.dark\\:hover\\:bg-neutral-700\\/30:where(.dark,.dark *):hover{background-color:#4040404d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/30:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)30%,transparent)}}.dark\\:hover\\:bg-neutral-700\\/50:where(.dark,.dark *):hover{background-color:#40404080}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)50%,transparent)}}.dark\\:hover\\:bg-neutral-700\\/80:where(.dark,.dark *):hover{background-color:#404040cc}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-neutral-700\\/80:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-neutral-700)80%,transparent)}}.dark\\:hover\\:bg-neutral-800:where(.dark,.dark *):hover{background-color:var(--color-neutral-800)}.dark\\:hover\\:bg-orange-500:where(.dark,.dark *):hover{background-color:var(--color-orange-500)}.dark\\:hover\\:text-neutral-100:where(.dark,.dark *):hover{color:var(--color-neutral-100)}.dark\\:hover\\:text-neutral-300:where(.dark,.dark *):hover{color:var(--color-neutral-300)}.dark\\:hover\\:text-white:where(.dark,.dark *):hover{color:var(--color-white)}}.dark\\:focus\\:bg-neutral-700:where(.dark,.dark *):focus{background-color:var(--color-neutral-700)}.dark\\:focus\\:text-neutral-50:where(.dark,.dark *):focus{color:var(--color-neutral-50)}.dark\\:focus-visible\\:ring-neutral-400:where(.dark,.dark *):focus-visible{--tw-ring-color:var(--color-neutral-400)}@media (hover:hover){.dark\\:hover\\:enabled\\:border-red-800:where(.dark,.dark *):hover:enabled{border-color:var(--color-red-800)}.dark\\:hover\\:enabled\\:bg-\\[\\#4543e9\\]:where(.dark,.dark *):hover:enabled{background-color:#4543e9}.dark\\:hover\\:enabled\\:bg-neutral-700\\/30:where(.dark,.dark *):hover:enabled{background-color:#4040404d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:enabled\\:bg-neutral-700\\/30:where(.dark,.dark *):hover:enabled{background-color:color-mix(in oklab,var(--color-neutral-700)30%,transparent)}}.dark\\:hover\\:enabled\\:bg-orange-500:where(.dark,.dark *):hover:enabled{background-color:var(--color-orange-500)}.dark\\:hover\\:enabled\\:text-neutral-100:where(.dark,.dark *):hover:enabled{color:var(--color-neutral-100)}.dark\\:hover\\:enabled\\:text-neutral-300:where(.dark,.dark *):hover:enabled{color:var(--color-neutral-300)}.dark\\:hover\\:enabled\\:text-red-500:where(.dark,.dark *):hover:enabled{color:var(--color-red-500)}}.dark\\:disabled\\:border-neutral-400:where(.dark,.dark *):disabled{border-color:var(--color-neutral-400)}.dark\\:disabled\\:border-red-950:where(.dark,.dark *):disabled{border-color:var(--color-red-950)}.dark\\:disabled\\:bg-\\[\\#9197f3\\]:where(.dark,.dark *):disabled{background-color:#9197f3}.dark\\:disabled\\:text-neutral-600:where(.dark,.dark *):disabled{color:var(--color-neutral-600)}.dark\\:disabled\\:text-neutral-700:where(.dark,.dark *):disabled{color:var(--color-neutral-700)}.dark\\:disabled\\:text-red-800:where(.dark,.dark *):disabled{color:var(--color-red-800)}.dark\\:disabled\\:opacity-40:where(.dark,.dark *):disabled{opacity:.4}.dark\\:disabled\\:opacity-50:where(.dark,.dark *):disabled{opacity:.5}.dark\\:data-focus\\:bg-neutral-700:where(.dark,.dark *)[data-focus]{background-color:var(--color-neutral-700)}.dark\\:data-\\[state\\=checked\\]\\:border-transparent:where(.dark,.dark *)[data-state=checked]{border-color:#0000}.dark\\:data-\\[state\\=checked\\]\\:bg-neutral-600:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-neutral-600)}.dark\\:data-\\[state\\=checked\\]\\:bg-white:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-white)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-neutral-200:where(.dark,.dark *)[data-state=unchecked]{background-color:var(--color-neutral-200)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-neutral-700:where(.dark,.dark *)[data-state=unchecked]{background-color:var(--color-neutral-700)}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing)*2)}}@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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@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-font-weight{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-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:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}`, Er = typeof window < "u", Nn = kt("devBackend");
39
+ let yt = "8888";
40
+ if (Nn && Er) {
40
41
  const e = new URL(location.href).searchParams.get("port");
41
- e && (kt = e);
42
+ e && (yt = e);
42
43
  }
43
- const Yt = {
44
- apiURI: xt("devBackend") ? `http://localhost:${kt}` : "https://api.instantdb.com",
45
- websocketURI: xt("devBackend") ? `ws://localhost:${kt}/runtime/session` : "wss://api.instantdb.com/runtime/session"
44
+ const Vt = {
45
+ apiURI: kt("devBackend") ? `http://localhost:${yt}` : "https://api.instantdb.com",
46
+ websocketURI: kt("devBackend") ? `ws://localhost:${yt}/runtime/session` : "wss://api.instantdb.com/runtime/session"
46
47
  };
47
- function xt(e) {
48
+ function kt(e) {
48
49
  if (!Er)
49
50
  return null;
50
51
  try {
@@ -55,17 +56,17 @@ function xt(e) {
55
56
  }
56
57
  }
57
58
  function oe(e) {
58
- Nt.success(e, {
59
+ St.success(e, {
59
60
  richColors: !0
60
61
  });
61
62
  }
62
63
  function ie(e, t) {
63
- Nt.error(e, {
64
+ St.error(e, {
64
65
  duration: t?.autoClose,
65
66
  richColors: !0
66
67
  });
67
68
  }
68
- const It = {
69
+ const Ct = {
69
70
  /**
70
71
  * users has_many tags
71
72
  * tags has_many users
@@ -103,18 +104,18 @@ const It = {
103
104
  "unique?": !1
104
105
  }
105
106
  }, Cr = Object.fromEntries(
106
- Object.entries(It).map(([e, t]) => [
107
+ Object.entries(Ct).map(([e, t]) => [
107
108
  `${t.cardinality}-${t["unique?"]}`,
108
109
  e
109
110
  ])
110
- ), Nn = ({
111
+ ), En = ({
111
112
  attr: e,
112
113
  gracePeriodDays: t,
113
114
  isExpanded: a,
114
115
  setIsExpanded: n,
115
116
  onRestore: o
116
117
  }) => {
117
- const l = gr(new Date(e["deletion-marked-at"]), {
118
+ const l = kr(new Date(e["deletion-marked-at"]), {
118
119
  days: t
119
120
  }), i = () => e["forward-identity"][2], g = () => e["reverse-identity"]?.[2], c = () => {
120
121
  const s = e["forward-identity"][1], m = e["reverse-identity"]?.[1];
@@ -162,11 +163,11 @@ const It = {
162
163
  onClick: f,
163
164
  children: [
164
165
  /* @__PURE__ */ h("div", { className: "flex items-center gap-3", children: [
165
- a ? /* @__PURE__ */ r(Et, { width: 14, className: "text-gray-400" }) : /* @__PURE__ */ r(ba, { width: 14, className: "text-gray-400" }),
166
+ a ? /* @__PURE__ */ r(Nt, { width: 14, className: "text-gray-400" }) : /* @__PURE__ */ r(ha, { width: 14, className: "text-gray-400" }),
166
167
  /* @__PURE__ */ r("span", { className: "font-mono text-sm font-medium", children: e["forward-identity"][2] }),
167
168
  /* @__PURE__ */ h("span", { className: "font-mono text-xs text-gray-400", children: [
168
169
  "expires ",
169
- hr(l, { includeSeconds: !1 })
170
+ xr(l, { includeSeconds: !1 })
170
171
  ] })
171
172
  ] }),
172
173
  /* @__PURE__ */ h(
@@ -179,7 +180,7 @@ const It = {
179
180
  s.stopPropagation(), o(e.id);
180
181
  },
181
182
  children: [
182
- /* @__PURE__ */ r(wa, { width: 14 }),
183
+ /* @__PURE__ */ r(fa, { width: 14 }),
183
184
  "Restore"
184
185
  ]
185
186
  }
@@ -199,9 +200,9 @@ const It = {
199
200
  s.label
200
201
  )) }) }) })
201
202
  ] });
202
- }, At = (e) => {
203
+ }, It = (e) => {
203
204
  const t = de(), a = t.adminToken;
204
- return _a(["recently-deleted", e], async () => {
205
+ return Qa(["recently-deleted", e], async () => {
205
206
  const o = await fetch(
206
207
  `${t.apiURI}/dash/apps/${e}/soft_deleted_attrs`,
207
208
  {
@@ -217,12 +218,12 @@ const It = {
217
218
  );
218
219
  return {
219
220
  ...l,
220
- attrs: l.attrs.map(In)
221
+ attrs: l.attrs.map(An)
221
222
  };
222
223
  });
223
224
  }, Ir = (e) => {
224
- const { data: t } = At(e);
225
- return le(() => {
225
+ const { data: t } = It(e);
226
+ return se(() => {
226
227
  const n = t?.attrs || [];
227
228
  return n.filter((i) => i["forward-identity"][2] === "id").map((i) => {
228
229
  const g = n.filter(
@@ -232,11 +233,11 @@ const It = {
232
233
  });
233
234
  }, [t?.attrs]);
234
235
  };
235
- function En({
236
+ function Cn({
236
237
  appId: e,
237
238
  db: t
238
239
  }) {
239
- const { data: a, mutate: n } = At(e), o = Ir(e), l = a?.["grace-period-days"] || 2, i = async ({ idAttr: g, remainingCols: c }) => {
240
+ const { data: a, mutate: n } = It(e), o = Ir(e), l = a?.["grace-period-days"] || 2, i = async ({ idAttr: g, remainingCols: c }) => {
240
241
  if (!t || !a) return;
241
242
  const p = [g, ...c].map((d) => d.id);
242
243
  await t.core._reactor.pushOps(
@@ -253,7 +254,7 @@ function En({
253
254
  o.length ? /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: o.toSorted((g, c) => +new Date(c.idAttr["deletion-marked-at"]) - +new Date(g.idAttr["deletion-marked-at"])).map((g) => {
254
255
  const c = new Date(
255
256
  g.idAttr["deletion-marked-at"]
256
- ), p = gr(c, {
257
+ ), p = kr(c, {
257
258
  days: l
258
259
  });
259
260
  return /* @__PURE__ */ h(
@@ -265,12 +266,12 @@ function En({
265
266
  /* @__PURE__ */ r("div", { className: "font-semibold dark:text-white", children: g.idAttr["forward-identity"][1] }),
266
267
  /* @__PURE__ */ h("div", { className: "mt-1 text-xs text-neutral-500 dark:text-neutral-400", children: [
267
268
  "Deleted ",
268
- $a(c, "MMM d, h:mm a"),
269
+ rn(c, "MMM d, h:mm a"),
269
270
  " ·",
270
271
  " ",
271
272
  "expires",
272
273
  " ",
273
- hr(p, {
274
+ xr(p, {
274
275
  includeSeconds: !1
275
276
  })
276
277
  ] }),
@@ -287,7 +288,7 @@ function En({
287
288
  variant: "secondary",
288
289
  onClick: () => i(g),
289
290
  children: [
290
- /* @__PURE__ */ r(va, { className: "h-3.5 w-3.5" }),
291
+ /* @__PURE__ */ r(ma, { className: "h-3.5 w-3.5" }),
291
292
  "Restore"
292
293
  ]
293
294
  }
@@ -299,8 +300,8 @@ function En({
299
300
  }) }) : /* @__PURE__ */ r("p", { className: "text-sm text-neutral-500 dark:text-neutral-400", children: "No recently deleted namespaces." })
300
301
  ] });
301
302
  }
302
- const Cn = ({ namespace: e, appId: t, db: a, notes: n }) => {
303
- const { data: o, mutate: l, error: i } = At(t), [g, c] = C(null), p = st(), f = async (s) => {
303
+ const In = ({ namespace: e, appId: t, db: a, notes: n }) => {
304
+ const { data: o, mutate: l, error: i } = It(t), [g, c] = C(null), p = it(), f = async (s) => {
304
305
  if (a && o)
305
306
  try {
306
307
  await a.core._reactor.pushOps([["restore-attr", s]]), l({
@@ -309,11 +310,11 @@ const Cn = ({ namespace: e, appId: t, db: a, notes: n }) => {
309
310
  });
310
311
  const m = o.attrs.find((b) => b.id === s);
311
312
  if (m) {
312
- const b = An(m);
313
+ const b = Rn(m);
313
314
  b && n.setNote(s, b);
314
315
  }
315
316
  } catch (m) {
316
- console.error(m), m instanceof Da ? m.body?.type === "record-not-unique" ? ie(
317
+ console.error(m), m instanceof Ja ? m.body?.type === "record-not-unique" ? ie(
317
318
  "Attribute already exists. Rename existing attribute first and then try again to restore."
318
319
  ) : ie(m.message) : ie("Failed to restore attr");
319
320
  }
@@ -323,12 +324,12 @@ const Cn = ({ namespace: e, appId: t, db: a, notes: n }) => {
323
324
  return H(() => {
324
325
  u?.length === 0 && p.onClose();
325
326
  }, [u]), i || !u || u.length === 0 ? null : /* @__PURE__ */ h("div", { className: "pb-2", children: [
326
- /* @__PURE__ */ r(ft, { className: "pb-2", children: /* @__PURE__ */ h("div", { className: "flex w-full grow items-center justify-center gap-2 text-center opacity-60", children: [
327
- /* @__PURE__ */ r(cr, { width: 16 }),
327
+ /* @__PURE__ */ r(ht, { className: "pb-2", children: /* @__PURE__ */ h("div", { className: "flex w-full grow items-center justify-center gap-2 text-center opacity-60", children: [
328
+ /* @__PURE__ */ r(ir, { width: 16 }),
328
329
  "Recently Deleted"
329
330
  ] }) }),
330
331
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: u?.map((s) => /* @__PURE__ */ r(
331
- Nn,
332
+ En,
332
333
  {
333
334
  isExpanded: g === s.id,
334
335
  setIsExpanded: (m) => {
@@ -341,34 +342,34 @@ const Cn = ({ namespace: e, appId: t, db: a, notes: n }) => {
341
342
  s.id
342
343
  )) })
343
344
  ] });
344
- }, Kt = "_deleted$", In = (e) => {
345
+ }, Yt = "_deleted$", An = (e) => {
345
346
  const t = { ...e }, [a, n, o] = e["forward-identity"];
346
347
  if (t["forward-identity"] = [
347
348
  a,
348
- at(n),
349
- at(o)
349
+ tt(n),
350
+ tt(o)
350
351
  ], e["reverse-identity"]) {
351
352
  const [l, i, g] = e["reverse-identity"];
352
353
  t["reverse-identity"] = [
353
354
  l,
354
- at(i),
355
- at(g)
355
+ tt(i),
356
+ tt(g)
356
357
  ];
357
358
  }
358
359
  return t;
359
- }, at = (e) => {
360
- const t = e.indexOf(Kt);
361
- return t === -1 ? e : e.slice(t + Kt.length);
362
- }, An = (e) => e && e?.metadata?.soft_delete_snapshot ? e.metadata.soft_delete_snapshot.is_indexed && e.metadata.soft_delete_snapshot.is_required ? "Index and required constraints were dropped after restoring" : e.metadata.soft_delete_snapshot.is_indexed ? "Indexed constraint was dropped after restoring" : e.metadata.soft_delete_snapshot.is_required ? "Required constraint was dropped after restoring" : null : null;
363
- function Rn({
360
+ }, tt = (e) => {
361
+ const t = e.indexOf(Yt);
362
+ return t === -1 ? e : e.slice(t + Yt.length);
363
+ }, Rn = (e) => e && e?.metadata?.soft_delete_snapshot ? e.metadata.soft_delete_snapshot.is_indexed && e.metadata.soft_delete_snapshot.is_required ? "Index and required constraints were dropped after restoring" : e.metadata.soft_delete_snapshot.is_indexed ? "Indexed constraint was dropped after restoring" : e.metadata.soft_delete_snapshot.is_required ? "Required constraint was dropped after restoring" : null : null;
364
+ function Tn({
364
365
  db: e,
365
366
  onClose: t
366
367
  }) {
367
368
  const [a, n] = C("");
368
369
  async function o() {
369
370
  const l = {
370
- id: qe(),
371
- "forward-identity": [qe(), a, "id"],
371
+ id: Pe(),
372
+ "forward-identity": [Pe(), a, "id"],
372
373
  "value-type": "blob",
373
374
  cardinality: "one",
374
375
  "unique?": !0,
@@ -400,20 +401,20 @@ function Rn({
400
401
  )
401
402
  ] });
402
403
  }
403
- const Tn = [
404
+ const On = [
404
405
  // Exclude computed fields
405
406
  ["$files", "url"]
406
- ], Xt = [":", ">", "<"];
407
- function On(e) {
407
+ ], Kt = [":", ">", "<"];
408
+ function _n(e) {
408
409
  let t = 0, a, n;
409
410
  const o = [];
410
411
  let l = -1;
411
412
  for (const i of e) {
412
- if (l++, i === " " && !Xt.includes(e[l + 1])) {
413
+ if (l++, i === " " && !Kt.includes(e[l + 1])) {
413
414
  t = l + 1;
414
415
  continue;
415
416
  }
416
- if (Xt.includes(i)) {
417
+ if (Kt.includes(i)) {
417
418
  a && n != null && (a.value = e.substring(n, t).trim(), o.push(a)), a = {
418
419
  field: e.substring(t, l).trim(),
419
420
  operator: i,
@@ -424,7 +425,7 @@ function On(e) {
424
425
  }
425
426
  return a && n != null && (a.value = e.substring(n).trim(), o.push(a)), o;
426
427
  }
427
- function Be(e) {
428
+ function Me(e) {
428
429
  switch (e) {
429
430
  case ":":
430
431
  return "=";
@@ -436,14 +437,14 @@ function Be(e) {
436
437
  throw new Error("what kind of op is this? " + e);
437
438
  }
438
439
  }
439
- function _n({
440
+ function Dn({
440
441
  query: e,
441
442
  attrsByName: t,
442
443
  stringIndexed: a
443
444
  }) {
444
445
  if (!e.trim())
445
446
  return [];
446
- const n = On(e), o = n.flatMap(
447
+ const n = _n(e), o = n.flatMap(
447
448
  (l) => {
448
449
  const i = t[l.field];
449
450
  if (!i || !l.value)
@@ -467,7 +468,7 @@ function _n({
467
468
  return [
468
469
  [
469
470
  l.field,
470
- Be(l.operator),
471
+ Me(l.operator),
471
472
  JSON.parse(l.value)
472
473
  ]
473
474
  ];
@@ -478,12 +479,12 @@ function _n({
478
479
  return [
479
480
  [
480
481
  l.field,
481
- Be(l.operator),
482
+ Me(l.operator),
482
483
  JSON.parse(l.value)
483
484
  ]
484
485
  ];
485
486
  } catch {
486
- return [[l.field, Be(l.operator), l.value]];
487
+ return [[l.field, Me(l.operator), l.value]];
487
488
  }
488
489
  }
489
490
  for (const c of i.inferredTypes || ["json"])
@@ -493,7 +494,7 @@ function _n({
493
494
  try {
494
495
  g.push([
495
496
  l.field,
496
- Be(l.operator),
497
+ Me(l.operator),
497
498
  JSON.parse(l.value)
498
499
  ]);
499
500
  } catch {
@@ -501,7 +502,7 @@ function _n({
501
502
  break;
502
503
  }
503
504
  default: {
504
- g.push([l.field, Be(l.operator), l.value]);
505
+ g.push([l.field, Me(l.operator), l.value]);
505
506
  break;
506
507
  }
507
508
  }
@@ -517,7 +518,7 @@ function _n({
517
518
  ]);
518
519
  return o;
519
520
  }
520
- function Dn(e, t) {
521
+ function Ln(e, t) {
521
522
  if (t.length === e.length) {
522
523
  for (let a = 0; a < t.length; a++)
523
524
  for (let n = 0; n < 3; n++)
@@ -527,24 +528,24 @@ function Dn(e, t) {
527
528
  }
528
529
  return !1;
529
530
  }
530
- function Ln({
531
+ function Fn({
531
532
  onSearchChange: e,
532
533
  attrs: t,
533
534
  initialFilters: a = []
534
535
  }) {
535
- const [n, o] = C(""), l = X(a), { attrsByName: i, stringIndexed: g } = le(() => {
536
+ const [n, o] = C(""), l = X(a), { attrsByName: i, stringIndexed: g } = se(() => {
536
537
  const s = {}, m = [];
537
538
  for (const b of t || [])
538
539
  s[b.name] = b, b.isIndex && b.checkedDataType === "string" && m.push(b);
539
540
  return { attrsByName: s, stringIndexed: m };
540
- }, [t]), c = ot(
541
- wn((s) => {
542
- const m = _n({ query: s, attrsByName: i, stringIndexed: g });
543
- Dn(l.current, m) || (l.current = m, e(m));
541
+ }, [t]), c = at(
542
+ yn((s) => {
543
+ const m = Dn({ query: s, attrsByName: i, stringIndexed: g });
544
+ Ln(l.current, m) || (l.current = m, e(m));
544
545
  }, 80),
545
546
  [i, g, l]
546
- ), p = n.indexOf(":") !== -1 ? vn(n.split(" ")) : n, f = (t || []).flatMap((s) => {
547
- const m = Tn.some(
547
+ ), p = n.indexOf(":") !== -1 ? kn(n.split(" ")) : n, f = (t || []).flatMap((s) => {
548
+ const m = On.some(
548
549
  ([v, k]) => v === s.namespace && k === s.name
549
550
  );
550
551
  if (s.type === "ref" || m)
@@ -572,7 +573,7 @@ function Ln({
572
573
  return H(() => {
573
574
  a.length > 0 && !n && o(a.map((s) => `${s[0]}:${s[2]}`).join(" "));
574
575
  }, [a]), /* @__PURE__ */ h(
575
- vr,
576
+ pr,
576
577
  {
577
578
  value: n,
578
579
  onChange: (s) => {
@@ -581,7 +582,7 @@ function Ln({
581
582
  immediate: !0,
582
583
  children: [
583
584
  /* @__PURE__ */ r(
584
- yr,
585
+ gr,
585
586
  {
586
587
  size: 32,
587
588
  className: "rounded-md border border-neutral-300 px-3 py-2 text-sm dark:border-neutral-700 dark:bg-neutral-800 dark:text-white dark:placeholder:text-neutral-500",
@@ -600,13 +601,13 @@ function Ln({
600
601
  }
601
602
  ),
602
603
  /* @__PURE__ */ r(
603
- kr,
604
+ hr,
604
605
  {
605
606
  anchor: "bottom start",
606
607
  modal: !1,
607
608
  className: "z-10 mt-1 w-(--input-width) divide-y overflow-auto rounded-md border border-neutral-300 bg-white shadow-lg dark:divide-neutral-700 dark:border-neutral-700 dark:bg-neutral-800",
608
609
  children: f.map((s, m) => /* @__PURE__ */ r(
609
- xr,
610
+ fr,
610
611
  {
611
612
  value: s.display,
612
613
  className: O(
@@ -623,14 +624,14 @@ function Ln({
623
624
  }
624
625
  );
625
626
  }
626
- function Fn(e) {
627
+ function $n(e) {
627
628
  const [, t, a] = e["forward-identity"];
628
629
  return e.catalog !== "system" || t === "$users" || t === "$files";
629
630
  }
630
- function $n(e) {
631
+ function zn(e) {
631
632
  const t = {}, a = {};
632
633
  for (const [o, l] of Object.entries(e))
633
- Fn(l) && (a[o] = l);
634
+ $n(l) && (a[o] = l);
634
635
  for (const o of Object.values(a)) {
635
636
  const [, l] = o["forward-identity"];
636
637
  t[l] || (t[l] = { id: l, name: l, attrs: {} });
@@ -698,13 +699,13 @@ function $n(e) {
698
699
  }
699
700
  return Object.values(t).map((o) => ({
700
701
  ...o,
701
- attrs: Object.values(o.attrs).sort(Zt)
702
- })).sort(Zt);
702
+ attrs: Object.values(o.attrs).sort(Xt)
703
+ })).sort(Xt);
703
704
  }
704
- function Zt(e, t) {
705
+ function Xt(e, t) {
705
706
  return e.name === "id" ? -1 : t.name === "id" ? 1 : e.name < t.name ? -1 : e.name > t.name ? 1 : 0;
706
707
  }
707
- function zn(e, t) {
708
+ function jn(e, t) {
708
709
  const a = {};
709
710
  return e && (a[e[0]] = e[1]), t?.length && (a.or = t.map(([n, o, l]) => {
710
711
  switch (o) {
@@ -717,8 +718,8 @@ function zn(e, t) {
717
718
  }
718
719
  })), a;
719
720
  }
720
- function jn(e, t, a, n, o, l, i, g) {
721
- const c = g ? "asc" : "desc", p = zn(a, n), f = t ? {
721
+ function Mn(e, t, a, n, o, l, i, g) {
722
+ const c = g ? "asc" : "desc", p = jn(a, n), f = t ? {
722
723
  [t.name]: {
723
724
  ...Object.fromEntries(
724
725
  t.attrs.filter((m) => m.type === "ref").map((m) => [m.name, { $: { fields: ["id"] } }])
@@ -745,19 +746,19 @@ function jn(e, t, a, n, o, l, i, g) {
745
746
  allCount: s
746
747
  };
747
748
  }
748
- function Mn(e) {
749
+ function Bn(e) {
749
750
  const [t, a] = C({ namespaces: null, attrs: null });
750
751
  return e.useQuery({ ____explorer___: {} }), H(() => {
751
752
  function n(o) {
752
753
  a({
753
754
  attrs: o,
754
- namespaces: $n(o)
755
+ namespaces: zn(o)
755
756
  });
756
757
  }
757
758
  return e._core._reactor.subscribeAttrs(n);
758
759
  }, [e]), t;
759
760
  }
760
- const Qt = (e) => {
761
+ const Zt = (e) => {
761
762
  const t = localStorage.getItem(`columnVisibility_${e}`);
762
763
  if (!t)
763
764
  return {};
@@ -766,9 +767,9 @@ const Qt = (e) => {
766
767
  } catch (a) {
767
768
  return console.error("Failed to parse column visibility", a), {};
768
769
  }
769
- }, Bn = (e) => {
770
+ }, Un = (e) => {
770
771
  const [t, a] = C(
771
- Qt(e.appId)
772
+ Zt(e.appId)
772
773
  );
773
774
  return H(() => {
774
775
  localStorage.setItem(
@@ -776,10 +777,10 @@ const Qt = (e) => {
776
777
  JSON.stringify(t)
777
778
  );
778
779
  }, [e.appId, t]), H(() => {
779
- a(Qt(e.appId));
780
+ a(Zt(e.appId));
780
781
  }, [e.appId]), { visibility: t, setVisibility: a, attrs: e.attrs };
781
782
  };
782
- function Jt(e) {
783
+ function Qt(e) {
783
784
  if (typeof window > "u") return;
784
785
  let t = window.localStorage.getItem(e);
785
786
  if (t)
@@ -788,7 +789,7 @@ function Jt(e) {
788
789
  } catch {
789
790
  }
790
791
  }
791
- function Un(e, t) {
792
+ function Pn(e, t) {
792
793
  if (typeof window > "u")
793
794
  throw new Error("useLocalStorage/setState needs to run on the client");
794
795
  const a = JSON.stringify(t);
@@ -802,22 +803,22 @@ function Un(e, t) {
802
803
  new StorageEvent("storage", { key: e, newValue: a })
803
804
  );
804
805
  }
805
- function Pn(e, t) {
806
- const a = X(Jt(e) || t), n = ot((l) => {
806
+ function qn(e, t) {
807
+ const a = X(Qt(e) || t), n = at((l) => {
807
808
  const i = () => {
808
- a.current = Jt(e) || t, l();
809
+ a.current = Qt(e) || t, l();
809
810
  };
810
811
  return window.addEventListener("storage", i), () => {
811
812
  window.removeEventListener("storage", i);
812
813
  };
813
814
  }, []);
814
- return [ga(
815
+ return [Aa(
815
816
  n,
816
817
  () => a.current,
817
818
  () => t
818
- ), (l) => Un(e, l)];
819
+ ), (l) => Pn(e, l)];
819
820
  }
820
- function qn(e) {
821
+ function Gn(e) {
821
822
  const t = ["bytes", "kb", "mb", "gb", "tb", "pb", "eb", "zb", "yb"];
822
823
  let a = 0;
823
824
  if (!e) return "0 bytes";
@@ -825,7 +826,7 @@ function qn(e) {
825
826
  e /= 1024, a++;
826
827
  return e.toFixed(2) + " " + t[a];
827
828
  }
828
- const Gn = (e, t) => {
829
+ const Hn = (e, t) => {
829
830
  const a = document.querySelector(`.th-${e}`);
830
831
  if (!a)
831
832
  throw new Error(`Element with class th-${e} not found`);
@@ -845,9 +846,9 @@ const Gn = (e, t) => {
845
846
  document.body.removeChild(o);
846
847
  }
847
848
  };
848
- function Hn() {
849
+ function Wn() {
849
850
  const e = X(null), [t, a] = C(!1);
850
- return yt(() => {
851
+ return vt(() => {
851
852
  const { current: n } = e;
852
853
  n && (() => {
853
854
  const l = n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight;
@@ -855,7 +856,7 @@ function Hn() {
855
856
  })();
856
857
  }, [e]), { ref: e, isOverflow: t, setIsOverflow: a };
857
858
  }
858
- const Wn = ({
859
+ const Vn = ({
859
860
  header: e,
860
861
  table: t,
861
862
  headerGroup: a,
@@ -872,13 +873,13 @@ const Wn = ({
872
873
  listeners: d,
873
874
  setNodeRef: u,
874
875
  transform: s
875
- } = wr({
876
+ } = Sr({
876
877
  id: e.column.id,
877
878
  disabled: e.id === "select-col"
878
879
  }), m = {
879
880
  opacity: f ? 0.8 : 1,
880
881
  position: "relative",
881
- transform: e.id === "select-col" ? void 0 : Sr.Translate.toString(s),
882
+ transform: e.id === "select-col" ? void 0 : Nr.Translate.toString(s),
882
883
  // translate instead of transform to avoid squishing
883
884
  transition: "width transform 0.2s ease-in-out",
884
885
  whiteSpace: "nowrap",
@@ -889,7 +890,7 @@ const Wn = ({
889
890
  "div",
890
891
  {
891
892
  ref: u,
892
- className: _e(
893
+ className: Oe(
893
894
  "group relative z-10 h-8 w-full whitespace-nowrap select-none"
894
895
  ),
895
896
  style: {
@@ -920,7 +921,7 @@ const Wn = ({
920
921
  l && l(v === "id" ? "serverCreatedAt" : v, i, g);
921
922
  },
922
923
  children: [
923
- /* @__PURE__ */ r("span", { className: O(k && "underline"), children: e.isPlaceholder ? null : lt(
924
+ /* @__PURE__ */ r("span", { className: O(k && "underline"), children: e.isPlaceholder ? null : ot(
924
925
  e.column.columnDef.header,
925
926
  e.getContext()
926
927
  ) }),
@@ -932,12 +933,12 @@ const Wn = ({
932
933
  opacity: k ? 1 : void 0,
933
934
  fontWeight: k ? "bold" : "normal"
934
935
  },
935
- children: k ? g ? /* @__PURE__ */ r(ya, { strokeWidth: 3, width: 10 }) : /* @__PURE__ */ r(ka, { strokeWidth: 3, width: 10 }) : /* @__PURE__ */ r(xa, { strokeWidth: 3, width: 10 })
936
+ children: k ? g ? /* @__PURE__ */ r(ba, { strokeWidth: 3, width: 10 }) : /* @__PURE__ */ r(wa, { strokeWidth: 3, width: 10 }) : /* @__PURE__ */ r(va, { strokeWidth: 3, width: 10 })
936
937
  }
937
938
  )
938
939
  ]
939
940
  }
940
- ) : /* @__PURE__ */ r(M, { children: e.isPlaceholder ? null : lt(
941
+ ) : /* @__PURE__ */ r(M, { children: e.isPlaceholder ? null : ot(
941
942
  e.column.columnDef.header,
942
943
  e.getContext()
943
944
  ) })
@@ -966,11 +967,11 @@ const Wn = ({
966
967
  },
967
968
  e.id
968
969
  );
969
- }, Vn = ({ cell: e }) => {
970
- const t = e.column.getIsResizing(), { history: a } = ut(), n = e.column.columnDef.meta, { isDragging: o, setNodeRef: l, transform: i } = wr({
970
+ }, Yn = ({ cell: e }) => {
971
+ const t = e.column.getIsResizing(), { history: a } = dt(), n = e.column.columnDef.meta, { isDragging: o, setNodeRef: l, transform: i } = Sr({
971
972
  id: e.column.id,
972
973
  disabled: e.column.id === "select-col"
973
- }), [g, c] = C(!1), { ref: p, isOverflow: f, setIsOverflow: d } = Hn(), u = (f || Ne(e.getValue())) && !n?.isLink;
974
+ }), [g, c] = C(!1), { ref: p, isOverflow: f, setIsOverflow: d } = Wn(), u = (f || Ne(e.getValue())) && !n?.isLink;
974
975
  H(() => {
975
976
  const w = new ResizeObserver(() => {
976
977
  const v = p.current.scrollWidth > p.current.clientWidth || p.current.scrollHeight > p.current.clientHeight;
@@ -983,15 +984,15 @@ const Wn = ({
983
984
  const s = {
984
985
  opacity: o ? 0.8 : 1,
985
986
  position: "relative",
986
- transform: e.column.id === "select-col" ? void 0 : Sr.Translate.toString(i),
987
+ transform: e.column.id === "select-col" ? void 0 : Nr.Translate.toString(i),
987
988
  // translate instead of transform to avoid squishing
988
989
  transition: "width transform 0.2s ease-in-out",
989
990
  width: e.column.getSize(),
990
991
  zIndex: o ? 1 : 0
991
992
  }, m = n?.disablePadding ?? !1, b = e.getValue();
992
- return /* @__PURE__ */ h(Ze, { children: [
993
+ return /* @__PURE__ */ h(Ke, { children: [
993
994
  " ",
994
- /* @__PURE__ */ r(Qe, { className: "text-left", asChild: !0, children: /* @__PURE__ */ r(
995
+ /* @__PURE__ */ r(Xe, { className: "text-left", children: /* @__PURE__ */ r(
995
996
  "div",
996
997
  {
997
998
  ref: (w) => {
@@ -1020,20 +1021,20 @@ const Wn = ({
1020
1021
  return;
1021
1022
  }
1022
1023
  }
1023
- n?.copyable && We(Ar(b)) && (c(!0), setTimeout(() => c(!1), 1e3));
1024
+ n?.copyable && He(Ar(b)) && (c(!0), setTimeout(() => c(!1), 1e3));
1024
1025
  },
1025
- children: g ? /* @__PURE__ */ r("div", { className: "h-1", children: "Copied!" }) : lt(e.column.columnDef.cell, e.getContext())
1026
+ children: g ? /* @__PURE__ */ r("div", { className: "h-1", children: "Copied!" }) : ot(e.column.columnDef.cell, e.getContext())
1026
1027
  }
1027
1028
  )
1028
1029
  },
1029
1030
  e.id
1030
1031
  ) }),
1031
1032
  u && !t && /* @__PURE__ */ r(
1032
- Je,
1033
+ Ze,
1033
1034
  {
1034
1035
  className: O(Ne(b) && "p-0"),
1035
1036
  side: "bottom",
1036
- children: typeof b == "string" ? lt(e.column.columnDef.cell, e.getContext()) : /* @__PURE__ */ r(Yn, { pretty: !0, data: b })
1037
+ children: typeof b == "string" ? ot(e.column.columnDef.cell, e.getContext()) : /* @__PURE__ */ r(Kn, { pretty: !0, data: b })
1037
1038
  }
1038
1039
  )
1039
1040
  ] });
@@ -1041,10 +1042,10 @@ const Wn = ({
1041
1042
  function Ar(e, t) {
1042
1043
  return Ne(e) ? JSON.stringify(e, null, t ? 2 : void 0) : String(e);
1043
1044
  }
1044
- function Yn({ data: e, pretty: t }) {
1045
+ function Kn({ data: e, pretty: t }) {
1045
1046
  const a = Ar(e, t), n = de();
1046
1047
  return t && Ne(e) ? /* @__PURE__ */ r(
1047
- Lt,
1048
+ Dt,
1048
1049
  {
1049
1050
  darkMode: n.darkMode,
1050
1051
  code: a,
@@ -1052,7 +1053,7 @@ function Yn({ data: e, pretty: t }) {
1052
1053
  }
1053
1054
  ) : /* @__PURE__ */ r(M, { children: a });
1054
1055
  }
1055
- const Kn = ({
1056
+ const Xn = ({
1056
1057
  visiblity: e,
1057
1058
  localDates: t,
1058
1059
  setLocalDates: a
@@ -1060,9 +1061,9 @@ const Kn = ({
1060
1061
  const [n, o] = C(!1);
1061
1062
  return /* @__PURE__ */ h(M, { children: [
1062
1063
  /* @__PURE__ */ r(
1063
- ht,
1064
+ gt,
1064
1065
  {
1065
- icon: /* @__PURE__ */ r(Sa, { width: 16 }),
1066
+ icon: /* @__PURE__ */ r(ya, { width: 16 }),
1066
1067
  label: "View Settings",
1067
1068
  onClick: () => o(!0)
1068
1069
  }
@@ -1077,7 +1078,7 @@ const Kn = ({
1077
1078
  children: [
1078
1079
  /* @__PURE__ */ h("div", { className: "flex items-center justify-between", children: [
1079
1080
  /* @__PURE__ */ r("div", { className: "text-lg", children: "Explorer View Settings" }),
1080
- /* @__PURE__ */ r("button", { onClick: () => o(!1), children: /* @__PURE__ */ r(ur, { className: "h-4 w-4 cursor-pointer" }) })
1081
+ /* @__PURE__ */ r("button", { onClick: () => o(!1), children: /* @__PURE__ */ r(lr, { className: "h-4 w-4 cursor-pointer" }) })
1081
1082
  ] }),
1082
1083
  /* @__PURE__ */ h("div", { className: "py-2", children: [
1083
1084
  /* @__PURE__ */ r("div", { children: "Visible Columns" }),
@@ -1093,7 +1094,7 @@ const Kn = ({
1093
1094
  }
1094
1095
  ) }, l.id + l.name)) })
1095
1096
  ] }),
1096
- /* @__PURE__ */ r(ft, { className: "py-2" }),
1097
+ /* @__PURE__ */ r(ht, { className: "py-2" }),
1097
1098
  /* @__PURE__ */ h("div", { className: "flex items-center gap-2", children: [
1098
1099
  /* @__PURE__ */ r("div", { children: "Show Dates in Local Time" }),
1099
1100
  /* @__PURE__ */ r(
@@ -1112,7 +1113,7 @@ const Kn = ({
1112
1113
  )
1113
1114
  ] });
1114
1115
  };
1115
- async function Xn({
1116
+ async function Zn({
1116
1117
  appId: e,
1117
1118
  attrId: t,
1118
1119
  jobType: a,
@@ -1167,7 +1168,7 @@ function me(e) {
1167
1168
  function be(e) {
1168
1169
  return e.job_status === "completed" || e.job_status === "errored";
1169
1170
  }
1170
- const Zn = ({
1171
+ const Qn = ({
1171
1172
  attr: e,
1172
1173
  appId: t,
1173
1174
  isRequired: a,
@@ -1235,7 +1236,7 @@ const Zn = ({
1235
1236
  }
1236
1237
  }), B.stop();
1237
1238
  }));
1238
- }, v = le(() => Object.values(d).filter((k) => k > 0 && k < 100).reduce((k, x) => k + x, 0) / Object.values(d).filter((k) => k > 0 && k < 100).length, [d]);
1239
+ }, v = se(() => Object.values(d).filter((k) => k > 0 && k < 100).reduce((k, x) => k + x, 0) / Object.values(d).filter((k) => k > 0 && k < 100).length, [d]);
1239
1240
  return {
1240
1241
  isPending: Object.values(g).filter(Boolean).length > 0,
1241
1242
  progress: v,
@@ -1246,7 +1247,7 @@ const Zn = ({
1246
1247
  running: p,
1247
1248
  apply: w
1248
1249
  };
1249
- }, Qn = () => {
1250
+ }, Jn = () => {
1250
1251
  const [e, t] = C({});
1251
1252
  return {
1252
1253
  notes: e,
@@ -1260,7 +1261,7 @@ const Zn = ({
1260
1261
  });
1261
1262
  }
1262
1263
  };
1263
- }, Jn = (e, t, a) => {
1264
+ }, eo = (e, t, a) => {
1264
1265
  const n = t.name, o = [];
1265
1266
  return t.attrs.forEach((l) => {
1266
1267
  o.push([
@@ -1290,14 +1291,14 @@ const Zn = ({
1290
1291
  });
1291
1292
  }), o;
1292
1293
  };
1293
- function eo({
1294
+ function to({
1294
1295
  db: e,
1295
1296
  namespace: t,
1296
1297
  namespaces: a,
1297
1298
  onClose: n,
1298
1299
  isSystemCatalogNs: o
1299
1300
  }) {
1300
- const i = de().appId, { history: g } = ut(), { mutate: c } = pr(), [p, f] = C({ type: "main" }), [d, u] = C(t.name), [s, m] = C(
1301
+ const i = de().appId, { history: g } = dt(), { mutate: c } = yr(), [p, f] = C({ type: "main" }), [d, u] = C(t.name), [s, m] = C(
1301
1302
  null
1302
1303
  );
1303
1304
  async function b() {
@@ -1311,7 +1312,7 @@ function eo({
1311
1312
  m("Namespace name cannot start with $");
1312
1313
  return;
1313
1314
  }
1314
- const _ = Jn(x, t, a);
1315
+ const _ = eo(x, t, a);
1315
1316
  await e.core._reactor.pushOps(_), g.push(
1316
1317
  {
1317
1318
  namespace: x
@@ -1319,7 +1320,7 @@ function eo({
1319
1320
  !0
1320
1321
  ), oe("Renamed namespace to " + x), u(""), f({ type: "main" });
1321
1322
  }
1322
- const v = Qn(), k = le(() => p.type === "edit" && t.attrs.find(
1323
+ const v = Jn(), k = se(() => p.type === "edit" && t.attrs.find(
1323
1324
  (x) => x.id === p.attrId && x.isForward === p.isForward
1324
1325
  ), [
1325
1326
  p.type === "edit" ? p.attrId : null,
@@ -1337,7 +1338,7 @@ function eo({
1337
1338
  });
1338
1339
  },
1339
1340
  className: "mb-3",
1340
- children: /* @__PURE__ */ r(ct, { className: "h-4 w-4 cursor-pointer" })
1341
+ children: /* @__PURE__ */ r(st, { className: "h-4 w-4 cursor-pointer" })
1341
1342
  }
1342
1343
  ),
1343
1344
  /* @__PURE__ */ h("h6", { className: "text-md pb-2 font-bold", children: [
@@ -1351,7 +1352,7 @@ function eo({
1351
1352
  x.preventDefault(), w(d);
1352
1353
  },
1353
1354
  children: [
1354
- /* @__PURE__ */ h(gt, { className: "pb-2 text-sm", children: [
1355
+ /* @__PURE__ */ h(pt, { className: "pb-2 text-sm", children: [
1355
1356
  "This will immediately rename the namespace. You'll need to",
1356
1357
  " ",
1357
1358
  /* @__PURE__ */ r("strong", { className: "dark:text-white", children: "update your code" }),
@@ -1387,13 +1388,13 @@ function eo({
1387
1388
  /* @__PURE__ */ h("div", { className: "mr-8 flex gap-1", children: [
1388
1389
  /* @__PURE__ */ r("h5", { className: "flex items-center text-lg font-bold", children: t.name }),
1389
1390
  /* @__PURE__ */ r(
1390
- ht,
1391
+ gt,
1391
1392
  {
1392
1393
  variant: "subtle",
1393
1394
  onClick: () => {
1394
1395
  f({ type: "rename" });
1395
1396
  },
1396
- icon: /* @__PURE__ */ r(za, { className: "h-4 w-4 opacity-50" }),
1397
+ icon: /* @__PURE__ */ r(Ga, { className: "h-4 w-4 opacity-50" }),
1397
1398
  label: "Rename"
1398
1399
  }
1399
1400
  ),
@@ -1407,7 +1408,7 @@ function eo({
1407
1408
  variant: "secondary",
1408
1409
  onClick: () => f({ type: "delete" }),
1409
1410
  children: [
1410
- /* @__PURE__ */ r(it, { className: "inline", height: "1rem" }),
1411
+ /* @__PURE__ */ r(nt, { className: "inline", height: "1rem" }),
1411
1412
  "Delete"
1412
1413
  ]
1413
1414
  }
@@ -1420,7 +1421,7 @@ function eo({
1420
1421
  children: [
1421
1422
  /* @__PURE__ */ h("div", { className: "flex items-center gap-3", children: [
1422
1423
  /* @__PURE__ */ r("span", { className: "py-0.5 font-bold", children: x.name }),
1423
- v.notes[x.id]?.message && /* @__PURE__ */ r(_t, { children: /* @__PURE__ */ r("div", { className: "px-2 text-xs text-gray-500 dark:text-neutral-400", children: v.notes[x.id].message }) })
1424
+ v.notes[x.id]?.message && /* @__PURE__ */ r(Ot, { children: /* @__PURE__ */ r("div", { className: "px-2 text-xs text-gray-500 dark:text-neutral-400", children: v.notes[x.id].message }) })
1424
1425
  ] }),
1425
1426
  x.name !== "id" ? /* @__PURE__ */ r(
1426
1427
  V,
@@ -1449,13 +1450,13 @@ function eo({
1449
1450
  variant: "secondary",
1450
1451
  onClick: () => f({ type: "add" }),
1451
1452
  children: [
1452
- /* @__PURE__ */ r(fr, { className: "inline", height: "12px" }),
1453
+ /* @__PURE__ */ r(mr, { className: "inline", height: "12px" }),
1453
1454
  "New attribute"
1454
1455
  ]
1455
1456
  }
1456
1457
  ) }),
1457
1458
  /* @__PURE__ */ r(
1458
- Cn,
1459
+ In,
1459
1460
  {
1460
1461
  notes: v,
1461
1462
  db: e,
@@ -1464,13 +1465,13 @@ function eo({
1464
1465
  }
1465
1466
  )
1466
1467
  ] }) : p.type === "add" ? /* @__PURE__ */ r(
1467
- to,
1468
+ ro,
1468
1469
  {
1469
1470
  db: e,
1470
1471
  namespace: t,
1471
1472
  namespaces: a,
1472
1473
  onClose: () => f({ type: "main" }),
1473
- constraints: er({
1474
+ constraints: Jt({
1474
1475
  namespaceName: t.name,
1475
1476
  isSystemCatalogNs: o
1476
1477
  })
@@ -1484,12 +1485,12 @@ function eo({
1484
1485
  onConfirm: b
1485
1486
  }
1486
1487
  ) : p.type === "edit" && k ? /* @__PURE__ */ r(
1487
- uo,
1488
+ po,
1488
1489
  {
1489
1490
  db: e,
1490
1491
  attr: k,
1491
1492
  onClose: () => f({ type: "main" }),
1492
- constraints: er({
1493
+ constraints: Jt({
1493
1494
  namespaceName: t.name,
1494
1495
  isSystemCatalogNs: o,
1495
1496
  attr: k
@@ -1507,7 +1508,7 @@ function Tr({
1507
1508
  return /* @__PURE__ */ h(ge, { className: "min flex flex-col gap-4", children: [
1508
1509
  /* @__PURE__ */ h("h5", { className: "flex items-center gap-2 text-lg font-bold", children: [
1509
1510
  /* @__PURE__ */ r(
1510
- ct,
1511
+ st,
1511
1512
  {
1512
1513
  height: "1rem",
1513
1514
  className: "cursor-pointer",
@@ -1538,7 +1539,7 @@ function Tr({
1538
1539
  ] })
1539
1540
  ] });
1540
1541
  }
1541
- function to({
1542
+ function ro({
1542
1543
  db: e,
1543
1544
  namespace: t,
1544
1545
  namespaces: a,
@@ -1559,8 +1560,8 @@ function to({
1559
1560
  async function I() {
1560
1561
  if (v === "blob") {
1561
1562
  const D = [["add-attr", {
1562
- id: Me(),
1563
- "forward-identity": [Me(), t.name, L],
1563
+ id: je(),
1564
+ "forward-identity": [je(), t.name, L],
1564
1565
  "value-type": "blob",
1565
1566
  cardinality: "one",
1566
1567
  "unique?": p,
@@ -1572,10 +1573,10 @@ function to({
1572
1573
  } else {
1573
1574
  if (!P) throw new Error("No reverse namespace");
1574
1575
  const D = [["add-attr", {
1575
- id: Me(),
1576
- ...It[x],
1577
- "forward-identity": [Me(), t.name, L],
1578
- "reverse-identity": [Me(), P.name, G],
1576
+ id: je(),
1577
+ ...Ct[x],
1578
+ "forward-identity": [je(), t.name, L],
1579
+ "reverse-identity": [je(), P.name, G],
1579
1580
  "value-type": "ref",
1580
1581
  "index?": !1,
1581
1582
  "required?": l,
@@ -1587,7 +1588,7 @@ function to({
1587
1588
  }
1588
1589
  return /* @__PURE__ */ h(ge, { className: "min flex flex-col gap-4", children: [
1589
1590
  /* @__PURE__ */ h("h5", { className: "flex items-center gap-2 text-lg font-bold", children: [
1590
- /* @__PURE__ */ r(ct, { className: "h-4 w-4 cursor-pointer", onClick: n }),
1591
+ /* @__PURE__ */ r(st, { className: "h-4 w-4 cursor-pointer", onClick: n }),
1591
1592
  "Add an attribute"
1592
1593
  ] }),
1593
1594
  /* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
@@ -1744,7 +1745,7 @@ function to({
1744
1745
  ] })
1745
1746
  ] });
1746
1747
  }
1747
- function nt({
1748
+ function rt({
1748
1749
  indexingJob: e,
1749
1750
  attr: t,
1750
1751
  onClickSample: a
@@ -1774,12 +1775,12 @@ function nt({
1774
1775
  ] })
1775
1776
  ] });
1776
1777
  }
1777
- function Ke({
1778
+ function Ye({
1778
1779
  indexingJob: e,
1779
1780
  attr: t,
1780
1781
  onClose: a
1781
1782
  }) {
1782
- const { history: n } = ut();
1783
+ const { history: n } = dt();
1783
1784
  if (e) {
1784
1785
  if (e.error === "missing-required-error")
1785
1786
  return /* @__PURE__ */ h("div", { className: "mt-2 mb-2 border-l-2 border-l-red-500 pl-2", children: [
@@ -1795,7 +1796,7 @@ function Ke({
1795
1796
  " set."
1796
1797
  ] }),
1797
1798
  /* @__PURE__ */ r(
1798
- nt,
1799
+ rt,
1799
1800
  {
1800
1801
  indexingJob: {
1801
1802
  ...e,
@@ -1819,7 +1820,7 @@ function Ke({
1819
1820
  return /* @__PURE__ */ h("div", { className: "mt-2 mb-2 border-l-2 border-l-red-500 pl-2", children: [
1820
1821
  /* @__PURE__ */ r("div", { children: "Some of the existing data is too large to index. " }),
1821
1822
  /* @__PURE__ */ r(
1822
- nt,
1823
+ rt,
1823
1824
  {
1824
1825
  indexingJob: e,
1825
1826
  attr: t,
@@ -1840,7 +1841,7 @@ function Ke({
1840
1841
  " because some data is the wrong type."
1841
1842
  ] }),
1842
1843
  /* @__PURE__ */ r(
1843
- nt,
1844
+ rt,
1844
1845
  {
1845
1846
  indexingJob: e,
1846
1847
  attr: t,
@@ -1879,7 +1880,7 @@ function Ke({
1879
1880
  "."
1880
1881
  ] }) : null,
1881
1882
  /* @__PURE__ */ r(
1882
- nt,
1883
+ rt,
1883
1884
  {
1884
1885
  indexingJob: e,
1885
1886
  attr: t,
@@ -1973,7 +1974,7 @@ function Or({
1973
1974
  /* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
1974
1975
  /* @__PURE__ */ r("h6", { className: "text-md font-bold", children: "Relationship" }),
1975
1976
  /* @__PURE__ */ r(
1976
- ro,
1977
+ ao,
1977
1978
  {
1978
1979
  disabled: !v || w.attr.disabled,
1979
1980
  value: o,
@@ -1991,7 +1992,7 @@ function Or({
1991
1992
  "div",
1992
1993
  {
1993
1994
  className: "text-xs wrap-break-word text-gray-500 dark:text-neutral-400",
1994
- children: v ? ao[o](
1995
+ children: v ? no[o](
1995
1996
  a,
1996
1997
  n,
1997
1998
  e,
@@ -2062,7 +2063,7 @@ function Or({
2062
2063
  ] })
2063
2064
  ] });
2064
2065
  }
2065
- function ro({
2066
+ function ao({
2066
2067
  value: e,
2067
2068
  disabled: t,
2068
2069
  onChange: a,
@@ -2102,7 +2103,7 @@ function ro({
2102
2103
  }
2103
2104
  );
2104
2105
  }
2105
- const ao = {
2106
+ const no = {
2106
2107
  "many-many": (e, t, a, n) => /* @__PURE__ */ h(M, { children: [
2107
2108
  /* @__PURE__ */ r("strong", { children: e }),
2108
2109
  " can have many ",
@@ -2146,7 +2147,7 @@ const ao = {
2146
2147
  /* @__PURE__ */ r("strong", { children: n })
2147
2148
  ] })
2148
2149
  };
2149
- async function no({
2150
+ async function oo({
2150
2151
  appId: e,
2151
2152
  attr: t,
2152
2153
  isRequired: a,
@@ -2160,7 +2161,7 @@ async function no({
2160
2161
  l.current?.();
2161
2162
  const g = `${t.namespace}.${t.name}`;
2162
2163
  try {
2163
- const c = await Xn(
2164
+ const c = await Zn(
2164
2165
  {
2165
2166
  appId: e,
2166
2167
  attrId: t.id,
@@ -2189,7 +2190,7 @@ async function no({
2189
2190
  return console.error(c), ie(`Unexpected error while updating ${g}`), "errored";
2190
2191
  }
2191
2192
  }
2192
- const oo = ({
2193
+ const io = ({
2193
2194
  pendingJob: e,
2194
2195
  runningJob: t,
2195
2196
  value: a,
@@ -2198,14 +2199,14 @@ const oo = ({
2198
2199
  disabledReason: l,
2199
2200
  attr: i
2200
2201
  }) => {
2201
- const g = !t || be(t), c = Ye();
2202
+ const g = !t || be(t), c = We();
2202
2203
  return H(() => {
2203
2204
  t && me(t) && n(i.checkedDataType || "any");
2204
2205
  }, [t]), /* @__PURE__ */ h(M, { children: [
2205
2206
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ h("h6", { className: "text-md font-bold", children: [
2206
2207
  "Enforce type",
2207
2208
  " ",
2208
- /* @__PURE__ */ r(_t, { children: /* @__PURE__ */ r("div", { className: "w-48 text-sm", children: "Checks the type on all existing entities and enforces the type when entities are created or updated." }) })
2209
+ /* @__PURE__ */ r(Ot, { children: /* @__PURE__ */ r("div", { className: "w-48 text-sm", children: "Checks the type on all existing entities and enforces the type when entities are created or updated." }) })
2209
2210
  ] }) }),
2210
2211
  /* @__PURE__ */ h("div", { className: "flex items-center gap-2", children: [
2211
2212
  /* @__PURE__ */ r(
@@ -2256,7 +2257,7 @@ const oo = ({
2256
2257
  )
2257
2258
  ] }),
2258
2259
  t && me(t) && /* @__PURE__ */ r(
2259
- Ke,
2260
+ Ye,
2260
2261
  {
2261
2262
  indexingJob: t,
2262
2263
  attr: i,
@@ -2264,7 +2265,7 @@ const oo = ({
2264
2265
  }
2265
2266
  )
2266
2267
  ] });
2267
- }, io = ({
2268
+ }, lo = ({
2268
2269
  pendingJob: e,
2269
2270
  runningJob: t,
2270
2271
  value: a,
@@ -2273,7 +2274,7 @@ const oo = ({
2273
2274
  disabledReason: l,
2274
2275
  attr: i
2275
2276
  }) => {
2276
- const g = Ye();
2277
+ const g = We();
2277
2278
  return H(() => {
2278
2279
  t && me(t) && n(i.isRequired || !1);
2279
2280
  }, [t]), /* @__PURE__ */ h(M, { children: [
@@ -2312,7 +2313,7 @@ const oo = ({
2312
2313
  )
2313
2314
  ] }),
2314
2315
  t && me(t) && /* @__PURE__ */ r(
2315
- Ke,
2316
+ Ye,
2316
2317
  {
2317
2318
  indexingJob: t,
2318
2319
  attr: i,
@@ -2320,7 +2321,7 @@ const oo = ({
2320
2321
  }
2321
2322
  )
2322
2323
  ] });
2323
- }, lo = ({
2324
+ }, so = ({
2324
2325
  pendingJob: e,
2325
2326
  runningJob: t,
2326
2327
  value: a,
@@ -2329,7 +2330,7 @@ const oo = ({
2329
2330
  disabledReason: l,
2330
2331
  attr: i
2331
2332
  }) => {
2332
- const g = Ye();
2333
+ const g = We();
2333
2334
  return H(() => {
2334
2335
  t && me(t) && n(i.isIndex);
2335
2336
  }, [t]), /* @__PURE__ */ h(M, { children: [
@@ -2368,7 +2369,7 @@ const oo = ({
2368
2369
  )
2369
2370
  ] }),
2370
2371
  t && me(t) && /* @__PURE__ */ r(
2371
- Ke,
2372
+ Ye,
2372
2373
  {
2373
2374
  indexingJob: t,
2374
2375
  attr: i,
@@ -2376,7 +2377,7 @@ const oo = ({
2376
2377
  }
2377
2378
  )
2378
2379
  ] });
2379
- }, so = ({
2380
+ }, co = ({
2380
2381
  pendingJob: e,
2381
2382
  runningJob: t,
2382
2383
  value: a,
@@ -2385,7 +2386,7 @@ const oo = ({
2385
2386
  disabledReason: l,
2386
2387
  attr: i
2387
2388
  }) => {
2388
- const g = Ye();
2389
+ const g = We();
2389
2390
  return H(() => {
2390
2391
  t && me(t) && n(i.isUniq);
2391
2392
  }, [t]), /* @__PURE__ */ h(M, { children: [
@@ -2424,7 +2425,7 @@ const oo = ({
2424
2425
  )
2425
2426
  ] }),
2426
2427
  t && me(t) && /* @__PURE__ */ r(
2427
- Ke,
2428
+ Ye,
2428
2429
  {
2429
2430
  indexingJob: t,
2430
2431
  attr: i,
@@ -2432,14 +2433,14 @@ const oo = ({
2432
2433
  }
2433
2434
  )
2434
2435
  ] });
2435
- }, co = ({
2436
+ }, uo = ({
2436
2437
  appId: e,
2437
2438
  attr: t,
2438
2439
  constraints: a
2439
2440
  }) => {
2440
2441
  const [n, o] = C(
2441
2442
  t.isRequired || !1
2442
- ), [l, i] = C(t.isIndex), [g, c] = C(t.isUniq), [p, f] = C(t.checkedDataType || "any"), d = de(), { isPending: u, pending: s, apply: m, isRunning: b, running: w, progress: v } = Zn({
2443
+ ), [l, i] = C(t.isIndex), [g, c] = C(t.isUniq), [p, f] = C(t.checkedDataType || "any"), d = de(), { isPending: u, pending: s, apply: m, isRunning: b, running: w, progress: v } = Qn({
2443
2444
  attr: t,
2444
2445
  appId: e,
2445
2446
  token: d.adminToken,
@@ -2451,7 +2452,7 @@ const oo = ({
2451
2452
  return /* @__PURE__ */ r("div", { children: /* @__PURE__ */ h("div", { className: "flex flex-col gap-2", children: [
2452
2453
  /* @__PURE__ */ r("h6", { className: "text-md font-bold", children: "Constraints" }),
2453
2454
  /* @__PURE__ */ r(
2454
- io,
2455
+ lo,
2455
2456
  {
2456
2457
  pendingJob: s.require,
2457
2458
  runningJob: w.require,
@@ -2463,7 +2464,7 @@ const oo = ({
2463
2464
  }
2464
2465
  ),
2465
2466
  /* @__PURE__ */ r(
2466
- lo,
2467
+ so,
2467
2468
  {
2468
2469
  pendingJob: s.index,
2469
2470
  runningJob: w.index,
@@ -2475,7 +2476,7 @@ const oo = ({
2475
2476
  }
2476
2477
  ),
2477
2478
  /* @__PURE__ */ r(
2478
- so,
2479
+ co,
2479
2480
  {
2480
2481
  pendingJob: s.unique,
2481
2482
  runningJob: w.unique,
@@ -2487,7 +2488,7 @@ const oo = ({
2487
2488
  }
2488
2489
  ),
2489
2490
  /* @__PURE__ */ r(
2490
- oo,
2491
+ io,
2491
2492
  {
2492
2493
  pendingJob: s.type,
2493
2494
  runningJob: w.type,
@@ -2512,13 +2513,13 @@ const oo = ({
2512
2513
  )
2513
2514
  ] }) });
2514
2515
  };
2515
- function uo({
2516
+ function po({
2516
2517
  db: e,
2517
2518
  attr: t,
2518
2519
  onClose: a,
2519
2520
  constraints: n
2520
2521
  }) {
2521
- const l = de().appId, { mutate: i } = pr(), [g, c] = C({
2522
+ const l = de().appId, { mutate: i } = yr(), [g, c] = C({
2522
2523
  type: "main"
2523
2524
  }), [p, f] = C(t.linkConfig.forward.attr), [d, u] = C(
2524
2525
  t.linkConfig.reverse?.attr
@@ -2529,7 +2530,7 @@ function uo({
2529
2530
  () => t.onDeleteReverse === "cascade"
2530
2531
  ), [_, P] = C(t.isRequired || !1), [B, L] = C(_), [q, G] = C(
2531
2532
  null
2532
- ), Y = X(null), z = Ye();
2533
+ ), Y = X(null), z = We();
2533
2534
  H(() => () => Y.current?.(), [Y]);
2534
2535
  const j = s === "one-one" || s === "one-many", S = s === "one-one" || s === "many-one", T = _r({
2535
2536
  attrName: p,
@@ -2540,7 +2541,7 @@ function uo({
2540
2541
  async function I() {
2541
2542
  if (!t.linkConfig.reverse)
2542
2543
  throw new Error("No reverse link config");
2543
- if (_ !== B && await no({
2544
+ if (_ !== B && await oo({
2544
2545
  appId: l,
2545
2546
  attr: t,
2546
2547
  isRequired: _,
@@ -2555,7 +2556,7 @@ function uo({
2555
2556
  "update-attr",
2556
2557
  {
2557
2558
  id: t.id,
2558
- ...It[s],
2559
+ ...Ct[s],
2559
2560
  "forward-identity": [
2560
2561
  t.linkConfig.forward.id,
2561
2562
  t.linkConfig.forward.namespace,
@@ -2605,7 +2606,7 @@ function uo({
2605
2606
  ) : /* @__PURE__ */ h("div", { className: "flex flex-col gap-4", children: [
2606
2607
  /* @__PURE__ */ h("div", { className: "mr-8 flex gap-4", children: [
2607
2608
  /* @__PURE__ */ h("div", { className: "flex items-center gap-2", children: [
2608
- /* @__PURE__ */ r(ct, { className: "h-4 w-4 cursor-pointer", onClick: a }),
2609
+ /* @__PURE__ */ r(st, { className: "h-4 w-4 cursor-pointer", onClick: a }),
2609
2610
  /* @__PURE__ */ h("h5", { className: "flex items-center text-lg font-bold", children: [
2610
2611
  "Edit ",
2611
2612
  t.namespace,
@@ -2622,7 +2623,7 @@ function uo({
2622
2623
  size: "mini",
2623
2624
  onClick: () => c({ type: "delete" }),
2624
2625
  children: [
2625
- /* @__PURE__ */ r(it, { className: "inline", height: "1rem" }),
2626
+ /* @__PURE__ */ r(nt, { className: "inline", height: "1rem" }),
2626
2627
  "Delete"
2627
2628
  ]
2628
2629
  }
@@ -2630,17 +2631,17 @@ function uo({
2630
2631
  ] }),
2631
2632
  t.type === "blob" ? /* @__PURE__ */ h(M, { children: [
2632
2633
  /* @__PURE__ */ r(
2633
- co,
2634
+ uo,
2634
2635
  {
2635
2636
  appId: l,
2636
2637
  attr: t,
2637
2638
  constraints: n
2638
2639
  }
2639
2640
  ),
2640
- /* @__PURE__ */ r(ft, {}),
2641
+ /* @__PURE__ */ r(ht, {}),
2641
2642
  /* @__PURE__ */ h(ge, { className: "flex flex-col gap-1", children: [
2642
2643
  /* @__PURE__ */ r("h6", { className: "text-md font-bold", children: "Rename" }),
2643
- /* @__PURE__ */ h(gt, { className: "text-sm", children: [
2644
+ /* @__PURE__ */ h(pt, { className: "text-sm", children: [
2644
2645
  "This will immediately rename the attribute. You'll need to",
2645
2646
  " ",
2646
2647
  /* @__PURE__ */ r("strong", { className: "dark:text-white", children: "update your code" }),
@@ -2692,7 +2693,7 @@ function uo({
2692
2693
  }
2693
2694
  ),
2694
2695
  /* @__PURE__ */ r(
2695
- Ke,
2696
+ Ye,
2696
2697
  {
2697
2698
  indexingJob: q,
2698
2699
  attr: t,
@@ -2733,7 +2734,7 @@ function _r({
2733
2734
  shouldShowSelfLinkNameError: l && o && !i
2734
2735
  };
2735
2736
  }
2736
- function er({
2737
+ function Jt({
2737
2738
  namespaceName: e,
2738
2739
  isSystemCatalogNs: t,
2739
2740
  attr: a
@@ -2750,13 +2751,13 @@ function er({
2750
2751
  }
2751
2752
  };
2752
2753
  }
2753
- const Ge = [
2754
+ const qe = [
2754
2755
  { value: "string", label: "string" },
2755
2756
  { value: "number", label: "number" },
2756
2757
  { value: "boolean", label: "boolean" },
2757
2758
  { value: "json", label: "json" }
2758
2759
  ];
2759
- function po({
2760
+ function go({
2760
2761
  onSave: e,
2761
2762
  onChange: t,
2762
2763
  onKeyDown: a,
@@ -2785,43 +2786,43 @@ function po({
2785
2786
  }
2786
2787
  );
2787
2788
  }
2788
- const vt = {
2789
+ const wt = {
2789
2790
  string: "",
2790
2791
  number: 0,
2791
2792
  boolean: !1,
2792
2793
  json: {}
2793
2794
  };
2794
- function go(e) {
2795
- return e ? e === "date" ? Ge.filter(
2795
+ function ho(e) {
2796
+ return e ? e === "date" ? qe.filter(
2796
2797
  (t) => t.value === "string" || t.value === "number"
2797
- ) : Ge.filter((t) => t.value === e) : Ge;
2798
+ ) : qe.filter((t) => t.value === e) : qe;
2798
2799
  }
2799
2800
  const Dr = (e) => !!e && typeof e == "object";
2800
- function ho(e) {
2801
+ function fo(e) {
2801
2802
  try {
2802
2803
  return JSON.parse(e), !0;
2803
2804
  } catch {
2804
2805
  return !1;
2805
2806
  }
2806
2807
  }
2807
- function fo(e) {
2808
+ function mo(e) {
2808
2809
  try {
2809
2810
  return JSON.parse(e);
2810
2811
  } catch {
2811
2812
  return e;
2812
2813
  }
2813
2814
  }
2814
- function mo(e, t) {
2815
+ function bo(e, t) {
2815
2816
  if (e.checkedDataType)
2816
2817
  return e.checkedDataType === "date" ? "string" : e.checkedDataType;
2817
2818
  if (t != null) {
2818
- const a = Dr(t) ? "json" : typeof t, n = Ge.find((o) => o.value === a);
2819
+ const a = Dr(t) ? "json" : typeof t, n = qe.find((o) => o.value === a);
2819
2820
  if (n)
2820
2821
  return n.value;
2821
2822
  }
2822
- return e.inferredTypes?.length ? e.inferredTypes[0] : Ge[0].value;
2823
+ return e.inferredTypes?.length ? e.inferredTypes[0] : qe[0].value;
2823
2824
  }
2824
- function tr(e, t) {
2825
+ function er(e, t) {
2825
2826
  if (e === null)
2826
2827
  return null;
2827
2828
  if (t === "number") {
@@ -2836,14 +2837,14 @@ function tr(e, t) {
2836
2837
  if (t === "string")
2837
2838
  return Dr(e) ? JSON.stringify(e) : String(e);
2838
2839
  if (t === "json")
2839
- return fo(e);
2840
+ return mo(e);
2840
2841
  }
2841
2842
  return e;
2842
2843
  }
2843
- function bo(e) {
2844
- return yn(e) ? null : "Invalid UUID.";
2844
+ function wo(e) {
2845
+ return xn(e) ? null : "Invalid UUID.";
2845
2846
  }
2846
- function rr({
2847
+ function tr({
2847
2848
  db: e,
2848
2849
  namespace: t,
2849
2850
  item: a
@@ -2864,7 +2865,7 @@ function rr({
2864
2865
  size: "mini",
2865
2866
  variant: "subtle",
2866
2867
  onClick: () => o((p) => !p),
2867
- children: /* @__PURE__ */ r(Ma, { height: 14 })
2868
+ children: /* @__PURE__ */ r(Wa, { height: 14 })
2868
2869
  }
2869
2870
  ) })
2870
2871
  }
@@ -2880,11 +2881,11 @@ function rr({
2880
2881
  children: JSON.stringify(g?.[t.name]?.[0] || a, null, 2)
2881
2882
  }
2882
2883
  ),
2883
- c ? /* @__PURE__ */ r("div", { className: "absolute top-0 right-0 animate-spin p-2 opacity-50", children: /* @__PURE__ */ r(Ba, { width: 12 }) }) : null
2884
+ c ? /* @__PURE__ */ r("div", { className: "absolute top-0 right-0 animate-spin p-2 opacity-50", children: /* @__PURE__ */ r(Va, { width: 12 }) }) : null
2884
2885
  ] }) })
2885
2886
  ] }) });
2886
2887
  }
2887
- function wo({
2888
+ function vo({
2888
2889
  q: e,
2889
2890
  option: t,
2890
2891
  uniqueAttrs: a,
@@ -2892,10 +2893,10 @@ function wo({
2892
2893
  }) {
2893
2894
  const [o, l] = C(!1);
2894
2895
  return /* @__PURE__ */ r(
2895
- xr,
2896
+ fr,
2896
2897
  {
2897
2898
  value: t,
2898
- className: _e(
2899
+ className: Oe(
2899
2900
  "cursor-pointer px-3 py-1 data-focus:bg-blue-100 dark:border-neutral-700 dark:bg-neutral-800",
2900
2901
  {}
2901
2902
  ),
@@ -2942,19 +2943,19 @@ function wo({
2942
2943
  t.id
2943
2944
  );
2944
2945
  }
2945
- function vo({
2946
+ function yo({
2946
2947
  db: e,
2947
2948
  namespace: t,
2948
2949
  onLinkRef: a,
2949
2950
  ignoreIds: n,
2950
2951
  onClose: o
2951
2952
  }) {
2952
- const [l, i] = C(""), g = X(null), { uniqueAttrs: c, filterableAttrs: p } = le(() => {
2953
+ const [l, i] = C(""), g = X(null), { uniqueAttrs: c, filterableAttrs: p } = se(() => {
2953
2954
  const m = [], b = [];
2954
2955
  for (const [w, v] of Object.entries(t.attrs))
2955
2956
  v.isUniq && v.name !== "id" && v.type === "blob" && m.push(v), v.isIndex && (v.checkedDataType === "string" || v.checkedDataType === "number") && b.push(v);
2956
2957
  return { uniqueAttrs: m, filterableAttrs: b };
2957
- }, [t.attrs]), f = le(() => {
2958
+ }, [t.attrs]), f = se(() => {
2958
2959
  const m = [{ $entityIdStartsWith: l }];
2959
2960
  let b;
2960
2961
  try {
@@ -2978,7 +2979,7 @@ function vo({
2978
2979
  };
2979
2980
  }, [t.name, p, l]), { data: d, isLoading: u } = e.useQuery(f), s = d?.[t.name]?.filter((m) => !n.has(m.id));
2980
2981
  return /* @__PURE__ */ r("div", { className: "relative mt-1 w-full", children: /* @__PURE__ */ h(
2981
- vr,
2982
+ pr,
2982
2983
  {
2983
2984
  onChange: (m) => {
2984
2985
  m && (a(m), i(""), o());
@@ -2987,7 +2988,7 @@ function vo({
2987
2988
  immediate: !0,
2988
2989
  children: [
2989
2990
  /* @__PURE__ */ r(
2990
- yr,
2991
+ gr,
2991
2992
  {
2992
2993
  ref: g,
2993
2994
  autoFocus: !0,
@@ -3001,14 +3002,14 @@ function vo({
3001
3002
  }
3002
3003
  ),
3003
3004
  /* @__PURE__ */ r(
3004
- kr,
3005
+ hr,
3005
3006
  {
3006
3007
  portal: !1,
3007
3008
  unmount: !1,
3008
3009
  static: !0,
3009
3010
  className: "absolute left-0 z-10 mt-1 max-h-[25vh] w-full divide-y overflow-scroll rounded-md border border-gray-300 bg-white shadow-lg empty:invisible dark:border-neutral-700 dark:bg-neutral-800",
3010
3011
  children: (s || []).map((m) => /* @__PURE__ */ r(
3011
- wo,
3012
+ vo,
3012
3013
  {
3013
3014
  q: l,
3014
3015
  option: m,
@@ -3028,7 +3029,7 @@ function vo({
3028
3029
  u ? "query-loading" : "query-loaded"
3029
3030
  ) });
3030
3031
  }
3031
- function yo({
3032
+ function ko({
3032
3033
  db: e,
3033
3034
  item: t,
3034
3035
  attr: a,
@@ -3037,7 +3038,7 @@ function yo({
3037
3038
  handleLinkRef: l,
3038
3039
  handleUnlinkRef: i
3039
3040
  }) {
3040
- const [g, c] = C(!1), p = le(() => {
3041
+ const [g, c] = C(!1), p = se(() => {
3041
3042
  const u = /* @__PURE__ */ new Set();
3042
3043
  for (const [s] of Object.entries(o || {}))
3043
3044
  u.add(s);
@@ -3050,7 +3051,7 @@ function yo({
3050
3051
  const s = o?.[u.id]?.action === "unlink";
3051
3052
  return /* @__PURE__ */ h("div", { children: [
3052
3053
  /* @__PURE__ */ r("code", { className: s ? "line-through" : "", children: u.id }),
3053
- /* @__PURE__ */ r(rr, { db: e, namespace: n, item: u }),
3054
+ /* @__PURE__ */ r(tr, { db: e, namespace: n, item: u }),
3054
3055
  /* @__PURE__ */ r(
3055
3056
  V,
3056
3057
  {
@@ -3060,7 +3061,7 @@ function yo({
3060
3061
  variant: s ? "subtle" : "destructive",
3061
3062
  className: "border-none",
3062
3063
  onClick: () => s ? l(a, u) : i(a, u.id),
3063
- children: s ? /* @__PURE__ */ r(Ve, { height: 14 }) : /* @__PURE__ */ r(it, { height: 14 })
3064
+ children: s ? /* @__PURE__ */ r(Ve, { height: 14 }) : /* @__PURE__ */ r(nt, { height: 14 })
3064
3065
  }
3065
3066
  )
3066
3067
  ] }, u.id);
@@ -3069,7 +3070,7 @@ function yo({
3069
3070
  if (s === "link")
3070
3071
  return /* @__PURE__ */ h("div", { children: [
3071
3072
  /* @__PURE__ */ r("code", { children: u }),
3072
- /* @__PURE__ */ r(rr, { db: e, namespace: n, item: m }),
3073
+ /* @__PURE__ */ r(tr, { db: e, namespace: n, item: m }),
3073
3074
  /* @__PURE__ */ r(
3074
3075
  V,
3075
3076
  {
@@ -3079,13 +3080,13 @@ function yo({
3079
3080
  variant: "destructive",
3080
3081
  className: "border-none",
3081
3082
  onClick: () => i(a, u),
3082
- children: /* @__PURE__ */ r(it, { height: 14 })
3083
+ children: /* @__PURE__ */ r(nt, { height: 14 })
3083
3084
  }
3084
3085
  )
3085
3086
  ] }, u);
3086
3087
  }),
3087
3088
  g ? /* @__PURE__ */ r(
3088
- vo,
3089
+ yo,
3089
3090
  {
3090
3091
  namespace: n,
3091
3092
  onLinkRef: (u) => l(a, u),
@@ -3096,8 +3097,8 @@ function yo({
3096
3097
  ) : /* @__PURE__ */ r(V, { variant: "secondary", onClick: () => c(!0), children: f === "many" || !d ? "Add link" : "Replace link" })
3097
3098
  ] });
3098
3099
  }
3099
- const ko = (e, t) => t.type === "blob" && e.name !== "$files" || e.name === "$files" && t.type === "blob" && t.name === "path";
3100
- function ar({
3100
+ const xo = (e, t) => t.type === "blob" && e.name !== "$files" || e.name === "$files" && t.type === "blob" && t.name === "path";
3101
+ function rr({
3101
3102
  db: e,
3102
3103
  namespace: t,
3103
3104
  item: a,
@@ -3105,10 +3106,10 @@ function ar({
3105
3106
  }) {
3106
3107
  const o = a.id ? "edit" : "add", l = de(), i = [], g = [];
3107
3108
  for (const S of t.attrs)
3108
- S.name !== "id" && (ko(t, S) && i.push(S), S.type === "ref" && g.push(S));
3109
+ S.name !== "id" && (xo(t, S) && i.push(S), S.type === "ref" && g.push(S));
3109
3110
  const c = i.reduce(
3110
3111
  (S, T) => {
3111
- const I = a[T.name], A = mo(T, I), D = o === "add" ? T.isRequired ? vt[A] : null : I;
3112
+ const I = a[T.name], A = bo(T, I), D = o === "add" ? T.isRequired ? wt[A] : null : I;
3112
3113
  return {
3113
3114
  ...S,
3114
3115
  [T.name]: {
@@ -3121,7 +3122,7 @@ function ar({
3121
3122
  {}
3122
3123
  ), [p, f] = C({
3123
3124
  ...c,
3124
- ...o === "add" ? { id: { type: "string", value: qe() } } : {}
3125
+ ...o === "add" ? { id: { type: "string", value: Pe() } } : {}
3125
3126
  }), [d, u] = C({}), [s, m] = C({}), [b, w] = C(
3126
3127
  i.reduce((S, T) => ({
3127
3128
  ...S,
@@ -3143,7 +3144,7 @@ function ar({
3143
3144
  const A = I[S]?.value;
3144
3145
  return {
3145
3146
  ...I,
3146
- [S]: { type: T, value: tr(A, T) }
3147
+ [S]: { type: T, value: er(A, T) }
3147
3148
  };
3148
3149
  });
3149
3150
  }, B = (S, T, I) => {
@@ -3154,7 +3155,7 @@ function ar({
3154
3155
  ...D,
3155
3156
  [S]: {
3156
3157
  type: F,
3157
- value: tr(T, F),
3158
+ value: er(T, F),
3158
3159
  error: A
3159
3160
  }
3160
3161
  };
@@ -3167,7 +3168,7 @@ function ar({
3167
3168
  [S]: { type: "json", value: void 0, error: "Invalid JSON" }
3168
3169
  } : {
3169
3170
  ...I,
3170
- [S]: ho(T) ? { type: "json", value: JSON.parse(T), error: null } : { ...A, type: "json", error: "Invalid JSON" }
3171
+ [S]: fo(T) ? { type: "json", value: JSON.parse(T), error: null } : { ...A, type: "json", error: "Invalid JSON" }
3171
3172
  };
3172
3173
  });
3173
3174
  }, q = (S, T) => {
@@ -3185,7 +3186,7 @@ function ar({
3185
3186
  ...A,
3186
3187
  [S]: {
3187
3188
  type: I,
3188
- value: vt[I],
3189
+ value: wt[I],
3189
3190
  // set to default
3190
3191
  error: null
3191
3192
  }
@@ -3250,10 +3251,10 @@ function ar({
3250
3251
  }
3251
3252
  const S = Object.fromEntries(
3252
3253
  Object.entries(p).map(([I, { value: A }]) => [I, A])
3253
- ), T = a.id || S.id || qe();
3254
+ ), T = a.id || S.id || Pe();
3254
3255
  delete S.id;
3255
3256
  try {
3256
- let I = Ha[t.name][T];
3257
+ let I = an[t.name][T];
3257
3258
  const A = [], D = [];
3258
3259
  for (const [F, Q] of Object.entries(d))
3259
3260
  for (const [te, { action: W }] of Object.entries(Q))
@@ -3291,8 +3292,8 @@ function ar({
3291
3292
  type: "link",
3292
3293
  size: "mini",
3293
3294
  variant: "subtle",
3294
- onClick: () => B("id", qe()),
3295
- children: /* @__PURE__ */ r(ja, { height: 14 })
3295
+ onClick: () => B("id", Pe()),
3296
+ children: /* @__PURE__ */ r(Ha, { height: 14 })
3296
3297
  }
3297
3298
  )
3298
3299
  ] }) }) }),
@@ -3301,7 +3302,7 @@ function ar({
3301
3302
  {
3302
3303
  className: "flex w-full flex-1 rounded-xs border-gray-200 bg-white px-3 py-1 placeholder:text-gray-400 dark:border-neutral-700 dark:bg-neutral-800",
3303
3304
  value: p.id?.value ?? "",
3304
- onChange: (S) => B("id", S.target.value, bo)
3305
+ onChange: (S) => B("id", S.target.value, wo)
3305
3306
  }
3306
3307
  ) }),
3307
3308
  " ",
@@ -3310,7 +3311,7 @@ function ar({
3310
3311
  i.map((S, T) => {
3311
3312
  const I = T + 1, { type: A, value: D, error: F } = p[S.name] || {
3312
3313
  type: "string",
3313
- value: vt.string
3314
+ value: wt.string
3314
3315
  }, Q = s[S.name] || (D !== null ? JSON.stringify(D, null, 2) : "null"), te = b[S.name];
3315
3316
  return /* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
3316
3317
  /* @__PURE__ */ h("div", { className: "flex items-center justify-between", children: [
@@ -3329,7 +3330,7 @@ function ar({
3329
3330
  {
3330
3331
  className: "w-24 rounded-sm px-2 py-0.5 text-sm",
3331
3332
  value: A,
3332
- options: go(S.checkedDataType),
3333
+ options: ho(S.checkedDataType),
3333
3334
  onChange: (W) => P(
3334
3335
  S.name,
3335
3336
  W.value
@@ -3350,7 +3351,7 @@ function ar({
3350
3351
  }
3351
3352
  ) : /* @__PURE__ */ h("div", { className: "flex space-x-1", children: [
3352
3353
  /* @__PURE__ */ r("div", { className: "flex-1", children: A === "json" ? /* @__PURE__ */ r("div", { className: "h-32 w-full rounded-sm border", children: /* @__PURE__ */ r(
3353
- Dt,
3354
+ _t,
3354
3355
  {
3355
3356
  darkMode: l.darkMode,
3356
3357
  tabIndex: I,
@@ -3379,7 +3380,7 @@ function ar({
3379
3380
  onChange: (W) => B(S.name, W.target.value)
3380
3381
  }
3381
3382
  ) : /* @__PURE__ */ r(
3382
- po,
3383
+ go,
3383
3384
  {
3384
3385
  tabIndex: I,
3385
3386
  value: D ?? "",
@@ -3399,7 +3400,7 @@ function ar({
3399
3400
  );
3400
3401
  },
3401
3402
  children: [
3402
- /* @__PURE__ */ r(cr, { height: 14 }),
3403
+ /* @__PURE__ */ r(ir, { height: 14 }),
3403
3404
  "now"
3404
3405
  ]
3405
3406
  }
@@ -3420,7 +3421,7 @@ function ar({
3420
3421
  ] })
3421
3422
  ] }),
3422
3423
  /* @__PURE__ */ r("div", { className: "flex flex-col gap-1", children: /* @__PURE__ */ r(
3423
- yo,
3424
+ ko,
3424
3425
  {
3425
3426
  db: e,
3426
3427
  item: a,
@@ -3454,8 +3455,8 @@ function ar({
3454
3455
  ] })
3455
3456
  ] });
3456
3457
  }
3457
- const xo = [];
3458
- function So(e, t, a, n = !1) {
3458
+ const So = [];
3459
+ function No(e, t, a, n = !1) {
3459
3460
  if (e.length === 0) return;
3460
3461
  const o = t.filter(
3461
3462
  (c) => c.id !== "select-col" && c.header !== void 0 && !c.meta?.isLink
@@ -3465,29 +3466,29 @@ function So(e, t, a, n = !1) {
3465
3466
  const d = c[f.header];
3466
3467
  d == null ? p[f.header] = "" : typeof d == "object" ? p[f.header] = JSON.stringify(d) : p[f.header] = d;
3467
3468
  }), p;
3468
- }), i = en({
3469
+ }), i = gn({
3469
3470
  fieldSeparator: ",",
3470
3471
  filename: `${a}_export`,
3471
3472
  decimalSeparator: ".",
3472
3473
  useKeysAsHeaders: !0
3473
- }), g = tn(i)(l);
3474
- n ? (rn(i)(g), oe("CSV file downloaded")) : (We(g.toString()), oe("CSV copied to clipboard"));
3474
+ }), g = hn(i)(l);
3475
+ n ? (fn(i)(g), oe("CSV file downloaded")) : (He(g.toString()), oe("CSV copied to clipboard"));
3475
3476
  }
3476
- function No(e, t, a, n = !1) {
3477
+ function Eo(e, t, a, n = !1) {
3477
3478
  if (e.length === 0) return;
3478
3479
  const o = t.filter(
3479
3480
  (c) => c.id !== "select-col" && c.header !== void 0 && !c.meta?.isLink
3480
3481
  ), l = o.map((c) => c.header), i = e.map((c) => o.map((p) => {
3481
3482
  const f = c[p.header];
3482
3483
  return f == null ? " " : typeof f == "object" ? JSON.stringify(f) : String(f);
3483
- })), g = Ja([l, ...i]);
3484
+ })), g = pn([l, ...i]);
3484
3485
  if (n) {
3485
3486
  const c = new Blob([g], { type: "text/markdown" }), p = URL.createObjectURL(c), f = document.createElement("a");
3486
3487
  f.href = p, f.download = `${a}_export.md`, document.body.appendChild(f), f.click(), document.body.removeChild(f), URL.revokeObjectURL(p), oe("Markdown file downloaded");
3487
3488
  } else
3488
- We(g), oe("Markdown copied to clipboard");
3489
+ He(g), oe("Markdown copied to clipboard");
3489
3490
  }
3490
- function Eo(e, t, a, n = !1) {
3491
+ function Co(e, t, a, n = !1) {
3491
3492
  if (e.length === 0) return;
3492
3493
  const o = t.filter(
3493
3494
  (g) => g.id !== "select-col" && g.header !== void 0 && !g.meta?.isLink
@@ -3502,10 +3503,10 @@ function Eo(e, t, a, n = !1) {
3502
3503
  const g = new Blob([i], { type: "application/json" }), c = URL.createObjectURL(g), p = document.createElement("a");
3503
3504
  p.href = c, p.download = `${a}_export.json`, document.body.appendChild(p), p.click(), document.body.removeChild(p), URL.revokeObjectURL(c), oe("JSON file downloaded");
3504
3505
  } else
3505
- We(i), oe("JSON copied to clipboard");
3506
+ He(i), oe("JSON copied to clipboard");
3506
3507
  }
3507
- const Co = ({ db: e, namespaces: t }) => {
3508
- const { explorerState: a, history: n } = ut(), o = de(), l = a, i = t.find(
3508
+ const Io = ({ db: e, namespaces: t }) => {
3509
+ const { explorerState: a, history: n } = dt(), o = de(), l = a, i = t.find(
3509
3510
  (E) => E.id === l.namespace
3510
3511
  ), [g, c] = C(50), [p, f] = C([]), [d, u] = C(!1), [s, m] = C(""), [b, w] = C(!1), [v, k] = C(null), [x, _] = C(null), [P, B] = C(!1);
3511
3512
  X(null);
@@ -3515,14 +3516,14 @@ const Co = ({ db: e, namespaces: t }) => {
3515
3516
  Math.max($, U)
3516
3517
  ];
3517
3518
  Ce((pe) => {
3518
- const je = { ...pe };
3519
+ const ze = { ...pe };
3519
3520
  for (let Ae = K; Ae <= J; Ae++) {
3520
- const rt = R[Ae];
3521
- N ? je[rt] = !0 : delete je[rt];
3521
+ const et = R[Ae];
3522
+ N ? ze[et] = !0 : delete ze[et];
3522
3523
  }
3523
- return je;
3524
+ return ze;
3524
3525
  });
3525
- }, [F, Q] = C([]), { itemsRes: te, allCount: W } = jn(
3526
+ }, [F, Q] = C([]), { itemsRes: te, allCount: W } = Mn(
3526
3527
  e,
3527
3528
  i,
3528
3529
  l?.where,
@@ -3531,16 +3532,16 @@ const Co = ({ db: e, namespaces: t }) => {
3531
3532
  T,
3532
3533
  I,
3533
3534
  A
3534
- ), re = te.data?.[i?.name ?? ""] ?? xo;
3535
+ ), re = te.data?.[i?.name ?? ""] ?? So;
3535
3536
  function ye(E, N) {
3536
3537
  return E.filter((R) => N[R.id]);
3537
3538
  }
3538
- const ce = W ? Math.ceil(W / g) : 1, Z = T / g + 1, [ke, Kr] = Pn("localDates", !1), Xr = async () => {
3539
+ const ce = W ? Math.ceil(W / g) : 1, Z = T / g + 1, [ke, Kr] = qn("localDates", !1), Xr = async () => {
3539
3540
  try {
3540
3541
  if (u(!0), p.length === 0)
3541
3542
  return;
3542
3543
  const [E] = p;
3543
- await Ro(
3544
+ await To(
3544
3545
  o.adminToken,
3545
3546
  o.appId,
3546
3547
  E,
@@ -3552,14 +3553,14 @@ const Co = ({ db: e, namespaces: t }) => {
3552
3553
  } finally {
3553
3554
  u(!1);
3554
3555
  }
3555
- }, Ft = le(() => re, [re]), De = X(null), [$t, zt] = C(0), [jt, Mt] = C(1), [Bt, Ut] = C(!1), Zr = (E) => {
3556
+ }, Lt = se(() => re, [re]), _e = X(null), [Ft, $t] = C(0), [zt, jt] = C(1), [Mt, Bt] = C(!1), Zr = (E) => {
3556
3557
  if (ae?.getColumn(E)?.columnDef.header === "id") {
3557
- Pt(E, 285);
3558
+ Ut(E, 285);
3558
3559
  return;
3559
3560
  }
3560
- const N = Gn(E, 800);
3561
- Pt(E, N);
3562
- }, Pt = (E, N = 200) => {
3561
+ const N = Hn(E, 800);
3562
+ Ut(E, N);
3563
+ }, Ut = (E, N = 200) => {
3563
3564
  if (!i)
3564
3565
  return;
3565
3566
  const R = {};
@@ -3569,7 +3570,7 @@ const Co = ({ db: e, namespaces: t }) => {
3569
3570
  ...R,
3570
3571
  [E]: N
3571
3572
  });
3572
- }, Le = le(() => {
3573
+ }, De = se(() => {
3573
3574
  const E = [];
3574
3575
  return E.push({
3575
3576
  id: "select-col",
@@ -3610,7 +3611,7 @@ const Co = ({ db: e, namespaces: t }) => {
3610
3611
  {
3611
3612
  className: "translate-y-0.5 opacity-0 transition-opacity group-hover:opacity-100",
3612
3613
  onClick: () => _(N.id),
3613
- children: /* @__PURE__ */ r(Na, { className: "h-4 w-4 text-neutral-500 dark:text-neutral-400" })
3614
+ children: /* @__PURE__ */ r(ka, { className: "h-4 w-4 text-neutral-500 dark:text-neutral-400" })
3614
3615
  }
3615
3616
  )
3616
3617
  ] })
@@ -3660,26 +3661,26 @@ const Co = ({ db: e, namespaces: t }) => {
3660
3661
  }
3661
3662
  );
3662
3663
  if (N.name === "size")
3663
- return qn(R.row.original[N.name]);
3664
+ return Gn(R.row.original[N.name]);
3664
3665
  }
3665
3666
  if (N.checkedDataType === "boolean")
3666
3667
  return R.row.original[N.name] ? "true" : "false";
3667
3668
  if (N.checkedDataType === "date") {
3668
- const $ = La(R.row.original[N.name]);
3669
+ const $ = en(R.row.original[N.name]);
3669
3670
  return ke && $?.toLocaleString() || R.row.original[N.name];
3670
3671
  }
3671
- return Ne(R.row.original[N.name]) ? /* @__PURE__ */ r(Ao, { data: R.row.original[N.name] }) : R.row.original[N.name];
3672
+ return Ne(R.row.original[N.name]) ? /* @__PURE__ */ r(Ro, { data: R.row.original[N.name] }) : R.row.original[N.name];
3672
3673
  }
3673
3674
  });
3674
3675
  }), E;
3675
3676
  }, [i?.attrs, ke]), [Qr, Jr] = C({}), ea = () => {
3676
3677
  const E = Object.entries(ae.getState().columnSizing).reduce(
3677
- (U, [K, J]) => et.visibility[K] !== !1 ? {
3678
+ (U, [K, J]) => Qe.visibility[K] !== !1 ? {
3678
3679
  ...U,
3679
3680
  [K]: J
3680
3681
  } : U,
3681
3682
  {}
3682
- ), N = De.current?.clientWidth || -1, R = Object.values(E).reduce(
3683
+ ), N = _e.current?.clientWidth || -1, R = Object.values(E).reduce(
3683
3684
  (U, K) => U + K,
3684
3685
  0
3685
3686
  ), $ = N - 52 - R;
@@ -3689,99 +3690,99 @@ const Co = ({ db: e, namespaces: t }) => {
3689
3690
  E[J] += K;
3690
3691
  });
3691
3692
  }
3692
- Ut(!1), ae.setColumnSizing(() => ({ ...E }));
3693
- }, ta = "onChange", ra = "ltr", et = Bn({
3693
+ Bt(!1), ae.setColumnSizing(() => ({ ...E }));
3694
+ }, ta = "onChange", ra = "ltr", Qe = Un({
3694
3695
  appId: o.appId,
3695
3696
  attrs: i?.attrs,
3696
3697
  namespaceId: i?.id
3697
- }), [Fe, tt] = C(
3698
- () => Le.map((E) => E.id)
3698
+ }), [Le, Je] = C(
3699
+ () => De.map((E) => E.id)
3699
3700
  );
3700
- yt(() => {
3701
+ vt(() => {
3701
3702
  if (i?.attrs) {
3702
3703
  const E = localStorage.getItem(
3703
3704
  `order-${i.id}-${o.appId}`
3704
3705
  );
3705
3706
  if (E)
3706
- tt(JSON.parse(E));
3707
+ Je(JSON.parse(E));
3707
3708
  else {
3708
3709
  const N = i.attrs.map(
3709
3710
  (R) => R.id + R.name
3710
3711
  );
3711
- tt(["select-col", ...N]);
3712
+ Je(["select-col", ...N]);
3712
3713
  }
3713
3714
  }
3714
3715
  }, [i?.attrs]), H(() => {
3715
3716
  i?.id && localStorage.setItem(
3716
3717
  `order-${i.id}-${o.appId}`,
3717
- JSON.stringify(Fe)
3718
+ JSON.stringify(Le)
3718
3719
  );
3719
- }, [Fe, i?.id]);
3720
+ }, [Le, i?.id]);
3720
3721
  const [xe, Ce] = C(
3721
3722
  {}
3722
3723
  );
3723
3724
  H(() => {
3724
3725
  Ce({}), L.current = null;
3725
3726
  }, [i?.id]);
3726
- const $e = Object.keys(xe).length, Ie = j === "$files" ? $e === 1 ? "file" : "files" : $e === 1 ? "row" : "rows", ae = on({
3727
+ const Fe = Object.keys(xe).length, Ie = j === "$files" ? Fe === 1 ? "file" : "files" : Fe === 1 ? "row" : "rows", ae = wn({
3727
3728
  columnResizeDirection: ra,
3728
3729
  columnResizeMode: ta,
3729
- onColumnVisibilityChange: et.setVisibility,
3730
- columns: Le,
3731
- data: Ft,
3730
+ onColumnVisibilityChange: Qe.setVisibility,
3731
+ columns: De,
3732
+ data: Lt,
3732
3733
  enableColumnResizing: !0,
3733
3734
  enableRowSelection: !0,
3734
- getCoreRowModel: ln(),
3735
+ getCoreRowModel: vn(),
3735
3736
  getRowId: (E) => E.id,
3736
- onColumnOrderChange: tt,
3737
+ onColumnOrderChange: Je,
3737
3738
  onRowSelectionChange: Ce,
3738
3739
  onColumnSizingChange: Jr,
3739
3740
  state: {
3740
3741
  columnSizing: Qr,
3741
- columnOrder: Fe,
3742
- columnVisibility: et.visibility,
3742
+ columnOrder: Le,
3743
+ columnVisibility: Qe.visibility,
3743
3744
  rowSelection: xe
3744
3745
  }
3745
- }), [Se, mt] = C(!1);
3746
+ }), [Se, ft] = C(!1);
3746
3747
  H(() => {
3747
3748
  const E = ($) => {
3748
- $.key === "Shift" && mt(!0);
3749
+ $.key === "Shift" && ft(!0);
3749
3750
  }, N = ($) => {
3750
- $.key === "Shift" && mt(!1);
3751
+ $.key === "Shift" && ft(!1);
3751
3752
  }, R = () => {
3752
- mt(!1);
3753
+ ft(!1);
3753
3754
  };
3754
3755
  return window.addEventListener("keydown", E), window.addEventListener("keyup", N), window.addEventListener("blur", R), () => {
3755
3756
  window.removeEventListener("keydown", E), window.removeEventListener("keyup", N), window.removeEventListener("blur-sm", R);
3756
3757
  };
3757
3758
  }, []);
3758
- const [aa, ze] = C(!1);
3759
+ const [aa, $e] = C(!1);
3759
3760
  function na(E) {
3760
3761
  const { active: N, over: R } = E;
3761
- N && R && N.id !== R.id && N.id !== "select-col" && R.id !== "select-col" && tt(($) => {
3762
+ N && R && N.id !== R.id && N.id !== "select-col" && R.id !== "select-col" && Je(($) => {
3762
3763
  const U = $.indexOf(N.id), K = $.indexOf(R.id);
3763
- return nn($, U, K);
3764
+ return bn($, U, K);
3764
3765
  });
3765
3766
  }
3766
- const bt = le(
3767
+ const mt = se(
3767
3768
  () => re.find((E) => E.id === x),
3768
3769
  [re.length, x]
3769
3770
  );
3770
3771
  H(() => {
3771
- const E = De.current;
3772
+ const E = _e.current;
3772
3773
  if (!E) return;
3773
3774
  const N = () => {
3774
3775
  const U = ae.getCenterTotalSize(), K = E.clientWidth;
3775
- Ut(U < K - 5);
3776
- const { scrollLeft: J, scrollWidth: pe, clientWidth: je } = E, Ae = pe - je;
3776
+ Bt(U < K - 5);
3777
+ const { scrollLeft: J, scrollWidth: pe, clientWidth: ze } = E, Ae = pe - ze;
3777
3778
  if (Ae <= 0) {
3778
- zt(0), Mt(0);
3779
+ $t(0), jt(0);
3779
3780
  return;
3780
3781
  }
3781
- const rt = Math.min(J / 30, 1);
3782
- zt(rt);
3782
+ const et = Math.min(J / 30, 1);
3783
+ $t(et);
3783
3784
  const da = Math.min((Ae - J) / 30, 1);
3784
- Mt(da);
3785
+ jt(da);
3785
3786
  };
3786
3787
  N(), E.addEventListener("scroll", N);
3787
3788
  const R = new ResizeObserver(N);
@@ -3790,13 +3791,13 @@ const Co = ({ db: e, namespaces: t }) => {
3790
3791
  return $ && R.observe($), window.addEventListener("resize", N), () => {
3791
3792
  E.removeEventListener("scroll", N), R.disconnect(), window.removeEventListener("resize", N);
3792
3793
  };
3793
- }, [i, Ft]);
3794
- const oa = Va(
3795
- wt(Ya, {}),
3796
- wt(Ka, {}),
3797
- wt(Xa, {})
3794
+ }, [i, Lt]);
3795
+ const oa = on(
3796
+ bt(ln, {}),
3797
+ bt(sn, {}),
3798
+ bt(dn, {})
3798
3799
  ), ia = n.items.length >= 1, la = (E) => E === "id" ? 140 : E === "url" ? 120 : E.length * 7.2 + 50;
3799
- if (yt(() => {
3800
+ if (vt(() => {
3800
3801
  if (i?.id) {
3801
3802
  if (localStorage.getItem(
3802
3803
  `$sizing-${i.id}-${o.appId}`
@@ -3809,7 +3810,7 @@ const Co = ({ db: e, namespaces: t }) => {
3809
3810
  ae.setColumnSizing(() => ({ ...U }));
3810
3811
  return;
3811
3812
  }
3812
- const E = De.current?.clientWidth || -1, N = {};
3813
+ const E = _e.current?.clientWidth || -1, N = {};
3813
3814
  i?.attrs.forEach((U) => {
3814
3815
  N[U.id + U.name] = la(U.name);
3815
3816
  });
@@ -3825,7 +3826,7 @@ const Co = ({ db: e, namespaces: t }) => {
3825
3826
  }
3826
3827
  ae.setColumnSizing(N);
3827
3828
  }
3828
- }, [De.current, i]), !i)
3829
+ }, [_e.current, i]), !i)
3829
3830
  return null;
3830
3831
  const sa = i.id;
3831
3832
  return /* @__PURE__ */ h(M, { children: [
@@ -3840,7 +3841,7 @@ const Co = ({ db: e, namespaces: t }) => {
3840
3841
  "Delete ",
3841
3842
  Ie
3842
3843
  ] }),
3843
- /* @__PURE__ */ h(gt, { children: [
3844
+ /* @__PURE__ */ h(pt, { children: [
3844
3845
  "Deleting is an",
3845
3846
  " ",
3846
3847
  /* @__PURE__ */ r("strong", { className: "dark:text-white", children: "irreversible operation" }),
@@ -3849,7 +3850,7 @@ const Co = ({ db: e, namespaces: t }) => {
3849
3850
  " ",
3850
3851
  /* @__PURE__ */ h("strong", { className: "dark:text-white", children: [
3851
3852
  "delete ",
3852
- $e,
3853
+ Fe,
3853
3854
  " ",
3854
3855
  Ie,
3855
3856
  " "
@@ -3873,7 +3874,7 @@ const Co = ({ db: e, namespaces: t }) => {
3873
3874
  try {
3874
3875
  if (i.name === "$files") {
3875
3876
  const E = re.filter((N) => N.id in xe).map((N) => N.path);
3876
- await To(
3877
+ await Oo(
3877
3878
  o.adminToken,
3878
3879
  o.appId,
3879
3880
  E,
@@ -3882,7 +3883,7 @@ const Co = ({ db: e, namespaces: t }) => {
3882
3883
  } else
3883
3884
  await e.transact(
3884
3885
  Object.keys(xe).map(
3885
- (E) => Fa[i.name][E].delete()
3886
+ (E) => tn[i.name][E].delete()
3886
3887
  )
3887
3888
  );
3888
3889
  } catch (E) {
@@ -3906,7 +3907,7 @@ const Co = ({ db: e, namespaces: t }) => {
3906
3907
  open: P,
3907
3908
  onClose: () => B(!1),
3908
3909
  children: i ? /* @__PURE__ */ r(
3909
- ar,
3910
+ rr,
3910
3911
  {
3911
3912
  db: e,
3912
3913
  item: {},
@@ -3920,14 +3921,14 @@ const Co = ({ db: e, namespaces: t }) => {
3920
3921
  fe,
3921
3922
  {
3922
3923
  title: "Edit Row",
3923
- open: !!bt,
3924
+ open: !!mt,
3924
3925
  onClose: () => _(null),
3925
- children: i && bt ? /* @__PURE__ */ r(
3926
- ar,
3926
+ children: i && mt ? /* @__PURE__ */ r(
3927
+ rr,
3927
3928
  {
3928
3929
  db: e,
3929
3930
  namespace: i,
3930
- item: bt,
3931
+ item: mt,
3931
3932
  onClose: () => _(null)
3932
3933
  }
3933
3934
  ) : null
@@ -3941,7 +3942,7 @@ const Co = ({ db: e, namespaces: t }) => {
3941
3942
  open: !!v,
3942
3943
  onClose: () => k(null),
3943
3944
  children: i ? /* @__PURE__ */ r(
3944
- eo,
3945
+ to,
3945
3946
  {
3946
3947
  readOnly: S,
3947
3948
  isSystemCatalogNs: z,
@@ -3959,7 +3960,7 @@ const Co = ({ db: e, namespaces: t }) => {
3959
3960
  /* @__PURE__ */ r("div", { className: "flex items-center overflow-hidden border-b border-b-gray-200 dark:border-neutral-700", children: /* @__PURE__ */ h("div", { className: "flex flex-1 flex-col justify-between py-2 md:flex-row md:items-center", children: [
3960
3961
  /* @__PURE__ */ h("div", { className: "flex items-center overflow-hidden border-b px-2 py-1 pl-4 md:border-b-0 dark:border-neutral-700", children: [
3961
3962
  ia ? /* @__PURE__ */ r(
3962
- Ht,
3963
+ Pt,
3963
3964
  {
3964
3965
  className: "mr-4 inline cursor-pointer",
3965
3966
  height: "1rem",
@@ -3967,7 +3968,7 @@ const Co = ({ db: e, namespaces: t }) => {
3967
3968
  }
3968
3969
  ) : null,
3969
3970
  l.where ? /* @__PURE__ */ r(
3970
- ur,
3971
+ lr,
3971
3972
  {
3972
3973
  className: "mr-4 inline cursor-pointer",
3973
3974
  height: "1rem",
@@ -4024,7 +4025,7 @@ const Co = ({ db: e, namespaces: t }) => {
4024
4025
  }
4025
4026
  ),
4026
4027
  /* @__PURE__ */ r(
4027
- Ln,
4028
+ Fn,
4028
4029
  {
4029
4030
  onSearchChange: (E) => Q(E),
4030
4031
  attrs: i?.attrs,
@@ -4087,7 +4088,7 @@ const Co = ({ db: e, namespaces: t }) => {
4087
4088
  B(!0);
4088
4089
  },
4089
4090
  children: [
4090
- /* @__PURE__ */ r(sn, { width: 12 }),
4091
+ /* @__PURE__ */ r(Da, { width: 12 }),
4091
4092
  "Add row"
4092
4093
  ]
4093
4094
  }
@@ -4144,7 +4145,7 @@ const Co = ({ db: e, namespaces: t }) => {
4144
4145
  }));
4145
4146
  },
4146
4147
  children: /* @__PURE__ */ r(
4147
- Ht,
4148
+ Pt,
4148
4149
  {
4149
4150
  className: O("inline", {
4150
4151
  "opacity-40": Z <= 1
@@ -4193,7 +4194,7 @@ const Co = ({ db: e, namespaces: t }) => {
4193
4194
  }));
4194
4195
  },
4195
4196
  children: /* @__PURE__ */ r(
4196
- dn,
4197
+ La,
4197
4198
  {
4198
4199
  className: O("inline", {
4199
4200
  "opacity-40": Z >= ce
@@ -4203,19 +4204,19 @@ const Co = ({ db: e, namespaces: t }) => {
4203
4204
  )
4204
4205
  }
4205
4206
  ),
4206
- $e > 0 && /* @__PURE__ */ h("div", { className: "flex items-center gap-2 pl-4", children: [
4207
- /* @__PURE__ */ h(qr, { open: aa, onOpenChange: ze, children: [
4207
+ Fe > 0 && /* @__PURE__ */ h("div", { className: "flex items-center gap-2 pl-4", children: [
4208
+ /* @__PURE__ */ h(qr, { open: aa, onOpenChange: $e, children: [
4208
4209
  /* @__PURE__ */ r(Gr, { children: /* @__PURE__ */ h(
4209
4210
  V,
4210
4211
  {
4211
4212
  onClick: () => {
4212
- ze(!0);
4213
+ $e(!0);
4213
4214
  },
4214
4215
  variant: "secondary",
4215
4216
  children: [
4216
- /* @__PURE__ */ r(Ea, { width: 14 }),
4217
+ /* @__PURE__ */ r(xa, { width: 14 }),
4217
4218
  "Export (",
4218
- $e,
4219
+ Fe,
4219
4220
  ")"
4220
4221
  ]
4221
4222
  }
@@ -4229,7 +4230,7 @@ const Co = ({ db: e, namespaces: t }) => {
4229
4230
  sideOffset: 5,
4230
4231
  children: [
4231
4232
  /* @__PURE__ */ h(
4232
- Pe,
4233
+ Ue,
4233
4234
  {
4234
4235
  onSelect: (E) => {
4235
4236
  E.preventDefault();
@@ -4237,22 +4238,22 @@ const Co = ({ db: e, namespaces: t }) => {
4237
4238
  re,
4238
4239
  xe
4239
4240
  );
4240
- So(
4241
+ No(
4241
4242
  N,
4242
- Le,
4243
+ De,
4243
4244
  i.name,
4244
4245
  Se
4245
- ), ze(!1);
4246
+ ), $e(!1);
4246
4247
  },
4247
4248
  className: "flex items-center gap-2",
4248
4249
  children: [
4249
- /* @__PURE__ */ r(cn, { width: 12 }),
4250
+ /* @__PURE__ */ r(Fa, { width: 12 }),
4250
4251
  Se ? "Download as CSV" : "Copy as CSV"
4251
4252
  ]
4252
4253
  }
4253
4254
  ),
4254
4255
  /* @__PURE__ */ h(
4255
- Pe,
4256
+ Ue,
4256
4257
  {
4257
4258
  onSelect: (E) => {
4258
4259
  E.preventDefault();
@@ -4260,22 +4261,22 @@ const Co = ({ db: e, namespaces: t }) => {
4260
4261
  re,
4261
4262
  xe
4262
4263
  );
4263
- No(
4264
+ Eo(
4264
4265
  N,
4265
- Le,
4266
+ De,
4266
4267
  i.name,
4267
4268
  Se
4268
- ), ze(!1);
4269
+ ), $e(!1);
4269
4270
  },
4270
4271
  className: "flex items-center gap-2",
4271
4272
  children: [
4272
- /* @__PURE__ */ r(un, { width: 12 }),
4273
+ /* @__PURE__ */ r($a, { width: 12 }),
4273
4274
  Se ? "Download as Markdown" : "Copy as Markdown"
4274
4275
  ]
4275
4276
  }
4276
4277
  ),
4277
4278
  /* @__PURE__ */ h(
4278
- Pe,
4279
+ Ue,
4279
4280
  {
4280
4281
  onSelect: (E) => {
4281
4282
  E.preventDefault();
@@ -4283,16 +4284,16 @@ const Co = ({ db: e, namespaces: t }) => {
4283
4284
  re,
4284
4285
  xe
4285
4286
  );
4286
- Eo(
4287
+ Co(
4287
4288
  N,
4288
- Le,
4289
+ De,
4289
4290
  i.name,
4290
4291
  Se
4291
- ), ze(!1);
4292
+ ), $e(!1);
4292
4293
  },
4293
4294
  className: "flex items-center gap-2",
4294
4295
  children: [
4295
- /* @__PURE__ */ r(pn, { width: 12 }),
4296
+ /* @__PURE__ */ r(za, { width: 12 }),
4296
4297
  Se ? "Download as JSON" : "Copy as JSON"
4297
4298
  ]
4298
4299
  }
@@ -4300,7 +4301,7 @@ const Co = ({ db: e, namespaces: t }) => {
4300
4301
  !Se && /* @__PURE__ */ h(M, { children: [
4301
4302
  /* @__PURE__ */ r(Wr, {}),
4302
4303
  /* @__PURE__ */ r(
4303
- Pe,
4304
+ Ue,
4304
4305
  {
4305
4306
  className: "text-xs text-neutral-500 dark:text-neutral-400",
4306
4307
  disabled: !0,
@@ -4321,7 +4322,7 @@ const Co = ({ db: e, namespaces: t }) => {
4321
4322
  className: "px-2",
4322
4323
  variant: "destructive",
4323
4324
  children: [
4324
- /* @__PURE__ */ r(Ca, { width: 14 }),
4325
+ /* @__PURE__ */ r(Sa, { width: 14 }),
4325
4326
  "Delete Selected Rows"
4326
4327
  ]
4327
4328
  }
@@ -4329,30 +4330,30 @@ const Co = ({ db: e, namespaces: t }) => {
4329
4330
  ] }),
4330
4331
  /* @__PURE__ */ r("div", { className: "grow" }),
4331
4332
  /* @__PURE__ */ r("div", { className: "px-2", children: /* @__PURE__ */ r(
4332
- Kn,
4333
+ Xn,
4333
4334
  {
4334
4335
  localDates: ke,
4335
4336
  setLocalDates: Kr,
4336
- visiblity: et
4337
+ visiblity: Qe
4337
4338
  }
4338
4339
  ) })
4339
4340
  ] }),
4340
4341
  /* @__PURE__ */ r(
4341
- Za,
4342
+ cn,
4342
4343
  {
4343
- collisionDetection: Qa,
4344
- modifiers: [an],
4344
+ collisionDetection: un,
4345
+ modifiers: [mn],
4345
4346
  onDragEnd: na,
4346
4347
  sensors: oa,
4347
4348
  children: /* @__PURE__ */ h("div", { className: "relative flex-1 overflow-hidden bg-neutral-100 dark:bg-neutral-900/50", children: [
4348
- !Bt && /* @__PURE__ */ r(
4349
+ !Mt && /* @__PURE__ */ r(
4349
4350
  "div",
4350
4351
  {
4351
4352
  className: "absolute top-0 right-0 bottom-0 z-50 w-[30px] bg-linear-to-l from-black/20 via-black/5 to-transparent transition-opacity duration-150",
4352
4353
  style: {
4353
4354
  pointerEvents: "none",
4354
- opacity: jt,
4355
- display: jt == 0 ? "none" : void 0
4355
+ opacity: zt,
4356
+ display: zt == 0 ? "none" : void 0
4356
4357
  }
4357
4358
  }
4358
4359
  ),
@@ -4362,12 +4363,12 @@ const Co = ({ db: e, namespaces: t }) => {
4362
4363
  className: "absolute top-0 bottom-0 left-0 z-50 w-[30px] bg-linear-to-r from-black/10 via-black/0 to-transparent transition-opacity duration-150",
4363
4364
  style: {
4364
4365
  pointerEvents: "none",
4365
- opacity: $t,
4366
- display: $t == 0 ? "none" : void 0
4366
+ opacity: Ft,
4367
+ display: Ft == 0 ? "none" : void 0
4367
4368
  }
4368
4369
  }
4369
4370
  ),
4370
- /* @__PURE__ */ h("div", { ref: De, className: "h-full w-full overflow-auto", children: [
4371
+ /* @__PURE__ */ h("div", { ref: _e, className: "h-full w-full overflow-auto", children: [
4371
4372
  /* @__PURE__ */ h(
4372
4373
  "div",
4373
4374
  {
@@ -4377,12 +4378,12 @@ const Co = ({ db: e, namespaces: t }) => {
4377
4378
  className: "z-0 inline-block text-left align-top font-mono text-xs text-neutral-500 dark:text-neutral-400",
4378
4379
  children: [
4379
4380
  /* @__PURE__ */ r("div", { className: "sticky top-0 z-10 border-r border-b border-gray-200 border-r-gray-200 bg-white text-neutral-700 shadow-sm dark:border-r-neutral-700 dark:border-b-neutral-600 dark:bg-[#303030] dark:text-neutral-300", children: ae.getHeaderGroups().map((E) => /* @__PURE__ */ r("div", { className: "flex w-full", children: /* @__PURE__ */ r(
4380
- qt,
4381
+ Ht,
4381
4382
  {
4382
- items: Fe,
4383
- strategy: Gt,
4383
+ items: Le,
4384
+ strategy: Wt,
4384
4385
  children: E.headers.map((N, R) => /* @__PURE__ */ r(
4385
- Wn,
4386
+ Vn,
4386
4387
  {
4387
4388
  header: N,
4388
4389
  table: ae,
@@ -4408,11 +4409,11 @@ const Co = ({ db: e, namespaces: t }) => {
4408
4409
  {
4409
4410
  className: "group flex border-r border-b border-r-gray-200 border-b-gray-200 bg-white dark:border-neutral-700 dark:border-r-neutral-700 dark:bg-neutral-800",
4410
4411
  children: E.getVisibleCells().map((N) => /* @__PURE__ */ r(
4411
- qt,
4412
+ Ht,
4412
4413
  {
4413
- items: Fe,
4414
- strategy: Gt,
4415
- children: /* @__PURE__ */ r(Vn, { cell: N }, N.id)
4414
+ items: Le,
4415
+ strategy: Wt,
4416
+ children: /* @__PURE__ */ r(Yn, { cell: N }, N.id)
4416
4417
  },
4417
4418
  N.id
4418
4419
  ))
@@ -4422,13 +4423,13 @@ const Co = ({ db: e, namespaces: t }) => {
4422
4423
  ]
4423
4424
  }
4424
4425
  ),
4425
- Bt && /* @__PURE__ */ r("div", { className: "sticky top-0 inline-block align-top", children: /* @__PURE__ */ r(
4426
- ht,
4426
+ Mt && /* @__PURE__ */ r("div", { className: "sticky top-0 inline-block align-top", children: /* @__PURE__ */ r(
4427
+ gt,
4427
4428
  {
4428
4429
  className: "opacity-60",
4429
4430
  labelDirection: "bottom",
4430
4431
  label: "Fill Width",
4431
- icon: /* @__PURE__ */ r(gn, {}),
4432
+ icon: /* @__PURE__ */ r(ja, {}),
4432
4433
  onClick: ea
4433
4434
  }
4434
4435
  ) })
@@ -4439,18 +4440,18 @@ const Co = ({ db: e, namespaces: t }) => {
4439
4440
  ] })
4440
4441
  ] });
4441
4442
  };
4442
- function Io(e, t) {
4443
+ function Ao(e, t) {
4443
4444
  return Ne(e) ? JSON.stringify(e, null, t ? 2 : void 0) : String(e);
4444
4445
  }
4445
- function Ao({ data: e, pretty: t }) {
4446
- const a = de(), n = Io(e, t);
4447
- return t && Ne(e) ? /* @__PURE__ */ r(Lt, { darkMode: a.darkMode, code: n, language: "json" }) : /* @__PURE__ */ r(M, { children: n });
4446
+ function Ro({ data: e, pretty: t }) {
4447
+ const a = de(), n = Ao(e, t);
4448
+ return t && Ne(e) ? /* @__PURE__ */ r(Dt, { darkMode: a.darkMode, code: n, language: "json" }) : /* @__PURE__ */ r(M, { children: n });
4448
4449
  }
4449
4450
  async function Lr(e, t) {
4450
4451
  const a = await fetch(e, t), n = await a.json();
4451
4452
  return a.status === 200 ? Promise.resolve(n) : Promise.reject({ status: a.status, body: n });
4452
4453
  }
4453
- async function Ro(e, t, a, n, o) {
4454
+ async function To(e, t, a, n, o) {
4454
4455
  const l = {
4455
4456
  app_id: t,
4456
4457
  path: n || a.name,
@@ -4463,7 +4464,7 @@ async function Ro(e, t, a, n, o) {
4463
4464
  body: a
4464
4465
  });
4465
4466
  }
4466
- async function To(e, t, a, n) {
4467
+ async function Oo(e, t, a, n) {
4467
4468
  const { data: o } = await Lr(
4468
4469
  `${n}/dash/apps/${t}/storage/files/delete`,
4469
4470
  {
@@ -4477,7 +4478,7 @@ async function To(e, t, a, n) {
4477
4478
  );
4478
4479
  return o;
4479
4480
  }
4480
- function Oo(e, t) {
4481
+ function _o(e, t) {
4481
4482
  const a = (n) => {
4482
4483
  e.current && n.target instanceof HTMLElement && !e.current.contains(n.target) && t();
4483
4484
  };
@@ -4485,14 +4486,14 @@ function Oo(e, t) {
4485
4486
  document.removeEventListener("click", a);
4486
4487
  }));
4487
4488
  }
4488
- const _o = ({
4489
+ const Do = ({
4489
4490
  namespaces: e,
4490
4491
  db: t
4491
4492
  }) => {
4492
- const a = de(), n = st(), o = st(), l = e.find(
4493
+ const a = de(), n = it(), o = it(), l = e.find(
4493
4494
  (f) => f.id === a.explorerState?.namespace
4494
4495
  ), [i, g] = C(!1), c = X(null);
4495
- Oo(c, () => {
4496
+ _o(c, () => {
4496
4497
  g(!1);
4497
4498
  }), H(() => {
4498
4499
  !l && e.length > 0 && a.setExplorerState({ namespace: e[0].id });
@@ -4506,9 +4507,9 @@ const _o = ({
4506
4507
  a.className
4507
4508
  ),
4508
4509
  children: [
4509
- /* @__PURE__ */ r(fe, { title: "Recently Deleted Namespaces", ...n, children: /* @__PURE__ */ r(En, { appId: a.appId, db: t }) }),
4510
+ /* @__PURE__ */ r(fe, { title: "Recently Deleted Namespaces", ...n, children: /* @__PURE__ */ r(Cn, { appId: a.appId, db: t }) }),
4510
4511
  /* @__PURE__ */ r(fe, { title: "New Namespace", ...o, children: /* @__PURE__ */ r(
4511
- Rn,
4512
+ Tn,
4512
4513
  {
4513
4514
  db: t,
4514
4515
  onClose: (f) => {
@@ -4529,7 +4530,7 @@ const _o = ({
4529
4530
  children: [
4530
4531
  /* @__PURE__ */ h("div", { className: "flex items-center gap-1 text-sm font-semibold dark:text-white", children: [
4531
4532
  /* @__PURE__ */ r(
4532
- Ua,
4533
+ Ya,
4533
4534
  {
4534
4535
  height: "1rem",
4535
4536
  className: "cursor-pointer md:hidden dark:text-white",
@@ -4561,7 +4562,7 @@ const _o = ({
4561
4562
  className: "justify-center",
4562
4563
  onClick: o.onOpen,
4563
4564
  children: [
4564
- /* @__PURE__ */ r(fr, { height: "1rem" }),
4565
+ /* @__PURE__ */ r(mr, { height: "1rem" }),
4565
4566
  " Create"
4566
4567
  ]
4567
4568
  }
@@ -4596,20 +4597,20 @@ const _o = ({
4596
4597
  onClick: (f) => {
4597
4598
  f.stopPropagation(), g(!0);
4598
4599
  },
4599
- children: /* @__PURE__ */ r(Pa, { height: "1rem", className: "dark:text-white" })
4600
+ children: /* @__PURE__ */ r(Ka, { height: "1rem", className: "dark:text-white" })
4600
4601
  }
4601
4602
  ) }),
4602
- a.explorerState && /* @__PURE__ */ r(Co, { namespaces: e, db: t })
4603
+ a.explorerState && /* @__PURE__ */ r(Io, { namespaces: e, db: t })
4603
4604
  ]
4604
4605
  }
4605
4606
  );
4606
- }, Do = ({
4607
+ }, Lo = ({
4607
4608
  appId: e,
4608
4609
  apiURI: t,
4609
4610
  websocketURI: a,
4610
4611
  adminToken: n
4611
- }) => le(
4612
- () => Wa({
4612
+ }) => se(
4613
+ () => nn({
4613
4614
  appId: e,
4614
4615
  apiURI: t,
4615
4616
  websocketURI: a,
@@ -4619,7 +4620,7 @@ const _o = ({
4619
4620
  }),
4620
4621
  [e, t, a, n]
4621
4622
  );
4622
- class Lo extends lr {
4623
+ class Fo extends dr {
4623
4624
  state = {
4624
4625
  hasError: !1,
4625
4626
  error: null
@@ -4636,7 +4637,7 @@ class Lo extends lr {
4636
4637
  render() {
4637
4638
  return this.state.hasError ? /* @__PURE__ */ h("div", { className: "flex h-full w-full flex-1 flex-col items-center justify-center gap-4 bg-white p-6 dark:bg-neutral-800", children: [
4638
4639
  /* @__PURE__ */ h("div", { className: "flex flex-col items-center gap-3 text-center", children: [
4639
- /* @__PURE__ */ r("div", { className: "flex h-12 w-12 items-center justify-center rounded-full bg-red-100 dark:bg-red-900/30", children: /* @__PURE__ */ r(Ia, { className: "h-6 w-6 text-red-600 dark:text-red-400" }) }),
4640
+ /* @__PURE__ */ r("div", { className: "flex h-12 w-12 items-center justify-center rounded-full bg-red-100 dark:bg-red-900/30", children: /* @__PURE__ */ r(Na, { className: "h-6 w-6 text-red-600 dark:text-red-400" }) }),
4640
4641
  /* @__PURE__ */ h("div", { className: "flex flex-col gap-1", children: [
4641
4642
  /* @__PURE__ */ r("h2", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: "Something went wrong" }),
4642
4643
  /* @__PURE__ */ r("p", { className: "max-w-md text-sm text-gray-500 dark:text-neutral-400", children: "An unexpected error occurred. Please try again or contact support if the problem persists." })
@@ -4657,28 +4658,28 @@ class Lo extends lr {
4657
4658
  ] }) : this.props.children;
4658
4659
  }
4659
4660
  }
4660
- const Rt = sr({ props: null, history: { push: () => {
4661
+ const At = cr({ props: null, history: { push: () => {
4661
4662
  }, pop: () => {
4662
4663
  }, items: [] } }), de = () => {
4663
- const e = dt(Rt);
4664
+ const e = lt(At);
4664
4665
  if (!e.props)
4665
4666
  throw new Error(
4666
4667
  "useExplorerProps must be used within an Explorer component"
4667
4668
  );
4668
4669
  return e.props;
4669
- }, ut = () => {
4670
- const e = dt(Rt);
4670
+ }, dt = () => {
4671
+ const e = lt(At);
4671
4672
  if (!e.props || !e.props.explorerState)
4672
4673
  throw new Error(
4673
4674
  "useExplorerProps must be used within an Explorer component"
4674
4675
  );
4675
4676
  return { explorerState: e.props.explorerState, history: e.history };
4676
- }, Fr = (e) => e.explorerState !== void 0 || e.setExplorerState !== void 0, Fo = (e, t, a) => {
4677
+ }, Fr = (e) => e.explorerState !== void 0 || e.setExplorerState !== void 0, $o = (e, t, a) => {
4677
4678
  const n = Fr(e);
4678
4679
  return {
4679
4680
  ...e,
4680
- apiURI: e.apiURI || Yt.apiURI,
4681
- websocketURI: e.websocketURI || Yt.websocketURI,
4681
+ apiURI: e.apiURI || Vt.apiURI,
4682
+ websocketURI: e.websocketURI || Vt.websocketURI,
4682
4683
  darkMode: e.darkMode === void 0 ? !1 : e.darkMode,
4683
4684
  // In controlled mode, use the provided state (even if null)
4684
4685
  // In uncontrolled mode, use the internal state
@@ -4686,10 +4687,10 @@ const Rt = sr({ props: null, history: { push: () => {
4686
4687
  setExplorerState: e.setExplorerState || a,
4687
4688
  useShadowDOM: e.useShadowDOM === void 0 ? !0 : e.useShadowDOM
4688
4689
  };
4689
- }, Wi = (e) => {
4690
+ }, Vi = (e) => {
4690
4691
  const [t, a] = C(
4691
4692
  null
4692
- ), n = Fo(
4693
+ ), n = $o(
4693
4694
  e,
4694
4695
  t,
4695
4696
  a
@@ -4698,12 +4699,12 @@ const Rt = sr({ props: null, history: { push: () => {
4698
4699
  throw new Error("adminToken is required for explorer");
4699
4700
  if (!n.appId)
4700
4701
  throw new Error("appId is required for explorer");
4701
- const { explorerState: o, setExplorerState: l } = n, [i, g] = C([]), c = ot(
4702
+ const { explorerState: o, setExplorerState: l } = n, [i, g] = C([]), c = at(
4702
4703
  (w, v = !1) => {
4703
4704
  g((k) => !v && o ? [...k, o] : k), l(w);
4704
4705
  },
4705
4706
  [o, l]
4706
- ), p = ot(() => {
4707
+ ), p = at(() => {
4707
4708
  g((w) => {
4708
4709
  if (w.length > 0) {
4709
4710
  const [v, ...k] = w;
@@ -4711,7 +4712,7 @@ const Rt = sr({ props: null, history: { push: () => {
4711
4712
  }
4712
4713
  return w;
4713
4714
  });
4714
- }, [l]), f = Do({
4715
+ }, [l]), f = Lo({
4715
4716
  appId: n.appId,
4716
4717
  apiURI: n.apiURI,
4717
4718
  websocketURI: n.websocketURI,
@@ -4724,7 +4725,7 @@ const Rt = sr({ props: null, history: { push: () => {
4724
4725
  }
4725
4726
  u.current !== n.appId && (u.current = n.appId, g([]), Fr(e) || a(null));
4726
4727
  }, [n.appId, e]);
4727
- const s = Mn(f), m = le(
4728
+ const s = Bn(f), m = se(
4728
4729
  () => ({
4729
4730
  props: n,
4730
4731
  history: {
@@ -4734,20 +4735,20 @@ const Rt = sr({ props: null, history: { push: () => {
4734
4735
  }
4735
4736
  }),
4736
4737
  [n, c, p, i]
4737
- ), b = n.useShadowDOM ? $o : He.Fragment;
4738
- return /* @__PURE__ */ r(Rt.Provider, { value: m, children: /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(Lo, { children: /* @__PURE__ */ r(_o, { db: f, namespaces: s.namespaces || [] }) }) }) });
4739
- }, Tt = sr({
4738
+ ), b = n.useShadowDOM ? zo : sr.Fragment;
4739
+ return /* @__PURE__ */ r(At.Provider, { value: m, children: /* @__PURE__ */ r(b, { children: /* @__PURE__ */ r(Fo, { children: /* @__PURE__ */ r(Do, { db: f, namespaces: s.namespaces || [] }) }) }) });
4740
+ }, Rt = cr({
4740
4741
  shadowRoot: null,
4741
4742
  container: null,
4742
4743
  darkMode: !1
4743
4744
  });
4744
- function Xe() {
4745
- return dt(Tt).container;
4745
+ function ct() {
4746
+ return lt(Rt).container;
4746
4747
  }
4747
- function pt() {
4748
- return dt(Tt).darkMode;
4748
+ function ut() {
4749
+ return lt(Rt).darkMode;
4749
4750
  }
4750
- const $o = ({ children: e }) => {
4751
+ const zo = ({ children: e }) => {
4751
4752
  const t = X(null), a = X(null), [n, o] = C(null), i = de().darkMode;
4752
4753
  H(() => {
4753
4754
  if (t.current && !n)
@@ -4755,7 +4756,7 @@ const $o = ({ children: e }) => {
4755
4756
  const c = t.current.attachShadow({ mode: "open" });
4756
4757
  a.current = c;
4757
4758
  const p = document.createElement("style");
4758
- p.textContent = xn;
4759
+ p.textContent = Sn;
4759
4760
  const f = document.createElement("div");
4760
4761
  f.setAttribute("class", i ? "h-full dark" : "h-full"), c.appendChild(p), c.appendChild(f), o(f);
4761
4762
  } catch {
@@ -4763,7 +4764,7 @@ const $o = ({ children: e }) => {
4763
4764
  }, [n]), H(() => {
4764
4765
  n && n.setAttribute("class", i ? "h-full dark" : "h-full");
4765
4766
  }, [i, n]);
4766
- const g = He.useMemo(
4767
+ const g = sr.useMemo(
4767
4768
  () => ({
4768
4769
  shadowRoot: a.current,
4769
4770
  container: n,
@@ -4771,18 +4772,18 @@ const $o = ({ children: e }) => {
4771
4772
  }),
4772
4773
  [n, i]
4773
4774
  );
4774
- return /* @__PURE__ */ r("div", { ref: t, style: { height: "100%" }, className: O("h-full"), children: /* @__PURE__ */ r(Tt.Provider, { value: g, children: n ? Oa(e, n) : null }) });
4775
+ return /* @__PURE__ */ r("div", { ref: t, style: { height: "100%" }, className: O("h-full"), children: /* @__PURE__ */ r(Rt.Provider, { value: g, children: n ? Oa(e, n) : null }) });
4775
4776
  };
4776
- function zo({
4777
+ function jo({
4777
4778
  ...e
4778
4779
  }) {
4779
- return /* @__PURE__ */ r(se.Root, { "data-slot": "select", ...e });
4780
+ return /* @__PURE__ */ r(le.Root, { "data-slot": "select", ...e });
4780
4781
  }
4781
- function jo({
4782
+ function Mo({
4782
4783
  ...e
4783
4784
  }) {
4784
4785
  return /* @__PURE__ */ r(
4785
- se.Value,
4786
+ le.Value,
4786
4787
  {
4787
4788
  className: "content-[hi]",
4788
4789
  "data-slot": "select-value",
@@ -4790,14 +4791,14 @@ function jo({
4790
4791
  }
4791
4792
  );
4792
4793
  }
4793
- function Mo({
4794
+ function Bo({
4794
4795
  className: e,
4795
4796
  size: t = "default",
4796
4797
  children: a,
4797
4798
  ...n
4798
4799
  }) {
4799
4800
  return /* @__PURE__ */ h(
4800
- se.Trigger,
4801
+ le.Trigger,
4801
4802
  {
4802
4803
  "data-slot": "select-trigger",
4803
4804
  "data-size": t,
@@ -4808,20 +4809,20 @@ function Mo({
4808
4809
  ...n,
4809
4810
  children: [
4810
4811
  a,
4811
- /* @__PURE__ */ r(se.Icon, { asChild: !0, children: /* @__PURE__ */ r(Et, { width: 14 }) })
4812
+ /* @__PURE__ */ r(le.Icon, { asChild: !0, children: /* @__PURE__ */ r(Nt, { width: 14 }) })
4812
4813
  ]
4813
4814
  }
4814
4815
  );
4815
4816
  }
4816
- function Bo({
4817
+ function Uo({
4817
4818
  className: e,
4818
4819
  children: t,
4819
4820
  position: a = "popper",
4820
4821
  ...n
4821
4822
  }) {
4822
- const o = Xe(), l = pt();
4823
- return /* @__PURE__ */ r(se.Portal, { container: o, children: /* @__PURE__ */ h(
4824
- se.Content,
4823
+ const o = ct(), l = ut();
4824
+ return /* @__PURE__ */ r(le.Portal, { container: o, children: /* @__PURE__ */ h(
4825
+ le.Content,
4825
4826
  {
4826
4827
  "data-slot": "select-content",
4827
4828
  className: O(
@@ -4833,9 +4834,9 @@ function Bo({
4833
4834
  position: a,
4834
4835
  ...n,
4835
4836
  children: [
4836
- /* @__PURE__ */ r(Po, {}),
4837
+ /* @__PURE__ */ r(qo, {}),
4837
4838
  /* @__PURE__ */ r(
4838
- se.Viewport,
4839
+ le.Viewport,
4839
4840
  {
4840
4841
  className: O(
4841
4842
  "p-1",
@@ -4844,18 +4845,18 @@ function Bo({
4844
4845
  children: t
4845
4846
  }
4846
4847
  ),
4847
- /* @__PURE__ */ r(qo, {})
4848
+ /* @__PURE__ */ r(Go, {})
4848
4849
  ]
4849
4850
  }
4850
4851
  ) });
4851
4852
  }
4852
- function Uo({
4853
+ function Po({
4853
4854
  className: e,
4854
4855
  children: t,
4855
4856
  ...a
4856
4857
  }) {
4857
4858
  return /* @__PURE__ */ h(
4858
- se.Item,
4859
+ le.Item,
4859
4860
  {
4860
4861
  "data-slot": "select-item",
4861
4862
  className: O(
@@ -4864,18 +4865,18 @@ function Uo({
4864
4865
  ),
4865
4866
  ...a,
4866
4867
  children: [
4867
- /* @__PURE__ */ r("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ r(se.ItemIndicator, { children: /* @__PURE__ */ r(Aa, { width: 12, className: "size-4" }) }) }),
4868
- /* @__PURE__ */ r(se.ItemText, { children: t })
4868
+ /* @__PURE__ */ r("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ r(le.ItemIndicator, { children: /* @__PURE__ */ r(Ea, { width: 12, className: "size-4" }) }) }),
4869
+ /* @__PURE__ */ r(le.ItemText, { children: t })
4869
4870
  ]
4870
4871
  }
4871
4872
  );
4872
4873
  }
4873
- function Po({
4874
+ function qo({
4874
4875
  className: e,
4875
4876
  ...t
4876
4877
  }) {
4877
4878
  return /* @__PURE__ */ r(
4878
- se.ScrollUpButton,
4879
+ le.ScrollUpButton,
4879
4880
  {
4880
4881
  "data-slot": "select-scroll-up-button",
4881
4882
  className: O(
@@ -4883,16 +4884,16 @@ function Po({
4883
4884
  e
4884
4885
  ),
4885
4886
  ...t,
4886
- children: /* @__PURE__ */ r(Ra, { className: "size-4" })
4887
+ children: /* @__PURE__ */ r(Ca, { className: "size-4" })
4887
4888
  }
4888
4889
  );
4889
4890
  }
4890
- function qo({
4891
+ function Go({
4891
4892
  className: e,
4892
4893
  ...t
4893
4894
  }) {
4894
4895
  return /* @__PURE__ */ r(
4895
- se.ScrollDownButton,
4896
+ le.ScrollDownButton,
4896
4897
  {
4897
4898
  "data-slot": "select-scroll-down-button",
4898
4899
  className: O(
@@ -4900,7 +4901,7 @@ function qo({
4900
4901
  e
4901
4902
  ),
4902
4903
  ...t,
4903
- children: /* @__PURE__ */ r(Et, { className: "size-4" })
4904
+ children: /* @__PURE__ */ r(Nt, { className: "size-4" })
4904
4905
  }
4905
4906
  );
4906
4907
  }
@@ -4912,7 +4913,7 @@ function qo({
4912
4913
  * @namespace
4913
4914
  * @public
4914
4915
  */
4915
- var St = function() {
4916
+ var xt = function() {
4916
4917
  var e = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, t = 0, a = {}, n = {
4917
4918
  /**
4918
4919
  * A namespace for utility methods.
@@ -5408,8 +5409,8 @@ var St = function() {
5408
5409
  return u;
5409
5410
  }
5410
5411
  return n;
5411
- }(), y = St;
5412
- St.default = St;
5412
+ }(), y = xt;
5413
+ xt.default = xt;
5413
5414
  y.languages.markup = {
5414
5415
  comment: {
5415
5416
  pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
@@ -7876,7 +7877,7 @@ y.languages.wasm = {
7876
7877
  number: /[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,
7877
7878
  punctuation: /[()]/
7878
7879
  };
7879
- var Go = {
7880
+ var Ho = {
7880
7881
  plain: {
7881
7882
  backgroundColor: "#2a2734",
7882
7883
  color: "#9a86fd"
@@ -7942,12 +7943,12 @@ var Go = {
7942
7943
  color: "#c4b9fe"
7943
7944
  }
7944
7945
  }]
7945
- }, Ho = {
7946
+ }, Wo = {
7946
7947
  // $FlowFixMe
7947
7948
  Prism: y,
7948
- theme: Go
7949
+ theme: Ho
7949
7950
  };
7950
- function Ue(e, t, a) {
7951
+ function Be(e, t, a) {
7951
7952
  return t in e ? Object.defineProperty(e, t, {
7952
7953
  value: a,
7953
7954
  enumerable: !0,
@@ -7965,7 +7966,7 @@ function he() {
7965
7966
  return e;
7966
7967
  }, he.apply(this, arguments);
7967
7968
  }
7968
- var Wo = /\r\n|\r|\n/, nr = function(e) {
7969
+ var Vo = /\r\n|\r|\n/, ar = function(e) {
7969
7970
  e.length === 0 ? e.push({
7970
7971
  types: ["plain"],
7971
7972
  content: `
@@ -7973,32 +7974,32 @@ var Wo = /\r\n|\r|\n/, nr = function(e) {
7973
7974
  empty: !0
7974
7975
  }) : e.length === 1 && e[0].content === "" && (e[0].content = `
7975
7976
  `, e[0].empty = !0);
7976
- }, or = function(e, t) {
7977
+ }, nr = function(e, t) {
7977
7978
  var a = e.length;
7978
7979
  return a > 0 && e[a - 1] === t ? e : e.concat(t);
7979
- }, Vo = function(e) {
7980
+ }, Yo = function(e) {
7980
7981
  for (var t = [[]], a = [e], n = [0], o = [e.length], l = 0, i = 0, g = [], c = [g]; i > -1; ) {
7981
7982
  for (; (l = n[i]++) < o[i]; ) {
7982
7983
  var p = void 0, f = t[i], d = a[i], u = d[l];
7983
- if (typeof u == "string" ? (f = i > 0 ? f : ["plain"], p = u) : (f = or(f, u.type), u.alias && (f = or(f, u.alias)), p = u.content), typeof p != "string") {
7984
+ if (typeof u == "string" ? (f = i > 0 ? f : ["plain"], p = u) : (f = nr(f, u.type), u.alias && (f = nr(f, u.alias)), p = u.content), typeof p != "string") {
7984
7985
  i++, t.push(f), a.push(p), n.push(0), o.push(p.length);
7985
7986
  continue;
7986
7987
  }
7987
- var s = p.split(Wo), m = s.length;
7988
+ var s = p.split(Vo), m = s.length;
7988
7989
  g.push({
7989
7990
  types: f,
7990
7991
  content: s[0]
7991
7992
  });
7992
7993
  for (var b = 1; b < m; b++)
7993
- nr(g), c.push(g = []), g.push({
7994
+ ar(g), c.push(g = []), g.push({
7994
7995
  types: f,
7995
7996
  content: s[b]
7996
7997
  });
7997
7998
  }
7998
7999
  i--, t.pop(), a.pop(), n.pop(), o.pop();
7999
8000
  }
8000
- return nr(g), c;
8001
- }, Yo = function(e, t) {
8001
+ return ar(g), c;
8002
+ }, Ko = function(e, t) {
8002
8003
  var a = e.plain, n = /* @__PURE__ */ Object.create(null), o = e.styles.reduce(function(l, i) {
8003
8004
  var g = i.languages, c = i.style;
8004
8005
  return g && !g.includes(t) || i.types.forEach(function(p) {
@@ -8010,28 +8011,28 @@ var Wo = /\r\n|\r|\n/, nr = function(e) {
8010
8011
  backgroundColor: null
8011
8012
  }), o;
8012
8013
  };
8013
- function ir(e, t) {
8014
+ function or(e, t) {
8014
8015
  var a = {};
8015
8016
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) === -1 && (a[n] = e[n]);
8016
8017
  return a;
8017
8018
  }
8018
- var Ko = /* @__PURE__ */ function(e) {
8019
+ var Xo = /* @__PURE__ */ function(e) {
8019
8020
  function t() {
8020
8021
  for (var a = this, n = [], o = arguments.length; o--; ) n[o] = arguments[o];
8021
- e.apply(this, n), Ue(this, "getThemeDict", function(l) {
8022
+ e.apply(this, n), Be(this, "getThemeDict", function(l) {
8022
8023
  if (a.themeDict !== void 0 && l.theme === a.prevTheme && l.language === a.prevLanguage)
8023
8024
  return a.themeDict;
8024
8025
  a.prevTheme = l.theme, a.prevLanguage = l.language;
8025
- var i = l.theme ? Yo(l.theme, l.language) : void 0;
8026
+ var i = l.theme ? Ko(l.theme, l.language) : void 0;
8026
8027
  return a.themeDict = i;
8027
- }), Ue(this, "getLineProps", function(l) {
8028
- var i = l.key, g = l.className, c = l.style, p = ir(l, ["key", "className", "style", "line"]), f = p, d = he({}, f, {
8028
+ }), Be(this, "getLineProps", function(l) {
8029
+ var i = l.key, g = l.className, c = l.style, p = or(l, ["key", "className", "style", "line"]), f = p, d = he({}, f, {
8029
8030
  className: "token-line",
8030
8031
  style: void 0,
8031
8032
  key: void 0
8032
8033
  }), u = a.getThemeDict(a.props);
8033
8034
  return u !== void 0 && (d.style = u.plain), c !== void 0 && (d.style = d.style !== void 0 ? he({}, d.style, c) : c), i !== void 0 && (d.key = i), g && (d.className += " " + g), d;
8034
- }), Ue(this, "getStyleForToken", function(l) {
8035
+ }), Be(this, "getStyleForToken", function(l) {
8035
8036
  var i = l.types, g = l.empty, c = i.length, p = a.getThemeDict(a.props);
8036
8037
  if (p !== void 0) {
8037
8038
  {
@@ -8049,15 +8050,15 @@ var Ko = /* @__PURE__ */ function(e) {
8049
8050
  });
8050
8051
  return Object.assign.apply(Object, [f].concat(d));
8051
8052
  }
8052
- }), Ue(this, "getTokenProps", function(l) {
8053
- var i = l.key, g = l.className, c = l.style, p = l.token, f = ir(l, ["key", "className", "style", "token"]), d = f, u = he({}, d, {
8053
+ }), Be(this, "getTokenProps", function(l) {
8054
+ var i = l.key, g = l.className, c = l.style, p = l.token, f = or(l, ["key", "className", "style", "token"]), d = f, u = he({}, d, {
8054
8055
  className: "token " + p.types.join(" "),
8055
8056
  children: p.content,
8056
8057
  style: a.getStyleForToken(p),
8057
8058
  key: void 0
8058
8059
  });
8059
8060
  return c !== void 0 && (u.style = u.style !== void 0 ? he({}, u.style, c) : c), i !== void 0 && (u.key = i), g && (u.className += " " + g), u;
8060
- }), Ue(this, "tokenize", function(l, i, g, c) {
8061
+ }), Be(this, "tokenize", function(l, i, g, c) {
8061
8062
  var p = {
8062
8063
  code: i,
8063
8064
  grammar: g,
@@ -8070,7 +8071,7 @@ var Ko = /* @__PURE__ */ function(e) {
8070
8071
  });
8071
8072
  }
8072
8073
  return e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t, t.prototype.render = function() {
8073
- var n = this.props, o = n.Prism, l = n.language, i = n.code, g = n.children, c = this.getThemeDict(this.props), p = o.languages[l], f = p !== void 0 ? this.tokenize(o, i, p, l) : [i], d = Vo(f);
8074
+ var n = this.props, o = n.Prism, l = n.language, i = n.code, g = n.children, c = this.getThemeDict(this.props), p = o.languages[l], f = p !== void 0 ? this.tokenize(o, i, p, l) : [i], d = Yo(f);
8074
8075
  return g({
8075
8076
  tokens: d,
8076
8077
  className: "prism-code language-" + l,
@@ -8079,18 +8080,18 @@ var Ko = /* @__PURE__ */ function(e) {
8079
8080
  getTokenProps: this.getTokenProps
8080
8081
  });
8081
8082
  }, t;
8082
- }(lr);
8083
- const Xo = (e) => Zo(
8084
- () => kn.parse(e, (a, n) => n === !0 ? "true" : n === !1 ? "false" : n)
8085
- ), Zo = (e) => {
8083
+ }(dr);
8084
+ const Zo = (e) => Qo(
8085
+ () => Ba.parse(e, (a, n) => n === !0 ? "true" : n === !1 ? "false" : n)
8086
+ ), Qo = (e) => {
8086
8087
  try {
8087
8088
  return { status: "ok", value: e() };
8088
8089
  } catch (t) {
8089
8090
  return { status: "error", error: t };
8090
8091
  }
8091
8092
  };
8092
- function Qo(e, t, a) {
8093
- const n = dr();
8093
+ function Jo(e, t, a) {
8094
+ const n = ur();
8094
8095
  H(() => {
8095
8096
  if (!t || !a) return;
8096
8097
  const o = `http://myserver/myJsonTypeSchema-${n}`, l = t.languages.json.jsonDefaults.diagnosticsOptions, i = l.schemas || [];
@@ -8113,7 +8114,7 @@ function Qo(e, t, a) {
8113
8114
  };
8114
8115
  }, [t, e, a, n]);
8115
8116
  }
8116
- const Jo = {
8117
+ const ei = {
8117
8118
  plain: {
8118
8119
  backgroundColor: "#fff",
8119
8120
  color: "#575279"
@@ -8156,10 +8157,10 @@ const Jo = {
8156
8157
  style: { color: "#b4637a" }
8157
8158
  }
8158
8159
  ]
8159
- }, ei = ue("div", "flex flex-col gap-2"), ti = ue("div", "flex flex-col gap-2 md:flex-row"), gt = ue("div", "prose dark:text-neutral-400"), ri = ue("div", "text-2xl font-bold"), ai = ue("div", "text-xl font-bold"), ni = ue("div", "text-lg"), oi = ue("div", "text-md font-bold"), ii = ue("div", "text-sm text-gray-400"), Re = ue(
8160
+ }, ti = ue("div", "flex flex-col gap-2"), ri = ue("div", "flex flex-col gap-2 md:flex-row"), pt = ue("div", "prose dark:text-neutral-400"), ai = ue("div", "text-2xl font-bold"), ni = ue("div", "text-xl font-bold"), oi = ue("div", "text-lg"), ii = ue("div", "text-md font-bold"), li = ue("div", "text-sm text-gray-400"), Re = ue(
8160
8161
  "div",
8161
8162
  "text-sm font-bold dark:text-neutral-400 text-gray-700"
8162
- ), li = ({ size: e = "mini" }) => /* @__PURE__ */ r("img", { src: "/img/icon/logo-512.svg", className: {
8163
+ ), si = ({ size: e = "mini" }) => /* @__PURE__ */ r("img", { src: "/img/icon/logo-512.svg", className: {
8163
8164
  mini: "h-4 w-4",
8164
8165
  normal: "h-6 w-6"
8165
8166
  }[e] });
@@ -8197,7 +8198,7 @@ function zr({
8197
8198
  ariaLabel: n
8198
8199
  }) {
8199
8200
  return /* @__PURE__ */ r(
8200
- Wt.Root,
8201
+ qt.Root,
8201
8202
  {
8202
8203
  value: a,
8203
8204
  onValueChange: (o) => {
@@ -8210,7 +8211,7 @@ function zr({
8210
8211
  defaultValue: "center",
8211
8212
  "aria-label": n,
8212
8213
  children: e.map((o) => /* @__PURE__ */ r(
8213
- Wt.Item,
8214
+ qt.Item,
8214
8215
  {
8215
8216
  className: O(
8216
8217
  "flex-1 rounded-sm p-0.5",
@@ -8278,7 +8279,7 @@ function Ee({
8278
8279
  g ? /* @__PURE__ */ r("div", { className: "text-sm text-red-600", children: g }) : null
8279
8280
  ] });
8280
8281
  }
8281
- function si({
8282
+ function di({
8282
8283
  value: e,
8283
8284
  autoFocus: t,
8284
8285
  className: a,
@@ -8386,7 +8387,7 @@ function we({
8386
8387
  visibleValue: f
8387
8388
  }) {
8388
8389
  return /* @__PURE__ */ h(
8389
- zo,
8390
+ jo,
8390
8391
  {
8391
8392
  disabled: o,
8392
8393
  onValueChange: (d) => {
@@ -8395,10 +8396,10 @@ function we({
8395
8396
  },
8396
8397
  value: e?.toString(),
8397
8398
  children: [
8398
- /* @__PURE__ */ r(Mo, { className: a, title: g, tabIndex: i, children: /* @__PURE__ */ r(jo, { placeholder: l, children: f }) }),
8399
- /* @__PURE__ */ h(Bo, { className: p, children: [
8399
+ /* @__PURE__ */ r(Bo, { className: a, title: g, tabIndex: i, children: /* @__PURE__ */ r(Mo, { placeholder: l, children: f }) }),
8400
+ /* @__PURE__ */ h(Uo, { className: p, children: [
8400
8401
  t.map((d) => /* @__PURE__ */ r(
8401
- Uo,
8402
+ Po,
8402
8403
  {
8403
8404
  value: d.value?.toString(),
8404
8405
  children: d.label
@@ -8488,7 +8489,7 @@ function V({
8488
8489
  }
8489
8490
  );
8490
8491
  }
8491
- const ht = ({
8492
+ const gt = ({
8492
8493
  icon: e,
8493
8494
  label: t,
8494
8495
  onClick: a,
@@ -8496,8 +8497,8 @@ const ht = ({
8496
8497
  labelDirection: o,
8497
8498
  variant: l,
8498
8499
  className: i
8499
- }) => /* @__PURE__ */ h(Ze, { children: [
8500
- /* @__PURE__ */ r(Qe, { asChild: !0, children: /* @__PURE__ */ r(
8500
+ }) => /* @__PURE__ */ h(Ke, { children: [
8501
+ /* @__PURE__ */ r(Xe, { children: /* @__PURE__ */ r(
8501
8502
  "button",
8502
8503
  {
8503
8504
  title: t,
@@ -8514,9 +8515,9 @@ const ht = ({
8514
8515
  children: e
8515
8516
  }
8516
8517
  ) }),
8517
- /* @__PURE__ */ r(Je, { side: o, children: t })
8518
+ /* @__PURE__ */ r(Ze, { side: o, children: t })
8518
8519
  ] });
8519
- function st() {
8520
+ function it() {
8520
8521
  const [e, t] = C(!1);
8521
8522
  return {
8522
8523
  open: e,
@@ -8531,40 +8532,31 @@ function st() {
8531
8532
  }
8532
8533
  };
8533
8534
  }
8534
- function di({
8535
+ function ci({
8535
8536
  ...e
8536
8537
  }) {
8537
- return /* @__PURE__ */ r(Te.Root, { "data-slot": "dialog", ...e });
8538
+ return /* @__PURE__ */ r(Ge.Root, { "data-slot": "dialog", ...e });
8538
8539
  }
8539
8540
  function jr({
8540
8541
  ...e
8541
8542
  }) {
8542
- return /* @__PURE__ */ r(Te.Portal, { "data-slot": "dialog-portal", ...e });
8543
+ return /* @__PURE__ */ r(Ge.Portal, { "data-slot": "dialog-portal", ...e });
8543
8544
  }
8544
- const Mr = He.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r(
8545
- Te.Overlay,
8546
- {
8547
- ref: a,
8548
- "data-slot": "dialog-overlay",
8549
- className: O(
8550
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
8551
- e
8552
- ),
8553
- ...t
8554
- }
8555
- ));
8556
- function ci({ title: e }) {
8557
- const t = Xe(), a = He.useRef(null);
8558
- return He.useEffect(() => {
8559
- if (!t || process.env.NODE_ENV === "production")
8560
- return;
8561
- const n = a.current?.id;
8562
- if (!n) return;
8563
- const o = document.createElement("span");
8564
- return o.id = n, o.style.display = "none", document.body.appendChild(o), () => {
8565
- o.remove();
8566
- };
8567
- }, [t]), /* @__PURE__ */ r(ua, { children: /* @__PURE__ */ r(Te.Title, { ref: a, children: e }) });
8545
+ function Mr({
8546
+ className: e,
8547
+ ...t
8548
+ }) {
8549
+ return /* @__PURE__ */ r(
8550
+ Ge.Overlay,
8551
+ {
8552
+ "data-slot": "dialog-overlay",
8553
+ className: O(
8554
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
8555
+ e
8556
+ ),
8557
+ ...t
8558
+ }
8559
+ );
8568
8560
  }
8569
8561
  function Br({
8570
8562
  className: e,
@@ -8573,11 +8565,10 @@ function Br({
8573
8565
  title: n,
8574
8566
  ...o
8575
8567
  }) {
8576
- const l = Xe(), i = pt();
8568
+ const l = ct(), i = ut();
8577
8569
  return /* @__PURE__ */ r(jr, { container: l, "data-slot": "dialog-portal", children: /* @__PURE__ */ r(Mr, { className: O(i ? "dark" : "", "overflow-y-auto"), children: /* @__PURE__ */ h(
8578
- Te.Content,
8570
+ Ge.Content,
8579
8571
  {
8580
- "aria-label": n,
8581
8572
  "data-slot": "dialog-content",
8582
8573
  className: O(
8583
8574
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 relative top-[50%] left-[50%] z-50 grid max-h-[calc(100%-2rem)] w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 overflow-y-auto rounded-lg border border-gray-200 bg-white p-6 shadow-lg duration-200 sm:max-w-lg dark:border-neutral-700 dark:bg-neutral-800 dark:text-white",
@@ -8586,15 +8577,15 @@ function Br({
8586
8577
  ),
8587
8578
  ...o,
8588
8579
  children: [
8589
- /* @__PURE__ */ r(ci, { title: n }),
8580
+ /* @__PURE__ */ r(ua, { children: /* @__PURE__ */ r(_a, { children: n }) }),
8590
8581
  t,
8591
8582
  a && /* @__PURE__ */ h(
8592
- Te.Close,
8583
+ Ge.Close,
8593
8584
  {
8594
8585
  "data-slot": "dialog-close",
8595
8586
  className: "absolute top-4 right-4 rounded-xs opacity-70 transition-opacity duration-100 hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
8596
8587
  children: [
8597
- /* @__PURE__ */ r(hn, {}),
8588
+ /* @__PURE__ */ r(Ma, {}),
8598
8589
  /* @__PURE__ */ r("span", { className: "sr-only", children: "Close" })
8599
8590
  ]
8600
8591
  }
@@ -8613,7 +8604,7 @@ function fe({
8613
8604
  hideCloseButton: i = !1
8614
8605
  }) {
8615
8606
  return /* @__PURE__ */ r(
8616
- di,
8607
+ ci,
8617
8608
  {
8618
8609
  onOpenChange: (g) => {
8619
8610
  g || a();
@@ -8631,7 +8622,7 @@ function fe({
8631
8622
  className: `w-full max-w-xl overflow-y-auto rounded border-solid bg-white p-3 text-sm shadow dark:bg-neutral-800 dark:text-white ${n}`,
8632
8623
  children: [
8633
8624
  !i && /* @__PURE__ */ r(
8634
- qa,
8625
+ Xa,
8635
8626
  {
8636
8627
  className: "absolute top-[18px] right-3 h-4 w-4 cursor-pointer",
8637
8628
  onClick: a
@@ -8697,7 +8688,7 @@ function ve({
8697
8688
  }
8698
8689
  );
8699
8690
  }
8700
- function Ot(e) {
8691
+ function Tt(e) {
8701
8692
  return e.length === 36 && e.indexOf("-") === 8 ? e.replaceAll(/[^-]/g, "*") : e.replaceAll(/./g, "*");
8702
8693
  }
8703
8694
  function pi({
@@ -8732,11 +8723,11 @@ function pi({
8732
8723
  ]
8733
8724
  }
8734
8725
  ) : null,
8735
- /* @__PURE__ */ h(Ze, { open: f, children: [
8736
- /* @__PURE__ */ r(Qe, { asChild: !0, children: /* @__PURE__ */ r(
8726
+ /* @__PURE__ */ h(Ke, { open: f, children: [
8727
+ /* @__PURE__ */ r(Xe, { asChild: !0, children: /* @__PURE__ */ r(
8737
8728
  "pre",
8738
8729
  {
8739
- className: _e("flex-1 cursor-pointer px-2 py-1.5 select-text", {
8730
+ className: Oe("flex-1 cursor-pointer px-2 py-1.5 select-text", {
8740
8731
  truncate: !i,
8741
8732
  "break-all whitespace-pre-wrap": i
8742
8733
  }),
@@ -8745,10 +8736,10 @@ function pi({
8745
8736
  const s = window.getSelection();
8746
8737
  (!s || s.toString().length === 0) && (window.navigator.clipboard.writeText(e), d(!0), setTimeout(() => d(!1), 1e3));
8747
8738
  },
8748
- children: o || g ? Ot(e) : e
8739
+ children: o || g ? Tt(e) : e
8749
8740
  }
8750
8741
  ) }),
8751
- /* @__PURE__ */ r(Je, { side: "bottom", children: "Copied!" })
8742
+ /* @__PURE__ */ r(Ze, { side: "bottom", children: "Copied!" })
8752
8743
  ] }),
8753
8744
  /* @__PURE__ */ r("div", { className: "", children: !!p && /* @__PURE__ */ r(
8754
8745
  "button",
@@ -8758,7 +8749,7 @@ function pi({
8758
8749
  "flex items-center gap-x-1 rounded-sm px-2 py-1 opacity-50 transition-colors hover:bg-gray-50 dark:hover:bg-neutral-700",
8759
8750
  { "text-xs": a === "normal", "text-sm": a === "large" }
8760
8751
  ),
8761
- children: o || g ? /* @__PURE__ */ r(mr, { className: "h-4 w-4", "aria-hidden": "true" }) : /* @__PURE__ */ r(br, { className: "h-4 w-4", "aria-hidden": "true" })
8752
+ children: o || g ? /* @__PURE__ */ r(br, { className: "h-4 w-4", "aria-hidden": "true" }) : /* @__PURE__ */ r(wr, { className: "h-4 w-4", "aria-hidden": "true" })
8762
8753
  }
8763
8754
  ) })
8764
8755
  ]
@@ -8798,11 +8789,11 @@ function gi({
8798
8789
  children: t
8799
8790
  }
8800
8791
  ) : null,
8801
- /* @__PURE__ */ h(Ze, { open: f, children: [
8802
- /* @__PURE__ */ r(Qe, { asChild: !0, children: /* @__PURE__ */ r(
8792
+ /* @__PURE__ */ h(Ke, { open: f, children: [
8793
+ /* @__PURE__ */ r(Xe, { asChild: !0, children: /* @__PURE__ */ r(
8803
8794
  "pre",
8804
8795
  {
8805
- className: _e("flex-1 cursor-pointer px-2 py-1.5 select-text", {
8796
+ className: Oe("flex-1 cursor-pointer px-2 py-1.5 select-text", {
8806
8797
  truncate: !i,
8807
8798
  "break-all whitespace-pre-wrap": i
8808
8799
  }),
@@ -8811,10 +8802,10 @@ function gi({
8811
8802
  const w = window.getSelection();
8812
8803
  (!w || w.toString().length === 0) && (window.navigator.clipboard.writeText(e), d(!0), setTimeout(() => d(!1), 1e3), g?.());
8813
8804
  },
8814
- children: o || c ? Ot(e) : e
8805
+ children: o || c ? Tt(e) : e
8815
8806
  }
8816
8807
  ) }),
8817
- /* @__PURE__ */ r(Je, { side: "bottom", children: "Copied!" })
8808
+ /* @__PURE__ */ r(Ze, { side: "bottom", children: "Copied!" })
8818
8809
  ] }),
8819
8810
  /* @__PURE__ */ h("div", { className: "flex gap-1 px-1", children: [
8820
8811
  !!m && /* @__PURE__ */ r(
@@ -8825,10 +8816,10 @@ function gi({
8825
8816
  "flex items-center gap-x-1 rounded-sm bg-white px-2 py-1 ring-1 ring-gray-300 ring-inset hover:bg-gray-50 dark:bg-neutral-600/20 dark:ring-neutral-600",
8826
8817
  { "text-xs": a === "normal", "text-sm": a === "large" }
8827
8818
  ),
8828
- children: o || c ? /* @__PURE__ */ r(mr, { className: "h-4 w-4", "aria-hidden": "true" }) : /* @__PURE__ */ r(br, { className: "h-4 w-4", "aria-hidden": "true" })
8819
+ children: o || c ? /* @__PURE__ */ r(br, { className: "h-4 w-4", "aria-hidden": "true" }) : /* @__PURE__ */ r(wr, { className: "h-4 w-4", "aria-hidden": "true" })
8829
8820
  }
8830
8821
  ),
8831
- /* @__PURE__ */ r(Nr, { text: e, children: /* @__PURE__ */ h(
8822
+ /* @__PURE__ */ r(vr, { text: e, children: /* @__PURE__ */ h(
8832
8823
  "button",
8833
8824
  {
8834
8825
  onClick: () => {
@@ -8842,7 +8833,7 @@ function gi({
8842
8833
  ),
8843
8834
  children: [
8844
8835
  /* @__PURE__ */ r(
8845
- Ct,
8836
+ Et,
8846
8837
  {
8847
8838
  className: "-ml-0.5 h-4 w-4",
8848
8839
  "aria-hidden": "true"
@@ -8872,7 +8863,7 @@ function hi({ value: e }) {
8872
8863
  }
8873
8864
  ),
8874
8865
  /* @__PURE__ */ r(
8875
- Nr,
8866
+ vr,
8876
8867
  {
8877
8868
  text: e,
8878
8869
  onCopy: (n, o) => {
@@ -8880,8 +8871,8 @@ function hi({ value: e }) {
8880
8871
  a(!1);
8881
8872
  }, 2500));
8882
8873
  },
8883
- children: t ? /* @__PURE__ */ r(Ga, { className: "pl-1", height: "1em" }) : /* @__PURE__ */ r(
8884
- Ct,
8874
+ children: t ? /* @__PURE__ */ r(Za, { className: "pl-1", height: "1em" }) : /* @__PURE__ */ r(
8875
+ Et,
8885
8876
  {
8886
8877
  className: "cursor-pointer pl-1",
8887
8878
  height: "1em"
@@ -8891,7 +8882,7 @@ function hi({ value: e }) {
8891
8882
  )
8892
8883
  ] });
8893
8884
  }
8894
- const ft = ({
8885
+ const ht = ({
8895
8886
  children: e,
8896
8887
  className: t
8897
8888
  }) => /* @__PURE__ */ h("div", { className: O("flex items-center justify-center", t), children: [
@@ -8914,15 +8905,15 @@ const ft = ({
8914
8905
  role: "separator"
8915
8906
  }
8916
8907
  )
8917
- ] }), _t = ({ children: e }) => /* @__PURE__ */ h(
8918
- fn,
8908
+ ] }), Ot = ({ children: e }) => /* @__PURE__ */ h(
8909
+ Ua,
8919
8910
  {
8920
8911
  as: "span",
8921
8912
  className: "relative inline-flex align-middle",
8922
8913
  "data-open": "true",
8923
8914
  children: [
8924
- /* @__PURE__ */ r(mn, { className: "inline", children: /* @__PURE__ */ r(
8925
- Ta,
8915
+ /* @__PURE__ */ r(Pa, { className: "inline", children: /* @__PURE__ */ r(
8916
+ Ia,
8926
8917
  {
8927
8918
  height: "1em",
8928
8919
  width: "1em",
@@ -8930,7 +8921,7 @@ const ft = ({
8930
8921
  }
8931
8922
  ) }),
8932
8923
  /* @__PURE__ */ r(
8933
- bn,
8924
+ qa,
8934
8925
  {
8935
8926
  anchor: "bottom start",
8936
8927
  className: "z-50 rounded-lg bg-white p-2 shadow-lg dark:bg-neutral-800",
@@ -8998,23 +8989,23 @@ function Pr({
8998
8989
  }
8999
8990
  );
9000
8991
  }
9001
- function Ze({
8992
+ function Ke({
9002
8993
  ...e
9003
8994
  }) {
9004
8995
  return /* @__PURE__ */ r(Pr, { children: /* @__PURE__ */ r(ne.Root, { "data-slot": "tooltip", ...e }) });
9005
8996
  }
9006
- function Qe({
8997
+ function Xe({
9007
8998
  ...e
9008
8999
  }) {
9009
9000
  return /* @__PURE__ */ r(ne.Trigger, { "data-slot": "tooltip-trigger", ...e });
9010
9001
  }
9011
- function Je({
9002
+ function Ze({
9012
9003
  className: e,
9013
9004
  sideOffset: t = 0,
9014
9005
  children: a,
9015
9006
  ...n
9016
9007
  }) {
9017
- const o = Xe(), l = pt();
9008
+ const o = ct(), l = ut();
9018
9009
  return /* @__PURE__ */ r(ne.Portal, { container: o, children: /* @__PURE__ */ r(
9019
9010
  ne.Content,
9020
9011
  {
@@ -9033,21 +9024,21 @@ function Je({
9033
9024
  function qr({
9034
9025
  ...e
9035
9026
  }) {
9036
- return /* @__PURE__ */ r(Oe.Root, { ...e });
9027
+ return /* @__PURE__ */ r(Te.Root, { ...e });
9037
9028
  }
9038
9029
  function Gr({
9039
9030
  ...e
9040
9031
  }) {
9041
- return /* @__PURE__ */ r(Oe.Trigger, { ...e });
9032
+ return /* @__PURE__ */ r(Te.Trigger, { ...e });
9042
9033
  }
9043
9034
  function Hr({
9044
9035
  className: e,
9045
9036
  sideOffset: t = 4,
9046
9037
  ...a
9047
9038
  }) {
9048
- const n = Xe(), o = pt();
9049
- return /* @__PURE__ */ r(Oe.Portal, { container: n, children: /* @__PURE__ */ r(
9050
- Oe.Content,
9039
+ const n = ct(), o = ut();
9040
+ return /* @__PURE__ */ r(Te.Portal, { container: n, children: /* @__PURE__ */ r(
9041
+ Te.Content,
9051
9042
  {
9052
9043
  sideOffset: t,
9053
9044
  className: O(
@@ -9059,12 +9050,12 @@ function Hr({
9059
9050
  }
9060
9051
  ) });
9061
9052
  }
9062
- function Pe({
9053
+ function Ue({
9063
9054
  className: e,
9064
9055
  ...t
9065
9056
  }) {
9066
9057
  return /* @__PURE__ */ r(
9067
- Oe.Item,
9058
+ Te.Item,
9068
9059
  {
9069
9060
  className: O(
9070
9061
  "relative flex cursor-pointer items-center rounded-sm px-2 py-1.5 text-sm transition-colors outline-none select-none focus:bg-neutral-100 focus:text-neutral-900 data-disabled:pointer-events-none data-disabled:opacity-50 dark:focus:bg-neutral-700 dark:focus:text-neutral-50",
@@ -9079,7 +9070,7 @@ function Wr({
9079
9070
  ...t
9080
9071
  }) {
9081
9072
  return /* @__PURE__ */ r(
9082
- Oe.Separator,
9073
+ Te.Separator,
9083
9074
  {
9084
9075
  className: O(
9085
9076
  "-mx-1 my-1 h-px bg-neutral-100 dark:bg-neutral-700",
@@ -9091,19 +9082,19 @@ function Wr({
9091
9082
  }
9092
9083
  function ue(e, t) {
9093
9084
  return function(a) {
9094
- return ha(e, {
9085
+ return Ra(e, {
9095
9086
  ...a,
9096
9087
  className: O(t, a.className)
9097
9088
  });
9098
9089
  };
9099
9090
  }
9100
9091
  function O(...e) {
9101
- return ma(_e(e));
9092
+ return ga(Oe(e));
9102
9093
  }
9103
9094
  function Vr() {
9104
9095
  return /* @__PURE__ */ r("div", { className: "animate-slow-pulse flex w-full flex-1 flex-col bg-gray-300" });
9105
9096
  }
9106
- function Dt(e) {
9097
+ function _t(e) {
9107
9098
  return /* @__PURE__ */ r(
9108
9099
  pa,
9109
9100
  {
@@ -9136,8 +9127,8 @@ function Dt(e) {
9136
9127
  );
9137
9128
  }
9138
9129
  function mi(e) {
9139
- const [t, a] = C(e.value), o = `json-editor-${dr()}.json`, [l, i] = C(void 0);
9140
- return Qo(o, l, e.schema), H(() => {
9130
+ const [t, a] = C(e.value), o = `json-editor-${ur()}.json`, [l, i] = C(void 0);
9131
+ return Jo(o, l, e.schema), H(() => {
9141
9132
  a(e.value);
9142
9133
  }, [e.value]), /* @__PURE__ */ h("div", { className: "flex h-full min-h-0 flex-col bg-gray-50 dark:bg-[#252525]", children: [
9143
9134
  /* @__PURE__ */ h("div", { className: "flex items-center justify-between gap-4 border-b px-4 py-2 dark:border-b-neutral-700", children: [
@@ -9145,7 +9136,7 @@ function mi(e) {
9145
9136
  /* @__PURE__ */ r(V, { size: "mini", onClick: () => e.onSave(t), children: "Save" })
9146
9137
  ] }),
9147
9138
  /* @__PURE__ */ r("div", { className: "min-h-0 grow", children: /* @__PURE__ */ r(
9148
- Dt,
9139
+ _t,
9149
9140
  {
9150
9141
  darkMode: e.darkMode,
9151
9142
  language: "json",
@@ -9161,7 +9152,7 @@ function mi(e) {
9161
9152
  f && setTimeout(async () => {
9162
9153
  const d = f.getValue();
9163
9154
  if (!d.trim()) return;
9164
- const u = Xo(d);
9155
+ const u = Zo(d);
9165
9156
  u.status === "ok" && f.setValue(JSON.stringify(u.value, null, 2));
9166
9157
  }, 20);
9167
9158
  });
@@ -9170,7 +9161,7 @@ function mi(e) {
9170
9161
  ) })
9171
9162
  ] });
9172
9163
  }
9173
- function Lt({
9164
+ function Dt({
9174
9165
  code: e,
9175
9166
  language: t,
9176
9167
  style: a,
@@ -9180,9 +9171,9 @@ function Lt({
9180
9171
  }) {
9181
9172
  const [i, g] = C("Copy");
9182
9173
  return /* @__PURE__ */ r(
9183
- Ko,
9174
+ Xo,
9184
9175
  {
9185
- ...Ho,
9176
+ ...Wo,
9186
9177
  code: e.trimEnd(),
9187
9178
  language: t,
9188
9179
  theme: n ? {
@@ -9191,11 +9182,11 @@ function Lt({
9191
9182
  color: "white"
9192
9183
  },
9193
9184
  styles: []
9194
- } : Jo,
9185
+ } : ei,
9195
9186
  children: ({ className: c, style: p, tokens: f, getTokenProps: d }) => /* @__PURE__ */ h(
9196
9187
  "pre",
9197
9188
  {
9198
- className: _e(c, o),
9189
+ className: Oe(c, o),
9199
9190
  style: {
9200
9191
  ...p,
9201
9192
  ...a,
@@ -9206,14 +9197,14 @@ function Lt({
9206
9197
  "button",
9207
9198
  {
9208
9199
  onClick: (u) => {
9209
- We(e), g("Copied!"), setTimeout(() => {
9200
+ He(e), g("Copied!"), setTimeout(() => {
9210
9201
  g("Copy");
9211
9202
  }, 2500), u.preventDefault(), u.stopPropagation();
9212
9203
  },
9213
9204
  className: "flex items-center gap-x-1 rounded-sm bg-white px-2 py-1 text-xs ring-1 ring-gray-300 ring-inset hover:bg-gray-50 dark:bg-neutral-800 dark:ring-neutral-700",
9214
9205
  children: [
9215
9206
  /* @__PURE__ */ r(
9216
- Ct,
9207
+ Et,
9217
9208
  {
9218
9209
  className: "-ml-0.5 h-4 w-4",
9219
9210
  "aria-hidden": "true"
@@ -9223,7 +9214,7 @@ function Lt({
9223
9214
  ]
9224
9215
  }
9225
9216
  ) }) : null,
9226
- /* @__PURE__ */ r("code", { children: f.map((u, s) => /* @__PURE__ */ h(fa, { children: [
9217
+ /* @__PURE__ */ r("code", { children: f.map((u, s) => /* @__PURE__ */ h(Ta, { children: [
9227
9218
  u.filter((m) => !m.empty).map((m, b) => {
9228
9219
  const { key: w, ...v } = d({ token: m });
9229
9220
  return /* @__PURE__ */ r("span", { ...v }, w || b);
@@ -9242,7 +9233,7 @@ function Yr({
9242
9233
  ...t
9243
9234
  }) {
9244
9235
  return /* @__PURE__ */ r(
9245
- Vt.Root,
9236
+ Gt.Root,
9246
9237
  {
9247
9238
  "data-slot": "switch",
9248
9239
  className: O(
@@ -9251,7 +9242,7 @@ function Yr({
9251
9242
  ),
9252
9243
  ...t,
9253
9244
  children: /* @__PURE__ */ r(
9254
- Vt.Thumb,
9245
+ Gt.Thumb,
9255
9246
  {
9256
9247
  "data-slot": "switch-thumb",
9257
9248
  className: O(
@@ -9262,113 +9253,113 @@ function Yr({
9262
9253
  }
9263
9254
  );
9264
9255
  }
9265
- const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9256
+ const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9266
9257
  __proto__: null,
9267
9258
  ActionButton: ve,
9268
9259
  ActionForm: ge,
9269
9260
  Badge: fi,
9270
- BlockHeading: oi,
9261
+ BlockHeading: ii,
9271
9262
  Button: V,
9272
9263
  Checkbox: ee,
9273
- CodeEditor: Dt,
9274
- Content: gt,
9264
+ CodeEditor: _t,
9265
+ Content: pt,
9275
9266
  Copyable: gi,
9276
9267
  Copytext: hi,
9277
9268
  Dialog: fe,
9278
9269
  DialogContent: Br,
9279
9270
  DialogOverlay: Mr,
9280
9271
  DialogPortal: jr,
9281
- Divider: ft,
9272
+ Divider: ht,
9282
9273
  DropdownMenu: qr,
9283
9274
  DropdownMenuContent: Hr,
9284
- DropdownMenuItem: Pe,
9275
+ DropdownMenuItem: Ue,
9285
9276
  DropdownMenuSeparator: Wr,
9286
9277
  DropdownMenuTrigger: Gr,
9287
- Fence: Lt,
9278
+ Fence: Dt,
9288
9279
  FullscreenLoading: Vr,
9289
- Group: ti,
9290
- Hint: ii,
9291
- IconButton: ht,
9292
- InfoTip: _t,
9280
+ Group: ri,
9281
+ Hint: li,
9282
+ IconButton: gt,
9283
+ InfoTip: Ot,
9293
9284
  JSONEditor: mi,
9294
9285
  Label: Re,
9295
- LogoIcon: li,
9286
+ LogoIcon: si,
9296
9287
  ProgressButton: Ur,
9297
- ScreenHeading: ri,
9298
- SectionHeading: ai,
9288
+ ScreenHeading: ai,
9289
+ SectionHeading: ni,
9299
9290
  Select: we,
9300
9291
  SmallCopyable: pi,
9301
- Stack: ei,
9302
- SubsectionHeading: ni,
9292
+ Stack: ti,
9293
+ SubsectionHeading: oi,
9303
9294
  Switch: Yr,
9304
- TextArea: si,
9295
+ TextArea: di,
9305
9296
  TextInput: Ee,
9306
9297
  Toaster: ca,
9307
9298
  ToggleCollection: $r,
9308
9299
  ToggleGroup: zr,
9309
- Tooltip: Ze,
9310
- TooltipContent: Je,
9300
+ Tooltip: Ke,
9301
+ TooltipContent: Ze,
9311
9302
  TooltipProvider: Pr,
9312
- TooltipTrigger: Qe,
9303
+ TooltipTrigger: Xe,
9313
9304
  cn: O,
9314
- redactedValue: Ot,
9315
- toast: Nt,
9305
+ redactedValue: Tt,
9306
+ toast: St,
9316
9307
  twel: ue,
9317
- useDialog: st
9308
+ useDialog: it
9318
9309
  }, Symbol.toStringTag, { value: "Module" }));
9319
9310
  export {
9320
9311
  ve as ActionButton,
9321
9312
  ge as ActionForm,
9322
9313
  fi as Badge,
9323
- oi as BlockHeading,
9314
+ ii as BlockHeading,
9324
9315
  V as Button,
9325
9316
  ee as Checkbox,
9326
- Dt as CodeEditor,
9327
- gt as Content,
9317
+ _t as CodeEditor,
9318
+ pt as Content,
9328
9319
  gi as Copyable,
9329
9320
  hi as Copytext,
9330
9321
  fe as Dialog,
9331
9322
  Br as DialogContent,
9332
9323
  Mr as DialogOverlay,
9333
9324
  jr as DialogPortal,
9334
- ft as Divider,
9325
+ ht as Divider,
9335
9326
  qr as DropdownMenu,
9336
9327
  Hr as DropdownMenuContent,
9337
- Pe as DropdownMenuItem,
9328
+ Ue as DropdownMenuItem,
9338
9329
  Wr as DropdownMenuSeparator,
9339
9330
  Gr as DropdownMenuTrigger,
9340
- Wi as Explorer,
9341
- Lt as Fence,
9331
+ Vi as Explorer,
9332
+ Dt as Fence,
9342
9333
  Vr as FullscreenLoading,
9343
- ti as Group,
9344
- ii as Hint,
9345
- ht as IconButton,
9346
- _t as InfoTip,
9334
+ ri as Group,
9335
+ li as Hint,
9336
+ gt as IconButton,
9337
+ Ot as InfoTip,
9347
9338
  mi as JSONEditor,
9348
9339
  Re as Label,
9349
- li as LogoIcon,
9340
+ si as LogoIcon,
9350
9341
  Ur as ProgressButton,
9351
- ri as ScreenHeading,
9352
- ai as SectionHeading,
9342
+ ai as ScreenHeading,
9343
+ ni as SectionHeading,
9353
9344
  we as Select,
9354
9345
  pi as SmallCopyable,
9355
- ei as Stack,
9356
- $o as StyleMe,
9357
- ni as SubsectionHeading,
9346
+ ti as Stack,
9347
+ zo as StyleMe,
9348
+ oi as SubsectionHeading,
9358
9349
  Yr as Switch,
9359
- si as TextArea,
9350
+ di as TextArea,
9360
9351
  Ee as TextInput,
9361
- Xi as Toaster,
9352
+ Zi as Toaster,
9362
9353
  $r as ToggleCollection,
9363
9354
  zr as ToggleGroup,
9364
- Ze as Tooltip,
9365
- Je as TooltipContent,
9355
+ Ke as Tooltip,
9356
+ Ze as TooltipContent,
9366
9357
  Pr as TooltipProvider,
9367
- Qe as TooltipTrigger,
9358
+ Xe as TooltipTrigger,
9368
9359
  O as cn,
9369
- Ot as redactedValue,
9370
- Zi as toast,
9360
+ Tt as redactedValue,
9361
+ Qi as toast,
9371
9362
  ue as twel,
9372
- Vi as ui,
9373
- st as useDialog
9363
+ Yi as ui,
9364
+ it as useDialog
9374
9365
  };