@marimo-team/islands 0.19.6-dev3 → 0.19.6-dev5

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.
@@ -2,8 +2,8 @@ import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __c
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
4
  import { N as createLucideIcon } from "./Combination-BOmAhdTT.js";
5
- import { A as Badge, B as ListFilter, I as Type, L as ToggleLeft, M as startCase_default, N as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, V as Hash, W as Calendar, j as createReducerAndAtoms, t as augmentSpecWithData, z as SquareFunction } from "./spec-Cif4tBMJ.js";
6
- import { E as useOnMount, M as $a916eb452884faea$export$b7a616150fdb9f44, a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Label, u as SelectValue } from "./label-BaX2bLJa.js";
5
+ import { A as Badge, B as ListFilter, I as Type, L as ToggleLeft, M as startCase_default, N as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, V as Hash, W as Calendar, j as createReducerAndAtoms, t as augmentSpecWithData, z as SquareFunction } from "./spec-KNxDhBEX.js";
6
+ import { E as useOnMount, M as $a916eb452884faea$export$b7a616150fdb9f44, a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Label, u as SelectValue } from "./label-B8Ngsa38.js";
7
7
  import { t as Button, u as cn } from "./button-D6ZIdUA3.js";
8
8
  import { o as Objects, s as Logger } from "./hotkeys-C4e3s3sJ.js";
9
9
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
@@ -6,8 +6,8 @@ import { t as require_react } from "./react-DdA8EBol.js";
6
6
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
7
7
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-ACOJ1BXr.js";
8
8
  import "./Combination-BOmAhdTT.js";
9
- import { A as logNever, E as useOnMount, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, t as Label, u as SelectValue } from "./label-BaX2bLJa.js";
10
- import { S as DropdownMenuSubTrigger, W as ErrorBoundary, b as DropdownMenuSub, fn as Trash, g as DropdownMenuItem, hn as Pencil, ht as capitalize_default, i as Input, m as DropdownMenuContent, mn as Plus, mt as marked, p as DropdownMenu, pt as useNonce, t as BulkEdit, v as DropdownMenuPortal, x as DropdownMenuSubContent, y as DropdownMenuSeparator } from "./types-BQOP2pRy.js";
9
+ import { A as logNever, E as useOnMount, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, t as Label, u as SelectValue } from "./label-B8Ngsa38.js";
10
+ import { S as DropdownMenuSubTrigger, W as ErrorBoundary, b as DropdownMenuSub, fn as Trash, g as DropdownMenuItem, hn as Pencil, ht as capitalize_default, i as Input, m as DropdownMenuContent, mn as Plus, mt as marked, p as DropdownMenu, pt as useNonce, t as BulkEdit, v as DropdownMenuPortal, x as DropdownMenuSubContent, y as DropdownMenuSeparator } from "./types-B9fL65ao.js";
11
11
  import { l as Events, t as Button } from "./button-D6ZIdUA3.js";
12
12
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
13
13
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
@@ -130,7 +130,7 @@ function $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a() {
130
130
  return (0, import_react.useEffect)(() => ($1e5a04cdaf7d1af8$var$listeners.size === 0 && window.addEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale), $1e5a04cdaf7d1af8$var$listeners.add(a), () => {
131
131
  $1e5a04cdaf7d1af8$var$listeners.delete(a), $1e5a04cdaf7d1af8$var$listeners.size === 0 && window.removeEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale);
132
132
  }), []), e ? {
133
- locale: typeof window < "u" && window[$1e5a04cdaf7d1af8$var$localeSymbol] || "en-US",
133
+ locale: "en-US",
134
134
  direction: "ltr"
135
135
  } : i;
136
136
  }
package/dist/main.js CHANGED
@@ -7,10 +7,10 @@ import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
7
7
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-ACOJ1BXr.js";
8
8
  import { h as require_cjs$1, i as Go$1, __tla as __tla_0 } from "./chunk-OGVTOU66-RMy3tlM6.js";
9
9
  import { C as useLayoutEffect2, D as dispatchDiscreteCustomEvent, E as Primitive$1, M as composeEventHandlers, N as createLucideIcon, O as createSlot, S as useId$12, T as useCallbackRef, _ as Arrow, a as __awaiter, b as createPopperScope, c as withSmartCollisionBoundary, d as Root$5, g as Anchor, h as Portal, i as useFocusGuards, j as createContextScope$1, l as isInVscodeExtension, m as Presence, n as hideOthers, o as MAX_HEIGHT_OFFSET, p as useControllableState, r as FocusScope, s as withFullScreenAsRoot, t as Combination_default, u as StyleNamespace, v as Content$3, w as DismissableLayer, x as useSize, y as Root2$6 } from "./Combination-BOmAhdTT.js";
10
- import { A as Badge, B as ListFilter, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as $5a387cc49350e6db$export$722debc0e56fea39, H as ChartPie, I as Type, L as ToggleLeft, M as startCase_default, N as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, O as TIME_UNIT_DESCRIPTIONS, P as $fb18d541ea1ad717$export$ad991b66133851cf, R as Table$1, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, U as ChartColumn, V as Hash, W as Calendar, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as createReducerAndAtoms, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON, z as SquareFunction } from "./spec-Cif4tBMJ.js";
10
+ import { A as Badge, B as ListFilter, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as $5a387cc49350e6db$export$722debc0e56fea39, H as ChartPie, I as Type, L as ToggleLeft, M as startCase_default, N as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, O as TIME_UNIT_DESCRIPTIONS, P as $fb18d541ea1ad717$export$ad991b66133851cf, R as Table$1, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, U as ChartColumn, V as Hash, W as Calendar, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as createReducerAndAtoms, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON, z as SquareFunction } from "./spec-KNxDhBEX.js";
11
11
  import { t as Check } from "./check-S8ldILuD.js";
12
- import { A as logNever, B as ChevronDown, C as useDirection, D as useOnUnmount, E as useOnMount, F as $18f2051aff69b9bf$export$a54013f0d02a8f82, I as $b5e257d569688ac6$export$535bd6ca7f90a273, M as $a916eb452884faea$export$b7a616150fdb9f44, O as usePrevious, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as X, S as Trigger$5, T as clamp$2, _ as menuItemVariants, a as SelectGroup, b as menuSubTriggerVariants, c as SelectSeparator, d as NativeSelect, f as selectStyles, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, k as assertNever, l as SelectTrigger, m as menuContentCommon, n as Primitive, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, s as SelectLabel, t as Label, u as SelectValue, v as menuLabelVariants, w as createCollection, x as Icon, y as menuSeparatorVariants } from "./label-BaX2bLJa.js";
13
- import { $ as $514c0188e459b4c0$export$9afb8bc826b033ea, $t as $7215afc6de606d6b$export$de79e2c695e052f3, A as ItemIndicator, At as $6db58dc88e78b024$export$2f817fcdc4b89ae0, B as createMenuScope, Bt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, C as DropdownMenuTrigger, Ct as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, D as Content2$3, Dt as $6c7bd7858deea686$export$cd11ab140839f11d, E as CheckboxItem, Et as $701a24aa0da5b062$export$ea18c227d4417cc3, F as Root3, Ft as $507fabe10e71c6fb$export$630ff653c5ada6a9, G as $3985021b0ad6602f$export$37fb8590cf2c088c, Gt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, H as Root$6, Ht as $b4b717babfbb907b$export$bebd5a1431fec25d, I as Separator, It as $f6c31cce2adf654f$export$45712eceda6fad21, J as $a049562f99e7db0e$export$f9c6924e160136d1, Jt as $c87311424ea30a05$export$6446a186d09e379e, K as $3985021b0ad6602f$export$f5b8910cec6cf069, Kt as $df56164dff5785e2$export$4338b53315abf666, L as Sub, Lt as _class_private_field_init, M as Portal$2, Mt as $6179b936705e76d3$export$ae780daf29e6d456, N as RadioGroup$2, Nt as $9ab94262bd0047c7$export$420e68273165f4ec, O as Group$1, Ot as $fca6afa0e843324b$export$87b761675e8eaa10, P as RadioItem, Pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, Q as $514c0188e459b4c0$export$5f1af8db9871e1d6, Qt as $c87311424ea30a05$export$fedb369cb70207f1, R as SubContent, Rt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, S as DropdownMenuSubTrigger, St as $e5be200c675c3b3a$export$dad6ae84456c676a, T as Arrow2, Tt as $f7dceffc5ad7768b$export$4e328f61c538687f, U as createRovingFocusGroupScope, Ut as $99facab73266f662$export$5add1d006293d136, V as Item$2, Vt as $b4b717babfbb907b$export$4c063cf1350e6fed, W as ErrorBoundary, Wt as $e9faafb641e167db$export$90fc3a17d93f704c, X as $ee014567cb39d3f0$export$f551688fc98f2e09, Xt as $c87311424ea30a05$export$9ac100e40613ea10, Y as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Yt as $c87311424ea30a05$export$78551043582a6a98, Z as $ee014567cb39d3f0$export$ff05c3ac10437e03, Zt as $c87311424ea30a05$export$a11b0059900ceec8, _ as DropdownMenuLabel, _n as ChevronRight, _t as $2baaea4c71418dea$export$294aa081a6c6f55d, a as OnBlurredInput, an as $f4e2df6bd15f8569$export$98658e8c59125e6a, at as $64fa3d84918910a7$export$2881499e37b75b9a, b as DropdownMenuSub, bt as $e5be200c675c3b3a$export$a763b9476acd3eb, c as NumberField, cn as $ff5963eb1fccf552$export$e08e3b67e392101e, ct as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, d as prettyNumber, dn as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, dt as $64fa3d84918910a7$export$ef03459518577ad4, en as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, et as $d2b4bc8c273e7be6$export$24d547caef80ccd1, f as prettyScientificNumber, fn as Trash, ft as $64fa3d84918910a7$export$fabf2dc03a41866e, g as DropdownMenuItem, gn as Circle, gt as $d2e8511e6f209edf$export$e908e06f4b8e3402, h as DropdownMenuGroup, hn as Pencil, ht as capitalize_default, i as Input, in as $d4ee10de306f2510$export$e58f029f0fbfdb29, it as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, j as Label$2, jt as $5b160d28a433310d$export$c17fa47878dc55b6, k as Item2$2, kt as $fca6afa0e843324b$export$f12b703ca79dfbb1, l as maxFractionalDigits, ln as $bdb11010cef70236$export$b4cc09c592e8fdb8, lt as $64fa3d84918910a7$export$c245e6201fed2f75, m as DropdownMenuContent, mn as Plus, mt as marked, n as DebouncedInput, nn as $d4ee10de306f2510$export$4282f70798064fe0, nt as $01b77f81d0f07f68$export$75b6ee27786ba447, o as useDebounceControlledState, on as $431fbd86ca7dc216$export$b204af158042fbac, ot as $64fa3d84918910a7$export$29f1550f4b0d4415, p as DropdownMenu, pn as Search, pt as useNonce, q as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, qt as $313b98861ee5dd6c$export$d6875122194c7b44, r as DebouncedNumberInput, rn as $d4ee10de306f2510$export$cd4e5573fbe2b576, rt as $01b77f81d0f07f68$export$b04be29aa201d4f5, s as useDebouncedCallback, sn as $431fbd86ca7dc216$export$f21a1ffae260145a, st as $64fa3d84918910a7$export$4d86445c2cf5e3, t as BulkEdit, tn as $3ef42575df84b30b$export$9d1611c77c2fe928, tt as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, u as prettyEngineeringNumber, un as $bdb11010cef70236$export$f680877a34711e37, ut as $64fa3d84918910a7$export$c62b8e45d58ddad9, v as DropdownMenuPortal, vt as $e93e671b31057976$export$b8473d3665f3a75a, w as Anchor2, wt as $319e236875307eab$export$a9b970dcc4ae71a9, x as DropdownMenuSubContent, xt as $e5be200c675c3b3a$export$aca958c65c314e6c, y as DropdownMenuSeparator, yt as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, z as SubTrigger, zt as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./types-BQOP2pRy.js";
12
+ import { A as logNever, B as ChevronDown, C as useDirection, D as useOnUnmount, E as useOnMount, F as $18f2051aff69b9bf$export$a54013f0d02a8f82, I as $b5e257d569688ac6$export$535bd6ca7f90a273, M as $a916eb452884faea$export$b7a616150fdb9f44, O as usePrevious, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as X, S as Trigger$5, T as clamp$2, _ as menuItemVariants, a as SelectGroup, b as menuSubTriggerVariants, c as SelectSeparator, d as NativeSelect, f as selectStyles, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, k as assertNever, l as SelectTrigger, m as menuContentCommon, n as Primitive, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, s as SelectLabel, t as Label, u as SelectValue, v as menuLabelVariants, w as createCollection, x as Icon, y as menuSeparatorVariants } from "./label-B8Ngsa38.js";
13
+ import { $ as $514c0188e459b4c0$export$9afb8bc826b033ea, $t as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, A as ItemIndicator, At as $6db58dc88e78b024$export$2f817fcdc4b89ae0, B as createMenuScope, Bt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, C as DropdownMenuTrigger, Ct as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, D as Content2$3, Dt as $6c7bd7858deea686$export$cd11ab140839f11d, E as CheckboxItem, Et as $701a24aa0da5b062$export$ea18c227d4417cc3, F as Root3, Ft as $507fabe10e71c6fb$export$630ff653c5ada6a9, G as $3985021b0ad6602f$export$37fb8590cf2c088c, Gt as $df56164dff5785e2$export$4338b53315abf666, H as Root$6, Ht as $b4b717babfbb907b$export$bebd5a1431fec25d, I as Separator, It as $f6c31cce2adf654f$export$45712eceda6fad21, J as $a049562f99e7db0e$export$f9c6924e160136d1, Jt as $c87311424ea30a05$export$78551043582a6a98, K as $3985021b0ad6602f$export$f5b8910cec6cf069, Kt as $313b98861ee5dd6c$export$d6875122194c7b44, L as Sub, Lt as _class_private_field_init, M as Portal$2, Mt as $6179b936705e76d3$export$ae780daf29e6d456, N as RadioGroup$2, Nt as $9ab94262bd0047c7$export$420e68273165f4ec, O as Group$1, Ot as $fca6afa0e843324b$export$87b761675e8eaa10, P as RadioItem, Pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, Q as $514c0188e459b4c0$export$5f1af8db9871e1d6, Qt as $7215afc6de606d6b$export$de79e2c695e052f3, R as SubContent, Rt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, S as DropdownMenuSubTrigger, St as $e5be200c675c3b3a$export$dad6ae84456c676a, T as Arrow2, Tt as $f7dceffc5ad7768b$export$4e328f61c538687f, U as createRovingFocusGroupScope, Ut as $99facab73266f662$export$5add1d006293d136, V as Item$2, Vt as $b4b717babfbb907b$export$4c063cf1350e6fed, W as ErrorBoundary, Wt as $e9faafb641e167db$export$90fc3a17d93f704c, X as $ee014567cb39d3f0$export$f551688fc98f2e09, Xt as $c87311424ea30a05$export$a11b0059900ceec8, Y as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Yt as $c87311424ea30a05$export$9ac100e40613ea10, Z as $ee014567cb39d3f0$export$ff05c3ac10437e03, Zt as $c87311424ea30a05$export$fedb369cb70207f1, _ as DropdownMenuLabel, _n as ChevronRight, _t as $2baaea4c71418dea$export$294aa081a6c6f55d, a as OnBlurredInput, an as $431fbd86ca7dc216$export$b204af158042fbac, at as $64fa3d84918910a7$export$2881499e37b75b9a, b as DropdownMenuSub, bt as $e5be200c675c3b3a$export$a763b9476acd3eb, c as NumberField, cn as $bdb11010cef70236$export$b4cc09c592e8fdb8, ct as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, d as prettyNumber, dn as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, dt as $64fa3d84918910a7$export$ef03459518577ad4, en as $3ef42575df84b30b$export$9d1611c77c2fe928, et as $d2b4bc8c273e7be6$export$24d547caef80ccd1, f as prettyScientificNumber, fn as Trash, ft as $64fa3d84918910a7$export$fabf2dc03a41866e, g as DropdownMenuItem, gn as Circle, gt as $d2e8511e6f209edf$export$e908e06f4b8e3402, h as DropdownMenuGroup, hn as Pencil, ht as capitalize_default, i as Input, in as $f4e2df6bd15f8569$export$98658e8c59125e6a, it as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, j as Label$2, jt as $5b160d28a433310d$export$c17fa47878dc55b6, k as Item2$2, kt as $fca6afa0e843324b$export$f12b703ca79dfbb1, l as maxFractionalDigits, ln as $bdb11010cef70236$export$f680877a34711e37, lt as $64fa3d84918910a7$export$c245e6201fed2f75, m as DropdownMenuContent, mn as Plus, mt as marked, n as DebouncedInput, nn as $d4ee10de306f2510$export$cd4e5573fbe2b576, nt as $01b77f81d0f07f68$export$75b6ee27786ba447, o as useDebounceControlledState, on as $431fbd86ca7dc216$export$f21a1ffae260145a, ot as $64fa3d84918910a7$export$29f1550f4b0d4415, p as DropdownMenu, pn as Search, pt as useNonce, q as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, qt as $c87311424ea30a05$export$6446a186d09e379e, r as DebouncedNumberInput, rn as $d4ee10de306f2510$export$e58f029f0fbfdb29, rt as $01b77f81d0f07f68$export$b04be29aa201d4f5, s as useDebouncedCallback, sn as $ff5963eb1fccf552$export$e08e3b67e392101e, st as $64fa3d84918910a7$export$4d86445c2cf5e3, t as BulkEdit, tn as $d4ee10de306f2510$export$4282f70798064fe0, tt as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, u as prettyEngineeringNumber, un as $8ae05eaa5c114e9c$export$7f54fc3180508a52, ut as $64fa3d84918910a7$export$c62b8e45d58ddad9, v as DropdownMenuPortal, vt as $e93e671b31057976$export$b8473d3665f3a75a, w as Anchor2, wt as $319e236875307eab$export$a9b970dcc4ae71a9, x as DropdownMenuSubContent, xt as $e5be200c675c3b3a$export$aca958c65c314e6c, y as DropdownMenuSeparator, yt as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, z as SubTrigger, zt as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./types-B9fL65ao.js";
14
14
  import { S as CircleQuestionMark, _ as isUrl, a as AlertTitle, b as Deferred, c as constructFrom, d as millisecondsInMinute, f as millisecondsInSecond, g as appendQueryParams, h as getRuntimeManager, i as AlertDescription, l as millisecondsInDay, m as asRemoteURL, n as arrow, o as isValid$1, p as millisecondsInWeek, r as Alert, s as toDate, t as useDeepCompareMemoize, u as millisecondsInHour, v as require_cuid2, x as isWasm, y as waitForConnectionOpen } from "./useDeepCompareMemoize-B2QEm3jo.js";
15
15
  import { n as clsx_default } from "./clsx-D2KVTYnW.js";
16
16
  import { a as cva, c as useComposedRefs, l as Events, n as buttonVariants, o as useEventListener, r as Slot$1, s as composeRefs, t as Button, u as cn } from "./button-D6ZIdUA3.js";
@@ -5940,34 +5940,35 @@ let __tla = Promise.all([
5940
5940
  }
5941
5941
  var import_react = __toESM(require_react(), 1);
5942
5942
  function $4f58c5f72bcf79f7$export$496315a1608d9602(e, r) {
5943
- let c = (0, import_react.useRef)(true), d = (0, import_react.useRef)(null), f = $8ae05eaa5c114e9c$export$7f54fc3180508a52(e);
5943
+ let c = (0, import_react.useRef)(true), d = (0, import_react.useRef)(null);
5944
5944
  (0, import_react.useEffect)(() => (c.current = true, () => {
5945
5945
  c.current = false;
5946
5946
  }), []), (0, import_react.useEffect)(() => {
5947
- let e2 = d.current;
5948
- c.current ? c.current = false : (!e2 || r.some((r2, c2) => !Object.is(r2, e2[c2]))) && f(), d.current = r;
5947
+ let f = d.current;
5948
+ c.current ? c.current = false : (!f || r.some((e2, r2) => !Object.is(e2, f[r2]))) && e(), d.current = r;
5949
5949
  }, r);
5950
5950
  }
5951
5951
  function $9daab02d461809db$var$hasResizeObserver() {
5952
5952
  return window.ResizeObserver !== void 0;
5953
5953
  }
5954
5954
  function $9daab02d461809db$export$683480f191c0e3ea(e) {
5955
- let { ref: r, box: c, onResize: d } = e, f = $8ae05eaa5c114e9c$export$7f54fc3180508a52(d);
5955
+ let { ref: r, box: c, onResize: d } = e;
5956
5956
  (0, import_react.useEffect)(() => {
5957
5957
  let e2 = r == null ? void 0 : r.current;
5958
5958
  if (e2) if ($9daab02d461809db$var$hasResizeObserver()) {
5959
5959
  let r2 = new window.ResizeObserver((e3) => {
5960
- e3.length && f();
5960
+ e3.length && d();
5961
5961
  });
5962
5962
  return r2.observe(e2, {
5963
5963
  box: c
5964
5964
  }), () => {
5965
5965
  e2 && r2.unobserve(e2);
5966
5966
  };
5967
- } else return window.addEventListener("resize", f, false), () => {
5968
- window.removeEventListener("resize", f, false);
5967
+ } else return window.addEventListener("resize", d, false), () => {
5968
+ window.removeEventListener("resize", d, false);
5969
5969
  };
5970
5970
  }, [
5971
+ d,
5971
5972
  r,
5972
5973
  c
5973
5974
  ]);
@@ -6027,8 +6028,11 @@ let __tla = Promise.all([
6027
6028
  };
6028
6029
  }
6029
6030
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, r) {
6030
- let c = $2f04cbc44ee30ce0$var$relativeOffset(e, r, "left"), d = $2f04cbc44ee30ce0$var$relativeOffset(e, r, "top"), f = r.offsetWidth, h = r.offsetHeight, _ = e.scrollLeft, v = e.scrollTop, { borderTopWidth: y, borderLeftWidth: S, scrollPaddingTop: w, scrollPaddingRight: E, scrollPaddingBottom: O, scrollPaddingLeft: M } = getComputedStyle(e), I = _ + parseInt(S, 10), z = v + parseInt(y, 10), G = I + e.clientWidth, q = z + e.clientHeight, LY = parseInt(w, 10) || 0, RY = parseInt(O, 10) || 0, zY = parseInt(E, 10) || 0, BY = parseInt(M, 10) || 0;
6031
- c <= _ + BY ? _ = c - parseInt(S, 10) - BY : c + f > G - zY && (_ += c + f - G + zY), d <= z + LY ? v = d - parseInt(y, 10) - LY : d + h > q - RY && (v += d + h - q + RY), e.scrollLeft = _, e.scrollTop = v;
6031
+ let c = $2f04cbc44ee30ce0$var$relativeOffset(e, r, "left"), d = $2f04cbc44ee30ce0$var$relativeOffset(e, r, "top"), f = r.offsetWidth, h = r.offsetHeight, _ = e.scrollLeft, v = e.scrollTop, { borderTopWidth: y, borderLeftWidth: S, scrollPaddingTop: w, scrollPaddingRight: E, scrollPaddingBottom: O, scrollPaddingLeft: M } = getComputedStyle(e), { scrollMarginTop: I, scrollMarginRight: z, scrollMarginBottom: G, scrollMarginLeft: q } = getComputedStyle(r), LY = _ + parseInt(S, 10), RY = v + parseInt(y, 10), zY = LY + e.clientWidth, BY = RY + e.clientHeight, VY = parseInt(w, 10) || 0, HY = parseInt(O, 10) || 0, UY = parseInt(E, 10) || 0, WY = parseInt(M, 10) || 0, GY = parseInt(I, 10) || 0, KY = parseInt(G, 10) || 0, qY = parseInt(z, 10) || 0, JY = c - (parseInt(q, 10) || 0), YY = c + f + qY, XY = d - GY, ZY = d + h + KY, QY = _ + parseInt(S, 10) + WY, $Y = zY - UY, eX = v + parseInt(y, 10) + VY, tX = BY - HY;
6032
+ (JY > QY || YY < $Y) && (JY <= _ + WY ? _ = JY - parseInt(S, 10) - WY : YY > zY - UY && (_ += YY - zY + UY)), (XY > eX || ZY < tX) && (XY <= RY + VY ? v = XY - parseInt(y, 10) - VY : ZY > BY - HY && (v += ZY - BY + HY)), e.scrollTo({
6033
+ left: _,
6034
+ top: v
6035
+ });
6032
6036
  }
6033
6037
  function $2f04cbc44ee30ce0$var$relativeOffset(e, r, c) {
6034
6038
  let d = c === "left" ? "offsetLeft" : "offsetTop", f = 0;
@@ -6043,19 +6047,15 @@ let __tla = Promise.all([
6043
6047
  }
6044
6048
  function $2f04cbc44ee30ce0$export$c826860796309d1b(e, r) {
6045
6049
  if (e && document.contains(e)) {
6046
- let _ = document.scrollingElement || document.documentElement, v = window.getComputedStyle(_).overflow === "hidden";
6047
- if (v) {
6048
- let r2 = $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(e);
6049
- v || r2.push(_);
6050
- for (let c2 of r2) $2f04cbc44ee30ce0$export$53a0910f038337bd(c2, e);
6051
- } else {
6050
+ let _ = document.scrollingElement || document.documentElement;
6051
+ if (window.getComputedStyle(_).overflow !== "hidden" && !$c87311424ea30a05$export$6446a186d09e379e()) {
6052
6052
  var c;
6053
- let { left: _2, top: v2 } = e.getBoundingClientRect();
6053
+ let { left: _2, top: v } = e.getBoundingClientRect();
6054
6054
  e == null || (c = e.scrollIntoView) == null || c.call(e, {
6055
6055
  block: "nearest"
6056
6056
  });
6057
6057
  let { left: y, top: S } = e.getBoundingClientRect();
6058
- if (Math.abs(_2 - y) > 1 || Math.abs(v2 - S) > 1) {
6058
+ if (Math.abs(_2 - y) > 1 || Math.abs(v - S) > 1) {
6059
6059
  var d, f, h;
6060
6060
  r == null || (f = r.containingElement) == null || (d = f.scrollIntoView) == null || d.call(f, {
6061
6061
  block: "center",
@@ -6064,6 +6064,9 @@ let __tla = Promise.all([
6064
6064
  block: "nearest"
6065
6065
  });
6066
6066
  }
6067
+ } else {
6068
+ let r2 = $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(e);
6069
+ for (let c2 of r2) $2f04cbc44ee30ce0$export$53a0910f038337bd(c2, e);
6067
6070
  }
6068
6071
  }
6069
6072
  }
@@ -6153,7 +6156,9 @@ let __tla = Promise.all([
6153
6156
  }
6154
6157
  }, [
6155
6158
  r,
6156
- d
6159
+ d,
6160
+ _,
6161
+ v
6157
6162
  ]);
6158
6163
  }
6159
6164
  function $e0b6e0b68ec7f50f$var$isValidEvent(e, r) {
@@ -9065,21 +9070,21 @@ let __tla = Promise.all([
9065
9070
  }, $edcf132a9284368a$var$TOTAL_SIZE = {
9066
9071
  width: "totalWidth",
9067
9072
  height: "totalHeight"
9068
- }, $edcf132a9284368a$var$PARSED_PLACEMENT_CACHE = {}, $edcf132a9284368a$var$getVisualViewport = () => typeof document < "u" ? window.visualViewport : null;
9069
- function $edcf132a9284368a$var$getContainerDimensions(e, r) {
9070
- let c = 0, d = 0, f = 0, h = 0, _ = 0, v = 0, y = {}, S = ((r == null ? void 0 : r.scale) ?? 1) > 1;
9071
- if (e.tagName === "BODY" || e.tagName === "HTML") {
9072
- let S2 = document.documentElement;
9073
- f = S2.clientWidth, h = S2.clientHeight, c = (r == null ? void 0 : r.width) ?? f, d = (r == null ? void 0 : r.height) ?? h, y.top = S2.scrollTop || e.scrollTop, y.left = S2.scrollLeft || e.scrollLeft, r && (_ = r.offsetTop, v = r.offsetLeft);
9074
- } else ({ width: c, height: d, top: _, left: v } = $edcf132a9284368a$var$getOffset(e, false)), y.top = e.scrollTop, y.left = e.scrollLeft, f = c, h = d;
9075
- return $c87311424ea30a05$export$78551043582a6a98() && (e.tagName === "BODY" || e.tagName === "HTML") && S && (y.top = 0, y.left = 0, _ = (r == null ? void 0 : r.pageTop) ?? 0, v = (r == null ? void 0 : r.pageLeft) ?? 0), {
9076
- width: c,
9077
- height: d,
9078
- totalWidth: f,
9079
- totalHeight: h,
9080
- scroll: y,
9081
- top: _,
9082
- left: v
9073
+ }, $edcf132a9284368a$var$PARSED_PLACEMENT_CACHE = {}, $edcf132a9284368a$var$visualViewport = typeof document < "u" ? window.visualViewport : null;
9074
+ function $edcf132a9284368a$var$getContainerDimensions(e) {
9075
+ let r = 0, c = 0, d = 0, f = 0, h = 0, _ = 0, v = {}, y = (($edcf132a9284368a$var$visualViewport == null ? void 0 : $edcf132a9284368a$var$visualViewport.scale) ?? 1) > 1;
9076
+ if (e.tagName === "BODY") {
9077
+ let y2 = document.documentElement;
9078
+ d = y2.clientWidth, f = y2.clientHeight, r = ($edcf132a9284368a$var$visualViewport == null ? void 0 : $edcf132a9284368a$var$visualViewport.width) ?? d, c = ($edcf132a9284368a$var$visualViewport == null ? void 0 : $edcf132a9284368a$var$visualViewport.height) ?? f, v.top = y2.scrollTop || e.scrollTop, v.left = y2.scrollLeft || e.scrollLeft, $edcf132a9284368a$var$visualViewport && (h = $edcf132a9284368a$var$visualViewport.offsetTop, _ = $edcf132a9284368a$var$visualViewport.offsetLeft);
9079
+ } else ({ width: r, height: c, top: h, left: _ } = $edcf132a9284368a$var$getOffset(e, false)), v.top = e.scrollTop, v.left = e.scrollLeft, d = r, f = c;
9080
+ return $c87311424ea30a05$export$78551043582a6a98() && (e.tagName === "BODY" || e.tagName === "HTML") && y && (v.top = 0, v.left = 0, h = ($edcf132a9284368a$var$visualViewport == null ? void 0 : $edcf132a9284368a$var$visualViewport.pageTop) ?? 0, _ = ($edcf132a9284368a$var$visualViewport == null ? void 0 : $edcf132a9284368a$var$visualViewport.pageLeft) ?? 0), {
9081
+ width: r,
9082
+ height: c,
9083
+ totalWidth: d,
9084
+ totalHeight: f,
9085
+ scroll: v,
9086
+ top: h,
9087
+ left: _
9083
9088
  };
9084
9089
  }
9085
9090
  function $edcf132a9284368a$var$getScroll(e) {
@@ -9091,7 +9096,7 @@ let __tla = Promise.all([
9091
9096
  };
9092
9097
  }
9093
9098
  function $edcf132a9284368a$var$getDelta(e, r, c, d, f, h, _) {
9094
- let v = f.scroll[e] ?? 0, y = d[$edcf132a9284368a$var$AXIS_SIZE[e]], S = _[e] + d.scroll[$edcf132a9284368a$var$AXIS[e]] + h, w = _[e] + d.scroll[$edcf132a9284368a$var$AXIS[e]] + y - h, E = r - v + d.scroll[$edcf132a9284368a$var$AXIS[e]] + _[e] - d[$edcf132a9284368a$var$AXIS[e]], O = r - v + c + d.scroll[$edcf132a9284368a$var$AXIS[e]] + _[e] - d[$edcf132a9284368a$var$AXIS[e]];
9099
+ let v = f.scroll[e] ?? 0, y = d[$edcf132a9284368a$var$AXIS_SIZE[e]], S = d.scroll[$edcf132a9284368a$var$AXIS[e]] + h, w = y + d.scroll[$edcf132a9284368a$var$AXIS[e]] - h, E = r - v + _[e] - d[$edcf132a9284368a$var$AXIS[e]], O = r - v + c + _[e] - d[$edcf132a9284368a$var$AXIS[e]];
9095
9100
  return E < S ? S - E : O > w ? Math.max(w - O, S - E) : 0;
9096
9101
  }
9097
9102
  function $edcf132a9284368a$var$getMargins(e) {
@@ -9117,62 +9122,61 @@ let __tla = Promise.all([
9117
9122
  crossSize: _
9118
9123
  }, $edcf132a9284368a$var$PARSED_PLACEMENT_CACHE[e];
9119
9124
  }
9120
- function $edcf132a9284368a$var$computePosition(e, r, c, d, f, h, _, v, y, S, w) {
9121
- let { placement: E, crossPlacement: O, axis: M, crossAxis: I, size: z, crossSize: G } = d, q = {};
9122
- q[I] = e[I] ?? 0, O === "center" ? q[I] += ((e[G] ?? 0) - (c[G] ?? 0)) / 2 : O !== I && (q[I] += (e[G] ?? 0) - (c[G] ?? 0)), q[I] += h;
9123
- let LY = e[I] - c[G] + y + S, RY = e[I] + e[G] - y - S;
9124
- if (q[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4(q[I], LY, RY), E === M) {
9125
- let r2 = v ? w[z] : w[$edcf132a9284368a$var$TOTAL_SIZE[z]];
9126
- q[$edcf132a9284368a$var$FLIPPED_DIRECTION[M]] = Math.floor(r2 - e[M] + f);
9127
- } else q[M] = Math.floor(e[M] + e[z] + f);
9128
- return q;
9129
- }
9130
- function $edcf132a9284368a$var$getMaxHeight(e, r, c, d, f, h, _, v, y, S, w) {
9131
- let E = (e.top == null ? y[$edcf132a9284368a$var$TOTAL_SIZE.height] - (e.bottom ?? 0) - _ : e.top) - (y.scroll.top ?? 0), O = S ? c.top : 0, M = {
9132
- top: Math.max(r.top + O, ((w == null ? void 0 : w.offsetTop) ?? r.top) + O),
9133
- bottom: Math.min(r.top + r.height + O, ((w == null ? void 0 : w.offsetTop) ?? 0) + ((w == null ? void 0 : w.height) ?? 0))
9134
- };
9135
- return v === "top" ? Math.max(0, E + _ - M.top - ((f.top ?? 0) + (f.bottom ?? 0) + h)) : Math.max(0, M.bottom - E - ((f.top ?? 0) + (f.bottom ?? 0) + h));
9136
- }
9137
- function $edcf132a9284368a$var$getAvailableSpace(e, r, c, d, f, h, _, v) {
9138
- let { placement: y, axis: S, size: w } = h;
9139
- return y === S ? Math.max(0, c[S] - (_.scroll[S] ?? 0) - (e[S] + (v ? r[S] : 0)) - (d[S] ?? 0) - d[$edcf132a9284368a$var$FLIPPED_DIRECTION[S]] - f) : Math.max(0, e[w] + e[S] + (v ? r[S] : 0) - c[S] - c[w] + (_.scroll[S] ?? 0) - (d[S] ?? 0) - d[$edcf132a9284368a$var$FLIPPED_DIRECTION[S]] - f);
9140
- }
9141
- function $edcf132a9284368a$export$6839422d1f33cee9(e, r, c, d, f, h, _, v, y, S, w, E, O, M, I, z, G, q) {
9142
- let LY = $edcf132a9284368a$var$parsePlacement(e), { size: RY, crossAxis: zY, crossSize: BY, placement: VY, crossPlacement: HY } = LY, UY = $edcf132a9284368a$var$computePosition(r, v, c, LY, w, E, S, O, I, z, y), WY = w, GY = $edcf132a9284368a$var$getAvailableSpace(v, S, r, f, h + w, LY, y, G);
9143
- if (_ && c[RY] > GY) {
9144
- let e2 = $edcf132a9284368a$var$parsePlacement(`${$edcf132a9284368a$var$FLIPPED_DIRECTION[VY]} ${HY}`), d2 = $edcf132a9284368a$var$computePosition(r, v, c, e2, w, E, S, O, I, z, y);
9145
- $edcf132a9284368a$var$getAvailableSpace(v, S, r, f, h + w, e2, y, G) > GY && (LY = e2, UY = d2, WY = w);
9146
- }
9147
- let KY = "bottom";
9148
- LY.axis === "top" ? LY.placement === "top" ? KY = "top" : LY.placement === "bottom" && (KY = "bottom") : LY.crossAxis === "top" && (LY.crossPlacement === "top" ? KY = "bottom" : LY.crossPlacement === "bottom" && (KY = "top"));
9149
- let qY = $edcf132a9284368a$var$getDelta(zY, UY[zY], c[BY], v, y, h, S);
9150
- UY[zY] += qY;
9151
- let JY = $edcf132a9284368a$var$getMaxHeight(UY, v, S, O, f, h, c.height, KY, y, G, q);
9152
- M && M < JY && (JY = M), c.height = Math.min(c.height, JY), UY = $edcf132a9284368a$var$computePosition(r, v, c, LY, WY, E, S, O, I, z, y), qY = $edcf132a9284368a$var$getDelta(zY, UY[zY], c[BY], v, y, h, S), UY[zY] += qY;
9153
- let YY = {}, XY = r[zY] - UY[zY] - f[$edcf132a9284368a$var$AXIS[zY]], ZY = XY + 0.5 * r[BY], QY = I / 2 + z, $Y = $edcf132a9284368a$var$AXIS[zY] === "left" ? (f.left ?? 0) + (f.right ?? 0) : (f.top ?? 0) + (f.bottom ?? 0), eX = c[BY] - $Y - I / 2 - z;
9154
- YY[zY] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(ZY, r[zY] + I / 2 - (UY[zY] + f[$edcf132a9284368a$var$AXIS[zY]]), r[zY] + r[BY] - I / 2 - (UY[zY] + f[$edcf132a9284368a$var$AXIS[zY]])), QY, eX), { placement: VY, crossPlacement: HY } = LY, I ? XY = YY[zY] : HY === "right" ? XY += r[BY] : HY === "center" && (XY += r[BY] / 2);
9155
- let tX = VY === "left" || VY === "top" ? c[RY] : 0, nX = {
9156
- x: VY === "top" || VY === "bottom" ? XY : tX,
9157
- y: VY === "left" || VY === "right" ? XY : tX
9125
+ function $edcf132a9284368a$var$computePosition(e, r, c, d, f, h, _, v, y, S) {
9126
+ let { placement: w, crossPlacement: E, axis: O, crossAxis: M, size: I, crossSize: z } = d, G = {};
9127
+ G[M] = e[M] ?? 0, E === "center" ? G[M] += ((e[z] ?? 0) - (c[z] ?? 0)) / 2 : E !== M && (G[M] += (e[z] ?? 0) - (c[z] ?? 0)), G[M] += h;
9128
+ let q = e[M] - c[z] + y + S, LY = e[M] + e[z] - y - S;
9129
+ if (G[M] = $9446cca9a3875146$export$7d15b64cf5a3a4c4(G[M], q, LY), w === O) {
9130
+ let c2 = v ? _[I] : r[$edcf132a9284368a$var$TOTAL_SIZE[I]];
9131
+ G[$edcf132a9284368a$var$FLIPPED_DIRECTION[O]] = Math.floor(c2 - e[O] + f);
9132
+ } else G[O] = Math.floor(e[O] + e[I] + f);
9133
+ return G;
9134
+ }
9135
+ function $edcf132a9284368a$var$getMaxHeight(e, r, c, d, f, h, _, v) {
9136
+ let y = d ? c.height : r[$edcf132a9284368a$var$TOTAL_SIZE.height], S = e.top == null ? c.top + (y - (e.bottom ?? 0) - _) : c.top + e.top, w = v === "top" ? Math.max(0, S + _ - (r.top + (r.scroll.top ?? 0)) - ((f.top ?? 0) + (f.bottom ?? 0) + h)) : Math.max(0, r.height + r.top + (r.scroll.top ?? 0) - S - ((f.top ?? 0) + (f.bottom ?? 0) + h));
9137
+ return Math.min(r.height - h * 2, w);
9138
+ }
9139
+ function $edcf132a9284368a$var$getAvailableSpace(e, r, c, d, f, h) {
9140
+ let { placement: _, axis: v, size: y } = h;
9141
+ return _ === v ? Math.max(0, c[v] - e[v] - (e.scroll[v] ?? 0) + r[v] - (d[v] ?? 0) - d[$edcf132a9284368a$var$FLIPPED_DIRECTION[v]] - f) : Math.max(0, e[y] + e[v] + e.scroll[v] - r[v] - c[v] - c[y] - (d[v] ?? 0) - d[$edcf132a9284368a$var$FLIPPED_DIRECTION[v]] - f);
9142
+ }
9143
+ function $edcf132a9284368a$export$6839422d1f33cee9(e, r, c, d, f, h, _, v, y, S, w, E, O, M, I, z) {
9144
+ let G = $edcf132a9284368a$var$parsePlacement(e), { size: q, crossAxis: LY, crossSize: RY, placement: zY, crossPlacement: BY } = G, VY = $edcf132a9284368a$var$computePosition(r, v, c, G, w, E, S, O, I, z), HY = w, UY = $edcf132a9284368a$var$getAvailableSpace(v, S, r, f, h + w, G);
9145
+ if (_ && d[q] > UY) {
9146
+ let e2 = $edcf132a9284368a$var$parsePlacement(`${$edcf132a9284368a$var$FLIPPED_DIRECTION[zY]} ${BY}`), d2 = $edcf132a9284368a$var$computePosition(r, v, c, e2, w, E, S, O, I, z);
9147
+ $edcf132a9284368a$var$getAvailableSpace(v, S, r, f, h + w, e2) > UY && (G = e2, VY = d2, HY = w);
9148
+ }
9149
+ let WY = "bottom";
9150
+ G.axis === "top" ? G.placement === "top" ? WY = "top" : G.placement === "bottom" && (WY = "bottom") : G.crossAxis === "top" && (G.crossPlacement === "top" ? WY = "bottom" : G.crossPlacement === "bottom" && (WY = "top"));
9151
+ let GY = $edcf132a9284368a$var$getDelta(LY, VY[LY], c[RY], v, y, h, S);
9152
+ VY[LY] += GY;
9153
+ let KY = $edcf132a9284368a$var$getMaxHeight(VY, v, S, O, f, h, c.height, WY);
9154
+ M && M < KY && (KY = M), c.height = Math.min(c.height, KY), VY = $edcf132a9284368a$var$computePosition(r, v, c, G, HY, E, S, O, I, z), GY = $edcf132a9284368a$var$getDelta(LY, VY[LY], c[RY], v, y, h, S), VY[LY] += GY;
9155
+ let qY = {}, JY = r[LY] - VY[LY] - f[$edcf132a9284368a$var$AXIS[LY]], YY = JY + 0.5 * r[RY], XY = I / 2 + z, ZY = $edcf132a9284368a$var$AXIS[LY] === "left" ? (f.left ?? 0) + (f.right ?? 0) : (f.top ?? 0) + (f.bottom ?? 0), QY = c[RY] - ZY - I / 2 - z;
9156
+ qY[LY] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(YY, r[LY] + I / 2 - (VY[LY] + f[$edcf132a9284368a$var$AXIS[LY]]), r[LY] + r[RY] - I / 2 - (VY[LY] + f[$edcf132a9284368a$var$AXIS[LY]])), XY, QY), { placement: zY, crossPlacement: BY } = G, I ? JY = qY[LY] : BY === "right" ? JY += r[RY] : BY === "center" && (JY += r[RY] / 2);
9157
+ let $Y = zY === "left" || zY === "top" ? c[q] : 0, eX = {
9158
+ x: zY === "top" || zY === "bottom" ? JY : $Y,
9159
+ y: zY === "left" || zY === "right" ? JY : $Y
9158
9160
  };
9159
9161
  return {
9160
- position: UY,
9161
- maxHeight: JY,
9162
- arrowOffsetLeft: YY.left,
9163
- arrowOffsetTop: YY.top,
9164
- placement: VY,
9165
- triggerAnchorPoint: nX
9162
+ position: VY,
9163
+ maxHeight: KY,
9164
+ arrowOffsetLeft: qY.left,
9165
+ arrowOffsetTop: qY.top,
9166
+ placement: zY,
9167
+ triggerAnchorPoint: eX
9166
9168
  };
9167
9169
  }
9168
9170
  function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
9169
- let { placement: r, targetNode: c, overlayNode: d, scrollNode: f, padding: h, shouldFlip: _, boundaryElement: v, offset: y, crossOffset: S, maxHeight: w, arrowSize: E = 0, arrowBoundaryOffset: O = 0 } = e, M = $edcf132a9284368a$var$getVisualViewport(), I = d instanceof HTMLElement ? $edcf132a9284368a$var$getContainingBlock(d) : document.documentElement, z = I === document.documentElement, G = window.getComputedStyle(I).position, q = !!G && G !== "static", LY = z ? $edcf132a9284368a$var$getOffset(c, false) : $edcf132a9284368a$var$getPosition(c, I, false);
9170
- if (!z) {
9171
+ let { placement: r, targetNode: c, overlayNode: d, scrollNode: f, padding: h, shouldFlip: _, boundaryElement: v, offset: y, crossOffset: S, maxHeight: w, arrowSize: E = 0, arrowBoundaryOffset: O = 0 } = e, M = d instanceof HTMLElement ? $edcf132a9284368a$var$getContainingBlock(d) : document.documentElement, I = M === document.documentElement, z = window.getComputedStyle(M).position, G = !!z && z !== "static", q = I ? $edcf132a9284368a$var$getOffset(c, false) : $edcf132a9284368a$var$getPosition(c, M, false);
9172
+ if (!I) {
9171
9173
  let { marginTop: e2, marginLeft: r2 } = window.getComputedStyle(c);
9172
- LY.top += parseInt(e2, 10) || 0, LY.left += parseInt(r2, 10) || 0;
9174
+ q.top += parseInt(e2, 10) || 0, q.left += parseInt(r2, 10) || 0;
9173
9175
  }
9174
- let RY = $edcf132a9284368a$var$getOffset(d, true), zY = $edcf132a9284368a$var$getMargins(d);
9175
- return RY.width += (zY.left ?? 0) + (zY.right ?? 0), RY.height += (zY.top ?? 0) + (zY.bottom ?? 0), $edcf132a9284368a$export$6839422d1f33cee9(r, LY, RY, $edcf132a9284368a$var$getScroll(f), zY, h, _, $edcf132a9284368a$var$getContainerDimensions(v, M), $edcf132a9284368a$var$getContainerDimensions(I, M), $edcf132a9284368a$var$getPosition(v, I, false), y, S, q, w, E, O, v.contains(I), M);
9176
+ let LY = $edcf132a9284368a$var$getOffset(d, true), RY = $edcf132a9284368a$var$getMargins(d);
9177
+ LY.width += (RY.left ?? 0) + (RY.right ?? 0), LY.height += (RY.top ?? 0) + (RY.bottom ?? 0);
9178
+ let zY = $edcf132a9284368a$var$getScroll(f), BY = $edcf132a9284368a$var$getContainerDimensions(v), VY = $edcf132a9284368a$var$getContainerDimensions(M), HY = v.tagName === "BODY" ? $edcf132a9284368a$var$getOffset(M, false) : $edcf132a9284368a$var$getPosition(M, v, false);
9179
+ return M.tagName === "HTML" && v.tagName === "BODY" && (VY.scroll.top = 0, VY.scroll.left = 0), $edcf132a9284368a$export$6839422d1f33cee9(r, q, LY, zY, RY, h, _, BY, VY, HY, y, S, G, w, E, O);
9176
9180
  }
9177
9181
  function $edcf132a9284368a$export$4b834cebd9e5cebe(e, r) {
9178
9182
  let { top: c, left: d, width: f, height: h } = e.getBoundingClientRect();
@@ -41901,7 +41905,7 @@ ${c.sqlString}
41901
41905
  $d34552a7550967e7$exports = {
41902
41906
  rangeOverflow: (e) => `\uAC12\uC740 ${e.maxValue} \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,
41903
41907
  rangeReversed: "\uC2DC\uC791\uC77C\uC740 \uC885\uB8CC\uC77C \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.",
41904
- rangeUnderflow: (e) => `\uAC12\uC740 ${e.minValue} \uC774\uD6C4\uC5EC\uC57C \uD569\uB2C8\uB2E4.`,
41908
+ rangeUnderflow: (e) => `\uAC12\uC740 ${e.minValue} \uC774\uC0C1\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,
41905
41909
  unavailableDate: "\uC120\uD0DD\uD55C \uB0A0\uC9DC\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."
41906
41910
  };
41907
41911
  var $8f855bffe63f6eca$exports = {};
@@ -43302,7 +43306,7 @@ ${c.sqlString}
43302
43306
  ...$3ef42575df84b30b$export$9d1611c77c2fe928(v, h),
43303
43307
  ref: r,
43304
43308
  style: d,
43305
- className: f ?? "react-aria-CalendarGridHeader"
43309
+ className: f || "react-aria-CalendarGridHeader"
43306
43310
  }, import_react.createElement("tr", null, _.map((e2, r2) => import_react.cloneElement(c(e2), {
43307
43311
  key: r2
43308
43312
  }))));
@@ -43328,7 +43332,7 @@ ${c.sqlString}
43328
43332
  ...w,
43329
43333
  ref: r,
43330
43334
  style: d,
43331
- className: f ?? "react-aria-CalendarGridBody"
43335
+ className: f || "react-aria-CalendarGridBody"
43332
43336
  }, [
43333
43337
  ...Array(S).keys()
43334
43338
  ].map((e2) => import_react.createElement("tr", {
@@ -43678,9 +43682,7 @@ ${c.sqlString}
43678
43682
  isDisabled: _.isDisabled
43679
43683
  }, _.segments.map((e2, r2) => (0, import_react.cloneElement)(d(e2), {
43680
43684
  key: r2
43681
- }))), import_react.createElement($3985021b0ad6602f$export$f5b8910cec6cf069, {
43682
- className: ""
43683
- }));
43685
+ }))), import_react.createElement($3985021b0ad6602f$export$f5b8910cec6cf069, null));
43684
43686
  }), $40825cdb76e74f70$export$336ab7fa954c4b5f = (0, import_react.forwardRef)(function({ segment: e, ...r }, c) {
43685
43687
  let d = (0, import_react.useContext)($40825cdb76e74f70$export$3b08bebcf796eea0), f = (0, import_react.useContext)($40825cdb76e74f70$export$5d8dc44abd10a920), h = d ?? f, _ = $df56164dff5785e2$export$4338b53315abf666(c), { segmentProps: v } = $32489daedd52963e$export$1315d136e6f7581(e, h, _), { focusProps: y, isFocused: S, isFocusVisible: w } = $f7dceffc5ad7768b$export$4e328f61c538687f(), { hoverProps: E, isHovered: O } = $6179b936705e76d3$export$ae780daf29e6d456({
43686
43688
  ...r,
@@ -72038,7 +72040,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
72038
72040
  function getVegaFieldTypes(e) {
72039
72041
  return !e || Object.keys(e).length === 0 ? "auto" : Objects.mapValues(e, (e2) => e2 === "date" || e2 === "time" ? "string" : e2 === "datetime" ? "date" : e2);
72040
72042
  }
72041
- var import_compiler_runtime$84 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-zEomQJ3U.js").then(async (m2) => {
72043
+ var import_compiler_runtime$84 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-CF27qeAl.js").then(async (m2) => {
72042
72044
  await m2.__tla;
72043
72045
  return m2;
72044
72046
  }));
@@ -83696,7 +83698,7 @@ ${c}
83696
83698
  fullWidth: v,
83697
83699
  children: z
83698
83700
  }), r[19] = v, r[20] = y, r[21] = c, r[22] = z, r[23] = G) : G = r[23], G;
83699
- }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-Dr9GhOQj.js"));
83701
+ }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-CDKkNEXK.js"));
83700
83702
  const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object$1({
83701
83703
  label: string$2().nullish(),
83702
83704
  data: string$2()
@@ -101095,7 +101097,7 @@ Defaulting to \`null\`.`;
101095
101097
  return Logger.warn("Failed to get version from mount config"), null;
101096
101098
  }
101097
101099
  }
101098
- const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.19.6-dev3"), showCodeInRunModeAtom = atom(true);
101100
+ const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.19.6-dev5"), showCodeInRunModeAtom = atom(true);
101099
101101
  atom(null);
101100
101102
  var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
101101
101103
  constructor() {
@@ -2,7 +2,7 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DdA8EBol.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-DHFVbq0b.js";
4
4
  import { N as createLucideIcon } from "./Combination-BOmAhdTT.js";
5
- import { A as logNever, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, j as upperFirst_default } from "./label-BaX2bLJa.js";
5
+ import { A as logNever, P as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, j as upperFirst_default } from "./label-B8Ngsa38.js";
6
6
  import { a as cva, u as cn } from "./button-D6ZIdUA3.js";
7
7
  import { s as Logger } from "./hotkeys-C4e3s3sJ.js";
8
8
  import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";