@overmap-ai/blocks 0.0.7-alpha.2 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/blocks.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import "@radix-ui/themes/styles.css";
2
2
  export * from "@radix-ui/colors";
3
- import { Cross1Icon as Fe, DragHandleDots2Icon as ae, InfoCircledIcon as Xe, Cross2Icon as Ue } from "@radix-ui/react-icons";
3
+ import { Cross1Icon as Fe, DragHandleDots2Icon as ae, Cross2Icon as Xe } from "@radix-ui/react-icons";
4
4
  export * from "@radix-ui/react-icons";
5
- import { useThemeContext as qe, Badge as Ke, Button as Qe, IconButton as De, Flex as b, Box as M, Card as Ye, Inset as ee, Dialog as V, AlertDialog as W, DropdownMenu as O, Select as E, Checkbox as Je, Switch as Ze, Portal as et, TextField as te, Text as ce, Popover as ne, TextArea as tt, Callout as oe, Theme as nt, Separator as xe } from "@radix-ui/themes";
6
- import { AccessibleIcon as lo, AspectRatio as uo, Avatar as ho, Blockquote as po, Box as mo, Callout as fo, Card as go, Checkbox as Co, Code as vo, Container as _o, ContextMenu as yo, Em as wo, Flex as xo, Grid as To, Heading as So, HoverCard as Po, Inset as Ro, Kbd as bo, Link as Do, Portal as $o, Quote as zo, RadioGroup as Io, ScrollArea as Oo, Section as ko, Slider as No, Slot as Ao, Strong as Eo, Table as Bo, Tabs as Lo, TextField as Mo, Theme as Wo, Tooltip as jo, VisuallyHidden as Go, updateThemeAppearanceClass as Ho, useThemeContext as Vo } from "@radix-ui/themes";
5
+ import { useThemeContext as Ue, Badge as qe, Button as Ke, IconButton as De, Flex as R, Box as M, Card as Qe, Inset as ee, Dialog as j, AlertDialog as W, DropdownMenu as O, Select as E, Checkbox as Ye, Switch as Je, Portal as Ze, TextField as te, Text as ce, Popover as ne, TextArea as et, Callout as oe, Theme as tt, Separator as xe } from "@radix-ui/themes";
6
+ import { AccessibleIcon as co, AspectRatio as lo, Avatar as uo, Blockquote as ho, Box as po, Callout as mo, Card as fo, Checkbox as go, Code as Co, Container as vo, ContextMenu as _o, Em as yo, Flex as wo, Grid as xo, Heading as To, HoverCard as So, Inset as Po, Kbd as bo, Link as Ro, Portal as Do, Quote as $o, RadioGroup as zo, ScrollArea as Io, Section as Oo, Slider as ko, Slot as No, Strong as Ao, Table as Eo, Tabs as Bo, TextField as Lo, Theme as Mo, Tooltip as Wo, VisuallyHidden as Go, updateThemeAppearanceClass as Ho, useThemeContext as Vo } from "@radix-ui/themes";
7
7
  import { jsx as n, jsxs as v, Fragment as le } from "react/jsx-runtime";
8
- import q, { useMemo as j, forwardRef as T, memo as _, createContext as ge, useContext as Ce, useState as D, useCallback as w, createElement as $e, useEffect as ue, useRef as se, useLayoutEffect as ot } from "react";
8
+ import q, { useMemo as G, forwardRef as T, memo as _, createContext as ge, useContext as Ce, useState as D, useCallback as w, createElement as $e, useEffect as ue, useRef as se, useLayoutEffect as nt } from "react";
9
9
  import * as re from "@radix-ui/react-dialog";
10
10
  import { Resizable as pe } from "re-resizable";
11
11
  import { Transition as Te } from "react-transition-group";
12
- import { Root as rt, Item as it } from "@radix-ui/react-toggle-group";
12
+ import { Root as ot, Item as rt } from "@radix-ui/react-toggle-group";
13
13
  import * as X from "@radix-ui/react-toast";
14
- import { ToastProvider as st, ToastViewport as at } from "@radix-ui/react-toast";
15
- function ct(r) {
14
+ import { ToastProvider as it, ToastViewport as st } from "@radix-ui/react-toast";
15
+ function at(r) {
16
16
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
17
17
  }
18
18
  var ze = { exports: {} };
@@ -51,10 +51,10 @@ var ze = { exports: {} };
51
51
  r.exports ? (o.default = o, r.exports = o) : window.classNames = o;
52
52
  })();
53
53
  })(ze);
54
- var lt = ze.exports;
55
- const x = /* @__PURE__ */ ct(lt);
54
+ var ct = ze.exports;
55
+ const x = /* @__PURE__ */ at(ct);
56
56
  function B(r, s) {
57
- return j(() => {
57
+ return G(() => {
58
58
  if (r !== void 0)
59
59
  if (typeof r == "object") {
60
60
  if (!("initial" in r))
@@ -64,18 +64,18 @@ function B(r, s) {
64
64
  return s[r];
65
65
  }, [s, r]);
66
66
  }
67
- const ut = {
67
+ const lt = {
68
68
  success: "green",
69
69
  danger: "red",
70
70
  info: "gray"
71
- }, R = (r) => {
72
- const s = qe();
71
+ }, b = (r) => {
72
+ const s = Ue();
73
73
  if (r)
74
- return r === "primary" ? s.accentColor : ut[r];
75
- }, dt = T(function({ className: s, severity: o = "primary", color: t, children: i, ...e }, c) {
76
- const a = R(o);
74
+ return r === "primary" ? s.accentColor : lt[r];
75
+ }, ut = T(function({ className: s, severity: o = "primary", color: t, children: i, ...e }, c) {
76
+ const a = b(o);
77
77
  return /* @__PURE__ */ n(
78
- Ke,
78
+ qe,
79
79
  {
80
80
  className: x("overmap-badge", s),
81
81
  ref: c,
@@ -84,26 +84,26 @@ const ut = {
84
84
  children: i
85
85
  }
86
86
  );
87
- }), Bn = _(dt), ht = "_fluid_r73gr_1", pt = "_hoverSpin90Clockwise_r73gr_15", mt = "_hoverSpin180Clockwise_r73gr_25", ft = "_hoverSpin360Clockwise_r73gr_35", U = {
88
- fluid: ht,
89
- hoverSpin90Clockwise: pt,
90
- hoverSpin180Clockwise: mt,
91
- hoverSpin360Clockwise: ft
87
+ }), En = _(ut), dt = "_fluid_r73gr_1", ht = "_hoverSpin90Clockwise_r73gr_15", pt = "_hoverSpin180Clockwise_r73gr_25", mt = "_hoverSpin360Clockwise_r73gr_35", U = {
88
+ fluid: dt,
89
+ hoverSpin90Clockwise: ht,
90
+ hoverSpin180Clockwise: pt,
91
+ hoverSpin360Clockwise: mt
92
92
  }, Ie = {
93
93
  spin90Clockwise: U.hoverSpin90Clockwise,
94
94
  spin180Clockwise: U.hoverSpin180Clockwise,
95
95
  spin360Clockwise: U.hoverSpin360Clockwise
96
- }, gt = (r) => {
96
+ }, ft = (r) => {
97
97
  (r.key === "Enter" || r.key === " ") && r.currentTarget.click();
98
- }, Ln = {
98
+ }, Bn = {
99
99
  role: "button",
100
100
  tabIndex: 0,
101
- onKeyDown: gt
101
+ onKeyDown: ft
102
102
  }, F = {
103
103
  small: "1",
104
104
  medium: "2",
105
105
  large: "3"
106
- }, Oe = ge({}), ve = () => Ce(Oe), Ct = T(function(s, o) {
106
+ }, Oe = ge({}), ve = () => Ce(Oe), gt = T(function(s, o) {
107
107
  const t = ve(), {
108
108
  className: i,
109
109
  type: e = "button",
@@ -113,9 +113,9 @@ const ut = {
113
113
  hoverEffects: l = t.hoverEffects ?? [],
114
114
  variant: h = t.variant,
115
115
  ...p
116
- } = s, m = R(u), f = l.map((d) => Ie[d]);
116
+ } = s, m = b(u), f = l.map((d) => Ie[d]);
117
117
  return /* @__PURE__ */ n(
118
- Qe,
118
+ Ke,
119
119
  {
120
120
  ref: o,
121
121
  type: e,
@@ -128,7 +128,7 @@ const ut = {
128
128
  ...p
129
129
  }
130
130
  );
131
- }), me = q.memo(Ct), vt = T(function(s, o) {
131
+ }), me = q.memo(gt), Ct = T(function(s, o) {
132
132
  const t = ve(), {
133
133
  className: i,
134
134
  children: e,
@@ -139,7 +139,7 @@ const ut = {
139
139
  hoverEffects: h = t.hoverEffects ?? [],
140
140
  variant: p = t.variant,
141
141
  ...m
142
- } = s, f = R(l), d = (h == null ? void 0 : h.map((g) => Ie[g])) || [];
142
+ } = s, f = b(l), d = (h == null ? void 0 : h.map((g) => Ie[g])) || [];
143
143
  return /* @__PURE__ */ n(
144
144
  De,
145
145
  {
@@ -155,12 +155,12 @@ const ut = {
155
155
  children: e
156
156
  }
157
157
  );
158
- }), ke = q.memo(vt), _t = "_merged_wdgxo_1", yt = {
159
- merged: _t
160
- }, wt = {
158
+ }), ke = q.memo(Ct), vt = "_merged_wdgxo_1", _t = {
159
+ merged: vt
160
+ }, yt = {
161
161
  row: { small: "4", medium: "4", large: "5" },
162
162
  column: { small: "2", medium: "3", large: "4" }
163
- }, xt = T(function({
163
+ }, wt = T(function({
164
164
  className: s,
165
165
  merged: o = !1,
166
166
  children: t,
@@ -173,12 +173,12 @@ const ut = {
173
173
  fluid: h,
174
174
  ...p
175
175
  }, m) {
176
- const f = B(a, wt[e]), d = u === "ghost" ? f : "0";
176
+ const f = B(a, yt[e]), d = u === "ghost" ? f : "0";
177
177
  return /* @__PURE__ */ n(
178
- b,
178
+ R,
179
179
  {
180
180
  className: x("overmap-button-group", s, {
181
- [yt.merged]: o
181
+ [_t.merged]: o
182
182
  }),
183
183
  ref: m,
184
184
  gap: o ? i ?? d : i ?? "2",
@@ -188,27 +188,27 @@ const ut = {
188
188
  children: /* @__PURE__ */ n(Oe.Provider, { value: { size: a, severity: c, variant: u, hoverEffects: l, fluid: h }, children: t })
189
189
  }
190
190
  );
191
- }), Ne = _(xt), Tt = "_separators_1f7v1_1", St = {
192
- separators: Tt
193
- }, Pt = _(
191
+ }), Ne = _(wt), xt = "_separators_1f7v1_1", Tt = {
192
+ separators: xt
193
+ }, St = _(
194
194
  T((r, s) => {
195
- const { children: o, border: t, before: i, after: e, size: c } = r, a = t ? "surface" : "ghost", u = B(c, F), h = /* @__PURE__ */ v(Ye, { ref: s, size: u, variant: a, children: [
195
+ const { children: o, border: t, before: i, after: e, size: c } = r, a = t ? "surface" : "ghost", u = B(c, F), h = /* @__PURE__ */ v(Qe, { ref: s, size: u, variant: a, children: [
196
196
  i,
197
197
  i && e ? /* @__PURE__ */ n(ee, { side: "x", pt: "current", pb: "current", children: o }) : i ? /* @__PURE__ */ n(ee, { side: "bottom", pt: "current", children: o }) : e ? /* @__PURE__ */ n(ee, { side: "top", pb: "current", children: o }) : /* @__PURE__ */ n(ee, { children: o }),
198
198
  e
199
199
  ] });
200
200
  return a === "ghost" ? /* @__PURE__ */ n(M, { p: "3", children: h }) : h;
201
201
  })
202
- ), Rt = _(
202
+ ), Pt = _(
203
203
  T((r, s) => {
204
204
  const { children: o, variant: t = "outline", size: i, className: e, ...c } = r;
205
- return /* @__PURE__ */ n(Pt, { ...c, border: t === "outline" || t === "surface", size: i, children: /* @__PURE__ */ n(
205
+ return /* @__PURE__ */ n(St, { ...c, border: t === "outline" || t === "surface", size: i, children: /* @__PURE__ */ n(
206
206
  Ne,
207
207
  {
208
208
  size: i,
209
209
  severity: "info",
210
210
  variant: t === "outline" ? "ghost" : t === "surface" ? "soft" : t,
211
- className: x(e, St.separators),
211
+ className: x(e, Tt.separators),
212
212
  merged: !0,
213
213
  gap: "0",
214
214
  direction: "column",
@@ -222,22 +222,22 @@ const ut = {
222
222
  const { variant: o } = ve(), t = /* @__PURE__ */ n(me, { ref: s, ...r, radius: "large", variant: o });
223
223
  return o === "ghost" ? /* @__PURE__ */ n(M, { asChild: !0, my: "1", mx: "2", children: t }) : t;
224
224
  })
225
- ), Mn = {
226
- Root: Rt,
225
+ ), Ln = {
226
+ Root: Pt,
227
227
  Item: bt
228
- }, Dt = _(function(s) {
228
+ }, Rt = _(function(s) {
229
229
  const { title: o, description: t, content: i, closeDialog: e } = s;
230
- return /* @__PURE__ */ v(b, { direction: "column", gap: "2", children: [
231
- /* @__PURE__ */ v(b, { direction: "column", gap: "1", children: [
232
- /* @__PURE__ */ v(b, { justify: "between", children: [
233
- /* @__PURE__ */ n(V.Title, { mb: "0", children: o }),
234
- /* @__PURE__ */ n(V.Close, { children: /* @__PURE__ */ n(De, { color: "gray", variant: "ghost", "aria-label": "Close", children: /* @__PURE__ */ n(Fe, {}) }) })
230
+ return /* @__PURE__ */ v(R, { direction: "column", gap: "2", children: [
231
+ /* @__PURE__ */ v(R, { direction: "column", gap: "1", children: [
232
+ /* @__PURE__ */ v(R, { justify: "between", children: [
233
+ /* @__PURE__ */ n(j.Title, { mb: "0", children: o }),
234
+ /* @__PURE__ */ n(j.Close, { children: /* @__PURE__ */ n(De, { color: "gray", variant: "ghost", "aria-label": "Close", children: /* @__PURE__ */ n(Fe, {}) }) })
235
235
  ] }),
236
- t && /* @__PURE__ */ n(V.Description, { children: t })
236
+ t && /* @__PURE__ */ n(j.Description, { children: t })
237
237
  ] }),
238
238
  i(e)
239
239
  ] });
240
- }), Wn = _(
240
+ }), Mn = _(
241
241
  T((r, s) => {
242
242
  const { children: o, content: t, title: i, description: e, onOpen: c, defaultOpen: a, onCloseInterrupt: u, ...l } = r, [h, p] = D(a ?? !1), m = w(
243
243
  (d) => {
@@ -256,10 +256,10 @@ const ut = {
256
256
  },
257
257
  [m]
258
258
  );
259
- return /* @__PURE__ */ v(V.Root, { open: h, onOpenChange: m, children: [
260
- /* @__PURE__ */ n(V.Trigger, { children: o }),
261
- /* @__PURE__ */ n(V.Content, { ref: s, ...l, children: /* @__PURE__ */ n(
262
- Dt,
259
+ return /* @__PURE__ */ v(j.Root, { open: h, onOpenChange: m, children: [
260
+ /* @__PURE__ */ n(j.Trigger, { children: o }),
261
+ /* @__PURE__ */ n(j.Content, { ref: s, ...l, children: /* @__PURE__ */ n(
262
+ Rt,
263
263
  {
264
264
  closeDialog: f,
265
265
  content: t,
@@ -269,34 +269,34 @@ const ut = {
269
269
  ) })
270
270
  ] });
271
271
  })
272
- ), Ae = (r) => /* @__PURE__ */ n(W.Title, { mb: "0", ...r }), $t = (r) => {
272
+ ), Ae = (r) => /* @__PURE__ */ n(W.Title, { mb: "0", ...r }), Dt = (r) => {
273
273
  const { title: s, description: o, actionText: t = "Confirm", cancelText: i = "Cancel", onAction: e, onCancel: c, severity: a } = r;
274
- return /* @__PURE__ */ v(b, { direction: "column", gap: "2", children: [
275
- /* @__PURE__ */ v(b, { direction: "column", gap: "1", children: [
274
+ return /* @__PURE__ */ v(R, { direction: "column", gap: "2", children: [
275
+ /* @__PURE__ */ v(R, { direction: "column", gap: "1", children: [
276
276
  /* @__PURE__ */ n(Ae, { children: s }),
277
277
  /* @__PURE__ */ n(W.Description, { children: o })
278
278
  ] }),
279
- /* @__PURE__ */ v(b, { gap: "3", mt: "4", justify: "end", children: [
279
+ /* @__PURE__ */ v(R, { gap: "3", mt: "4", justify: "end", children: [
280
280
  /* @__PURE__ */ n(W.Cancel, { children: /* @__PURE__ */ n(me, { variant: "soft", severity: "info", onClick: c, children: i }) }),
281
281
  /* @__PURE__ */ n(W.Action, { children: /* @__PURE__ */ n(me, { variant: "solid", severity: a, onClick: e, children: t }) })
282
282
  ] })
283
283
  ] });
284
- }, zt = _(function(s) {
285
- const { open: o, setOpen: t, children: i, ...e } = s, c = j(() => ({
284
+ }, $t = _(function(s) {
285
+ const { open: o, setOpen: t, children: i, ...e } = s, c = G(() => ({
286
286
  close: () => t(!1),
287
287
  Title: Ae,
288
288
  Description: W.Description
289
289
  }), [t]);
290
290
  return /* @__PURE__ */ v(W.Root, { open: o, onOpenChange: t, children: [
291
- /* @__PURE__ */ n(W.Content, { children: "content" in e ? e.content(c) : /* @__PURE__ */ n($t, { ...e }) }),
291
+ /* @__PURE__ */ n(W.Content, { children: "content" in e ? e.content(c) : /* @__PURE__ */ n(Dt, { ...e }) }),
292
292
  i
293
293
  ] });
294
294
  }), Ee = ge(() => {
295
295
  throw new Error("No AlertDialogProvider found");
296
- }), It = {
296
+ }), zt = {
297
297
  content: () => null
298
- }, jn = _(function({ children: s }) {
299
- const [o, t] = D(!1), [i, e] = D(It), c = w(
298
+ }, Wn = _(function({ children: s }) {
299
+ const [o, t] = D(!1), [i, e] = D(zt), c = w(
300
300
  (a) => {
301
301
  if (o)
302
302
  throw new Error("AlertDialog is already open");
@@ -304,9 +304,9 @@ const ut = {
304
304
  },
305
305
  [o]
306
306
  );
307
- return /* @__PURE__ */ n(zt, { open: o, setOpen: t, ...i, children: /* @__PURE__ */ n(Ee.Provider, { value: c, children: s }) });
308
- }), Ot = () => Ce(Ee), Gn = () => {
309
- const r = Ot();
307
+ return /* @__PURE__ */ n($t, { open: o, setOpen: t, ...i, children: /* @__PURE__ */ n(Ee.Provider, { value: c, children: s }) });
308
+ }), It = () => Ce(Ee), Gn = () => {
309
+ const r = It();
310
310
  return w(
311
311
  (s) => r({
312
312
  title: "Discard changes?",
@@ -318,21 +318,21 @@ const ut = {
318
318
  }),
319
319
  [r]
320
320
  );
321
- }, kt = _(function({
321
+ }, Ot = _(function({
322
322
  severity: s,
323
323
  itemContent: o,
324
324
  closeOnSelect: t = !0,
325
325
  onSelect: i,
326
326
  ...e
327
327
  }) {
328
- const c = R(s), a = w(
328
+ const c = b(s), a = w(
329
329
  (u) => {
330
330
  t || u.preventDefault(), i && i(u);
331
331
  },
332
332
  [t, i]
333
333
  );
334
334
  return /* @__PURE__ */ n(O.Item, { onSelect: a, color: c, ...e, children: o });
335
- }), Nt = _(function({
335
+ }), kt = _(function({
336
336
  defaultOpen: s,
337
337
  open: o,
338
338
  onOpenChange: t,
@@ -343,7 +343,7 @@ const ut = {
343
343
  children: u,
344
344
  ...l
345
345
  }) {
346
- const h = R(a);
346
+ const h = b(a);
347
347
  return /* @__PURE__ */ v(O.Root, { defaultOpen: s, open: o, onOpenChange: t, modal: i, children: [
348
348
  /* @__PURE__ */ n(O.Trigger, { children: e }),
349
349
  /* @__PURE__ */ v(O.Content, { color: h, ...l, children: [
@@ -351,7 +351,7 @@ const ut = {
351
351
  u
352
352
  ] })
353
353
  ] });
354
- }), At = _(function({
354
+ }), Nt = _(function({
355
355
  separatorBelow: s = !1,
356
356
  separatorAbove: o = !1,
357
357
  children: t,
@@ -362,7 +362,7 @@ const ut = {
362
362
  /* @__PURE__ */ n(O.Group, { ...i, children: t }),
363
363
  s && /* @__PURE__ */ n(O.Separator, {})
364
364
  ] });
365
- }), Et = _(function({
365
+ }), At = _(function({
366
366
  defaultOpen: s,
367
367
  open: o,
368
368
  onOpenChange: t,
@@ -375,10 +375,10 @@ const ut = {
375
375
  /* @__PURE__ */ n(O.SubContent, { ...c, children: e })
376
376
  ] });
377
377
  }), Hn = {
378
- Root: Nt,
379
- ItemGroup: At,
380
- Item: kt,
381
- SubMenu: Et
378
+ Root: kt,
379
+ ItemGroup: Nt,
380
+ Item: Ot,
381
+ SubMenu: At
382
382
  }, Vn = _(function({ children: s }) {
383
383
  const [o, t] = D(!1), i = w(() => {
384
384
  t(!0);
@@ -390,9 +390,9 @@ const ut = {
390
390
  onPointerEnter: i,
391
391
  onPointerLeave: e
392
392
  });
393
- }), Bt = "_fluid_7n1wr_1", Se = {
394
- fluid: Bt
395
- }, Lt = T(function({
393
+ }), Et = "_fluid_7n1wr_1", Se = {
394
+ fluid: Et
395
+ }, Bt = T(function({
396
396
  className: s,
397
397
  fluid: o,
398
398
  size: t = "medium",
@@ -406,7 +406,7 @@ const ut = {
406
406
  id: p,
407
407
  ...m
408
408
  }, f) {
409
- const d = B(t, F), g = R(e), C = R(c);
409
+ const d = B(t, F), g = b(e), C = b(c);
410
410
  return /* @__PURE__ */ $e(E.Root, { size: d, ...m, key: h === void 0 ? 1 : 0, value: h }, /* @__PURE__ */ n(
411
411
  E.Trigger,
412
412
  {
@@ -430,17 +430,17 @@ const ut = {
430
430
  children: l.map(({ itemContent: P, value: y, ...$ }) => /* @__PURE__ */ n(E.Item, { className: "overmap-select-item", value: y, ...$, children: P }, y))
431
431
  }
432
432
  ));
433
- }), Fn = q.memo(Lt), Pe = _(
433
+ }), jn = q.memo(Bt), Pe = _(
434
434
  T((r, s) => {
435
435
  const { checked: o, label: t, value: i, size: e = "2" } = r;
436
- return /* @__PURE__ */ n(M, { asChild: !0, px: e, children: /* @__PURE__ */ n(E.Item, { value: i, ref: s, children: /* @__PURE__ */ v(b, { gap: e, align: "center", children: [
437
- /* @__PURE__ */ n(Je, { checked: o }),
436
+ return /* @__PURE__ */ n(M, { asChild: !0, px: e, children: /* @__PURE__ */ n(E.Item, { value: i, ref: s, children: /* @__PURE__ */ v(R, { gap: e, align: "center", children: [
437
+ /* @__PURE__ */ n(Ye, { checked: o }),
438
438
  t
439
439
  ] }) }) });
440
440
  })
441
- ), ie = "__select_all__", Xn = _(
441
+ ), ie = "__select_all__", Fn = _(
442
442
  T((r, s) => {
443
- const [o, t] = D(!1), { placeholder: i, value: e, onValueChange: c, options: a, disabled: u, name: l, ...h } = r, p = B(r.size, F), m = R(r.severity), f = j(() => new Map(a.map((y) => [y.value, y.label])), [a]), d = e.length > 4 ? (
443
+ const [o, t] = D(!1), { placeholder: i, value: e, onValueChange: c, options: a, disabled: u, name: l, ...h } = r, p = B(r.size, F), m = b(r.severity), f = G(() => new Map(a.map((y) => [y.value, y.label])), [a]), d = e.length > 4 ? (
444
444
  // to ensure the width of the select doesn't get too big
445
445
  `${e.length} options selected`
446
446
  ) : (
@@ -514,11 +514,11 @@ const ut = {
514
514
  }
515
515
  );
516
516
  })
517
- ), Mt = {
517
+ ), Lt = {
518
518
  default: "_default_u936h_1"
519
- }, Wt = T(function({ className: s, severity: o = "primary", icon: t, defaultChecked: i = !1, onCheckedChange: e, ...c }, a) {
520
- const u = se(null), [l, h] = D(c.checked ? c.checked : i), [p, m] = D(), f = R(o);
521
- ot(() => {
519
+ }, Mt = T(function({ className: s, severity: o = "primary", icon: t, defaultChecked: i = !1, onCheckedChange: e, ...c }, a) {
520
+ const u = se(null), [l, h] = D(c.checked ? c.checked : i), [p, m] = D(), f = b(o);
521
+ nt(() => {
522
522
  var P;
523
523
  const C = a || u;
524
524
  "current" in C && C.current && m((P = C.current) == null ? void 0 : P.querySelector("span.rt-SwitchThumb"));
@@ -531,9 +531,9 @@ const ut = {
531
531
  ), g = c.checked ? c.checked : l;
532
532
  return /* @__PURE__ */ v(le, { children: [
533
533
  /* @__PURE__ */ n(
534
- Ze,
534
+ Je,
535
535
  {
536
- className: x("overmap-switch", s, Mt.default),
536
+ className: x("overmap-switch", s, Lt.default),
537
537
  ref: a || u,
538
538
  color: f,
539
539
  radius: "full",
@@ -542,15 +542,15 @@ const ut = {
542
542
  ...c
543
543
  }
544
544
  ),
545
- /* @__PURE__ */ n(et, { container: p, asChild: !0, children: t && "checked" in t ? g ? t.checked : t.unchecked : t })
545
+ /* @__PURE__ */ n(Ze, { container: p, asChild: !0, children: t && "checked" in t ? g ? t.checked : t.unchecked : t })
546
546
  ] });
547
- }), Un = _(Wt), jt = "_sidebarContent_1onyo_1", Gt = "_right_1onyo_7", Ht = "_resizeHandle_1onyo_10", Vt = "_left_1onyo_13", Ft = "_overlay_1onyo_33", G = {
548
- sidebarContent: jt,
547
+ }), Xn = _(Mt), Wt = "_sidebarContent_1onyo_1", Gt = "_right_1onyo_7", Ht = "_resizeHandle_1onyo_10", Vt = "_left_1onyo_13", jt = "_overlay_1onyo_33", H = {
548
+ sidebarContent: Wt,
549
549
  right: Gt,
550
550
  resizeHandle: Ht,
551
551
  left: Vt,
552
- overlay: Ft
553
- }, Xt = T(function({
552
+ overlay: jt
553
+ }, Ft = T(function({
554
554
  side: s = "left",
555
555
  modal: o = !0,
556
556
  children: t,
@@ -570,13 +570,13 @@ const ut = {
570
570
  throw new Error(`Could not find a container element using the following selector ${C}`);
571
571
  g(P);
572
572
  }, [e]), /* @__PURE__ */ n(re.Root, { open: i, modal: o, children: /* @__PURE__ */ v(re.Portal, { container: d, children: [
573
- c && /* @__PURE__ */ n(re.Overlay, { className: x(G.overlay) }),
573
+ c && /* @__PURE__ */ n(re.Overlay, { className: x(H.overlay) }),
574
574
  /* @__PURE__ */ n(
575
575
  re.Content,
576
576
  {
577
- className: x("overmap-sidebar", "rt-DialogContent", G.sidebarContent, {
578
- [G.left]: f,
579
- [G.right]: m
577
+ className: x("overmap-sidebar", "rt-DialogContent", H.sidebarContent, {
578
+ [H.left]: f,
579
+ [H.right]: m
580
580
  }),
581
581
  ref: p,
582
582
  asChild: !0,
@@ -588,7 +588,7 @@ const ut = {
588
588
  maxWidth: l,
589
589
  defaultSize: { width: "300px", height: "100%" },
590
590
  enable: { right: a && f, left: a && m },
591
- handleClasses: { left: G.resizeHandle, right: G.resizeHandle },
591
+ handleClasses: { left: H.resizeHandle, right: H.resizeHandle },
592
592
  handleComponent: {
593
593
  right: /* @__PURE__ */ n(ae, {}),
594
594
  left: /* @__PURE__ */ n(ae, {})
@@ -599,14 +599,14 @@ const ut = {
599
599
  }
600
600
  )
601
601
  ] }) });
602
- }), qn = _(Xt), Ut = "_accommodateCharCount_sr18k_1", qt = "_wrapper_sr18k_5", Kt = "_noLeftIcon_sr18k_13", Qt = "_noRightIcon_sr18k_17", Yt = "_charCount_sr18k_21", H = {
603
- accommodateCharCount: Ut,
604
- wrapper: qt,
602
+ }), Un = _(Ft), Xt = "_accommodateCharCount_sr18k_1", Ut = "_wrapper_sr18k_5", qt = "_noLeftIcon_sr18k_13", Kt = "_noRightIcon_sr18k_17", Qt = "_charCount_sr18k_21", V = {
603
+ accommodateCharCount: Xt,
604
+ wrapper: Ut,
605
605
  default: "_default_sr18k_9",
606
- noLeftIcon: Kt,
607
- noRightIcon: Qt,
608
- charCount: Yt
609
- }, Jt = T(function({
606
+ noLeftIcon: qt,
607
+ noRightIcon: Kt,
608
+ charCount: Qt
609
+ }, Yt = T(function({
610
610
  className: s,
611
611
  leftSlot: o,
612
612
  rightSlot: t,
@@ -617,12 +617,12 @@ const ut = {
617
617
  severity: u = "primary",
618
618
  ...l
619
619
  }, h) {
620
- const p = B(i, F), m = R(u), f = e || e === void 0 && l.maxLength !== void 0, d = c !== void 0 ? c.toString() : void 0;
620
+ const p = B(i, F), m = b(u), f = e || e === void 0 && l.maxLength !== void 0, d = c !== void 0 ? c.toString() : void 0;
621
621
  return /* @__PURE__ */ v(
622
622
  te.Root,
623
623
  {
624
- className: x(H.wrapper, {
625
- [H.accommodateCharCount]: f
624
+ className: x(V.wrapper, {
625
+ [V.accommodateCharCount]: f
626
626
  }),
627
627
  size: p,
628
628
  variant: a,
@@ -632,9 +632,9 @@ const ut = {
632
632
  /* @__PURE__ */ n(
633
633
  te.Input,
634
634
  {
635
- className: x(H.default, s, {
636
- [H.noLeftIcon]: !o,
637
- [H.noRightIcon]: !t
635
+ className: x(V.default, s, {
636
+ [V.noLeftIcon]: !o,
637
+ [V.noRightIcon]: !t
638
638
  }),
639
639
  ref: h,
640
640
  size: p,
@@ -644,41 +644,41 @@ const ut = {
644
644
  }
645
645
  ),
646
646
  t && /* @__PURE__ */ n(te.Slot, { children: t }),
647
- f && /* @__PURE__ */ n(ce, { as: "p", className: H.charCount, size: "1", color: "gray", children: l.maxLength !== void 0 ? `${d == null ? void 0 : d.length}/${l.maxLength}` : `${d == null ? void 0 : d.length}` })
647
+ f && /* @__PURE__ */ n(ce, { as: "p", className: V.charCount, size: "1", color: "gray", children: l.maxLength !== void 0 ? `${d == null ? void 0 : d.length}/${l.maxLength}` : `${d == null ? void 0 : d.length}` })
648
648
  ]
649
649
  }
650
650
  );
651
- }), Kn = q.memo(Jt), Zt = "_wrapper_tmtz0_1", en = {
652
- wrapper: Zt
653
- }, tn = T(function({ className: s, defaultOpen: o = !1, modal: t = !1, content: i, children: e, ...c }, a) {
651
+ }), qn = q.memo(Yt), Jt = "_wrapper_tmtz0_1", Zt = {
652
+ wrapper: Jt
653
+ }, en = T(function({ className: s, defaultOpen: o = !1, modal: t = !1, content: i, children: e, ...c }, a) {
654
654
  return /* @__PURE__ */ v(ne.Root, { defaultOpen: o, modal: t, children: [
655
655
  /* @__PURE__ */ n(ne.Trigger, { children: e }),
656
656
  /* @__PURE__ */ n(
657
657
  ne.Content,
658
658
  {
659
659
  ref: a,
660
- className: x("overmap-popover", s, en.wrapper),
660
+ className: x("overmap-popover", s, Zt.wrapper),
661
661
  ...c,
662
662
  children: i(ne.Close)
663
663
  }
664
664
  )
665
665
  ] });
666
- }), Qn = q.memo(tn), nn = "_wrapper_1mz2e_1", on = "_panelContent_1mz2e_6", rn = "_left_1mz2e_14", sn = "_right_1mz2e_18", an = "_resizable_1mz2e_23", cn = "_resizeHandle_1mz2e_28", ln = "_panelMainContent_1mz2e_48", I = {
667
- wrapper: nn,
668
- panelContent: on,
669
- left: rn,
670
- right: sn,
671
- resizable: an,
672
- resizeHandle: cn,
673
- panelMainContent: ln
674
- }, Re = 200, A = 150, Yn = _(function({
666
+ }), Kn = q.memo(en), tn = "_wrapper_1mz2e_1", nn = "_panelContent_1mz2e_6", on = "_left_1mz2e_14", rn = "_right_1mz2e_18", sn = "_resizable_1mz2e_23", an = "_resizeHandle_1mz2e_28", cn = "_panelMainContent_1mz2e_48", I = {
667
+ wrapper: tn,
668
+ panelContent: nn,
669
+ left: on,
670
+ right: rn,
671
+ resizable: sn,
672
+ resizeHandle: an,
673
+ panelMainContent: cn
674
+ }, be = 200, A = 150, Qn = _(function({
675
675
  children: s,
676
676
  showLeft: o,
677
677
  leftPanel: t,
678
- leftMinWidth: i = Re,
678
+ leftMinWidth: i = be,
679
679
  showRight: e,
680
680
  rightPanel: c,
681
- rightMinWidth: a = Re,
681
+ rightMinWidth: a = be,
682
682
  resizeable: u
683
683
  }) {
684
684
  const l = se(null), h = se(null), [p, m] = D(0), [f, d] = D(), g = se(null), [C, P] = D(0), [y, $] = D(), L = w(
@@ -735,10 +735,10 @@ const ut = {
735
735
  l.current && S && z(l.current.clientWidth);
736
736
  },
737
737
  []
738
- ), je = w(
738
+ ), Ge = w(
739
739
  () => Q(o, d),
740
740
  [Q, o]
741
- ), Ge = w(
741
+ ), He = w(
742
742
  () => Q(e, $),
743
743
  [Q, e]
744
744
  ), _e = w(() => {
@@ -753,7 +753,7 @@ const ut = {
753
753
  S.disconnect();
754
754
  };
755
755
  }, [_e]);
756
- const He = j(() => ({
756
+ const Ve = G(() => ({
757
757
  entering: {
758
758
  transform: `translateX(-${p}px)`,
759
759
  marginRight: `-${p}px`,
@@ -777,7 +777,7 @@ const ut = {
777
777
  },
778
778
  exited: {},
779
779
  unmounted: {}
780
- }), [p]), Ve = j(() => ({
780
+ }), [p]), je = G(() => ({
781
781
  entering: {
782
782
  transform: `translateX(${C}px)`,
783
783
  marginLeft: `${-C}px`,
@@ -803,7 +803,7 @@ const ut = {
803
803
  unmounted: {}
804
804
  }), [C]);
805
805
  return /* @__PURE__ */ v(
806
- b,
806
+ R,
807
807
  {
808
808
  className: I.wrapper,
809
809
  style: { minWidth: `${i + a}px` },
@@ -822,13 +822,13 @@ const ut = {
822
822
  in: o,
823
823
  unmountOnExit: !0,
824
824
  onEntering: We,
825
- onExited: Ge,
825
+ onExited: He,
826
826
  children: (S) => /* @__PURE__ */ n(
827
827
  M,
828
828
  {
829
829
  ref: h,
830
830
  className: x(I.panelContent, I.left),
831
- style: He[S],
831
+ style: Ve[S],
832
832
  width: "auto",
833
833
  height: "100%",
834
834
  m: "0",
@@ -865,13 +865,13 @@ const ut = {
865
865
  in: e,
866
866
  unmountOnExit: !0,
867
867
  onEntering: Me,
868
- onExited: je,
868
+ onExited: Ge,
869
869
  children: (S) => /* @__PURE__ */ n(
870
870
  M,
871
871
  {
872
872
  ref: g,
873
873
  className: x(I.panelContent, I.right),
874
- style: Ve[S],
874
+ style: je[S],
875
875
  width: "auto",
876
876
  height: "100%",
877
877
  m: "0",
@@ -897,10 +897,10 @@ const ut = {
897
897
  ]
898
898
  }
899
899
  );
900
- }), un = "_charCount_17uut_1", dn = {
901
- charCount: un
902
- }, hn = T(function({ className: s, showInputLength: o, inputLengthTemplate: t, value: i, severity: e = "primary", resize: c, ...a }, u) {
903
- const l = R(e), h = R("info"), p = o || o === void 0 && (a.maxLength !== void 0 || a.minLength !== void 0), m = i !== void 0 ? i.toString() : "", f = j(() => {
900
+ }), ln = "_charCount_17uut_1", un = {
901
+ charCount: ln
902
+ }, dn = T(function({ className: s, showInputLength: o, inputLengthTemplate: t, value: i, severity: e = "primary", resize: c, ...a }, u) {
903
+ const l = b(e), h = b("info"), p = o || o === void 0 && (a.maxLength !== void 0 || a.minLength !== void 0), m = i !== void 0 ? i.toString() : "", f = G(() => {
904
904
  if (t) {
905
905
  let d = t.replace("{current}", m.length.toString());
906
906
  return a.minLength !== void 0 && (d = d.replace("{min}", a.minLength.toString())), a.maxLength !== void 0 && (d = d.replace("{max}", a.maxLength.toString())), d;
@@ -909,7 +909,7 @@ const ut = {
909
909
  }, [t, a.maxLength, a.minLength, m.length]);
910
910
  return /* @__PURE__ */ v(le, { children: [
911
911
  /* @__PURE__ */ n(
912
- tt,
912
+ et,
913
913
  {
914
914
  className: x("overmap-textarea", s),
915
915
  style: { resize: c },
@@ -919,9 +919,9 @@ const ut = {
919
919
  ...a
920
920
  }
921
921
  ),
922
- p && /* @__PURE__ */ n(ce, { as: "p", className: dn.charCount, color: h, align: "right", children: f })
922
+ p && /* @__PURE__ */ n(ce, { as: "p", className: un.charCount, color: h, align: "right", children: f })
923
923
  ] });
924
- }), Jn = _(hn), pn = T(function({
924
+ }), Yn = _(dn), hn = T(function({
925
925
  // ToggleGroup Primitive Props
926
926
  loop: s,
927
927
  type: o,
@@ -937,7 +937,7 @@ const ut = {
937
937
  ...p
938
938
  }, m) {
939
939
  return /* @__PURE__ */ n(
940
- rt,
940
+ ot,
941
941
  {
942
942
  type: o,
943
943
  className: x("overmap-toggle-group", l),
@@ -950,7 +950,7 @@ const ut = {
950
950
  rovingFocus: t,
951
951
  defaultValue: c,
952
952
  asChild: !0,
953
- children: /* @__PURE__ */ n(Ne, { direction: h, ...p, children: u.map(({ children: f, ...d }) => /* @__PURE__ */ $e(it, { asChild: !0, ...d, key: d.value }, /* @__PURE__ */ n(
953
+ children: /* @__PURE__ */ n(Ne, { direction: h, ...p, children: u.map(({ children: f, ...d }) => /* @__PURE__ */ $e(rt, { asChild: !0, ...d, key: d.value }, /* @__PURE__ */ n(
954
954
  ke,
955
955
  {
956
956
  className: x("overmap-toggle-group-button"),
@@ -961,45 +961,45 @@ const ut = {
961
961
  ))) })
962
962
  }
963
963
  );
964
- }), Zn = _(pn), mn = "_ToastViewport_1joop_1", fn = "_actionButton_1joop_20", gn = "_ToastRoot_1joop_24", Cn = "_slideIn_1joop_1", vn = "_swipeOut_1joop_1", fe = {
965
- ToastViewport: mn,
966
- actionButton: fn,
967
- ToastRoot: gn,
968
- slideIn: Cn,
969
- swipeOut: vn
970
- }, _n = T(function({ title: s, description: o, icon: t, severity: i = "primary", size: e, onClose: c, sensitivity: a, action: u, ...l }, h) {
971
- const [p, m] = D(!0), f = R(i), d = w(
964
+ }), Jn = _(hn), pn = "_ToastViewport_1i6bp_1", mn = "_actionButton_1i6bp_20", fn = "_ToastRoot_1i6bp_24", gn = "_slideIn_1i6bp_1", Cn = "_swipeOut_1i6bp_1", fe = {
965
+ ToastViewport: pn,
966
+ actionButton: mn,
967
+ ToastRoot: fn,
968
+ slideIn: gn,
969
+ swipeOut: Cn
970
+ }, vn = T(function({ title: s, description: o, icon: t, severity: i = "primary", size: e, onClose: c, sensitivity: a, action: u, ...l }, h) {
971
+ const [p, m] = D(!0), f = b(i), d = w(
972
972
  (g) => {
973
973
  !g && c && c(), m(g);
974
974
  },
975
975
  [c]
976
976
  );
977
- return /* @__PURE__ */ n(X.Root, { asChild: !0, ref: h, ...l, open: p, type: a, onOpenChange: d, children: /* @__PURE__ */ n(oe.Root, { className: fe.ToastRoot, variant: "surface", color: f, size: e, children: /* @__PURE__ */ v(b, { width: "100%", align: "center", gap: "4", justify: "between", children: [
978
- /* @__PURE__ */ v(b, { align: "center", gap: "3", children: [
979
- /* @__PURE__ */ n(oe.Icon, { children: t || /* @__PURE__ */ n(Xe, {}) }),
980
- /* @__PURE__ */ v(b, { direction: "column", gap: "1", children: [
981
- /* @__PURE__ */ v(b, { direction: "column", gap: "0", children: [
982
- /* @__PURE__ */ n(X.Title, { asChild: !0, children: /* @__PURE__ */ n(oe.Text, { weight: "medium", children: s }) }),
983
- /* @__PURE__ */ n(X.Description, { asChild: !0, children: /* @__PURE__ */ n(oe.Text, { weight: "light", children: o }) })
977
+ return /* @__PURE__ */ n(X.Root, { asChild: !0, ref: h, ...l, open: p, type: a, onOpenChange: d, children: /* @__PURE__ */ n(oe.Root, { className: fe.ToastRoot, variant: "surface", color: f, size: e, children: /* @__PURE__ */ v(R, { width: "100%", align: "center", gap: "4", justify: "between", children: [
978
+ /* @__PURE__ */ v(R, { align: "center", gap: "3", children: [
979
+ /* @__PURE__ */ n(oe.Icon, { children: t }),
980
+ /* @__PURE__ */ v(R, { direction: "column", gap: "2", children: [
981
+ /* @__PURE__ */ v(R, { direction: "column", gap: "0", children: [
982
+ /* @__PURE__ */ n(X.Title, { asChild: !0, children: /* @__PURE__ */ n(oe.Text, { size: "3", weight: "medium", children: s }) }),
983
+ /* @__PURE__ */ n(X.Description, { asChild: !0, children: /* @__PURE__ */ n(oe.Text, { children: o }) })
984
984
  ] }),
985
985
  u && /* @__PURE__ */ n(X.Action, { className: fe.actionButton, altText: u.altText, asChild: !0, children: u.content })
986
986
  ] })
987
987
  ] }),
988
- /* @__PURE__ */ n(X.Close, { asChild: !0, children: /* @__PURE__ */ n(ke, { "aria-label": "Close", variant: "ghost", size: "small", severity: i, children: /* @__PURE__ */ n(Ue, {}) }) })
988
+ /* @__PURE__ */ n(X.Close, { asChild: !0, children: /* @__PURE__ */ n(ke, { "aria-label": "Close", variant: "ghost", severity: i, children: /* @__PURE__ */ n(Xe, {}) }) })
989
989
  ] }) }) });
990
- }), yn = _(_n), Be = ge({}), eo = () => {
990
+ }), _n = _(vn), Be = ge({}), Zn = () => {
991
991
  const r = Ce(Be);
992
992
  if (!r)
993
993
  throw new Error("useToast must be used within a ToastProvider");
994
994
  return r;
995
- }, wn = 240 / 60, be = 5e3, xn = (r) => {
996
- if (r.duration && r.duration >= be)
995
+ }, yn = 240 / 60, Re = 5e3, wn = (r) => {
996
+ if (r.duration && r.duration >= Re)
997
997
  return r.duration;
998
998
  const s = r.severity === "danger" ? 1.5 : 1, o = r.description.split(" ").length + r.title.split(" ").length;
999
- return (be + o / wn) * s;
999
+ return (Re + o / yn) * s;
1000
1000
  };
1001
- let Tn;
1002
- const to = _(function({
1001
+ let xn;
1002
+ const eo = _(function({
1003
1003
  children: s,
1004
1004
  // Use this class to change where the viewport for the toasts should be
1005
1005
  className: o,
@@ -1011,15 +1011,15 @@ const to = _(function({
1011
1011
  const f = m.find((d) => d.id === l);
1012
1012
  return f && h === 0 && clearTimeout(f.timeout), m.filter((d) => d.id !== l);
1013
1013
  }), p && p();
1014
- }, []), u = j(() => {
1014
+ }, []), u = G(() => {
1015
1015
  let l = 0;
1016
1016
  const h = (g) => {
1017
- const C = xn(g), P = l.toString();
1017
+ const C = wn(g), P = l.toString();
1018
1018
  l += 1;
1019
1019
  const y = setTimeout(() => a(P, 1, g.onClose), C);
1020
1020
  c(($) => [...$, { ...g, timeout: y, duration: C, id: P }]);
1021
1021
  }, p = (g) => h({ ...g, severity: "primary" }), m = (g) => h({ ...g, severity: "success" }), f = (g) => h({ ...g, severity: "danger" }), d = (g) => h({ ...g, severity: "info" });
1022
- return Tn = h, {
1022
+ return xn = h, {
1023
1023
  showToast: h,
1024
1024
  showPrimary: p,
1025
1025
  showSuccess: m,
@@ -1030,42 +1030,42 @@ const to = _(function({
1030
1030
  return ue(() => () => {
1031
1031
  for (const { timeout: l } of e)
1032
1032
  clearTimeout(l);
1033
- }, []), /* @__PURE__ */ n(Be.Provider, { value: u, children: /* @__PURE__ */ v(st, { ...i, children: [
1033
+ }, []), /* @__PURE__ */ n(Be.Provider, { value: u, children: /* @__PURE__ */ v(it, { ...i, children: [
1034
1034
  s,
1035
- /* @__PURE__ */ n(at, { className: x(o, fe.ToastViewport), hotkey: t }),
1036
- e.map(({ id: l, onClose: h, ...p }) => /* @__PURE__ */ n(yn, { ...p, onClose: () => a(l, 0, h) }, l))
1035
+ /* @__PURE__ */ n(st, { className: x(o, fe.ToastViewport), hotkey: t }),
1036
+ e.map(({ id: l, onClose: h, ...p }) => /* @__PURE__ */ n(_n, { ...p, onClose: () => a(l, 0, h) }, l))
1037
1037
  ] }) });
1038
- }), Sn = "_noWrap_1wpa5_1", Pn = {
1039
- noWrap: Sn
1040
- }, no = _(
1038
+ }), Tn = "_noWrap_1wpa5_1", Sn = {
1039
+ noWrap: Tn
1040
+ }, to = _(
1041
1041
  T(({ className: r, noWrap: s, severity: o, as: t, ...i }, e) => {
1042
- const c = R(o);
1042
+ const c = b(o);
1043
1043
  return /* @__PURE__ */ n(
1044
1044
  ce,
1045
1045
  {
1046
1046
  ref: e,
1047
1047
  as: t,
1048
- className: x(r, { [Pn.noWrap]: s }),
1048
+ className: x(r, { [Sn.noWrap]: s }),
1049
1049
  color: c,
1050
1050
  ...i
1051
1051
  }
1052
1052
  );
1053
1053
  })
1054
1054
  );
1055
- const oo = _(
1055
+ const no = _(
1056
1056
  T((r, s) => {
1057
1057
  const { panelBackground: o = "solid", radius: t = "full", ...i } = r;
1058
- return /* @__PURE__ */ n(nt, { panelBackground: o, radius: t, ref: s, ...i });
1058
+ return /* @__PURE__ */ n(tt, { panelBackground: o, radius: t, ref: s, ...i });
1059
1059
  })
1060
- ), Rn = {
1060
+ ), Pn = {
1061
1061
  1: "max-content",
1062
1062
  2: "max-content",
1063
1063
  3: "max-content",
1064
1064
  4: "100%"
1065
1065
  }, bn = T(function({ severity: s = "info", weight: o = "light", gap: t = "1", text: i, orientation: e = "horizontal", size: c, ...a }, u) {
1066
- const l = B(c, Rn), h = R(s);
1066
+ const l = B(c, Pn), h = b(s);
1067
1067
  return /* @__PURE__ */ v(
1068
- b,
1068
+ R,
1069
1069
  {
1070
1070
  ref: u,
1071
1071
  width: e === "horizontal" ? l : "max-content",
@@ -1082,74 +1082,74 @@ const oo = _(
1082
1082
  ]
1083
1083
  }
1084
1084
  );
1085
- }), ro = _(bn);
1085
+ }), oo = _(bn);
1086
1086
  export {
1087
- lo as AccessibleIcon,
1088
- zt as AlertDialog,
1087
+ co as AccessibleIcon,
1088
+ $t as AlertDialog,
1089
1089
  Ee as AlertDialogContent,
1090
- jn as AlertDialogProvider,
1091
- uo as AspectRatio,
1092
- ho as Avatar,
1093
- Bn as Badge,
1094
- po as Blockquote,
1095
- mo as Box,
1090
+ Wn as AlertDialogProvider,
1091
+ lo as AspectRatio,
1092
+ uo as Avatar,
1093
+ En as Badge,
1094
+ ho as Blockquote,
1095
+ po as Box,
1096
1096
  me as Button,
1097
1097
  Ne as ButtonGroup,
1098
- Mn as ButtonList,
1099
- fo as Callout,
1100
- go as Card,
1101
- Co as Checkbox,
1102
- vo as Code,
1103
- _o as Container,
1104
- yo as ContextMenu,
1105
- oo as DefaultTheme,
1106
- Wn as Dialog,
1098
+ Ln as ButtonList,
1099
+ mo as Callout,
1100
+ fo as Card,
1101
+ go as Checkbox,
1102
+ Co as Code,
1103
+ vo as Container,
1104
+ _o as ContextMenu,
1105
+ no as DefaultTheme,
1106
+ Mn as Dialog,
1107
1107
  Hn as DropdownMenu,
1108
- wo as Em,
1109
- xo as Flex,
1110
- To as Grid,
1111
- So as Heading,
1112
- Po as HoverCard,
1108
+ yo as Em,
1109
+ wo as Flex,
1110
+ xo as Grid,
1111
+ To as Heading,
1112
+ So as HoverCard,
1113
1113
  Vn as HoverUtility,
1114
1114
  ke as IconButton,
1115
- Kn as Input,
1116
- Ro as Inset,
1115
+ qn as Input,
1116
+ Po as Inset,
1117
1117
  bo as Kbd,
1118
- Yn as LeftAndRightPanels,
1119
- Do as Link,
1120
- Xn as MultiSelect,
1121
- Qn as Popover,
1122
- $o as Portal,
1123
- zo as Quote,
1124
- Io as RadioGroup,
1125
- Oo as ScrollArea,
1126
- ko as Section,
1127
- Fn as Select,
1128
- ro as Separator,
1129
- qn as Sidebar,
1130
- No as Slider,
1131
- Ao as Slot,
1132
- Eo as Strong,
1133
- Un as Switch,
1134
- Bo as Table,
1135
- Lo as Tabs,
1136
- no as Text,
1137
- Jn as TextArea,
1138
- Mo as TextField,
1139
- Wo as Theme,
1140
- yn as Toast,
1118
+ Qn as LeftAndRightPanels,
1119
+ Ro as Link,
1120
+ Fn as MultiSelect,
1121
+ Kn as Popover,
1122
+ Do as Portal,
1123
+ $o as Quote,
1124
+ zo as RadioGroup,
1125
+ Io as ScrollArea,
1126
+ Oo as Section,
1127
+ jn as Select,
1128
+ oo as Separator,
1129
+ Un as Sidebar,
1130
+ ko as Slider,
1131
+ No as Slot,
1132
+ Ao as Strong,
1133
+ Xn as Switch,
1134
+ Eo as Table,
1135
+ Bo as Tabs,
1136
+ to as Text,
1137
+ Yn as TextArea,
1138
+ Lo as TextField,
1139
+ Mo as Theme,
1140
+ _n as Toast,
1141
1141
  Be as ToastContext,
1142
- to as ToastProvider,
1143
- Zn as ToggleGroup,
1144
- jo as Tooltip,
1142
+ eo as ToastProvider,
1143
+ Jn as ToggleGroup,
1144
+ Wo as Tooltip,
1145
1145
  Go as VisuallyHidden,
1146
- Ln as divButtonProps,
1147
- Tn as unsafeShowToast,
1146
+ Bn as divButtonProps,
1147
+ xn as unsafeShowToast,
1148
1148
  Ho as updateThemeAppearanceClass,
1149
- Ot as useAlertDialog,
1149
+ It as useAlertDialog,
1150
1150
  Gn as useDiscardAlertDialog,
1151
- R as useSeverityColor,
1151
+ b as useSeverityColor,
1152
1152
  Vo as useThemeContext,
1153
- eo as useToast
1153
+ Zn as useToast
1154
1154
  };
1155
1155
  //# sourceMappingURL=blocks.js.map