@janbox/storefront-builder 2.0.23 → 2.0.24

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/editor.js CHANGED
@@ -1,22 +1,22 @@
1
1
  import { jsx as n, jsxs as w, Fragment as Fe } from "@emotion/react/jsx-runtime";
2
- import { at as ft, au as bt, av as wt, aw as b, ax as kt, ay as ce, az as $, aA as fe, b as Te, B as Ie, a1 as mt, aB as J, aC as Oe, aD as Ct, aE as W, aF as I, as as He, ar as vt, aG as xt, aH as yt, aI as Tt, aJ as It, aK as Mt, aL as St, aM as Et, aN as $e, aO as Lt, aP as Wt, aQ as Nt, aR as Rt, aS as At, u as H, aT as Dt, aU as Bt, aV as oe, m as Pt, i as jt, G as Vt, l as Me, o as Ft, F as Se, s as Ot, V as Ht, I as $t, aW as _t, q as Gt, P as zt, aX as _e, aY as Ut, aZ as Zt, a_ as Yt, a$ as Xt, b0 as qt, b1 as _, b2 as Ge, b3 as Jt, b4 as Kt, b5 as ze, b6 as Qt, b7 as en, b8 as tn, a0 as Ue, Z as Ze, b9 as Ee, ba as nn, N as ke, bb as rn, bc as on, bd as sn, $ as an, be as Le, bf as cn } from "./toaster-DMjFxzB_.js";
3
- import { bg as So, bh as Eo, bi as Lo, bj as Wo, bk as No, bl as Ro, bm as Ao, bn as Do, bo as Bo, bp as Po, bq as jo, br as Vo, bs as Fo, bt as Oo, bu as Ho, bv as $o, bw as _o, bx as Go, by as zo, bz as Uo, bA as Zo, bB as Yo, bC as Xo, bD as qo, bE as Jo, bF as Ko, bG as Qo, bH as es, bI as ts, bJ as ns, bK as rs, bL as os, bM as ss, bN as is, bO as as, bP as cs, bQ as ls, bR as ds, bS as hs, bT as us, bU as ps, bV as gs, bW as fs, bX as bs, bY as ws, bZ as ks, b_ as ms, b$ as Cs, c0 as vs, c1 as xs, c2 as ys, c3 as Ts, W as Is, c4 as Ms, c5 as Ss, c6 as Es, c7 as Ls, c8 as Ws } from "./toaster-DMjFxzB_.js";
4
- import { throttle as ln, isFunction as We, isNumber as se, isNil as ee, isEqual as dn } from "lodash-es";
5
- import { useImperativeHandle as hn, useMemo as un, isValidElement as pn, useState as P, useRef as z, useEffect as V, Fragment as ie, Suspense as gn, createElement as Ye, useCallback as fn } from "react";
2
+ import { at as gt, au as ft, av as bt, aw as f, ax as wt, ay as ce, az as $, aA as fe, b as Te, B as Ie, a1 as kt, aB as J, aC as Oe, aD as mt, aE as W, aF as I, as as He, ar as Ct, aG as vt, aH as xt, aI as yt, aJ as Tt, aK as It, aL as Mt, aM as St, aN as $e, aO as Et, aP as Lt, aQ as Wt, aR as Nt, aS as Rt, u as H, aT as At, aU as Dt, aV as oe, m as Bt, i as Pt, G as jt, l as Me, o as Vt, F as Se, s as Ft, V as Ot, I as Ht, aW as $t, q as _t, P as zt, aX as _e, aY as Gt, aZ as Ut, a_ as Zt, a$ as Yt, b0 as Xt, b1 as _, b2 as ze, b3 as qt, b4 as Jt, b5 as Ge, b6 as Kt, b7 as Qt, b8 as en, a0 as Ue, Z as Ze, b9 as Ee, ba as tn, N as ke, bb as nn, bc as rn, bd as on, $ as sn, be as Le, bf as an } from "./toaster-DMjFxzB_.js";
3
+ import { bg as So, bh as Eo, bi as Lo, bj as Wo, bk as No, bl as Ro, bm as Ao, bn as Do, bo as Bo, bp as Po, bq as jo, br as Vo, bs as Fo, bt as Oo, bu as Ho, bv as $o, bw as _o, bx as zo, by as Go, bz as Uo, bA as Zo, bB as Yo, bC as Xo, bD as qo, bE as Jo, bF as Ko, bG as Qo, bH as es, bI as ts, bJ as ns, bK as rs, bL as os, bM as ss, bN as is, bO as as, bP as cs, bQ as ls, bR as ds, bS as hs, bT as us, bU as ps, bV as gs, bW as fs, bX as bs, bY as ws, bZ as ks, b_ as ms, b$ as Cs, c0 as vs, c1 as xs, c2 as ys, c3 as Ts, W as Is, c4 as Ms, c5 as Ss, c6 as Es, c7 as Ls, c8 as Ws } from "./toaster-DMjFxzB_.js";
4
+ import { throttle as cn, isFunction as We, isNumber as se, isNil as ee, isEqual as ln } from "lodash-es";
5
+ import { useImperativeHandle as dn, useMemo as hn, isValidElement as un, useState as P, useRef as G, useEffect as V, Fragment as ie, Suspense as pn, createElement as Ye, useCallback as gn } from "react";
6
6
  import "flat";
7
- import { FLOATING_Z_INDEX as Xe, ThemeProvider as bn, breakpoint as wn, createTheme as Ne } from "@janbox/storefront-ui/theme";
7
+ import { FLOATING_Z_INDEX as Xe, ThemeProvider as fn, breakpoint as bn, createTheme as Ne } from "@janbox/storefront-ui/theme";
8
8
  import "@janbox/storefront-ui/hooks";
9
- import { CacheProvider as kn, Global as mn, createElement as Cn } from "@emotion/react";
10
- import { useFloatingParentNodeId as vn, FloatingTree as xn, useFloating as le, autoUpdate as de, offset as qe, size as Je, flip as me, useClick as yn, useHover as Ke, useFocus as Qe, useDismiss as et, useRole as tt, useInteractions as nt, safePolygon as Tn, FloatingPortal as he } from "@floating-ui/react";
9
+ import { CacheProvider as wn, Global as kn, createElement as mn } from "@emotion/react";
10
+ import { useFloatingParentNodeId as Cn, FloatingTree as vn, useFloating as le, autoUpdate as de, offset as qe, size as Je, flip as me, useClick as xn, useHover as Ke, useFocus as Qe, useDismiss as et, useRole as tt, useInteractions as nt, safePolygon as yn, FloatingPortal as he } from "@floating-ui/react";
11
11
  import "react-colorful";
12
12
  import "overlayscrollbars-react";
13
13
  import "@tanstack/react-virtual";
14
- import In, { useFrame as Ce } from "react-frame-component";
14
+ import Tn, { useFrame as Ce } from "react-frame-component";
15
15
  import "react-dropzone";
16
16
  import "react-datepicker";
17
- import { a as rt, C as ot } from "./index-BBoR6Gy_.js";
17
+ import { a as rt, C as In } from "./index-BBoR6Gy_.js";
18
18
  import "@janbox/storefront-ui/utils";
19
- import { useToggle as st } from "usehooks-ts";
19
+ import { useToggle as ot } from "usehooks-ts";
20
20
  import "@hello-pangea/dnd";
21
21
  import "@janbox/storefront-ui";
22
22
  class Mn {
@@ -54,9 +54,9 @@ class Mn {
54
54
  }
55
55
  const Sn = () => new Mn();
56
56
  function En() {
57
- return ft(Sn);
57
+ return gt(Sn);
58
58
  }
59
- const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn, { children: /* @__PURE__ */ n(Re, { ...e }) }), Re = ({
59
+ const Ln = (e) => Cn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(vn, { children: /* @__PURE__ */ n(Re, { ...e }) }), Re = ({
60
60
  open: e,
61
61
  placement: t = "bottom",
62
62
  onOpenChange: o,
@@ -75,27 +75,27 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
75
75
  },
76
76
  elements: d,
77
77
  offsetOptions: k = 4,
78
- sizeOptions: u,
79
- autoUpdateOptions: p,
78
+ sizeOptions: h,
79
+ autoUpdateOptions: u,
80
80
  ref: c
81
81
  }) => {
82
- const g = le({
82
+ const p = le({
83
83
  open: e,
84
84
  onOpenChange: o,
85
85
  placement: t,
86
- middleware: [qe(k), Je(u), me()],
87
- whileElementsMounted: (...A) => de(...A, p),
86
+ middleware: [qe(k), Je(h), me()],
87
+ whileElementsMounted: (...A) => de(...A, u),
88
88
  elements: d
89
89
  });
90
- hn(c, () => g, [g]);
91
- const { context: f } = g, h = yn(f, s), y = Ke(f, a), m = Qe(f, l), T = et(f, r), S = tt(f), F = nt([h, T, S, y, m]), j = un(
90
+ dn(c, () => p, [p]);
91
+ const { context: b } = p, g = xn(b, s), x = Ke(b, a), m = Qe(b, l), T = et(b, r), S = tt(b), F = nt([g, T, S, x, m]), j = hn(
92
92
  () => ({
93
- ...g,
93
+ ...p,
94
94
  ...F
95
95
  }),
96
- [g, F]
96
+ [p, F]
97
97
  );
98
- return /* @__PURE__ */ n(bt.Provider, { value: j, children: i });
98
+ return /* @__PURE__ */ n(ft.Provider, { value: j, children: i });
99
99
  }, go = ({ width: e = 600, children: t, ...o }) => /* @__PURE__ */ n(
100
100
  Ln,
101
101
  {
@@ -104,7 +104,7 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
104
104
  },
105
105
  ...o,
106
106
  children: /* @__PURE__ */ w(
107
- wt,
107
+ bt,
108
108
  {
109
109
  floatingOverlayProps: {
110
110
  disabled: !1,
@@ -141,7 +141,7 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
141
141
  flexDirection: "column",
142
142
  overflow: "hidden",
143
143
  borderRadius: 8,
144
- backgroundColor: b.palette.ink["6s"],
144
+ backgroundColor: f.palette.ink["6s"],
145
145
  maxWidth: "100%",
146
146
  color: "white"
147
147
  },
@@ -152,21 +152,21 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
152
152
  }
153
153
  )
154
154
  }
155
- ), fo = () => kt(), bo = ({ ref: e, ...t }) => /* @__PURE__ */ n(
155
+ ), fo = () => wt(), bo = ({ ref: e, ...t }) => /* @__PURE__ */ n(
156
156
  ce,
157
157
  {
158
- css: { paddingBlock: 12, paddingInline: 20, flex: 1, overflow: "auto", ...b.text.xs },
158
+ css: { paddingBlock: 12, paddingInline: 20, flex: 1, overflow: "auto", ...f.text.xs },
159
159
  ...t,
160
160
  ref: e
161
161
  }
162
162
  ), wo = ({ required: e, children: t, ...o }) => /* @__PURE__ */ w("div", { css: { marginBottom: 6, display: "flex", width: "fit-content" }, ...o, children: [
163
- pn(t) ? t : /* @__PURE__ */ n("label", { children: t }),
164
- e && /* @__PURE__ */ n("span", { css: { color: b.palette.red["6s"] }, children: " *" })
163
+ un(t) ? t : /* @__PURE__ */ n("label", { children: t }),
164
+ e && /* @__PURE__ */ n("span", { css: { color: f.palette.red["6s"] }, children: " *" })
165
165
  ] }), ko = () => {
166
- const [e, t] = P(0), [o, r] = P(!1), i = z(null), s = (k, u) => {
166
+ const [e, t] = P(0), [o, r] = P(!1), i = G(null), s = (k, h) => {
167
167
  if (!i.current) return 0;
168
- const p = i.current.getBoundingClientRect(), c = p.left + p.width / 2, g = p.top + p.height / 2, f = k - c, h = u - g;
169
- return (Math.atan2(h, f) * (180 / Math.PI) + 360) % 360;
168
+ const u = i.current.getBoundingClientRect(), c = u.left + u.width / 2, p = u.top + u.height / 2, b = k - c, g = h - p;
169
+ return (Math.atan2(g, b) * (180 / Math.PI) + 360) % 360;
170
170
  };
171
171
  return /* @__PURE__ */ w(
172
172
  "div",
@@ -178,8 +178,8 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
178
178
  },
179
179
  onMouseMove: (k) => {
180
180
  if (o) {
181
- const u = s(k.clientX, k.clientY);
182
- t(Math.round(u));
181
+ const h = s(k.clientX, k.clientY);
182
+ t(Math.round(h));
183
183
  }
184
184
  },
185
185
  onMouseUp: () => {
@@ -200,8 +200,8 @@ const Ln = (e) => vn() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(xn,
200
200
  viewBox: "0 0 200 200",
201
201
  onMouseDown: (k) => {
202
202
  r(!0);
203
- const u = s(k.clientX, k.clientY);
204
- t(Math.round(u));
203
+ const h = s(k.clientX, k.clientY);
204
+ t(Math.round(h));
205
205
  },
206
206
  style: { cursor: "grab" },
207
207
  children: [
@@ -274,11 +274,11 @@ var Rn = /* @__PURE__ */ (function() {
274
274
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
275
275
  }), this.tags = [], this.ctr = 0;
276
276
  }, e;
277
- })(), L = "-ms-", ae = "-moz-", C = "-webkit-", it = "comm", ve = "rule", xe = "decl", An = "@import", at = "@keyframes", Dn = "@layer", Bn = Math.abs, ue = String.fromCharCode, Pn = Object.assign;
277
+ })(), L = "-ms-", ae = "-moz-", C = "-webkit-", st = "comm", ve = "rule", xe = "decl", An = "@import", it = "@keyframes", Dn = "@layer", Bn = Math.abs, ue = String.fromCharCode, Pn = Object.assign;
278
278
  function jn(e, t) {
279
279
  return E(e, 0) ^ 45 ? (((t << 2 ^ E(e, 0)) << 2 ^ E(e, 1)) << 2 ^ E(e, 2)) << 2 ^ E(e, 3) : 0;
280
280
  }
281
- function ct(e) {
281
+ function at(e) {
282
282
  return e.trim();
283
283
  }
284
284
  function Vn(e, t) {
@@ -308,7 +308,7 @@ function Q(e, t) {
308
308
  function Fn(e, t) {
309
309
  return e.map(t).join("");
310
310
  }
311
- var pe = 1, U = 1, lt = 0, N = 0, M = 0, Z = "";
311
+ var pe = 1, U = 1, ct = 0, N = 0, M = 0, Z = "";
312
312
  function ge(e, t, o, r, i, s, l) {
313
313
  return { value: e, root: t, parent: o, type: r, props: i, children: s, line: pe, column: U, length: l, return: "" };
314
314
  }
@@ -322,7 +322,7 @@ function Hn() {
322
322
  return M = N > 0 ? E(Z, --N) : 0, U--, M === 10 && (U = 1, pe--), M;
323
323
  }
324
324
  function R() {
325
- return M = N < lt ? E(Z, N++) : 0, U++, M === 10 && (U = 1, pe++), M;
325
+ return M = N < ct ? E(Z, N++) : 0, U++, M === 10 && (U = 1, pe++), M;
326
326
  }
327
327
  function B() {
328
328
  return E(Z, N);
@@ -371,14 +371,14 @@ function q(e) {
371
371
  }
372
372
  return 0;
373
373
  }
374
- function dt(e) {
375
- return pe = U = 1, lt = D(Z = e), N = 0, [];
374
+ function lt(e) {
375
+ return pe = U = 1, ct = D(Z = e), N = 0, [];
376
376
  }
377
- function ht(e) {
377
+ function dt(e) {
378
378
  return Z = "", e;
379
379
  }
380
380
  function ne(e) {
381
- return ct(K(N - 1, we(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
381
+ return at(K(N - 1, we(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
382
382
  }
383
383
  function $n(e) {
384
384
  for (; (M = B()) && M < 33; )
@@ -412,139 +412,139 @@ function we(e) {
412
412
  }
413
413
  return N;
414
414
  }
415
- function Gn(e, t) {
415
+ function zn(e, t) {
416
416
  for (; R() && e + M !== 57; )
417
417
  if (e + M === 84 && B() === 47)
418
418
  break;
419
419
  return "/*" + K(t, N - 1) + "*" + ue(e === 47 ? e : R());
420
420
  }
421
- function zn(e) {
421
+ function Gn(e) {
422
422
  for (; !q(B()); )
423
423
  R();
424
424
  return K(e, N);
425
425
  }
426
426
  function Un(e) {
427
- return ht(re("", null, null, null, [""], e = dt(e), 0, [0], e));
427
+ return dt(re("", null, null, null, [""], e = lt(e), 0, [0], e));
428
428
  }
429
429
  function re(e, t, o, r, i, s, l, a, d) {
430
- for (var k = 0, u = 0, p = l, c = 0, g = 0, f = 0, h = 1, y = 1, m = 1, T = 0, S = "", F = i, j = s, A = r, x = S; y; )
431
- switch (f = T, T = R()) {
430
+ for (var k = 0, h = 0, u = l, c = 0, p = 0, b = 0, g = 1, x = 1, m = 1, T = 0, S = "", F = i, j = s, A = r, y = S; x; )
431
+ switch (b = T, T = R()) {
432
432
  // (
433
433
  case 40:
434
- if (f != 108 && E(x, p - 1) == 58) {
435
- be(x += v(ne(T), "&", "&\f"), "&\f") != -1 && (m = -1);
434
+ if (b != 108 && E(y, u - 1) == 58) {
435
+ be(y += v(ne(T), "&", "&\f"), "&\f") != -1 && (m = -1);
436
436
  break;
437
437
  }
438
438
  // " ' [
439
439
  case 34:
440
440
  case 39:
441
441
  case 91:
442
- x += ne(T);
442
+ y += ne(T);
443
443
  break;
444
444
  // \t \n \r \s
445
445
  case 9:
446
446
  case 10:
447
447
  case 13:
448
448
  case 32:
449
- x += $n(f);
449
+ y += $n(b);
450
450
  break;
451
451
  // \
452
452
  case 92:
453
- x += _n(te() - 1, 7);
453
+ y += _n(te() - 1, 7);
454
454
  continue;
455
455
  // /
456
456
  case 47:
457
457
  switch (B()) {
458
458
  case 42:
459
459
  case 47:
460
- Q(Zn(Gn(R(), te()), t, o), d);
460
+ Q(Zn(zn(R(), te()), t, o), d);
461
461
  break;
462
462
  default:
463
- x += "/";
463
+ y += "/";
464
464
  }
465
465
  break;
466
466
  // {
467
- case 123 * h:
468
- a[k++] = D(x) * m;
467
+ case 123 * g:
468
+ a[k++] = D(y) * m;
469
469
  // } ; \0
470
- case 125 * h:
470
+ case 125 * g:
471
471
  case 59:
472
472
  case 0:
473
473
  switch (T) {
474
474
  // \0 }
475
475
  case 0:
476
476
  case 125:
477
- y = 0;
477
+ x = 0;
478
478
  // ;
479
- case 59 + u:
480
- m == -1 && (x = v(x, /\f/g, "")), g > 0 && D(x) - p && Q(g > 32 ? De(x + ";", r, o, p - 1) : De(v(x, " ", "") + ";", r, o, p - 2), d);
479
+ case 59 + h:
480
+ m == -1 && (y = v(y, /\f/g, "")), p > 0 && D(y) - u && Q(p > 32 ? De(y + ";", r, o, u - 1) : De(v(y, " ", "") + ";", r, o, u - 2), d);
481
481
  break;
482
482
  // @ ;
483
483
  case 59:
484
- x += ";";
484
+ y += ";";
485
485
  // { rule/at-rule
486
486
  default:
487
- if (Q(A = Ae(x, t, o, k, u, i, a, S, F = [], j = [], p), s), T === 123)
488
- if (u === 0)
489
- re(x, t, A, A, F, s, p, a, j);
487
+ if (Q(A = Ae(y, t, o, k, h, i, a, S, F = [], j = [], u), s), T === 123)
488
+ if (h === 0)
489
+ re(y, t, A, A, F, s, u, a, j);
490
490
  else
491
- switch (c === 99 && E(x, 3) === 110 ? 100 : c) {
491
+ switch (c === 99 && E(y, 3) === 110 ? 100 : c) {
492
492
  // d l m s
493
493
  case 100:
494
494
  case 108:
495
495
  case 109:
496
496
  case 115:
497
- re(e, A, A, r && Q(Ae(e, A, A, 0, 0, i, a, S, i, F = [], p), j), i, j, p, a, r ? F : j);
497
+ re(e, A, A, r && Q(Ae(e, A, A, 0, 0, i, a, S, i, F = [], u), j), i, j, u, a, r ? F : j);
498
498
  break;
499
499
  default:
500
- re(x, A, A, A, [""], j, 0, a, j);
500
+ re(y, A, A, A, [""], j, 0, a, j);
501
501
  }
502
502
  }
503
- k = u = g = 0, h = m = 1, S = x = "", p = l;
503
+ k = h = p = 0, g = m = 1, S = y = "", u = l;
504
504
  break;
505
505
  // :
506
506
  case 58:
507
- p = 1 + D(x), g = f;
507
+ u = 1 + D(y), p = b;
508
508
  default:
509
- if (h < 1) {
509
+ if (g < 1) {
510
510
  if (T == 123)
511
- --h;
512
- else if (T == 125 && h++ == 0 && Hn() == 125)
511
+ --g;
512
+ else if (T == 125 && g++ == 0 && Hn() == 125)
513
513
  continue;
514
514
  }
515
- switch (x += ue(T), T * h) {
515
+ switch (y += ue(T), T * g) {
516
516
  // &
517
517
  case 38:
518
- m = u > 0 ? 1 : (x += "\f", -1);
518
+ m = h > 0 ? 1 : (y += "\f", -1);
519
519
  break;
520
520
  // ,
521
521
  case 44:
522
- a[k++] = (D(x) - 1) * m, m = 1;
522
+ a[k++] = (D(y) - 1) * m, m = 1;
523
523
  break;
524
524
  // @
525
525
  case 64:
526
- B() === 45 && (x += ne(R())), c = B(), u = p = D(S = x += zn(te())), T++;
526
+ B() === 45 && (y += ne(R())), c = B(), h = u = D(S = y += Gn(te())), T++;
527
527
  break;
528
528
  // -
529
529
  case 45:
530
- f === 45 && D(x) == 2 && (h = 0);
530
+ b === 45 && D(y) == 2 && (g = 0);
531
531
  }
532
532
  }
533
533
  return s;
534
534
  }
535
- function Ae(e, t, o, r, i, s, l, a, d, k, u) {
536
- for (var p = i - 1, c = i === 0 ? s : [""], g = ye(c), f = 0, h = 0, y = 0; f < r; ++f)
537
- for (var m = 0, T = X(e, p + 1, p = Bn(h = l[f])), S = e; m < g; ++m)
538
- (S = ct(h > 0 ? c[m] + " " + T : v(T, /&\f/g, c[m]))) && (d[y++] = S);
539
- return ge(e, t, o, i === 0 ? ve : a, d, k, u);
535
+ function Ae(e, t, o, r, i, s, l, a, d, k, h) {
536
+ for (var u = i - 1, c = i === 0 ? s : [""], p = ye(c), b = 0, g = 0, x = 0; b < r; ++b)
537
+ for (var m = 0, T = X(e, u + 1, u = Bn(g = l[b])), S = e; m < p; ++m)
538
+ (S = at(g > 0 ? c[m] + " " + T : v(T, /&\f/g, c[m]))) && (d[x++] = S);
539
+ return ge(e, t, o, i === 0 ? ve : a, d, k, h);
540
540
  }
541
541
  function Zn(e, t, o) {
542
- return ge(e, t, o, it, ue(On()), X(e, 2, -2), 0);
542
+ return ge(e, t, o, st, ue(On()), X(e, 2, -2), 0);
543
543
  }
544
544
  function De(e, t, o, r) {
545
545
  return ge(e, t, o, xe, X(e, 0, r), X(e, r + 1, -1), r);
546
546
  }
547
- function G(e, t) {
547
+ function z(e, t) {
548
548
  for (var o = "", r = ye(e), i = 0; i < r; i++)
549
549
  o += t(e[i], i, e, t) || "";
550
550
  return o;
@@ -556,14 +556,14 @@ function Yn(e, t, o, r) {
556
556
  case An:
557
557
  case xe:
558
558
  return e.return = e.return || e.value;
559
- case it:
559
+ case st:
560
560
  return "";
561
- case at:
562
- return e.return = e.value + "{" + G(e.children, r) + "}";
561
+ case it:
562
+ return e.return = e.value + "{" + z(e.children, r) + "}";
563
563
  case ve:
564
564
  e.value = e.props.join(",");
565
565
  }
566
- return D(o = G(e.children, r)) ? e.return = e.value + "{" + o + "}" : "";
566
+ return D(o = z(e.children, r)) ? e.return = e.value + "{" + o + "}" : "";
567
567
  }
568
568
  function Xn(e) {
569
569
  var t = ye(e);
@@ -604,7 +604,7 @@ var Jn = function(t, o, r) {
604
604
  while (i = R());
605
605
  return t;
606
606
  }, Qn = function(t, o) {
607
- return ht(Kn(dt(t), o));
607
+ return dt(Kn(lt(t), o));
608
608
  }, Be = /* @__PURE__ */ new WeakMap(), er = function(t) {
609
609
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
610
610
  // negative .length indicates that this rule has been already prefixed
@@ -614,8 +614,8 @@ var Jn = function(t, o, r) {
614
614
  if (!(t.props.length === 1 && o.charCodeAt(0) !== 58 && !Be.get(r)) && !i) {
615
615
  Be.set(t, !0);
616
616
  for (var s = [], l = Qn(o, s), a = r.props, d = 0, k = 0; d < l.length; d++)
617
- for (var u = 0; u < a.length; u++, k++)
618
- t.props[k] = s[d] ? l[d].replace(/&\f/g, a[u]) : a[u] + " " + l[d];
617
+ for (var h = 0; h < a.length; h++, k++)
618
+ t.props[k] = s[d] ? l[d].replace(/&\f/g, a[h]) : a[h] + " " + l[d];
619
619
  }
620
620
  }
621
621
  }, tr = function(t) {
@@ -626,7 +626,7 @@ var Jn = function(t, o, r) {
626
626
  o.charCodeAt(2) === 98 && (t.return = "", t.value = "");
627
627
  }
628
628
  };
629
- function ut(e, t) {
629
+ function ht(e, t) {
630
630
  switch (jn(e, t)) {
631
631
  // color-adjust
632
632
  case 5103:
@@ -734,7 +734,7 @@ function ut(e, t) {
734
734
  return v(e, /(.+:)(.+)-([^]+)/, "$1" + C + "$2-$3$1" + ae + (E(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
735
735
  // (s)tretch
736
736
  case 115:
737
- return ~be(e, "stretch") ? ut(v(e, "stretch", "fill-available"), t) + e : e;
737
+ return ~be(e, "stretch") ? ht(v(e, "stretch", "fill-available"), t) + e : e;
738
738
  }
739
739
  break;
740
740
  // position: sticky
@@ -771,10 +771,10 @@ function ut(e, t) {
771
771
  var nr = function(t, o, r, i) {
772
772
  if (t.length > -1 && !t.return) switch (t.type) {
773
773
  case xe:
774
- t.return = ut(t.value, t.length);
774
+ t.return = ht(t.value, t.length);
775
775
  break;
776
- case at:
777
- return G([Y(t, {
776
+ case it:
777
+ return z([Y(t, {
778
778
  value: v(t.value, "@", "@" + C)
779
779
  })], i);
780
780
  case ve:
@@ -783,12 +783,12 @@ var nr = function(t, o, r, i) {
783
783
  // :read-(only|write)
784
784
  case ":read-only":
785
785
  case ":read-write":
786
- return G([Y(t, {
786
+ return z([Y(t, {
787
787
  props: [v(s, /:(read-\w+)/, ":" + ae + "$1")]
788
788
  })], i);
789
789
  // :placeholder
790
790
  case "::placeholder":
791
- return G([Y(t, {
791
+ return z([Y(t, {
792
792
  props: [v(s, /:(plac\w+)/, ":" + C + "input-$1")]
793
793
  }), Y(t, {
794
794
  props: [v(s, /:(plac\w+)/, ":" + ae + "$1")]
@@ -803,9 +803,9 @@ var nr = function(t, o, r, i) {
803
803
  var o = t.key;
804
804
  if (o === "css") {
805
805
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
806
- Array.prototype.forEach.call(r, function(h) {
807
- var y = h.getAttribute("data-emotion");
808
- y.indexOf(" ") !== -1 && (document.head.appendChild(h), h.setAttribute("data-s", ""));
806
+ Array.prototype.forEach.call(r, function(g) {
807
+ var x = g.getAttribute("data-emotion");
808
+ x.indexOf(" ") !== -1 && (document.head.appendChild(g), g.setAttribute("data-s", ""));
809
809
  });
810
810
  }
811
811
  var i = t.stylisPlugins || rr, s = {}, l, a = [];
@@ -813,24 +813,24 @@ var nr = function(t, o, r, i) {
813
813
  // this means we will ignore elements which don't have a space in them which
814
814
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
815
815
  document.querySelectorAll('style[data-emotion^="' + o + ' "]'),
816
- function(h) {
817
- for (var y = h.getAttribute("data-emotion").split(" "), m = 1; m < y.length; m++)
818
- s[y[m]] = !0;
819
- a.push(h);
816
+ function(g) {
817
+ for (var x = g.getAttribute("data-emotion").split(" "), m = 1; m < x.length; m++)
818
+ s[x[m]] = !0;
819
+ a.push(g);
820
820
  }
821
821
  );
822
822
  var d, k = [er, tr];
823
823
  {
824
- var u, p = [Yn, qn(function(h) {
825
- u.insert(h);
826
- })], c = Xn(k.concat(i, p)), g = function(y) {
827
- return G(Un(y), c);
824
+ var h, u = [Yn, qn(function(g) {
825
+ h.insert(g);
826
+ })], c = Xn(k.concat(i, u)), p = function(x) {
827
+ return z(Un(x), c);
828
828
  };
829
- d = function(y, m, T, S) {
830
- u = T, g(y ? y + "{" + m.styles + "}" : m.styles), S && (f.inserted[m.name] = !0);
829
+ d = function(x, m, T, S) {
830
+ h = T, p(x ? x + "{" + m.styles + "}" : m.styles), S && (b.inserted[m.name] = !0);
831
831
  };
832
832
  }
833
- var f = {
833
+ var b = {
834
834
  key: o,
835
835
  sheet: new Rn({
836
836
  key: o,
@@ -845,39 +845,39 @@ var nr = function(t, o, r, i) {
845
845
  registered: {},
846
846
  insert: d
847
847
  };
848
- return f.sheet.hydrate(a), f;
848
+ return b.sheet.hydrate(a), b;
849
849
  };
850
- const pt = ({ children: e, viewport: t, containerProps: o }) => {
851
- const r = z(null), { theme: i } = $(), [s, l] = P({
850
+ const ut = ({ children: e, viewport: t, containerProps: o }) => {
851
+ const r = G(null), { theme: i } = $(), [s, l] = P({
852
852
  width: 0,
853
853
  height: 0
854
854
  });
855
855
  V(() => {
856
- const f = ln((y) => {
857
- const m = y.at(0)?.target;
856
+ const b = cn((x) => {
857
+ const m = x.at(0)?.target;
858
858
  if (!m) return;
859
859
  const { width: T, height: S } = m.getBoundingClientRect();
860
860
  l(() => ({
861
861
  width: T,
862
862
  height: S
863
863
  }));
864
- }, 200), h = new ResizeObserver(f);
865
- return r.current && h.observe(r.current), () => h.disconnect();
864
+ }, 200), g = new ResizeObserver(b);
865
+ return r.current && g.observe(r.current), () => g.disconnect();
866
866
  }, []);
867
- const a = We(t?.width) ? t.width(s.width) : t?.width, d = We(t?.height) ? t.height(s.height) : t?.height, k = se(a) ? s.width / a : 1, u = se(d) ? s.height / d : 1, p = Math.min(k, u, 1), c = (d ?? s.height / p) || 0, g = (a ?? s.width / p) || 0;
867
+ const a = We(t?.width) ? t.width(s.width) : t?.width, d = We(t?.height) ? t.height(s.height) : t?.height, k = se(a) ? s.width / a : 1, h = se(d) ? s.height / d : 1, u = Math.min(k, h, 1), c = (d ?? s.height / u) || 0, p = (a ?? s.width / u) || 0;
868
868
  return /* @__PURE__ */ n("div", { ...o, css: { padding: 8, width: "100%", height: "100%", backgroundColor: fe.ink["1s"] }, children: /* @__PURE__ */ n("div", { css: { position: "relative", overflow: "hidden", width: "100%", height: "100%" }, ref: r, children: /* @__PURE__ */ n(
869
869
  "div",
870
870
  {
871
871
  style: {
872
- transform: `scale(${p})`,
873
- width: g,
872
+ transform: `scale(${u})`,
873
+ width: p,
874
874
  height: c,
875
- marginLeft: (s.width - g) / 2,
875
+ marginLeft: (s.width - p) / 2,
876
876
  marginTop: (s.height - c) / 2
877
877
  },
878
878
  css: { position: "absolute" },
879
879
  children: /* @__PURE__ */ n(
880
- In,
880
+ Tn,
881
881
  {
882
882
  sandbox: "allow-same-origin allow-scripts allow-popups allow-presentation",
883
883
  allow: "autoplay; encrypted-media",
@@ -889,11 +889,11 @@ const pt = ({ children: e, viewport: t, containerProps: o }) => {
889
889
  }
890
890
  ) }) });
891
891
  }, sr = ({ children: e, theme: t }) => {
892
- const { document: o, window: r } = Ce(), [i, s] = P(!1), l = z(window.customElements.define.bind(window.customElements));
892
+ const { document: o, window: r } = Ce(), [i, s] = P(!1), l = G(window.customElements.define.bind(window.customElements));
893
893
  V(() => {
894
894
  const d = l.current;
895
- return r && (window.customElements.define = function(k, u, p) {
896
- window.customElements.get(k) || r.customElements.define(k, u, p), d(k, u, p);
895
+ return r && (window.customElements.define = function(k, h, u) {
896
+ window.customElements.get(k) || r.customElements.define(k, h, u), d(k, h, u);
897
897
  }), o?.head.replaceWith(document.head.cloneNode(!0)), s(!0), () => {
898
898
  window.customElements.define = d;
899
899
  };
@@ -902,9 +902,9 @@ const pt = ({ children: e, viewport: t, containerProps: o }) => {
902
902
  key: "css",
903
903
  container: o?.head
904
904
  });
905
- return i ? /* @__PURE__ */ n(Fe, { children: /* @__PURE__ */ w(kn, { value: a, children: [
905
+ return i ? /* @__PURE__ */ n(Fe, { children: /* @__PURE__ */ w(wn, { value: a, children: [
906
906
  /* @__PURE__ */ n(
907
- mn,
907
+ kn,
908
908
  {
909
909
  styles: {
910
910
  ".frame-content": {
@@ -925,7 +925,7 @@ const pt = ({ children: e, viewport: t, containerProps: o }) => {
925
925
  }
926
926
  }
927
927
  ),
928
- /* @__PURE__ */ n(bn, { root: o?.body, theme: t, children: e })
928
+ /* @__PURE__ */ n(fn, { root: o?.body, theme: t, children: e })
929
929
  ] }) }) : null;
930
930
  };
931
931
  var O = /* @__PURE__ */ ((e) => (e[e.Pixels = 0] = "Pixels", e[e.Unitless = 1] = "Unitless", e))(O || {});
@@ -941,24 +941,24 @@ const ir = [
941
941
  /* Unitless */
942
942
  }
943
943
  ], mo = ({ name: e, responsive: t = !0, value: o, onChange: r }) => {
944
- const i = se(o?.lineHeight) ? O.Unitless : O.Pixels, s = i === O.Unitless ? 0.1 : 1, l = mt(o?.lineHeight, "float"), a = ({ unit: c, value: g }) => {
945
- if (ee(g)) {
944
+ const i = se(o?.lineHeight) ? O.Unitless : O.Pixels, s = i === O.Unitless ? 0.1 : 1, l = kt(o?.lineHeight, "float"), a = ({ unit: c, value: p }) => {
945
+ if (ee(p)) {
946
946
  r?.({
947
- lineHeight: c === O.Unitless ? 1 : g
947
+ lineHeight: c === O.Unitless ? 1 : p
948
948
  });
949
949
  return;
950
950
  }
951
951
  r?.({
952
- lineHeight: c === O.Unitless ? Number(g.toFixed(1)) : `${g}px`
952
+ lineHeight: c === O.Unitless ? Number(p.toFixed(1)) : `${p}px`
953
953
  });
954
954
  }, d = (c) => {
955
955
  a({ unit: Number(c.target.value) });
956
956
  }, k = (c) => {
957
- const g = isNaN(c.target.valueAsNumber) ? void 0 : c.target.valueAsNumber;
958
- a({ unit: i, value: g });
959
- }, u = (c) => {
957
+ const p = isNaN(c.target.valueAsNumber) ? void 0 : c.target.valueAsNumber;
958
+ a({ unit: i, value: p });
959
+ }, h = (c) => {
960
960
  c.stopPropagation(), !ee(l) && a({ unit: i, value: Math.max(l + s, 0) });
961
- }, p = (c) => {
961
+ }, u = (c) => {
962
962
  c.stopPropagation(), !ee(l) && a({ unit: i, value: Math.max(l - s, 0) });
963
963
  };
964
964
  return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", gap: 8 }, children: [
@@ -974,14 +974,14 @@ const ir = [
974
974
  c.value
975
975
  )) }) }),
976
976
  /* @__PURE__ */ n("div", { css: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ n("div", { css: { width: "50%" }, children: /* @__PURE__ */ n(
977
- Ct,
977
+ mt,
978
978
  {
979
979
  fractionDigits: 1,
980
980
  type: i === O.Unitless ? "decimal" : "integer",
981
981
  value: l ?? "",
982
982
  onChange: k,
983
- prefix: /* @__PURE__ */ n(W, { disabled: se(l) && l <= 0, onClick: p, children: /* @__PURE__ */ n(I, { source: vt }) }),
984
- suffix: /* @__PURE__ */ n(W, { onClick: u, children: /* @__PURE__ */ n(I, { source: He }) }),
983
+ prefix: /* @__PURE__ */ n(W, { disabled: se(l) && l <= 0, onClick: u, children: /* @__PURE__ */ n(I, { source: Ct }) }),
984
+ suffix: /* @__PURE__ */ n(W, { onClick: h, children: /* @__PURE__ */ n(I, { source: He }) }),
985
985
  mode: "onBlur",
986
986
  css: { textAlign: "center" },
987
987
  placeholder: "normal"
@@ -1028,7 +1028,7 @@ const ir = [
1028
1028
  r?.({ display: a });
1029
1029
  };
1030
1030
  return /* @__PURE__ */ n(J, { name: e ?? "Display", responsive: t, children: /* @__PURE__ */ n(
1031
- xt,
1031
+ vt,
1032
1032
  {
1033
1033
  css: {
1034
1034
  width: "50%"
@@ -1064,8 +1064,8 @@ const ir = [
1064
1064
  flexShrink: 1
1065
1065
  }
1066
1066
  }
1067
- ], l = s.find((d) => dn(d.rawValue, i))?.value, a = (d) => {
1068
- const k = s.find((u) => u.value === Number(d.target.value));
1067
+ ], l = s.find((d) => ln(d.rawValue, i))?.value, a = (d) => {
1068
+ const k = s.find((h) => h.value === Number(d.target.value));
1069
1069
  k && t?.(k.rawValue);
1070
1070
  };
1071
1071
  return /* @__PURE__ */ n(J, { name: o ?? "Content", responsive: r, children: /* @__PURE__ */ n("div", { css: { display: "inline-flex", alignItems: "center", gap: 8 }, children: s.map((d) => /* @__PURE__ */ n(
@@ -1079,13 +1079,13 @@ const ir = [
1079
1079
  d.value
1080
1080
  )) }) });
1081
1081
  }, xo = ({ name: e, value: t, onChange: o, responsive: r = !0 }) => {
1082
- const i = z(null), s = (l) => {
1082
+ const i = G(null), s = (l) => {
1083
1083
  o?.({
1084
1084
  minWidth: l
1085
1085
  });
1086
1086
  };
1087
1087
  return /* @__PURE__ */ n(J, { name: e ?? "Min width", responsive: r, children: /* @__PURE__ */ n("div", { css: { position: "relative", width: "50%" }, children: /* @__PURE__ */ n(
1088
- yt,
1088
+ xt,
1089
1089
  {
1090
1090
  fullWidth: !0,
1091
1091
  wrapRef: i,
@@ -1109,8 +1109,8 @@ const ir = [
1109
1109
  }
1110
1110
  });
1111
1111
  };
1112
- return /* @__PURE__ */ n(J, { name: "Text style", children: /* @__PURE__ */ w(Tt, { open: o, onOpenChange: r, placement: "right", children: [
1113
- /* @__PURE__ */ n(It, { children: /* @__PURE__ */ w(
1112
+ return /* @__PURE__ */ n(J, { name: "Text style", children: /* @__PURE__ */ w(yt, { open: o, onOpenChange: r, placement: "right", children: [
1113
+ /* @__PURE__ */ n(Tt, { children: /* @__PURE__ */ w(
1114
1114
  "button",
1115
1115
  {
1116
1116
  css: [
@@ -1123,31 +1123,31 @@ const ir = [
1123
1123
  textAlign: "left",
1124
1124
  width: "50%",
1125
1125
  height: 32,
1126
- backgroundColor: b.palette.white["1s"],
1126
+ backgroundColor: f.palette.white["1s"],
1127
1127
  overflow: "hidden",
1128
1128
  textOverflow: "ellipsis",
1129
1129
  whiteSpace: "nowrap",
1130
- ...b.text.xs
1130
+ ...f.text.xs
1131
1131
  },
1132
- o && { backgroundColor: b.palette.black["7s"] }
1132
+ o && { backgroundColor: f.palette.black["7s"] }
1133
1133
  ],
1134
1134
  children: [
1135
- /* @__PURE__ */ n(I, { css: { color: "white" }, source: Mt }),
1135
+ /* @__PURE__ */ n(I, { css: { color: "white" }, source: It }),
1136
1136
  /* @__PURE__ */ n("span", { children: "Auto" })
1137
1137
  ]
1138
1138
  }
1139
1139
  ) }),
1140
- /* @__PURE__ */ n(St, { children: /* @__PURE__ */ w("div", { style: { width: 280 }, children: [
1140
+ /* @__PURE__ */ n(Mt, { children: /* @__PURE__ */ w("div", { style: { width: 280 }, children: [
1141
1141
  /* @__PURE__ */ w("div", { css: { display: "flex", justifyContent: "space-between", alignItems: "center", gap: 8 }, children: [
1142
1142
  /* @__PURE__ */ n("div", { css: { fontWeight: 500 }, children: "Text style" }),
1143
- /* @__PURE__ */ n(Et, { children: /* @__PURE__ */ n(W, { children: /* @__PURE__ */ n(I, { source: $e }) }) })
1143
+ /* @__PURE__ */ n(St, { children: /* @__PURE__ */ n(W, { children: /* @__PURE__ */ n(I, { source: $e }) }) })
1144
1144
  ] }),
1145
- /* @__PURE__ */ n("hr", { css: { marginBlock: 8, borderColor: b.palette.white["1s"] } }),
1145
+ /* @__PURE__ */ n("hr", { css: { marginBlock: 8, borderColor: f.palette.white["1s"] } }),
1146
1146
  /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", gap: 12 }, children: [
1147
- /* @__PURE__ */ n(Lt, { value: e?.sizeVariant, onChange: i }),
1148
- /* @__PURE__ */ n(Wt, { value: { color: e?.css?.color }, onChange: s }),
1147
+ /* @__PURE__ */ n(Et, { value: e?.sizeVariant, onChange: i }),
1148
+ /* @__PURE__ */ n(Lt, { value: { color: e?.css?.color }, onChange: s }),
1149
1149
  /* @__PURE__ */ n(
1150
- Nt,
1150
+ Wt,
1151
1151
  {
1152
1152
  name: "Style",
1153
1153
  value: {
@@ -1158,9 +1158,9 @@ const ir = [
1158
1158
  onChange: s
1159
1159
  }
1160
1160
  ),
1161
- /* @__PURE__ */ n(Rt, { value: { fontWeight: e?.css?.fontWeight }, onChange: s }),
1161
+ /* @__PURE__ */ n(Nt, { value: { fontWeight: e?.css?.fontWeight }, onChange: s }),
1162
1162
  /* @__PURE__ */ n(
1163
- At,
1163
+ Rt,
1164
1164
  {
1165
1165
  value: {
1166
1166
  textTransform: e?.css?.textTransform
@@ -1187,22 +1187,27 @@ const ir = [
1187
1187
  <path fill-rule="evenodd" clip-rule="evenodd" d="M3.11799 12.467C2.96099 12.176 2.96099 11.823 3.11799 11.532C5.00999 8.033 8.50499 5 12 5C15.495 5 18.99 8.033 20.882 11.533C21.039 11.824 21.039 12.177 20.882 12.468C18.99 15.967 15.495 19 12 19C8.50499 19 5.00999 15.967 3.11799 12.467Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1188
1188
  <path d="M14.1213 9.87868C15.2929 11.0502 15.2929 12.9497 14.1213 14.1213C12.9497 15.2929 11.0502 15.2929 9.87866 14.1213C8.70709 12.9497 8.70709 11.0502 9.87866 9.87868C11.0502 8.70711 12.9497 8.70711 14.1213 9.87868" stroke="currentColor" stroke-width="1.4286" stroke-linecap="round" stroke-linejoin="round"/>
1189
1189
  </svg>
1190
- `, lr = '<svg width="20" height="20" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class=""><path d="M9.75 3C8.50736 3 7.5 4.00736 7.5 5.25C7.5 5.66421 7.83579 6 8.25 6C8.66421 6 9 5.66421 9 5.25C9 4.83579 9.33579 4.5 9.75 4.5H13.75C14.1642 4.5 14.5 4.83579 14.5 5.25V14.75C14.5 15.1642 14.1642 15.5 13.75 15.5H9.75C9.33579 15.5 9 15.1642 9 14.75C9 14.3358 8.66421 14 8.25 14C7.83579 14 7.5 14.3358 7.5 14.75C7.5 15.9926 8.50736 17 9.75 17H13.75C14.9926 17 16 15.9926 16 14.75V5.25C16 4.00736 14.9926 3 13.75 3H9.75Z" fill="currentColor"></path><path d="M12.25 10.75C12.6642 10.75 13 10.4142 13 10C13 9.58579 12.6642 9.25 12.25 9.25L6.56066 9.25L7.53033 8.28033C7.82322 7.98744 7.82322 7.51256 7.53033 7.21967C7.23744 6.92678 6.76256 6.92678 6.46967 7.21967L4.21967 9.46967C4.07902 9.61032 4 9.80109 4 10C4 10.1989 4.07902 10.3897 4.21967 10.5303L6.46967 12.7803C6.76256 13.0732 7.23744 13.0732 7.53033 12.7803C7.82322 12.4874 7.82322 12.0126 7.53033 11.7197L6.56066 10.75H12.25Z" fill="currentColor"></path></svg>', dr = () => {
1191
- const { mode: e, screen: t, setState: o, handlers: r } = $(), [i, s] = P(!1), { actions: l, canRedo: a, canUndo: d, query: k } = H((f, h) => ({
1192
- enabled: f.options.enabled,
1193
- canUndo: h.history.canUndo(),
1194
- canRedo: h.history.canRedo()
1195
- })), u = (f) => {
1196
- o({ screen: f });
1190
+ `, lr = '<svg width="20" height="20" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class=""><path d="M9.75 3C8.50736 3 7.5 4.00736 7.5 5.25C7.5 5.66421 7.83579 6 8.25 6C8.66421 6 9 5.66421 9 5.25C9 4.83579 9.33579 4.5 9.75 4.5H13.75C14.1642 4.5 14.5 4.83579 14.5 5.25V14.75C14.5 15.1642 14.1642 15.5 13.75 15.5H9.75C9.33579 15.5 9 15.1642 9 14.75C9 14.3358 8.66421 14 8.25 14C7.83579 14 7.5 14.3358 7.5 14.75C7.5 15.9926 8.50736 17 9.75 17H13.75C14.9926 17 16 15.9926 16 14.75V5.25C16 4.00736 14.9926 3 13.75 3H9.75Z" fill="currentColor"></path><path d="M12.25 10.75C12.6642 10.75 13 10.4142 13 10C13 9.58579 12.6642 9.25 12.25 9.25L6.56066 9.25L7.53033 8.28033C7.82322 7.98744 7.82322 7.51256 7.53033 7.21967C7.23744 6.92678 6.76256 6.92678 6.46967 7.21967L4.21967 9.46967C4.07902 9.61032 4 9.80109 4 10C4 10.1989 4.07902 10.3897 4.21967 10.5303L6.46967 12.7803C6.76256 13.0732 7.23744 13.0732 7.53033 12.7803C7.82322 12.4874 7.82322 12.0126 7.53033 11.7197L6.56066 10.75H12.25Z" fill="currentColor"></path></svg>', dr = ({ actions: e }) => {
1191
+ const { mode: t, screen: o, setState: r, handlers: i } = $(), [s, l] = P(!1), {
1192
+ actions: { history: a, selectNode: d },
1193
+ canRedo: k,
1194
+ canUndo: h,
1195
+ query: u
1196
+ } = H((x, m) => ({
1197
+ enabled: x.options.enabled,
1198
+ canUndo: m.history.canUndo(),
1199
+ canRedo: m.history.canRedo()
1200
+ })), c = (x) => {
1201
+ r({ screen: x });
1197
1202
  }, p = () => {
1198
- o({ mode: e === "full" ? "compact" : "full" });
1199
- }, c = () => {
1200
- r.close();
1203
+ r({ mode: t === "full" ? "compact" : "full" });
1204
+ }, b = () => {
1205
+ i.close();
1201
1206
  }, g = async () => {
1202
1207
  try {
1203
- s(!0), l.selectNode(), await r.submit(k.getSerializedNodes());
1208
+ l(!0), d(), await i.submit(u.getSerializedNodes());
1204
1209
  } finally {
1205
- s(!1);
1210
+ l(!1);
1206
1211
  }
1207
1212
  };
1208
1213
  return /* @__PURE__ */ w(
@@ -1214,14 +1219,14 @@ const ir = [
1214
1219
  alignItems: "center",
1215
1220
  gap: 16,
1216
1221
  justifyContent: "space-between",
1217
- backgroundColor: b.palette.ink["6s"],
1218
- color: b.palette.white["6s"],
1219
- ...b.text.sm
1222
+ backgroundColor: f.palette.ink["6s"],
1223
+ color: f.palette.white["6s"],
1224
+ ...f.text.sm
1220
1225
  },
1221
1226
  children: [
1222
1227
  /* @__PURE__ */ w("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: [
1223
- /* @__PURE__ */ n(W, { size: "32", onClick: c, children: /* @__PURE__ */ n(I, { source: lr }) }),
1224
- /* @__PURE__ */ n(Dt, { onSelectionChange: u, value: t, children: Bt.map(({ icon: f, size: h }) => /* @__PURE__ */ n(W, { value: h, children: /* @__PURE__ */ n(I, { source: f }) }, h)) }),
1228
+ /* @__PURE__ */ n(W, { size: "32", onClick: b, children: /* @__PURE__ */ n(I, { source: lr }) }),
1229
+ /* @__PURE__ */ n(At, { onSelectionChange: c, value: o, children: Dt.map(({ icon: x, size: m }) => /* @__PURE__ */ n(W, { value: m, children: /* @__PURE__ */ n(I, { source: x }) }, m)) }),
1225
1230
  /* @__PURE__ */ w(
1226
1231
  "div",
1227
1232
  {
@@ -1231,11 +1236,11 @@ const ir = [
1231
1236
  alignItems: "center",
1232
1237
  gap: 8,
1233
1238
  borderRadius: 8,
1234
- backgroundColor: b.palette.white["1s"]
1239
+ backgroundColor: f.palette.white["1s"]
1235
1240
  },
1236
1241
  children: [
1237
- /* @__PURE__ */ n(W, { onClick: l.history.undo, disabled: !d, children: /* @__PURE__ */ n(I, { source: je }) }),
1238
- /* @__PURE__ */ n(W, { onClick: l.history.redo, disabled: !a, children: /* @__PURE__ */ n(I, { source: je, css: { transform: "rotate(180deg)" } }) })
1242
+ /* @__PURE__ */ n(W, { onClick: a.undo, disabled: !h, children: /* @__PURE__ */ n(I, { source: je }) }),
1243
+ /* @__PURE__ */ n(W, { onClick: a.redo, disabled: !k, children: /* @__PURE__ */ n(I, { source: je, css: { transform: "rotate(180deg)" } }) })
1239
1244
  ]
1240
1245
  }
1241
1246
  ),
@@ -1248,13 +1253,14 @@ const ir = [
1248
1253
  alignItems: "center",
1249
1254
  gap: 8,
1250
1255
  borderRadius: 8,
1251
- backgroundColor: b.palette.white["1s"]
1256
+ backgroundColor: f.palette.white["1s"]
1252
1257
  },
1253
- children: /* @__PURE__ */ n(W, { onClick: p, children: /* @__PURE__ */ n(I, { source: e === "full" ? cr : ar }) })
1258
+ children: /* @__PURE__ */ n(W, { onClick: p, children: /* @__PURE__ */ n(I, { source: t === "full" ? cr : ar }) })
1254
1259
  }
1255
- )
1260
+ ),
1261
+ e
1256
1262
  ] }),
1257
- /* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(oe, { isLoading: i, onClick: g, children: "Save" }) })
1263
+ /* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(oe, { isLoading: s, onClick: g, children: "Save" }) })
1258
1264
  ]
1259
1265
  }
1260
1266
  );
@@ -1287,18 +1293,18 @@ const ir = [
1287
1293
  templates: [
1288
1294
  {
1289
1295
  name: "Container",
1290
- template: /* @__PURE__ */ n(Pt, {}),
1296
+ template: /* @__PURE__ */ n(Bt, {}),
1291
1297
  icon: { source: Ve, height: 32 }
1292
1298
  },
1293
1299
  {
1294
1300
  name: "Block",
1295
- template: /* @__PURE__ */ n(jt, {}),
1301
+ template: /* @__PURE__ */ n(Pt, {}),
1296
1302
  icon: { source: Ve, height: 32 }
1297
1303
  },
1298
1304
  {
1299
1305
  name: "Grid",
1300
1306
  template: /* @__PURE__ */ w(
1301
- Vt,
1307
+ jt,
1302
1308
  {
1303
1309
  cols: 2,
1304
1310
  sx: {
@@ -1318,7 +1324,7 @@ const ir = [
1318
1324
  },
1319
1325
  {
1320
1326
  name: "Flex",
1321
- template: /* @__PURE__ */ w(Ft, { sx: { columnGap: 8, rowGap: 8, paddingTop: 16, paddingBottom: 16 }, children: [
1327
+ template: /* @__PURE__ */ w(Vt, { sx: { columnGap: 8, rowGap: 8, paddingTop: 16, paddingBottom: 16 }, children: [
1322
1328
  /* @__PURE__ */ n(
1323
1329
  Se,
1324
1330
  {
@@ -1386,13 +1392,13 @@ const ir = [
1386
1392
  templates: [
1387
1393
  {
1388
1394
  name: "Image",
1389
- template: /* @__PURE__ */ n(Ot, { src: "https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/" }),
1395
+ template: /* @__PURE__ */ n(Ft, { src: "https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/" }),
1390
1396
  icon: { source: wr, height: 32 }
1391
1397
  },
1392
1398
  {
1393
1399
  name: "Video",
1394
1400
  template: /* @__PURE__ */ n(
1395
- Ht,
1401
+ Ot,
1396
1402
  {
1397
1403
  sx: {
1398
1404
  aspectRatio: "16 / 9"
@@ -1404,7 +1410,7 @@ const ir = [
1404
1410
  },
1405
1411
  {
1406
1412
  name: "Icon",
1407
- template: /* @__PURE__ */ n($t, { source: _t }),
1413
+ template: /* @__PURE__ */ n(Ht, { source: $t }),
1408
1414
  icon: { source: br, height: 32 }
1409
1415
  }
1410
1416
  ]
@@ -1421,7 +1427,7 @@ const ir = [
1421
1427
  templates: [
1422
1428
  {
1423
1429
  name: "Heading",
1424
- template: /* @__PURE__ */ n(Gt, { as: "h2", sizeVariant: "4xl", md: { sizeVariant: "5xl" }, children: "Your heading text goes here" }),
1430
+ template: /* @__PURE__ */ n(_t, { as: "h2", sizeVariant: "4xl", md: { sizeVariant: "5xl" }, children: "Your heading text goes here" }),
1425
1431
  icon: { source: Cr, height: 32 }
1426
1432
  },
1427
1433
  {
@@ -1434,10 +1440,10 @@ const ir = [
1434
1440
  fr,
1435
1441
  xr,
1436
1442
  mr,
1443
+ Gt,
1437
1444
  Ut,
1438
1445
  Zt,
1439
- Yt,
1440
- Xt
1446
+ Yt
1441
1447
  ], Tr = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/></svg>', Ir = {
1442
1448
  name: "Basics",
1443
1449
  icon: { source: Tr },
@@ -1453,7 +1459,7 @@ const ir = [
1453
1459
  paddingBlock: 8,
1454
1460
  borderTopWidth: 1,
1455
1461
  borderTopStyle: "solid",
1456
- borderColor: b.palette.white["1s"],
1462
+ borderColor: f.palette.white["1s"],
1457
1463
  flex: 1
1458
1464
  },
1459
1465
  children: t.map((o, r) => /* @__PURE__ */ n(Lr, { group: o }, r))
@@ -1461,25 +1467,25 @@ const ir = [
1461
1467
  )
1462
1468
  ] });
1463
1469
  }, Sr = ({ elementGroups: e }) => /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 8 }, children: e.map((t, o) => /* @__PURE__ */ n(Er, { group: t }, o)) }), Er = ({ group: e }) => {
1464
- const [t, o] = st(!0), { actions: r, connectors: i } = H();
1465
- return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", ...b.text.sm }, children: [
1470
+ const [t, o] = ot(!0), { actions: r, connectors: i } = H();
1471
+ return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", ...f.text.sm }, children: [
1466
1472
  /* @__PURE__ */ n(oe, { onClick: o, css: { paddingInline: 0, backgroundColor: "transparent" }, children: /* @__PURE__ */ w(
1467
1473
  "div",
1468
1474
  {
1469
- css: { display: "flex", alignItems: "center", justifyContent: "space-between", flex: 1, ...b.text.sm },
1475
+ css: { display: "flex", alignItems: "center", justifyContent: "space-between", flex: 1, ...f.text.sm },
1470
1476
  children: [
1471
1477
  e.name,
1472
1478
  /* @__PURE__ */ n(
1473
1479
  I,
1474
1480
  {
1475
- source: Ge,
1481
+ source: ze,
1476
1482
  css: [{ transition: "transform" }, !t && { transform: "rotate(180deg)" }]
1477
1483
  }
1478
1484
  )
1479
1485
  ]
1480
1486
  }
1481
1487
  ) }),
1482
- /* @__PURE__ */ n(Jt, { open: t, children: /* @__PURE__ */ n("div", { css: { display: "grid", paddingBlock: 8, gap: 16, gridTemplateColumns: "repeat(2, minmax(0, 1fr))" }, children: e.templates?.map((s, l) => /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", gap: 4 }, children: [
1488
+ /* @__PURE__ */ n(qt, { open: t, children: /* @__PURE__ */ n("div", { css: { display: "grid", paddingBlock: 8, gap: 16, gridTemplateColumns: "repeat(2, minmax(0, 1fr))" }, children: e.templates?.map((s, l) => /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", gap: 4 }, children: [
1483
1489
  /* @__PURE__ */ n(
1484
1490
  "div",
1485
1491
  {
@@ -1488,8 +1494,8 @@ const ir = [
1488
1494
  display: "flex",
1489
1495
  padding: 4,
1490
1496
  borderRadius: 8,
1491
- backgroundColor: b.palette.ink["6s"],
1492
- color: b.palette.white["5s"],
1497
+ backgroundColor: f.palette.ink["6s"],
1498
+ color: f.palette.white["5s"],
1493
1499
  pointerEvents: "auto",
1494
1500
  overflow: "hidden",
1495
1501
  flexDirection: "column",
@@ -1505,7 +1511,7 @@ const ir = [
1505
1511
  content: '""',
1506
1512
  position: "absolute",
1507
1513
  inset: 0,
1508
- backgroundColor: b.palette.white["1s"]
1514
+ backgroundColor: f.palette.white["1s"]
1509
1515
  }
1510
1516
  },
1511
1517
  ref: (a) => {
@@ -1515,10 +1521,10 @@ const ir = [
1515
1521
  }
1516
1522
  });
1517
1523
  },
1518
- children: s.icon && /* @__PURE__ */ n(Kt, { width: void 0, height: void 0, ...s.icon })
1524
+ children: s.icon && /* @__PURE__ */ n(Jt, { width: void 0, height: void 0, ...s.icon })
1519
1525
  }
1520
1526
  ),
1521
- /* @__PURE__ */ n("p", { css: { marginInline: "auto", textAlign: "center", ...ze.xs }, children: s.name })
1527
+ /* @__PURE__ */ n("p", { css: { marginInline: "auto", textAlign: "center", ...Ge.xs }, children: s.name })
1522
1528
  ] }, l)) }) })
1523
1529
  ] });
1524
1530
  }, Lr = ({ group: e }) => {
@@ -1529,12 +1535,12 @@ const ir = [
1529
1535
  middleware: [
1530
1536
  me(),
1531
1537
  Je({
1532
- apply({ elements: g }) {
1533
- const f = {
1538
+ apply({ elements: p }) {
1539
+ const b = {
1534
1540
  zIndex: `${Xe}`,
1535
- height: `${g.reference.getBoundingClientRect().height}px`
1541
+ height: `${p.reference.getBoundingClientRect().height}px`
1536
1542
  };
1537
- Object.assign(g.floating.style, f);
1543
+ Object.assign(p.floating.style, b);
1538
1544
  }
1539
1545
  })
1540
1546
  ],
@@ -1543,7 +1549,7 @@ const ir = [
1543
1549
  V(() => {
1544
1550
  r.setPositionReference(document.querySelector("aside"));
1545
1551
  }, [r]);
1546
- const l = Ke(s, { move: !1, handleClose: Tn() }), a = Qe(s), d = et(s), k = tt(s), { getReferenceProps: u, getFloatingProps: p } = nt([l, a, d, k]), c = e.renderer;
1552
+ const l = Ke(s, { move: !1, handleClose: yn() }), a = Qe(s), d = et(s), k = tt(s), { getReferenceProps: h, getFloatingProps: u } = nt([l, a, d, k]), c = e.renderer;
1547
1553
  return /* @__PURE__ */ w(ie, { children: [
1548
1554
  /* @__PURE__ */ w(
1549
1555
  "button",
@@ -1556,17 +1562,17 @@ const ir = [
1556
1562
  borderRadius: 8,
1557
1563
  textAlign: "left",
1558
1564
  width: "100%",
1559
- color: b.palette.white["5s"],
1565
+ color: f.palette.white["5s"],
1560
1566
  "&:hover": {
1561
- color: b.palette.white["6s"],
1562
- backgroundColor: b.palette.white["1s"],
1567
+ color: f.palette.white["6s"],
1568
+ backgroundColor: f.palette.white["1s"],
1563
1569
  fontWeight: 500
1564
1570
  }
1565
1571
  },
1566
- ...u(),
1572
+ ...h(),
1567
1573
  ref: r.setReference,
1568
1574
  children: [
1569
- e.icon && /* @__PURE__ */ n("div", { css: { padding: 6, borderRadius: 8, backgroundColor: b.palette.white["1s"] }, children: /* @__PURE__ */ n(I, { ...e.icon }) }),
1575
+ e.icon && /* @__PURE__ */ n("div", { css: { padding: 6, borderRadius: 8, backgroundColor: f.palette.white["1s"] }, children: /* @__PURE__ */ n(I, { ...e.icon }) }),
1570
1576
  /* @__PURE__ */ n(
1571
1577
  "span",
1572
1578
  {
@@ -1583,45 +1589,45 @@ const ir = [
1583
1589
  ]
1584
1590
  }
1585
1591
  ),
1586
- t && /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n("div", { style: i, ...p(), ref: r.setFloating, children: /* @__PURE__ */ w(
1592
+ t && /* @__PURE__ */ n(he, { children: /* @__PURE__ */ n("div", { style: i, ...u(), ref: r.setFloating, children: /* @__PURE__ */ w(
1587
1593
  "div",
1588
1594
  {
1589
1595
  css: {
1590
1596
  display: "flex",
1591
1597
  flexDirection: "column",
1592
1598
  height: "100%",
1593
- backgroundColor: b.palette.ink["6s"],
1594
- color: b.palette.white["6s"],
1599
+ backgroundColor: f.palette.ink["6s"],
1600
+ color: f.palette.white["6s"],
1595
1601
  borderLeftWidth: 1,
1596
1602
  borderLeftStyle: "solid",
1597
1603
  borderTopWidth: 1,
1598
1604
  borderTopStyle: "solid",
1599
- borderColor: b.palette.white["2s"],
1600
- ...b.text.sm
1605
+ borderColor: f.palette.white["2s"],
1606
+ ...f.text.sm
1601
1607
  },
1602
1608
  children: [
1603
1609
  /* @__PURE__ */ n("div", { css: { display: "flex", paddingInline: 8, alignItems: "center", height: 48 }, children: /* @__PURE__ */ n("h6", { css: { fontWeight: 500 }, children: e.name }) }),
1604
- /* @__PURE__ */ n(ce, { css: { paddingInline: 12, flex: 1 }, children: c ? /* @__PURE__ */ n(c, {}) : /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 16 }, children: e.templates?.map((g, f) => /* @__PURE__ */ Cn(Wr, { ...g, key: f })) }) })
1610
+ /* @__PURE__ */ n(ce, { css: { paddingInline: 12, flex: 1 }, children: c ? /* @__PURE__ */ n(c, {}) : /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 16 }, children: e.templates?.map((p, b) => /* @__PURE__ */ mn(Wr, { ...p, key: b })) }) })
1605
1611
  ]
1606
1612
  }
1607
1613
  ) }) })
1608
1614
  ] });
1609
1615
  }, Wr = ({ template: e, autoFocus: t = !0, onCreate: o }) => {
1610
- const [, r] = P(!1), i = $(), { actions: s, connectors: l, resolver: a, query: d } = H((u) => ({
1611
- resolver: u.options.resolver
1616
+ const [, r] = P(!1), i = $(), { actions: s, connectors: l, resolver: a, query: d } = H((h) => ({
1617
+ resolver: h.options.resolver
1612
1618
  })), k = P(() => {
1613
- const u = typeof e == "function" ? e() : e;
1614
- let p;
1615
- "rootNodeId" in u ? p = u : p = d.parseReactElement(u).toNodeTree();
1616
- const { rootNodeId: c, nodes: g } = p, f = {};
1617
- return Object.entries(g).forEach(([h, y]) => {
1618
- const m = qt(y.data, a), T = h === c ? _ : h;
1619
- f[T] = {
1619
+ const h = typeof e == "function" ? e() : e;
1620
+ let u;
1621
+ "rootNodeId" in h ? u = h : u = d.parseReactElement(h).toNodeTree();
1622
+ const { rootNodeId: c, nodes: p } = u, b = {};
1623
+ return Object.entries(p).forEach(([g, x]) => {
1624
+ const m = Xt(x.data, a), T = g === c ? _ : g;
1625
+ b[T] = {
1620
1626
  ...m,
1621
1627
  parent: m.parent === c ? _ : m.parent,
1622
1628
  nodes: m.nodes?.map((S) => S === c ? _ : S)
1623
1629
  };
1624
- }), f;
1630
+ }), b;
1625
1631
  })[0];
1626
1632
  return /* @__PURE__ */ n(
1627
1633
  "div",
@@ -1632,12 +1638,12 @@ const ir = [
1632
1638
  cursor: "grab",
1633
1639
  borderStyle: "solid",
1634
1640
  borderWidth: 1,
1635
- borderColor: b.palette.white["1s"]
1641
+ borderColor: f.palette.white["1s"]
1636
1642
  },
1637
- ref: (u) => {
1638
- u && l.create(u, e, {
1639
- onCreate(p) {
1640
- (typeof t == "function" ? t(p) : t) && s.selectNode(p.rootNodeId), o?.(p);
1643
+ ref: (h) => {
1644
+ h && l.create(h, e, {
1645
+ onCreate(u) {
1646
+ (typeof t == "function" ? t(u) : t) && s.selectNode(u.rootNodeId), o?.(u);
1641
1647
  }
1642
1648
  });
1643
1649
  },
@@ -1655,15 +1661,15 @@ const ir = [
1655
1661
  aspectRatio: "16 / 9"
1656
1662
  },
1657
1663
  children: /* @__PURE__ */ n("div", { css: { position: "absolute", inset: 0 }, children: /* @__PURE__ */ n(
1658
- pt,
1664
+ ut,
1659
1665
  {
1660
1666
  containerProps: {
1661
1667
  style: {
1662
1668
  backgroundColor: i.theme.palette.background.default
1663
1669
  }
1664
1670
  },
1665
- viewport: { width: wn.md.minWidth },
1666
- children: /* @__PURE__ */ n(rt, { resolver: a, children: /* @__PURE__ */ n(ot, { data: k }) })
1671
+ viewport: { width: bn.md.minWidth },
1672
+ children: /* @__PURE__ */ n(rt, { resolver: a, children: /* @__PURE__ */ n(In, { data: k }) })
1667
1673
  }
1668
1674
  ) })
1669
1675
  }
@@ -1696,30 +1702,30 @@ const ir = [
1696
1702
  displayName: l,
1697
1703
  children: a,
1698
1704
  depth: d
1699
- } = tn((g) => ({
1700
- expanded: g.expanded,
1701
- displayName: Ze(t.node(g.id).get())
1702
- })), { selected: k, selectable: u } = H((g, f) => {
1703
- const h = f.node(r).get();
1705
+ } = en((p) => ({
1706
+ expanded: p.expanded,
1707
+ displayName: Ze(t.node(p.id).get())
1708
+ })), { selected: k, selectable: h } = H((p, b) => {
1709
+ const g = b.node(r).get();
1704
1710
  return {
1705
- selected: f.getEvent("selected").contains(r),
1706
- nodeDOM: h.dom,
1707
- selectable: Ue(h)
1711
+ selected: b.getEvent("selected").contains(r),
1712
+ nodeDOM: g.dom,
1713
+ selectable: Ue(g)
1708
1714
  };
1709
1715
  });
1710
1716
  V(() => {
1711
1717
  r === _ && s.setExpandedState(!0);
1712
1718
  }, [s, r]), V(() => {
1713
1719
  if (a.length === 0) return;
1714
- a.some((f) => {
1715
- const h = t.getEvent("selected").all();
1716
- return h.includes(f) ? !0 : t.node(f).descendants(!0).some((m) => h.includes(m));
1720
+ a.some((b) => {
1721
+ const g = t.getEvent("selected").all();
1722
+ return g.includes(b) ? !0 : t.node(b).descendants(!0).some((m) => g.includes(m));
1717
1723
  }) && s.setExpandedState(!0);
1718
1724
  }, [a, s, t]);
1719
- const p = () => {
1725
+ const u = () => {
1720
1726
  o.selectNode(r);
1721
- }, c = (g) => {
1722
- g.stopPropagation(), s.toggleLayer();
1727
+ }, c = (p) => {
1728
+ p.stopPropagation(), s.toggleLayer();
1723
1729
  };
1724
1730
  return /* @__PURE__ */ w(
1725
1731
  "div",
@@ -1729,7 +1735,7 @@ const ir = [
1729
1735
  /* @__PURE__ */ w(
1730
1736
  "div",
1731
1737
  {
1732
- onClick: p,
1738
+ onClick: u,
1733
1739
  style: {
1734
1740
  paddingLeft: Math.max(0, d - 1) * 16
1735
1741
  },
@@ -1742,13 +1748,13 @@ const ir = [
1742
1748
  gap: 2,
1743
1749
  borderWidth: 1,
1744
1750
  borderStyle: "solid",
1745
- borderColor: b.palette.white["1s"],
1751
+ borderColor: f.palette.white["1s"],
1746
1752
  cursor: "pointer",
1747
1753
  borderRadius: 4,
1748
- "&:hover": { backgroundColor: b.palette.white["1s"] }
1754
+ "&:hover": { backgroundColor: f.palette.white["1s"] }
1749
1755
  },
1750
- !u && { pointerEvents: "none" },
1751
- k && { backgroundColor: b.palette.black["7s"] },
1756
+ !h && { pointerEvents: "none" },
1757
+ k && { backgroundColor: f.palette.black["7s"] },
1752
1758
  r === _ && { display: "none" }
1753
1759
  ],
1754
1760
  children: [
@@ -1760,7 +1766,7 @@ const ir = [
1760
1766
  i && { transform: "rotate(0deg)" }
1761
1767
  ],
1762
1768
  size: 16,
1763
- source: Ge
1769
+ source: ze
1764
1770
  }
1765
1771
  ) }) : /* @__PURE__ */ n("div", { css: { padding: 4 }, children: /* @__PURE__ */ n(I, { size: 16, source: Rr }) }),
1766
1772
  /* @__PURE__ */ n(
@@ -1773,7 +1779,7 @@ const ir = [
1773
1779
  whiteSpace: "nowrap",
1774
1780
  flex: 1
1775
1781
  },
1776
- !u && { color: b.palette.white["3s"] }
1782
+ !h && { color: f.palette.white["3s"] }
1777
1783
  ],
1778
1784
  children: l
1779
1785
  }
@@ -1800,7 +1806,7 @@ const ir = [
1800
1806
  t.start(r);
1801
1807
  };
1802
1808
  return /* @__PURE__ */ n(he, { children: /* @__PURE__ */ w(
1803
- Qt.div,
1809
+ Kt.div,
1804
1810
  {
1805
1811
  drag: !0,
1806
1812
  dragControls: t,
@@ -1811,10 +1817,10 @@ const ir = [
1811
1817
  display: "flex",
1812
1818
  flexDirection: "column",
1813
1819
  borderRadius: 6,
1814
- backgroundColor: b.palette.ink["6s"],
1820
+ backgroundColor: f.palette.ink["6s"],
1815
1821
  borderWidth: 1,
1816
1822
  borderStyle: "solid",
1817
- borderColor: b.palette.white["2s"],
1823
+ borderColor: f.palette.white["2s"],
1818
1824
  color: "white"
1819
1825
  },
1820
1826
  children: [
@@ -1837,7 +1843,7 @@ const ir = [
1837
1843
  "p",
1838
1844
  {
1839
1845
  css: {
1840
- ...b.text.sm,
1846
+ ...f.text.sm,
1841
1847
  fontWeight: 500
1842
1848
  },
1843
1849
  children: "Layers"
@@ -1856,16 +1862,16 @@ const ir = [
1856
1862
  overflow: "auto",
1857
1863
  borderTopWidth: 1,
1858
1864
  borderTopStyle: "solid",
1859
- borderColor: b.palette.white["1s"],
1865
+ borderColor: f.palette.white["1s"],
1860
1866
  flex: 1
1861
1867
  },
1862
- children: /* @__PURE__ */ n(en, { renderLayer: Ar })
1868
+ children: /* @__PURE__ */ n(Qt, { renderLayer: Ar })
1863
1869
  }
1864
1870
  )
1865
1871
  ]
1866
1872
  }
1867
1873
  ) });
1868
- }, gt = {
1874
+ }, pt = {
1869
1875
  primary: "Primary",
1870
1876
  secondary: "Secondary",
1871
1877
  red: "Red",
@@ -1875,42 +1881,42 @@ const ir = [
1875
1881
  blue: "Blue",
1876
1882
  neutral: "Neutral",
1877
1883
  violet: "Violet"
1878
- }, Br = ["primary", "secondary"], Pr = Object.keys(gt), jr = [100, 200, 300, 400, 500, 600, 700, 800], Vr = () => {
1879
- const e = $(), t = !!e.handlers.saveTheme, o = e.theme.palette, r = z(e.theme), i = z(!1);
1884
+ }, Br = ["primary", "secondary"], Pr = Object.keys(pt), jr = [100, 200, 300, 400, 500, 600, 700, 800], Vr = () => {
1885
+ const e = $(), t = !!e.handlers.saveTheme, o = e.theme.palette, r = G(e.theme), i = G(!1);
1880
1886
  V(() => {
1881
1887
  const c = r.current;
1882
1888
  return () => {
1883
1889
  i.current || e.setState({ theme: c });
1884
1890
  };
1885
1891
  }, []);
1886
- const s = (c) => o[c], l = (c, g) => {
1887
- const f = s(c), h = {
1892
+ const s = (c) => o[c], l = (c, p) => {
1893
+ const b = s(c), g = {
1888
1894
  palette: {
1889
1895
  background: o.background,
1890
1896
  border: o.border,
1891
1897
  surface: o.surface,
1892
- [c]: { main: g, contrast: f.contrast }
1898
+ [c]: { main: p, contrast: b.contrast }
1893
1899
  }
1894
1900
  };
1895
- e.setState({ theme: Ne(h) });
1896
- }, a = (c, g) => {
1897
- const f = s(c), h = {
1901
+ e.setState({ theme: Ne(g) });
1902
+ }, a = (c, p) => {
1903
+ const b = s(c), g = {
1898
1904
  palette: {
1899
1905
  background: o.background,
1900
1906
  border: o.border,
1901
1907
  surface: o.surface,
1902
- [c]: { main: f[600], contrast: g }
1908
+ [c]: { main: b[600], contrast: p }
1903
1909
  }
1904
1910
  };
1905
- e.setState({ theme: Ne(h) });
1906
- }, [d, k] = P(!1), u = async () => {
1911
+ e.setState({ theme: Ne(g) });
1912
+ }, [d, k] = P(!1), h = async () => {
1907
1913
  k(!0);
1908
1914
  try {
1909
1915
  await e.handlers.saveTheme?.(e.theme), i.current = !0;
1910
1916
  } finally {
1911
1917
  k(!1);
1912
1918
  }
1913
- }, p = () => {
1919
+ }, u = () => {
1914
1920
  e.setState({ theme: r.current, action: void 0 });
1915
1921
  };
1916
1922
  return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", height: "100%" }, children: [
@@ -1923,21 +1929,21 @@ const ir = [
1923
1929
  paddingBlock: 8,
1924
1930
  borderTopWidth: 1,
1925
1931
  borderTopStyle: "solid",
1926
- borderColor: b.palette.white["1s"],
1932
+ borderColor: f.palette.white["1s"],
1927
1933
  flex: 1
1928
1934
  },
1929
1935
  children: /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 12 }, children: Pr.map((c) => {
1930
- const g = s(c), f = Br.includes(c);
1936
+ const p = s(c), b = Br.includes(c);
1931
1937
  return /* @__PURE__ */ w("div", { css: { display: "flex", flexDirection: "column", gap: 4 }, children: [
1932
- /* @__PURE__ */ n("p", { css: { ...ze.xs, color: b.palette.white["4s"] }, children: gt[c] }),
1938
+ /* @__PURE__ */ n("p", { css: { ...Ge.xs, color: f.palette.white["4s"] }, children: pt[c] }),
1933
1939
  /* @__PURE__ */ w("div", { css: { display: "flex", alignItems: "center", gap: 8 }, children: [
1934
- t && f && /* @__PURE__ */ w("div", { css: { display: "flex", gap: 4 }, children: [
1940
+ t && b && /* @__PURE__ */ w("div", { css: { display: "flex", gap: 4 }, children: [
1935
1941
  /* @__PURE__ */ n(
1936
1942
  Ee,
1937
1943
  {
1938
1944
  hidePalette: !0,
1939
- color: g[600],
1940
- onChange: (h) => l(c, h),
1945
+ color: p[600],
1946
+ onChange: (g) => l(c, g),
1941
1947
  placement: "right-start"
1942
1948
  }
1943
1949
  ),
@@ -1945,8 +1951,8 @@ const ir = [
1945
1951
  Ee,
1946
1952
  {
1947
1953
  hidePalette: !0,
1948
- color: g.contrast,
1949
- onChange: (h) => a(c, h),
1954
+ color: p.contrast,
1955
+ onChange: (g) => a(c, g),
1950
1956
  placement: "right-start"
1951
1957
  }
1952
1958
  )
@@ -1959,7 +1965,7 @@ const ir = [
1959
1965
  gap: 4,
1960
1966
  flex: 1
1961
1967
  },
1962
- children: jr.map((h) => /* @__PURE__ */ n(
1968
+ children: jr.map((g) => /* @__PURE__ */ n(
1963
1969
  "div",
1964
1970
  {
1965
1971
  css: {
@@ -1969,18 +1975,18 @@ const ir = [
1969
1975
  padding: 1,
1970
1976
  borderWidth: 1,
1971
1977
  borderStyle: "solid",
1972
- borderColor: b.palette.white["3s"]
1978
+ borderColor: f.palette.white["3s"]
1973
1979
  },
1974
- title: `${c}.${h}`,
1980
+ title: `${c}.${g}`,
1975
1981
  children: /* @__PURE__ */ n(
1976
1982
  "div",
1977
1983
  {
1978
1984
  css: { width: "100%", height: "100%", borderRadius: 1 },
1979
- style: { backgroundColor: g[h] }
1985
+ style: { backgroundColor: p[g] }
1980
1986
  }
1981
1987
  )
1982
1988
  },
1983
- h
1989
+ g
1984
1990
  ))
1985
1991
  }
1986
1992
  )
@@ -1998,11 +2004,11 @@ const ir = [
1998
2004
  padding: 8,
1999
2005
  borderTopWidth: 1,
2000
2006
  borderTopStyle: "solid",
2001
- borderColor: b.palette.white["1s"]
2007
+ borderColor: f.palette.white["1s"]
2002
2008
  },
2003
2009
  children: [
2004
- /* @__PURE__ */ n(oe, { variant: "text", onClick: p, disabled: d, css: { flex: 1 }, children: "Cancel" }),
2005
- /* @__PURE__ */ n(oe, { onClick: u, isLoading: d, css: { flex: 1 }, children: d ? "Saving..." : "Save" })
2010
+ /* @__PURE__ */ n(oe, { variant: "text", onClick: u, disabled: d, css: { flex: 1 }, children: "Cancel" }),
2011
+ /* @__PURE__ */ n(oe, { onClick: h, isLoading: d, css: { flex: 1 }, children: d ? "Saving..." : "Save" })
2006
2012
  ]
2007
2013
  }
2008
2014
  )
@@ -2023,19 +2029,19 @@ const ir = [
2023
2029
  <path fill-rule="evenodd" clip-rule="evenodd" d="M3.59903 20.3231H7.30203C10.287 20.3231 11.782 16.7141 9.67103 14.6031V14.6031C8.11903 13.0511 5.48303 13.6221 4.71303 15.6771L3.19103 19.7351C3.08503 20.0201 3.29503 20.3231 3.59903 20.3231Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2024
2030
  </svg>
2025
2031
  `, $r = ({ insert: e }) => {
2026
- const [t, o] = st(!1), { action: r = "insert", setState: i } = $(), { actions: s, isDeletable: l, focusedNode: a } = H((p, c) => {
2027
- const g = c.getEvent("selected").first(), f = g ? c.node(g) : null;
2032
+ const [t, o] = ot(!1), { action: r = "insert", setState: i } = $(), { actions: s, isDeletable: l, focusedNode: a } = H((u, c) => {
2033
+ const p = c.getEvent("selected").first(), b = p ? c.node(p) : null;
2028
2034
  return {
2029
- enabled: p.options.enabled,
2030
- isDeletable: !!(f?.isDeletable() && (f.get().data.custom?.deletable ?? !0)),
2031
- focusedNode: f?.get()
2035
+ enabled: u.options.enabled,
2036
+ isDeletable: !!(b?.isDeletable() && (b.get().data.custom?.deletable ?? !0)),
2037
+ focusedNode: b?.get()
2032
2038
  };
2033
2039
  }), d = () => {
2034
2040
  s.selectNode();
2035
- }, k = (p) => {
2036
- s.delete(p.currentTarget.value);
2037
- }, u = (p) => {
2038
- const c = p.currentTarget.value;
2041
+ }, k = (u) => {
2042
+ s.delete(u.currentTarget.value);
2043
+ }, h = (u) => {
2044
+ const c = u.currentTarget.value;
2039
2045
  c === "layers" ? o() : (d(), i({ action: c }));
2040
2046
  };
2041
2047
  return /* @__PURE__ */ w(ie, { children: [
@@ -2046,12 +2052,12 @@ const ir = [
2046
2052
  display: "flex",
2047
2053
  position: "relative",
2048
2054
  alignItems: "stretch",
2049
- backgroundColor: b.palette.ink["6s"],
2050
- color: b.palette.white["6s"],
2055
+ backgroundColor: f.palette.ink["6s"],
2056
+ color: f.palette.white["6s"],
2051
2057
  borderTopWidth: 1,
2052
2058
  borderTopStyle: "solid",
2053
- borderColor: b.palette.white["2s"],
2054
- ...b.text.sm
2059
+ borderColor: f.palette.white["2s"],
2060
+ ...f.text.sm
2055
2061
  },
2056
2062
  children: [
2057
2063
  /* @__PURE__ */ w("div", { css: { display: "flex", paddingInline: 4, flexDirection: "column", gap: 4 }, children: [
@@ -2063,14 +2069,14 @@ const ir = [
2063
2069
  content: "Insert",
2064
2070
  placement: "right"
2065
2071
  },
2066
- onClick: u,
2072
+ onClick: h,
2067
2073
  value: "insert",
2068
2074
  css: { position: "relative" },
2069
2075
  size: "32",
2070
2076
  children: /* @__PURE__ */ n(I, { source: He })
2071
2077
  }
2072
2078
  ),
2073
- /* @__PURE__ */ n("hr", { css: { borderColor: b.palette.white["2s"] } })
2079
+ /* @__PURE__ */ n("hr", { css: { borderColor: f.palette.white["2s"] } })
2074
2080
  ] }),
2075
2081
  /* @__PURE__ */ n(
2076
2082
  W,
@@ -2079,14 +2085,14 @@ const ir = [
2079
2085
  content: "Layers",
2080
2086
  placement: "right"
2081
2087
  },
2082
- onClick: u,
2088
+ onClick: h,
2083
2089
  value: "layers",
2084
2090
  css: { position: "relative" },
2085
2091
  size: "32",
2086
2092
  children: /* @__PURE__ */ n(I, { source: Fr })
2087
2093
  }
2088
2094
  ),
2089
- /* @__PURE__ */ n("hr", { css: { borderColor: b.palette.white["2s"] } }),
2095
+ /* @__PURE__ */ n("hr", { css: { borderColor: f.palette.white["2s"] } }),
2090
2096
  /* @__PURE__ */ n(
2091
2097
  W,
2092
2098
  {
@@ -2094,7 +2100,7 @@ const ir = [
2094
2100
  content: "Theme",
2095
2101
  placement: "right"
2096
2102
  },
2097
- onClick: u,
2103
+ onClick: h,
2098
2104
  value: "theme",
2099
2105
  css: { position: "relative" },
2100
2106
  size: "32",
@@ -2113,7 +2119,7 @@ const ir = [
2113
2119
  width: 288,
2114
2120
  borderLeftWidth: 1,
2115
2121
  borderLeftStyle: "solid",
2116
- borderColor: b.palette.white["1s"]
2122
+ borderColor: f.palette.white["1s"]
2117
2123
  },
2118
2124
  children: [
2119
2125
  r === "theme" && /* @__PURE__ */ n("div", { css: { overflow: "auto", flex: 1 }, children: /* @__PURE__ */ n(Vr, {}) }),
@@ -2122,7 +2128,7 @@ const ir = [
2122
2128
  /* @__PURE__ */ w("div", { css: { display: "flex", paddingInline: 8, paddingBlock: 8, alignItems: "center", gap: 8 }, children: [
2123
2129
  /* @__PURE__ */ n(W, { onClick: d, children: /* @__PURE__ */ n(I, { source: Or }) }),
2124
2130
  /* @__PURE__ */ n("div", { css: { overflow: "hidden", flex: 1 }, children: /* @__PURE__ */ n(_e, { fullWidth: !0, value: Ze(a), size: "32" }) }),
2125
- l && /* @__PURE__ */ n(W, { value: a.id, onClick: k, children: /* @__PURE__ */ n(I, { css: { color: b.palette.red["4s"] }, source: nn }) })
2131
+ l && /* @__PURE__ */ n(W, { value: a.id, onClick: k, children: /* @__PURE__ */ n(I, { css: { color: f.palette.red["4s"] }, source: tn }) })
2126
2132
  ] }),
2127
2133
  /* @__PURE__ */ n(
2128
2134
  "div",
@@ -2132,9 +2138,9 @@ const ir = [
2132
2138
  flex: 1,
2133
2139
  borderTopWidth: 1,
2134
2140
  borderTopStyle: "solid",
2135
- borderColor: b.palette.white["1s"]
2141
+ borderColor: f.palette.white["1s"]
2136
2142
  },
2137
- children: /* @__PURE__ */ n(gn, { fallback: null, children: Ye(a.related.inspector) })
2143
+ children: /* @__PURE__ */ n(pn, { fallback: null, children: Ye(a.related.inspector) })
2138
2144
  }
2139
2145
  )
2140
2146
  ] })
@@ -2172,7 +2178,7 @@ const ir = [
2172
2178
  V(() => {
2173
2179
  r.setReference(e);
2174
2180
  }, [e, r]);
2175
- const i = fn((s) => r.setFloating(s), [r]);
2181
+ const i = gn((s) => r.setFloating(s), [r]);
2176
2182
  return e ? /* @__PURE__ */ n(he, { root: t?.body, children: /* @__PURE__ */ n(
2177
2183
  "div",
2178
2184
  {
@@ -2183,25 +2189,25 @@ const ir = [
2183
2189
  zIndex: 9999,
2184
2190
  borderWidth: 1,
2185
2191
  borderStyle: "dashed",
2186
- borderColor: b.palette.ink["6s"]
2192
+ borderColor: f.palette.ink["6s"]
2187
2193
  }
2188
2194
  }
2189
2195
  ) }) : null;
2190
- }, Gr = ({ render: e }) => {
2196
+ }, zr = ({ render: e }) => {
2191
2197
  const { id: t, toolbar: o } = ke((s) => ({
2192
- toolbar: an(s).toolbar
2198
+ toolbar: sn(s).toolbar
2193
2199
  })), { mode: r } = $(), { isActiveSelectable: i } = H((s, l) => {
2194
2200
  const a = l.getEvent("selected").contains(t) && t !== _, d = a ? Ue(l.node(t).get()) : !1;
2195
2201
  return { isActiveSelectable: a && d };
2196
2202
  });
2197
2203
  return /* @__PURE__ */ w(ie, { children: [
2198
2204
  i && r === "full" && /* @__PURE__ */ w(ie, { children: [
2199
- /* @__PURE__ */ n(zr, { children: o ? Ye(o) : /* @__PURE__ */ n(Ur, {}) }),
2205
+ /* @__PURE__ */ n(Gr, { children: o ? Ye(o) : /* @__PURE__ */ n(Ur, {}) }),
2200
2206
  /* @__PURE__ */ n(_r, {})
2201
2207
  ] }),
2202
2208
  e
2203
2209
  ] });
2204
- }, zr = ({ children: e }) => {
2210
+ }, Gr = ({ children: e }) => {
2205
2211
  const { dom: t } = ke((s) => ({ dom: s.dom })), { document: o } = Ce(), { floatingStyles: r, refs: i } = le({
2206
2212
  open: !0,
2207
2213
  placement: "bottom-start",
@@ -2216,8 +2222,8 @@ const ir = [
2216
2222
  css: {
2217
2223
  paddingBlock: 4,
2218
2224
  paddingInline: 6,
2219
- backgroundColor: b.palette.ink["6s"],
2220
- color: b.palette.white["6s"],
2225
+ backgroundColor: f.palette.ink["6s"],
2226
+ color: f.palette.white["6s"],
2221
2227
  borderRadius: 4
2222
2228
  },
2223
2229
  ref: i.setFloating,
@@ -2234,9 +2240,9 @@ const ir = [
2234
2240
  gap: 4
2235
2241
  },
2236
2242
  children: [
2243
+ /* @__PURE__ */ n(nn, {}),
2237
2244
  /* @__PURE__ */ n(rn, {}),
2238
- /* @__PURE__ */ n(on, {}),
2239
- /* @__PURE__ */ n(sn, {})
2245
+ /* @__PURE__ */ n(on, {})
2240
2246
  ]
2241
2247
  }
2242
2248
  ), To = ({
@@ -2244,8 +2250,8 @@ const ir = [
2244
2250
  insert: t,
2245
2251
  resolver: o,
2246
2252
  handlers: r,
2247
- serializedNodes: i,
2248
- variableDefinitions: s,
2253
+ variableDefinitions: i,
2254
+ headerActions: s,
2249
2255
  children: l
2250
2256
  }) => {
2251
2257
  const { screen: a } = $({
@@ -2253,9 +2259,9 @@ const ir = [
2253
2259
  handlers: r,
2254
2260
  mode: "full",
2255
2261
  screen: "xs",
2256
- variableDefinitions: s
2262
+ variableDefinitions: i
2257
2263
  });
2258
- return /* @__PURE__ */ w(rt, { enabled: !0, onRender: Gr, resolver: o, children: [
2264
+ return /* @__PURE__ */ w(rt, { enabled: !0, onRender: zr, resolver: o, children: [
2259
2265
  /* @__PURE__ */ w(
2260
2266
  "div",
2261
2267
  {
@@ -2268,23 +2274,23 @@ const ir = [
2268
2274
  color: fe.white["6s"]
2269
2275
  },
2270
2276
  children: [
2271
- /* @__PURE__ */ n(dr, {}),
2277
+ /* @__PURE__ */ n(dr, { actions: s }),
2272
2278
  /* @__PURE__ */ w("div", { css: { display: "flex", overflow: "hidden", flex: 1 }, children: [
2273
2279
  /* @__PURE__ */ n($r, { insert: t }),
2274
2280
  /* @__PURE__ */ n(
2275
- pt,
2281
+ ut,
2276
2282
  {
2277
2283
  viewport: {
2278
2284
  width: (d) => a === "lg" ? Math.max(d, Le[a]) : Le[a]
2279
2285
  },
2280
- children: i ? /* @__PURE__ */ n(ot, { data: i }) : l
2286
+ children: l
2281
2287
  }
2282
2288
  )
2283
2289
  ] })
2284
2290
  ]
2285
2291
  }
2286
2292
  ),
2287
- /* @__PURE__ */ n(cn, {})
2293
+ /* @__PURE__ */ n(an, {})
2288
2294
  ] });
2289
2295
  };
2290
2296
  export {
@@ -2296,11 +2302,11 @@ export {
2296
2302
  Ro as ColorPickerContent,
2297
2303
  Ee as ColorPickerPopover,
2298
2304
  Ao as ColorPreview,
2299
- Wt as ColorToolbar,
2305
+ Lt as ColorToolbar,
2300
2306
  Do as ColorVariantToolbar,
2301
2307
  Bo as ColumnGapToolbar,
2302
- Rt as CssFontWeightToolbar,
2303
- yt as CssSizeInput,
2308
+ Nt as CssFontWeightToolbar,
2309
+ xt as CssSizeInput,
2304
2310
  Po as CssTextAlignToolbar,
2305
2311
  jo as CssWidthToolbar,
2306
2312
  ko as DegreePicker,
@@ -2310,21 +2316,21 @@ export {
2310
2316
  vo as FlexToolbar,
2311
2317
  Fo as FlexWrapToolbar,
2312
2318
  Oo as FontSizeToolbar,
2313
- pt as FramePreview,
2319
+ ut as FramePreview,
2314
2320
  Ho as GridAlignItemsToolbar,
2315
2321
  $o as HeightToolbar,
2316
2322
  _o as HtmlAnchorTargetToolbar,
2317
- Go as ImageSourceSelection,
2318
- zo as InsertInlineToolbar,
2323
+ zo as ImageSourceSelection,
2324
+ Go as InsertInlineToolbar,
2319
2325
  Uo as InsertLinkToolbar,
2320
2326
  Zo as JustifyContentToolbar,
2321
2327
  Yo as JustifyItemsToolbar,
2322
2328
  mo as LineHeightToolbar,
2323
2329
  Xo as MarginToolbar,
2324
2330
  xo as MinWidthToolbar,
2325
- sn as NodeDeleteToolbar,
2326
- rn as NodeDragToolbar,
2327
- on as NodeNameToolbar,
2331
+ on as NodeDeleteToolbar,
2332
+ nn as NodeDragToolbar,
2333
+ rn as NodeNameToolbar,
2328
2334
  qo as NumberField,
2329
2335
  Jo as NumberFieldMixOptions,
2330
2336
  Ko as ObjectFitToolbar,
@@ -2333,16 +2339,16 @@ export {
2333
2339
  ts as RowGapToolbar,
2334
2340
  ns as SvgSourceToolbar,
2335
2341
  rs as TagNameToolbar,
2336
- Lt as TextSizeVariantToolbar,
2342
+ Et as TextSizeVariantToolbar,
2337
2343
  yo as TextStyleGroupToolbar,
2338
- Nt as TextStyleToolbar,
2339
- At as TextTransformToolbar,
2344
+ Wt as TextStyleToolbar,
2345
+ Rt as TextTransformToolbar,
2340
2346
  J as ToolbarField,
2341
2347
  os as ToolbarGroup,
2342
2348
  ss as VisibilityToolbar,
2343
2349
  oe as WbButton,
2344
- Dt as WbButtonGroup,
2345
- Jt as WbCollapse,
2350
+ At as WbButtonGroup,
2351
+ qt as WbCollapse,
2346
2352
  is as WbColorPicker,
2347
2353
  as as WbDatePicker,
2348
2354
  go as WbDialog,
@@ -2353,26 +2359,26 @@ export {
2353
2359
  hs as WbDropzone,
2354
2360
  Ln as WbFloating,
2355
2361
  us as WbFloatingClose,
2356
- wt as WbFloatingContent,
2357
- bt as WbFloatingContext,
2362
+ bt as WbFloatingContent,
2363
+ ft as WbFloatingContext,
2358
2364
  wo as WbFormLabel,
2359
2365
  I as WbIcon,
2360
2366
  W as WbIconButton,
2361
2367
  _e as WbInput,
2362
- Ct as WbInputNumber,
2368
+ mt as WbInputNumber,
2363
2369
  ps as WbLoadingOverlay,
2364
2370
  gs as WbMenu,
2365
2371
  fs as WbMenuItem,
2366
2372
  bs as WbMenuList,
2367
2373
  ws as WbMenuTrigger,
2368
- Tt as WbPopover,
2369
- Et as WbPopoverClose,
2370
- St as WbPopoverContent,
2371
- It as WbPopoverTrigger,
2374
+ yt as WbPopover,
2375
+ St as WbPopoverClose,
2376
+ Mt as WbPopoverContent,
2377
+ Tt as WbPopoverTrigger,
2372
2378
  Oe as WbRadioButton,
2373
2379
  ce as WbScrollView,
2374
- xt as WbSelect,
2375
- Kt as WbSvgLoader,
2380
+ vt as WbSelect,
2381
+ Jt as WbSvgLoader,
2376
2382
  ks as WbSwitch,
2377
2383
  ms as WbTab,
2378
2384
  Cs as WbTabContent,
@@ -2388,5 +2394,5 @@ export {
2388
2394
  $ as useEditor,
2389
2395
  Ls as useEditorResponsive,
2390
2396
  Ws as useInlineEditable,
2391
- kt as useWbFloatingContext
2397
+ wt as useWbFloatingContext
2392
2398
  };