@marimo-team/islands 0.23.10-dev26 → 0.23.10-dev27

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.
@@ -11,7 +11,7 @@ import { o as useSize, u as createLucideIcon } from "./dist-Dk6PV_d3.js";
11
11
  import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-00mO3OSS.js";
12
12
  import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-QB-3MpYr.js";
13
13
  import { t as Check } from "./check-BCaJeT-J.js";
14
- import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-J57tzLr3.js";
14
+ import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-J57tzLr3.js";
15
15
  import { $ as $e5be200c675c3b3a$export$a763b9476acd3eb, $t as Label$1, A as $514c0188e459b4c0$export$9afb8bc826b033ea, At as $c87311424ea30a05$export$a11b0059900ceec8, B as $64fa3d84918910a7$export$c245e6201fed2f75, Bt as $431fbd86ca7dc216$export$b204af158042fbac, C as $3985021b0ad6602f$export$f5b8910cec6cf069, Ct as $e9faafb641e167db$export$90fc3a17d93f704c, D as $ee014567cb39d3f0$export$f551688fc98f2e09, Dt as $c87311424ea30a05$export$6446a186d09e379e, E as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Et as $313b98861ee5dd6c$export$d6875122194c7b44, F as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Ft as $d4ee10de306f2510$export$4282f70798064fe0, Gt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, H as $64fa3d84918910a7$export$df3a06d6289f983e, Ht as $ff5963eb1fccf552$export$e08e3b67e392101e, I as $64fa3d84918910a7$export$2881499e37b75b9a, It as $d4ee10de306f2510$export$b4f377a2b6254582, Jt as CheckboxItem, K as marked, Kt as Anchor2, L as $64fa3d84918910a7$export$29f1550f4b0d4415, Lt as $d4ee10de306f2510$export$cd4e5573fbe2b576, M as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Mt as $7215afc6de606d6b$export$de79e2c695e052f3, N as $01b77f81d0f07f68$export$75b6ee27786ba447, Nt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, O as $ee014567cb39d3f0$export$ff05c3ac10437e03, Ot as $c87311424ea30a05$export$78551043582a6a98, P as $01b77f81d0f07f68$export$b04be29aa201d4f5, Pt as $3ef42575df84b30b$export$9d1611c77c2fe928, Q as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Qt as ItemIndicator, R as $64fa3d84918910a7$export$4d86445c2cf5e3, Rt as $d4ee10de306f2510$export$e58f029f0fbfdb29, S as $3985021b0ad6602f$export$37fb8590cf2c088c, St as $99facab73266f662$export$5add1d006293d136, T as $a049562f99e7db0e$export$f9c6924e160136d1, Tt as $df56164dff5785e2$export$4338b53315abf666, U as $64fa3d84918910a7$export$ef03459518577ad4, Ut as $bdb11010cef70236$export$b4cc09c592e8fdb8, V as $64fa3d84918910a7$export$c62b8e45d58ddad9, Vt as $431fbd86ca7dc216$export$f21a1ffae260145a, W as $64fa3d84918910a7$export$fabf2dc03a41866e, Wt as $bdb11010cef70236$export$f680877a34711e37, X as $2baaea4c71418dea$export$294aa081a6c6f55d, Xt as Group, Y as $d2e8511e6f209edf$export$e908e06f4b8e3402, Yt as Content2$1, Z as $e93e671b31057976$export$b8473d3665f3a75a, Zt as Item2$2, _t as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as NumberField, an as Sub, b as DropdownMenuSubTrigger, bt as $b4b717babfbb907b$export$4c063cf1350e6fed, c as prettyNumber, cn as createMenuScope, ct as $fca6afa0e843324b$export$f12b703ca79dfbb1, d as DropdownMenuContent, dn as createRovingFocusGroupScope, dt as $6179b936705e76d3$export$ae780daf29e6d456, en as Portal, et as $e5be200c675c3b3a$export$aca958c65c314e6c, fn as Search, ft as $9ab94262bd0047c7$export$420e68273165f4ec, g as DropdownMenuSeparator, gt as _class_private_field_init, h as DropdownMenuPortal, ht as $f6c31cce2adf654f$export$45712eceda6fad21, in as Separator$1, it as $f7dceffc5ad7768b$export$4e328f61c538687f, j as $d2b4bc8c273e7be6$export$24d547caef80ccd1, jt as $c87311424ea30a05$export$fedb369cb70207f1, k as $514c0188e459b4c0$export$5f1af8db9871e1d6, kt as $c87311424ea30a05$export$9ac100e40613ea10, l as prettyScientificNumber, ln as Item, lt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, m as DropdownMenuLabel, mn as ChevronRight, mt as $507fabe10e71c6fb$export$630ff653c5ada6a9, nn as RadioItem, nt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, o as maxFractionalDigits, on as SubContent, ot as $6c7bd7858deea686$export$cd11ab140839f11d, p as DropdownMenuItem, pn as Circle, pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, qt as Arrow2, r as Input, rn as Root3, rt as $319e236875307eab$export$a9b970dcc4ae71a9, s as prettyEngineeringNumber, sn as SubTrigger, st as $fca6afa0e843324b$export$87b761675e8eaa10, tn as RadioGroup$2, tt as $e5be200c675c3b3a$export$dad6ae84456c676a, u as DropdownMenu, un as Root$3, ut as $5b160d28a433310d$export$c17fa47878dc55b6, v as DropdownMenuSub, vt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, w as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, wt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, x as DropdownMenuTrigger, xt as $b4b717babfbb907b$export$bebd5a1431fec25d, y as DropdownMenuSubContent, yt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, z as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, zt as $f4e2df6bd15f8569$export$98658e8c59125e6a } from "./input-CMYy4hzj.js";
16
16
  import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-d8RCRrRd.js";
17
17
  import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DpbaKVv7.js";
@@ -35,7 +35,7 @@ import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
35
35
  import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-BWLPpjKK.js";
36
36
  import { t as useIframeCapabilities } from "./useIframeCapabilities-C4JTXTIh.js";
37
37
  import { t as useAsyncData } from "./useAsyncData-PonK__yh.js";
38
- let Panel, Download, ContextMenuSeparator, dateToLocalISODateTime, CommandItem, useOverflowDetection, downloadSizeLimitAtom, SELECT_COLUMN_ID, ContextMenu, isNullishFilter, getColumnCountForDisplay, getMimeValues, Combobox, TabsTrigger, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, CommandSeparator, Kbd, ComboboxItem, ChartErrorState, contextAwarePanelType, GripHorizontal, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, Command, ChartInfoState, useInternalStateWithSync, Tabs, DatePicker, TabsContent, ContextMenuContent, Maps, DateRangePicker, TabsList, Toggle, Ellipsis, CommandEmpty, ChartLoadingState, Filenames, INDEX_COLUMN_NAME, prettifyRowCount, toFieldTypes, smartMatch, HtmlOutput, CommandList, RenderTextWithLinks, ContextAwarePanelItem, EmotionCacheProvider, SlotNames, EyeOff, isCellAwareAtom, Funnel, slotsController, Expand, ADD_PRINTING_CLASS, useIntersectionObserver, DEFAULT_SLIDE_TYPE, ChevronLeft, TableBody, downloadHTMLAsImage, loadTableAndRawData, Slide, TableHeader, RadioGroupItem, generateColumns, Code, PanelGroup, JsonOutput, inferFieldTypes, InstallPackageButton, DelayMount, DataTable, ColumnChartSpecModel, DEFAULT_DECK_TRANSITION, ChevronsDownUp, Table, ContextMenuTrigger, dateToLocalISOTime, ContextMenuItem, dateToLocalISODate, Switch, TableRow, OutputRenderer, ColumnChartContext, marimoVersionAtom, ChevronsRight, Fill, SLIDE_TYPE_OPTIONS_BY_VALUE, ArrowDownWideNarrow, TableCell, OutputArea, renderCellValue, contextAwarePanelOwner, TextWrap, showCodeInRunModeAtom, ChevronsLeft, Provider$1, SlideSidebar, TableHead, useNotebookCodeAvailable, ChevronsUpDown, PanelResizeHandle, RadioGroup, NAMELESS_COLUMN_PREFIX, downloadBlob, usePrevious, prettifyRowColumnCount, TOO_MANY_ROWS, Progress, loadTableData, downloadByURL, getPageIndexForRow, CommandInput, LazyVegaEmbed;
38
+ let slotsController, Expand, ContextMenuSeparator, Maps, CommandEmpty, ChartLoadingState, downloadSizeLimitAtom, loadTableData, ContextMenu, toFieldTypes, getColumnCountForDisplay, TOO_MANY_ROWS, DatePicker, TabsContent, smartMatch, HtmlOutput, CommandItem, useOverflowDetection, DateRangePicker, TabsList, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, ContextAwarePanelItem, EmotionCacheProvider, Combobox, TabsTrigger, useInternalStateWithSync, dateToLocalISODateTime, useSelectList, dateToLocalISOTime, ContextMenuContent, getMimeValues, CompactChipRow, Tabs, SlotNames, EyeOff, ComboboxItem, ChartErrorState, Filenames, loadTableAndRawData, prettifyRowCount, SELECT_COLUMN_ID, CommandList, RenderTextWithLinks, CommandInput, LazyVegaEmbed, CommandSeparator, Kbd, contextAwarePanelType, GripHorizontal, contextAwarePanelOwner, TextWrap, isCellAwareAtom, Funnel, ADD_PRINTING_CLASS, ColumnChartSpecModel, DEFAULT_SLIDE_TYPE, ChevronsLeft, Provider$1, downloadHTMLAsImage, usePrevious, Slide, ArrowDownWideNarrow, TableCell, RadioGroupItem, TableRow, Ellipsis, Toggle, JsonOutput, NAMELESS_COLUMN_PREFIX, InstallPackageButton, ColumnChartContext, DataTable, renderCellValue, DEFAULT_DECK_TRANSITION, ChevronsRight, Fill, ContextMenuTrigger, dateToLocalISODate, ContextMenuItem, isNullishFilter, Switch, TableHead, OutputRenderer, inferFieldTypes, marimoVersionAtom, Code, PanelGroup, SLIDE_TYPE_OPTIONS_BY_VALUE, ChevronsDownUp, Table, OutputArea, generateColumns, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, showCodeInRunModeAtom, ChevronsUpDown, PanelResizeHandle, SlideSidebar, ChevronLeft, TableBody, useNotebookCodeAvailable, Download, Panel, RadioGroup, TableHeader, downloadBlob, DelayMount, prettifyRowColumnCount, INDEX_COLUMN_NAME, Progress, getPageIndexForRow, downloadByURL, useIntersectionObserver, Command, ChartInfoState;
39
39
  let __tla = Promise.all([
40
40
  (() => {
41
41
  try {
@@ -1993,21 +1993,21 @@ Defaulting to \`null\`.`;
1993
1993
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
1994
1994
  let { block: i = "nearest", inline: a = "nearest" } = n;
1995
1995
  if (e === t) return;
1996
- let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, cq = parseInt(h.borderRightWidth, 10) || 0, lq = c.top - E, uq = c.bottom + O, dq = c.left - A, $ = c.right + M, fq = e === _ ? 0 : Q + cq, pq = e === _ ? 0 : q + J, mq = e.offsetWidth - e.clientWidth - fq, hq = e.offsetHeight - e.clientHeight - pq, gq = v + q + I, _q = y - J - z - hq, vq = S + Q + U, yq = w - cq - K;
1997
- h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? vq += mq : yq -= mq;
1998
- let bq = lq < gq || uq > _q, xq = dq < vq || $ > yq;
1999
- if (bq && i === "start") o += lq - gq;
2000
- else if (bq && i === "center") o += (lq + uq) / 2 - (gq + _q) / 2;
2001
- else if (bq && i === "end") o += uq - _q;
2002
- else if (bq && i === "nearest") {
2003
- let e2 = lq - gq, t2 = uq - _q;
1996
+ let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, Tq = c.top - E, Eq = c.bottom + O, Dq = c.left - A, Oq = c.right + M, kq = e === _ ? 0 : Q + $, Aq = e === _ ? 0 : q + J, jq = e.offsetWidth - e.clientWidth - kq, Mq = e.offsetHeight - e.clientHeight - Aq, Nq = v + q + I, Pq = y - J - z - Mq, Fq = S + Q + U, Iq = w - $ - K;
1997
+ h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? Fq += jq : Iq -= jq;
1998
+ let Lq = Tq < Nq || Eq > Pq, Rq = Dq < Fq || Oq > Iq;
1999
+ if (Lq && i === "start") o += Tq - Nq;
2000
+ else if (Lq && i === "center") o += (Tq + Eq) / 2 - (Nq + Pq) / 2;
2001
+ else if (Lq && i === "end") o += Eq - Pq;
2002
+ else if (Lq && i === "nearest") {
2003
+ let e2 = Tq - Nq, t2 = Eq - Pq;
2004
2004
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
2005
2005
  }
2006
- if (xq && a === "start") s += dq - vq;
2007
- else if (xq && a === "center") s += (dq + $) / 2 - (vq + yq) / 2;
2008
- else if (xq && a === "end") s += $ - yq;
2009
- else if (xq && a === "nearest") {
2010
- let e2 = dq - vq, t2 = $ - yq;
2006
+ if (Rq && a === "start") s += Dq - Fq;
2007
+ else if (Rq && a === "center") s += (Dq + Oq) / 2 - (Fq + Iq) / 2;
2008
+ else if (Rq && a === "end") s += Oq - Iq;
2009
+ else if (Rq && a === "nearest") {
2010
+ let e2 = Dq - Fq, t2 = Oq - Iq;
2011
2011
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
2012
2012
  }
2013
2013
  e.scrollTo({
@@ -5115,25 +5115,25 @@ Defaulting to \`null\`.`;
5115
5115
  let e2 = $edcf132a9284368a$var$parsePlacement(`${$edcf132a9284368a$var$FLIPPED_DIRECTION[U]} ${K}`), i2 = $edcf132a9284368a$var$computePosition(t, c, n, e2, h, _, f, v, S, w, d);
5116
5116
  $edcf132a9284368a$var$getAvailableSpace(c, f, t, a, o + h, e2, d, E) > Q && (A = e2, q = i2, J = h);
5117
5117
  }
5118
- let cq = "bottom";
5119
- A.axis === "top" ? A.placement === "top" ? cq = "top" : A.placement === "bottom" && (cq = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? cq = "bottom" : A.crossPlacement === "bottom" && (cq = "top"));
5120
- let lq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5121
- q[I] += lq;
5122
- let uq = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, cq, d, E, O);
5123
- y && y < uq && (uq = y), n.height = Math.min(n.height, uq), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), lq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += lq;
5124
- let dq = {}, $ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], fq = $ + 0.5 * t[z], pq = S / 2 + w, mq = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), hq = n[z] - mq - S / 2 - w;
5125
- dq[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(fq, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), pq, hq), { placement: U, crossPlacement: K } = A, S ? $ = dq[I] : K === "right" ? $ += t[z] : K === "center" && ($ += t[z] / 2);
5126
- let gq = U === "left" || U === "top" ? n[M] : 0, _q = {
5127
- x: U === "top" || U === "bottom" ? $ : gq,
5128
- y: U === "left" || U === "right" ? $ : gq
5118
+ let $ = "bottom";
5119
+ A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
5120
+ let Tq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5121
+ q[I] += Tq;
5122
+ let Eq = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5123
+ y && y < Eq && (Eq = y), n.height = Math.min(n.height, Eq), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), Tq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += Tq;
5124
+ let Dq = {}, Oq = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], kq = Oq + 0.5 * t[z], Aq = S / 2 + w, jq = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), Mq = n[z] - jq - S / 2 - w;
5125
+ Dq[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(kq, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), Aq, Mq), { placement: U, crossPlacement: K } = A, S ? Oq = Dq[I] : K === "right" ? Oq += t[z] : K === "center" && (Oq += t[z] / 2);
5126
+ let Nq = U === "left" || U === "top" ? n[M] : 0, Pq = {
5127
+ x: U === "top" || U === "bottom" ? Oq : Nq,
5128
+ y: U === "left" || U === "right" ? Oq : Nq
5129
5129
  };
5130
5130
  return {
5131
5131
  position: q,
5132
- maxHeight: uq,
5133
- arrowOffsetLeft: dq.left,
5134
- arrowOffsetTop: dq.top,
5132
+ maxHeight: Eq,
5133
+ arrowOffsetLeft: Dq.left,
5134
+ arrowOffsetTop: Dq.top,
5135
5135
  placement: U,
5136
- triggerAnchorPoint: _q
5136
+ triggerAnchorPoint: Pq
5137
5137
  };
5138
5138
  }
5139
5139
  function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
@@ -6958,7 +6958,7 @@ Defaulting to \`null\`.`;
6958
6958
  let e2 = window.getSelection();
6959
6959
  (e2 == null ? void 0 : e2.anchorNode) && $d4ee10de306f2510$export$4282f70798064fe0(n.current, e2 == null ? void 0 : e2.anchorNode) && e2.collapse(n.current);
6960
6960
  });
6961
- let cq = (0, import_react.useRef)("");
6961
+ let $ = (0, import_react.useRef)("");
6962
6962
  $e9faafb641e167db$export$90fc3a17d93f704c(n, "beforeinput", (i2) => {
6963
6963
  if (n.current) switch (i2.preventDefault(), i2.inputType) {
6964
6964
  case "deleteContentBackward":
@@ -6966,7 +6966,7 @@ Defaulting to \`null\`.`;
6966
6966
  E.isValidPartialNumber(e.text) && !t.isReadOnly && O();
6967
6967
  break;
6968
6968
  case "insertCompositionText":
6969
- cq.current = n.current.textContent, n.current.textContent = n.current.textContent;
6969
+ $.current = n.current.textContent, n.current.textContent = n.current.textContent;
6970
6970
  break;
6971
6971
  default:
6972
6972
  i2.data != null && J(i2.data);
@@ -6976,7 +6976,7 @@ Defaulting to \`null\`.`;
6976
6976
  let { inputType: t2, data: i2 } = e2;
6977
6977
  switch (t2) {
6978
6978
  case "insertCompositionText":
6979
- n.current && (n.current.textContent = cq.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6979
+ n.current && (n.current.textContent = $.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6980
6980
  break;
6981
6981
  }
6982
6982
  }), $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
@@ -6988,7 +6988,7 @@ Defaulting to \`null\`.`;
6988
6988
  n,
6989
6989
  h
6990
6990
  ]);
6991
- let lq = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6991
+ let Tq = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6992
6992
  role: "textbox",
6993
6993
  "aria-valuemax": null,
6994
6994
  "aria-valuemin": null,
@@ -6998,8 +6998,8 @@ Defaulting to \`null\`.`;
6998
6998
  e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
6999
6999
  t.segments
7000
7000
  ]) && !t.isInvalid && (f = void 0);
7001
- let uq = $bdb11010cef70236$export$f680877a34711e37(), dq = !t.isDisabled && !t.isReadOnly && e.isEditable, $ = e.type === "literal" ? "" : s.of(e.type), fq = $313b98861ee5dd6c$export$d6875122194c7b44({
7002
- "aria-label": `${$}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
7001
+ let Eq = $bdb11010cef70236$export$f680877a34711e37(), Dq = !t.isDisabled && !t.isReadOnly && e.isEditable, Oq = e.type === "literal" ? "" : s.of(e.type), kq = $313b98861ee5dd6c$export$d6875122194c7b44({
7002
+ "aria-label": `${Oq}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
7003
7003
  "aria-labelledby": d
7004
7004
  });
7005
7005
  if (e.type === "literal") return {
@@ -7007,32 +7007,32 @@ Defaulting to \`null\`.`;
7007
7007
  "aria-hidden": true
7008
7008
  }
7009
7009
  };
7010
- let pq = {
7010
+ let Aq = {
7011
7011
  caretColor: "transparent"
7012
7012
  };
7013
7013
  if (o === "rtl") {
7014
- pq.unicodeBidi = "embed";
7014
+ Aq.unicodeBidi = "embed";
7015
7015
  let t2 = v[e.type];
7016
- (t2 === "numeric" || t2 === "2-digit") && (pq.direction = "ltr");
7016
+ (t2 === "numeric" || t2 === "2-digit") && (Aq.direction = "ltr");
7017
7017
  }
7018
7018
  return {
7019
- segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, fq, {
7020
- id: uq,
7021
- ...lq,
7019
+ segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, kq, {
7020
+ id: Eq,
7021
+ ...Tq,
7022
7022
  "aria-invalid": t.isInvalid ? "true" : void 0,
7023
7023
  "aria-describedby": f,
7024
7024
  "aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
7025
7025
  "data-placeholder": e.isPlaceholder || void 0,
7026
- contentEditable: dq,
7027
- suppressContentEditableWarning: dq,
7028
- spellCheck: dq ? "false" : void 0,
7029
- autoCorrect: dq ? "off" : void 0,
7030
- enterKeyHint: dq ? "next" : void 0,
7031
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !dq ? void 0 : "numeric",
7026
+ contentEditable: Dq,
7027
+ suppressContentEditableWarning: Dq,
7028
+ spellCheck: Dq ? "false" : void 0,
7029
+ autoCorrect: Dq ? "off" : void 0,
7030
+ enterKeyHint: Dq ? "next" : void 0,
7031
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !Dq ? void 0 : "numeric",
7032
7032
  tabIndex: t.isDisabled ? void 0 : 0,
7033
7033
  onKeyDown: A,
7034
7034
  onFocus: Q,
7035
- style: pq,
7035
+ style: Aq,
7036
7036
  onPointerDown(e2) {
7037
7037
  e2.stopPropagation();
7038
7038
  },
@@ -7105,7 +7105,7 @@ Defaulting to \`null\`.`;
7105
7105
  q.current = true, (n2 = e.onFocus) == null || n2.call(e, t2), (i2 = e.onFocusChange) == null || i2.call(e, true);
7106
7106
  }
7107
7107
  }
7108
- }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), cq = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7108
+ }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), $ = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7109
7109
  return {
7110
7110
  groupProps: $3ef42575df84b30b$export$9d1611c77c2fe928(K, M, d, S, J, {
7111
7111
  role: "group",
@@ -7152,7 +7152,7 @@ Defaulting to \`null\`.`;
7152
7152
  realtimeValidation: t.realtimeValidation,
7153
7153
  displayValidation: t.displayValidation,
7154
7154
  updateValidation(e2) {
7155
- Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, cq.current));
7155
+ Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, $.current));
7156
7156
  },
7157
7157
  resetValidation: t.resetValidation,
7158
7158
  commitValidation: t.commitValidation
@@ -7170,7 +7170,7 @@ Defaulting to \`null\`.`;
7170
7170
  realtimeValidation: t.realtimeValidation,
7171
7171
  displayValidation: t.displayValidation,
7172
7172
  updateValidation(e2) {
7173
- cq.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7173
+ $.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7174
7174
  },
7175
7175
  resetValidation: t.resetValidation,
7176
7176
  commitValidation: t.commitValidation
@@ -10264,7 +10264,7 @@ Defaulting to \`null\`.`;
10264
10264
  function Q(e2) {
10265
10265
  e2 = $f62d864046160412$export$4f5203c0d889109e(e2, s, c), A(e2);
10266
10266
  }
10267
- function cq(t2) {
10267
+ function $(t2) {
10268
10268
  if (!e.isDisabled && !e.isReadOnly) {
10269
10269
  let e2 = t2;
10270
10270
  if (e2 === null) {
@@ -10275,12 +10275,12 @@ Defaulting to \`null\`.`;
10275
10275
  e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
10276
10276
  }
10277
10277
  }
10278
- let lq = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10278
+ let Tq = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10279
10279
  w,
10280
10280
  f,
10281
10281
  s,
10282
10282
  c
10283
- ]), uq = e.isInvalid || e.validationState === "invalid" || lq, dq = uq ? "invalid" : null, $ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10283
+ ]), Eq = e.isInvalid || e.validationState === "invalid" || Tq, Dq = Eq ? "invalid" : null, Oq = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10284
10284
  h,
10285
10285
  o
10286
10286
  ]);
@@ -10288,7 +10288,7 @@ Defaulting to \`null\`.`;
10288
10288
  isDisabled: e.isDisabled ?? false,
10289
10289
  isReadOnly: e.isReadOnly ?? false,
10290
10290
  value: w,
10291
- setValue: cq,
10291
+ setValue: $,
10292
10292
  visibleRange: {
10293
10293
  start: M,
10294
10294
  end: K
@@ -10297,8 +10297,8 @@ Defaulting to \`null\`.`;
10297
10297
  maxValue: c,
10298
10298
  focusedDate: O,
10299
10299
  timeZone: E,
10300
- validationState: dq,
10301
- isValueInvalid: uq,
10300
+ validationState: Dq,
10301
+ isValueInvalid: Eq,
10302
10302
  setFocusedDate(e2) {
10303
10303
  Q(e2);
10304
10304
  },
@@ -10323,12 +10323,12 @@ Defaulting to \`null\`.`;
10323
10323
  }));
10324
10324
  },
10325
10325
  focusNextPage() {
10326
- let e2 = M.add($);
10327
- A($f62d864046160412$export$4f5203c0d889109e(O.add($), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, $, i, s, c), $, i));
10326
+ let e2 = M.add(Oq);
10327
+ A($f62d864046160412$export$4f5203c0d889109e(O.add(Oq), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, Oq, i, s, c), Oq, i));
10328
10328
  },
10329
10329
  focusPreviousPage() {
10330
- let e2 = M.subtract($);
10331
- A($f62d864046160412$export$4f5203c0d889109e(O.subtract($), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, $, i, s, c), $, i));
10330
+ let e2 = M.subtract(Oq);
10331
+ A($f62d864046160412$export$4f5203c0d889109e(O.subtract(Oq), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, Oq, i, s, c), Oq, i));
10332
10332
  },
10333
10333
  focusSectionStart() {
10334
10334
  o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
@@ -10359,10 +10359,10 @@ Defaulting to \`null\`.`;
10359
10359
  }));
10360
10360
  },
10361
10361
  selectFocusedDate() {
10362
- f && f(O) || cq(O);
10362
+ f && f(O) || $(O);
10363
10363
  },
10364
10364
  selectDate(e2) {
10365
- cq(e2);
10365
+ $(e2);
10366
10366
  },
10367
10367
  isFocused: z,
10368
10368
  setFocused: U,
@@ -10465,13 +10465,13 @@ Defaulting to \`null\`.`;
10465
10465
  end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
10466
10466
  }), q(null);
10467
10467
  }
10468
- }, [cq, lq] = (0, import_react.useState)(false), { isDateUnavailable: uq } = e, dq = (0, import_react.useMemo)(() => !h || v ? false : uq && (uq(h.start) || uq(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10469
- uq,
10468
+ }, [$, Tq] = (0, import_react.useState)(false), { isDateUnavailable: Eq } = e, Dq = (0, import_react.useMemo)(() => !h || v ? false : Eq && (Eq(h.start) || Eq(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10469
+ Eq,
10470
10470
  h,
10471
10471
  v,
10472
10472
  c,
10473
10473
  d
10474
- ]), $ = e.isInvalid || e.validationState === "invalid" || dq, fq = $ ? "invalid" : null;
10474
+ ]), Oq = e.isInvalid || e.validationState === "invalid" || Dq, kq = Oq ? "invalid" : null;
10475
10475
  return {
10476
10476
  ...I,
10477
10477
  value: h,
@@ -10479,8 +10479,8 @@ Defaulting to \`null\`.`;
10479
10479
  anchorDate: v,
10480
10480
  setAnchorDate: q,
10481
10481
  highlightedRange: J,
10482
- validationState: fq,
10483
- isValueInvalid: $,
10482
+ validationState: kq,
10483
+ isValueInvalid: Oq,
10484
10484
  selectFocusedDate() {
10485
10485
  Q(I.focusedDate);
10486
10486
  },
@@ -10495,8 +10495,8 @@ Defaulting to \`null\`.`;
10495
10495
  var _a2, _b;
10496
10496
  return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
10497
10497
  },
10498
- isDragging: cq,
10499
- setDragging: lq
10498
+ isDragging: $,
10499
+ setDragging: Tq
10500
10500
  };
10501
10501
  }
10502
10502
  function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
@@ -11678,12 +11678,12 @@ Defaulting to \`null\`.`;
11678
11678
  q
11679
11679
  ]), Q = (0, import_react.useMemo)(() => J.resolvedOptions(), [
11680
11680
  J
11681
- ]), cq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11681
+ ]), $ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11682
11682
  e.placeholderValue,
11683
11683
  _,
11684
11684
  S,
11685
11685
  v
11686
- ]), lq = (0, import_react.useMemo)(() => {
11686
+ ]), Tq = (0, import_react.useMemo)(() => {
11687
11687
  let t2 = w === "h11" || w === "h12", n2 = [
11688
11688
  "era",
11689
11689
  "year",
@@ -11701,15 +11701,15 @@ Defaulting to \`null\`.`;
11701
11701
  e.maxGranularity,
11702
11702
  _,
11703
11703
  w
11704
- ]), [uq, dq] = (0, import_react.useState)(M), [$, fq] = (0, import_react.useState)(S), [pq, mq] = (0, import_react.useState)(w);
11705
- (M !== uq || w !== pq || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, $)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), dq(M), fq(S), mq(w), z(I));
11706
- let hq = (t2) => {
11707
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(lq)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11704
+ ]), [Eq, Dq] = (0, import_react.useState)(M), [Oq, kq] = (0, import_react.useState)(S), [Aq, jq] = (0, import_react.useState)(w);
11705
+ (M !== Eq || w !== Aq || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, Oq)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), Dq(M), kq(S), jq(w), z(I));
11706
+ let Mq = (t2) => {
11707
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(Tq)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11708
11708
  else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
11709
11709
  else {
11710
- if (t2.isComplete(lq)) {
11711
- let e2 = t2.toValue(M ?? cq);
11712
- if (t2.validate(e2, lq)) {
11710
+ if (t2.isComplete(Tq)) {
11711
+ let e2 = t2.toValue(M ?? $);
11712
+ if (t2.validate(e2, Tq)) {
11713
11713
  let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11714
11714
  if (!E || t3.compare(E) !== 0) {
11715
11715
  z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
@@ -11719,83 +11719,83 @@ Defaulting to \`null\`.`;
11719
11719
  }
11720
11720
  z(t2);
11721
11721
  }
11722
- }, gq = (0, import_react.useMemo)(() => I.toValue(M ?? cq).toDate(y), [
11722
+ }, Nq = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11723
11723
  I,
11724
11724
  y,
11725
11725
  M,
11726
- cq
11727
- ]), _q = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(gq, I, J, Q, S, t, _), [
11728
- gq,
11726
+ $
11727
+ ]), Pq = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(Nq, I, J, Q, S, t, _), [
11728
+ Nq,
11729
11729
  J,
11730
11730
  Q,
11731
11731
  I,
11732
11732
  S,
11733
11733
  t,
11734
11734
  _
11735
- ]), vq = (e2, t2) => {
11736
- hq(I.cycle(e2, t2, cq, lq));
11737
- }, yq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11735
+ ]), Fq = (e2, t2) => {
11736
+ Mq(I.cycle(e2, t2, $, Tq));
11737
+ }, Iq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11738
11738
  E,
11739
11739
  c,
11740
11740
  d,
11741
11741
  f,
11742
11742
  K
11743
- ]), bq = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11743
+ ]), Lq = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11744
11744
  ...e,
11745
11745
  value: E,
11746
- builtinValidation: yq
11747
- }), xq = bq.displayValidation.isInvalid, Sq = e.validationState || (xq ? "invalid" : null);
11746
+ builtinValidation: Iq
11747
+ }), Rq = Lq.displayValidation.isInvalid, zq = e.validationState || (Rq ? "invalid" : null);
11748
11748
  return {
11749
- ...bq,
11749
+ ...Lq,
11750
11750
  value: M,
11751
11751
  defaultValue: e.defaultValue ?? A,
11752
- dateValue: gq,
11752
+ dateValue: Nq,
11753
11753
  calendar: S,
11754
- setValue: hq,
11755
- segments: _q,
11754
+ setValue: Mq,
11755
+ segments: Pq,
11756
11756
  dateFormatter: J,
11757
- validationState: Sq,
11758
- isInvalid: xq,
11757
+ validationState: zq,
11758
+ isInvalid: Rq,
11759
11759
  granularity: _,
11760
11760
  maxGranularity: e.maxGranularity ?? "year",
11761
11761
  isDisabled: a,
11762
11762
  isReadOnly: o,
11763
11763
  isRequired: s,
11764
11764
  increment(e2) {
11765
- vq(e2, 1);
11765
+ Fq(e2, 1);
11766
11766
  },
11767
11767
  decrement(e2) {
11768
- vq(e2, -1);
11768
+ Fq(e2, -1);
11769
11769
  },
11770
11770
  incrementPage(e2) {
11771
- vq(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11771
+ Fq(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11772
11772
  },
11773
11773
  decrementPage(e2) {
11774
- vq(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11774
+ Fq(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11775
11775
  },
11776
11776
  incrementToMax(e2) {
11777
11777
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11778
- hq(I.set(e2, t2, cq));
11778
+ Mq(I.set(e2, t2, $));
11779
11779
  },
11780
11780
  decrementToMin(e2) {
11781
11781
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11782
- hq(I.set(e2, t2, cq));
11782
+ Mq(I.set(e2, t2, $));
11783
11783
  },
11784
11784
  setSegment(e2, t2) {
11785
- hq(I.set(e2, t2, cq));
11785
+ Mq(I.set(e2, t2, $));
11786
11786
  },
11787
11787
  confirmPlaceholder() {
11788
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(lq)) {
11789
- let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? cq), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11788
+ if (!(e.isDisabled || e.isReadOnly) && I.isComplete(Tq)) {
11789
+ let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11790
11790
  (!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
11791
11791
  }
11792
11792
  },
11793
11793
  clearSegment(e2) {
11794
11794
  let t2 = I;
11795
- e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), hq(t2);
11795
+ e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), Mq(t2);
11796
11796
  },
11797
11797
  formatValue(e2) {
11798
- return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(gq) : "";
11798
+ return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(Nq) : "";
11799
11799
  },
11800
11800
  getDateFormatter(e2, t2) {
11801
11801
  return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
@@ -11915,7 +11915,7 @@ Defaulting to \`null\`.`;
11915
11915
  e.endName
11916
11916
  ]),
11917
11917
  builtinValidation: J
11918
- }), cq = Q.displayValidation.isInvalid, lq = e.validationState || (cq ? "invalid" : null);
11918
+ }), $ = Q.displayValidation.isInvalid, Tq = e.validationState || ($ ? "invalid" : null);
11919
11919
  return {
11920
11920
  ...Q,
11921
11921
  value: c,
@@ -11961,8 +11961,8 @@ Defaulting to \`null\`.`;
11961
11961
  end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
11962
11962
  }), t.setOpen(n2);
11963
11963
  },
11964
- validationState: lq,
11965
- isInvalid: cq,
11964
+ validationState: Tq,
11965
+ isInvalid: $,
11966
11966
  formatValue(t2, n2) {
11967
11967
  if (!c || !c.start || !c.end) return null;
11968
11968
  let i2 = "timeZone" in c.start ? c.start.timeZone : void 0, a2 = e.granularity || (c.start && "minute" in c.start ? "minute" : "day"), o2 = "timeZone" in c.end ? c.end.timeZone : void 0, s2 = e.granularity || (c.end && "minute" in c.end ? "minute" : "day"), d2 = $35a22f14a1f04b11$export$7e319ea407e63bc0(n2, {
@@ -13918,9 +13918,9 @@ Defaulting to \`null\`.`;
13918
13918
  t,
13919
13919
  i.name
13920
13920
  ]), null;
13921
- }), import_compiler_runtime$63 = require_compiler_runtime();
13921
+ }), import_compiler_runtime$64 = require_compiler_runtime();
13922
13922
  EmotionCacheProvider = (e) => {
13923
- let t = (0, import_compiler_runtime$63.c)(6), { container: n, children: i } = e, a;
13923
+ let t = (0, import_compiler_runtime$64.c)(6), { container: n, children: i } = e, a;
13924
13924
  bb0: {
13925
13925
  if (!n) {
13926
13926
  let e3;
@@ -15833,33 +15833,33 @@ try {
15833
15833
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
15834
15834
  function y(e2) {
15835
15835
  var _a2, _b, _c, _d;
15836
- let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), cq = !!Q && !I, lq = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15836
+ let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I, Tq = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15837
15837
  h2
15838
- ]), uq = lq[t], dq = uq || lq, { colorSchemes: $ = _, components: fq = v, cssVarPrefix: pq } = dq, mq = Object.keys($).filter((e3) => !!$[e3]).join(","), hq = import_react.useMemo(() => mq.split(","), [
15839
- mq
15840
- ]), gq = typeof s == "string" ? s : s.light, _q = typeof s == "string" ? s : s.dark, { mode: vq, setMode: yq, systemMode: bq, lightColorScheme: xq, darkColorScheme: Sq, colorScheme: Cq, setColorScheme: wq } = useCurrentColorScheme({
15841
- supportedColorSchemes: hq,
15842
- defaultLightColorScheme: gq,
15843
- defaultDarkColorScheme: _q,
15838
+ ]), Eq = Tq[t], Dq = Eq || Tq, { colorSchemes: Oq = _, components: kq = v, cssVarPrefix: Aq } = Dq, jq = Object.keys(Oq).filter((e3) => !!Oq[e3]).join(","), Mq = import_react.useMemo(() => jq.split(","), [
15839
+ jq
15840
+ ]), Nq = typeof s == "string" ? s : s.light, Pq = typeof s == "string" ? s : s.dark, { mode: Fq, setMode: Iq, systemMode: Lq, lightColorScheme: Rq, darkColorScheme: zq, colorScheme: Bq, setColorScheme: Vq } = useCurrentColorScheme({
15841
+ supportedColorSchemes: Mq,
15842
+ defaultLightColorScheme: Nq,
15843
+ defaultDarkColorScheme: Pq,
15844
15844
  modeStorageKey: y2,
15845
15845
  colorSchemeStorageKey: S2,
15846
- defaultMode: $[gq] && $[_q] ? U : ((_b = (_a2 = $[dq.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = dq.palette) == null ? void 0 : _c.mode),
15846
+ defaultMode: Oq[Nq] && Oq[Pq] ? U : ((_b = (_a2 = Oq[Dq.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = Dq.palette) == null ? void 0 : _c.mode),
15847
15847
  storageManager: E,
15848
15848
  storageWindow: O,
15849
15849
  noSsr: K
15850
- }), Tq = vq, Eq = Cq;
15851
- cq && (Tq = Q.mode, Eq = Q.colorScheme);
15852
- let Dq = import_react.useMemo(() => {
15850
+ }), Hq = Fq, Uq = Bq;
15851
+ $ && (Hq = Q.mode, Uq = Q.colorScheme);
15852
+ let Wq = import_react.useMemo(() => {
15853
15853
  var _a3;
15854
- let e3 = Eq || dq.defaultColorScheme, t2 = ((_a3 = dq.generateThemeVars) == null ? void 0 : _a3.call(dq)) || dq.vars, n2 = {
15855
- ...dq,
15856
- components: fq,
15857
- colorSchemes: $,
15858
- cssVarPrefix: pq,
15854
+ let e3 = Uq || Dq.defaultColorScheme, t2 = ((_a3 = Dq.generateThemeVars) == null ? void 0 : _a3.call(Dq)) || Dq.vars, n2 = {
15855
+ ...Dq,
15856
+ components: kq,
15857
+ colorSchemes: Oq,
15858
+ cssVarPrefix: Aq,
15859
15859
  vars: t2
15860
15860
  };
15861
15861
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
15862
- let t3 = $[e3];
15862
+ let t3 = Oq[e3];
15863
15863
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
15864
15864
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
15865
15865
  ...n2[e4],
@@ -15869,31 +15869,31 @@ try {
15869
15869
  }
15870
15870
  return c ? c(n2) : n2;
15871
15871
  }, [
15872
- dq,
15873
- Eq,
15874
- fq,
15875
- $,
15876
- pq
15877
- ]), Oq = dq.colorSchemeSelector;
15872
+ Dq,
15873
+ Uq,
15874
+ kq,
15875
+ Oq,
15876
+ Aq
15877
+ ]), Gq = Dq.colorSchemeSelector;
15878
15878
  useEnhancedEffect_default(() => {
15879
- if (Eq && M && Oq && Oq !== "media") {
15880
- let e3 = Oq, t2 = Oq;
15881
- if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...hq.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", Eq));
15879
+ if (Uq && M && Gq && Gq !== "media") {
15880
+ let e3 = Gq, t2 = Gq;
15881
+ if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...Mq.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", Uq));
15882
15882
  else {
15883
- let e4 = t2.replace("%s", Eq).match(/\[([^\]]+)\]/);
15883
+ let e4 = t2.replace("%s", Uq).match(/\[([^\]]+)\]/);
15884
15884
  if (e4) {
15885
15885
  let [t3, n2] = e4[1].split("=");
15886
- n2 || hq.forEach((e5) => {
15887
- M.removeAttribute(t3.replace(Eq, e5));
15886
+ n2 || Mq.forEach((e5) => {
15887
+ M.removeAttribute(t3.replace(Uq, e5));
15888
15888
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
15889
- } else M.setAttribute(t2, Eq);
15889
+ } else M.setAttribute(t2, Uq);
15890
15890
  }
15891
15891
  }
15892
15892
  }, [
15893
- Eq,
15894
- Oq,
15893
+ Uq,
15894
+ Gq,
15895
15895
  M,
15896
- hq
15896
+ Mq
15897
15897
  ]), import_react.useEffect(() => {
15898
15898
  let e3;
15899
15899
  if (w2 && q.current && A) {
@@ -15906,48 +15906,48 @@ try {
15906
15906
  clearTimeout(e3);
15907
15907
  };
15908
15908
  }, [
15909
- Eq,
15909
+ Uq,
15910
15910
  w2,
15911
15911
  A
15912
15912
  ]), import_react.useEffect(() => (q.current = true, () => {
15913
15913
  q.current = false;
15914
15914
  }), []);
15915
- let kq = import_react.useMemo(() => ({
15916
- allColorSchemes: hq,
15917
- colorScheme: Eq,
15918
- darkColorScheme: Sq,
15919
- lightColorScheme: xq,
15920
- mode: Tq,
15921
- setColorScheme: wq,
15922
- setMode: yq,
15923
- systemMode: bq
15915
+ let Kq = import_react.useMemo(() => ({
15916
+ allColorSchemes: Mq,
15917
+ colorScheme: Uq,
15918
+ darkColorScheme: zq,
15919
+ lightColorScheme: Rq,
15920
+ mode: Hq,
15921
+ setColorScheme: Vq,
15922
+ setMode: Iq,
15923
+ systemMode: Lq
15924
15924
  }), [
15925
- hq,
15926
- Eq,
15927
- Sq,
15928
- xq,
15929
- Tq,
15930
- wq,
15931
- yq,
15932
- bq,
15933
- Dq.colorSchemeSelector
15934
- ]), Aq = true;
15935
- (z || dq.cssVariables === false || cq && (J == null ? void 0 : J.cssVarPrefix) === pq) && (Aq = false);
15936
- let jq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15925
+ Mq,
15926
+ Uq,
15927
+ zq,
15928
+ Rq,
15929
+ Hq,
15930
+ Vq,
15931
+ Iq,
15932
+ Lq,
15933
+ Wq.colorSchemeSelector
15934
+ ]), qq = true;
15935
+ (z || Dq.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === Aq) && (qq = false);
15936
+ let Jq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15937
15937
  children: [
15938
15938
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
15939
- themeId: uq ? t : void 0,
15940
- theme: Dq,
15939
+ themeId: Eq ? t : void 0,
15940
+ theme: Wq,
15941
15941
  children: d2
15942
15942
  }),
15943
- Aq && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15944
- styles: ((_d = Dq.generateStyleSheets) == null ? void 0 : _d.call(Dq)) || []
15943
+ qq && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15944
+ styles: ((_d = Wq.generateStyleSheets) == null ? void 0 : _d.call(Wq)) || []
15945
15945
  })
15946
15946
  ]
15947
15947
  });
15948
- return cq ? jq : (0, import_jsx_runtime.jsx)(f.Provider, {
15949
- value: kq,
15950
- children: jq
15948
+ return $ ? Jq : (0, import_jsx_runtime.jsx)(f.Provider, {
15949
+ value: Kq,
15950
+ children: Jq
15951
15951
  });
15952
15952
  }
15953
15953
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -17447,10 +17447,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17447
17447
  let n = useDefaultProps({
17448
17448
  props: e,
17449
17449
  name: "MuiInputBase"
17450
- }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: cq, onFocus: lq, onKeyDown: uq, onKeyUp: dq, placeholder: $, readOnly: fq, renderSuffix: pq, rows: mq, size: hq, slotProps: gq = {}, slots: _q = {}, startAdornment: vq, type: yq = "text", value: bq, ...xq } = n, Sq = A.value == null ? bq : A.value, { current: Cq } = import_react.useRef(Sq != null), wq = import_react.useRef(), Tq = import_react.useCallback((e2) => {
17451
- }, []), Eq = useForkRef_default(wq, M, A.ref, Tq), [Dq, Oq] = import_react.useState(false), kq = useFormControl(), Aq = formControlState({
17450
+ }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus: Tq, onKeyDown: Eq, onKeyUp: Dq, placeholder: Oq, readOnly: kq, renderSuffix: Aq, rows: jq, size: Mq, slotProps: Nq = {}, slots: Pq = {}, startAdornment: Fq, type: Iq = "text", value: Lq, ...Rq } = n, zq = A.value == null ? Lq : A.value, { current: Bq } = import_react.useRef(zq != null), Vq = import_react.useRef(), Hq = import_react.useCallback((e2) => {
17451
+ }, []), Uq = useForkRef_default(Vq, M, A.ref, Hq), [Wq, Gq] = import_react.useState(false), Kq = useFormControl(), qq = formControlState({
17452
17452
  props: n,
17453
- muiFormControl: kq,
17453
+ muiFormControl: Kq,
17454
17454
  states: [
17455
17455
  "color",
17456
17456
  "disabled",
@@ -17461,145 +17461,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17461
17461
  "filled"
17462
17462
  ]
17463
17463
  });
17464
- Aq.focused = kq ? kq.focused : Dq, import_react.useEffect(() => {
17465
- !kq && _ && Dq && (Oq(false), J && J());
17464
+ qq.focused = Kq ? Kq.focused : Wq, import_react.useEffect(() => {
17465
+ !Kq && _ && Wq && (Gq(false), J && J());
17466
17466
  }, [
17467
- kq,
17467
+ Kq,
17468
17468
  _,
17469
- Dq,
17469
+ Wq,
17470
17470
  J
17471
17471
  ]);
17472
- let jq = kq && kq.onFilled, Mq = kq && kq.onEmpty, Nq = import_react.useCallback((e2) => {
17473
- isFilled(e2) ? jq && jq() : Mq && Mq();
17472
+ let Jq = Kq && Kq.onFilled, Yq = Kq && Kq.onEmpty, Xq = import_react.useCallback((e2) => {
17473
+ isFilled(e2) ? Jq && Jq() : Yq && Yq();
17474
17474
  }, [
17475
- jq,
17476
- Mq
17475
+ Jq,
17476
+ Yq
17477
17477
  ]);
17478
17478
  useEnhancedEffect_default$1(() => {
17479
- Cq && Nq({
17480
- value: Sq
17479
+ Bq && Xq({
17480
+ value: zq
17481
17481
  });
17482
17482
  }, [
17483
- Sq,
17484
- Nq,
17485
- Cq
17483
+ zq,
17484
+ Xq,
17485
+ Bq
17486
17486
  ]);
17487
- let Pq = (e2) => {
17488
- lq && lq(e2), A.onFocus && A.onFocus(e2), kq && kq.onFocus ? kq.onFocus(e2) : Oq(true);
17489
- }, Fq = (e2) => {
17490
- J && J(e2), A.onBlur && A.onBlur(e2), kq && kq.onBlur ? kq.onBlur(e2) : Oq(false);
17491
- }, Iq = (e2, ...t2) => {
17492
- if (!Cq) {
17493
- let t3 = e2.target || wq.current;
17487
+ let Zq = (e2) => {
17488
+ Tq && Tq(e2), A.onFocus && A.onFocus(e2), Kq && Kq.onFocus ? Kq.onFocus(e2) : Gq(true);
17489
+ }, Qq = (e2) => {
17490
+ J && J(e2), A.onBlur && A.onBlur(e2), Kq && Kq.onBlur ? Kq.onBlur(e2) : Gq(false);
17491
+ }, $q = (e2, ...t2) => {
17492
+ if (!Bq) {
17493
+ let t3 = e2.target || Vq.current;
17494
17494
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
17495
- Nq({
17495
+ Xq({
17496
17496
  value: t3.value
17497
17497
  });
17498
17498
  }
17499
17499
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
17500
17500
  };
17501
17501
  import_react.useEffect(() => {
17502
- Nq(wq.current);
17502
+ Xq(Vq.current);
17503
17503
  }, []);
17504
- let Lq = (e2) => {
17505
- wq.current && e2.currentTarget === e2.target && wq.current.focus(), cq && cq(e2);
17506
- }, Rq = O, zq = A;
17507
- K && Rq === "input" && (zq = mq ? {
17504
+ let eJ = (e2) => {
17505
+ Vq.current && e2.currentTarget === e2.target && Vq.current.focus(), $ && $(e2);
17506
+ }, tJ = O, nJ = A;
17507
+ K && tJ === "input" && (nJ = jq ? {
17508
17508
  type: void 0,
17509
- minRows: mq,
17510
- maxRows: mq,
17511
- ...zq
17509
+ minRows: jq,
17510
+ maxRows: jq,
17511
+ ...nJ
17512
17512
  } : {
17513
17513
  type: void 0,
17514
17514
  maxRows: z,
17515
17515
  minRows: U,
17516
- ...zq
17517
- }, Rq = TextareaAutosize_default);
17518
- let Bq = (e2) => {
17519
- Nq(e2.animationName === "mui-auto-fill-cancel" ? wq.current : {
17516
+ ...nJ
17517
+ }, tJ = TextareaAutosize_default);
17518
+ let rJ = (e2) => {
17519
+ Xq(e2.animationName === "mui-auto-fill-cancel" ? Vq.current : {
17520
17520
  value: "x"
17521
17521
  });
17522
17522
  };
17523
17523
  import_react.useEffect(() => {
17524
- kq && kq.setAdornedStart(!!vq);
17524
+ Kq && Kq.setAdornedStart(!!Fq);
17525
17525
  }, [
17526
- kq,
17527
- vq
17526
+ Kq,
17527
+ Fq
17528
17528
  ]);
17529
- let Vq = {
17529
+ let iJ = {
17530
17530
  ...n,
17531
- color: Aq.color || "primary",
17532
- disabled: Aq.disabled,
17531
+ color: qq.color || "primary",
17532
+ disabled: qq.disabled,
17533
17533
  endAdornment: y,
17534
- error: Aq.error,
17535
- focused: Aq.focused,
17536
- formControl: kq,
17534
+ error: qq.error,
17535
+ focused: qq.focused,
17536
+ formControl: Kq,
17537
17537
  fullWidth: w,
17538
- hiddenLabel: Aq.hiddenLabel,
17538
+ hiddenLabel: qq.hiddenLabel,
17539
17539
  multiline: K,
17540
- size: Aq.size,
17541
- startAdornment: vq,
17542
- type: yq
17543
- }, Hq = useUtilityClasses(Vq), Uq = _q.root || d.Root || InputBaseRoot, Wq = gq.root || f.root || {}, Gq = _q.input || d.Input || InputBaseInput;
17544
- return zq = {
17545
- ...zq,
17546
- ...gq.input ?? f.input
17540
+ size: qq.size,
17541
+ startAdornment: Fq,
17542
+ type: Iq
17543
+ }, aJ = useUtilityClasses(iJ), oJ = Pq.root || d.Root || InputBaseRoot, sJ = Nq.root || f.root || {}, cJ = Pq.input || d.Input || InputBaseInput;
17544
+ return nJ = {
17545
+ ...nJ,
17546
+ ...Nq.input ?? f.input
17547
17547
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
17548
17548
  children: [
17549
17549
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
17550
- (0, import_jsx_runtime.jsxs)(Uq, {
17551
- ...Wq,
17550
+ (0, import_jsx_runtime.jsxs)(oJ, {
17551
+ ...sJ,
17552
17552
  ref: t,
17553
- onClick: Lq,
17554
- ...xq,
17555
- ...!isHostComponent_default(Uq) && {
17553
+ onClick: eJ,
17554
+ ...Rq,
17555
+ ...!isHostComponent_default(oJ) && {
17556
17556
  ownerState: {
17557
- ...Vq,
17558
- ...Wq.ownerState
17557
+ ...iJ,
17558
+ ...sJ.ownerState
17559
17559
  }
17560
17560
  },
17561
- className: clsx_default(Hq.root, Wq.className, s, fq && "MuiInputBase-readOnly"),
17561
+ className: clsx_default(aJ.root, sJ.className, s, kq && "MuiInputBase-readOnly"),
17562
17562
  children: [
17563
- vq,
17563
+ Fq,
17564
17564
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
17565
17565
  value: null,
17566
- children: (0, import_jsx_runtime.jsx)(Gq, {
17567
- "aria-invalid": Aq.error,
17566
+ children: (0, import_jsx_runtime.jsx)(cJ, {
17567
+ "aria-invalid": qq.error,
17568
17568
  "aria-describedby": i,
17569
17569
  autoComplete: a,
17570
17570
  autoFocus: o,
17571
17571
  defaultValue: h,
17572
- disabled: Aq.disabled,
17572
+ disabled: qq.disabled,
17573
17573
  id: E,
17574
- onAnimationStart: Bq,
17574
+ onAnimationStart: rJ,
17575
17575
  name: q,
17576
- placeholder: $,
17577
- readOnly: fq,
17578
- required: Aq.required,
17579
- rows: mq,
17580
- value: Sq,
17581
- onKeyDown: uq,
17582
- onKeyUp: dq,
17583
- type: yq,
17584
- ...zq,
17585
- ...!isHostComponent_default(Gq) && {
17586
- as: Rq,
17576
+ placeholder: Oq,
17577
+ readOnly: kq,
17578
+ required: qq.required,
17579
+ rows: jq,
17580
+ value: zq,
17581
+ onKeyDown: Eq,
17582
+ onKeyUp: Dq,
17583
+ type: Iq,
17584
+ ...nJ,
17585
+ ...!isHostComponent_default(cJ) && {
17586
+ as: tJ,
17587
17587
  ownerState: {
17588
- ...Vq,
17589
- ...zq.ownerState
17588
+ ...iJ,
17589
+ ...nJ.ownerState
17590
17590
  }
17591
17591
  },
17592
- ref: Eq,
17593
- className: clsx_default(Hq.input, zq.className, fq && "MuiInputBase-readOnly"),
17594
- onBlur: Fq,
17595
- onChange: Iq,
17596
- onFocus: Pq
17592
+ ref: Uq,
17593
+ className: clsx_default(aJ.input, nJ.className, kq && "MuiInputBase-readOnly"),
17594
+ onBlur: Qq,
17595
+ onChange: $q,
17596
+ onFocus: Zq
17597
17597
  })
17598
17598
  }),
17599
17599
  y,
17600
- pq ? pq({
17601
- ...Aq,
17602
- startAdornment: vq
17600
+ Aq ? Aq({
17601
+ ...qq,
17602
+ startAdornment: Fq
17603
17603
  }) : null
17604
17604
  ]
17605
17605
  })
@@ -18675,30 +18675,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18675
18675
  M,
18676
18676
  i,
18677
18677
  a
18678
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), cq = useJsonViewerStore((e2) => e2.onChange), lq = useTextColor(), uq = useJsonViewerStore((e2) => e2.colorspace.base0C), dq = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), fq = useJsonViewerStore((e2) => e2.quotesOnKeys), pq = useJsonViewerStore((e2) => e2.rootName), mq = U === t, hq = Number.isInteger(Number(A)), gq = useJsonViewerStore((e2) => e2.enableAdd), _q = useJsonViewerStore((e2) => e2.onAdd), vq = (0, import_react.useMemo)(() => !_q || a !== void 0 || gq === false || v === false ? false : typeof gq == "function" ? !!gq(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18679
- _q,
18678
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), Tq = useTextColor(), Eq = useJsonViewerStore((e2) => e2.colorspace.base0C), Dq = useJsonViewerStore((e2) => e2.colorspace.base0A), Oq = useJsonViewerStore((e2) => e2.displayComma), kq = useJsonViewerStore((e2) => e2.quotesOnKeys), Aq = useJsonViewerStore((e2) => e2.rootName), jq = U === t, Mq = Number.isInteger(Number(A)), Nq = useJsonViewerStore((e2) => e2.enableAdd), Pq = useJsonViewerStore((e2) => e2.onAdd), Fq = (0, import_react.useMemo)(() => !Pq || a !== void 0 || Nq === false || v === false ? false : typeof Nq == "function" ? !!Nq(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18679
+ Pq,
18680
18680
  a,
18681
18681
  i,
18682
- gq,
18682
+ Nq,
18683
18683
  v,
18684
18684
  t
18685
- ]), yq = useJsonViewerStore((e2) => e2.enableDelete), bq = useJsonViewerStore((e2) => e2.onDelete), xq = (0, import_react.useMemo)(() => !bq || a !== void 0 || mq || yq === false || v === false ? false : typeof yq == "function" ? !!yq(i, t) : yq, [
18686
- bq,
18685
+ ]), Iq = useJsonViewerStore((e2) => e2.enableDelete), Lq = useJsonViewerStore((e2) => e2.onDelete), Rq = (0, import_react.useMemo)(() => !Lq || a !== void 0 || jq || Iq === false || v === false ? false : typeof Iq == "function" ? !!Iq(i, t) : Iq, [
18686
+ Lq,
18687
18687
  a,
18688
- mq,
18688
+ jq,
18689
18689
  i,
18690
- yq,
18690
+ Iq,
18691
18691
  v,
18692
18692
  t
18693
- ]), Sq = useJsonViewerStore((e2) => e2.enableClipboard), { copy: Cq, copied: wq } = useClipboard(), Tq = useJsonViewerStore((e2) => e2.highlightUpdates), Eq = (0, import_react.useMemo)(() => !Tq || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
18694
- Tq,
18693
+ ]), zq = useJsonViewerStore((e2) => e2.enableClipboard), { copy: Bq, copied: Vq } = useClipboard(), Hq = useJsonViewerStore((e2) => e2.highlightUpdates), Uq = (0, import_react.useMemo)(() => !Hq || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
18694
+ Hq,
18695
18695
  n,
18696
18696
  t
18697
- ]), Dq = (0, import_react.useRef)();
18697
+ ]), Wq = (0, import_react.useRef)();
18698
18698
  (0, import_react.useEffect)(() => {
18699
- Dq.current && Eq && "animate" in Dq.current && Dq.current.animate([
18699
+ Wq.current && Uq && "animate" in Wq.current && Wq.current.animate([
18700
18700
  {
18701
- backgroundColor: dq
18701
+ backgroundColor: Dq
18702
18702
  },
18703
18703
  {
18704
18704
  backgroundColor: ""
@@ -18708,40 +18708,40 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18708
18708
  easing: "ease-in"
18709
18709
  });
18710
18710
  }, [
18711
- dq,
18712
- Eq,
18711
+ Dq,
18712
+ Uq,
18713
18713
  n,
18714
18714
  t
18715
18715
  ]);
18716
- let Oq = (0, import_react.useCallback)((e2) => {
18716
+ let Gq = (0, import_react.useCallback)((e2) => {
18717
18717
  e2.preventDefault(), h && E(h(t)), Q(true);
18718
18718
  }, [
18719
18719
  h,
18720
18720
  t
18721
- ]), kq = (0, import_react.useCallback)(() => {
18721
+ ]), Kq = (0, import_react.useCallback)(() => {
18722
18722
  Q(false), E("");
18723
18723
  }, [
18724
18724
  Q,
18725
18725
  E
18726
- ]), Aq = (0, import_react.useCallback)((e2) => {
18726
+ ]), qq = (0, import_react.useCallback)((e2) => {
18727
18727
  if (Q(false), _) try {
18728
- cq(i, t, _(e2));
18728
+ $(i, t, _(e2));
18729
18729
  } catch {
18730
18730
  }
18731
18731
  }, [
18732
18732
  Q,
18733
18733
  _,
18734
- cq,
18734
+ $,
18735
18735
  i,
18736
18736
  t
18737
- ]), jq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18737
+ ]), Jq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18738
18738
  children: [
18739
18739
  (0, import_jsx_runtime.jsx)(IconBox, {
18740
18740
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
18741
18741
  sx: {
18742
18742
  fontSize: ".8rem"
18743
18743
  },
18744
- onClick: kq
18744
+ onClick: Kq
18745
18745
  })
18746
18746
  }),
18747
18747
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -18749,22 +18749,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18749
18749
  sx: {
18750
18750
  fontSize: ".8rem"
18751
18751
  },
18752
- onClick: () => Aq(w)
18752
+ onClick: () => qq(w)
18753
18753
  })
18754
18754
  })
18755
18755
  ]
18756
18756
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18757
18757
  children: [
18758
- Sq && (0, import_jsx_runtime.jsx)(IconBox, {
18758
+ zq && (0, import_jsx_runtime.jsx)(IconBox, {
18759
18759
  onClick: (e2) => {
18760
18760
  e2.preventDefault();
18761
18761
  try {
18762
- Cq(i, t, copyString);
18762
+ Bq(i, t, copyString);
18763
18763
  } catch (e3) {
18764
18764
  console.error(e3);
18765
18765
  }
18766
18766
  },
18767
- children: wq ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18767
+ children: Vq ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18768
18768
  sx: {
18769
18769
  fontSize: ".8rem"
18770
18770
  }
@@ -18775,16 +18775,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18775
18775
  })
18776
18776
  }),
18777
18777
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
18778
- onClick: Oq,
18778
+ onClick: Gq,
18779
18779
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
18780
18780
  sx: {
18781
18781
  fontSize: ".8rem"
18782
18782
  }
18783
18783
  })
18784
18784
  }),
18785
- vq && (0, import_jsx_runtime.jsx)(IconBox, {
18785
+ Fq && (0, import_jsx_runtime.jsx)(IconBox, {
18786
18786
  onClick: (e2) => {
18787
- e2.preventDefault(), _q == null ? void 0 : _q(i);
18787
+ e2.preventDefault(), Pq == null ? void 0 : Pq(i);
18788
18788
  },
18789
18789
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
18790
18790
  sx: {
@@ -18792,9 +18792,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18792
18792
  }
18793
18793
  })
18794
18794
  }),
18795
- xq && (0, import_jsx_runtime.jsx)(IconBox, {
18795
+ Rq && (0, import_jsx_runtime.jsx)(IconBox, {
18796
18796
  onClick: (e2) => {
18797
- e2.preventDefault(), bq == null ? void 0 : bq(i, t);
18797
+ e2.preventDefault(), Lq == null ? void 0 : Lq(i, t);
18798
18798
  },
18799
18799
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
18800
18800
  sx: {
@@ -18807,24 +18807,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18807
18807
  f,
18808
18808
  h,
18809
18809
  _,
18810
- wq,
18811
- Cq,
18810
+ Vq,
18811
+ Bq,
18812
18812
  S,
18813
18813
  J,
18814
- Sq,
18815
- vq,
18816
- xq,
18814
+ zq,
18815
+ Fq,
18816
+ Rq,
18817
18817
  w,
18818
18818
  i,
18819
18819
  t,
18820
- _q,
18821
- bq,
18822
- Oq,
18823
- kq,
18824
- Aq
18825
- ]), Mq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18820
+ Pq,
18821
+ Lq,
18822
+ Gq,
18823
+ Kq,
18824
+ qq
18825
+ ]), Yq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18826
18826
  t
18827
- ]), Nq = !Mq && !!(c && d), Pq = useJsonViewerStore((e2) => e2.keyRenderer), Fq = (0, import_react.useMemo)(() => ({
18827
+ ]), Xq = !Yq && !!(c && d), Zq = useJsonViewerStore((e2) => e2.keyRenderer), Qq = (0, import_react.useMemo)(() => ({
18828
18828
  path: i,
18829
18829
  inspect: K,
18830
18830
  setInspect: q,
@@ -18856,18 +18856,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18856
18856
  className: "data-key",
18857
18857
  sx: {
18858
18858
  lineHeight: 1.5,
18859
- color: lq,
18859
+ color: Tq,
18860
18860
  letterSpacing: 0.5,
18861
18861
  opacity: 0.8
18862
18862
  },
18863
18863
  onClick: (0, import_react.useCallback)((e2) => {
18864
- e2.isDefaultPrevented() || Mq || q((e3) => !e3);
18864
+ e2.isDefaultPrevented() || Yq || q((e3) => !e3);
18865
18865
  }, [
18866
- Mq,
18866
+ Yq,
18867
18867
  q
18868
18868
  ]),
18869
18869
  children: [
18870
- Nq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18870
+ Xq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18871
18871
  className: "data-key-toggle-expanded",
18872
18872
  sx: {
18873
18873
  fontSize: ".8rem",
@@ -18885,27 +18885,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18885
18885
  }
18886
18886
  }) : null,
18887
18887
  (0, import_jsx_runtime.jsx)(Box_default, {
18888
- ref: Dq,
18888
+ ref: Wq,
18889
18889
  className: "data-key-key",
18890
18890
  component: "span",
18891
- children: mq && O === 0 ? pq === false ? null : fq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18891
+ children: jq && O === 0 ? Aq === false ? null : kq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18892
18892
  children: [
18893
18893
  '"',
18894
- pq,
18894
+ Aq,
18895
18895
  '"'
18896
18896
  ]
18897
18897
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
18898
- children: pq
18899
- }) : Pq.when(Fq) ? (0, import_jsx_runtime.jsx)(Pq, {
18900
- ...Fq
18901
- }) : a === void 0 && (hq ? (0, import_jsx_runtime.jsx)(Box_default, {
18898
+ children: Aq
18899
+ }) : Zq.when(Qq) ? (0, import_jsx_runtime.jsx)(Zq, {
18900
+ ...Qq
18901
+ }) : a === void 0 && (Mq ? (0, import_jsx_runtime.jsx)(Box_default, {
18902
18902
  component: "span",
18903
18903
  style: {
18904
- color: uq,
18905
- userSelect: hq ? "none" : "auto"
18904
+ color: Eq,
18905
+ userSelect: Mq ? "none" : "auto"
18906
18906
  },
18907
18907
  children: A
18908
- }) : fq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18908
+ }) : kq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18909
18909
  children: [
18910
18910
  '"',
18911
18911
  A,
@@ -18915,7 +18915,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18915
18915
  children: A
18916
18916
  }))
18917
18917
  }),
18918
- mq ? pq !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18918
+ jq ? Aq !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18919
18919
  className: "data-key-colon",
18920
18920
  sx: {
18921
18921
  mr: 0.5
@@ -18928,38 +18928,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18928
18928
  ".data-key-key:empty + &": {
18929
18929
  display: "none"
18930
18930
  },
18931
- userSelect: hq ? "none" : "auto"
18931
+ userSelect: Mq ? "none" : "auto"
18932
18932
  },
18933
18933
  children: ":"
18934
18934
  }),
18935
18935
  c && (0, import_jsx_runtime.jsx)(c, {
18936
- ...Fq
18936
+ ...Qq
18937
18937
  }),
18938
- I && Nq && K && jq
18938
+ I && Xq && K && Jq
18939
18939
  ]
18940
18940
  }),
18941
18941
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
18942
18942
  path: i,
18943
18943
  value: w,
18944
18944
  setValue: E,
18945
- abortEditing: kq,
18946
- commitEditing: Aq
18945
+ abortEditing: Kq,
18946
+ commitEditing: qq
18947
18947
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
18948
- ...Fq
18948
+ ...Qq
18949
18949
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
18950
18950
  component: "span",
18951
18951
  className: "data-value-fallback",
18952
18952
  children: `fallback: ${t}`
18953
18953
  }),
18954
18954
  d && (0, import_jsx_runtime.jsx)(d, {
18955
- ...Fq
18955
+ ...Qq
18956
18956
  }),
18957
- !o && $ && (0, import_jsx_runtime.jsx)(DataBox, {
18957
+ !o && Oq && (0, import_jsx_runtime.jsx)(DataBox, {
18958
18958
  children: ","
18959
18959
  }),
18960
- I && Nq && !K && jq,
18961
- I && !Nq && jq,
18962
- !I && J && jq
18960
+ I && Xq && !K && Jq,
18961
+ I && !Xq && Jq,
18962
+ !I && J && Jq
18963
18963
  ]
18964
18964
  });
18965
18965
  }, query = "(prefers-color-scheme: dark)";
@@ -19088,9 +19088,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19088
19088
  })
19089
19089
  })
19090
19090
  });
19091
- }, import_compiler_runtime$62 = require_compiler_runtime();
19091
+ }, import_compiler_runtime$63 = require_compiler_runtime();
19092
19092
  HtmlOutput = (0, import_react.memo)((e) => {
19093
- let t = (0, import_compiler_runtime$62.c)(10), { html: n, inline: i, className: o, alwaysSanitizeHtml: s } = e, c = i === void 0 ? false : i;
19093
+ let t = (0, import_compiler_runtime$63.c)(10), { html: n, inline: i, className: o, alwaysSanitizeHtml: s } = e, c = i === void 0 ? false : i;
19094
19094
  if (!n) return null;
19095
19095
  let d = !c, f;
19096
19096
  t[0] !== o || t[1] !== c || t[2] !== d ? (f = cn(o, {
@@ -19109,9 +19109,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19109
19109
  }), t[7] = f, t[8] = h, t[9] = _) : _ = t[9], _;
19110
19110
  });
19111
19111
  HtmlOutput.displayName = "HtmlOutput";
19112
- var import_compiler_runtime$61 = require_compiler_runtime();
19112
+ var import_compiler_runtime$62 = require_compiler_runtime();
19113
19113
  const ImageOutput = (e) => {
19114
- let t = (0, import_compiler_runtime$61.c)(8), { src: n, alt: i, width: a, height: o, className: s } = e, c = i === void 0 ? "" : i, d;
19114
+ let t = (0, import_compiler_runtime$62.c)(8), { src: n, alt: i, width: a, height: o, className: s } = e, c = i === void 0 ? "" : i, d;
19115
19115
  t[0] !== c || t[1] !== o || t[2] !== n || t[3] !== a ? (d = (0, import_jsx_runtime.jsx)("img", {
19116
19116
  src: n,
19117
19117
  alt: c,
@@ -19124,9 +19124,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19124
19124
  children: d
19125
19125
  }), t[5] = s, t[6] = d, t[7] = f) : f = t[7], f;
19126
19126
  };
19127
- var import_compiler_runtime$60 = require_compiler_runtime();
19127
+ var import_compiler_runtime$61 = require_compiler_runtime();
19128
19128
  Kbd = (e) => {
19129
- let t = (0, import_compiler_runtime$60.c)(5), n;
19129
+ let t = (0, import_compiler_runtime$61.c)(5), n;
19130
19130
  t[0] === e.className ? n = t[1] : (n = clsx_default(e.className, "rounded-md bg-muted/40 px-2 text-[0.75rem] font-prose center border border-foreground/20 text-muted-foreground block whitespace-nowrap"), t[0] = e.className, t[1] = n);
19131
19131
  let i;
19132
19132
  return t[2] !== e.children || t[3] !== n ? (i = (0, import_jsx_runtime.jsx)("kbd", {
@@ -19134,9 +19134,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19134
19134
  children: e.children
19135
19135
  }), t[2] = e.children, t[3] = n, t[4] = i) : i = t[4], i;
19136
19136
  };
19137
- var import_compiler_runtime$59 = require_compiler_runtime();
19137
+ var import_compiler_runtime$60 = require_compiler_runtime();
19138
19138
  const ExternalLink$1 = (e) => {
19139
- let t = (0, import_compiler_runtime$59.c)(3), { href: n, children: i } = e, a;
19139
+ let t = (0, import_compiler_runtime$60.c)(3), { href: n, children: i } = e, a;
19140
19140
  return t[0] !== i || t[1] !== n ? (a = (0, import_jsx_runtime.jsx)("a", {
19141
19141
  href: n,
19142
19142
  target: "_blank",
@@ -19323,17 +19323,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19323
19323
  os: "os",
19324
19324
  re: "re",
19325
19325
  sys: "sys"
19326
- }, import_compiler_runtime$58 = require_compiler_runtime(), fixModeAtom = atomWithStorage("marimo:ai-autofix-mode", "autofix", jotaiJsonStorage);
19326
+ }, import_compiler_runtime$59 = require_compiler_runtime(), fixModeAtom = atomWithStorage("marimo:ai-autofix-mode", "autofix", jotaiJsonStorage);
19327
19327
  function useFixMode() {
19328
- let e = (0, import_compiler_runtime$58.c)(3), [t, n] = useAtom(fixModeAtom), i;
19328
+ let e = (0, import_compiler_runtime$59.c)(3), [t, n] = useAtom(fixModeAtom), i;
19329
19329
  return e[0] !== t || e[1] !== n ? (i = {
19330
19330
  fixMode: t,
19331
19331
  setFixMode: n
19332
19332
  }, e[0] = t, e[1] = n, e[2] = i) : i = e[2], i;
19333
19333
  }
19334
- var import_compiler_runtime$57 = require_compiler_runtime();
19334
+ var import_compiler_runtime$58 = require_compiler_runtime();
19335
19335
  const AutoFixButton = (e) => {
19336
- let t = (0, import_compiler_runtime$57.c)(21), { errors: n, cellId: i, className: o } = e, s = useStore(), { createNewCell: c } = useCellActions(), d = useAtomValue(aiFeaturesEnabledAtom), f;
19336
+ let t = (0, import_compiler_runtime$58.c)(21), { errors: n, cellId: i, className: o } = e, s = useStore(), { createNewCell: c } = useCellActions(), d = useAtomValue(aiFeaturesEnabledAtom), f;
19337
19337
  if (t[0] !== d || t[1] !== n) {
19338
19338
  let e2;
19339
19339
  t[3] === d ? e2 = t[4] : (e2 = (e3) => getAutoFixes(e3, {
@@ -19394,7 +19394,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19394
19394
  };
19395
19395
  var PromptIcon = Sparkles, AutofixIcon = Wrench, PromptTitle = "Suggest a prompt", AutofixTitle = "Fix with AI";
19396
19396
  const AIFixButton = (e) => {
19397
- let t = (0, import_compiler_runtime$57.c)(21), { tooltip: n, openPrompt: i, applyAutofix: a } = e, { fixMode: o, setFixMode: s } = useFixMode(), c = o === "prompt" ? i : a, d;
19397
+ let t = (0, import_compiler_runtime$58.c)(21), { tooltip: n, openPrompt: i, applyAutofix: a } = e, { fixMode: o, setFixMode: s } = useFixMode(), c = o === "prompt" ? i : a, d;
19398
19398
  t[0] === o ? d = t[1] : (d = o === "prompt" ? (0, import_jsx_runtime.jsx)(PromptIcon, {
19399
19399
  className: "h-3 w-3 mr-2 mb-0.5"
19400
19400
  }) : (0, import_jsx_runtime.jsx)(AutofixIcon, {
@@ -19463,7 +19463,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19463
19463
  }), t[18] = O, t[19] = v, t[20] = A) : A = t[20], A;
19464
19464
  };
19465
19465
  var AiModeItem = (e) => {
19466
- let t = (0, import_compiler_runtime$57.c)(12), { mode: n } = e, i;
19466
+ let t = (0, import_compiler_runtime$58.c)(12), { mode: n } = e, i;
19467
19467
  t[0] === n ? i = t[1] : (i = n === "prompt" ? (0, import_jsx_runtime.jsx)(PromptIcon, {
19468
19468
  className: "h-4 w-4"
19469
19469
  }) : (0, import_jsx_runtime.jsx)(AutofixIcon, {
@@ -19500,9 +19500,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19500
19500
  function useFilename() {
19501
19501
  return useAtomValue(filenameAtom);
19502
19502
  }
19503
- var import_compiler_runtime$55 = require_compiler_runtime();
19503
+ var import_compiler_runtime$56 = require_compiler_runtime();
19504
19504
  const CellLink = (e) => {
19505
- let t = (0, import_compiler_runtime$55.c)(12), { className: n, cellId: i, variant: o, onClick: s, formatCellName: c, skipScroll: d } = e, f = useCellNames()[i] ?? "", h = useCellIds().inOrderIds.indexOf(i), { showCellIfHidden: _ } = useCellActions(), v = c ?? _temp$11, y;
19505
+ let t = (0, import_compiler_runtime$56.c)(12), { className: n, cellId: i, variant: o, onClick: s, formatCellName: c, skipScroll: d } = e, f = useCellNames()[i] ?? "", h = useCellIds().inOrderIds.indexOf(i), { showCellIfHidden: _ } = useCellActions(), v = c ?? _temp$12, y;
19506
19506
  t[0] === n ? y = t[1] : (y = cn("inline-block cursor-pointer text-link hover:underline", n), t[0] = n, t[1] = y);
19507
19507
  let S;
19508
19508
  t[2] !== i || t[3] !== s || t[4] !== _ || t[5] !== d || t[6] !== o ? (S = (e2) => {
@@ -19522,13 +19522,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19522
19522
  children: w
19523
19523
  }), t[8] = y, t[9] = S, t[10] = w, t[11] = E) : E = t[11], E;
19524
19524
  }, CellLinkError = (e) => {
19525
- let t = (0, import_compiler_runtime$55.c)(2), n;
19525
+ let t = (0, import_compiler_runtime$56.c)(2), n;
19526
19526
  return t[0] === e ? n = t[1] : (n = (0, import_jsx_runtime.jsx)(CellLink, {
19527
19527
  ...e,
19528
19528
  variant: "destructive"
19529
19529
  }), t[0] = e, t[1] = n), n;
19530
19530
  }, CellLinkTraceback = (e) => {
19531
- let t = (0, import_compiler_runtime$55.c)(10), { cellId: n, lineNumber: i } = e, a = useFilename(), o;
19531
+ let t = (0, import_compiler_runtime$56.c)(10), { cellId: n, lineNumber: i } = e, a = useFilename(), o;
19532
19532
  t[0] !== n || t[1] !== i ? (o = () => goToCellLine(n, i), t[0] = n, t[1] = i, t[2] = o) : o = t[2];
19533
19533
  let s;
19534
19534
  t[3] !== n || t[4] !== a ? (s = (e2) => n === "__scratch__" ? "scratch" : `marimo://${a || "untitled"}#cell=${e2}`, t[3] = n, t[4] = a, t[5] = s) : s = t[5];
@@ -19553,12 +19553,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19553
19553
  o.classList.remove("focus-outline");
19554
19554
  }, 2e3)), true);
19555
19555
  }
19556
- function _temp$11(e) {
19556
+ function _temp$12(e) {
19557
19557
  return e;
19558
19558
  }
19559
- var import_compiler_runtime$54 = require_compiler_runtime();
19559
+ var import_compiler_runtime$55 = require_compiler_runtime();
19560
19560
  const MangledLocalChip = (e) => {
19561
- let t = (0, import_compiler_runtime$54.c)(12), { local: n } = e, i;
19561
+ let t = (0, import_compiler_runtime$55.c)(12), { local: n } = e, i;
19562
19562
  t[0] === n.name ? i = t[1] : (i = (0, import_jsx_runtime.jsx)("span", {
19563
19563
  className: "font-code",
19564
19564
  children: n.name
@@ -19590,14 +19590,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19590
19590
  children: c
19591
19591
  }), t[9] = c, t[10] = s, t[11] = d) : d = t[11], d;
19592
19592
  }, MangledSegments = (e) => {
19593
- let t = (0, import_compiler_runtime$54.c)(4), { segments: n } = e, i;
19594
- t[0] === n ? i = t[1] : (i = n.map(_temp$10), t[0] = n, t[1] = i);
19593
+ let t = (0, import_compiler_runtime$55.c)(4), { segments: n } = e, i;
19594
+ t[0] === n ? i = t[1] : (i = n.map(_temp$11), t[0] = n, t[1] = i);
19595
19595
  let a;
19596
19596
  return t[2] === i ? a = t[3] : (a = (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
19597
19597
  children: i
19598
19598
  }), t[2] = i, t[3] = a), a;
19599
19599
  };
19600
- function _temp$10(e, t) {
19600
+ function _temp$11(e, t) {
19601
19601
  return typeof e == "string" ? (0, import_jsx_runtime.jsx)("span", {
19602
19602
  children: e
19603
19603
  }, t) : (0, import_jsx_runtime.jsx)(MangledLocalChip, {
@@ -19673,7 +19673,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19673
19673
  value: e2
19674
19674
  });
19675
19675
  }
19676
- var import_compiler_runtime$53 = require_compiler_runtime(), ansiUp = new AnsiUp();
19676
+ var import_compiler_runtime$54 = require_compiler_runtime(), ansiUp = new AnsiUp();
19677
19677
  const cleanAnsiCodes = (e) => {
19678
19678
  let t = RegExp("\x1B\\[[0-9;]*m", "g");
19679
19679
  return e.replaceAll(t, "");
@@ -19741,7 +19741,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19741
19741
  });
19742
19742
  }
19743
19743
  var InstallPackageLink = (e) => {
19744
- let t = (0, import_compiler_runtime$53.c)(6), { packages: n, children: i } = e, { handleInstallPackages: a } = useInstallPackages(), o;
19744
+ let t = (0, import_compiler_runtime$54.c)(6), { packages: n, children: i } = e, { handleInstallPackages: a } = useInstallPackages(), o;
19745
19745
  t[0] !== a || t[1] !== n ? (o = (e2) => {
19746
19746
  a(n), e2.preventDefault();
19747
19747
  }, t[0] = a, t[1] = n, t[2] = o) : o = t[2];
@@ -19814,15 +19814,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19814
19814
  })
19815
19815
  });
19816
19816
  RenderTextWithLinks = (e) => {
19817
- let t = (0, import_compiler_runtime$53.c)(4), { text: n } = e, i;
19817
+ let t = (0, import_compiler_runtime$54.c)(4), { text: n } = e, i;
19818
19818
  t[0] === n ? i = t[1] : (i = renderTextWithReplacers(n, composeReplacers(pipInstallReplacer, urlReplacer)), t[0] = n, t[1] = i);
19819
19819
  let a = i, o;
19820
19820
  return t[2] === a ? o = t[3] : (o = (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
19821
19821
  children: a
19822
19822
  }), t[2] = a, t[3] = o), o;
19823
19823
  };
19824
- var import_compiler_runtime$52 = require_compiler_runtime(), CollapsibleTraceback = (e) => {
19825
- let t = (0, import_compiler_runtime$52.c)(16), { traceback: n } = e, [i, a] = (0, import_react.useState)(true), o;
19824
+ var import_compiler_runtime$53 = require_compiler_runtime(), CollapsibleTraceback = (e) => {
19825
+ let t = (0, import_compiler_runtime$53.c)(16), { traceback: n } = e, [i, a] = (0, import_react.useState)(true), o;
19826
19826
  t[0] === i ? o = t[1] : (o = () => a(!i), t[0] = i, t[1] = o);
19827
19827
  let s = i ? "Collapse traceback" : "Expand traceback", c;
19828
19828
  t[2] === i ? c = t[3] : (c = i ? (0, import_jsx_runtime.jsx)(ChevronDown, {
@@ -19863,7 +19863,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19863
19863
  ]
19864
19864
  }), t[13] = f, t[14] = h, t[15] = _) : _ = t[15], _;
19865
19865
  }, Tip = (e) => {
19866
- let t = (0, import_compiler_runtime$52.c)(10), n = e.title ?? "Tip", i;
19866
+ let t = (0, import_compiler_runtime$53.c)(10), n = e.title ?? "Tip", i;
19867
19867
  t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)(AccordionTrigger, {
19868
19868
  className: "pt-2 pb-0 font-normal",
19869
19869
  children: n
@@ -19892,11 +19892,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19892
19892
  }), t[7] = e.className, t[8] = o, t[9] = s) : s = t[9], s;
19893
19893
  };
19894
19894
  const MarimoErrorOutput = (e) => {
19895
- let t = (0, import_compiler_runtime$52.c)(38), { errors: n, cellId: i, className: o } = e, s = useChromeActions(), c = useAtomValue(resolvedMarimoConfigAtom).display.cell_output === "above", d = "This cell wasn't run because it has errors", f = "destructive", _ = "text-error", v = null;
19896
- if (n.some(_temp$9)) d = "Interrupted";
19897
- else if (n.some(_temp2$7)) d = "An internal error occurred";
19898
- else if (n.some(_temp3$4)) d = "Ancestor prevented from running", f = "default", _ = "text-secondary-foreground";
19899
- else if (n.some(_temp4$4)) d = "Ancestor stopped", f = "default", _ = "text-secondary-foreground";
19895
+ let t = (0, import_compiler_runtime$53.c)(38), { errors: n, cellId: i, className: o } = e, s = useChromeActions(), c = useAtomValue(resolvedMarimoConfigAtom).display.cell_output === "above", d = "This cell wasn't run because it has errors", f = "destructive", _ = "text-error", v = null;
19896
+ if (n.some(_temp$10)) d = "Interrupted";
19897
+ else if (n.some(_temp2$8)) d = "An internal error occurred";
19898
+ else if (n.some(_temp3$5)) d = "Ancestor prevented from running", f = "default", _ = "text-secondary-foreground";
19899
+ else if (n.some(_temp4$5)) d = "Ancestor stopped", f = "default", _ = "text-secondary-foreground";
19900
19900
  else if (n.some(_temp5$3)) d = "SQL error";
19901
19901
  else if (n.some(_temp6$2)) d = null, v = "Cell not run";
19902
19902
  else {
@@ -19907,18 +19907,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19907
19907
  }
19908
19908
  let y, S, w, E, O, A;
19909
19909
  if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
19910
- let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), cq = n.filter(_temp15), lq = n.filter(_temp16), uq = n.filter(_temp17), dq = n.filter(_temp18), $;
19911
- t[17] === s ? $ = t[18] : ($ = () => {
19910
+ let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15), Tq = n.filter(_temp16), Eq = n.filter(_temp17), Dq = n.filter(_temp18), Oq;
19911
+ t[17] === s ? Oq = t[18] : (Oq = () => {
19912
19912
  s.openApplication("scratchpad");
19913
- }, t[17] = s, t[18] = $);
19914
- let pq = $, mq = () => {
19913
+ }, t[17] = s, t[18] = Oq);
19914
+ let Aq = Oq, jq = () => {
19915
19915
  let t2 = [];
19916
- if (lq.length > 0 || uq.length > 0) {
19917
- let e3 = lq.some(_temp19), n2 = !e3 && lq.some(_temp20);
19916
+ if (Tq.length > 0 || Eq.length > 0) {
19917
+ let e3 = Tq.some(_temp19), n2 = !e3 && Tq.some(_temp20);
19918
19918
  t2.push((0, import_jsx_runtime.jsxs)("div", {
19919
19919
  children: [
19920
- lq.map(_temp21),
19921
- uq.map(_temp22),
19920
+ Tq.map(_temp21),
19921
+ Eq.map(_temp22),
19922
19922
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
19923
19923
  size: "xs",
19924
19924
  variant: "outline",
@@ -19949,8 +19949,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19949
19949
  }),
19950
19950
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
19951
19951
  errors: [
19952
- ...lq,
19953
- ...uq
19952
+ ...Tq,
19953
+ ...Eq
19954
19954
  ],
19955
19955
  cellId: i
19956
19956
  })
@@ -20111,7 +20111,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20111
20111
  size: "xs",
20112
20112
  variant: "link",
20113
20113
  className: "my-2 font-normal mx-0 px-0",
20114
- onClick: pq,
20114
+ onClick: Aq,
20115
20115
  children: [
20116
20116
  (0, import_jsx_runtime.jsx)(NotebookPen, {
20117
20117
  className: "h-3"
@@ -20302,26 +20302,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20302
20302
  cellId: i
20303
20303
  })
20304
20304
  ]
20305
- }, "ancestor-prevented")), cq.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20305
+ }, "ancestor-prevented")), $.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20306
20306
  children: [
20307
- cq.map(_temp34),
20307
+ $.map(_temp34),
20308
20308
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20309
- errors: cq,
20309
+ errors: $,
20310
20310
  cellId: i
20311
20311
  })
20312
20312
  ]
20313
- }, "ancestor-stopped")), dq.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20313
+ }, "ancestor-stopped")), Dq.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20314
20314
  children: [
20315
- dq.map(_temp35),
20315
+ Dq.map(_temp35),
20316
20316
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20317
- errors: dq,
20317
+ errors: Dq,
20318
20318
  cellId: i,
20319
20319
  className: "mt-2.5"
20320
20320
  })
20321
20321
  ]
20322
20322
  }, "sql-errors")), t2;
20323
- }, hq;
20324
- t[19] === v ? hq = t[20] : (hq = v && (0, import_jsx_runtime.jsxs)("div", {
20323
+ }, Mq;
20324
+ t[19] === v ? Mq = t[20] : (Mq = v && (0, import_jsx_runtime.jsxs)("div", {
20325
20325
  className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
20326
20326
  children: [
20327
20327
  v,
@@ -20333,22 +20333,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20333
20333
  })
20334
20334
  })
20335
20335
  ]
20336
- }), t[19] = v, t[20] = hq);
20337
- let gq;
20338
- t[21] !== _ || t[22] !== d ? (gq = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20336
+ }), t[19] = v, t[20] = Mq);
20337
+ let Nq;
20338
+ t[21] !== _ || t[22] !== d ? (Nq = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20339
20339
  className: `font-code font-medium ${_}`,
20340
20340
  children: d
20341
- }), t[21] = _, t[22] = d, t[23] = gq) : gq = t[23];
20342
- let _q;
20343
- t[24] !== hq || t[25] !== gq ? (_q = (0, import_jsx_runtime.jsxs)("div", {
20341
+ }), t[21] = _, t[22] = d, t[23] = Nq) : Nq = t[23];
20342
+ let Pq;
20343
+ t[24] !== Mq || t[25] !== Nq ? (Pq = (0, import_jsx_runtime.jsxs)("div", {
20344
20344
  className: "space-y-0.5",
20345
20345
  children: [
20346
- hq,
20347
- gq
20346
+ Mq,
20347
+ Nq
20348
20348
  ]
20349
- }), t[24] = hq, t[25] = gq, t[26] = _q) : _q = t[26];
20350
- let vq = _q;
20351
- y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A = vq, S = "flex flex-col gap-4", w = mq(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
20349
+ }), t[24] = Mq, t[25] = Nq, t[26] = Pq) : Pq = t[26];
20350
+ let Fq = Pq;
20351
+ y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A = Fq, S = "flex flex-col gap-4", w = jq(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
20352
20352
  } else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
20353
20353
  let M;
20354
20354
  t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
@@ -20365,16 +20365,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20365
20365
  ]
20366
20366
  }), t[32] = y, t[33] = E, t[34] = O, t[35] = A, t[36] = M, t[37] = I) : I = t[37], I;
20367
20367
  };
20368
- function _temp$9(e) {
20368
+ function _temp$10(e) {
20369
20369
  return e.type === "interruption";
20370
20370
  }
20371
- function _temp2$7(e) {
20371
+ function _temp2$8(e) {
20372
20372
  return e.type === "internal";
20373
20373
  }
20374
- function _temp3$4(e) {
20374
+ function _temp3$5(e) {
20375
20375
  return e.type === "ancestor-prevented";
20376
20376
  }
20377
- function _temp4$4(e) {
20377
+ function _temp4$5(e) {
20378
20378
  return e.type === "ancestor-stopped";
20379
20379
  }
20380
20380
  function _temp5$3(e) {
@@ -20586,9 +20586,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20586
20586
  })
20587
20587
  }, `sql-error-${t}`);
20588
20588
  }
20589
- var import_compiler_runtime$51 = require_compiler_runtime();
20589
+ var import_compiler_runtime$52 = require_compiler_runtime();
20590
20590
  const TextOutput = (e) => {
20591
- let t = (0, import_compiler_runtime$51.c)(13), { text: n, channel: i, wrapText: o } = e, s = i === "stdout" || i === "stderr", c;
20591
+ let t = (0, import_compiler_runtime$52.c)(13), { text: n, channel: i, wrapText: o } = e, s = i === "stdout" || i === "stderr", c;
20592
20592
  t[0] === o ? c = t[1] : (c = (e2) => (0, import_jsx_runtime.jsx)("span", {
20593
20593
  className: o ? "whitespace-pre-wrap break-words" : "whitespace-pre",
20594
20594
  children: (0, import_jsx_runtime.jsx)(RenderTextWithLinks, {
@@ -20605,17 +20605,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20605
20605
  children: v
20606
20606
  }), t[10] = _, t[11] = v, t[12] = y) : y = t[12], y;
20607
20607
  };
20608
- var import_compiler_runtime$50 = require_compiler_runtime();
20608
+ var import_compiler_runtime$51 = require_compiler_runtime();
20609
20609
  const VideoOutput = (e) => {
20610
- let t = (0, import_compiler_runtime$50.c)(3), { src: n, className: i } = e, a;
20610
+ let t = (0, import_compiler_runtime$51.c)(3), { src: n, className: i } = e, a;
20611
20611
  return t[0] !== i || t[1] !== n ? (a = (0, import_jsx_runtime.jsx)("iframe", {
20612
20612
  className: i,
20613
20613
  src: n
20614
20614
  }), t[0] = i, t[1] = n, t[2] = a) : a = t[2], a;
20615
20615
  };
20616
- var import_compiler_runtime$49 = require_compiler_runtime();
20616
+ var import_compiler_runtime$50 = require_compiler_runtime();
20617
20617
  useOverflowDetection = function(e, t) {
20618
- let n = (0, import_compiler_runtime$49.c)(4), i = t === void 0 ? true : t, [a, o] = (0, import_react.useState)(false), s, c;
20618
+ let n = (0, import_compiler_runtime$50.c)(4), i = t === void 0 ? true : t, [a, o] = (0, import_react.useState)(false), s, c;
20619
20619
  return n[0] !== i || n[1] !== e ? (s = () => {
20620
20620
  let t2 = e.current;
20621
20621
  if (!t2 || !i) return;
@@ -20712,9 +20712,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20712
20712
  LazyVegaEmbed = import_react.lazy(() => import("./react-vega-B6ncY2Tp.js").then((e) => ({
20713
20713
  default: e.VegaEmbed
20714
20714
  })));
20715
- var import_compiler_runtime$48 = require_compiler_runtime();
20715
+ var import_compiler_runtime$49 = require_compiler_runtime();
20716
20716
  ChartLoadingState = () => {
20717
- let e = (0, import_compiler_runtime$48.c)(1), t;
20717
+ let e = (0, import_compiler_runtime$49.c)(1), t;
20718
20718
  return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = (0, import_jsx_runtime.jsxs)("div", {
20719
20719
  className: "flex items-center gap-2 justify-center",
20720
20720
  children: [
@@ -20729,7 +20729,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20729
20729
  }), e[0] = t) : t = e[0], t;
20730
20730
  };
20731
20731
  ChartErrorState = (e) => {
20732
- let t = (0, import_compiler_runtime$48.c)(2), { error: n } = e, i;
20732
+ let t = (0, import_compiler_runtime$49.c)(2), { error: n } = e, i;
20733
20733
  return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)("div", {
20734
20734
  className: "flex items-center justify-center",
20735
20735
  children: (0, import_jsx_runtime.jsx)(ErrorBanner, {
@@ -20738,7 +20738,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20738
20738
  }), t[0] = n, t[1] = i), i;
20739
20739
  };
20740
20740
  ChartInfoState = (e) => {
20741
- let t = (0, import_compiler_runtime$48.c)(8), { children: n, className: i } = e, o;
20741
+ let t = (0, import_compiler_runtime$49.c)(8), { children: n, className: i } = e, o;
20742
20742
  t[0] === i ? o = t[1] : (o = cn("flex flex-col items-center justify-center gap-4", i), t[0] = i, t[1] = o);
20743
20743
  let s;
20744
20744
  t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = (0, import_jsx_runtime.jsx)(ChartPie, {
@@ -20758,11 +20758,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20758
20758
  ]
20759
20759
  }), t[5] = o, t[6] = c, t[7] = d) : d = t[7], d;
20760
20760
  };
20761
- let import_compiler_runtime$47;
20762
- import_compiler_runtime$47 = require_compiler_runtime();
20761
+ let import_compiler_runtime$48;
20762
+ import_compiler_runtime$48 = require_compiler_runtime();
20763
20763
  Tabs = Root2;
20764
20764
  TabsList = import_react.forwardRef((e, t) => {
20765
- let n = (0, import_compiler_runtime$47.c)(9), i, o;
20765
+ let n = (0, import_compiler_runtime$48.c)(9), i, o;
20766
20766
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
20767
20767
  let s;
20768
20768
  n[3] === i ? s = n[4] : (s = cn("inline-flex max-h-14 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground", i), n[3] = i, n[4] = s);
@@ -20775,7 +20775,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20775
20775
  });
20776
20776
  TabsList.displayName = List.displayName;
20777
20777
  TabsTrigger = import_react.forwardRef((e, t) => {
20778
- let n = (0, import_compiler_runtime$47.c)(9), i, o;
20778
+ let n = (0, import_compiler_runtime$48.c)(9), i, o;
20779
20779
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
20780
20780
  let s;
20781
20781
  n[3] === i ? s = n[4] : (s = cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm", i), n[3] = i, n[4] = s);
@@ -20788,7 +20788,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20788
20788
  });
20789
20789
  TabsTrigger.displayName = Trigger.displayName;
20790
20790
  TabsContent = import_react.forwardRef((e, t) => {
20791
- let n = (0, import_compiler_runtime$47.c)(9), i, o;
20791
+ let n = (0, import_compiler_runtime$48.c)(9), i, o;
20792
20792
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
20793
20793
  let s;
20794
20794
  n[3] === i ? s = n[4] : (s = cn("mt-2 ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2", i), n[3] = i, n[4] = s);
@@ -20800,9 +20800,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20800
20800
  }), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
20801
20801
  });
20802
20802
  TabsContent.displayName = Content.displayName;
20803
- var import_compiler_runtime$46 = require_compiler_runtime();
20803
+ var import_compiler_runtime$47 = require_compiler_runtime();
20804
20804
  const WithLocale = (e) => {
20805
- let t = (0, import_compiler_runtime$46.c)(3), { children: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
20805
+ let t = (0, import_compiler_runtime$47.c)(3), { children: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
20806
20806
  return t[0] !== n || t[1] !== i ? (a = n(i), t[0] = n, t[1] = i, t[2] = a) : a = t[2], a;
20807
20807
  };
20808
20808
  function tzName(e, t, n = "long") {
@@ -21198,9 +21198,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
21198
21198
  is_null: "Is null",
21199
21199
  is_not_null: "Is not null"
21200
21200
  };
21201
- var import_compiler_runtime$45 = require_compiler_runtime();
21201
+ var import_compiler_runtime$46 = require_compiler_runtime();
21202
21202
  const MimeCell = (e) => {
21203
- let t = (0, import_compiler_runtime$45.c)(6), { value: n } = e, i;
21203
+ let t = (0, import_compiler_runtime$46.c)(6), { value: n } = e, i;
21204
21204
  t[0] !== n.data || t[1] !== n.mimetype ? (i = {
21205
21205
  channel: "output",
21206
21206
  data: n.data,
@@ -23517,10 +23517,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23517
23517
  ],
23518
23518
  unknown: []
23519
23519
  };
23520
- var import_compiler_runtime$44 = require_compiler_runtime();
23520
+ var import_compiler_runtime$45 = require_compiler_runtime();
23521
23521
  function FormatOptions(e) {
23522
23522
  var _a2, _b, _c;
23523
- let t = (0, import_compiler_runtime$44.c)(36), { column: n, locale: i } = e, o = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dataType, s, c, d, f, h, _, v, y;
23523
+ let t = (0, import_compiler_runtime$45.c)(36), { column: n, locale: i } = e, o = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dataType, s, c, d, f, h, _, v, y;
23524
23524
  if (t[0] !== n || t[1] !== o || t[2] !== i) {
23525
23525
  y = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
23526
23526
  bb0: {
@@ -23595,7 +23595,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23595
23595
  }
23596
23596
  function ColumnWrapping(e) {
23597
23597
  var _a2;
23598
- let t = (0, import_compiler_runtime$44.c)(10), { column: n } = e;
23598
+ let t = (0, import_compiler_runtime$45.c)(10), { column: n } = e;
23599
23599
  if (!((_a2 = n.getCanWrap) == null ? void 0 : _a2.call(n)) || !n.getColumnWrapping) return null;
23600
23600
  if (n.getColumnWrapping() === "wrap") {
23601
23601
  let e2;
@@ -23630,7 +23630,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23630
23630
  }
23631
23631
  function ColumnPinning$1(e) {
23632
23632
  var _a2;
23633
- let t = (0, import_compiler_runtime$44.c)(18), { column: n } = e;
23633
+ let t = (0, import_compiler_runtime$45.c)(18), { column: n } = e;
23634
23634
  if (!((_a2 = n.getCanPin) == null ? void 0 : _a2.call(n)) || !n.getIsPinned) return null;
23635
23635
  if (n.getIsPinned() !== false) {
23636
23636
  let e2;
@@ -23685,7 +23685,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23685
23685
  }), t[15] = o, t[16] = d, t[17] = f) : f = t[17], f;
23686
23686
  }
23687
23687
  function HideColumn(e) {
23688
- let t = (0, import_compiler_runtime$44.c)(5), { column: n } = e;
23688
+ let t = (0, import_compiler_runtime$45.c)(5), { column: n } = e;
23689
23689
  if (!n.getCanHide()) return null;
23690
23690
  let i;
23691
23691
  t[0] === n ? i = t[1] : (i = () => n.toggleVisibility(false), t[0] = n, t[1] = i);
@@ -23704,7 +23704,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23704
23704
  }
23705
23705
  function CopyColumn(e) {
23706
23706
  var _a2;
23707
- let t = (0, import_compiler_runtime$44.c)(5), { column: n } = e;
23707
+ let t = (0, import_compiler_runtime$45.c)(5), { column: n } = e;
23708
23708
  if (!((_a2 = n.getCanCopy) == null ? void 0 : _a2.call(n)) || n.id.startsWith("__m_column__")) return null;
23709
23709
  let i;
23710
23710
  t[0] === n.id ? i = t[1] : (i = async () => await copyToClipboard(n.id), t[0] = n.id, t[1] = i);
@@ -23723,7 +23723,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23723
23723
  }
23724
23724
  var AscIcon = ArrowUpNarrowWide, DescIcon = ArrowDownWideNarrow;
23725
23725
  function Sorts(e) {
23726
- let t = (0, import_compiler_runtime$44.c)(40), { column: n, table: i } = e;
23726
+ let t = (0, import_compiler_runtime$45.c)(40), { column: n, table: i } = e;
23727
23727
  if (!n.getCanSort()) return null;
23728
23728
  let a;
23729
23729
  t[0] === n ? a = t[1] : (a = n.getIsSorted(), t[0] = n, t[1] = a);
@@ -23798,14 +23798,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23798
23798
  }), t[30] = z, t[31] = U, t[32] = q, t[33] = J) : J = t[33];
23799
23799
  let Q;
23800
23800
  t[34] === y ? Q = t[35] : (Q = y(), t[34] = y, t[35] = Q);
23801
- let cq;
23802
- return t[36] !== I || t[37] !== J || t[38] !== Q ? (cq = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23801
+ let $;
23802
+ return t[36] !== I || t[37] !== J || t[38] !== Q ? ($ = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23803
23803
  children: [
23804
23804
  I,
23805
23805
  J,
23806
23806
  Q
23807
23807
  ]
23808
- }), t[36] = I, t[37] = J, t[38] = Q, t[39] = cq) : cq = t[39], cq;
23808
+ }), t[36] = I, t[37] = J, t[38] = Q, t[39] = $) : $ = t[39], $;
23809
23809
  }
23810
23810
  function renderSortIcon(e) {
23811
23811
  if (!e.getCanSort()) return null;
@@ -23816,7 +23816,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23816
23816
  }
23817
23817
  function DataType(e) {
23818
23818
  var _a2;
23819
- let t = (0, import_compiler_runtime$44.c)(5), { column: n } = e, i = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dtype;
23819
+ let t = (0, import_compiler_runtime$45.c)(5), { column: n } = e, i = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dtype;
23820
23820
  if (!i) return null;
23821
23821
  let a;
23822
23822
  t[0] === i ? a = t[1] : (a = (0, import_jsx_runtime.jsx)("div", {
@@ -23834,7 +23834,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23834
23834
  }), t[3] = a, t[4] = s), s;
23835
23835
  }
23836
23836
  const ClearFilterMenuItem = (e) => {
23837
- let t = (0, import_compiler_runtime$44.c)(5), { column: n } = e, i;
23837
+ let t = (0, import_compiler_runtime$45.c)(5), { column: n } = e, i;
23838
23838
  t[0] === n ? i = t[1] : (i = () => n.setFilterValue(void 0), t[0] = n, t[1] = i);
23839
23839
  let a;
23840
23840
  t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = (0, import_jsx_runtime.jsx)(FunnelX, {
@@ -24025,9 +24025,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24025
24025
  let [t, n] = import_react.useState(e), [i, a] = import_react.useState(null);
24026
24026
  return e !== t && (a(t), n(e)), i;
24027
24027
  };
24028
- var import_compiler_runtime$43 = require_compiler_runtime();
24028
+ var import_compiler_runtime$44 = require_compiler_runtime();
24029
24029
  DelayMount = (e) => {
24030
- let t = (0, import_compiler_runtime$43.c)(13), { milliseconds: n, children: i, fallback: a, visibility: o, threshold: s, rootMargin: c } = e, d = o === void 0 ? false : o, f = s === void 0 ? 0 : s, h = c === void 0 ? "0px" : c, [_, v] = (0, import_react.useState)(false), [y, S] = (0, import_react.useState)(false), w;
24030
+ let t = (0, import_compiler_runtime$44.c)(13), { milliseconds: n, children: i, fallback: a, visibility: o, threshold: s, rootMargin: c } = e, d = o === void 0 ? false : o, f = s === void 0 ? 0 : s, h = c === void 0 ? "0px" : c, [_, v] = (0, import_react.useState)(false), [y, S] = (0, import_react.useState)(false), w;
24031
24031
  t[0] !== h || t[1] !== f ? (w = {
24032
24032
  threshold: f,
24033
24033
  root: null,
@@ -24058,9 +24058,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24058
24058
  children: J
24059
24059
  }), t[10] = q, t[11] = J, t[12] = Q) : Q = t[12], Q;
24060
24060
  };
24061
- var import_compiler_runtime$42 = require_compiler_runtime();
24061
+ var import_compiler_runtime$43 = require_compiler_runtime();
24062
24062
  const DatePopover = (e) => {
24063
- let t = (0, import_compiler_runtime$42.c)(15), { date: n, type: i, children: a } = e;
24063
+ let t = (0, import_compiler_runtime$43.c)(15), { date: n, type: i, children: a } = e;
24064
24064
  if (!n || Number.isNaN(new Date(n).getTime())) return a;
24065
24065
  let o;
24066
24066
  t[0] === n ? o = t[1] : (o = new Date(n), t[0] = n, t[1] = o);
@@ -24100,7 +24100,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24100
24100
  }), t[12] = h, t[13] = _, t[14] = v) : v = t[14], v;
24101
24101
  };
24102
24102
  var TimezoneDisplay = (e) => {
24103
- let t = (0, import_compiler_runtime$42.c)(26), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
24103
+ let t = (0, import_compiler_runtime$43.c)(26), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
24104
24104
  t[0] === i ? a = t[1] : (a = Intl.DateTimeFormat(i).resolvedOptions(), t[0] = i, t[1] = a);
24105
24105
  let o = a.timeZone, s = n.getUTCMilliseconds() !== 0, c;
24106
24106
  t[2] === s ? c = t[3] : (c = s ? {
@@ -24176,7 +24176,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24176
24176
  ]
24177
24177
  }), t[23] = O, t[24] = y, t[25] = A) : A = t[25], A;
24178
24178
  }, DateDisplay = (e) => {
24179
- let t = (0, import_compiler_runtime$42.c)(6), { date: n } = e, i;
24179
+ let t = (0, import_compiler_runtime$43.c)(6), { date: n } = e, i;
24180
24180
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
24181
24181
  timeZone: "UTC",
24182
24182
  dateStyle: "long"
@@ -24188,7 +24188,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24188
24188
  children: o
24189
24189
  }), t[4] = o, t[5] = s), s;
24190
24190
  }, RelativeTime = (e) => {
24191
- let t = (0, import_compiler_runtime$42.c)(6), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a, o;
24191
+ let t = (0, import_compiler_runtime$43.c)(6), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a, o;
24192
24192
  if (t[0] !== n || t[1] !== i) {
24193
24193
  o = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
24194
24194
  bb0: {
@@ -24240,7 +24240,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24240
24240
  return t[4] === a ? s = t[5] : (s = (0, import_jsx_runtime.jsx)("span", {
24241
24241
  children: a
24242
24242
  }), t[4] = a, t[5] = s), s;
24243
- }, import_compiler_runtime$41 = require_compiler_runtime(), hashString = (e) => {
24243
+ }, import_compiler_runtime$42 = require_compiler_runtime(), hashString = (e) => {
24244
24244
  let t = 0;
24245
24245
  for (let n = 0; n < e.length; n++) {
24246
24246
  let i = e.charCodeAt(n);
@@ -24257,7 +24257,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24257
24257
  return i;
24258
24258
  };
24259
24259
  const ChartSkeleton = (e) => {
24260
- let t = (0, import_compiler_runtime$41.c)(11), { seed: n, width: i, height: a } = e, o = i / 9, s = a - 15, c;
24260
+ let t = (0, import_compiler_runtime$42.c)(11), { seed: n, width: i, height: a } = e, o = i / 9, s = a - 15, c;
24261
24261
  if (t[0] !== o || t[1] !== a || t[2] !== n || t[3] !== s || t[4] !== i) {
24262
24262
  let e2 = generateHeights({
24263
24263
  numBars: 9,
@@ -24636,7 +24636,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24636
24636
  let c = s / t.length;
24637
24637
  return Math.max(c, 1);
24638
24638
  }
24639
- let MAX_BAR_HEIGHT, BIN_END_EXTENSION_FACTOR, CONCAT_CHART_HEIGHT, CONCAT_CHART_WIDTH, CONCAT_NULL_BAR_WIDTH, BAR_COLOR, UNHOVERED_BAR_OPACITY, NULL_BAR_COLOR, import_compiler_runtime$40;
24639
+ let MAX_BAR_HEIGHT, BIN_END_EXTENSION_FACTOR, CONCAT_CHART_HEIGHT, CONCAT_CHART_WIDTH, CONCAT_NULL_BAR_WIDTH, BAR_COLOR, UNHOVERED_BAR_OPACITY, NULL_BAR_COLOR, import_compiler_runtime$41;
24640
24640
  MAX_BAR_HEIGHT = 20;
24641
24641
  BIN_END_EXTENSION_FACTOR = 0.1;
24642
24642
  CONCAT_CHART_HEIGHT = 30;
@@ -25273,11 +25273,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25273
25273
  }, __publicField(_a, "EMPTY", new _a([], /* @__PURE__ */ new Map(), {}, {}, {}, {
25274
25274
  includeCharts: false
25275
25275
  })), _a);
25276
- import_compiler_runtime$40 = require_compiler_runtime();
25276
+ import_compiler_runtime$41 = require_compiler_runtime();
25277
25277
  ColumnChartContext = import_react.createContext(ColumnChartSpecModel.EMPTY);
25278
25278
  var batchedLoader = createBatchedLoader();
25279
25279
  const TableColumnSummary = (e) => {
25280
- let t = (0, import_compiler_runtime$40.c)(21), { columnId: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a = import_react.use(ColumnChartContext), { theme: o } = useTheme(), s, c, d;
25280
+ let t = (0, import_compiler_runtime$41.c)(21), { columnId: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a = import_react.use(ColumnChartContext), { theme: o } = useTheme(), s, c, d;
25281
25281
  if (t[0] !== a || t[1] !== n || t[2] !== i || t[3] !== o) {
25282
25282
  let { spec: e2, type: f2, stats: h } = a.getHeaderSummary(n), _ = null;
25283
25283
  if (e2) {
@@ -25478,7 +25478,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25478
25478
  };
25479
25479
  }
25480
25480
  };
25481
- var import_compiler_runtime$39 = require_compiler_runtime(), WHITESPACE_CHARS = {
25481
+ var import_compiler_runtime$40 = require_compiler_runtime(), WHITESPACE_CHARS = {
25482
25482
  " ": {
25483
25483
  marker: "\u2423",
25484
25484
  name: "space"
@@ -25554,7 +25554,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25554
25554
  }
25555
25555
  };
25556
25556
  function WhitespaceMarkers(e) {
25557
- let t = (0, import_compiler_runtime$39.c)(7), { value: n } = e;
25557
+ let t = (0, import_compiler_runtime$40.c)(7), { value: n } = e;
25558
25558
  if (!n) return null;
25559
25559
  let i;
25560
25560
  t[0] === n ? i = t[1] : (i = describeWhitespace(n), t[0] = n, t[1] = i);
@@ -25569,7 +25569,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25569
25569
  }), t[4] = a, t[5] = o, t[6] = s) : s = t[6], s;
25570
25570
  }
25571
25571
  function SentinelCell(e) {
25572
- let t = (0, import_compiler_runtime$39.c)(15), { sentinel: n } = e, i = SENTINEL_CONFIG[n.type], a;
25572
+ let t = (0, import_compiler_runtime$40.c)(15), { sentinel: n } = e, i = SENTINEL_CONFIG[n.type], a;
25573
25573
  t[0] !== i || t[1] !== n.value ? (a = i.label(n.value), t[0] = i, t[1] = n.value, t[2] = a) : a = t[2];
25574
25574
  let o = a, s;
25575
25575
  t[3] !== i || t[4] !== n.value ? (s = i.tooltip(n.value), t[3] = i, t[4] = n.value, t[5] = s) : s = t[5];
@@ -25598,8 +25598,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25598
25598
  let a = e.at(-1);
25599
25599
  return n.push(a), n;
25600
25600
  }
25601
- var import_compiler_runtime$38 = require_compiler_runtime(), ImageWithFallback = (e) => {
25602
- let t = (0, import_compiler_runtime$38.c)(14), { url: n } = e, [i, a] = (0, import_react.useState)(false), [o, s] = (0, import_react.useState)(false);
25601
+ var import_compiler_runtime$39 = require_compiler_runtime(), ImageWithFallback = (e) => {
25602
+ let t = (0, import_compiler_runtime$39.c)(14), { url: n } = e, [i, a] = (0, import_react.useState)(false), [o, s] = (0, import_react.useState)(false);
25603
25603
  if (i) {
25604
25604
  let e2;
25605
25605
  return t[0] === n ? e2 = t[1] : (e2 = (0, import_jsx_runtime.jsx)(URLAnchor, {
@@ -25673,7 +25673,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25673
25673
  return t.some((e2) => n.has(e2.type));
25674
25674
  }
25675
25675
  const MarkdownUrlDetector = (e) => {
25676
- let t = (0, import_compiler_runtime$38.c)(4), { content: n, parts: i } = e;
25676
+ let t = (0, import_compiler_runtime$39.c)(4), { content: n, parts: i } = e;
25677
25677
  if (isMarkdown(n)) {
25678
25678
  let e2;
25679
25679
  return t[0] === n ? e2 = t[1] : (e2 = (0, import_jsx_runtime.jsx)(MarkdownRenderer, {
@@ -25690,7 +25690,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25690
25690
  url: e2.url
25691
25691
  }, t) : e2.value);
25692
25692
  var URLAnchor = (e) => {
25693
- let t = (0, import_compiler_runtime$38.c)(3), { url: n } = e, i;
25693
+ let t = (0, import_compiler_runtime$39.c)(3), { url: n } = e, i;
25694
25694
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = Events.stopPropagation(), t[0] = i) : i = t[0];
25695
25695
  let a;
25696
25696
  return t[1] === n ? a = t[2] : (a = (0, import_jsx_runtime.jsx)("a", {
@@ -26085,10 +26085,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26085
26085
  maximumFractionDigits: maxFractionalDigits(n)
26086
26086
  }).format(e);
26087
26087
  };
26088
- let import_compiler_runtime$37;
26089
- import_compiler_runtime$37 = require_compiler_runtime();
26088
+ let import_compiler_runtime$38;
26089
+ import_compiler_runtime$38 = require_compiler_runtime();
26090
26090
  Table = import_react.forwardRef((e, t) => {
26091
- let n = (0, import_compiler_runtime$37.c)(9), i, o;
26091
+ let n = (0, import_compiler_runtime$38.c)(9), i, o;
26092
26092
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26093
26093
  let s;
26094
26094
  n[3] === i ? s = n[4] : (s = cn("w-full caption-bottom text-sm", i), n[3] = i, n[4] = s);
@@ -26104,7 +26104,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26104
26104
  });
26105
26105
  Table.displayName = "Table";
26106
26106
  TableHeader = import_react.forwardRef((e, t) => {
26107
- let n = (0, import_compiler_runtime$37.c)(9), i, o;
26107
+ let n = (0, import_compiler_runtime$38.c)(9), i, o;
26108
26108
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26109
26109
  let s;
26110
26110
  n[3] === i ? s = n[4] : (s = cn("[&_tr]:border-b bg-background", i), n[3] = i, n[4] = s);
@@ -26117,7 +26117,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26117
26117
  });
26118
26118
  TableHeader.displayName = "TableHeader";
26119
26119
  TableBody = import_react.forwardRef((e, t) => {
26120
- let n = (0, import_compiler_runtime$37.c)(9), i, o;
26120
+ let n = (0, import_compiler_runtime$38.c)(9), i, o;
26121
26121
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26122
26122
  let s;
26123
26123
  n[3] === i ? s = n[4] : (s = cn("[&_tr:last-child]:border-0", i), n[3] = i, n[4] = s);
@@ -26130,7 +26130,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26130
26130
  });
26131
26131
  TableBody.displayName = "TableBody";
26132
26132
  var TableFooter = import_react.forwardRef((e, t) => {
26133
- let n = (0, import_compiler_runtime$37.c)(9), i, o;
26133
+ let n = (0, import_compiler_runtime$38.c)(9), i, o;
26134
26134
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26135
26135
  let s;
26136
26136
  n[3] === i ? s = n[4] : (s = cn("bg-primary font-medium text-primary-foreground", i), n[3] = i, n[4] = s);
@@ -26143,7 +26143,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26143
26143
  });
26144
26144
  TableFooter.displayName = "TableFooter";
26145
26145
  TableRow = import_react.forwardRef((e, t) => {
26146
- let n = (0, import_compiler_runtime$37.c)(9), i, o;
26146
+ let n = (0, import_compiler_runtime$38.c)(9), i, o;
26147
26147
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26148
26148
  let s;
26149
26149
  n[3] === i ? s = n[4] : (s = cn("border-b transition-colors bg-background hover:bg-(--slate-2) data-[state=selected]:bg-(--slate-3)", i), n[3] = i, n[4] = s);
@@ -26156,7 +26156,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26156
26156
  });
26157
26157
  TableRow.displayName = "TableRow";
26158
26158
  TableHead = import_react.forwardRef((e, t) => {
26159
- let n = (0, import_compiler_runtime$37.c)(9), i, o;
26159
+ let n = (0, import_compiler_runtime$38.c)(9), i, o;
26160
26160
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26161
26161
  let s;
26162
26162
  n[3] === i ? s = n[4] : (s = cn("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", i), n[3] = i, n[4] = s);
@@ -26169,7 +26169,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26169
26169
  });
26170
26170
  TableHead.displayName = "TableHead";
26171
26171
  TableCell = import_react.forwardRef((e, t) => {
26172
- let n = (0, import_compiler_runtime$37.c)(9), i, o;
26172
+ let n = (0, import_compiler_runtime$38.c)(9), i, o;
26173
26173
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26174
26174
  let s;
26175
26175
  n[3] === i ? s = n[4] : (s = cn("p-1.5 align-middle [&:has([role=checkbox])]:pr-0", i), n[3] = i, n[4] = s);
@@ -26182,7 +26182,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26182
26182
  });
26183
26183
  TableCell.displayName = "TableCell";
26184
26184
  var TableCaption = import_react.forwardRef((e, t) => {
26185
- let n = (0, import_compiler_runtime$37.c)(9), i, o;
26185
+ let n = (0, import_compiler_runtime$38.c)(9), i, o;
26186
26186
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26187
26187
  let s;
26188
26188
  n[3] === i ? s = n[4] : (s = cn("mt-4 text-sm text-muted-foreground", i), n[3] = i, n[4] = s);
@@ -26395,7 +26395,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26395
26395
  function PanelWithForwardedRef({ children: e, className: t = "", collapsedSize: n, collapsible: i, defaultSize: a, forwardedRef: o, id: s, maxSize: c, minSize: d, onCollapse: f, onExpand: h, onResize: _, order: v, style: y, tagName: S = "div", ...w }) {
26396
26396
  let E = (0, import_react.useContext)(PanelGroupContext);
26397
26397
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26398
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, cq = useUniqueId(s), lq = (0, import_react.useRef)({
26398
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), Tq = (0, import_react.useRef)({
26399
26399
  callbacks: {
26400
26400
  onCollapse: f,
26401
26401
  onExpand: h,
@@ -26408,72 +26408,72 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26408
26408
  maxSize: c,
26409
26409
  minSize: d
26410
26410
  },
26411
- id: cq,
26411
+ id: $,
26412
26412
  idIsFromProps: s !== void 0,
26413
26413
  order: v
26414
26414
  });
26415
26415
  (0, import_react.useRef)({
26416
26416
  didLogMissingDefaultSizeWarning: false
26417
26417
  }), useIsomorphicLayoutEffect$1(() => {
26418
- let { callbacks: e2, constraints: t2 } = lq.current, o2 = {
26418
+ let { callbacks: e2, constraints: t2 } = Tq.current, o2 = {
26419
26419
  ...t2
26420
26420
  };
26421
- lq.current.id = cq, lq.current.idIsFromProps = s !== void 0, lq.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K(lq.current, o2);
26421
+ Tq.current.id = $, Tq.current.idIsFromProps = s !== void 0, Tq.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K(Tq.current, o2);
26422
26422
  }), useIsomorphicLayoutEffect$1(() => {
26423
- let e2 = lq.current;
26423
+ let e2 = Tq.current;
26424
26424
  return q(e2), () => {
26425
26425
  Q(e2);
26426
26426
  };
26427
26427
  }, [
26428
26428
  v,
26429
- cq,
26429
+ $,
26430
26430
  q,
26431
26431
  Q
26432
26432
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26433
26433
  collapse: () => {
26434
- O(lq.current);
26434
+ O(Tq.current);
26435
26435
  },
26436
26436
  expand: (e2) => {
26437
- A(lq.current, e2);
26437
+ A(Tq.current, e2);
26438
26438
  },
26439
26439
  getId() {
26440
- return cq;
26440
+ return $;
26441
26441
  },
26442
26442
  getSize() {
26443
- return M(lq.current);
26443
+ return M(Tq.current);
26444
26444
  },
26445
26445
  isCollapsed() {
26446
- return U(lq.current);
26446
+ return U(Tq.current);
26447
26447
  },
26448
26448
  isExpanded() {
26449
- return !U(lq.current);
26449
+ return !U(Tq.current);
26450
26450
  },
26451
26451
  resize: (e2) => {
26452
- J(lq.current, e2);
26452
+ J(Tq.current, e2);
26453
26453
  }
26454
26454
  }), [
26455
26455
  O,
26456
26456
  A,
26457
26457
  M,
26458
26458
  U,
26459
- cq,
26459
+ $,
26460
26460
  J
26461
26461
  ]);
26462
- let uq = I(lq.current, a);
26462
+ let Eq = I(Tq.current, a);
26463
26463
  return (0, import_react.createElement)(S, {
26464
26464
  ...w,
26465
26465
  children: e,
26466
26466
  className: t,
26467
- id: cq,
26467
+ id: $,
26468
26468
  style: {
26469
- ...uq,
26469
+ ...Eq,
26470
26470
  ...y
26471
26471
  },
26472
26472
  [DATA_ATTRIBUTES.groupId]: z,
26473
26473
  [DATA_ATTRIBUTES.panel]: "",
26474
26474
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26475
- [DATA_ATTRIBUTES.panelId]: cq,
26476
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + uq.flexGrow).toFixed(1)
26475
+ [DATA_ATTRIBUTES.panelId]: $,
26476
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + Eq.flexGrow).toFixed(1)
26477
26477
  });
26478
26478
  }
26479
26479
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -27246,7 +27246,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27246
27246
  }, []), Q = (0, import_react.useCallback)((e2) => {
27247
27247
  let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
27248
27248
  return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
27249
- }, []), cq = (0, import_react.useCallback)((e2, t2) => {
27249
+ }, []), $ = (0, import_react.useCallback)((e2, t2) => {
27250
27250
  let { panelDataArray: n2 } = K.current;
27251
27251
  return computePanelFlexBoxStyle({
27252
27252
  defaultSize: t2,
@@ -27258,13 +27258,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27258
27258
  }, [
27259
27259
  S,
27260
27260
  E
27261
- ]), lq = (0, import_react.useCallback)((e2) => {
27261
+ ]), Tq = (0, import_react.useCallback)((e2) => {
27262
27262
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27263
27263
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27264
- }, []), uq = (0, import_react.useCallback)((e2) => {
27264
+ }, []), Eq = (0, import_react.useCallback)((e2) => {
27265
27265
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27266
27266
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27267
- }, []), dq = (0, import_react.useCallback)((e2) => {
27267
+ }, []), Dq = (0, import_react.useCallback)((e2) => {
27268
27268
  let { panelDataArray: t2 } = K.current;
27269
27269
  t2.push(e2), t2.sort((e3, t3) => {
27270
27270
  let n2 = e3.order, i2 = t3.order;
@@ -27296,7 +27296,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27296
27296
  e2.layout = [];
27297
27297
  };
27298
27298
  }, []);
27299
- let $ = (0, import_react.useCallback)((e2) => {
27299
+ let Oq = (0, import_react.useCallback)((e2) => {
27300
27300
  let t2 = false, n2 = y.current;
27301
27301
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
27302
27302
  n3.preventDefault();
@@ -27314,7 +27314,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27314
27314
  }), I2 = !compareLayouts(f2, A2);
27315
27315
  (isPointerEvent(n3) || isMouseEvent(n3)) && z.current != S2 && (z.current = S2, !I2 && S2 !== 0 ? w2 ? reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_HORIZONTAL_MIN : EXCEEDED_HORIZONTAL_MAX) : reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_VERTICAL_MIN : EXCEEDED_VERTICAL_MAX) : reportConstraintsViolation(e2, 0)), I2 && (O(A2), K.current.layout = A2, d2 && d2(A2), callPanelCallbacks(h2, A2, M.current));
27316
27316
  };
27317
- }, []), fq = (0, import_react.useCallback)((e2, t2) => {
27317
+ }, []), kq = (0, import_react.useCallback)((e2, t2) => {
27318
27318
  let { onLayout: n2 } = U.current, { layout: i2, panelDataArray: a2 } = K.current, o2 = a2.map((e3) => e3.constraints), { panelSize: s2, pivotIndices: c2 } = panelDataHelper(a2, e2, i2);
27319
27319
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
27320
27320
  let d2 = adjustLayoutByDelta({
@@ -27326,12 +27326,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27326
27326
  trigger: "imperative-api"
27327
27327
  });
27328
27328
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
27329
- }, []), pq = (0, import_react.useCallback)((e2, t2) => {
27329
+ }, []), Aq = (0, import_react.useCallback)((e2, t2) => {
27330
27330
  let { layout: n2, panelDataArray: i2 } = K.current, { collapsedSize: a2 = 0, collapsible: o2 } = t2, { collapsedSize: s2 = 0, collapsible: c2, maxSize: d2 = 100, minSize: f2 = 0 } = e2.constraints, { panelSize: h2 } = panelDataHelper(i2, e2, n2);
27331
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || fq(e2, s2) : h2 < f2 ? fq(e2, f2) : h2 > d2 && fq(e2, d2));
27331
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || kq(e2, s2) : h2 < f2 ? kq(e2, f2) : h2 > d2 && kq(e2, d2));
27332
27332
  }, [
27333
- fq
27334
- ]), mq = (0, import_react.useCallback)((e2, t2) => {
27333
+ kq
27334
+ ]), jq = (0, import_react.useCallback)((e2, t2) => {
27335
27335
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
27336
27336
  if (!y.current) return;
27337
27337
  let a2 = getResizeHandleElement(e2, y.current);
@@ -27343,30 +27343,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27343
27343
  initialCursorPosition: o2,
27344
27344
  initialLayout: i2
27345
27345
  });
27346
- }, []), hq = (0, import_react.useCallback)(() => {
27346
+ }, []), Mq = (0, import_react.useCallback)(() => {
27347
27347
  w(null);
27348
- }, []), gq = (0, import_react.useCallback)((e2) => {
27348
+ }, []), Nq = (0, import_react.useCallback)((e2) => {
27349
27349
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
27350
27350
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
27351
27351
  }, [
27352
27352
  A
27353
- ]), _q = (0, import_react.useMemo)(() => ({
27353
+ ]), Pq = (0, import_react.useMemo)(() => ({
27354
27354
  collapsePanel: q,
27355
27355
  direction: i,
27356
27356
  dragState: S,
27357
27357
  expandPanel: J,
27358
27358
  getPanelSize: Q,
27359
- getPanelStyle: cq,
27359
+ getPanelStyle: $,
27360
27360
  groupId: v,
27361
- isPanelCollapsed: lq,
27362
- isPanelExpanded: uq,
27363
- reevaluatePanelConstraints: pq,
27364
- registerPanel: dq,
27365
- registerResizeHandle: $,
27366
- resizePanel: fq,
27367
- startDragging: mq,
27368
- stopDragging: hq,
27369
- unregisterPanel: gq,
27361
+ isPanelCollapsed: Tq,
27362
+ isPanelExpanded: Eq,
27363
+ reevaluatePanelConstraints: Aq,
27364
+ registerPanel: Dq,
27365
+ registerResizeHandle: Oq,
27366
+ resizePanel: kq,
27367
+ startDragging: jq,
27368
+ stopDragging: Mq,
27369
+ unregisterPanel: Nq,
27370
27370
  panelGroupElement: y.current
27371
27371
  }), [
27372
27372
  q,
@@ -27374,18 +27374,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27374
27374
  i,
27375
27375
  J,
27376
27376
  Q,
27377
- cq,
27378
- v,
27379
- lq,
27380
- uq,
27381
- pq,
27382
- dq,
27383
27377
  $,
27384
- fq,
27385
- mq,
27386
- hq,
27387
- gq
27388
- ]), vq = {
27378
+ v,
27379
+ Tq,
27380
+ Eq,
27381
+ Aq,
27382
+ Dq,
27383
+ Oq,
27384
+ kq,
27385
+ jq,
27386
+ Mq,
27387
+ Nq
27388
+ ]), Fq = {
27389
27389
  display: "flex",
27390
27390
  flexDirection: i === "horizontal" ? "row" : "column",
27391
27391
  height: "100%",
@@ -27393,7 +27393,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27393
27393
  width: "100%"
27394
27394
  };
27395
27395
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
27396
- value: _q
27396
+ value: Pq
27397
27397
  }, (0, import_react.createElement)(h, {
27398
27398
  ..._,
27399
27399
  children: t,
@@ -27401,7 +27401,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27401
27401
  id: o,
27402
27402
  ref: y,
27403
27403
  style: {
27404
- ...vq,
27404
+ ...Fq,
27405
27405
  ...f
27406
27406
  },
27407
27407
  [DATA_ATTRIBUTES.group]: "",
@@ -27478,31 +27478,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27478
27478
  });
27479
27479
  let O = (0, import_react.useContext)(PanelGroupContext);
27480
27480
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27481
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [cq, lq] = (0, import_react.useState)(false), [uq, dq] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
27481
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, Tq] = (0, import_react.useState)(false), [Eq, Dq] = (0, import_react.useState)(null), Oq = (0, import_react.useRef)({
27482
27482
  state: J
27483
27483
  });
27484
27484
  useIsomorphicLayoutEffect$1(() => {
27485
- $.current.state = J;
27485
+ Oq.current.state = J;
27486
27486
  }), (0, import_react.useEffect)(() => {
27487
- if (n) dq(null);
27487
+ if (n) Dq(null);
27488
27488
  else {
27489
27489
  let e2 = I(q);
27490
- dq(() => e2);
27490
+ Dq(() => e2);
27491
27491
  }
27492
27492
  }, [
27493
27493
  n,
27494
27494
  q,
27495
27495
  I
27496
27496
  ]);
27497
- let fq = (i == null ? void 0 : i.coarse) ?? 15, pq = (i == null ? void 0 : i.fine) ?? 5;
27497
+ let kq = (i == null ? void 0 : i.coarse) ?? 15, Aq = (i == null ? void 0 : i.fine) ?? 5;
27498
27498
  (0, import_react.useEffect)(() => {
27499
- if (n || uq == null) return;
27499
+ if (n || Eq == null) return;
27500
27500
  let e2 = w.current;
27501
27501
  assert(e2, "Element ref not attached");
27502
27502
  let t2 = false;
27503
27503
  return registerResizeHandle(q, e2, A, {
27504
- coarse: fq,
27505
- fine: pq
27504
+ coarse: kq,
27505
+ fine: Aq
27506
27506
  }, (e3, n2, i2) => {
27507
27507
  if (!n2) {
27508
27508
  Q("inactive");
@@ -27516,8 +27516,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27516
27516
  break;
27517
27517
  }
27518
27518
  case "move": {
27519
- let { state: e4 } = $.current;
27520
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), uq(i2);
27519
+ let { state: e4 } = Oq.current;
27520
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), Eq(i2);
27521
27521
  break;
27522
27522
  }
27523
27523
  case "up": {
@@ -27529,22 +27529,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27529
27529
  }
27530
27530
  });
27531
27531
  }, [
27532
- fq,
27532
+ kq,
27533
27533
  A,
27534
27534
  n,
27535
- pq,
27535
+ Aq,
27536
27536
  I,
27537
27537
  q,
27538
- uq,
27538
+ Eq,
27539
27539
  z,
27540
27540
  U
27541
27541
  ]), useWindowSplitterResizeHandlerBehavior({
27542
27542
  disabled: n,
27543
27543
  handleId: q,
27544
- resizeHandler: uq,
27544
+ resizeHandler: Eq,
27545
27545
  panelGroupElement: K
27546
27546
  });
27547
- let mq = {
27547
+ let jq = {
27548
27548
  touchAction: "none",
27549
27549
  userSelect: "none"
27550
27550
  };
@@ -27554,30 +27554,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27554
27554
  className: t,
27555
27555
  id: a,
27556
27556
  onBlur: () => {
27557
- lq(false), o == null ? void 0 : o();
27557
+ Tq(false), o == null ? void 0 : o();
27558
27558
  },
27559
27559
  onFocus: () => {
27560
- lq(true), d == null ? void 0 : d();
27560
+ Tq(true), d == null ? void 0 : d();
27561
27561
  },
27562
27562
  ref: w,
27563
27563
  role: "separator",
27564
27564
  style: {
27565
- ...mq,
27565
+ ...jq,
27566
27566
  ..._
27567
27567
  },
27568
27568
  tabIndex: v,
27569
27569
  [DATA_ATTRIBUTES.groupDirection]: A,
27570
27570
  [DATA_ATTRIBUTES.groupId]: M,
27571
27571
  [DATA_ATTRIBUTES.resizeHandle]: "",
27572
- [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : cq ? "keyboard" : void 0,
27572
+ [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : $ ? "keyboard" : void 0,
27573
27573
  [DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
27574
27574
  [DATA_ATTRIBUTES.resizeHandleId]: q,
27575
27575
  [DATA_ATTRIBUTES.resizeHandleState]: J
27576
27576
  });
27577
27577
  };
27578
27578
  PanelResizeHandle.displayName = "PanelResizeHandle";
27579
- let import_compiler_runtime$36, toggleVariants;
27580
- import_compiler_runtime$36 = require_compiler_runtime();
27579
+ let import_compiler_runtime$37, toggleVariants;
27580
+ import_compiler_runtime$37 = require_compiler_runtime();
27581
27581
  toggleVariants = cva(cn("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", "data-[state=on]:bg-muted data-[state=on]:text-muted-foreground"), {
27582
27582
  variants: {
27583
27583
  variant: {
@@ -27597,7 +27597,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27597
27597
  }
27598
27598
  });
27599
27599
  Toggle = import_react.forwardRef((e, t) => {
27600
- let n = (0, import_compiler_runtime$36.c)(13), i, o, s, c;
27600
+ let n = (0, import_compiler_runtime$37.c)(13), i, o, s, c;
27601
27601
  n[0] === e ? (i = n[1], o = n[2], s = n[3], c = n[4]) : ({ className: i, variant: c, size: s, ...o } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s, n[4] = c);
27602
27602
  let d;
27603
27603
  n[5] !== i || n[6] !== s || n[7] !== c ? (d = cn(toggleVariants({
@@ -27624,14 +27624,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27624
27624
  contextAwarePanelOpen = atom(false);
27625
27625
  atom(false);
27626
27626
  isCellAwareAtom = atom(false);
27627
- var import_compiler_runtime$35 = require_compiler_runtime();
27627
+ var import_compiler_runtime$36 = require_compiler_runtime();
27628
27628
  let CellHoverTemplateFeature;
27629
27629
  PANEL_TYPES = {
27630
27630
  ROW_VIEWER: "row-viewer",
27631
27631
  COLUMN_EXPLORER: "column-explorer"
27632
27632
  };
27633
27633
  ContextAwarePanelItem = (e) => {
27634
- let t = (0, import_compiler_runtime$35.c)(2), { children: n } = e, i;
27634
+ let t = (0, import_compiler_runtime$36.c)(2), { children: n } = e, i;
27635
27635
  return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)(ErrorBoundary, {
27636
27636
  children: (0, import_jsx_runtime.jsx)(Fill, {
27637
27637
  name: SlotNames.CONTEXT_AWARE_PANEL,
@@ -27861,7 +27861,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27861
27861
  }, [
27862
27862
  h
27863
27863
  ]), k(() => {
27864
- U(6, uq);
27864
+ U(6, Eq);
27865
27865
  }, []);
27866
27866
  let K = import_react.useMemo(() => ({
27867
27867
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -27870,7 +27870,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27870
27870
  var _a2;
27871
27871
  var a2, o2, s2;
27872
27872
  if (!Object.is(n.current[e2], t2)) {
27873
- if (n.current[e2] = t2, e2 === "search") lq(), Q(), U(1, cq);
27873
+ if (n.current[e2] = t2, e2 === "search") Tq(), Q(), U(1, $);
27874
27874
  else if (e2 === "value") {
27875
27875
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
27876
27876
  let e3 = document.getElementById(I);
@@ -27878,8 +27878,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27878
27878
  }
27879
27879
  if (U(7, () => {
27880
27880
  var _a3;
27881
- n.current.selectedItemId = (_a3 = dq()) == null ? void 0 : _a3.id, K.emit();
27882
- }), i2 || U(5, uq), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27881
+ n.current.selectedItemId = (_a3 = Dq()) == null ? void 0 : _a3.id, K.emit();
27882
+ }), i2 || U(5, Eq), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27883
27883
  let e3 = t2 ?? "";
27884
27884
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
27885
27885
  return;
@@ -27904,12 +27904,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27904
27904
  item: (e2, t2) => (i.current.add(e2), t2 && (a.current.has(t2) ? a.current.get(t2).add(e2) : a.current.set(t2, /* @__PURE__ */ new Set([
27905
27905
  e2
27906
27906
  ]))), U(3, () => {
27907
- lq(), Q(), n.current.value || cq(), K.emit();
27907
+ Tq(), Q(), n.current.value || $(), K.emit();
27908
27908
  }), () => {
27909
27909
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
27910
- let t3 = dq();
27910
+ let t3 = Dq();
27911
27911
  U(4, () => {
27912
- lq(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && cq(), K.emit();
27912
+ Tq(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
27913
27913
  });
27914
27914
  }),
27915
27915
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -27942,7 +27942,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27942
27942
  ]);
27943
27943
  });
27944
27944
  let i2 = z.current;
27945
- $().sort((t3, n2) => {
27945
+ Oq().sort((t3, n2) => {
27946
27946
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
27947
27947
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
27948
27948
  }).forEach((e3) => {
@@ -27954,12 +27954,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27954
27954
  t3 == null ? void 0 : t3.parentElement.appendChild(t3);
27955
27955
  });
27956
27956
  }
27957
- function cq() {
27957
+ function $() {
27958
27958
  var _a2;
27959
- let e2 = (_a2 = $().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27959
+ let e2 = (_a2 = Oq().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27960
27960
  K.setState("value", e2 || void 0);
27961
27961
  }
27962
- function lq() {
27962
+ function Tq() {
27963
27963
  var _a2, _b;
27964
27964
  if (!n.current.search || c.current.shouldFilter === false) {
27965
27965
  n.current.filtered.count = i.current.size;
@@ -27977,43 +27977,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27977
27977
  }
27978
27978
  n.current.filtered.count = e2;
27979
27979
  }
27980
- function uq() {
27980
+ function Eq() {
27981
27981
  var _a2, _b;
27982
27982
  var e2;
27983
- let t2 = dq();
27983
+ let t2 = Dq();
27984
27984
  t2 && (((_a2 = t2.parentElement) == null ? void 0 : _a2.firstChild) === t2 && ((e2 = (_b = t2.closest(N$1)) == null ? void 0 : _b.querySelector(be)) == null || e2.scrollIntoView({
27985
27985
  block: "nearest"
27986
27986
  })), t2.scrollIntoView({
27987
27987
  block: "nearest"
27988
27988
  }));
27989
27989
  }
27990
- function dq() {
27990
+ function Dq() {
27991
27991
  var _a2;
27992
27992
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
27993
27993
  }
27994
- function $() {
27994
+ function Oq() {
27995
27995
  var _a2;
27996
27996
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
27997
27997
  }
27998
- function fq(e2) {
27999
- let t2 = $()[e2];
27998
+ function kq(e2) {
27999
+ let t2 = Oq()[e2];
28000
28000
  t2 && K.setState("value", t2.getAttribute(T));
28001
28001
  }
28002
- function pq(e2) {
28002
+ function Aq(e2) {
28003
28003
  var t2;
28004
- let n2 = dq(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
28004
+ let n2 = Dq(), i2 = Oq(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
28005
28005
  (t2 = c.current) != null && t2.loop && (o2 = a2 + e2 < 0 ? i2[i2.length - 1] : a2 + e2 === i2.length ? i2[0] : i2[a2 + e2]), o2 && K.setState("value", o2.getAttribute(T));
28006
28006
  }
28007
- function mq(e2) {
28007
+ function jq(e2) {
28008
28008
  var _a2;
28009
- let t2 = (_a2 = dq()) == null ? void 0 : _a2.closest(N$1), n2;
28009
+ let t2 = (_a2 = Dq()) == null ? void 0 : _a2.closest(N$1), n2;
28010
28010
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
28011
- n2 ? K.setState("value", n2.getAttribute(T)) : pq(e2);
28011
+ n2 ? K.setState("value", n2.getAttribute(T)) : Aq(e2);
28012
28012
  }
28013
- let hq = () => fq($().length - 1), gq = (e2) => {
28014
- e2.preventDefault(), e2.metaKey ? hq() : e2.altKey ? mq(1) : pq(1);
28015
- }, _q = (e2) => {
28016
- e2.preventDefault(), e2.metaKey ? fq(0) : e2.altKey ? mq(-1) : pq(-1);
28013
+ let Mq = () => kq(Oq().length - 1), Nq = (e2) => {
28014
+ e2.preventDefault(), e2.metaKey ? Mq() : e2.altKey ? jq(1) : Aq(1);
28015
+ }, Pq = (e2) => {
28016
+ e2.preventDefault(), e2.metaKey ? kq(0) : e2.altKey ? jq(-1) : Aq(-1);
28017
28017
  };
28018
28018
  return import_react.createElement(Primitive.div, {
28019
28019
  ref: t,
@@ -28027,27 +28027,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28027
28027
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
28028
28028
  case "n":
28029
28029
  case "j":
28030
- E && e2.ctrlKey && gq(e2);
28030
+ E && e2.ctrlKey && Nq(e2);
28031
28031
  break;
28032
28032
  case "ArrowDown":
28033
- gq(e2);
28033
+ Nq(e2);
28034
28034
  break;
28035
28035
  case "p":
28036
28036
  case "k":
28037
- E && e2.ctrlKey && _q(e2);
28037
+ E && e2.ctrlKey && Pq(e2);
28038
28038
  break;
28039
28039
  case "ArrowUp":
28040
- _q(e2);
28040
+ Pq(e2);
28041
28041
  break;
28042
28042
  case "Home":
28043
- e2.preventDefault(), fq(0);
28043
+ e2.preventDefault(), kq(0);
28044
28044
  break;
28045
28045
  case "End":
28046
- e2.preventDefault(), hq();
28046
+ e2.preventDefault(), Mq();
28047
28047
  break;
28048
28048
  case "Enter": {
28049
28049
  e2.preventDefault();
28050
- let t3 = dq();
28050
+ let t3 = Dq();
28051
28051
  if (t3) {
28052
28052
  let e3 = new Event(Z);
28053
28053
  t3.dispatchEvent(e3);
@@ -28335,10 +28335,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28335
28335
  function smartMatchFilter(e, t, n) {
28336
28336
  return smartMatch(t, e) ? 1 : n && smartMatch(t, n) ? 0.8 : 0;
28337
28337
  }
28338
- let import_compiler_runtime$34;
28339
- import_compiler_runtime$34 = require_compiler_runtime();
28338
+ let import_compiler_runtime$35;
28339
+ import_compiler_runtime$35 = require_compiler_runtime();
28340
28340
  Command = import_react.forwardRef((e, t) => {
28341
- let n = (0, import_compiler_runtime$34.c)(9), i, o;
28341
+ let n = (0, import_compiler_runtime$35.c)(9), i, o;
28342
28342
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
28343
28343
  let s;
28344
28344
  n[3] === i ? s = n[4] : (s = cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", i), n[3] = i, n[4] = s);
@@ -28352,7 +28352,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28352
28352
  });
28353
28353
  Command.displayName = _e.displayName;
28354
28354
  CommandInput = import_react.forwardRef((e, t) => {
28355
- let n = (0, import_compiler_runtime$34.c)(19), i, o, s, c;
28355
+ let n = (0, import_compiler_runtime$35.c)(19), i, o, s, c;
28356
28356
  n[0] === e ? (i = n[1], o = n[2], s = n[3], c = n[4]) : ({ className: i, icon: o, rootClassName: c, ...s } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s, n[4] = c);
28357
28357
  let d;
28358
28358
  n[5] === c ? d = n[6] : (d = cn("flex items-center border-b px-3", c), n[5] = c, n[6] = d);
@@ -28380,7 +28380,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28380
28380
  });
28381
28381
  CommandInput.displayName = _e.Input.displayName;
28382
28382
  CommandList = import_react.forwardRef((e, t) => {
28383
- let n = (0, import_compiler_runtime$34.c)(9), i, o;
28383
+ let n = (0, import_compiler_runtime$35.c)(9), i, o;
28384
28384
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
28385
28385
  let s;
28386
28386
  n[3] === i ? s = n[4] : (s = cn("max-h-[300px] overflow-y-auto overflow-x-hidden", i), n[3] = i, n[4] = s);
@@ -28393,7 +28393,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28393
28393
  });
28394
28394
  CommandList.displayName = _e.List.displayName;
28395
28395
  CommandEmpty = import_react.forwardRef((e, t) => {
28396
- let n = (0, import_compiler_runtime$34.c)(3), i;
28396
+ let n = (0, import_compiler_runtime$35.c)(3), i;
28397
28397
  return n[0] !== e || n[1] !== t ? (i = (0, import_jsx_runtime.jsx)(_e.Empty, {
28398
28398
  ref: t,
28399
28399
  className: "py-6 text-center text-sm",
@@ -28402,7 +28402,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28402
28402
  });
28403
28403
  CommandEmpty.displayName = _e.Empty.displayName;
28404
28404
  var CommandGroup = import_react.forwardRef((e, t) => {
28405
- let n = (0, import_compiler_runtime$34.c)(9), i, o;
28405
+ let n = (0, import_compiler_runtime$35.c)(9), i, o;
28406
28406
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
28407
28407
  let s;
28408
28408
  n[3] === i ? s = n[4] : (s = cn("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", i), n[3] = i, n[4] = s);
@@ -28415,7 +28415,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28415
28415
  });
28416
28416
  CommandGroup.displayName = _e.Group.displayName;
28417
28417
  CommandSeparator = import_react.forwardRef((e, t) => {
28418
- let n = (0, import_compiler_runtime$34.c)(9), i, a;
28418
+ let n = (0, import_compiler_runtime$35.c)(9), i, a;
28419
28419
  n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
28420
28420
  let o;
28421
28421
  n[3] === i ? o = n[4] : (o = menuSeparatorVariants({
@@ -28430,7 +28430,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28430
28430
  });
28431
28431
  CommandSeparator.displayName = _e.Separator.displayName;
28432
28432
  CommandItem = import_react.forwardRef((e, t) => {
28433
- let n = (0, import_compiler_runtime$34.c)(17), i, o, s, c, d;
28433
+ let n = (0, import_compiler_runtime$35.c)(17), i, o, s, c, d;
28434
28434
  if (n[0] !== t || n[1] !== e) {
28435
28435
  let { className: f2, variant: h, inset: _, ...v } = e;
28436
28436
  i = _e.Item, o = t, n[7] !== f2 || n[8] !== _ || n[9] !== h ? (s = cn(menuItemVariants({
@@ -28447,195 +28447,198 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28447
28447
  }), n[11] = i, n[12] = o, n[13] = s, n[14] = c, n[15] = d, n[16] = f) : f = n[16], f;
28448
28448
  });
28449
28449
  CommandItem.displayName = _e.Item.displayName;
28450
- var import_compiler_runtime$33 = require_compiler_runtime();
28450
+ var import_compiler_runtime$34 = require_compiler_runtime();
28451
28451
  let ComboboxContext;
28452
28452
  ComboboxContext = (0, import_react.createContext)({
28453
28453
  isSelected: () => false,
28454
28454
  onSelect: Functions.NOOP
28455
28455
  });
28456
28456
  Combobox = (e) => {
28457
- let t = (0, import_compiler_runtime$33.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
28458
- t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: J, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: q, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J);
28459
- let Q = M === void 0 ? false : M, cq = I === void 0 ? true : I, lq = z === void 0 ? "Search..." : z, uq = U === void 0 ? "Nothing found." : U, dq = K === void 0 ? false : K, $ = q === void 0 ? false : q, fq = s ?? false, pq;
28460
- t[24] !== v || t[25] !== w || t[26] !== fq ? (pq = {
28457
+ let t = (0, import_compiler_runtime$34.c)(106), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, Q;
28458
+ t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23], Q = t[24]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: Q, defaultValue: c, onValueChange: S, multiple: I, shouldFilter: z, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: U, search: M, onSearchChange: y, emptyState: K, chips: q, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: J, renderValue: O, ...A } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J, t[24] = Q);
28459
+ let $ = I === void 0 ? false : I, Tq = z === void 0 ? true : z, Eq = U === void 0 ? "Search..." : U, Dq = K === void 0 ? "Nothing found." : K, Oq = q === void 0 ? false : q, kq = J === void 0 ? false : J, Aq = s ?? false, jq;
28460
+ t[25] !== v || t[26] !== w || t[27] !== Aq ? (jq = {
28461
28461
  prop: w,
28462
- defaultProp: fq,
28462
+ defaultProp: Aq,
28463
28463
  onChange: v
28464
- }, t[24] = v, t[25] = w, t[26] = fq, t[27] = pq) : pq = t[27];
28465
- let [mq, hq] = useControllableState(pq), gq = mq === void 0 ? false : mq, _q;
28466
- t[28] === S ? _q = t[29] : (_q = (e2) => {
28464
+ }, t[25] = v, t[26] = w, t[27] = Aq, t[28] = jq) : jq = t[28];
28465
+ let [Mq, Nq] = useControllableState(jq), Pq = Mq === void 0 ? false : Mq, Fq;
28466
+ t[29] === S ? Fq = t[30] : (Fq = (e2) => {
28467
28467
  S == null ? void 0 : S(e2);
28468
- }, t[28] = S, t[29] = _q);
28469
- let vq;
28470
- t[30] !== c || t[31] !== _q || t[32] !== J ? (vq = {
28471
- prop: J,
28468
+ }, t[29] = S, t[30] = Fq);
28469
+ let Iq;
28470
+ t[31] !== c || t[32] !== Fq || t[33] !== Q ? (Iq = {
28471
+ prop: Q,
28472
28472
  defaultProp: c,
28473
- onChange: _q
28474
- }, t[30] = c, t[31] = _q, t[32] = J, t[33] = vq) : vq = t[33];
28475
- let [yq, bq] = useControllableState(vq), xq;
28476
- t[34] === yq ? xq = t[35] : (xq = (e2) => Array.isArray(yq) ? yq.includes(e2) : yq === e2, t[34] = yq, t[35] = xq);
28477
- let Sq = xq, Cq;
28478
- t[36] !== _ || t[37] !== Q || t[38] !== hq || t[39] !== bq || t[40] !== yq ? (Cq = (e2) => {
28473
+ onChange: Fq
28474
+ }, t[31] = c, t[32] = Fq, t[33] = Q, t[34] = Iq) : Iq = t[34];
28475
+ let [Lq, Rq] = useControllableState(Iq), zq;
28476
+ t[35] === Lq ? zq = t[36] : (zq = (e2) => Array.isArray(Lq) ? Lq.includes(e2) : Lq === e2, t[35] = Lq, t[36] = zq);
28477
+ let Bq = zq, Vq;
28478
+ t[37] !== _ || t[38] !== $ || t[39] !== Nq || t[40] !== Rq || t[41] !== Lq ? (Vq = (e2) => {
28479
28479
  let t2 = e2;
28480
- if (Q) if (Array.isArray(yq)) if (yq.includes(t2)) {
28481
- let n2 = yq.filter((t3) => t3 !== e2);
28480
+ if ($) if (Array.isArray(Lq)) if (Lq.includes(t2)) {
28481
+ let n2 = Lq.filter((t3) => t3 !== e2);
28482
28482
  t2 = n2.length > 0 ? n2 : [];
28483
28483
  } else t2 = [
28484
- ...yq,
28484
+ ...Lq,
28485
28485
  t2
28486
28486
  ];
28487
28487
  else t2 = [
28488
28488
  t2
28489
28489
  ];
28490
- else yq === e2 && (t2 = null);
28491
- bq(t2), (_ ?? Q) || hq(false);
28492
- }, t[36] = _, t[37] = Q, t[38] = hq, t[39] = bq, t[40] = yq, t[41] = Cq) : Cq = t[41];
28493
- let wq = Cq, Tq;
28494
- t[42] !== dq || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== yq ? (Tq = () => Q && dq && E ? E : yq == null ? E ?? "--" : Array.isArray(yq) ? yq.length === 0 ? E ?? "--" : yq.length === 1 && d !== void 0 ? d(yq[0]) : `${yq.length} selected` : d === void 0 ? E ?? "--" : d(yq), t[42] = dq, t[43] = d, t[44] = Q, t[45] = E, t[46] = yq, t[47] = Tq) : Tq = t[47];
28495
- let Eq = Tq, Dq;
28496
- t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Dq = cn("relative"), t[48] = Dq) : Dq = t[48];
28497
- let Oq;
28498
- t[49] !== $ || t[50] !== hq ? (Oq = (e2) => {
28499
- $ && e2 || hq(e2);
28500
- }, t[49] = $, t[50] = hq, t[51] = Oq) : Oq = t[51];
28501
- let kq = $ && "cursor-not-allowed opacity-50", jq;
28502
- t[52] !== o || t[53] !== kq ? (jq = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", kq, o), t[52] = o, t[53] = kq, t[54] = jq) : jq = t[54];
28503
- let Nq;
28504
- t[55] === Eq ? Nq = t[56] : (Nq = Eq(), t[55] = Eq, t[56] = Nq);
28505
- let Pq;
28506
- t[57] === Nq ? Pq = t[58] : (Pq = (0, import_jsx_runtime.jsx)("span", {
28490
+ else Lq === e2 && (t2 = null);
28491
+ Rq(t2), (_ ?? $) || Nq(false);
28492
+ }, t[37] = _, t[38] = $, t[39] = Nq, t[40] = Rq, t[41] = Lq, t[42] = Vq) : Vq = t[42];
28493
+ let Hq = Vq, Uq;
28494
+ t[43] !== Oq || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== Lq ? (Uq = () => $ && Oq && E ? E : Lq == null ? E ?? "--" : Array.isArray(Lq) ? Lq.length === 0 ? E ?? "--" : Lq.length === 1 && d !== void 0 ? d(Lq[0]) : `${Lq.length} selected` : d === void 0 ? E ?? "--" : d(Lq), t[43] = Oq, t[44] = d, t[45] = $, t[46] = E, t[47] = Lq, t[48] = Uq) : Uq = t[48];
28495
+ let Wq = Uq, Gq;
28496
+ t[49] !== Hq || t[50] !== Bq ? (Gq = {
28497
+ isSelected: Bq,
28498
+ onSelect: Hq
28499
+ }, t[49] = Hq, t[50] = Bq, t[51] = Gq) : Gq = t[51];
28500
+ let Kq = Gq, Jq;
28501
+ t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Jq = cn("relative"), t[52] = Jq) : Jq = t[52];
28502
+ let Xq;
28503
+ t[53] !== kq || t[54] !== Nq ? (Xq = (e2) => {
28504
+ kq && e2 || Nq(e2);
28505
+ }, t[53] = kq, t[54] = Nq, t[55] = Xq) : Xq = t[55];
28506
+ let Zq = kq && "cursor-not-allowed opacity-50", Qq;
28507
+ t[56] !== o || t[57] !== Zq ? (Qq = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", Zq, o), t[56] = o, t[57] = Zq, t[58] = Qq) : Qq = t[58];
28508
+ let $q;
28509
+ t[59] !== O || t[60] !== Wq || t[61] !== Lq ? ($q = O ? O(Lq ?? null) : Wq(), t[59] = O, t[60] = Wq, t[61] = Lq, t[62] = $q) : $q = t[62];
28510
+ let eJ;
28511
+ t[63] === $q ? eJ = t[64] : (eJ = (0, import_jsx_runtime.jsx)("span", {
28507
28512
  className: "truncate flex-1 min-w-0",
28508
- children: Nq
28509
- }), t[57] = Nq, t[58] = Pq);
28510
- let Fq;
28511
- t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Fq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28513
+ children: $q
28514
+ }), t[63] = $q, t[64] = eJ);
28515
+ let tJ;
28516
+ t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (tJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
28512
28517
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28513
- }), t[59] = Fq) : Fq = t[59];
28514
- let Iq;
28515
- t[60] !== $ || t[61] !== h || t[62] !== gq || t[63] !== jq || t[64] !== Pq ? (Iq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28518
+ }), t[65] = tJ) : tJ = t[65];
28519
+ let nJ;
28520
+ t[66] !== kq || t[67] !== h || t[68] !== Pq || t[69] !== Qq || t[70] !== eJ ? (nJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28516
28521
  asChild: true,
28517
28522
  children: (0, import_jsx_runtime.jsxs)("button", {
28518
28523
  id: h,
28519
28524
  type: "button",
28520
- className: jq,
28521
- "aria-expanded": gq,
28522
- "aria-disabled": $,
28525
+ className: Qq,
28526
+ "aria-expanded": Pq,
28527
+ "aria-disabled": kq,
28523
28528
  children: [
28524
- Pq,
28525
- Fq
28529
+ eJ,
28530
+ tJ
28526
28531
  ]
28527
28532
  })
28528
- }), t[60] = $, t[61] = h, t[62] = gq, t[63] = jq, t[64] = Pq, t[65] = Iq) : Iq = t[65];
28529
- let Lq;
28530
- t[66] !== lq || t[67] !== y || t[68] !== A ? (Lq = (0, import_jsx_runtime.jsx)(CommandInput, {
28531
- placeholder: lq,
28533
+ }), t[66] = kq, t[67] = h, t[68] = Pq, t[69] = Qq, t[70] = eJ, t[71] = nJ) : nJ = t[71];
28534
+ let rJ;
28535
+ t[72] !== Eq || t[73] !== y || t[74] !== M ? (rJ = (0, import_jsx_runtime.jsx)(CommandInput, {
28536
+ placeholder: Eq,
28532
28537
  rootClassName: "px-1 h-8",
28533
28538
  autoFocus: true,
28534
- value: A,
28539
+ value: M,
28535
28540
  onValueChange: y
28536
- }), t[66] = lq, t[67] = y, t[68] = A, t[69] = Lq) : Lq = t[69];
28537
- let Rq;
28538
- t[70] === uq ? Rq = t[71] : (Rq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28539
- children: uq
28540
- }), t[70] = uq, t[71] = Rq);
28541
- let zq;
28542
- t[72] !== wq || t[73] !== Sq ? (zq = {
28543
- isSelected: Sq,
28544
- onSelect: wq
28545
- }, t[72] = wq, t[73] = Sq, t[74] = zq) : zq = t[74];
28546
- let Bq;
28547
- t[75] !== n || t[76] !== zq ? (Bq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28548
- value: zq,
28541
+ }), t[72] = Eq, t[73] = y, t[74] = M, t[75] = rJ) : rJ = t[75];
28542
+ let iJ;
28543
+ t[76] === Dq ? iJ = t[77] : (iJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28544
+ children: Dq
28545
+ }), t[76] = Dq, t[77] = iJ);
28546
+ let aJ;
28547
+ t[78] !== n || t[79] !== Kq ? (aJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28548
+ value: Kq,
28549
28549
  children: n
28550
- }), t[75] = n, t[76] = zq, t[77] = Bq) : Bq = t[77];
28551
- let Vq;
28552
- t[78] !== Rq || t[79] !== Bq ? (Vq = (0, import_jsx_runtime.jsxs)(CommandList, {
28550
+ }), t[78] = n, t[79] = Kq, t[80] = aJ) : aJ = t[80];
28551
+ let oJ;
28552
+ t[81] !== iJ || t[82] !== aJ ? (oJ = (0, import_jsx_runtime.jsxs)(CommandList, {
28553
28553
  className: "max-h-60 py-.5",
28554
28554
  children: [
28555
- Rq,
28556
- Bq
28555
+ iJ,
28556
+ aJ
28557
28557
  ]
28558
- }), t[78] = Rq, t[79] = Bq, t[80] = Vq) : Vq = t[80];
28559
- let Hq;
28560
- t[81] !== f || t[82] !== cq || t[83] !== Lq || t[84] !== Vq ? (Hq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28558
+ }), t[81] = iJ, t[82] = aJ, t[83] = oJ) : oJ = t[83];
28559
+ let sJ;
28560
+ t[84] !== f || t[85] !== Tq || t[86] !== rJ || t[87] !== oJ ? (sJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
28561
28561
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28562
28562
  align: "start",
28563
28563
  children: (0, import_jsx_runtime.jsxs)(Command, {
28564
28564
  filter: f,
28565
- shouldFilter: cq,
28565
+ shouldFilter: Tq,
28566
28566
  children: [
28567
- Lq,
28568
- Vq
28567
+ rJ,
28568
+ oJ
28569
28569
  ]
28570
28570
  })
28571
- }), t[81] = f, t[82] = cq, t[83] = Lq, t[84] = Vq, t[85] = Hq) : Hq = t[85];
28572
- let Uq;
28573
- t[86] !== gq || t[87] !== Oq || t[88] !== Iq || t[89] !== Hq ? (Uq = (0, import_jsx_runtime.jsxs)(Popover, {
28574
- open: gq,
28575
- onOpenChange: Oq,
28571
+ }), t[84] = f, t[85] = Tq, t[86] = rJ, t[87] = oJ, t[88] = sJ) : sJ = t[88];
28572
+ let cJ;
28573
+ t[89] !== Pq || t[90] !== Xq || t[91] !== nJ || t[92] !== sJ ? (cJ = (0, import_jsx_runtime.jsxs)(Popover, {
28574
+ open: Pq,
28575
+ onOpenChange: Xq,
28576
28576
  children: [
28577
- Iq,
28578
- Hq
28577
+ nJ,
28578
+ sJ
28579
28579
  ]
28580
- }), t[86] = gq, t[87] = Oq, t[88] = Iq, t[89] = Hq, t[90] = Uq) : Uq = t[90];
28581
- let Wq;
28582
- t[91] !== dq || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== wq || t[96] !== Q || t[97] !== yq ? (Wq = Q && dq && (0, import_jsx_runtime.jsx)("div", {
28580
+ }), t[89] = Pq, t[90] = Xq, t[91] = nJ, t[92] = sJ, t[93] = cJ) : cJ = t[93];
28581
+ let lJ;
28582
+ t[94] !== Oq || t[95] !== i || t[96] !== kq || t[97] !== d || t[98] !== Hq || t[99] !== $ || t[100] !== Lq ? (lJ = $ && Oq && (0, import_jsx_runtime.jsx)("div", {
28583
28583
  className: cn("flex flex-col gap-1 items-start", i),
28584
- children: Array.isArray(yq) && yq.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28584
+ children: Array.isArray(Lq) && Lq.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28585
28585
  variant: "secondary",
28586
28586
  children: [
28587
28587
  (d == null ? void 0 : d(e2)) ?? String(e2),
28588
28588
  (0, import_jsx_runtime.jsx)(CircleX, {
28589
28589
  onClick: () => {
28590
- $ || wq(e2);
28590
+ kq || Hq(e2);
28591
28591
  },
28592
- className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", $ && "pointer-events-none")
28592
+ className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", kq && "pointer-events-none")
28593
28593
  })
28594
28594
  ]
28595
28595
  }, String(e2)))
28596
- }), t[91] = dq, t[92] = i, t[93] = $, t[94] = d, t[95] = wq, t[96] = Q, t[97] = yq, t[98] = Wq) : Wq = t[98];
28597
- let Gq;
28598
- return t[99] !== O || t[100] !== Uq || t[101] !== Wq ? (Gq = (0, import_jsx_runtime.jsxs)("div", {
28599
- className: Dq,
28600
- ...O,
28596
+ }), t[94] = Oq, t[95] = i, t[96] = kq, t[97] = d, t[98] = Hq, t[99] = $, t[100] = Lq, t[101] = lJ) : lJ = t[101];
28597
+ let uJ;
28598
+ return t[102] !== A || t[103] !== cJ || t[104] !== lJ ? (uJ = (0, import_jsx_runtime.jsxs)("div", {
28599
+ className: Jq,
28600
+ ...A,
28601
28601
  children: [
28602
- Uq,
28603
- Wq
28602
+ cJ,
28603
+ lJ
28604
28604
  ]
28605
- }), t[99] = O, t[100] = Uq, t[101] = Wq, t[102] = Gq) : Gq = t[102], Gq;
28605
+ }), t[102] = A, t[103] = cJ, t[104] = lJ, t[105] = uJ) : uJ = t[105], uJ;
28606
28606
  };
28607
28607
  ComboboxItem = import_react.forwardRef((e, t) => {
28608
- let n = (0, import_compiler_runtime$33.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
28609
- n[0] === o ? _ = n[1] : (_ = cn("pl-6 m-1 py-1", o), n[0] = o, n[1] = _);
28610
- let v;
28611
- n[2] !== h || n[3] !== c || n[4] !== s ? (v = () => {
28608
+ let n = (0, import_compiler_runtime$34.c)(20), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
28609
+ n[0] !== h || n[1] !== s ? (_ = h.isSelected(s), n[0] = h, n[1] = s, n[2] = _) : _ = n[2];
28610
+ let v = _, y;
28611
+ n[3] === o ? y = n[4] : (y = cn("pl-6 m-1 py-1", o), n[3] = o, n[4] = y);
28612
+ let S;
28613
+ n[5] !== h || n[6] !== c || n[7] !== s ? (S = () => {
28612
28614
  h.onSelect(s), c == null ? void 0 : c(s);
28613
- }, n[2] = h, n[3] = c, n[4] = s, n[5] = v) : v = n[5];
28614
- let y;
28615
- n[6] !== h || n[7] !== s ? (y = h.isSelected(s) && (0, import_jsx_runtime.jsx)(Check, {
28615
+ }, n[5] = h, n[6] = c, n[7] = s, n[8] = S) : S = n[8];
28616
+ let w;
28617
+ n[9] === v ? w = n[10] : (w = v && (0, import_jsx_runtime.jsx)(Check, {
28616
28618
  className: "absolute left-1 h-4 w-4"
28617
- }), n[6] = h, n[7] = s, n[8] = y) : y = n[8];
28618
- let S;
28619
- return n[9] !== i || n[10] !== d || n[11] !== t || n[12] !== _ || n[13] !== v || n[14] !== y || n[15] !== f ? (S = (0, import_jsx_runtime.jsxs)(CommandItem, {
28619
+ }), n[9] = v, n[10] = w);
28620
+ let E;
28621
+ return n[11] !== i || n[12] !== d || n[13] !== v || n[14] !== t || n[15] !== y || n[16] !== S || n[17] !== w || n[18] !== f ? (E = (0, import_jsx_runtime.jsxs)(CommandItem, {
28620
28622
  ref: t,
28621
- className: _,
28623
+ className: y,
28622
28624
  role: "option",
28625
+ "aria-selected": v,
28623
28626
  value: f,
28624
28627
  disabled: d,
28625
- onSelect: v,
28628
+ onSelect: S,
28626
28629
  children: [
28627
- y,
28630
+ w,
28628
28631
  i
28629
28632
  ]
28630
- }), n[9] = i, n[10] = d, n[11] = t, n[12] = _, n[13] = v, n[14] = y, n[15] = f, n[16] = S) : S = n[16], S;
28633
+ }), n[11] = i, n[12] = d, n[13] = v, n[14] = t, n[15] = y, n[16] = S, n[17] = w, n[18] = f, n[19] = E) : E = n[19], E;
28631
28634
  });
28632
28635
  ComboboxItem.displayName = "ComboboxItem";
28633
- var import_compiler_runtime$32 = require_compiler_runtime(), labelVariants = cva([
28636
+ var import_compiler_runtime$33 = require_compiler_runtime(), labelVariants = cva([
28634
28637
  "text-sm font-medium leading-none",
28635
28638
  "data-disabled:cursor-not-allowed data-disabled:opacity-70",
28636
28639
  "group-data-invalid:text-destructive"
28637
28640
  ]), Label = (e) => {
28638
- let t = (0, import_compiler_runtime$32.c)(8), n, i;
28641
+ let t = (0, import_compiler_runtime$33.c)(8), n, i;
28639
28642
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28640
28643
  let o;
28641
28644
  t[3] === n ? o = t[4] : (o = cn(labelVariants(), n), t[3] = n, t[4] = o);
@@ -28645,7 +28648,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28645
28648
  ...i
28646
28649
  }), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
28647
28650
  }, FieldError = (e) => {
28648
- let t = (0, import_compiler_runtime$32.c)(8), n, i;
28651
+ let t = (0, import_compiler_runtime$33.c)(8), n, i;
28649
28652
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28650
28653
  let o;
28651
28654
  t[3] === n ? o = t[4] : (o = cn("text-sm font-medium text-destructive", n), t[3] = n, t[4] = o);
@@ -28670,7 +28673,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28670
28673
  variant: "default"
28671
28674
  }
28672
28675
  }), FieldGroup = (e) => {
28673
- let t = (0, import_compiler_runtime$32.c)(12), n, i, o;
28676
+ let t = (0, import_compiler_runtime$33.c)(12), n, i, o;
28674
28677
  t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, variant: o, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
28675
28678
  let s;
28676
28679
  t[4] === o ? s = t[5] : (s = (e2) => cn(fieldGroupVariants({
@@ -28683,18 +28686,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28683
28686
  className: c,
28684
28687
  ...i
28685
28688
  }), t[9] = i, t[10] = c, t[11] = d) : d = t[11], d;
28686
- }, import_compiler_runtime$31 = require_compiler_runtime(), DateSegment = (e) => {
28687
- let t = (0, import_compiler_runtime$31.c)(8), n, i;
28689
+ }, import_compiler_runtime$32 = require_compiler_runtime(), DateSegment = (e) => {
28690
+ let t = (0, import_compiler_runtime$32.c)(8), n, i;
28688
28691
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28689
28692
  let a;
28690
- t[3] === n ? a = t[4] : (a = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$8), t[3] = n, t[4] = a);
28693
+ t[3] === n ? a = t[4] : (a = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$9), t[3] = n, t[4] = a);
28691
28694
  let o;
28692
28695
  return t[5] !== i || t[6] !== a ? (o = (0, import_jsx_runtime.jsx)($40825cdb76e74f70$export$336ab7fa954c4b5f, {
28693
28696
  className: a,
28694
28697
  ...i
28695
28698
  }), t[5] = i, t[6] = a, t[7] = o) : o = t[7], o;
28696
28699
  }, DateInput = (e) => {
28697
- let t = (0, import_compiler_runtime$31.c)(12), n, i, o;
28700
+ let t = (0, import_compiler_runtime$32.c)(12), n, i, o;
28698
28701
  t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, variant: o, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
28699
28702
  let s;
28700
28703
  t[4] === o ? s = t[5] : (s = (e2) => cn(fieldGroupVariants({
@@ -28706,13 +28709,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28706
28709
  return t[9] !== i || t[10] !== c ? (d = (0, import_jsx_runtime.jsx)($40825cdb76e74f70$export$7edc06cf1783b30f, {
28707
28710
  className: c,
28708
28711
  ...i,
28709
- children: _temp2$6
28712
+ children: _temp2$7
28710
28713
  }), t[9] = i, t[10] = c, t[11] = d) : d = t[11], d;
28711
28714
  }, TimeField = (e) => {
28712
- let t = (0, import_compiler_runtime$31.c)(21), n, i, a, o, s;
28715
+ let t = (0, import_compiler_runtime$32.c)(21), n, i, a, o, s;
28713
28716
  t[0] === e ? (n = t[1], i = t[2], a = t[3], o = t[4], s = t[5]) : ({ label: o, description: i, errorMessage: a, className: n, ...s } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = o, t[5] = s);
28714
28717
  let c;
28715
- t[6] === n ? c = t[7] : (c = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp4$3), t[6] = n, t[7] = c);
28718
+ t[6] === n ? c = t[7] : (c = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp4$4), t[6] = n, t[7] = c);
28716
28719
  let d;
28717
28720
  t[8] === o ? d = t[9] : (d = (0, import_jsx_runtime.jsx)(Label, {
28718
28721
  children: o
@@ -28740,22 +28743,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28740
28743
  ]
28741
28744
  }), t[15] = s, t[16] = c, t[17] = d, t[18] = h, t[19] = _, t[20] = v) : v = t[20], v;
28742
28745
  };
28743
- function _temp$8(e) {
28746
+ function _temp$9(e) {
28744
28747
  return cn("type-literal:px-0 inline rounded p-0.5 caret-transparent outline-solid outline-0", "data-placeholder:text-muted-foreground", "data-disabled:cursor-not-allowed data-disabled:opacity-50", "data-focused:bg-accent data-focused:text-accent-foreground focus:bg-accent focus:text-accent-foreground", "data-invalid:data-focused:bg-destructive data-invalid:data-focused:data-placeholder:text-destructive-foreground data-invalid:data-focused:text-destructive-foreground data-invalid:data-placeholder:text-destructive data-invalid:text-destructive", e);
28745
28748
  }
28746
- function _temp2$6(e) {
28749
+ function _temp2$7(e) {
28747
28750
  return (0, import_jsx_runtime.jsx)(DateSegment, {
28748
28751
  segment: e
28749
28752
  });
28750
28753
  }
28751
- function _temp4$3(e) {
28754
+ function _temp4$4(e) {
28752
28755
  return cn("group flex flex-col gap-2", e);
28753
28756
  }
28754
- var import_compiler_runtime$30 = require_compiler_runtime(), Popover$1 = (e) => {
28755
- let t = (0, import_compiler_runtime$30.c)(10), n, i, a;
28757
+ var import_compiler_runtime$31 = require_compiler_runtime(), Popover$1 = (e) => {
28758
+ let t = (0, import_compiler_runtime$31.c)(10), n, i, a;
28756
28759
  t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ className: n, offset: a, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
28757
28760
  let o = a === void 0 ? 4 : a, s;
28758
- t[4] === n ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$7), t[4] = n, t[5] = s);
28761
+ t[4] === n ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$8), t[4] = n, t[5] = s);
28759
28762
  let c;
28760
28763
  return t[6] !== o || t[7] !== i || t[8] !== s ? (c = (0, import_jsx_runtime.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, {
28761
28764
  offset: o,
@@ -28763,11 +28766,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28763
28766
  ...i
28764
28767
  }), t[6] = o, t[7] = i, t[8] = s, t[9] = c) : c = t[9], c;
28765
28768
  };
28766
- function _temp$7(e) {
28769
+ function _temp$8(e) {
28767
28770
  return cn("z-50 rounded-md border bg-popover text-popover-foreground shadow-md outline-hidden", "data-entering:animate-in data-entering:fade-in-0 data-entering:zoom-in-95", "data-exiting:animate-out data-exiting:fade-out-0 data-exiting:zoom-out-95", "data-[placement=bottom]:slide-in-from-top-2 data-[placement=left]:slide-in-from-right-2 data-[placement=right]:slide-in-from-left-2 data-[placement=top]:slide-in-from-bottom-2", e);
28768
28771
  }
28769
- var import_compiler_runtime$29 = require_compiler_runtime(), CalendarHeading = (e) => {
28770
- let t = (0, import_compiler_runtime$29.c)(11), { direction: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), i;
28772
+ var import_compiler_runtime$30 = require_compiler_runtime(), CalendarHeading = (e) => {
28773
+ let t = (0, import_compiler_runtime$30.c)(11), { direction: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), i;
28771
28774
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = cn(buttonVariants({
28772
28775
  variant: "outline"
28773
28776
  }), "size-7 bg-transparent p-0 opacity-50", "data-hovered:opacity-100"), t[0] = i) : i = t[0];
@@ -28814,7 +28817,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28814
28817
  ]
28815
28818
  }), t[7] = e, t[8] = o, t[9] = f, t[10] = h) : h = t[10], h;
28816
28819
  }, CalendarGrid = (e) => {
28817
- let t = (0, import_compiler_runtime$29.c)(8), n, i;
28820
+ let t = (0, import_compiler_runtime$30.c)(8), n, i;
28818
28821
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28819
28822
  let o;
28820
28823
  t[3] === n ? o = t[4] : (o = cn(" border-separate border-spacing-x-0 border-spacing-y-1 ", n), t[3] = n, t[4] = o);
@@ -28824,14 +28827,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28824
28827
  ...i
28825
28828
  }), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
28826
28829
  }, CalendarGridHeader = (e) => {
28827
- let t = (0, import_compiler_runtime$29.c)(4), n;
28830
+ let t = (0, import_compiler_runtime$30.c)(4), n;
28828
28831
  t[0] === e ? n = t[1] : ({ ...n } = e, t[0] = e, t[1] = n);
28829
28832
  let i;
28830
28833
  return t[2] === n ? i = t[3] : (i = (0, import_jsx_runtime.jsx)($dfd62f934fc76fed$export$22e2d15eaa4d2377, {
28831
28834
  ...n
28832
28835
  }), t[2] = n, t[3] = i), i;
28833
28836
  }, CalendarHeaderCell = (e) => {
28834
- let t = (0, import_compiler_runtime$29.c)(8), n, i;
28837
+ let t = (0, import_compiler_runtime$30.c)(8), n, i;
28835
28838
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28836
28839
  let o;
28837
28840
  t[3] === n ? o = t[4] : (o = cn("w-9 rounded-md text-[0.8rem] font-normal text-muted-foreground", n), t[3] = n, t[4] = o);
@@ -28841,7 +28844,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28841
28844
  ...i
28842
28845
  }), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
28843
28846
  }, CalendarGridBody = (e) => {
28844
- let t = (0, import_compiler_runtime$29.c)(8), n, i;
28847
+ let t = (0, import_compiler_runtime$30.c)(8), n, i;
28845
28848
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28846
28849
  let o;
28847
28850
  t[3] === n ? o = t[4] : (o = cn("[&>tr>td]:p-0", n), t[3] = n, t[4] = o);
@@ -28851,7 +28854,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28851
28854
  ...i
28852
28855
  }), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
28853
28856
  }, CalendarCell = (e) => {
28854
- let t = (0, import_compiler_runtime$29.c)(11), n, i;
28857
+ let t = (0, import_compiler_runtime$30.c)(11), n, i;
28855
28858
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28856
28859
  let o = !!import_react.use($dfd62f934fc76fed$export$5e0fc348c00f87a0), s;
28857
28860
  t[3] === o ? s = t[4] : (s = (e2, t2) => cn(buttonVariants({
@@ -28865,20 +28868,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28865
28868
  ...i
28866
28869
  }), t[8] = i, t[9] = d, t[10] = f) : f = t[10], f;
28867
28870
  }, Calendar$1 = (e) => {
28868
- let t = (0, import_compiler_runtime$29.c)(14), n, i, a;
28871
+ let t = (0, import_compiler_runtime$30.c)(14), n, i, a;
28869
28872
  t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ errorMessage: i, className: n, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
28870
28873
  let o;
28871
- t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$6), t[4] = n, t[5] = o);
28874
+ t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$7), t[4] = n, t[5] = o);
28872
28875
  let s;
28873
28876
  t[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = (0, import_jsx_runtime.jsx)(CalendarHeading, {}), t[6] = s) : s = t[6];
28874
28877
  let c;
28875
28878
  t[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = (0, import_jsx_runtime.jsxs)(CalendarGrid, {
28876
28879
  children: [
28877
28880
  (0, import_jsx_runtime.jsx)(CalendarGridHeader, {
28878
- children: _temp2$5
28881
+ children: _temp2$6
28879
28882
  }),
28880
28883
  (0, import_jsx_runtime.jsx)(CalendarGridBody, {
28881
- children: _temp3$3
28884
+ children: _temp3$4
28882
28885
  })
28883
28886
  ]
28884
28887
  }), t[7] = c) : c = t[7];
@@ -28899,10 +28902,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28899
28902
  ]
28900
28903
  }), t[10] = a, t[11] = o, t[12] = d, t[13] = f) : f = t[13], f;
28901
28904
  }, RangeCalendar = (e) => {
28902
- let t = (0, import_compiler_runtime$29.c)(14), n, i, a;
28905
+ let t = (0, import_compiler_runtime$30.c)(14), n, i, a;
28903
28906
  t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ errorMessage: i, className: n, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
28904
28907
  let o;
28905
- t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp4$2), t[4] = n, t[5] = o);
28908
+ t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp4$3), t[4] = n, t[5] = o);
28906
28909
  let s;
28907
28910
  t[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = (0, import_jsx_runtime.jsx)(CalendarHeading, {}), t[6] = s) : s = t[6];
28908
28911
  let c;
@@ -28933,20 +28936,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28933
28936
  ]
28934
28937
  }), t[10] = a, t[11] = o, t[12] = d, t[13] = f) : f = t[13], f;
28935
28938
  };
28936
- function _temp$6(e) {
28939
+ function _temp$7(e) {
28937
28940
  return cn("w-fit", e);
28938
28941
  }
28939
- function _temp2$5(e) {
28942
+ function _temp2$6(e) {
28940
28943
  return (0, import_jsx_runtime.jsx)(CalendarHeaderCell, {
28941
28944
  children: e
28942
28945
  });
28943
28946
  }
28944
- function _temp3$3(e) {
28947
+ function _temp3$4(e) {
28945
28948
  return (0, import_jsx_runtime.jsx)(CalendarCell, {
28946
28949
  date: e
28947
28950
  });
28948
28951
  }
28949
- function _temp4$2(e) {
28952
+ function _temp4$3(e) {
28950
28953
  return cn("w-fit", e);
28951
28954
  }
28952
28955
  function _temp5$2(e) {
@@ -28959,13 +28962,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28959
28962
  date: e
28960
28963
  });
28961
28964
  }
28962
- let import_compiler_runtime$28, DatePickerContent;
28963
- import_compiler_runtime$28 = require_compiler_runtime();
28965
+ let import_compiler_runtime$29, DatePickerContent;
28966
+ import_compiler_runtime$29 = require_compiler_runtime();
28964
28967
  DatePickerContent = (e) => {
28965
- let t = (0, import_compiler_runtime$28.c)(14), n, i, o;
28968
+ let t = (0, import_compiler_runtime$29.c)(14), n, i, o;
28966
28969
  t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, popoverClassName: i, ...o } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
28967
28970
  let s;
28968
- t[4] === i ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(i, _temp$5), t[4] = i, t[5] = s);
28971
+ t[4] === i ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(i, _temp$6), t[4] = i, t[5] = s);
28969
28972
  let c;
28970
28973
  t[6] === n ? c = t[7] : (c = cn("flex w-full flex-col space-y-4 outline-hidden sm:flex-row sm:space-x-4 sm:space-y-0", n), t[6] = n, t[7] = c);
28971
28974
  let d;
@@ -28980,10 +28983,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28980
28983
  }), t[11] = s, t[12] = d, t[13] = f) : f = t[13], f;
28981
28984
  };
28982
28985
  DatePicker = (e) => {
28983
- let t = (0, import_compiler_runtime$28.c)(26), n, i, o, s, d;
28986
+ let t = (0, import_compiler_runtime$29.c)(26), n, i, o, s, d;
28984
28987
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], d = t[5]) : ({ label: s, description: i, errorMessage: o, className: n, ...d } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = d);
28985
28988
  let [f, h] = (0, import_react.useState)(false), _;
28986
- t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp2$4), t[6] = n, t[7] = _);
28989
+ t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp2$5), t[6] = n, t[7] = _);
28987
28990
  let v;
28988
28991
  t[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = (e2) => {
28989
28992
  h(e2);
@@ -29037,10 +29040,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29037
29040
  (0, import_jsx_runtime.jsxs)(CalendarGrid, {
29038
29041
  children: [
29039
29042
  (0, import_jsx_runtime.jsx)(CalendarGridHeader, {
29040
- children: _temp3$2
29043
+ children: _temp3$3
29041
29044
  }),
29042
29045
  (0, import_jsx_runtime.jsx)(CalendarGridBody, {
29043
- children: _temp4$1
29046
+ children: _temp4$2
29044
29047
  })
29045
29048
  ]
29046
29049
  })
@@ -29063,7 +29066,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29063
29066
  }), t[19] = f, t[20] = d, t[21] = _, t[22] = y, t[23] = E, t[24] = O, t[25] = I) : I = t[25], I;
29064
29067
  };
29065
29068
  DateRangePicker = (e) => {
29066
- let t = (0, import_compiler_runtime$28.c)(28), n, i, o, s, d;
29069
+ let t = (0, import_compiler_runtime$29.c)(28), n, i, o, s, d;
29067
29070
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], d = t[5]) : ({ label: s, description: i, errorMessage: o, className: n, ...d } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = d);
29068
29071
  let [f, h] = (0, import_react.useState)(false), _;
29069
29072
  t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp5$1), t[6] = n, t[7] = _);
@@ -29154,18 +29157,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29154
29157
  ]
29155
29158
  }), t[21] = f, t[22] = d, t[23] = _, t[24] = y, t[25] = A, t[26] = M, t[27] = U) : U = t[27], U;
29156
29159
  };
29157
- function _temp$5(e) {
29160
+ function _temp$6(e) {
29158
29161
  return cn("w-auto p-3", e);
29159
29162
  }
29160
- function _temp2$4(e) {
29163
+ function _temp2$5(e) {
29161
29164
  return cn("group flex flex-col gap-2", e);
29162
29165
  }
29163
- function _temp3$2(e) {
29166
+ function _temp3$3(e) {
29164
29167
  return (0, import_jsx_runtime.jsx)(CalendarHeaderCell, {
29165
29168
  children: e
29166
29169
  });
29167
29170
  }
29168
- function _temp4$1(e) {
29171
+ function _temp4$2(e) {
29169
29172
  return (0, import_jsx_runtime.jsx)(CalendarCell, {
29170
29173
  date: e
29171
29174
  });
@@ -29183,7 +29186,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29183
29186
  date: e
29184
29187
  });
29185
29188
  }
29186
- var import_compiler_runtime$27 = require_compiler_runtime();
29189
+ var import_compiler_runtime$28 = require_compiler_runtime();
29187
29190
  function dateToAria(e, t) {
29188
29191
  switch (e) {
29189
29192
  case "date":
@@ -29247,14 +29250,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29247
29250
  };
29248
29251
  }
29249
29252
  const DateLikeInput = (e) => {
29250
- let t = (0, import_compiler_runtime$27.c)(19), { filterType: n, value: i, onChange: a, "aria-label": o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), _;
29253
+ let t = (0, import_compiler_runtime$28.c)(19), { filterType: n, value: i, onChange: a, "aria-label": o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), _;
29251
29254
  t[0] !== n || t[1] !== a ? (_ = (e2) => {
29252
29255
  e2 !== null && a(ariaToDate(n, e2));
29253
29256
  }, t[0] = n, t[1] = a, t[2] = _) : _ = t[2];
29254
29257
  let v = _, y;
29255
29258
  t[3] !== n || t[4] !== a ? (y = (e2) => {
29256
29259
  let t2 = parsePastedDate(n, e2.clipboardData.getData("text"));
29257
- t2 && (e2.preventDefault(), a(t2), h(t2), d(_temp$4));
29260
+ t2 && (e2.preventDefault(), a(t2), h(t2), d(_temp$5));
29258
29261
  }, t[3] = n, t[4] = a, t[5] = y) : y = t[5];
29259
29262
  let S = y, w;
29260
29263
  t[6] !== n || t[7] !== f ? (w = f === void 0 ? void 0 : dateToAria(n, f), t[6] = n, t[7] = f, t[8] = w) : w = t[8];
@@ -29285,10 +29288,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29285
29288
  children: O
29286
29289
  }), t[16] = S, t[17] = O, t[18] = A) : A = t[18], A;
29287
29290
  }, DateLikeRangeInput = (e) => {
29288
- let t = (0, import_compiler_runtime$27.c)(40), { filterType: n, min: i, max: a, onRangeChange: o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), [_, v] = (0, import_react.useState)(a), y;
29291
+ let t = (0, import_compiler_runtime$28.c)(40), { filterType: n, min: i, max: a, onRangeChange: o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), [_, v] = (0, import_react.useState)(a), y;
29289
29292
  t[0] !== n || t[1] !== o ? (y = (e2) => {
29290
29293
  let t2 = parsePastedRange(n, e2.clipboardData.getData("text"));
29291
- t2 && (e2.preventDefault(), e2.stopPropagation(), o(t2.min, t2.max), h(t2.min), v(t2.max), d(_temp2$3));
29294
+ t2 && (e2.preventDefault(), e2.stopPropagation(), o(t2.min, t2.max), h(t2.min), v(t2.max), d(_temp2$4));
29292
29295
  }, t[0] = n, t[1] = o, t[2] = y) : y = t[2];
29293
29296
  let S = y;
29294
29297
  if (n === "time") {
@@ -29357,37 +29360,23 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29357
29360
  children: I
29358
29361
  }), t[37] = S, t[38] = I, t[39] = z) : z = t[39], z;
29359
29362
  };
29360
- function _temp$4(e) {
29363
+ function _temp$5(e) {
29361
29364
  return e + 1;
29362
29365
  }
29363
- function _temp2$3(e) {
29366
+ function _temp2$4(e) {
29364
29367
  return e + 1;
29365
29368
  }
29366
- const Sets = {
29367
- merge(...e) {
29368
- let t = /* @__PURE__ */ new Set();
29369
- for (let n of e) for (let e2 of n) t.add(e2);
29370
- return t;
29371
- },
29372
- equals(e, t) {
29373
- if (e.size !== t.size) return false;
29374
- for (let n of e) if (!t.has(n)) return false;
29375
- return true;
29376
- },
29377
- toggle(e, t) {
29378
- let n = new Set(e);
29379
- return n.has(t) ? n.delete(t) : n.add(t), n;
29380
- }
29381
- };
29382
- var import_compiler_runtime$26 = require_compiler_runtime();
29383
- const Chip = (e) => {
29384
- let t = (0, import_compiler_runtime$26.c)(2), { children: n } = e, i;
29369
+ var import_compiler_runtime$27 = require_compiler_runtime();
29370
+ let Chip, MoreChip, ChipWithComma;
29371
+ Chip = (e) => {
29372
+ let t = (0, import_compiler_runtime$27.c)(2), { children: n } = e, i;
29385
29373
  return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)("span", {
29386
29374
  className: "inline-flex items-center rounded-sm bg-muted/50 px-1 font-mono text-xs font-normal leading-tight text-foreground",
29387
29375
  children: n
29388
29376
  }), t[0] = n, t[1] = i), i;
29389
- }, MoreChip = (e) => {
29390
- let t = (0, import_compiler_runtime$26.c)(2), { count: n } = e, i;
29377
+ };
29378
+ MoreChip = (e) => {
29379
+ let t = (0, import_compiler_runtime$27.c)(2), { count: n } = e, i;
29391
29380
  return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsxs)("span", {
29392
29381
  className: "inline-flex items-center px-1 text-xs italic text-muted-foreground",
29393
29382
  children: [
@@ -29395,8 +29384,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29395
29384
  n
29396
29385
  ]
29397
29386
  }), t[0] = n, t[1] = i), i;
29398
- }, ChipWithComma = (e) => {
29399
- let t = (0, import_compiler_runtime$26.c)(7), { value: n, showComma: i } = e, a;
29387
+ };
29388
+ ChipWithComma = (e) => {
29389
+ let t = (0, import_compiler_runtime$27.c)(7), { value: n, showComma: i } = e, a;
29400
29390
  t[0] === n ? a = t[1] : (a = (0, import_jsx_runtime.jsx)(Chip, {
29401
29391
  children: n
29402
29392
  }), t[0] = n, t[1] = a);
@@ -29413,8 +29403,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29413
29403
  o
29414
29404
  ]
29415
29405
  }), t[4] = a, t[5] = o, t[6] = s) : s = t[6], s;
29416
- }, CompactChipRow = (e) => {
29417
- let t = (0, import_compiler_runtime$26.c)(11), { items: n, max: i } = e, a = i === void 0 ? 3 : i;
29406
+ };
29407
+ CompactChipRow = (e) => {
29408
+ let t = (0, import_compiler_runtime$27.c)(11), { items: n, max: i } = e, a = i === void 0 ? 3 : i;
29418
29409
  if (n.length === 0) return null;
29419
29410
  let o, s, c;
29420
29411
  if (t[0] !== n || t[1] !== a) {
@@ -29437,6 +29428,289 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29437
29428
  ]
29438
29429
  }), t[7] = s, t[8] = c, t[9] = d, t[10] = f) : f = t[10], f;
29439
29430
  };
29431
+ function multiselectFilterFn(e, t) {
29432
+ return t.split(/\s+/).every((t2) => e.toLowerCase().includes(t2.toLowerCase())) ? 1 : 0;
29433
+ }
29434
+ function selectMatching(e, t) {
29435
+ let n = new Set(e);
29436
+ return [
29437
+ ...n,
29438
+ ...t.filter((e2) => !n.has(e2))
29439
+ ];
29440
+ }
29441
+ function deselectMatching(e, t) {
29442
+ let n = new Set(t);
29443
+ return e.filter((e2) => !n.has(e2));
29444
+ }
29445
+ function getVisibleOptions(e, t) {
29446
+ let n = new Map(e.map((e2) => [
29447
+ e2.value,
29448
+ e2
29449
+ ])), i = [];
29450
+ for (let e2 of t) {
29451
+ let t2 = n.get(e2);
29452
+ t2 && i.push(t2);
29453
+ }
29454
+ let a = e.filter((e2) => !t.has(e2.value));
29455
+ return {
29456
+ visibleOptions: [
29457
+ ...i,
29458
+ ...a
29459
+ ],
29460
+ pinnedCount: i.length
29461
+ };
29462
+ }
29463
+ function getBulkActions(e) {
29464
+ let { options: t, filteredOptions: n, value: i, searchQuery: a, maxSelections: o } = e;
29465
+ if (t.length <= 2 || o === 1) return [];
29466
+ let s = o != null, c = [];
29467
+ if (a !== "") {
29468
+ if (n.length === 0) return [];
29469
+ let e2 = new Set(i), t2 = [], a2 = [];
29470
+ for (let i2 of n) e2.has(i2.value) ? t2.push(i2) : i2.disabled || a2.push(i2);
29471
+ return !s && a2.length > 0 && c.push({
29472
+ kind: "select-matching",
29473
+ items: a2
29474
+ }), t2.length > 0 && c.push({
29475
+ kind: "deselect-matching",
29476
+ items: t2
29477
+ }), c;
29478
+ }
29479
+ if (!s) {
29480
+ let e2 = new Set(i);
29481
+ c.push({
29482
+ kind: "select-all",
29483
+ enabled: t.some((t2) => !t2.disabled && !e2.has(t2.value))
29484
+ });
29485
+ }
29486
+ return c.push({
29487
+ kind: "deselect-all",
29488
+ enabled: i.length > 0
29489
+ }), c;
29490
+ }
29491
+ var import_compiler_runtime$26 = require_compiler_runtime();
29492
+ function asArray(e) {
29493
+ return e == null ? [] : Array.isArray(e) ? e : [
29494
+ e
29495
+ ];
29496
+ }
29497
+ function useSearch(e) {
29498
+ let t = (0, import_compiler_runtime$26.c)(10), { options: n, filterFn: i } = e, [a, o] = (0, import_react.useState)(""), s;
29499
+ bb0: {
29500
+ if (!a) {
29501
+ s = n;
29502
+ break bb0;
29503
+ }
29504
+ let e2;
29505
+ if (t[0] !== i || t[1] !== n || t[2] !== a) {
29506
+ let o2;
29507
+ t[4] !== i || t[5] !== a ? (o2 = (e3) => i(e3.label, a) > 0, t[4] = i, t[5] = a, t[6] = o2) : o2 = t[6], e2 = n.filter(o2), t[0] = i, t[1] = n, t[2] = a, t[3] = e2;
29508
+ } else e2 = t[3];
29509
+ s = e2;
29510
+ }
29511
+ let c = s, d;
29512
+ return t[7] !== c || t[8] !== a ? (d = {
29513
+ searchQuery: a,
29514
+ setSearchQuery: o,
29515
+ filteredOptions: c
29516
+ }, t[7] = c, t[8] = a, t[9] = d) : d = t[9], d;
29517
+ }
29518
+ function usePinning(e) {
29519
+ let t = (0, import_compiler_runtime$26.c)(17), { value: n, pinSelected: i, options: a, searchQuery: o, filteredOptions: s } = e, [c, d] = (0, import_react.useState)(false), f;
29520
+ t[0] === n ? f = t[1] : (f = () => new Set(asArray(n)), t[0] = n, t[1] = f);
29521
+ let [h, _] = (0, import_react.useState)(f), v;
29522
+ t[2] === n ? v = t[3] : (v = () => _(new Set(asArray(n))), t[2] = n, t[3] = v);
29523
+ let y = v, S;
29524
+ t[4] === y ? S = t[5] : (S = (e2) => {
29525
+ d(e2), e2 && y();
29526
+ }, t[4] = y, t[5] = S);
29527
+ let w = S, E;
29528
+ bb0: {
29529
+ if (o || !i) {
29530
+ let e3;
29531
+ t[6] === s ? e3 = t[7] : (e3 = {
29532
+ visibleOptions: s,
29533
+ pinnedCount: 0
29534
+ }, t[6] = s, t[7] = e3), E = e3;
29535
+ break bb0;
29536
+ }
29537
+ let e2;
29538
+ t[8] !== a || t[9] !== h ? (e2 = getVisibleOptions(a, h), t[8] = a, t[9] = h, t[10] = e2) : e2 = t[10], E = e2;
29539
+ }
29540
+ let { visibleOptions: O, pinnedCount: A } = E, M;
29541
+ return t[11] !== c || t[12] !== A || t[13] !== y || t[14] !== w || t[15] !== O ? (M = {
29542
+ open: c,
29543
+ setOpen: w,
29544
+ repin: y,
29545
+ visibleOptions: O,
29546
+ pinnedCount: A
29547
+ }, t[11] = c, t[12] = A, t[13] = y, t[14] = w, t[15] = O, t[16] = M) : M = t[16], M;
29548
+ }
29549
+ function useToggle({ value: e, onChange: t, multiple: n, maxSelections: i, allowSelectNone: a, selected: o }) {
29550
+ return {
29551
+ isChecked: (e2) => o.has(e2),
29552
+ toggle: (s) => {
29553
+ if (!n) {
29554
+ if (a && e === s) {
29555
+ t(null);
29556
+ return;
29557
+ }
29558
+ t(s);
29559
+ return;
29560
+ }
29561
+ let c = asArray(e);
29562
+ if (o.has(s)) {
29563
+ t(c.filter((e2) => e2 !== s));
29564
+ return;
29565
+ }
29566
+ let d = [
29567
+ ...c,
29568
+ s
29569
+ ];
29570
+ i != null && d.length > i && (d = d.slice(-i)), t(d);
29571
+ }
29572
+ };
29573
+ }
29574
+ function useBulk(e) {
29575
+ let t = (0, import_compiler_runtime$26.c)(14), { value: n, onChange: i, multiple: a, options: o, filteredOptions: s, searchQuery: c, maxSelections: d } = e, f;
29576
+ bb0: {
29577
+ if (!a) {
29578
+ let e3;
29579
+ t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e3 = [], t[0] = e3) : e3 = t[0], f = e3;
29580
+ break bb0;
29581
+ }
29582
+ let e2;
29583
+ if (t[1] !== s || t[2] !== d || t[3] !== i || t[4] !== o || t[5] !== c || t[6] !== n) {
29584
+ let a2 = getBulkActions({
29585
+ options: o,
29586
+ filteredOptions: s,
29587
+ value: asArray(n),
29588
+ searchQuery: c,
29589
+ maxSelections: d
29590
+ }), f2;
29591
+ t[8] !== i || t[9] !== o || t[10] !== n ? (f2 = (e3) => {
29592
+ switch (e3.kind) {
29593
+ case "select-all":
29594
+ return {
29595
+ ...e3,
29596
+ run: () => i(selectMatching(asArray(n), o.filter(_temp$4).map(_temp2$3)))
29597
+ };
29598
+ case "deselect-all":
29599
+ return {
29600
+ ...e3,
29601
+ run: () => i([])
29602
+ };
29603
+ case "select-matching":
29604
+ return {
29605
+ ...e3,
29606
+ run: () => i(selectMatching(asArray(n), e3.items.map(_temp3$2)))
29607
+ };
29608
+ case "deselect-matching":
29609
+ return {
29610
+ ...e3,
29611
+ run: () => i(deselectMatching(asArray(n), e3.items.map(_temp4$1)))
29612
+ };
29613
+ default:
29614
+ return assertNever(e3);
29615
+ }
29616
+ }, t[8] = i, t[9] = o, t[10] = n, t[11] = f2) : f2 = t[11], e2 = a2.map(f2), t[1] = s, t[2] = d, t[3] = i, t[4] = o, t[5] = c, t[6] = n, t[7] = e2;
29617
+ } else e2 = t[7];
29618
+ f = e2;
29619
+ }
29620
+ let h = f, _;
29621
+ return t[12] === h ? _ = t[13] : (_ = {
29622
+ bulkActions: h
29623
+ }, t[12] = h, t[13] = _), _;
29624
+ }
29625
+ function _temp4$1(e) {
29626
+ return e.value;
29627
+ }
29628
+ function _temp3$2(e) {
29629
+ return e.value;
29630
+ }
29631
+ function _temp2$3(e) {
29632
+ return e.value;
29633
+ }
29634
+ function _temp$4(e) {
29635
+ return !e.disabled;
29636
+ }
29637
+ useSelectList = function(e) {
29638
+ let t = (0, import_compiler_runtime$26.c)(44), { options: n, value: i, onChange: a, multiple: o, maxSelections: s, allowSelectNone: c, filterFn: d, pinSelected: f } = e, h = d === void 0 ? multiselectFilterFn : d, _ = f === void 0 ? false : f, v;
29639
+ t[0] === i ? v = t[1] : (v = new Set(asArray(i)), t[0] = i, t[1] = v);
29640
+ let y = v, S;
29641
+ if (t[2] !== n) {
29642
+ S = /* @__PURE__ */ new Map();
29643
+ for (let e2 of n) S.set(e2.value, e2.label);
29644
+ t[2] = n, t[3] = S;
29645
+ } else S = t[3];
29646
+ let w = S, E;
29647
+ t[4] === w ? E = t[5] : (E = (e2) => w.get(e2) ?? String(e2), t[4] = w, t[5] = E);
29648
+ let O = E, A;
29649
+ t[6] !== h || t[7] !== n ? (A = {
29650
+ options: n,
29651
+ filterFn: h
29652
+ }, t[6] = h, t[7] = n, t[8] = A) : A = t[8];
29653
+ let { searchQuery: M, setSearchQuery: I, filteredOptions: z } = useSearch(A), U;
29654
+ t[9] !== z || t[10] !== n || t[11] !== _ || t[12] !== M || t[13] !== i ? (U = {
29655
+ value: i,
29656
+ pinSelected: _,
29657
+ options: n,
29658
+ searchQuery: M,
29659
+ filteredOptions: z
29660
+ }, t[9] = z, t[10] = n, t[11] = _, t[12] = M, t[13] = i, t[14] = U) : U = t[14];
29661
+ let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), Tq;
29662
+ t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (Tq = {
29663
+ value: i,
29664
+ onChange: a,
29665
+ multiple: o,
29666
+ maxSelections: s,
29667
+ allowSelectNone: c,
29668
+ selected: y
29669
+ }, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = Tq) : Tq = t[21];
29670
+ let { isChecked: Eq, toggle: Dq } = useToggle(Tq), Oq;
29671
+ t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (Oq = {
29672
+ value: i,
29673
+ onChange: a,
29674
+ multiple: o,
29675
+ options: n,
29676
+ filteredOptions: z,
29677
+ searchQuery: M,
29678
+ maxSelections: s
29679
+ }, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = Oq) : Oq = t[29];
29680
+ let { bulkActions: kq } = useBulk(Oq), Aq;
29681
+ t[30] !== J || t[31] !== I ? (Aq = (e2) => {
29682
+ I(e2), e2 === "" && J();
29683
+ }, t[30] = J, t[31] = I, t[32] = Aq) : Aq = t[32];
29684
+ let jq = Aq, Mq;
29685
+ return t[33] !== kq || t[34] !== Eq || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== jq || t[41] !== Dq || t[42] !== Q ? (Mq = {
29686
+ searchQuery: M,
29687
+ setSearchQuery: jq,
29688
+ open: K,
29689
+ setOpen: q,
29690
+ visibleOptions: Q,
29691
+ pinnedCount: $,
29692
+ isChecked: Eq,
29693
+ toggle: Dq,
29694
+ bulkActions: kq,
29695
+ labelOf: O
29696
+ }, t[33] = kq, t[34] = Eq, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = jq, t[41] = Dq, t[42] = Q, t[43] = Mq) : Mq = t[43], Mq;
29697
+ };
29698
+ const Sets = {
29699
+ merge(...e) {
29700
+ let t = /* @__PURE__ */ new Set();
29701
+ for (let n of e) for (let e2 of n) t.add(e2);
29702
+ return t;
29703
+ },
29704
+ equals(e, t) {
29705
+ if (e.size !== t.size) return false;
29706
+ for (let n of e) if (!t.has(n)) return false;
29707
+ return true;
29708
+ },
29709
+ toggle(e, t) {
29710
+ let n = new Set(e);
29711
+ return n.has(t) ? n.delete(t) : n.add(t), n;
29712
+ }
29713
+ };
29440
29714
  var TOP_K_ROWS = 30;
29441
29715
  const FilterByValuesPicker = ({ column: e, calculateTopKRows: t, chosenValues: n, onChange: i, creatable: a = false }) => {
29442
29716
  let [o, s] = (0, import_react.useState)(n.length === 0), c = (0, import_react.useMemo)(() => new Set(n), [
@@ -29486,71 +29760,85 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29486
29760
  ]
29487
29761
  });
29488
29762
  }, FilterByValuesList = ({ column: e, calculateTopKRows: t, chosenValues: i, onChange: a, creatable: o = false }) => {
29489
- let [s, c] = (0, import_react.useState)(""), { data: d, isPending: f, error: h } = useAsyncData(async () => t ? (await t({
29763
+ let { data: s, isPending: c, error: d } = useAsyncData(async () => t ? (await t({
29490
29764
  column: e.id,
29491
29765
  k: TOP_K_ROWS
29492
29766
  })).data : null, [
29493
29767
  t,
29494
29768
  e.id
29495
- ]), _ = (0, import_react.useMemo)(() => {
29496
- if (!d) return [];
29497
- try {
29498
- return d.filter(([e2, t2]) => {
29499
- if (e2 === void 0) return false;
29500
- let n = String(e2);
29501
- return smartMatch(s, n) || n.toLowerCase().includes(s.toLowerCase());
29502
- });
29503
- } catch (e2) {
29504
- return Logger.error("Error filtering data", e2), [];
29505
- }
29506
- }, [
29507
- d,
29508
- s
29509
- ]), v = (0, import_react.useMemo)(() => {
29510
- let e2 = new Set(_.map(([e3]) => e3)), t2 = [];
29769
+ ]), f = useSelectList({
29770
+ options: (0, import_react.useMemo)(() => {
29771
+ if (!s) return [];
29772
+ try {
29773
+ return s.filter(([e2]) => e2 !== void 0).map(([e2, t2]) => ({
29774
+ value: e2,
29775
+ label: String(e2),
29776
+ data: {
29777
+ count: t2
29778
+ }
29779
+ }));
29780
+ } catch (e2) {
29781
+ return Logger.error("Error building filter options", e2), [];
29782
+ }
29783
+ }, [
29784
+ s
29785
+ ]),
29786
+ value: [
29787
+ ...i
29788
+ ],
29789
+ onChange: (e2) => a(e2),
29790
+ multiple: true,
29791
+ filterFn: (e2, t2) => smartMatch(t2, e2) || e2.toLowerCase().includes(t2.toLowerCase()) ? 1 : 0
29792
+ }), h = f.searchQuery, _ = f.setSearchQuery, v = (0, import_react.useMemo)(() => f.visibleOptions.map((e2) => [
29793
+ e2.value,
29794
+ e2.data.count
29795
+ ]), [
29796
+ f.visibleOptions
29797
+ ]), y = (0, import_react.useMemo)(() => {
29798
+ let e2 = new Set(v.map(([e3]) => e3)), t2 = [];
29511
29799
  for (let n of i) {
29512
29800
  if (e2.has(n)) continue;
29513
29801
  let i2 = String(n);
29514
- (s.length === 0 || smartMatch(s, i2) || i2.toLowerCase().includes(s.toLowerCase())) && t2.push([
29802
+ (h.length === 0 || smartMatch(h, i2) || i2.toLowerCase().includes(h.toLowerCase())) && t2.push([
29515
29803
  n,
29516
29804
  void 0
29517
29805
  ]);
29518
29806
  }
29519
29807
  return [
29520
- ..._,
29808
+ ...v,
29521
29809
  ...t2
29522
29810
  ];
29523
29811
  }, [
29524
- _,
29812
+ v,
29525
29813
  i,
29526
- s
29527
- ]), y = (e2) => {
29814
+ h
29815
+ ]), S = (e2) => {
29528
29816
  a([
29529
29817
  ...Sets.toggle(i, e2)
29530
29818
  ]);
29531
- }, S = s.trim(), w = o && S !== "" && !v.some(([e2]) => String(e2) === S), E = () => {
29532
- w && (a([
29819
+ }, w = h.trim(), E = o && w !== "" && !y.some(([e2]) => String(e2) === w), O = () => {
29820
+ E && (a([
29533
29821
  ...i,
29534
- S
29535
- ]), c(""));
29536
- }, O = v.length > 0 && v.every(([e2]) => i.has(e2)), A = O ? true : i.size > 0 ? "indeterminate" : false;
29537
- return f ? (0, import_jsx_runtime.jsx)(Spinner, {
29822
+ w
29823
+ ]), _(""));
29824
+ }, A = y.length > 0 && y.every(([e2]) => i.has(e2)), M = A ? true : i.size > 0 ? "indeterminate" : false;
29825
+ return c ? (0, import_jsx_runtime.jsx)(Spinner, {
29538
29826
  size: "medium",
29539
29827
  className: "mx-auto mt-12 mb-10"
29540
- }) : h ? (0, import_jsx_runtime.jsx)(ErrorBanner, {
29541
- error: h,
29828
+ }) : d ? (0, import_jsx_runtime.jsx)(ErrorBanner, {
29829
+ error: d,
29542
29830
  className: "my-10 mx-4"
29543
- }) : d ? (0, import_jsx_runtime.jsxs)(Command, {
29831
+ }) : s ? (0, import_jsx_runtime.jsxs)(Command, {
29544
29832
  className: "text-sm outline-hidden",
29545
29833
  shouldFilter: false,
29546
29834
  children: [
29547
29835
  (0, import_jsx_runtime.jsx)(CommandInput, {
29548
- placeholder: o ? "Search or add a value\u2026" : `Search among the top ${d.length} values`,
29836
+ placeholder: o ? "Search or add a value\u2026" : `Search among the top ${s.length} values`,
29549
29837
  autoFocus: true,
29550
- value: s,
29551
- onValueChange: c,
29838
+ value: h,
29839
+ onValueChange: _,
29552
29840
  onKeyDown: (e2) => {
29553
- e2.key === "Enter" && w && (e2.preventDefault(), E());
29841
+ e2.key === "Enter" && E && (e2.preventDefault(), O());
29554
29842
  }
29555
29843
  }),
29556
29844
  (0, import_jsx_runtime.jsx)(CommandEmpty, {
@@ -29558,21 +29846,21 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29558
29846
  }),
29559
29847
  (0, import_jsx_runtime.jsxs)(CommandList, {
29560
29848
  children: [
29561
- v.length > 0 && (0, import_jsx_runtime.jsxs)(CommandItem, {
29849
+ y.length > 0 && (0, import_jsx_runtime.jsxs)(CommandItem, {
29562
29850
  value: "__select-all__",
29563
29851
  className: "border-b rounded-none px-3",
29564
29852
  onSelect: () => {
29565
- if (!d) return;
29853
+ if (!s) return;
29566
29854
  let e2 = new Set(i);
29567
- if (O) for (let [t2] of v) e2.delete(t2);
29568
- else for (let [t2] of v) e2.add(t2);
29855
+ if (A) for (let [t2] of y) e2.delete(t2);
29856
+ else for (let [t2] of y) e2.add(t2);
29569
29857
  a([
29570
29858
  ...e2
29571
29859
  ]);
29572
29860
  },
29573
29861
  children: [
29574
29862
  (0, import_jsx_runtime.jsx)(Checkbox, {
29575
- checked: A,
29863
+ checked: M,
29576
29864
  "aria-label": "Select all",
29577
29865
  className: "mr-3 h-3.5 w-3.5"
29578
29866
  }),
@@ -29586,7 +29874,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29586
29874
  })
29587
29875
  ]
29588
29876
  }),
29589
- v.map(([t2, n]) => {
29877
+ y.map(([t2, n]) => {
29590
29878
  var _a2;
29591
29879
  let a2 = i.has(t2), o2 = stringifyUnknownValue({
29592
29880
  value: t2
@@ -29594,7 +29882,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29594
29882
  return (0, import_jsx_runtime.jsxs)(CommandItem, {
29595
29883
  value: o2,
29596
29884
  className: "not-last:border-b rounded-none px-3",
29597
- onSelect: () => y(t2),
29885
+ onSelect: () => S(t2),
29598
29886
  children: [
29599
29887
  (0, import_jsx_runtime.jsx)(Checkbox, {
29600
29888
  checked: a2,
@@ -29614,19 +29902,19 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29614
29902
  ]
29615
29903
  }, o2);
29616
29904
  }),
29617
- w && (0, import_jsx_runtime.jsxs)(CommandItem, {
29618
- value: `__create__:${S}`,
29905
+ E && (0, import_jsx_runtime.jsxs)(CommandItem, {
29906
+ value: `__create__:${w}`,
29619
29907
  className: "border-t rounded-none px-3 italic",
29620
- onSelect: E,
29908
+ onSelect: O,
29621
29909
  children: [
29622
29910
  '+ Add "',
29623
- S,
29911
+ w,
29624
29912
  '"'
29625
29913
  ]
29626
29914
  })
29627
29915
  ]
29628
29916
  }),
29629
- d.length === TOP_K_ROWS && (0, import_jsx_runtime.jsxs)("span", {
29917
+ s.length === TOP_K_ROWS && (0, import_jsx_runtime.jsxs)("span", {
29630
29918
  className: "text-xs text-muted-foreground py-1.5 text-center",
29631
29919
  children: [
29632
29920
  "Only showing the top ",
@@ -29730,13 +30018,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29730
30018
  id: v,
29731
30019
  operator: e2
29732
30020
  });
29733
- }, cq = buildFilterValue({
30021
+ }, $ = buildFilterValue({
29734
30022
  type: S,
29735
30023
  operator: E,
29736
30024
  draft: mergeNumberTextDraft(A, I)
29737
- }), lq = cq === void 0, uq = lq ? getMissingValueMessage(S, E) : "Apply filter", dq = () => {
29738
- if (!cq) return;
29739
- let e2 = cq;
30025
+ }), Tq = $ === void 0, Eq = Tq ? getMissingValueMessage(S, E) : "Apply filter", Dq = () => {
30026
+ if (!$) return;
30027
+ let e2 = $;
29740
30028
  t.setColumnFilters((t2) => {
29741
30029
  if (a === void 0) return [
29742
30030
  {
@@ -29753,20 +30041,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29753
30041
  value: e2
29754
30042
  }, n2;
29755
30043
  }), i();
29756
- }, $ = () => {
30044
+ }, Oq = () => {
29757
30045
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
29758
- }, fq = !OPERATORS_WITHOUT_VALUE.has(E), pq = OPERATORS_BY_TYPE[S], mq = (0, import_react.useRef)(null), hq = (0, import_react.useRef)(null);
30046
+ }, kq = !OPERATORS_WITHOUT_VALUE.has(E), Aq = OPERATORS_BY_TYPE[S], jq = (0, import_react.useRef)(null), Mq = (0, import_react.useRef)(null);
29759
30047
  return (0, import_react.useEffect)(() => {
29760
30048
  var _a2, _b;
29761
- let e2 = (_a2 = mq.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29762
- e2 ? e2.focus() : (_b = hq.current) == null ? void 0 : _b.focus();
30049
+ let e2 = (_a2 = jq.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
30050
+ e2 ? e2.focus() : (_b = Mq.current) == null ? void 0 : _b.focus();
29763
30051
  }, [
29764
30052
  S,
29765
30053
  E
29766
30054
  ]), (0, import_jsx_runtime.jsxs)("form", {
29767
30055
  className: "flex flex-row gap-4 items-end p-3",
29768
30056
  onSubmit: (e2) => {
29769
- e2.preventDefault(), dq();
30057
+ e2.preventDefault(), Dq();
29770
30058
  },
29771
30059
  onKeyDownCapture: (e2) => {
29772
30060
  e2.key === "Tab" && e2.stopPropagation();
@@ -29807,13 +30095,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29807
30095
  onValueChange: (e2) => Q(e2),
29808
30096
  children: [
29809
30097
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
29810
- ref: hq,
30098
+ ref: Mq,
29811
30099
  id: s,
29812
30100
  className: "h-6 mb-1 bg-transparent",
29813
30101
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
29814
30102
  }),
29815
30103
  (0, import_jsx_runtime.jsx)(SelectContent, {
29816
- children: pq.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
30104
+ children: Aq.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29817
30105
  value: e2,
29818
30106
  children: OPERATOR_LABELS[e2]
29819
30107
  }, e2))
@@ -29822,8 +30110,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29822
30110
  }, S)
29823
30111
  ]
29824
30112
  }),
29825
- fq && (0, import_jsx_runtime.jsxs)("div", {
29826
- ref: mq,
30113
+ kq && (0, import_jsx_runtime.jsxs)("div", {
30114
+ ref: jq,
29827
30115
  className: "flex flex-col gap-1",
29828
30116
  children: [
29829
30117
  (0, import_jsx_runtime.jsx)("label", {
@@ -29850,14 +30138,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29850
30138
  className: "flex gap-1 mb-1",
29851
30139
  children: [
29852
30140
  (0, import_jsx_runtime.jsx)(Tooltip, {
29853
- content: uq,
30141
+ content: Eq,
29854
30142
  children: (0, import_jsx_runtime.jsx)("span", {
29855
30143
  className: "inline-flex",
29856
30144
  children: (0, import_jsx_runtime.jsx)(Button, {
29857
30145
  type: "submit",
29858
30146
  size: "icon",
29859
30147
  variant: "ghost",
29860
- disabled: lq,
30148
+ disabled: Tq,
29861
30149
  className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
29862
30150
  "aria-label": "Apply filter",
29863
30151
  children: (0, import_jsx_runtime.jsx)(Check, {
@@ -29889,7 +30177,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29889
30177
  size: "icon",
29890
30178
  variant: "ghost",
29891
30179
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
29892
- onClick: $,
30180
+ onClick: Oq,
29893
30181
  "aria-label": "Remove filter",
29894
30182
  children: (0, import_jsx_runtime.jsx)(Trash2, {
29895
30183
  className: "h-3.5 w-3.5",
@@ -32095,31 +32383,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32095
32383
  let n2 = computeCellTooltipContent(t2, a);
32096
32384
  n2 == null || n2 === "" || E(e2.currentTarget, n2);
32097
32385
  }, t[16] = a, t[17] = J);
32098
- let Q = useEvent_default(J), cq;
32099
- t[18] === S ? cq = t[19] : (cq = () => S(), t[18] = S, t[19] = cq);
32100
- let lq = useEvent_default(cq), uq, dq;
32101
- t[20] === S ? (uq = t[21], dq = t[22]) : (uq = () => (window.addEventListener("scroll", S, {
32386
+ let Q = useEvent_default(J), $;
32387
+ t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
32388
+ let Tq = useEvent_default($), Eq, Dq;
32389
+ t[20] === S ? (Eq = t[21], Dq = t[22]) : (Eq = () => (window.addEventListener("scroll", S, {
32102
32390
  passive: true,
32103
32391
  capture: true
32104
32392
  }), window.addEventListener("resize", S), () => {
32105
32393
  window.removeEventListener("scroll", S, {
32106
32394
  capture: true
32107
32395
  }), window.removeEventListener("resize", S);
32108
- }), dq = [
32396
+ }), Dq = [
32109
32397
  S
32110
- ], t[20] = S, t[21] = uq, t[22] = dq), (0, import_react.useEffect)(uq, dq);
32111
- let $, fq;
32112
- t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => v, fq = [], t[23] = $, t[24] = fq) : ($ = t[23], fq = t[24]), (0, import_react.useEffect)($, fq);
32113
- let pq;
32114
- return t[25] !== lq || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (pq = {
32398
+ ], t[20] = S, t[21] = Eq, t[22] = Dq), (0, import_react.useEffect)(Eq, Dq);
32399
+ let Oq, kq;
32400
+ t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Oq = () => v, kq = [], t[23] = Oq, t[24] = kq) : (Oq = t[23], kq = t[24]), (0, import_react.useEffect)(Oq, kq);
32401
+ let Aq;
32402
+ return t[25] !== Tq || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (Aq = {
32115
32403
  tooltipState: o,
32116
32404
  tooltipContentId: d,
32117
32405
  hideTooltip: S,
32118
32406
  handleCellMouseOver: U,
32119
32407
  handleCellMouseLeave: q,
32120
32408
  handleCellFocus: Q,
32121
- handleCellBlur: lq
32122
- }, t[25] = lq, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = pq) : pq = t[32], pq;
32409
+ handleCellBlur: Tq
32410
+ }, t[25] = Tq, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = Aq) : Aq = t[32], Aq;
32123
32411
  }
32124
32412
  var import_compiler_runtime$17 = require_compiler_runtime();
32125
32413
  const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
@@ -33332,7 +33620,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33332
33620
  filename: i2.filename
33333
33621
  };
33334
33622
  }, t[6] = e, t[7] = O);
33335
- let A = O, M, I, z, U, K, q, J, Q, cq, lq, uq, dq, $;
33623
+ let A = O, M, I, z, U, K, q, J, Q, $, Tq, Eq, Dq, Oq;
33336
33624
  if (t[8] !== S || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
33337
33625
  let e2 = async (t2) => {
33338
33626
  let n2 = labelForDownloadFormat(t2);
@@ -33398,10 +33686,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33398
33686
  content: d,
33399
33687
  open: o2,
33400
33688
  children: h
33401
- }), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, cq = "bottom", lq = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uq = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33689
+ }), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", Tq = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Eq = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33402
33690
  className: "text-xs text-muted-foreground",
33403
33691
  children: "Download"
33404
- }), t[36] = uq) : uq = t[36], dq = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33692
+ }), t[36] = Eq) : Eq = t[36], Dq = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33405
33693
  onSelect: () => {
33406
33694
  e2(t2.format);
33407
33695
  },
@@ -33422,10 +33710,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33422
33710
  ]
33423
33711
  })
33424
33712
  ]
33425
- }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33713
+ }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Oq = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33426
33714
  className: "text-xs text-muted-foreground",
33427
33715
  children: "Copy to clipboard"
33428
- }), t[37] = z, t[38] = $) : (z = t[37], $ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33716
+ }), t[37] = z, t[38] = Oq) : (z = t[37], Oq = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33429
33717
  onSelect: async () => {
33430
33718
  try {
33431
33719
  await a(e3.format);
@@ -33454,30 +33742,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33454
33742
  ]
33455
33743
  })
33456
33744
  ]
33457
- }, e3.label)), t[8] = S, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = cq, t[22] = lq, t[23] = uq, t[24] = dq, t[25] = $;
33458
- } else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], cq = t[21], lq = t[22], uq = t[23], dq = t[24], $ = t[25];
33459
- let fq;
33460
- t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== cq || t[43] !== lq || t[44] !== uq || t[45] !== dq || t[46] !== $ ? (fq = (0, import_jsx_runtime.jsxs)(M, {
33461
- side: cq,
33462
- className: lq,
33745
+ }, e3.label)), t[8] = S, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = Tq, t[23] = Eq, t[24] = Dq, t[25] = Oq;
33746
+ } else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], Tq = t[22], Eq = t[23], Dq = t[24], Oq = t[25];
33747
+ let kq;
33748
+ t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== Tq || t[44] !== Eq || t[45] !== Dq || t[46] !== Oq ? (kq = (0, import_jsx_runtime.jsxs)(M, {
33749
+ side: $,
33750
+ className: Tq,
33463
33751
  children: [
33464
- uq,
33465
- dq,
33466
- $,
33752
+ Eq,
33753
+ Dq,
33754
+ Oq,
33467
33755
  z,
33468
33756
  U
33469
33757
  ]
33470
- }), t[39] = M, t[40] = z, t[41] = U, t[42] = cq, t[43] = lq, t[44] = uq, t[45] = dq, t[46] = $, t[47] = fq) : fq = t[47];
33471
- let pq;
33472
- return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== fq ? (pq = (0, import_jsx_runtime.jsxs)(I, {
33758
+ }), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = Tq, t[44] = Eq, t[45] = Dq, t[46] = Oq, t[47] = kq) : kq = t[47];
33759
+ let Aq;
33760
+ return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== kq ? (Aq = (0, import_jsx_runtime.jsxs)(I, {
33473
33761
  modal: K,
33474
33762
  open: q,
33475
33763
  onOpenChange: J,
33476
33764
  children: [
33477
33765
  Q,
33478
- fq
33766
+ kq
33479
33767
  ]
33480
- }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = fq, t[54] = pq) : pq = t[54], pq;
33768
+ }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = kq, t[54] = Aq) : Aq = t[54], Aq;
33481
33769
  };
33482
33770
  function fetchJson(e) {
33483
33771
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -33570,22 +33858,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33570
33858
  ]
33571
33859
  }) : null;
33572
33860
  };
33573
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: cq, getRowIds: lq, enableSearch: uq = false, searchQuery: dq, onSearchQueryChange: $, showFilters: fq = false, filters: pq, onFiltersChange: mq, calculateTopKRows: hq, reloading: gq, freezeColumnsLeft: _q, freezeColumnsRight: vq, hiddenColumns: yq, toggleDisplayHeader: bq, showChartBuilder: xq, isChartBuilderOpen: Sq, showPageSizeSelector: Cq, showTableExplorer: wq, togglePanel: Tq, isPanelOpen: Eq, isAnyPanelOpen: Dq, viewedRowIdx: Oq, onViewedRowChange: kq, renderTableExplorerPanel: Aq }) => {
33574
- let [jq, Mq] = import_react.useState(false), { locale: Nq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: Pq, setColumnPinning: Fq } = useColumnPinning(_q, vq), { columnVisibility: Iq, setColumnVisibility: Lq } = useColumnVisibility(yq);
33861
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: Tq, enableSearch: Eq = false, searchQuery: Dq, onSearchQueryChange: Oq, showFilters: kq = false, filters: Aq, onFiltersChange: jq, calculateTopKRows: Mq, reloading: Nq, freezeColumnsLeft: Pq, freezeColumnsRight: Fq, hiddenColumns: Iq, toggleDisplayHeader: Lq, showChartBuilder: Rq, isChartBuilderOpen: zq, showPageSizeSelector: Bq, showTableExplorer: Vq, togglePanel: Hq, isPanelOpen: Uq, isAnyPanelOpen: Wq, viewedRowIdx: Gq, onViewedRowChange: Kq, renderTableExplorerPanel: qq }) => {
33862
+ let [Jq, Yq] = import_react.useState(false), { locale: Xq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: Zq, setColumnPinning: Qq } = useColumnPinning(Pq, Fq), { columnVisibility: $q, setColumnVisibility: eJ } = useColumnVisibility(Iq);
33575
33863
  import_react.useEffect(() => {
33576
33864
  let e2;
33577
- return gq ? e2 = setTimeout(() => {
33578
- Mq(true);
33579
- }, 300) : Mq(false), () => {
33865
+ return Nq ? e2 = setTimeout(() => {
33866
+ Yq(true);
33867
+ }, 300) : Yq(false), () => {
33580
33868
  e2 && clearTimeout(e2);
33581
33869
  };
33582
33870
  }, [
33583
- gq
33871
+ Nq
33584
33872
  ]);
33585
- function Rq(e2, t2) {
33873
+ function tJ(e2, t2) {
33586
33874
  return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
33587
33875
  }
33588
- let zq = useReactTable({
33876
+ let nJ = useReactTable({
33589
33877
  _features: [
33590
33878
  ColumnPinning,
33591
33879
  ColumnWrappingFeature,
@@ -33609,11 +33897,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33609
33897
  getRowId: (e2, t2) => {
33610
33898
  let n2 = getStableRowId(e2);
33611
33899
  if (n2) return n2;
33612
- let i2 = Rq(e2, t2);
33900
+ let i2 = tJ(e2, t2);
33613
33901
  return String(i2);
33614
33902
  }
33615
33903
  } : {},
33616
- locale: Nq,
33904
+ locale: Xq,
33617
33905
  manualPagination: q,
33618
33906
  getPaginationRowModel: getPaginationRowModel(),
33619
33907
  ...w ? {
@@ -33623,22 +33911,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33623
33911
  enableMultiSort: true,
33624
33912
  getSortedRowModel: getSortedRowModel(),
33625
33913
  manualFiltering: true,
33626
- enableColumnFilters: fq,
33914
+ enableColumnFilters: kq,
33627
33915
  getFilteredRowModel: getFilteredRowModel(),
33628
- onColumnFiltersChange: mq,
33916
+ onColumnFiltersChange: jq,
33629
33917
  onRowSelectionChange: Q,
33630
- onCellSelectionChange: cq,
33918
+ onCellSelectionChange: $,
33631
33919
  enableCellSelection: c === "single-cell" || c === "multi-cell",
33632
33920
  enableMultiCellSelection: c === "multi-cell",
33633
- onColumnPinningChange: Fq,
33634
- onColumnVisibilityChange: Lq,
33921
+ onColumnPinningChange: Qq,
33922
+ onColumnVisibilityChange: eJ,
33635
33923
  enableFocusRow: true,
33636
- onFocusRowChange: kq,
33924
+ onFocusRowChange: Kq,
33637
33925
  state: {
33638
33926
  ...S ? {
33639
33927
  sorting: S
33640
33928
  } : {},
33641
- columnFilters: pq,
33929
+ columnFilters: Aq,
33642
33930
  ...z ? {
33643
33931
  pagination: z
33644
33932
  } : J && !z ? {} : {
@@ -33649,59 +33937,59 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33649
33937
  },
33650
33938
  rowSelection: E ?? {},
33651
33939
  cellSelection: O ?? [],
33652
- columnVisibility: Iq,
33940
+ columnVisibility: $q,
33653
33941
  cellStyling: A,
33654
- columnPinning: Pq,
33942
+ columnPinning: Zq,
33655
33943
  cellHoverTemplate: M,
33656
33944
  cellHoverTexts: I ?? {}
33657
33945
  }
33658
- }), Bq = (Eq == null ? void 0 : Eq(PANEL_TYPES.ROW_VIEWER)) ?? false, Vq = !J && o.length > 100, Hq = useScrollContainerHeight({
33946
+ }), rJ = (Uq == null ? void 0 : Uq(PANEL_TYPES.ROW_VIEWER)) ?? false, iJ = !J && o.length > 100, aJ = useScrollContainerHeight({
33659
33947
  maxHeight: n,
33660
- virtualize: Vq
33661
- }), [Uq, Wq] = import_react.useState(null), Gq = import_react.useMemo(() => ({
33948
+ virtualize: iJ
33949
+ }), [oJ, sJ] = import_react.useState(null), cJ = import_react.useMemo(() => ({
33662
33950
  requestAddFilter: (e2) => {
33663
- let t2 = zq.getColumn(e2.columnId);
33664
- t2 && Wq(buildEditorSnapshot(t2, {
33951
+ let t2 = nJ.getColumn(e2.columnId);
33952
+ t2 && sJ(buildEditorSnapshot(t2, {
33665
33953
  operator: e2.operator
33666
33954
  }));
33667
33955
  }
33668
33956
  }), [
33669
- zq
33670
- ]), Kq = getUserColumnVisibilityCounts(zq), qq = Kq.total > 0 && Kq.visible === 0;
33957
+ nJ
33958
+ ]), lJ = getUserColumnVisibilityCounts(nJ), uJ = lJ.total > 0 && lJ.visible === 0;
33671
33959
  return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
33672
- value: Gq,
33960
+ value: cJ,
33673
33961
  children: (0, import_jsx_runtime.jsxs)("div", {
33674
33962
  className: cn(e, "flex flex-col space-y-1"),
33675
33963
  children: [
33676
33964
  (0, import_jsx_runtime.jsx)(FilterPills, {
33677
- filters: pq,
33678
- table: zq,
33679
- calculateTopKRows: hq,
33680
- addFilterSnapshot: Uq,
33681
- onAddFilterSnapshotChange: Wq
33965
+ filters: Aq,
33966
+ table: nJ,
33967
+ calculateTopKRows: Mq,
33968
+ addFilterSnapshot: oJ,
33969
+ onAddFilterSnapshotChange: sJ
33682
33970
  }),
33683
- Aq == null ? void 0 : Aq(zq),
33971
+ qq == null ? void 0 : qq(nJ),
33684
33972
  (0, import_jsx_runtime.jsx)(CellSelectionProvider, {
33685
33973
  children: (0, import_jsx_runtime.jsxs)("div", {
33686
33974
  part: "table-wrapper",
33687
33975
  className: cn(t || "rounded-md border overflow-hidden"),
33688
33976
  children: [
33689
33977
  (0, import_jsx_runtime.jsx)(TableTopBar, {
33690
- enableSearch: uq,
33691
- searchQuery: dq,
33692
- onSearchQueryChange: $,
33693
- reloading: gq,
33694
- showChartBuilder: xq,
33695
- isChartBuilderOpen: Sq,
33696
- toggleDisplayHeader: bq,
33697
- showTableExplorer: wq,
33698
- togglePanel: Tq,
33699
- isAnyPanelOpen: Dq,
33978
+ enableSearch: Eq,
33979
+ searchQuery: Dq,
33980
+ onSearchQueryChange: Oq,
33981
+ reloading: Nq,
33982
+ showChartBuilder: Rq,
33983
+ isChartBuilderOpen: zq,
33984
+ toggleDisplayHeader: Lq,
33985
+ showTableExplorer: Vq,
33986
+ togglePanel: Hq,
33987
+ isAnyPanelOpen: Wq,
33700
33988
  downloadAs: K,
33701
33989
  sizeBytes: _,
33702
33990
  sizeBytesIsLoading: v
33703
33991
  }),
33704
- qq && (0, import_jsx_runtime.jsxs)(Banner, {
33992
+ uJ && (0, import_jsx_runtime.jsxs)(Banner, {
33705
33993
  className: "mb-1 mx-2 rounded flex items-center justify-between",
33706
33994
  children: [
33707
33995
  (0, import_jsx_runtime.jsx)("span", {
@@ -33710,26 +33998,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33710
33998
  (0, import_jsx_runtime.jsx)(Button, {
33711
33999
  variant: "link",
33712
34000
  size: "xs",
33713
- onClick: () => zq.resetColumnVisibility(true),
34001
+ onClick: () => nJ.resetColumnVisibility(true),
33714
34002
  children: "Unhide all"
33715
34003
  })
33716
34004
  ]
33717
34005
  }),
33718
34006
  (0, import_jsx_runtime.jsxs)(Table, {
33719
34007
  className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
33720
- ref: Hq,
34008
+ ref: aJ,
33721
34009
  children: [
33722
- jq && (0, import_jsx_runtime.jsx)("thead", {
34010
+ Jq && (0, import_jsx_runtime.jsx)("thead", {
33723
34011
  className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
33724
34012
  }),
33725
- renderTableHeader(zq, Vq || !!n),
34013
+ renderTableHeader(nJ, iJ || !!n),
33726
34014
  (0, import_jsx_runtime.jsx)(DataTableBody, {
33727
- table: zq,
34015
+ table: nJ,
33728
34016
  columns: i,
33729
- rowViewerPanelOpen: Bq,
33730
- getRowIndex: Rq,
33731
- viewedRowIdx: Oq,
33732
- virtualize: Vq
34017
+ rowViewerPanelOpen: rJ,
34018
+ getRowIndex: tJ,
34019
+ viewedRowIdx: Gq,
34020
+ virtualize: iJ
33733
34021
  })
33734
34022
  ]
33735
34023
  }),
@@ -33740,11 +34028,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33740
34028
  pagination: J,
33741
34029
  selection: c,
33742
34030
  onRowSelectionChange: Q,
33743
- table: zq,
33744
- getRowIds: lq,
33745
- showPageSizeSelector: Cq,
33746
- tableLoading: gq,
33747
- togglePanel: Tq
34031
+ table: nJ,
34032
+ getRowIds: Tq,
34033
+ showPageSizeSelector: Bq,
34034
+ tableLoading: Nq,
34035
+ togglePanel: Hq
33748
34036
  })
33749
34037
  ]
33750
34038
  })
@@ -33840,42 +34128,42 @@ ${d}`,
33840
34128
  }, t[12] = d, t[13] = n, t[14] = K) : K = t[14];
33841
34129
  let q = K, J;
33842
34130
  t[15] === z ? J = t[16] : (J = () => U(!z), t[15] = z, t[16] = J);
33843
- let Q = z ? "Collapse traceback" : "Expand traceback", cq;
33844
- t[17] === z ? cq = t[18] : (cq = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
34131
+ let Q = z ? "Collapse traceback" : "Expand traceback", $;
34132
+ t[17] === z ? $ = t[18] : ($ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33845
34133
  className: "h-3 w-3"
33846
34134
  }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
33847
34135
  className: "h-3 w-3"
33848
- }), t[17] = z, t[18] = cq);
33849
- let uq;
33850
- t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uq = (0, import_jsx_runtime.jsx)("span", {
34136
+ }), t[17] = z, t[18] = $);
34137
+ let Eq;
34138
+ t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Eq = (0, import_jsx_runtime.jsx)("span", {
33851
34139
  className: "text-[0.6875rem] uppercase tracking-wider",
33852
34140
  children: "Traceback"
33853
- }), t[19] = uq) : uq = t[19];
33854
- let dq;
33855
- t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== cq ? (dq = (0, import_jsx_runtime.jsxs)("button", {
34141
+ }), t[19] = Eq) : Eq = t[19];
34142
+ let Dq;
34143
+ t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== $ ? (Dq = (0, import_jsx_runtime.jsxs)("button", {
33856
34144
  type: "button",
33857
34145
  onClick: J,
33858
34146
  "aria-expanded": z,
33859
34147
  "aria-label": Q,
33860
34148
  className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
33861
34149
  children: [
33862
- cq,
33863
- uq
34150
+ $,
34151
+ Eq
33864
34152
  ]
33865
- }), t[20] = z, t[21] = J, t[22] = Q, t[23] = cq, t[24] = dq) : dq = t[24];
33866
- let $;
33867
- t[25] !== s || t[26] !== z ? ($ = z && (0, import_jsx_runtime.jsx)("div", {
34153
+ }), t[20] = z, t[21] = J, t[22] = Q, t[23] = $, t[24] = Dq) : Dq = t[24];
34154
+ let Oq;
34155
+ t[25] !== s || t[26] !== z ? (Oq = z && (0, import_jsx_runtime.jsx)("div", {
33868
34156
  className: "text-muted-foreground pr-4 text-xs overflow-auto",
33869
34157
  children: s
33870
- }), t[25] = s, t[26] = z, t[27] = $) : $ = t[27];
33871
- let fq;
33872
- t[28] !== q || t[29] !== M ? (fq = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
34158
+ }), t[25] = s, t[26] = z, t[27] = Oq) : Oq = t[27];
34159
+ let kq;
34160
+ t[28] !== q || t[29] !== M ? (kq = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
33873
34161
  tooltip: "Fix with AI",
33874
34162
  openPrompt: () => q(false),
33875
34163
  applyAutofix: () => q(true)
33876
- }), t[28] = q, t[29] = M, t[30] = fq) : fq = t[30];
33877
- let pq;
33878
- t[31] !== w || t[32] !== v ? (pq = w && (0, import_jsx_runtime.jsx)(Tooltip, {
34164
+ }), t[28] = q, t[29] = M, t[30] = kq) : kq = t[30];
34165
+ let Aq;
34166
+ t[31] !== w || t[32] !== v ? (Aq = w && (0, import_jsx_runtime.jsx)(Tooltip, {
33879
34167
  content: "Attach pdb to the exception point.",
33880
34168
  children: (0, import_jsx_runtime.jsxs)(Button, {
33881
34169
  size: "xs",
@@ -33892,9 +34180,9 @@ ${d}`,
33892
34180
  "Launch debugger"
33893
34181
  ]
33894
34182
  })
33895
- }), t[31] = w, t[32] = v, t[33] = pq) : pq = t[33];
33896
- let mq;
33897
- t[34] !== d || t[35] !== i ? (mq = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
34183
+ }), t[31] = w, t[32] = v, t[33] = Aq) : Aq = t[33];
34184
+ let jq;
34185
+ t[34] !== d || t[35] !== i ? (jq = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33898
34186
  children: [
33899
34187
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
33900
34188
  asChild: true,
@@ -33962,25 +34250,25 @@ ${d}`,
33962
34250
  ]
33963
34251
  })
33964
34252
  ]
33965
- }), t[34] = d, t[35] = i, t[36] = mq) : mq = t[36];
33966
- let hq;
33967
- t[37] !== fq || t[38] !== pq || t[39] !== mq ? (hq = (0, import_jsx_runtime.jsxs)("div", {
34253
+ }), t[34] = d, t[35] = i, t[36] = jq) : jq = t[36];
34254
+ let Mq;
34255
+ t[37] !== kq || t[38] !== Aq || t[39] !== jq ? (Mq = (0, import_jsx_runtime.jsxs)("div", {
33968
34256
  className: "flex gap-2",
33969
34257
  children: [
33970
- fq,
33971
- pq,
33972
- mq
34258
+ kq,
34259
+ Aq,
34260
+ jq
33973
34261
  ]
33974
- }), t[37] = fq, t[38] = pq, t[39] = mq, t[40] = hq) : hq = t[40];
33975
- let gq;
33976
- return t[41] !== dq || t[42] !== $ || t[43] !== hq ? (gq = (0, import_jsx_runtime.jsxs)("div", {
34262
+ }), t[37] = kq, t[38] = Aq, t[39] = jq, t[40] = Mq) : Mq = t[40];
34263
+ let Nq;
34264
+ return t[41] !== Dq || t[42] !== Oq || t[43] !== Mq ? (Nq = (0, import_jsx_runtime.jsxs)("div", {
33977
34265
  className: "flex flex-col gap-2 min-w-full w-fit",
33978
34266
  children: [
33979
- dq,
33980
- $,
33981
- hq
34267
+ Dq,
34268
+ Oq,
34269
+ Mq
33982
34270
  ]
33983
- }), t[41] = dq, t[42] = $, t[43] = hq, t[44] = gq) : gq = t[44], gq;
34271
+ }), t[41] = Dq, t[42] = Oq, t[43] = Mq, t[44] = Nq) : Nq = t[44], Nq;
33984
34272
  };
33985
34273
  function lastLine(e) {
33986
34274
  var _a2, _b;
@@ -35457,7 +35745,7 @@ ${d}`,
35457
35745
  return Logger.warn("Failed to get version from mount config"), null;
35458
35746
  }
35459
35747
  }
35460
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-dev26");
35748
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-dev27");
35461
35749
  showCodeInRunModeAtom = atom(true);
35462
35750
  atom(null);
35463
35751
  var import_compiler_runtime = require_compiler_runtime();
@@ -35485,119 +35773,121 @@ ${d}`,
35485
35773
  }
35486
35774
  });
35487
35775
  export {
35488
- Panel as $,
35489
- Download as $t,
35776
+ slotsController as $,
35777
+ Expand as $t,
35490
35778
  ContextMenuSeparator as A,
35491
- dateToLocalISODateTime as At,
35492
- CommandItem as B,
35493
- useOverflowDetection as Bt,
35779
+ Maps as At,
35780
+ CommandEmpty as B,
35781
+ ChartLoadingState as Bt,
35494
35782
  downloadSizeLimitAtom as C,
35495
- SELECT_COLUMN_ID as Ct,
35783
+ loadTableData as Ct,
35496
35784
  ContextMenu as D,
35497
- isNullishFilter as Dt,
35785
+ toFieldTypes as Dt,
35498
35786
  getColumnCountForDisplay as E,
35499
- getMimeValues as Et,
35500
- Combobox as F,
35501
- TabsTrigger as Ft,
35502
- PANEL_TYPES as G,
35503
- $fae977aafc393c5c$export$588937bcd60ade55 as Gt,
35504
- CommandSeparator as H,
35505
- Kbd as Ht,
35506
- ComboboxItem as I,
35507
- ChartErrorState as It,
35508
- contextAwarePanelType as J,
35509
- GripHorizontal as Jt,
35510
- contextAwarePanelOpen as K,
35511
- $fae977aafc393c5c$export$6b862160d295c8e as Kt,
35512
- Command as L,
35513
- ChartInfoState as Lt,
35787
+ TOO_MANY_ROWS as Et,
35788
+ DatePicker as F,
35789
+ TabsContent as Ft,
35790
+ smartMatch as G,
35791
+ HtmlOutput as Gt,
35792
+ CommandItem as H,
35793
+ useOverflowDetection as Ht,
35794
+ DateRangePicker as I,
35795
+ TabsList as It,
35796
+ contextAwarePanelOpen as J,
35797
+ $fae977aafc393c5c$export$6b862160d295c8e as Jt,
35798
+ ContextAwarePanelItem as K,
35799
+ EmotionCacheProvider as Kt,
35800
+ Combobox as L,
35801
+ TabsTrigger as Lt,
35514
35802
  useInternalStateWithSync as M,
35515
- Tabs as Mt,
35516
- DatePicker as N,
35517
- TabsContent as Nt,
35803
+ dateToLocalISODateTime as Mt,
35804
+ useSelectList as N,
35805
+ dateToLocalISOTime as Nt,
35518
35806
  ContextMenuContent as O,
35519
- Maps as Ot,
35520
- DateRangePicker as P,
35521
- TabsList as Pt,
35522
- Toggle as Q,
35523
- Ellipsis as Qt,
35524
- CommandEmpty as R,
35525
- ChartLoadingState as Rt,
35807
+ getMimeValues as Ot,
35808
+ CompactChipRow as P,
35809
+ Tabs as Pt,
35810
+ SlotNames as Q,
35811
+ EyeOff as Qt,
35812
+ ComboboxItem as R,
35813
+ ChartErrorState as Rt,
35526
35814
  Filenames as S,
35527
- INDEX_COLUMN_NAME as St,
35815
+ loadTableAndRawData as St,
35528
35816
  prettifyRowCount as T,
35529
- toFieldTypes as Tt,
35530
- smartMatch as U,
35531
- HtmlOutput as Ut,
35532
- CommandList as V,
35533
- RenderTextWithLinks as Vt,
35534
- ContextAwarePanelItem as W,
35535
- EmotionCacheProvider as Wt,
35536
- SlotNames as X,
35537
- EyeOff as Xt,
35538
- isCellAwareAtom as Y,
35539
- Funnel as Yt,
35540
- slotsController as Z,
35541
- Expand as Zt,
35817
+ SELECT_COLUMN_ID as Tt,
35818
+ CommandList as U,
35819
+ RenderTextWithLinks as Ut,
35820
+ CommandInput as V,
35821
+ LazyVegaEmbed as Vt,
35822
+ CommandSeparator as W,
35823
+ Kbd as Wt,
35824
+ contextAwarePanelType as X,
35825
+ GripHorizontal as Xt,
35826
+ contextAwarePanelOwner as Y,
35827
+ TextWrap as Yt,
35828
+ isCellAwareAtom as Z,
35829
+ Funnel as Zt,
35542
35830
  ADD_PRINTING_CLASS as _,
35543
35831
  __tla,
35544
- useIntersectionObserver as _t,
35832
+ ColumnChartSpecModel as _t,
35545
35833
  DEFAULT_SLIDE_TYPE as a,
35546
- ChevronLeft as an,
35547
- TableBody as at,
35834
+ ChevronsLeft as an,
35835
+ Provider$1 as at,
35548
35836
  downloadHTMLAsImage as b,
35549
- loadTableAndRawData as bt,
35837
+ usePrevious as bt,
35550
35838
  Slide as c,
35551
- TableHeader as ct,
35839
+ ArrowDownWideNarrow as cn,
35840
+ TableCell as ct,
35552
35841
  RadioGroupItem as d,
35553
- generateColumns as dt,
35554
- Code as en,
35555
- PanelGroup as et,
35842
+ TableRow as dt,
35843
+ Ellipsis as en,
35844
+ Toggle as et,
35556
35845
  JsonOutput as f,
35557
- inferFieldTypes as ft,
35846
+ NAMELESS_COLUMN_PREFIX as ft,
35558
35847
  InstallPackageButton as g,
35559
- DelayMount as gt,
35848
+ ColumnChartContext as gt,
35560
35849
  DataTable as h,
35561
- ColumnChartSpecModel as ht,
35850
+ renderCellValue as ht,
35562
35851
  DEFAULT_DECK_TRANSITION as i,
35563
- ChevronsDownUp as in,
35564
- Table as it,
35852
+ ChevronsRight as in,
35853
+ Fill as it,
35565
35854
  ContextMenuTrigger as j,
35566
- dateToLocalISOTime as jt,
35855
+ dateToLocalISODate as jt,
35567
35856
  ContextMenuItem as k,
35568
- dateToLocalISODate as kt,
35857
+ isNullishFilter as kt,
35569
35858
  Switch as l,
35570
- TableRow as lt,
35859
+ TableHead as lt,
35571
35860
  OutputRenderer as m,
35572
- ColumnChartContext as mt,
35861
+ inferFieldTypes as mt,
35573
35862
  marimoVersionAtom as n,
35574
- ChevronsRight as nn,
35575
- Fill as nt,
35863
+ Code as nn,
35864
+ PanelGroup as nt,
35576
35865
  SLIDE_TYPE_OPTIONS_BY_VALUE as o,
35577
- ArrowDownWideNarrow as on,
35578
- TableCell as ot,
35866
+ ChevronsDownUp as on,
35867
+ Table as ot,
35579
35868
  OutputArea as p,
35580
- renderCellValue as pt,
35581
- contextAwarePanelOwner as q,
35582
- TextWrap as qt,
35869
+ generateColumns as pt,
35870
+ PANEL_TYPES as q,
35871
+ $fae977aafc393c5c$export$588937bcd60ade55 as qt,
35583
35872
  showCodeInRunModeAtom as r,
35584
- ChevronsLeft as rn,
35585
- Provider$1 as rt,
35873
+ ChevronsUpDown as rn,
35874
+ PanelResizeHandle as rt,
35586
35875
  SlideSidebar as s,
35587
- TableHead as st,
35876
+ ChevronLeft as sn,
35877
+ TableBody as st,
35588
35878
  useNotebookCodeAvailable as t,
35589
- ChevronsUpDown as tn,
35590
- PanelResizeHandle as tt,
35879
+ Download as tn,
35880
+ Panel as tt,
35591
35881
  RadioGroup as u,
35592
- NAMELESS_COLUMN_PREFIX as ut,
35882
+ TableHeader as ut,
35593
35883
  downloadBlob as v,
35594
- usePrevious as vt,
35884
+ DelayMount as vt,
35595
35885
  prettifyRowColumnCount as w,
35596
- TOO_MANY_ROWS as wt,
35886
+ INDEX_COLUMN_NAME as wt,
35597
35887
  Progress as x,
35598
- loadTableData as xt,
35888
+ getPageIndexForRow as xt,
35599
35889
  downloadByURL as y,
35600
- getPageIndexForRow as yt,
35601
- CommandInput as z,
35602
- LazyVegaEmbed as zt
35890
+ useIntersectionObserver as yt,
35891
+ Command as z,
35892
+ ChartInfoState as zt
35603
35893
  };