@janbox/storefront-builder 2.0.3 → 2.0.4

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.
Files changed (35) hide show
  1. package/dist/{countdown-timer.node-CZrTzirS.js → countdown-timer.node-CZA-i5xq.js} +1001 -1043
  2. package/dist/editor/ui/floating/wb-floating/types.d.ts +2 -2
  3. package/dist/editor/ui/floating/wb-floating/wb-floating.d.ts +2 -0
  4. package/dist/editor.js +702 -662
  5. package/dist/hooks/use-composer.d.ts +464 -0
  6. package/dist/index-B58cYfCo.js +4 -0
  7. package/dist/{index-CdI5y-ul.js → index-ekIAycpt.js} +2 -2
  8. package/dist/index.js +4 -4
  9. package/dist/lib/accordion/accordion.node/helpers.d.ts +3 -0
  10. package/dist/lib/accordion-group/accordion-group.node/helpers.d.ts +3 -0
  11. package/dist/lib/box/box.node/helpers.d.ts +3 -0
  12. package/dist/lib/button/button.node/helpers.d.ts +3 -0
  13. package/dist/lib/cell/cell.node/helpers.d.ts +3 -0
  14. package/dist/lib/container/container.node/helpers.d.ts +3 -0
  15. package/dist/lib/countdown-timer/countdown-timer.node/helpers.d.ts +3 -0
  16. package/dist/lib/flex-item/flex-item.node/helpers.d.ts +3 -0
  17. package/dist/lib/flexbox/flexbox.node/helpers.d.ts +3 -0
  18. package/dist/lib/grid/grid.node/helpers.d.ts +3 -0
  19. package/dist/lib/heading/heading.node/helpers.d.ts +3 -0
  20. package/dist/lib/icon/icon.node/helpers.d.ts +3 -0
  21. package/dist/lib/image/image.node/helpers.d.ts +3 -0
  22. package/dist/lib/link/link.node/helpers.d.ts +3 -0
  23. package/dist/lib/list-item/list-item.node/helpers.d.ts +3 -0
  24. package/dist/lib/marquee/marquee.node/helpers.d.ts +3 -0
  25. package/dist/lib/paragraph/paragraph.node/helpers.d.ts +3 -0
  26. package/dist/lib/swiper/swiper.node/helpers.d.ts +3 -0
  27. package/dist/lib/tab/tab.node/helpers.d.ts +3 -0
  28. package/dist/lib/tab-panel/tab-panel.node/helpers.d.ts +3 -0
  29. package/dist/lib/tabs/tabs.node/helpers.d.ts +3 -0
  30. package/dist/lib/unordered-list/unordered-list.node/helpers.d.ts +3 -0
  31. package/dist/lib/video/video.node/helpers.d.ts +3 -0
  32. package/dist/templates.js +1 -1
  33. package/dist/{tooltip-npH7aBjY.js → tooltip-BFrdgixm.js} +1 -1
  34. package/package.json +2 -1
  35. package/dist/index-B1b2lC5K.js +0 -4
package/dist/editor.js CHANGED
@@ -1,19 +1,19 @@
1
- import { jsx as n, jsxs as g, Fragment as je } from "@emotion/react/jsx-runtime";
2
- import { Z as y2, _ as M2, $ as L2, t as p, a0 as I2, g as U, a1 as Ce, a2 as Te, a3 as Se, Q as T2, a4 as _e, a5 as E, a6 as M, b as ve, M as Fe, a7 as S2, a8 as N2, a9 as A2, aa as Oe, K as E2, N as B2, f as O, X as S, H as ze, P as ae, V as Ze, S as xe, G as $e, a as ge, m as Ge, F as fe, q as be, B as Ue, I as qe, n as Ye, L as Xe, y as R2, x as Ke, j as Je, A as Qe, l as e2, C as t2, ab as n2, c as V2, d as W2, e as P2, r as r2, p as o2, s as D2, v as H2, T as j2, w as _2, ac as s2, ad as F2, ae as O2, af as z2, ag as Z2, E as i2, O as $2, R as G2 } from "./countdown-timer.node-CZrTzirS.js";
3
- import { ah as pr, ai as Cr, aj as gr, ak as fr, al as wr, am as mr, an as kr, ao as vr, ap as xr, aq as br, ar as yr, as as Mr, at as Lr, au as Ir, av as Tr } from "./countdown-timer.node-CZrTzirS.js";
4
- import { useNode as U2, ROOT_NODE as z, serializeNode as q2 } from "@craftjs/core";
5
- import { isValidElement as Y2, useState as H, useRef as de, useEffect as K, createElement as a2, Fragment as ce, Suspense as X2 } from "react";
1
+ import { jsx as n, jsxs as m, Fragment as _e } from "@emotion/react/jsx-runtime";
2
+ import { Z as R2, _ as V2, $ as W2, t as w, a0 as P2, g as q, a1 as Ce, a2 as Te, a3 as Se, Q as H2, a4 as Fe, a5 as B, a6 as M, b as ve, M as Oe, a7 as D2, a8 as j2, a9 as _2, aa as ze, K as F2, N as O2, f as z, X as S, H as Ze, P as ae, V as $e, S as be, G as Ge, a as ge, m as Ue, F as fe, q as xe, B as qe, I as Ye, n as Xe, L as Ke, y as z2, x as Je, j as Qe, A as e2, l as t2, C as n2, ab as r2, c as Z2, d as $2, e as G2, r as o2, p as s2, s as U2, v as q2, T as Y2, w as X2, ac as i2, ad as K2, ae as J2, af as Q2, ag as et, E as a2, O as tt, R as nt } from "./countdown-timer.node-CZA-i5xq.js";
3
+ import { ah as br, ai as xr, aj as yr, ak as Mr, al as Ir, am as Lr, an as Tr, ao as Sr, ap as Nr, aq as Er, ar as Ar, as as Br, at as Rr, au as Vr } from "./countdown-timer.node-CZA-i5xq.js";
4
+ import { useNode as rt, ROOT_NODE as Z, serializeNode as ot } from "@craftjs/core";
5
+ import { useImperativeHandle as st, useMemo as it, isValidElement as at, useState as j, useRef as de, useEffect as J, createElement as c2, Fragment as ce, Suspense as ct } from "react";
6
6
  import "flat";
7
- import { throttle as K2, isFunction as Ne, isNumber as J, isNil as Z, isString as Ae, isEqual as J2, times as F } from "lodash-es";
7
+ import { throttle as lt, isFunction as Ne, isNumber as Q, isNil as $, isString as Ee, isEqual as dt, times as O } from "lodash-es";
8
8
  import "@janbox/storefront-ui";
9
- import { W as ye, X as q, Y as c2, Z as Q2, _ as et, $ as tt, a0 as nt, a1 as rt, a2 as ot, a3 as st, a4 as it, a5 as at, D as ct, a as lt, H as dt, P as ht, l as ut, i as pt, G as Ct, c as gt, g as ft, F as wt, M as mt, b as kt, h as vt, I as xt, L as bt, U as yt, j as Mt, B as Lt, A as It, f as Tt, e as St, a6 as Nt, a7 as At, R as k, d as l2, C as d2, a8 as h2, a9 as Et, aa as Ee } from "./index-CdI5y-ul.js";
10
- import { ab as Nr, ac as Ar, ad as Er, ae as Br, af as Rr, ag as Vr, ah as Wr, ai as Pr, aj as Dr, ak as Hr, al as jr, am as _r, an as Fr, ao as Or, ap as zr, aq as Zr, ar as $r, as as Gr, at as Ur, au as qr, av as Yr, aw as Xr, ax as Kr, ay as Jr, az as Qr, aA as eo, aB as to, aC as no, T as ro, aD as oo, aE as so, aF as io, aG as ao, aH as co, aI as lo, aJ as ho, aK as uo, aL as po, aM as Co, aN as go, aO as fo } from "./index-CdI5y-ul.js";
9
+ import { W as ye, X as Y, Y as l2, Z as ht, _ as ut, $ as pt, a0 as Ct, a1 as gt, a2 as ft, a3 as wt, a4 as mt, a5 as kt, D as vt, a as bt, H as xt, P as yt, l as Mt, i as It, G as Lt, c as Tt, g as St, F as Nt, M as Et, b as At, h as Bt, I as Rt, L as Vt, U as Wt, j as Pt, B as Ht, A as Dt, f as jt, e as _t, a6 as Ft, a7 as Ot, R as k, d as d2, C as h2, a8 as u2, a9 as zt, aa as Ae } from "./index-ekIAycpt.js";
10
+ import { ab as Pr, ac as Hr, ad as Dr, ae as jr, af as _r, ag as Fr, ah as Or, ai as zr, aj as Zr, ak as $r, al as Gr, am as Ur, an as qr, ao as Yr, ap as Xr, aq as Kr, ar as Jr, as as Qr, at as eo, au as to, av as no, aw as ro, ax as oo, ay as so, az as io, aA as ao, aB as co, aC as lo, T as ho, aD as uo, aE as po, aF as Co, aG as go, aH as fo, aI as wo, aJ as mo, aK as ko, aL as vo, aM as bo, aN as xo, aO as yo } from "./index-ekIAycpt.js";
11
11
  import "@janbox/storefront-ui/utils";
12
12
  import "@janbox/storefront-ui/hooks";
13
- import { CacheProvider as Bt, Global as Rt, createElement as Vt } from "@emotion/react";
14
- import { useFloating as Wt, autoUpdate as Pt, flip as Dt, size as Ht, useHover as jt, safePolygon as _t, useFocus as Ft, useDismiss as Ot, useRole as zt, useInteractions as Zt, FloatingPortal as u2 } from "@floating-ui/react";
13
+ import { CacheProvider as Zt, Global as $t, createElement as Gt } from "@emotion/react";
14
+ import { useFloatingParentNodeId as Ut, FloatingTree as qt, useFloating as p2, autoUpdate as C2, offset as Yt, size as g2, flip as f2, useClick as Xt, useHover as w2, useFocus as m2, useDismiss as k2, useRole as v2, useInteractions as b2, safePolygon as Kt, FloatingPortal as x2 } from "@floating-ui/react";
15
15
  import "react-use";
16
- import { FLOATING_Z_INDEX as p2, ThemeProvider as $t, getColorVar as Be, breakpoint as Gt } from "@janbox/storefront-ui/theme";
16
+ import { FLOATING_Z_INDEX as y2, ThemeProvider as Jt, getColorVar as Be, breakpoint as Qt } from "@janbox/storefront-ui/theme";
17
17
  import "react-colorful";
18
18
  import "overlayscrollbars-react";
19
19
  import "@tanstack/react-virtual";
@@ -24,13 +24,13 @@ import "@tiptap/extension-text-style";
24
24
  import "@tiptap/react";
25
25
  import "@tiptap/react/menus";
26
26
  import "@tiptap/starter-kit";
27
- import Ut, { useFrame as qt } from "react-frame-component";
27
+ import e1, { useFrame as t1 } from "react-frame-component";
28
28
  import "@hello-pangea/dnd";
29
- import { useToggle as C2 } from "usehooks-ts";
30
- import Yt from "dayjs";
31
- import { Layers as Xt, useLayer as Kt } from "@craftjs/layers";
32
- import { W as mo } from "./tooltip-npH7aBjY.js";
33
- class Jt {
29
+ import { useToggle as M2 } from "usehooks-ts";
30
+ import n1 from "dayjs";
31
+ import { Layers as r1, useLayer as o1 } from "@craftjs/layers";
32
+ import { W as Io } from "./tooltip-BFrdgixm.js";
33
+ class s1 {
34
34
  constructor() {
35
35
  this.componentControls = /* @__PURE__ */ new Set();
36
36
  }
@@ -63,26 +63,66 @@ class Jt {
63
63
  });
64
64
  }
65
65
  }
66
- const Qt = () => new Jt();
67
- function e1() {
68
- return y2(Qt);
66
+ const i1 = () => new s1();
67
+ function a1() {
68
+ return R2(i1);
69
69
  }
70
- const Qn = ({ width: e = 600, children: t, ...o }) => /* @__PURE__ */ n(
71
- M2,
70
+ const c1 = (e) => Ut() ? /* @__PURE__ */ n(Re, { ...e }) : /* @__PURE__ */ n(qt, { children: /* @__PURE__ */ n(Re, { ...e }) }), Re = ({
71
+ open: e,
72
+ placement: t = "bottom",
73
+ onOpenChange: o,
74
+ dismissProps: r = {
75
+ enabled: !1
76
+ },
77
+ children: i,
78
+ clickProps: s = {
79
+ enabled: !1
80
+ },
81
+ focusProps: c = {
82
+ enabled: !1
83
+ },
84
+ hoverProps: a = {
85
+ enabled: !1
86
+ },
87
+ elements: l,
88
+ offsetOptions: f = 4,
89
+ sizeOptions: d,
90
+ autoUpdateOptions: h,
91
+ ref: u
92
+ }) => {
93
+ const C = p2({
94
+ open: e,
95
+ onOpenChange: o,
96
+ placement: t,
97
+ middleware: [Yt(f), g2(d), f2()],
98
+ whileElementsMounted: (...W) => C2(...W, h),
99
+ elements: l
100
+ });
101
+ st(u, () => C, [C]);
102
+ const { context: p } = C, g = Xt(p, s), I = w2(p, a), v = m2(p, c), L = k2(p, r), N = v2(p), _ = b2([g, L, N, I, v]), D = it(
103
+ () => ({
104
+ ...C,
105
+ ..._
106
+ }),
107
+ [C, _]
108
+ );
109
+ return /* @__PURE__ */ n(V2.Provider, { value: D, children: i });
110
+ }, ar = ({ width: e = 600, children: t, ...o }) => /* @__PURE__ */ n(
111
+ c1,
72
112
  {
73
113
  dismissProps: {
74
114
  enabled: !0
75
115
  },
76
116
  ...o,
77
- children: /* @__PURE__ */ g(
78
- L2,
117
+ children: /* @__PURE__ */ m(
118
+ W2,
79
119
  {
80
120
  floatingOverlayProps: {
81
121
  disabled: !1,
82
122
  className: "grid place-items-center p-4 sm:p-5 md:p-6",
83
123
  lockScroll: !0,
84
124
  style: {
85
- zIndex: p2
125
+ zIndex: y2
86
126
  }
87
127
  },
88
128
  css: { display: "flex", overflow: "hidden", flexDirection: "column", maxWidth: "100%", maxHeight: "100%" },
@@ -110,7 +150,7 @@ const Qn = ({ width: e = 600, children: t, ...o }) => /* @__PURE__ */ n(
110
150
  flexDirection: "column",
111
151
  overflow: "hidden",
112
152
  borderRadius: 8,
113
- backgroundColor: p.palette.ink["6s"],
153
+ backgroundColor: w.palette.ink["6s"],
114
154
  maxWidth: "100%",
115
155
  color: "white"
116
156
  },
@@ -121,23 +161,23 @@ const Qn = ({ width: e = 600, children: t, ...o }) => /* @__PURE__ */ n(
121
161
  }
122
162
  )
123
163
  }
124
- ), er = () => I2(), tr = ({ ref: e, ...t }) => /* @__PURE__ */ n(
164
+ ), cr = () => P2(), lr = ({ ref: e, ...t }) => /* @__PURE__ */ n(
125
165
  ye,
126
166
  {
127
- css: { paddingBlock: 12, paddingInline: 20, flex: 1, overflow: "auto", ...p.text.xs },
167
+ css: { paddingBlock: 12, paddingInline: 20, flex: 1, overflow: "auto", ...w.text.xs },
128
168
  ...t,
129
169
  ref: e
130
170
  }
131
- ), nr = ({ required: e, children: t, ...o }) => /* @__PURE__ */ g("div", { css: { marginBottom: 6, display: "flex", width: "fit-content" }, ...o, children: [
132
- Y2(t) ? t : /* @__PURE__ */ n("label", { children: t }),
133
- e && /* @__PURE__ */ n("span", { css: { color: p.palette.red["6s"] }, children: " *" })
134
- ] }), rr = () => {
135
- const [e, t] = H(0), [o, r] = H(!1), i = de(null), s = (f, d) => {
171
+ ), dr = ({ required: e, children: t, ...o }) => /* @__PURE__ */ m("div", { css: { marginBottom: 6, display: "flex", width: "fit-content" }, ...o, children: [
172
+ at(t) ? t : /* @__PURE__ */ n("label", { children: t }),
173
+ e && /* @__PURE__ */ n("span", { css: { color: w.palette.red["6s"] }, children: " *" })
174
+ ] }), hr = () => {
175
+ const [e, t] = j(0), [o, r] = j(!1), i = de(null), s = (f, d) => {
136
176
  if (!i.current) return 0;
137
- const h = i.current.getBoundingClientRect(), u = h.left + h.width / 2, m = h.top + h.height / 2, w = f - u, C = d - m;
138
- return (Math.atan2(C, w) * (180 / Math.PI) + 360) % 360;
177
+ const h = i.current.getBoundingClientRect(), u = h.left + h.width / 2, C = h.top + h.height / 2, p = f - u, g = d - C;
178
+ return (Math.atan2(g, p) * (180 / Math.PI) + 360) % 360;
139
179
  };
140
- return /* @__PURE__ */ g(
180
+ return /* @__PURE__ */ m(
141
181
  "div",
142
182
  {
143
183
  style: {
@@ -155,12 +195,12 @@ const Qn = ({ width: e = 600, children: t, ...o }) => /* @__PURE__ */ n(
155
195
  r(!1);
156
196
  },
157
197
  children: [
158
- /* @__PURE__ */ g("h3", { children: [
198
+ /* @__PURE__ */ m("h3", { children: [
159
199
  "Chọn độ: ",
160
200
  e,
161
201
  "°"
162
202
  ] }),
163
- /* @__PURE__ */ g(
203
+ /* @__PURE__ */ m(
164
204
  "svg",
165
205
  {
166
206
  ref: i,
@@ -203,18 +243,18 @@ const Qn = ({ width: e = 600, children: t, ...o }) => /* @__PURE__ */ n(
203
243
  }
204
244
  );
205
245
  };
206
- function t1(e) {
246
+ function l1(e) {
207
247
  if (e.sheet)
208
248
  return e.sheet;
209
249
  for (var t = 0; t < document.styleSheets.length; t++)
210
250
  if (document.styleSheets[t].ownerNode === e)
211
251
  return document.styleSheets[t];
212
252
  }
213
- function n1(e) {
253
+ function d1(e) {
214
254
  var t = document.createElement("style");
215
255
  return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
216
256
  }
217
- var r1 = /* @__PURE__ */ (function() {
257
+ var h1 = /* @__PURE__ */ (function() {
218
258
  function e(o) {
219
259
  var r = this;
220
260
  this._insertTag = function(i) {
@@ -226,10 +266,10 @@ var r1 = /* @__PURE__ */ (function() {
226
266
  return t.hydrate = function(r) {
227
267
  r.forEach(this._insertTag);
228
268
  }, t.insert = function(r) {
229
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(n1(this));
269
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(d1(this));
230
270
  var i = this.tags[this.tags.length - 1];
231
271
  if (this.isSpeedy) {
232
- var s = t1(i);
272
+ var s = l1(i);
233
273
  try {
234
274
  s.insertRule(r, s.cssRules.length);
235
275
  } catch {
@@ -243,14 +283,14 @@ var r1 = /* @__PURE__ */ (function() {
243
283
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
244
284
  }), this.tags = [], this.ctr = 0;
245
285
  }, e;
246
- })(), A = "-ms-", le = "-moz-", v = "-webkit-", g2 = "comm", Me = "rule", Le = "decl", o1 = "@import", f2 = "@keyframes", s1 = "@layer", i1 = Math.abs, he = String.fromCharCode, a1 = Object.assign;
247
- function c1(e, t) {
248
- return N(e, 0) ^ 45 ? (((t << 2 ^ N(e, 0)) << 2 ^ N(e, 1)) << 2 ^ N(e, 2)) << 2 ^ N(e, 3) : 0;
286
+ })(), A = "-ms-", le = "-moz-", b = "-webkit-", I2 = "comm", Me = "rule", Ie = "decl", u1 = "@import", L2 = "@keyframes", p1 = "@layer", C1 = Math.abs, he = String.fromCharCode, g1 = Object.assign;
287
+ function f1(e, t) {
288
+ return E(e, 0) ^ 45 ? (((t << 2 ^ E(e, 0)) << 2 ^ E(e, 1)) << 2 ^ E(e, 2)) << 2 ^ E(e, 3) : 0;
249
289
  }
250
- function w2(e) {
290
+ function T2(e) {
251
291
  return e.trim();
252
292
  }
253
- function l1(e, t) {
293
+ function w1(e, t) {
254
294
  return (e = t.exec(e)) ? e[0] : e;
255
295
  }
256
296
  function x(e, t, o) {
@@ -259,50 +299,50 @@ function x(e, t, o) {
259
299
  function we(e, t) {
260
300
  return e.indexOf(t);
261
301
  }
262
- function N(e, t) {
302
+ function E(e, t) {
263
303
  return e.charCodeAt(t) | 0;
264
304
  }
265
- function Q(e, t, o) {
305
+ function ee(e, t, o) {
266
306
  return e.slice(t, o);
267
307
  }
268
308
  function P(e) {
269
309
  return e.length;
270
310
  }
271
- function Ie(e) {
311
+ function Le(e) {
272
312
  return e.length;
273
313
  }
274
314
  function re(e, t) {
275
315
  return t.push(e), e;
276
316
  }
277
- function d1(e, t) {
317
+ function m1(e, t) {
278
318
  return e.map(t).join("");
279
319
  }
280
- var ue = 1, G = 1, m2 = 0, R = 0, T = 0, Y = "";
320
+ var ue = 1, U = 1, S2 = 0, R = 0, T = 0, X = "";
281
321
  function pe(e, t, o, r, i, s, c) {
282
- return { value: e, root: t, parent: o, type: r, props: i, children: s, line: ue, column: G, length: c, return: "" };
322
+ return { value: e, root: t, parent: o, type: r, props: i, children: s, line: ue, column: U, length: c, return: "" };
283
323
  }
284
- function X(e, t) {
285
- return a1(pe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
324
+ function K(e, t) {
325
+ return g1(pe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
286
326
  }
287
- function h1() {
327
+ function k1() {
288
328
  return T;
289
329
  }
290
- function u1() {
291
- return T = R > 0 ? N(Y, --R) : 0, G--, T === 10 && (G = 1, ue--), T;
330
+ function v1() {
331
+ return T = R > 0 ? E(X, --R) : 0, U--, T === 10 && (U = 1, ue--), T;
292
332
  }
293
333
  function V() {
294
- return T = R < m2 ? N(Y, R++) : 0, G++, T === 10 && (G = 1, ue++), T;
334
+ return T = R < S2 ? E(X, R++) : 0, U++, T === 10 && (U = 1, ue++), T;
295
335
  }
296
- function D() {
297
- return N(Y, R);
336
+ function H() {
337
+ return E(X, R);
298
338
  }
299
339
  function oe() {
300
340
  return R;
301
341
  }
302
- function te(e, t) {
303
- return Q(Y, e, t);
342
+ function ne(e, t) {
343
+ return ee(X, e, t);
304
344
  }
305
- function ee(e) {
345
+ function te(e) {
306
346
  switch (e) {
307
347
  // \0 \t \n \r \s whitespace token
308
348
  case 0:
@@ -340,24 +380,24 @@ function ee(e) {
340
380
  }
341
381
  return 0;
342
382
  }
343
- function k2(e) {
344
- return ue = G = 1, m2 = P(Y = e), R = 0, [];
383
+ function N2(e) {
384
+ return ue = U = 1, S2 = P(X = e), R = 0, [];
345
385
  }
346
- function v2(e) {
347
- return Y = "", e;
386
+ function E2(e) {
387
+ return X = "", e;
348
388
  }
349
389
  function se(e) {
350
- return w2(te(R - 1, me(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
390
+ return T2(ne(R - 1, me(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
351
391
  }
352
- function p1(e) {
353
- for (; (T = D()) && T < 33; )
392
+ function b1(e) {
393
+ for (; (T = H()) && T < 33; )
354
394
  V();
355
- return ee(e) > 2 || ee(T) > 3 ? "" : " ";
395
+ return te(e) > 2 || te(T) > 3 ? "" : " ";
356
396
  }
357
- function C1(e, t) {
397
+ function x1(e, t) {
358
398
  for (; --t && V() && !(T < 48 || T > 102 || T > 57 && T < 65 || T > 70 && T < 97); )
359
399
  ;
360
- return te(e, oe() + (t < 6 && D() == 32 && V() == 32));
400
+ return ne(e, oe() + (t < 6 && H() == 32 && V() == 32));
361
401
  }
362
402
  function me(e) {
363
403
  for (; V(); )
@@ -381,189 +421,189 @@ function me(e) {
381
421
  }
382
422
  return R;
383
423
  }
384
- function g1(e, t) {
424
+ function y1(e, t) {
385
425
  for (; V() && e + T !== 57; )
386
- if (e + T === 84 && D() === 47)
426
+ if (e + T === 84 && H() === 47)
387
427
  break;
388
- return "/*" + te(t, R - 1) + "*" + he(e === 47 ? e : V());
428
+ return "/*" + ne(t, R - 1) + "*" + he(e === 47 ? e : V());
389
429
  }
390
- function f1(e) {
391
- for (; !ee(D()); )
430
+ function M1(e) {
431
+ for (; !te(H()); )
392
432
  V();
393
- return te(e, R);
433
+ return ne(e, R);
394
434
  }
395
- function w1(e) {
396
- return v2(ie("", null, null, null, [""], e = k2(e), 0, [0], e));
435
+ function I1(e) {
436
+ return E2(ie("", null, null, null, [""], e = N2(e), 0, [0], e));
397
437
  }
398
438
  function ie(e, t, o, r, i, s, c, a, l) {
399
- for (var f = 0, d = 0, h = c, u = 0, m = 0, w = 0, C = 1, L = 1, b = 1, I = 0, B = "", ne = i, j = s, W = r, y = B; L; )
400
- switch (w = I, I = V()) {
439
+ for (var f = 0, d = 0, h = c, u = 0, C = 0, p = 0, g = 1, I = 1, v = 1, L = 0, N = "", _ = i, D = s, W = r, y = N; I; )
440
+ switch (p = L, L = V()) {
401
441
  // (
402
442
  case 40:
403
- if (w != 108 && N(y, h - 1) == 58) {
404
- we(y += x(se(I), "&", "&\f"), "&\f") != -1 && (b = -1);
443
+ if (p != 108 && E(y, h - 1) == 58) {
444
+ we(y += x(se(L), "&", "&\f"), "&\f") != -1 && (v = -1);
405
445
  break;
406
446
  }
407
447
  // " ' [
408
448
  case 34:
409
449
  case 39:
410
450
  case 91:
411
- y += se(I);
451
+ y += se(L);
412
452
  break;
413
453
  // \t \n \r \s
414
454
  case 9:
415
455
  case 10:
416
456
  case 13:
417
457
  case 32:
418
- y += p1(w);
458
+ y += b1(p);
419
459
  break;
420
460
  // \
421
461
  case 92:
422
- y += C1(oe() - 1, 7);
462
+ y += x1(oe() - 1, 7);
423
463
  continue;
424
464
  // /
425
465
  case 47:
426
- switch (D()) {
466
+ switch (H()) {
427
467
  case 42:
428
468
  case 47:
429
- re(m1(g1(V(), oe()), t, o), l);
469
+ re(L1(y1(V(), oe()), t, o), l);
430
470
  break;
431
471
  default:
432
472
  y += "/";
433
473
  }
434
474
  break;
435
475
  // {
436
- case 123 * C:
437
- a[f++] = P(y) * b;
476
+ case 123 * g:
477
+ a[f++] = P(y) * v;
438
478
  // } ; \0
439
- case 125 * C:
479
+ case 125 * g:
440
480
  case 59:
441
481
  case 0:
442
- switch (I) {
482
+ switch (L) {
443
483
  // \0 }
444
484
  case 0:
445
485
  case 125:
446
- L = 0;
486
+ I = 0;
447
487
  // ;
448
488
  case 59 + d:
449
- b == -1 && (y = x(y, /\f/g, "")), m > 0 && P(y) - h && re(m > 32 ? Ve(y + ";", r, o, h - 1) : Ve(x(y, " ", "") + ";", r, o, h - 2), l);
489
+ v == -1 && (y = x(y, /\f/g, "")), C > 0 && P(y) - h && re(C > 32 ? We(y + ";", r, o, h - 1) : We(x(y, " ", "") + ";", r, o, h - 2), l);
450
490
  break;
451
491
  // @ ;
452
492
  case 59:
453
493
  y += ";";
454
494
  // { rule/at-rule
455
495
  default:
456
- if (re(W = Re(y, t, o, f, d, i, a, B, ne = [], j = [], h), s), I === 123)
496
+ if (re(W = Ve(y, t, o, f, d, i, a, N, _ = [], D = [], h), s), L === 123)
457
497
  if (d === 0)
458
- ie(y, t, W, W, ne, s, h, a, j);
498
+ ie(y, t, W, W, _, s, h, a, D);
459
499
  else
460
- switch (u === 99 && N(y, 3) === 110 ? 100 : u) {
500
+ switch (u === 99 && E(y, 3) === 110 ? 100 : u) {
461
501
  // d l m s
462
502
  case 100:
463
503
  case 108:
464
504
  case 109:
465
505
  case 115:
466
- ie(e, W, W, r && re(Re(e, W, W, 0, 0, i, a, B, i, ne = [], h), j), i, j, h, a, r ? ne : j);
506
+ ie(e, W, W, r && re(Ve(e, W, W, 0, 0, i, a, N, i, _ = [], h), D), i, D, h, a, r ? _ : D);
467
507
  break;
468
508
  default:
469
- ie(y, W, W, W, [""], j, 0, a, j);
509
+ ie(y, W, W, W, [""], D, 0, a, D);
470
510
  }
471
511
  }
472
- f = d = m = 0, C = b = 1, B = y = "", h = c;
512
+ f = d = C = 0, g = v = 1, N = y = "", h = c;
473
513
  break;
474
514
  // :
475
515
  case 58:
476
- h = 1 + P(y), m = w;
516
+ h = 1 + P(y), C = p;
477
517
  default:
478
- if (C < 1) {
479
- if (I == 123)
480
- --C;
481
- else if (I == 125 && C++ == 0 && u1() == 125)
518
+ if (g < 1) {
519
+ if (L == 123)
520
+ --g;
521
+ else if (L == 125 && g++ == 0 && v1() == 125)
482
522
  continue;
483
523
  }
484
- switch (y += he(I), I * C) {
524
+ switch (y += he(L), L * g) {
485
525
  // &
486
526
  case 38:
487
- b = d > 0 ? 1 : (y += "\f", -1);
527
+ v = d > 0 ? 1 : (y += "\f", -1);
488
528
  break;
489
529
  // ,
490
530
  case 44:
491
- a[f++] = (P(y) - 1) * b, b = 1;
531
+ a[f++] = (P(y) - 1) * v, v = 1;
492
532
  break;
493
533
  // @
494
534
  case 64:
495
- D() === 45 && (y += se(V())), u = D(), d = h = P(B = y += f1(oe())), I++;
535
+ H() === 45 && (y += se(V())), u = H(), d = h = P(N = y += M1(oe())), L++;
496
536
  break;
497
537
  // -
498
538
  case 45:
499
- w === 45 && P(y) == 2 && (C = 0);
539
+ p === 45 && P(y) == 2 && (g = 0);
500
540
  }
501
541
  }
502
542
  return s;
503
543
  }
504
- function Re(e, t, o, r, i, s, c, a, l, f, d) {
505
- for (var h = i - 1, u = i === 0 ? s : [""], m = Ie(u), w = 0, C = 0, L = 0; w < r; ++w)
506
- for (var b = 0, I = Q(e, h + 1, h = i1(C = c[w])), B = e; b < m; ++b)
507
- (B = w2(C > 0 ? u[b] + " " + I : x(I, /&\f/g, u[b]))) && (l[L++] = B);
544
+ function Ve(e, t, o, r, i, s, c, a, l, f, d) {
545
+ for (var h = i - 1, u = i === 0 ? s : [""], C = Le(u), p = 0, g = 0, I = 0; p < r; ++p)
546
+ for (var v = 0, L = ee(e, h + 1, h = C1(g = c[p])), N = e; v < C; ++v)
547
+ (N = T2(g > 0 ? u[v] + " " + L : x(L, /&\f/g, u[v]))) && (l[I++] = N);
508
548
  return pe(e, t, o, i === 0 ? Me : a, l, f, d);
509
549
  }
510
- function m1(e, t, o) {
511
- return pe(e, t, o, g2, he(h1()), Q(e, 2, -2), 0);
550
+ function L1(e, t, o) {
551
+ return pe(e, t, o, I2, he(k1()), ee(e, 2, -2), 0);
512
552
  }
513
- function Ve(e, t, o, r) {
514
- return pe(e, t, o, Le, Q(e, 0, r), Q(e, r + 1, -1), r);
553
+ function We(e, t, o, r) {
554
+ return pe(e, t, o, Ie, ee(e, 0, r), ee(e, r + 1, -1), r);
515
555
  }
516
- function $(e, t) {
517
- for (var o = "", r = Ie(e), i = 0; i < r; i++)
556
+ function G(e, t) {
557
+ for (var o = "", r = Le(e), i = 0; i < r; i++)
518
558
  o += t(e[i], i, e, t) || "";
519
559
  return o;
520
560
  }
521
- function k1(e, t, o, r) {
561
+ function T1(e, t, o, r) {
522
562
  switch (e.type) {
523
- case s1:
563
+ case p1:
524
564
  if (e.children.length) break;
525
- case o1:
526
- case Le:
565
+ case u1:
566
+ case Ie:
527
567
  return e.return = e.return || e.value;
528
- case g2:
568
+ case I2:
529
569
  return "";
530
- case f2:
531
- return e.return = e.value + "{" + $(e.children, r) + "}";
570
+ case L2:
571
+ return e.return = e.value + "{" + G(e.children, r) + "}";
532
572
  case Me:
533
573
  e.value = e.props.join(",");
534
574
  }
535
- return P(o = $(e.children, r)) ? e.return = e.value + "{" + o + "}" : "";
575
+ return P(o = G(e.children, r)) ? e.return = e.value + "{" + o + "}" : "";
536
576
  }
537
- function v1(e) {
538
- var t = Ie(e);
577
+ function S1(e) {
578
+ var t = Le(e);
539
579
  return function(o, r, i, s) {
540
580
  for (var c = "", a = 0; a < t; a++)
541
581
  c += e[a](o, r, i, s) || "";
542
582
  return c;
543
583
  };
544
584
  }
545
- function x1(e) {
585
+ function N1(e) {
546
586
  return function(t) {
547
587
  t.root || (t = t.return) && e(t);
548
588
  };
549
589
  }
550
- var b1 = function(t, o, r) {
551
- for (var i = 0, s = 0; i = s, s = D(), i === 38 && s === 12 && (o[r] = 1), !ee(s); )
590
+ var E1 = function(t, o, r) {
591
+ for (var i = 0, s = 0; i = s, s = H(), i === 38 && s === 12 && (o[r] = 1), !te(s); )
552
592
  V();
553
- return te(t, R);
554
- }, y1 = function(t, o) {
593
+ return ne(t, R);
594
+ }, A1 = function(t, o) {
555
595
  var r = -1, i = 44;
556
596
  do
557
- switch (ee(i)) {
597
+ switch (te(i)) {
558
598
  case 0:
559
- i === 38 && D() === 12 && (o[r] = 1), t[r] += b1(R - 1, o, r);
599
+ i === 38 && H() === 12 && (o[r] = 1), t[r] += E1(R - 1, o, r);
560
600
  break;
561
601
  case 2:
562
602
  t[r] += se(i);
563
603
  break;
564
604
  case 4:
565
605
  if (i === 44) {
566
- t[++r] = D() === 58 ? "&\f" : "", o[r] = t[r].length;
606
+ t[++r] = H() === 58 ? "&\f" : "", o[r] = t[r].length;
567
607
  break;
568
608
  }
569
609
  // fallthrough
@@ -572,22 +612,22 @@ var b1 = function(t, o, r) {
572
612
  }
573
613
  while (i = V());
574
614
  return t;
575
- }, M1 = function(t, o) {
576
- return v2(y1(k2(t), o));
577
- }, We = /* @__PURE__ */ new WeakMap(), L1 = function(t) {
615
+ }, B1 = function(t, o) {
616
+ return E2(A1(N2(t), o));
617
+ }, Pe = /* @__PURE__ */ new WeakMap(), R1 = function(t) {
578
618
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
579
619
  // negative .length indicates that this rule has been already prefixed
580
620
  t.length < 1)) {
581
621
  for (var o = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; )
582
622
  if (r = r.parent, !r) return;
583
- if (!(t.props.length === 1 && o.charCodeAt(0) !== 58 && !We.get(r)) && !i) {
584
- We.set(t, !0);
585
- for (var s = [], c = M1(o, s), a = r.props, l = 0, f = 0; l < c.length; l++)
623
+ if (!(t.props.length === 1 && o.charCodeAt(0) !== 58 && !Pe.get(r)) && !i) {
624
+ Pe.set(t, !0);
625
+ for (var s = [], c = B1(o, s), a = r.props, l = 0, f = 0; l < c.length; l++)
586
626
  for (var d = 0; d < a.length; d++, f++)
587
627
  t.props[f] = s[l] ? c[l].replace(/&\f/g, a[d]) : a[d] + " " + c[l];
588
628
  }
589
629
  }
590
- }, I1 = function(t) {
630
+ }, V1 = function(t) {
591
631
  if (t.type === "decl") {
592
632
  var o = t.value;
593
633
  // charcode for l
@@ -595,11 +635,11 @@ var b1 = function(t, o, r) {
595
635
  o.charCodeAt(2) === 98 && (t.return = "", t.value = "");
596
636
  }
597
637
  };
598
- function x2(e, t) {
599
- switch (c1(e, t)) {
638
+ function A2(e, t) {
639
+ switch (f1(e, t)) {
600
640
  // color-adjust
601
641
  case 5103:
602
- return v + "print-" + e + e;
642
+ return b + "print-" + e + e;
603
643
  // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
604
644
  case 5737:
605
645
  case 4201:
@@ -629,58 +669,58 @@ function x2(e, t) {
629
669
  case 5365:
630
670
  case 5621:
631
671
  case 3829:
632
- return v + e + e;
672
+ return b + e + e;
633
673
  // appearance, user-select, transform, hyphens, text-size-adjust
634
674
  case 5349:
635
675
  case 4246:
636
676
  case 4810:
637
677
  case 6968:
638
678
  case 2756:
639
- return v + e + le + e + A + e + e;
679
+ return b + e + le + e + A + e + e;
640
680
  // flex, flex-direction
641
681
  case 6828:
642
682
  case 4268:
643
- return v + e + A + e + e;
683
+ return b + e + A + e + e;
644
684
  // order
645
685
  case 6165:
646
- return v + e + A + "flex-" + e + e;
686
+ return b + e + A + "flex-" + e + e;
647
687
  // align-items
648
688
  case 5187:
649
- return v + e + x(e, /(\w+).+(:[^]+)/, v + "box-$1$2" + A + "flex-$1$2") + e;
689
+ return b + e + x(e, /(\w+).+(:[^]+)/, b + "box-$1$2" + A + "flex-$1$2") + e;
650
690
  // align-self
651
691
  case 5443:
652
- return v + e + A + "flex-item-" + x(e, /flex-|-self/, "") + e;
692
+ return b + e + A + "flex-item-" + x(e, /flex-|-self/, "") + e;
653
693
  // align-content
654
694
  case 4675:
655
- return v + e + A + "flex-line-pack" + x(e, /align-content|flex-|-self/, "") + e;
695
+ return b + e + A + "flex-line-pack" + x(e, /align-content|flex-|-self/, "") + e;
656
696
  // flex-shrink
657
697
  case 5548:
658
- return v + e + A + x(e, "shrink", "negative") + e;
698
+ return b + e + A + x(e, "shrink", "negative") + e;
659
699
  // flex-basis
660
700
  case 5292:
661
- return v + e + A + x(e, "basis", "preferred-size") + e;
701
+ return b + e + A + x(e, "basis", "preferred-size") + e;
662
702
  // flex-grow
663
703
  case 6060:
664
- return v + "box-" + x(e, "-grow", "") + v + e + A + x(e, "grow", "positive") + e;
704
+ return b + "box-" + x(e, "-grow", "") + b + e + A + x(e, "grow", "positive") + e;
665
705
  // transition
666
706
  case 4554:
667
- return v + x(e, /([^-])(transform)/g, "$1" + v + "$2") + e;
707
+ return b + x(e, /([^-])(transform)/g, "$1" + b + "$2") + e;
668
708
  // cursor
669
709
  case 6187:
670
- return x(x(x(e, /(zoom-|grab)/, v + "$1"), /(image-set)/, v + "$1"), e, "") + e;
710
+ return x(x(x(e, /(zoom-|grab)/, b + "$1"), /(image-set)/, b + "$1"), e, "") + e;
671
711
  // background, background-image
672
712
  case 5495:
673
713
  case 3959:
674
- return x(e, /(image-set\([^]*)/, v + "$1$`$1");
714
+ return x(e, /(image-set\([^]*)/, b + "$1$`$1");
675
715
  // justify-content
676
716
  case 4968:
677
- return x(x(e, /(.+:)(flex-)?(.*)/, v + "box-pack:$3" + A + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + v + e + e;
717
+ return x(x(e, /(.+:)(flex-)?(.*)/, b + "box-pack:$3" + A + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + b + e + e;
678
718
  // (margin|padding)-inline-(start|end)
679
719
  case 4095:
680
720
  case 3583:
681
721
  case 4068:
682
722
  case 2532:
683
- return x(e, /(.+)-inline(.+)/, v + "$1$2") + e;
723
+ return x(e, /(.+)-inline(.+)/, b + "$1$2") + e;
684
724
  // (min|max)?(width|height|inline-size|block-size)
685
725
  case 8116:
686
726
  case 7059:
@@ -694,114 +734,114 @@ function x2(e, t) {
694
734
  case 5789:
695
735
  case 5021:
696
736
  case 4765:
697
- if (P(e) - 1 - t > 6) switch (N(e, t + 1)) {
737
+ if (P(e) - 1 - t > 6) switch (E(e, t + 1)) {
698
738
  // (m)ax-content, (m)in-content
699
739
  case 109:
700
- if (N(e, t + 4) !== 45) break;
740
+ if (E(e, t + 4) !== 45) break;
701
741
  // (f)ill-available, (f)it-content
702
742
  case 102:
703
- return x(e, /(.+:)(.+)-([^]+)/, "$1" + v + "$2-$3$1" + le + (N(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
743
+ return x(e, /(.+:)(.+)-([^]+)/, "$1" + b + "$2-$3$1" + le + (E(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
704
744
  // (s)tretch
705
745
  case 115:
706
- return ~we(e, "stretch") ? x2(x(e, "stretch", "fill-available"), t) + e : e;
746
+ return ~we(e, "stretch") ? A2(x(e, "stretch", "fill-available"), t) + e : e;
707
747
  }
708
748
  break;
709
749
  // position: sticky
710
750
  case 4949:
711
- if (N(e, t + 1) !== 115) break;
751
+ if (E(e, t + 1) !== 115) break;
712
752
  // display: (flex|inline-flex)
713
753
  case 6444:
714
- switch (N(e, P(e) - 3 - (~we(e, "!important") && 10))) {
754
+ switch (E(e, P(e) - 3 - (~we(e, "!important") && 10))) {
715
755
  // stic(k)y
716
756
  case 107:
717
- return x(e, ":", ":" + v) + e;
757
+ return x(e, ":", ":" + b) + e;
718
758
  // (inline-)?fl(e)x
719
759
  case 101:
720
- return x(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + v + (N(e, 14) === 45 ? "inline-" : "") + "box$3$1" + v + "$2$3$1" + A + "$2box$3") + e;
760
+ return x(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + b + (E(e, 14) === 45 ? "inline-" : "") + "box$3$1" + b + "$2$3$1" + A + "$2box$3") + e;
721
761
  }
722
762
  break;
723
763
  // writing-mode
724
764
  case 5936:
725
- switch (N(e, t + 11)) {
765
+ switch (E(e, t + 11)) {
726
766
  // vertical-l(r)
727
767
  case 114:
728
- return v + e + A + x(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
768
+ return b + e + A + x(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
729
769
  // vertical-r(l)
730
770
  case 108:
731
- return v + e + A + x(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
771
+ return b + e + A + x(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
732
772
  // horizontal(-)tb
733
773
  case 45:
734
- return v + e + A + x(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
774
+ return b + e + A + x(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
735
775
  }
736
- return v + e + A + e + e;
776
+ return b + e + A + e + e;
737
777
  }
738
778
  return e;
739
779
  }
740
- var T1 = function(t, o, r, i) {
780
+ var W1 = function(t, o, r, i) {
741
781
  if (t.length > -1 && !t.return) switch (t.type) {
742
- case Le:
743
- t.return = x2(t.value, t.length);
782
+ case Ie:
783
+ t.return = A2(t.value, t.length);
744
784
  break;
745
- case f2:
746
- return $([X(t, {
747
- value: x(t.value, "@", "@" + v)
785
+ case L2:
786
+ return G([K(t, {
787
+ value: x(t.value, "@", "@" + b)
748
788
  })], i);
749
789
  case Me:
750
- if (t.length) return d1(t.props, function(s) {
751
- switch (l1(s, /(::plac\w+|:read-\w+)/)) {
790
+ if (t.length) return m1(t.props, function(s) {
791
+ switch (w1(s, /(::plac\w+|:read-\w+)/)) {
752
792
  // :read-(only|write)
753
793
  case ":read-only":
754
794
  case ":read-write":
755
- return $([X(t, {
795
+ return G([K(t, {
756
796
  props: [x(s, /:(read-\w+)/, ":" + le + "$1")]
757
797
  })], i);
758
798
  // :placeholder
759
799
  case "::placeholder":
760
- return $([X(t, {
761
- props: [x(s, /:(plac\w+)/, ":" + v + "input-$1")]
762
- }), X(t, {
800
+ return G([K(t, {
801
+ props: [x(s, /:(plac\w+)/, ":" + b + "input-$1")]
802
+ }), K(t, {
763
803
  props: [x(s, /:(plac\w+)/, ":" + le + "$1")]
764
- }), X(t, {
804
+ }), K(t, {
765
805
  props: [x(s, /:(plac\w+)/, A + "input-$1")]
766
806
  })], i);
767
807
  }
768
808
  return "";
769
809
  });
770
810
  }
771
- }, S1 = [T1], N1 = function(t) {
811
+ }, P1 = [W1], H1 = function(t) {
772
812
  var o = t.key;
773
813
  if (o === "css") {
774
814
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
775
- Array.prototype.forEach.call(r, function(C) {
776
- var L = C.getAttribute("data-emotion");
777
- L.indexOf(" ") !== -1 && (document.head.appendChild(C), C.setAttribute("data-s", ""));
815
+ Array.prototype.forEach.call(r, function(g) {
816
+ var I = g.getAttribute("data-emotion");
817
+ I.indexOf(" ") !== -1 && (document.head.appendChild(g), g.setAttribute("data-s", ""));
778
818
  });
779
819
  }
780
- var i = t.stylisPlugins || S1, s = {}, c, a = [];
820
+ var i = t.stylisPlugins || P1, s = {}, c, a = [];
781
821
  c = t.container || document.head, Array.prototype.forEach.call(
782
822
  // this means we will ignore elements which don't have a space in them which
783
823
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
784
824
  document.querySelectorAll('style[data-emotion^="' + o + ' "]'),
785
- function(C) {
786
- for (var L = C.getAttribute("data-emotion").split(" "), b = 1; b < L.length; b++)
787
- s[L[b]] = !0;
788
- a.push(C);
825
+ function(g) {
826
+ for (var I = g.getAttribute("data-emotion").split(" "), v = 1; v < I.length; v++)
827
+ s[I[v]] = !0;
828
+ a.push(g);
789
829
  }
790
830
  );
791
- var l, f = [L1, I1];
831
+ var l, f = [R1, V1];
792
832
  {
793
- var d, h = [k1, x1(function(C) {
794
- d.insert(C);
795
- })], u = v1(f.concat(i, h)), m = function(L) {
796
- return $(w1(L), u);
833
+ var d, h = [T1, N1(function(g) {
834
+ d.insert(g);
835
+ })], u = S1(f.concat(i, h)), C = function(I) {
836
+ return G(I1(I), u);
797
837
  };
798
- l = function(L, b, I, B) {
799
- d = I, m(L ? L + "{" + b.styles + "}" : b.styles), B && (w.inserted[b.name] = !0);
838
+ l = function(I, v, L, N) {
839
+ d = L, C(I ? I + "{" + v.styles + "}" : v.styles), N && (p.inserted[v.name] = !0);
800
840
  };
801
841
  }
802
- var w = {
842
+ var p = {
803
843
  key: o,
804
- sheet: new r1({
844
+ sheet: new h1({
805
845
  key: o,
806
846
  container: c,
807
847
  nonce: t.nonce,
@@ -814,52 +854,52 @@ var T1 = function(t, o, r, i) {
814
854
  registered: {},
815
855
  insert: l
816
856
  };
817
- return w.sheet.hydrate(a), w;
857
+ return p.sheet.hydrate(a), p;
818
858
  };
819
- const b2 = ({ children: e, viewport: t, containerProps: o }) => {
820
- const r = de(null), { theme: i } = U(), [s, c] = H({
859
+ const B2 = ({ children: e, viewport: t, containerProps: o }) => {
860
+ const r = de(null), { theme: i } = q(), [s, c] = j({
821
861
  width: 0,
822
862
  height: 0
823
863
  });
824
- K(() => {
825
- const w = K2((L) => {
826
- const b = L.at(0)?.target;
827
- if (!b) return;
828
- const { width: I, height: B } = b.getBoundingClientRect();
864
+ J(() => {
865
+ const p = lt((I) => {
866
+ const v = I.at(0)?.target;
867
+ if (!v) return;
868
+ const { width: L, height: N } = v.getBoundingClientRect();
829
869
  c(() => ({
830
- width: I,
831
- height: B
870
+ width: L,
871
+ height: N
832
872
  }));
833
- }, 200), C = new ResizeObserver(w);
834
- return r.current && C.observe(r.current), () => C.disconnect();
873
+ }, 200), g = new ResizeObserver(p);
874
+ return r.current && g.observe(r.current), () => g.disconnect();
835
875
  }, []);
836
- const a = Ne(t?.width) ? t.width(s.width) : t?.width, l = Ne(t?.height) ? t.height(s.height) : t?.height, f = J(a) ? s.width / a : 1, d = J(l) ? s.height / l : 1, h = Math.min(f, d, 1), u = (l ?? s.height / h) || 0, m = (a ?? s.width / h) || 0;
876
+ const a = Ne(t?.width) ? t.width(s.width) : t?.width, l = Ne(t?.height) ? t.height(s.height) : t?.height, f = Q(a) ? s.width / a : 1, d = Q(l) ? s.height / l : 1, h = Math.min(f, d, 1), u = (l ?? s.height / h) || 0, C = (a ?? s.width / h) || 0;
837
877
  return /* @__PURE__ */ n("div", { ...o, css: { padding: 8, width: "100%", height: "100%", backgroundColor: Ce.ink["1s"] }, children: /* @__PURE__ */ n("div", { css: { position: "relative", overflow: "hidden", width: "100%", height: "100%" }, ref: r, children: /* @__PURE__ */ n(
838
878
  "div",
839
879
  {
840
880
  style: {
841
881
  transform: `scale(${h})`,
842
- width: m,
882
+ width: C,
843
883
  height: u,
844
- marginLeft: (s.width - m) / 2,
884
+ marginLeft: (s.width - C) / 2,
845
885
  marginTop: (s.height - u) / 2
846
886
  },
847
887
  css: { position: "absolute" },
848
888
  children: /* @__PURE__ */ n(
849
- Ut,
889
+ e1,
850
890
  {
851
891
  sandbox: "allow-same-origin allow-scripts allow-popups allow-presentation",
852
892
  allow: "autoplay; encrypted-media",
853
893
  width: a ?? "100%",
854
894
  height: l ?? "100%",
855
- children: /* @__PURE__ */ n(A1, { theme: i, children: e })
895
+ children: /* @__PURE__ */ n(D1, { theme: i, children: e })
856
896
  }
857
897
  )
858
898
  }
859
899
  ) }) });
860
- }, A1 = ({ children: e, theme: t }) => {
861
- const { document: o, window: r } = qt(), [i, s] = H(!1), c = de(window.customElements.define.bind(window.customElements));
862
- K(() => {
900
+ }, D1 = ({ children: e, theme: t }) => {
901
+ const { document: o, window: r } = t1(), [i, s] = j(!1), c = de(window.customElements.define.bind(window.customElements));
902
+ J(() => {
863
903
  const l = c.current;
864
904
  return r && (window.customElements.define = function(f, d, h) {
865
905
  window.customElements.get(f) || r.customElements.define(f, d, h), l(f, d, h);
@@ -867,13 +907,13 @@ const b2 = ({ children: e, viewport: t, containerProps: o }) => {
867
907
  window.customElements.define = l;
868
908
  };
869
909
  }, [o, r]);
870
- const a = N1({
910
+ const a = H1({
871
911
  key: "css",
872
912
  container: o?.head
873
913
  });
874
- return i ? /* @__PURE__ */ n(je, { children: /* @__PURE__ */ g(Bt, { value: a, children: [
914
+ return i ? /* @__PURE__ */ n(_e, { children: /* @__PURE__ */ m(Zt, { value: a, children: [
875
915
  /* @__PURE__ */ n(
876
- Rt,
916
+ $t,
877
917
  {
878
918
  styles: {
879
919
  ".frame-content": {
@@ -894,11 +934,11 @@ const b2 = ({ children: e, viewport: t, containerProps: o }) => {
894
934
  }
895
935
  }
896
936
  ),
897
- /* @__PURE__ */ n($t, { theme: t, children: e })
937
+ /* @__PURE__ */ n(Jt, { theme: t, children: e })
898
938
  ] }) }) : null;
899
939
  };
900
- var _ = /* @__PURE__ */ ((e) => (e[e.Pixels = 0] = "Pixels", e[e.Unitless = 1] = "Unitless", e))(_ || {});
901
- const E1 = [
940
+ var F = /* @__PURE__ */ ((e) => (e[e.Pixels = 0] = "Pixels", e[e.Unitless = 1] = "Unitless", e))(F || {});
941
+ const j1 = [
902
942
  {
903
943
  label: "Pixels",
904
944
  value: 0
@@ -909,30 +949,30 @@ const E1 = [
909
949
  value: 1
910
950
  /* Unitless */
911
951
  }
912
- ], or = ({ name: e, responsive: t = !0, value: o, onChange: r }) => {
913
- const i = J(o?.lineHeight) ? _.Unitless : _.Pixels, s = i === _.Unitless ? 0.1 : 1, c = T2(o?.lineHeight, "float"), a = ({ unit: u, value: m }) => {
914
- if (Z(m)) {
952
+ ], ur = ({ name: e, responsive: t = !0, value: o, onChange: r }) => {
953
+ const i = Q(o?.lineHeight) ? F.Unitless : F.Pixels, s = i === F.Unitless ? 0.1 : 1, c = H2(o?.lineHeight, "float"), a = ({ unit: u, value: C }) => {
954
+ if ($(C)) {
915
955
  r?.({
916
- lineHeight: u === _.Unitless ? 1 : m
956
+ lineHeight: u === F.Unitless ? 1 : C
917
957
  });
918
958
  return;
919
959
  }
920
960
  r?.({
921
- lineHeight: u === _.Unitless ? Number(m.toFixed(1)) : `${m}px`
961
+ lineHeight: u === F.Unitless ? Number(C.toFixed(1)) : `${C}px`
922
962
  });
923
963
  }, l = (u) => {
924
964
  a({ unit: Number(u.target.value) });
925
965
  }, f = (u) => {
926
- const m = isNaN(u.target.valueAsNumber) ? void 0 : u.target.valueAsNumber;
927
- a({ unit: i, value: m });
966
+ const C = isNaN(u.target.valueAsNumber) ? void 0 : u.target.valueAsNumber;
967
+ a({ unit: i, value: C });
928
968
  }, d = (u) => {
929
- u.stopPropagation(), !Z(c) && a({ unit: i, value: Math.max(c + s, 0) });
969
+ u.stopPropagation(), !$(c) && a({ unit: i, value: Math.max(c + s, 0) });
930
970
  }, h = (u) => {
931
- u.stopPropagation(), !Z(c) && a({ unit: i, value: Math.max(c - s, 0) });
971
+ u.stopPropagation(), !$(c) && a({ unit: i, value: Math.max(c - s, 0) });
932
972
  };
933
- return /* @__PURE__ */ g("div", { css: { display: "flex", flexDirection: "column", gap: 8 }, children: [
934
- /* @__PURE__ */ n(q, { responsive: t, name: e ?? "Line height", children: /* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 4 }, children: E1.map((u) => /* @__PURE__ */ n(
935
- _e,
973
+ return /* @__PURE__ */ m("div", { css: { display: "flex", flexDirection: "column", gap: 8 }, children: [
974
+ /* @__PURE__ */ n(Y, { responsive: t, name: e ?? "Line height", children: /* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 4 }, children: j1.map((u) => /* @__PURE__ */ n(
975
+ Fe,
936
976
  {
937
977
  onChange: l,
938
978
  checked: u.value === i,
@@ -943,21 +983,21 @@ const E1 = [
943
983
  u.value
944
984
  )) }) }),
945
985
  /* @__PURE__ */ n("div", { css: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ n("div", { css: { width: "50%" }, children: /* @__PURE__ */ n(
946
- c2,
986
+ l2,
947
987
  {
948
988
  fractionDigits: 1,
949
- type: i === _.Unitless ? "decimal" : "integer",
989
+ type: i === F.Unitless ? "decimal" : "integer",
950
990
  value: c ?? "",
951
991
  onChange: f,
952
- prefix: /* @__PURE__ */ n(E, { disabled: J(c) && c <= 0, onClick: h, children: /* @__PURE__ */ n(M, { source: Fe }) }),
953
- suffix: /* @__PURE__ */ n(E, { onClick: d, children: /* @__PURE__ */ n(M, { source: ve }) }),
992
+ prefix: /* @__PURE__ */ n(B, { disabled: Q(c) && c <= 0, onClick: h, children: /* @__PURE__ */ n(M, { source: Oe }) }),
993
+ suffix: /* @__PURE__ */ n(B, { onClick: d, children: /* @__PURE__ */ n(M, { source: ve }) }),
954
994
  mode: "onBlur",
955
995
  css: { textAlign: "center" },
956
996
  placeholder: "normal"
957
997
  }
958
998
  ) }) })
959
999
  ] });
960
- }, sr = ({ name: e, responsive: t = !0, value: o, onChange: r }) => {
1000
+ }, pr = ({ name: e, responsive: t = !0, value: o, onChange: r }) => {
961
1001
  const i = (a) => {
962
1002
  const l = isNaN(a.target.valueAsNumber) ? void 0 : a.target.valueAsNumber;
963
1003
  r?.({
@@ -966,32 +1006,32 @@ const E1 = [
966
1006
  });
967
1007
  }, s = (a) => {
968
1008
  a.stopPropagation();
969
- const l = Ae(o?.fontSize) ? void 0 : o?.fontSize;
1009
+ const l = Ee(o?.fontSize) ? void 0 : o?.fontSize;
970
1010
  r?.({
971
1011
  ...o,
972
- fontSize: Z(l) ? 16 : l + 1
1012
+ fontSize: $(l) ? 16 : l + 1
973
1013
  });
974
1014
  }, c = (a) => {
975
1015
  a.stopPropagation();
976
- const l = Ae(o?.fontSize) ? void 0 : o?.fontSize;
1016
+ const l = Ee(o?.fontSize) ? void 0 : o?.fontSize;
977
1017
  r?.({
978
1018
  ...o,
979
- fontSize: Z(l) ? 16 : Math.max(l - 1, 0)
1019
+ fontSize: $(l) ? 16 : Math.max(l - 1, 0)
980
1020
  });
981
1021
  };
982
- return /* @__PURE__ */ n(q, { responsive: t, name: e ?? "Font size", children: /* @__PURE__ */ n("div", { css: { width: "50%" }, children: /* @__PURE__ */ n(
983
- c2,
1022
+ return /* @__PURE__ */ n(Y, { responsive: t, name: e ?? "Font size", children: /* @__PURE__ */ n("div", { css: { width: "50%" }, children: /* @__PURE__ */ n(
1023
+ l2,
984
1024
  {
985
1025
  onCanPlay: i,
986
1026
  mode: "onBlur",
987
1027
  css: { textAlign: "center" },
988
1028
  placeholder: "inherit",
989
1029
  value: o?.fontSize ?? "",
990
- prefix: /* @__PURE__ */ n(E, { disabled: J(o?.fontSize) && o.fontSize <= 0, onClick: c, children: /* @__PURE__ */ n(M, { source: Fe }) }),
991
- suffix: /* @__PURE__ */ n(E, { onClick: s, children: /* @__PURE__ */ n(M, { source: ve }) })
1030
+ prefix: /* @__PURE__ */ n(B, { disabled: Q(o?.fontSize) && o.fontSize <= 0, onClick: c, children: /* @__PURE__ */ n(M, { source: Oe }) }),
1031
+ suffix: /* @__PURE__ */ n(B, { onClick: s, children: /* @__PURE__ */ n(M, { source: ve }) })
992
1032
  }
993
1033
  ) }) });
994
- }, Pe = [
1034
+ }, He = [
995
1035
  {
996
1036
  label: "Block",
997
1037
  value: "block"
@@ -1020,18 +1060,18 @@ const E1 = [
1020
1060
  label: "Inline Grid",
1021
1061
  value: "inline-grid"
1022
1062
  }
1023
- ], ir = ({
1063
+ ], Cr = ({
1024
1064
  name: e,
1025
1065
  responsive: t = !1,
1026
1066
  availableDisplays: o,
1027
1067
  onChange: r,
1028
1068
  value: i
1029
1069
  }) => {
1030
- const s = Z(o) ? Pe : Pe.filter((a) => o.includes(a.value)), c = (a) => {
1070
+ const s = $(o) ? He : He.filter((a) => o.includes(a.value)), c = (a) => {
1031
1071
  r?.({ display: a });
1032
1072
  };
1033
- return /* @__PURE__ */ n(q, { name: e ?? "Display", responsive: t, children: /* @__PURE__ */ n(
1034
- Q2,
1073
+ return /* @__PURE__ */ n(Y, { name: e ?? "Display", responsive: t, children: /* @__PURE__ */ n(
1074
+ ht,
1035
1075
  {
1036
1076
  css: {
1037
1077
  width: "50%"
@@ -1043,7 +1083,7 @@ const E1 = [
1043
1083
  onChange: c
1044
1084
  }
1045
1085
  ) });
1046
- }, ar = ({ value: e, onChange: t, name: o, responsive: r = !1 }) => {
1086
+ }, gr = ({ value: e, onChange: t, name: o, responsive: r = !1 }) => {
1047
1087
  const i = {
1048
1088
  flexBasis: e?.flexBasis ?? "auto",
1049
1089
  flexGrow: e?.flexGrow ?? 0,
@@ -1067,12 +1107,12 @@ const E1 = [
1067
1107
  flexShrink: 1
1068
1108
  }
1069
1109
  }
1070
- ], c = s.find((l) => J2(l.rawValue, i))?.value, a = (l) => {
1110
+ ], c = s.find((l) => dt(l.rawValue, i))?.value, a = (l) => {
1071
1111
  const f = s.find((d) => d.value === Number(l.target.value));
1072
1112
  f && t?.(f.rawValue);
1073
1113
  };
1074
- return /* @__PURE__ */ n(q, { name: o ?? "Content", responsive: r, children: /* @__PURE__ */ n("div", { css: { display: "inline-flex", alignItems: "center", gap: 8 }, children: s.map((l) => /* @__PURE__ */ n(
1075
- _e,
1114
+ return /* @__PURE__ */ n(Y, { name: o ?? "Content", responsive: r, children: /* @__PURE__ */ n("div", { css: { display: "inline-flex", alignItems: "center", gap: 8 }, children: s.map((l) => /* @__PURE__ */ n(
1115
+ Fe,
1076
1116
  {
1077
1117
  checked: l.value === c,
1078
1118
  value: l.value,
@@ -1081,14 +1121,14 @@ const E1 = [
1081
1121
  },
1082
1122
  l.value
1083
1123
  )) }) });
1084
- }, cr = ({ name: e, value: t, onChange: o, responsive: r = !0 }) => {
1124
+ }, fr = ({ name: e, value: t, onChange: o, responsive: r = !0 }) => {
1085
1125
  const i = de(null), s = (c) => {
1086
1126
  o?.({
1087
1127
  minWidth: c
1088
1128
  });
1089
1129
  };
1090
- return /* @__PURE__ */ n(q, { name: e ?? "Min width", responsive: r, children: /* @__PURE__ */ n("div", { css: { position: "relative", width: "50%" }, children: /* @__PURE__ */ n(
1091
- et,
1130
+ return /* @__PURE__ */ n(Y, { name: e ?? "Min width", responsive: r, children: /* @__PURE__ */ n("div", { css: { position: "relative", width: "50%" }, children: /* @__PURE__ */ n(
1131
+ ut,
1092
1132
  {
1093
1133
  fullWidth: !0,
1094
1134
  wrapRef: i,
@@ -1100,8 +1140,8 @@ const E1 = [
1100
1140
  }
1101
1141
  }
1102
1142
  ) }) });
1103
- }, lr = ({ value: e, onChange: t }) => {
1104
- const [o, r] = H(!1), i = (c) => {
1143
+ }, wr = ({ value: e, onChange: t }) => {
1144
+ const [o, r] = j(!1), i = (c) => {
1105
1145
  t?.({ ...e, sizeVariant: c });
1106
1146
  }, s = (c) => {
1107
1147
  t?.({
@@ -1112,8 +1152,8 @@ const E1 = [
1112
1152
  }
1113
1153
  });
1114
1154
  };
1115
- return /* @__PURE__ */ n(q, { name: "Text style", children: /* @__PURE__ */ g(S2, { open: o, onOpenChange: r, placement: "right", children: [
1116
- /* @__PURE__ */ n(N2, { children: /* @__PURE__ */ g(
1155
+ return /* @__PURE__ */ n(Y, { name: "Text style", children: /* @__PURE__ */ m(D2, { open: o, onOpenChange: r, placement: "right", children: [
1156
+ /* @__PURE__ */ n(j2, { children: /* @__PURE__ */ m(
1117
1157
  "button",
1118
1158
  {
1119
1159
  css: [
@@ -1126,31 +1166,31 @@ const E1 = [
1126
1166
  textAlign: "left",
1127
1167
  width: "50%",
1128
1168
  height: 32,
1129
- backgroundColor: p.palette.white["1s"],
1169
+ backgroundColor: w.palette.white["1s"],
1130
1170
  overflow: "hidden",
1131
1171
  textOverflow: "ellipsis",
1132
1172
  whiteSpace: "nowrap",
1133
- ...p.text.xs
1173
+ ...w.text.xs
1134
1174
  },
1135
- o && { backgroundColor: p.palette.black["7s"] }
1175
+ o && { backgroundColor: w.palette.black["7s"] }
1136
1176
  ],
1137
1177
  children: [
1138
- /* @__PURE__ */ n(M, { css: { color: "white" }, source: tt }),
1178
+ /* @__PURE__ */ n(M, { css: { color: "white" }, source: pt }),
1139
1179
  /* @__PURE__ */ n("span", { children: "Auto" })
1140
1180
  ]
1141
1181
  }
1142
1182
  ) }),
1143
- /* @__PURE__ */ n(A2, { children: /* @__PURE__ */ g("div", { style: { width: 280 }, children: [
1144
- /* @__PURE__ */ g("div", { css: { display: "flex", justifyContent: "space-between", alignItems: "center", gap: 8 }, children: [
1183
+ /* @__PURE__ */ n(_2, { children: /* @__PURE__ */ m("div", { style: { width: 280 }, children: [
1184
+ /* @__PURE__ */ m("div", { css: { display: "flex", justifyContent: "space-between", alignItems: "center", gap: 8 }, children: [
1145
1185
  /* @__PURE__ */ n("div", { css: { fontWeight: 500 }, children: "Text style" }),
1146
- /* @__PURE__ */ n(nt, { children: /* @__PURE__ */ n(E, { children: /* @__PURE__ */ n(M, { source: Oe }) }) })
1186
+ /* @__PURE__ */ n(Ct, { children: /* @__PURE__ */ n(B, { children: /* @__PURE__ */ n(M, { source: ze }) }) })
1147
1187
  ] }),
1148
- /* @__PURE__ */ n("hr", { css: { marginBlock: 8, borderColor: p.palette.white["1s"] } }),
1149
- /* @__PURE__ */ g("div", { css: { display: "flex", flexDirection: "column", gap: 12 }, children: [
1150
- /* @__PURE__ */ n(rt, { value: e?.sizeVariant, onChange: i }),
1151
- /* @__PURE__ */ n(ot, { value: { color: e?.css?.color }, onChange: s }),
1188
+ /* @__PURE__ */ n("hr", { css: { marginBlock: 8, borderColor: w.palette.white["1s"] } }),
1189
+ /* @__PURE__ */ m("div", { css: { display: "flex", flexDirection: "column", gap: 12 }, children: [
1190
+ /* @__PURE__ */ n(gt, { value: e?.sizeVariant, onChange: i }),
1191
+ /* @__PURE__ */ n(ft, { value: { color: e?.css?.color }, onChange: s }),
1152
1192
  /* @__PURE__ */ n(
1153
- st,
1193
+ wt,
1154
1194
  {
1155
1195
  name: "Style",
1156
1196
  value: {
@@ -1161,9 +1201,9 @@ const E1 = [
1161
1201
  onChange: s
1162
1202
  }
1163
1203
  ),
1164
- /* @__PURE__ */ n(it, { value: { fontWeight: e?.css?.fontWeight }, onChange: s }),
1204
+ /* @__PURE__ */ n(mt, { value: { fontWeight: e?.css?.fontWeight }, onChange: s }),
1165
1205
  /* @__PURE__ */ n(
1166
- at,
1206
+ kt,
1167
1207
  {
1168
1208
  value: {
1169
1209
  textTransform: e?.css?.textTransform
@@ -1174,45 +1214,45 @@ const E1 = [
1174
1214
  ] })
1175
1215
  ] }) })
1176
1216
  ] }) });
1177
- }, B1 = ({ render: e }) => {
1178
- const { id: t, renderer: o } = U2((s) => ({
1179
- resolvedId: B2(s),
1180
- renderer: E2(s).renderer
1181
- })), { mode: r } = U(), { isActive: i } = O((s, c) => ({
1182
- isActive: c.getEvent("selected").contains(t) && t !== z
1217
+ }, _1 = ({ render: e }) => {
1218
+ const { id: t, renderer: o } = rt((s) => ({
1219
+ resolvedId: O2(s),
1220
+ renderer: F2(s).renderer
1221
+ })), { mode: r } = q(), { isActive: i } = z((s, c) => ({
1222
+ isActive: c.getEvent("selected").contains(t) && t !== Z
1183
1223
  }));
1184
- return o ? a2(o, { render: e }) : /* @__PURE__ */ g(ce, { children: [
1185
- i && r === "full" && /* @__PURE__ */ g(ce, { children: [
1186
- /* @__PURE__ */ n(ct, {}),
1187
- /* @__PURE__ */ n(lt, {})
1224
+ return o ? c2(o, { render: e }) : /* @__PURE__ */ m(ce, { children: [
1225
+ i && r === "full" && /* @__PURE__ */ m(ce, { children: [
1226
+ /* @__PURE__ */ n(vt, {}),
1227
+ /* @__PURE__ */ n(bt, {})
1188
1228
  ] }),
1189
1229
  e
1190
1230
  ] });
1191
1231
  };
1192
- S(ze, { inspector: dt });
1193
- S(ae, { inspector: ht });
1194
- S(Ze, { inspector: ut });
1195
- S(xe, { inspector: pt });
1196
- S($e, { inspector: Ct });
1197
- S(ge, { inspector: gt });
1198
- S(Ge, { inspector: ft });
1199
- S(fe, { inspector: wt });
1200
- S(be, { inspector: mt });
1201
- S(Ue, { inspector: kt });
1202
- S(qe, { inspector: vt });
1203
- S(Ye, { inspector: xt });
1204
- S(Xe, { inspector: bt });
1205
- S(R2, { inspector: yt });
1206
- S(Ke, { inspector: Mt });
1207
- S(Je, { inspector: Lt });
1208
- S(Qe, { inspector: It });
1209
- S(e2, { inspector: Tt });
1210
- S(t2, { inspector: St });
1232
+ S(Ze, { inspector: xt });
1233
+ S(ae, { inspector: yt });
1234
+ S($e, { inspector: Mt });
1235
+ S(be, { inspector: It });
1236
+ S(Ge, { inspector: Lt });
1237
+ S(ge, { inspector: Tt });
1238
+ S(Ue, { inspector: St });
1239
+ S(fe, { inspector: Nt });
1240
+ S(xe, { inspector: Et });
1241
+ S(qe, { inspector: At });
1242
+ S(Ye, { inspector: Bt });
1243
+ S(Xe, { inspector: Rt });
1244
+ S(Ke, { inspector: Vt });
1245
+ S(z2, { inspector: Wt });
1246
+ S(Je, { inspector: Pt });
1247
+ S(Qe, { inspector: Ht });
1248
+ S(e2, { inspector: Dt });
1249
+ S(t2, { inspector: jt });
1250
+ S(n2, { inspector: _t });
1211
1251
  const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1212
1252
  <path d="M8 5L5 8L8 11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1213
1253
  <path d="M5 8H14C17.314 8 20 10.462 20 13.5V13.5C20 16.538 17.314 19 14 19H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1214
1254
  </svg>
1215
- `, R1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1255
+ `, F1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1216
1256
  <path d="M12 19.0004C11.158 19.0004 10.315 18.8224 9.496 18.5054" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1217
1257
  <path d="M20.882 12.4678C18.99 15.9668 15.495 18.9998 12 18.9998" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1218
1258
  <path d="M19.079 8.9209C19.77 9.7299 20.384 10.6119 20.882 11.5329C21.039 11.8239 21.039 12.1769 20.882 12.4679" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
@@ -1220,22 +1260,22 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1220
1260
  <path d="M9.77299 14.2271C8.54299 12.9971 8.54299 11.0021 9.77299 9.77211C11.003 8.54211 12.998 8.54211 14.228 9.77211" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1221
1261
  <path d="M17.044 6.956C15.497 5.759 13.748 5 12 5C8.50499 5 5.00999 8.033 3.11799 11.533C2.96099 11.824 2.96099 12.177 3.11799 12.468C4.06399 14.217 5.40999 15.849 6.95599 17.045" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1222
1262
  </svg>
1223
- `, V1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1263
+ `, O1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1224
1264
  <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"/>
1225
1265
  <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"/>
1226
1266
  </svg>
1227
- `, W1 = '<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>', P1 = () => {
1228
- const { mode: e, screen: t, setState: o, handlers: r } = U(), [i, s] = H(!1), { actions: c, canRedo: a, canUndo: l, query: f } = O((w, C) => ({
1229
- enabled: w.options.enabled,
1230
- canUndo: C.history.canUndo(),
1231
- canRedo: C.history.canRedo()
1232
- })), d = (w) => {
1233
- o({ screen: w });
1267
+ `, z1 = '<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>', Z1 = () => {
1268
+ const { mode: e, screen: t, setState: o, handlers: r } = q(), [i, s] = j(!1), { actions: c, canRedo: a, canUndo: l, query: f } = z((p, g) => ({
1269
+ enabled: p.options.enabled,
1270
+ canUndo: g.history.canUndo(),
1271
+ canRedo: g.history.canRedo()
1272
+ })), d = (p) => {
1273
+ o({ screen: p });
1234
1274
  }, h = () => {
1235
1275
  o({ mode: e === "full" ? "compact" : "full" });
1236
1276
  }, u = () => {
1237
1277
  r.close();
1238
- }, m = async () => {
1278
+ }, C = async () => {
1239
1279
  try {
1240
1280
  return c.selectNode(), r.submit(f.getSerializedNodes());
1241
1281
  } catch {
@@ -1243,7 +1283,7 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1243
1283
  s(!1);
1244
1284
  }
1245
1285
  };
1246
- return /* @__PURE__ */ g(
1286
+ return /* @__PURE__ */ m(
1247
1287
  "div",
1248
1288
  {
1249
1289
  css: {
@@ -1252,15 +1292,15 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1252
1292
  alignItems: "center",
1253
1293
  gap: 16,
1254
1294
  justifyContent: "space-between",
1255
- backgroundColor: p.palette.ink["6s"],
1256
- color: p.palette.white["6s"],
1257
- ...p.text.sm
1295
+ backgroundColor: w.palette.ink["6s"],
1296
+ color: w.palette.white["6s"],
1297
+ ...w.text.sm
1258
1298
  },
1259
1299
  children: [
1260
- /* @__PURE__ */ g("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: [
1261
- /* @__PURE__ */ n(E, { size: "32", onClick: u, children: /* @__PURE__ */ n(M, { source: W1 }) }),
1262
- /* @__PURE__ */ n(Nt, { onSelectionChange: d, value: t, children: At.map(({ icon: w, size: C }) => /* @__PURE__ */ n(E, { value: C, children: /* @__PURE__ */ n(M, { source: w }) }, C)) }),
1263
- /* @__PURE__ */ g(
1300
+ /* @__PURE__ */ m("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: [
1301
+ /* @__PURE__ */ n(B, { size: "32", onClick: u, children: /* @__PURE__ */ n(M, { source: z1 }) }),
1302
+ /* @__PURE__ */ n(Ft, { onSelectionChange: d, value: t, children: Ot.map(({ icon: p, size: g }) => /* @__PURE__ */ n(B, { value: g, children: /* @__PURE__ */ n(M, { source: p }) }, g)) }),
1303
+ /* @__PURE__ */ m(
1264
1304
  "div",
1265
1305
  {
1266
1306
  css: {
@@ -1269,11 +1309,11 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1269
1309
  alignItems: "center",
1270
1310
  gap: 8,
1271
1311
  borderRadius: 8,
1272
- backgroundColor: p.palette.white["1s"]
1312
+ backgroundColor: w.palette.white["1s"]
1273
1313
  },
1274
1314
  children: [
1275
- /* @__PURE__ */ n(E, { onClick: c.history.undo, disabled: !l, children: /* @__PURE__ */ n(M, { source: De }) }),
1276
- /* @__PURE__ */ n(E, { onClick: c.history.redo, disabled: !a, children: /* @__PURE__ */ n(M, { source: De, css: { transform: "rotate(180deg)" } }) })
1315
+ /* @__PURE__ */ n(B, { onClick: c.history.undo, disabled: !l, children: /* @__PURE__ */ n(M, { source: De }) }),
1316
+ /* @__PURE__ */ n(B, { onClick: c.history.redo, disabled: !a, children: /* @__PURE__ */ n(M, { source: De, css: { transform: "rotate(180deg)" } }) })
1277
1317
  ]
1278
1318
  }
1279
1319
  ),
@@ -1286,56 +1326,56 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1286
1326
  alignItems: "center",
1287
1327
  gap: 8,
1288
1328
  borderRadius: 8,
1289
- backgroundColor: p.palette.white["1s"]
1329
+ backgroundColor: w.palette.white["1s"]
1290
1330
  },
1291
- children: /* @__PURE__ */ n(E, { onClick: h, children: /* @__PURE__ */ n(M, { source: e === "full" ? V1 : R1 }) })
1331
+ children: /* @__PURE__ */ n(B, { onClick: h, children: /* @__PURE__ */ n(M, { source: e === "full" ? O1 : F1 }) })
1292
1332
  }
1293
1333
  )
1294
1334
  ] }),
1295
- /* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(n2, { isLoading: i, onClick: m, children: "Save" }) })
1335
+ /* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(r2, { isLoading: i, onClick: C, children: "Save" }) })
1296
1336
  ]
1297
1337
  }
1298
1338
  );
1299
- }, D1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1339
+ }, $1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1300
1340
  <path d="M20 19.9997L16.3763 16.376" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1301
1341
  <path d="M4 11.25C4 15.2541 7.24594 18.5 11.25 18.5C15.2541 18.5 18.5 15.2541 18.5 11.25C18.5 7.24594 15.2541 4 11.25 4V4C7.24606 4.00029 4.00029 7.24606 4 11.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1302
1342
  </svg>
1303
- `, H1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1343
+ `, G1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1304
1344
  <path d="M15 6L9 12L15 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1305
1345
  </svg>
1306
- `, j1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1346
+ `, U1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1307
1347
  <rect x="3.00024" y="3" width="17.9997" height="17.9997" rx="2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1308
1348
  <path d="M13.5 20.9998V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1309
1349
  <path d="M9.50011 11.9998V3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1310
1350
  <path d="M20.9999 12H3.00024" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1311
1351
  </svg>
1312
- `, _1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1352
+ `, q1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1313
1353
  <rect x="3" y="3" width="18" height="18" rx="2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1314
1354
  <path d="M3 12H21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1315
1355
  <path d="M12 21V3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1316
1356
  </svg>
1317
- `, He = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1357
+ `, je = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1318
1358
  <path d="M3 6V18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1319
1359
  <path d="M21 6V18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1320
1360
  <path d="M6 21H18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1321
1361
  <path d="M6 3H18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1322
1362
  </svg>
1323
- `, F1 = {
1363
+ `, Y1 = {
1324
1364
  name: "Layout",
1325
1365
  templates: [
1326
1366
  {
1327
1367
  name: "Container",
1328
- template: /* @__PURE__ */ n(k, { is: t2 }),
1329
- icon: { source: He, height: 32 }
1368
+ template: /* @__PURE__ */ n(k, { is: n2 }),
1369
+ icon: { source: je, height: 32 }
1330
1370
  },
1331
1371
  {
1332
1372
  name: "Block",
1333
- template: /* @__PURE__ */ n(k, { is: Je }),
1334
- icon: { source: He, height: 32 }
1373
+ template: /* @__PURE__ */ n(k, { is: Qe }),
1374
+ icon: { source: je, height: 32 }
1335
1375
  },
1336
1376
  {
1337
1377
  name: "Grid",
1338
- template: /* @__PURE__ */ g(
1378
+ template: /* @__PURE__ */ m(
1339
1379
  k,
1340
1380
  {
1341
1381
  cols: 2,
@@ -1346,18 +1386,18 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1346
1386
  paddingTop: 16,
1347
1387
  paddingBottom: 16
1348
1388
  },
1349
- is: $e,
1389
+ is: Ge,
1350
1390
  children: [
1351
1391
  /* @__PURE__ */ n(k, { is: ge, canvas: !0 }),
1352
1392
  /* @__PURE__ */ n(k, { is: ge, canvas: !0 })
1353
1393
  ]
1354
1394
  }
1355
1395
  ),
1356
- icon: { source: _1, height: 32 }
1396
+ icon: { source: q1, height: 32 }
1357
1397
  },
1358
1398
  {
1359
1399
  name: "Flex",
1360
- template: /* @__PURE__ */ g(k, { is: Ge, sx: { columnGap: 8, rowGap: 8, paddingTop: 16, paddingBottom: 16 }, children: [
1400
+ template: /* @__PURE__ */ m(k, { is: Ue, sx: { columnGap: 8, rowGap: 8, paddingTop: 16, paddingBottom: 16 }, children: [
1361
1401
  /* @__PURE__ */ n(
1362
1402
  k,
1363
1403
  {
@@ -1379,10 +1419,10 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1379
1419
  }
1380
1420
  )
1381
1421
  ] }),
1382
- icon: { source: j1, height: 32 }
1422
+ icon: { source: U1, height: 32 }
1383
1423
  }
1384
1424
  ]
1385
- }, O1 = `<svg width="98" height="56" viewBox="0 0 98 56" fill="none" xmlns="http://www.w3.org/2000/svg">
1425
+ }, X1 = `<svg width="98" height="56" viewBox="0 0 98 56" fill="none" xmlns="http://www.w3.org/2000/svg">
1386
1426
  <rect x="4" y="4" width="57" height="6" rx="3" fill="currentColor"></rect>
1387
1427
  <rect x="2" y="4" width="57" height="6" rx="3" fill="currentColor"></rect>
1388
1428
  <path fill-rule="evenodd" clip-rule="evenodd" d="M86.1302 5.61716C86.3037 5.46095 86.5851 5.46095 86.7587 5.61716L90 8.53431L93.2413 5.61716C93.4149 5.46095 93.6963 5.46095 93.8698 5.61716C94.0434 5.77337 94.0434 6.02663 93.8698 6.18284L90.3143 9.38284C90.1407 9.53905 89.8593 9.53905 89.6857 9.38284L86.1302 6.18284C85.9566 6.02663 85.9566 5.77337 86.1302 5.61716Z" fill="currentColor"></path>
@@ -1392,7 +1432,7 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1392
1432
  <rect x="4" y="46" width="57" height="6" rx="3" fill="currentColor"></rect>
1393
1433
  <rect x="2" y="46" width="57" height="6" rx="3" fill="currentColor"></rect>
1394
1434
  <path fill-rule="evenodd" clip-rule="evenodd" d="M86.1302 47.6172C86.3037 47.4609 86.5851 47.4609 86.7587 47.6172L90 50.5343L93.2413 47.6172C93.4149 47.4609 93.6963 47.4609 93.8698 47.6172C94.0434 47.7734 94.0434 48.0266 93.8698 48.1828L90.3143 51.3828C90.1407 51.5391 89.8593 51.5391 89.6857 51.3828L86.1302 48.1828C85.9566 48.0266 85.9566 47.7734 86.1302 47.6172Z" fill="currentColor"></path>
1395
- </svg>`, z1 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%209L12%2015L18%209'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Z1 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%209L12%2015L18%209'%20transform='rotate(180%2012%2012)'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", $1 = {
1435
+ </svg>`, K1 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%209L12%2015L18%209'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", J1 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%209L12%2015L18%209'%20transform='rotate(180%2012%2012)'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Q1 = {
1396
1436
  name: "Content list",
1397
1437
  templates: [
1398
1438
  {
@@ -1400,7 +1440,7 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1400
1440
  template: /* @__PURE__ */ n(
1401
1441
  k,
1402
1442
  {
1403
- is: Qe,
1443
+ is: e2,
1404
1444
  accordionSummaryProps: {
1405
1445
  sx: {
1406
1446
  paddingTop: 8,
@@ -1409,8 +1449,8 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1409
1449
  expandIcon: {
1410
1450
  position: "right",
1411
1451
  source: {
1412
- expanded: Z1,
1413
- collapsed: z1
1452
+ expanded: J1,
1453
+ collapsed: K1
1414
1454
  }
1415
1455
  }
1416
1456
  },
@@ -1421,8 +1461,8 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1421
1461
  }
1422
1462
  },
1423
1463
  openMode: "single",
1424
- children: F(3).map((e) => /* @__PURE__ */ g(k, { defaultOpen: e === 0, is: V2, children: [
1425
- /* @__PURE__ */ n(k, { is: W2, children: /* @__PURE__ */ n(
1464
+ children: O(3).map((e) => /* @__PURE__ */ m(k, { defaultOpen: e === 0, is: Z2, children: [
1465
+ /* @__PURE__ */ n(k, { is: $2, children: /* @__PURE__ */ n(
1426
1466
  k,
1427
1467
  {
1428
1468
  sizeVariant: "base",
@@ -1430,7 +1470,7 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1430
1470
  dangerouslySetInnerHTML: { __html: `Accordion ${e + 1}` }
1431
1471
  }
1432
1472
  ) }),
1433
- /* @__PURE__ */ n(k, { is: P2, children: /* @__PURE__ */ n(
1473
+ /* @__PURE__ */ n(k, { is: G2, children: /* @__PURE__ */ n(
1434
1474
  k,
1435
1475
  {
1436
1476
  sx: {
@@ -1446,14 +1486,14 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1446
1486
  ] }, e))
1447
1487
  }
1448
1488
  ),
1449
- icon: { source: O1, height: 40 }
1489
+ icon: { source: X1, height: 40 }
1450
1490
  }
1451
1491
  ]
1452
1492
  }, ke = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1453
1493
  <path fill-rule="evenodd" clip-rule="evenodd" d="M20.3998 10.6645L13.6661 15.4669C12.6691 16.1777 11.3309 16.1777 10.3339 15.4669L3.60018 10.6645C3.2236 10.3962 3 9.96237 3 9.5C3 9.03763 3.2236 8.60381 3.60018 8.33553L10.3339 3.5331C11.3309 2.8223 12.6691 2.8223 13.6661 3.5331L20.3998 8.33553C20.7764 8.60381 21 9.03763 21 9.5C21 9.96237 20.7764 10.3962 20.3998 10.6645Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1454
1494
  <path fill-rule="evenodd" clip-rule="evenodd" d="M20.3998 15.6645L13.6661 20.4669C12.6691 21.1777 11.3309 21.1777 10.3339 20.4669L3.60018 15.6645C3.2236 15.3962 3 14.9624 3 14.5C3 14.0376 3.2236 13.6038 3.60018 13.3355L10.3339 8.5331C11.3309 7.8223 12.6691 7.8223 13.6661 8.5331L20.3998 13.3355C20.7764 13.6038 21 14.0376 21 14.5C21 14.9624 20.7764 15.3962 20.3998 15.6645Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1455
1495
  </svg>
1456
- `, G1 = {
1496
+ `, en = {
1457
1497
  name: "Interactive",
1458
1498
  templates: [
1459
1499
  {
@@ -1461,7 +1501,7 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1461
1501
  template: /* @__PURE__ */ n(
1462
1502
  k,
1463
1503
  {
1464
- is: xe,
1504
+ is: be,
1465
1505
  slidesPerView: 2,
1466
1506
  spaceBetween: 8,
1467
1507
  md: {
@@ -1470,13 +1510,13 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1470
1510
  lg: {
1471
1511
  slidesPerView: 4
1472
1512
  },
1473
- children: F(6).map((e) => /* @__PURE__ */ n(
1513
+ children: O(6).map((e) => /* @__PURE__ */ n(
1474
1514
  k,
1475
1515
  {
1476
1516
  custom: {
1477
1517
  displayName: `Slide ${e + 1}`
1478
1518
  },
1479
- is: r2,
1519
+ is: o2,
1480
1520
  canvas: !0
1481
1521
  },
1482
1522
  e
@@ -1487,21 +1527,21 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1487
1527
  },
1488
1528
  {
1489
1529
  name: "Marquee",
1490
- template: /* @__PURE__ */ n(k, { is: be, children: F(10).map((e) => /* @__PURE__ */ n(
1530
+ template: /* @__PURE__ */ n(k, { is: xe, children: O(10).map((e) => /* @__PURE__ */ n(
1491
1531
  k,
1492
1532
  {
1493
1533
  canvas: !0,
1494
1534
  custom: {
1495
1535
  displayName: `Marquee Item ${e + 1}`
1496
1536
  },
1497
- is: o2
1537
+ is: s2
1498
1538
  },
1499
1539
  e
1500
1540
  )) }),
1501
1541
  icon: { source: ke, height: 32 }
1502
1542
  }
1503
1543
  ]
1504
- }, U1 = `<svg height="24" width="24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" xml:space="preserve">
1544
+ }, tn = `<svg height="24" width="24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" xml:space="preserve">
1505
1545
  <style type="text/css">
1506
1546
  .st0{fill:currentColor;}
1507
1547
  </style>
@@ -1530,31 +1570,31 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1530
1570
  c4.709,14.802,17.357,22.204,33.644,22.204c16.286,0,28.668-8.204,33.374-22.881c1.617-5.111,2.29-12.645,2.29-20.716v-0.95
1531
1571
  C372.362,303.664,369.538,300.836,364.556,300.836z"/>
1532
1572
  </g>
1533
- </svg>`, q1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1573
+ </svg>`, nn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1534
1574
  <path d="M20.64 15.3735L16.5187 11.2522C16.1434 10.8769 15.5357 10.8769 15.1613 11.2522L11.04 15.3735" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1535
1575
  <path fill-rule="evenodd" clip-rule="evenodd" d="M17.76 20.1736H6.24C4.64928 20.1736 3.36 18.8843 3.36 17.2936V5.77355C3.36 4.18283 4.64928 2.89355 6.24 2.89355H17.76C19.3507 2.89355 20.64 4.18283 20.64 5.77355V17.2936C20.64 18.8843 19.3507 20.1736 17.76 20.1736Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1536
1576
  <path d="M15.84 20.1734L9.79872 14.1321C9.42336 13.7567 8.81568 13.7567 8.44128 14.1321L3.78816 18.7852" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1537
1577
  <path d="M9.37456 8.39927C9.51515 8.53986 9.51515 8.7678 9.37456 8.90839C9.23397 9.04898 9.00603 9.04898 8.86544 8.90839C8.72485 8.7678 8.72485 8.53986 8.86544 8.39927C9.00603 8.25868 9.23397 8.25868 9.37456 8.39927" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1538
1578
  </svg>
1539
- `, Y1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1579
+ `, rn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1540
1580
  <path fill-rule="evenodd" clip-rule="evenodd" d="M10.2939 12L14.6229 9.5L10.2939 7V12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1541
1581
  <path fill-rule="evenodd" clip-rule="evenodd" d="M19.889 3.38867H4.111C3.497 3.38867 3 3.88567 3 4.49967V14.4997C3 15.1137 3.497 15.6107 4.111 15.6107H19.889C20.503 15.6107 21 15.1137 21 14.4997V4.49967C21 3.88567 20.503 3.38867 19.889 3.38867Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1542
1582
  <path d="M8.56066 18.9393C9.14645 19.5251 9.14645 20.4749 8.56066 21.0607C7.97487 21.6464 7.02513 21.6464 6.43934 21.0607C5.85355 20.4749 5.85355 19.5251 6.43934 18.9393C7.02513 18.3536 7.97487 18.3536 8.56066 18.9393" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1543
1583
  <path d="M21 20H9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1544
1584
  <path d="M3 20H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1545
1585
  </svg>
1546
- `, X1 = {
1586
+ `, on = {
1547
1587
  name: "Media",
1548
1588
  templates: [
1549
1589
  {
1550
1590
  name: "Image",
1551
- template: /* @__PURE__ */ n(k, { src: "https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/", is: qe }),
1552
- icon: { source: q1, height: 32 }
1591
+ template: /* @__PURE__ */ n(k, { src: "https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/", is: Ye }),
1592
+ icon: { source: nn, height: 32 }
1553
1593
  },
1554
1594
  {
1555
1595
  name: "Video",
1556
1596
  template: /* @__PURE__ */ n(
1557
- Ze,
1597
+ $e,
1558
1598
  {
1559
1599
  sx: {
1560
1600
  aspectRatio: "16 / 9"
@@ -1562,21 +1602,21 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1562
1602
  src: "https://cdn.shopify.com/videos/c/o/v/2cd3deb506b54b009063f7270ab5cf2e.mp4"
1563
1603
  }
1564
1604
  ),
1565
- icon: { source: Y1, height: 32 }
1605
+ icon: { source: rn, height: 32 }
1566
1606
  },
1567
1607
  {
1568
1608
  name: "Icon",
1569
- template: /* @__PURE__ */ n(k, { source: ke, is: Ye }),
1570
- icon: { source: U1, height: 32 }
1609
+ template: /* @__PURE__ */ n(k, { source: ke, is: Xe }),
1610
+ icon: { source: tn, height: 32 }
1571
1611
  }
1572
1612
  ]
1573
- }, K1 = `<svg width="24" height="24" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
1613
+ }, sn = `<svg width="24" height="24" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
1574
1614
  <path d="M5.5 10V8.5M5.5 8.5V3.5C5.5 2.94772 5.94772 2.5 6.5 2.5C7.05228 2.5 7.5 2.94772 7.5 3.5V7.5H10.8529C11.7626 7.5 12.5 8.23741 12.5 9.14706V10C12.5 12.4853 10.4853 14.5 8 14.5H7.5C5.29086 14.5 3.5 12.7091 3.5 10.5C3.5 9.39543 4.39543 8.5 5.5 8.5ZM9 5.5H11C12.3807 5.5 13.5 4.38071 13.5 3C13.5 1.61929 12.3807 0.5 11 0.5H4C2.61929 0.5 1.5 1.61929 1.5 3C1.5 4.38071 2.61929 5.5 4 5.5" stroke="currentColor"/>
1575
- </svg>`, J1 = `<svg fill="currentColor" width="120" height="120" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
1615
+ </svg>`, an = `<svg fill="currentColor" width="120" height="120" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
1576
1616
  <path d="M76.26,37.7H73.57V64.63h2.69A3.75,3.75,0,0,0,80,60.89V41.44A3.75,3.75,0,0,0,76.26,37.7Z"/>
1577
1617
  <path d="M20,41.44V60.89a3.75,3.75,0,0,0,3.74,3.74h2.69V37.7H23.74A3.75,3.75,0,0,0,20,41.44Z"/>
1578
1618
  <path d="M66.46,34.33H33.54a3.75,3.75,0,0,0-3.74,3.74V64.26A3.75,3.75,0,0,0,33.54,68H66.46a3.75,3.75,0,0,0,3.74-3.74V38.07A3.75,3.75,0,0,0,66.46,34.33ZM60.89,61.27H37.77a1.21,1.21,0,0,1-1-1.83l7-12.19a.75.75,0,0,1,1.35,0l4.23,7.26a.81.81,0,0,0,1.35.07l3.44-4.94a.8.8,0,0,1,1.35,0l6.28,10A1,1,0,0,1,60.89,61.27Zm-.6-14.36a3.18,3.18,0,1,1,3.18-3.18A3.18,3.18,0,0,1,60.29,46.9Z"/>
1579
- </svg>`, Q1 = `<svg width="126" height="80" viewBox="0 0 126 80" fill="none" xmlns="http://www.w3.org/2000/svg">
1619
+ </svg>`, cn = `<svg width="126" height="80" viewBox="0 0 126 80" fill="none" xmlns="http://www.w3.org/2000/svg">
1580
1620
  <g clip-path="url(#clip0_10250_27631)">
1581
1621
  <path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="currentColor"></path>
1582
1622
  <path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="url(#paint0_linear_10250_27631)"></path>
@@ -1594,15 +1634,15 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1594
1634
  <path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="white"></path>
1595
1635
  </clipPath>
1596
1636
  </defs>
1597
- </svg>`, en = `<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
1637
+ </svg>`, ln = `<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
1598
1638
  <rect x="8" y="30" width="32" height="2" fill="currentColor"></rect>
1599
1639
  <rect x="8" y="12" width="32" height="8" rx="4" fill="currentColor"></rect>
1600
1640
  <rect x="56" y="12" width="32" height="8" rx="4" fill="currentColor"></rect>
1601
- </svg>`, tn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1641
+ </svg>`, dn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1602
1642
  <path d="M15.964 6.03575C17.345 4.65475 19.583 4.65475 20.964 6.03575V6.03575C22.345 7.41675 22.345 9.65475 20.964 11.0357L15.085 16.9148C13.704 18.2958 11.466 18.2958 10.085 16.9148V16.9148C8.70401 15.5338 8.70401 13.2958 10.085 11.9148L10.964 11.0357" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1603
1643
  <path d="M8.036 18.9636C6.655 20.3446 4.417 20.3446 3.036 18.9636V18.9636C1.655 17.5826 1.655 15.3446 3.036 13.9636L8.915 8.08458C10.296 6.70358 12.534 6.70358 13.915 8.08458V8.08458C15.296 9.46558 15.296 11.7036 13.915 13.0846L13 13.9996" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1604
1644
  </svg>
1605
- `, nn = {
1645
+ `, hn = {
1606
1646
  name: "Interactive",
1607
1647
  templates: [
1608
1648
  {
@@ -1613,22 +1653,22 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1613
1653
  dangerouslySetInnerHTML: {
1614
1654
  __html: "Button"
1615
1655
  },
1616
- is: Ue
1656
+ is: qe
1617
1657
  }
1618
1658
  ),
1619
- icon: { source: K1, height: 32 }
1659
+ icon: { source: sn, height: 32 }
1620
1660
  },
1621
1661
  {
1622
1662
  name: "Link",
1623
- template: /* @__PURE__ */ n(k, { is: Xe }),
1624
- icon: { source: tn, height: 32 }
1663
+ template: /* @__PURE__ */ n(k, { is: Ke }),
1664
+ icon: { source: dn, height: 32 }
1625
1665
  },
1626
1666
  {
1627
1667
  name: "Carousel",
1628
1668
  template: /* @__PURE__ */ n(
1629
1669
  k,
1630
1670
  {
1631
- is: xe,
1671
+ is: be,
1632
1672
  slidesPerView: 2,
1633
1673
  spaceBetween: 8,
1634
1674
  md: {
@@ -1637,33 +1677,33 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1637
1677
  lg: {
1638
1678
  slidesPerView: 4
1639
1679
  },
1640
- children: F(6).map((e) => /* @__PURE__ */ n(k, { is: r2, canvas: !0 }, e))
1680
+ children: O(6).map((e) => /* @__PURE__ */ n(k, { is: o2, canvas: !0 }, e))
1641
1681
  }
1642
1682
  ),
1643
- icon: { source: J1, height: 32 }
1683
+ icon: { source: an, height: 32 }
1644
1684
  },
1645
1685
  {
1646
1686
  name: "Marquee",
1647
- template: /* @__PURE__ */ n(k, { is: be, children: F(10).map((e) => /* @__PURE__ */ n(k, { canvas: !0, is: o2 }, e)) }),
1648
- icon: { source: Q1, height: 32 }
1687
+ template: /* @__PURE__ */ n(k, { is: xe, children: O(10).map((e) => /* @__PURE__ */ n(k, { canvas: !0, is: s2 }, e)) }),
1688
+ icon: { source: cn, height: 32 }
1649
1689
  },
1650
1690
  {
1651
1691
  name: "Tabs",
1652
- template: /* @__PURE__ */ g(
1692
+ template: /* @__PURE__ */ m(
1653
1693
  k,
1654
1694
  {
1655
- is: Ke,
1695
+ is: Je,
1656
1696
  sx: {
1657
1697
  width: "100%"
1658
1698
  },
1659
1699
  children: [
1660
- /* @__PURE__ */ n(k, { is: D2, children: F(3).map((e) => {
1700
+ /* @__PURE__ */ n(k, { is: U2, children: O(3).map((e) => {
1661
1701
  const t = `Tab ${e + 1}`;
1662
1702
  return /* @__PURE__ */ n(
1663
1703
  k,
1664
1704
  {
1665
1705
  canvas: !0,
1666
- is: H2,
1706
+ is: q2,
1667
1707
  dangerouslySetInnerHTML: {
1668
1708
  __html: t
1669
1709
  }
@@ -1671,22 +1711,22 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1671
1711
  e
1672
1712
  );
1673
1713
  }) }),
1674
- /* @__PURE__ */ n(k, { is: j2, children: F(3).map((e) => /* @__PURE__ */ n(k, { canvas: !0, is: _2 }, e)) })
1714
+ /* @__PURE__ */ n(k, { is: Y2, children: O(3).map((e) => /* @__PURE__ */ n(k, { canvas: !0, is: X2 }, e)) })
1675
1715
  ]
1676
1716
  }
1677
1717
  ),
1678
- icon: { source: en, height: 40 }
1718
+ icon: { source: ln, height: 40 }
1679
1719
  }
1680
1720
  ]
1681
- }, rn = `<svg fill="currentColor" width="24" height="24" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
1721
+ }, un = `<svg fill="currentColor" width="24" height="24" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
1682
1722
  <title>h</title>
1683
1723
  <path d="M25.264 3.993h-0.928c-0.442 0-0.8 0.358-0.801 0.8v9.952h-15.038v-9.952c-0-0.442-0.358-0.8-0.8-0.8h-0.928c-0.442 0-0.8 0.358-0.8 0.8v22.4c0 0.442 0.358 0.8 0.8 0.801h0.928c0.442-0.001 0.8-0.359 0.8-0.801v0-9.952h15.038v9.952c0.001 0.442 0.359 0.8 0.801 0.801h0.928c0.442-0.001 0.8-0.359 0.801-0.801v-22.4c-0.001-0.442-0.359-0.8-0.801-0.8h-0z"/>
1684
1724
  </svg>
1685
- `, on = `<svg fill="currentColor" width="24" height="24" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
1725
+ `, pn = `<svg fill="currentColor" width="24" height="24" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
1686
1726
  <title>p</title>
1687
1727
  <path d="M24.223 6.397c-1.592-1.495-3.741-2.413-6.104-2.413-0.137 0-0.274 0.003-0.41 0.009l0.019-0.001h-8.416c-0.442 0-0.8 0.358-0.8 0.8v22.4c0 0.442 0.358 0.8 0.8 0.801h0.928c0.442-0.001 0.8-0.359 0.8-0.801v0-6.561h6.688c0.117 0.005 0.253 0.009 0.391 0.009 2.363 0 4.512-0.918 6.108-2.417l-0.005 0.004c1.521-1.457 2.466-3.504 2.466-5.772 0-0.050-0-0.101-0.001-0.151l0 0.008c0.001-0.042 0.001-0.093 0.001-0.143 0-2.268-0.945-4.316-2.463-5.771l-0.003-0.003zM11.040 6.521h6.624c0.12-0.008 0.259-0.012 0.4-0.012 1.678 0 3.208 0.636 4.361 1.68l-0.006-0.005c1.054 0.998 1.709 2.407 1.709 3.969 0 0.056-0.001 0.112-0.003 0.168l0-0.008c0.001 0.047 0.002 0.101 0.002 0.156 0 1.569-0.656 2.985-1.709 3.988l-0.002 0.002c-1.145 1.047-2.676 1.689-4.357 1.689-0.14 0-0.278-0.004-0.416-0.013l0.019 0.001h-6.624z"/>
1688
1728
  </svg>
1689
- `, sn = {
1729
+ `, Cn = {
1690
1730
  name: "Text",
1691
1731
  templates: [
1692
1732
  {
@@ -1700,10 +1740,10 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1700
1740
  as: "h2",
1701
1741
  sizeVariant: "4xl",
1702
1742
  md: { sizeVariant: "5xl" },
1703
- is: ze
1743
+ is: Ze
1704
1744
  }
1705
1745
  ),
1706
- icon: { source: rn, height: 32 }
1746
+ icon: { source: un, height: 32 }
1707
1747
  },
1708
1748
  {
1709
1749
  name: "Paragraph",
@@ -1716,13 +1756,13 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1716
1756
  is: ae
1717
1757
  }
1718
1758
  ),
1719
- icon: { source: on, height: 32 }
1759
+ icon: { source: pn, height: 32 }
1720
1760
  }
1721
1761
  ]
1722
- }, an = `<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
1762
+ }, gn = `<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
1723
1763
  <path opacity="0.96" d="M6.66797 28.1193C6.02592 28.1193 5.47905 27.9446 5.02734 27.5952C4.57564 27.2429 4.23047 26.733 3.99183 26.0653C3.7532 25.3949 3.63388 24.5852 3.63388 23.6364C3.63388 22.6932 3.7532 21.8878 3.99183 21.2202C4.23331 20.5497 4.5799 20.0384 5.03161 19.6861C5.48615 19.331 6.03161 19.1534 6.66797 19.1534C7.30433 19.1534 7.84837 19.331 8.30007 19.6861C8.75462 20.0384 9.10121 20.5497 9.33984 21.2202C9.58132 21.8878 9.70206 22.6932 9.70206 23.6364C9.70206 24.5852 9.58274 25.3949 9.34411 26.0653C9.10547 26.733 8.7603 27.2429 8.30859 27.5952C7.85689 27.9446 7.31001 28.1193 6.66797 28.1193ZM6.66797 27.1818C7.30433 27.1818 7.79865 26.875 8.15092 26.2614C8.5032 25.6477 8.67933 24.7727 8.67933 23.6364C8.67933 22.8807 8.59837 22.2372 8.43643 21.706C8.27734 21.1747 8.04723 20.7699 7.74609 20.4915C7.4478 20.2131 7.08842 20.0739 6.66797 20.0739C6.03729 20.0739 5.54439 20.3849 5.18928 21.0071C4.83416 21.6264 4.65661 22.5028 4.65661 23.6364C4.65661 24.392 4.73615 25.0341 4.89524 25.5625C5.05433 26.0909 5.28303 26.4929 5.58132 26.7685C5.88246 27.044 6.24467 27.1818 6.66797 27.1818ZM14.168 28.1193C13.5259 28.1193 12.979 27.9446 12.5273 27.5952C12.0756 27.2429 11.7305 26.733 11.4918 26.0653C11.2532 25.3949 11.1339 24.5852 11.1339 23.6364C11.1339 22.6932 11.2532 21.8878 11.4918 21.2202C11.7333 20.5497 12.0799 20.0384 12.5316 19.6861C12.9862 19.331 13.5316 19.1534 14.168 19.1534C14.8043 19.1534 15.3484 19.331 15.8001 19.6861C16.2546 20.0384 16.6012 20.5497 16.8398 21.2202C17.0813 21.8878 17.2021 22.6932 17.2021 23.6364C17.2021 24.5852 17.0827 25.3949 16.8441 26.0653C16.6055 26.733 16.2603 27.2429 15.8086 27.5952C15.3569 27.9446 14.81 28.1193 14.168 28.1193ZM14.168 27.1818C14.8043 27.1818 15.2987 26.875 15.6509 26.2614C16.0032 25.6477 16.1793 24.7727 16.1793 23.6364C16.1793 22.8807 16.0984 22.2372 15.9364 21.706C15.7773 21.1747 15.5472 20.7699 15.2461 20.4915C14.9478 20.2131 14.5884 20.0739 14.168 20.0739C13.5373 20.0739 13.0444 20.3849 12.6893 21.0071C12.3342 21.6264 12.1566 22.5028 12.1566 23.6364C12.1566 24.392 12.2362 25.0341 12.3952 25.5625C12.5543 26.0909 12.783 26.4929 13.0813 26.7685C13.3825 27.044 13.7447 27.1818 14.168 27.1818ZM22.9464 26.8835C22.7362 26.8835 22.5558 26.8082 22.4052 26.6577C22.2546 26.5071 22.1793 26.3267 22.1793 26.1165C22.1793 25.9062 22.2546 25.7259 22.4052 25.5753C22.5558 25.4247 22.7362 25.3494 22.9464 25.3494C23.1566 25.3494 23.337 25.4247 23.4876 25.5753C23.6381 25.7259 23.7134 25.9062 23.7134 26.1165C23.7134 26.2557 23.6779 26.3835 23.6069 26.5C23.5387 26.6165 23.4464 26.7102 23.3299 26.7812C23.2163 26.8494 23.0884 26.8835 22.9464 26.8835ZM22.9464 22.4688C22.7362 22.4688 22.5558 22.3935 22.4052 22.2429C22.2546 22.0923 22.1793 21.9119 22.1793 21.7017C22.1793 21.4915 22.2546 21.3111 22.4052 21.1605C22.5558 21.0099 22.7362 20.9347 22.9464 20.9347C23.1566 20.9347 23.337 21.0099 23.4876 21.1605C23.6381 21.3111 23.7134 21.4915 23.7134 21.7017C23.7134 21.8409 23.6779 21.9688 23.6069 22.0852C23.5387 22.2017 23.4464 22.2955 23.3299 22.3665C23.2163 22.4347 23.0884 22.4688 22.9464 22.4688ZM31.7227 28.1193C31.0806 28.1193 30.5337 27.9446 30.082 27.5952C29.6303 27.2429 29.2852 26.733 29.0465 26.0653C28.8079 25.3949 28.6886 24.5852 28.6886 23.6364C28.6886 22.6932 28.8079 21.8878 29.0465 21.2202C29.288 20.5497 29.6346 20.0384 30.0863 19.6861C30.5408 19.331 31.0863 19.1534 31.7227 19.1534C32.359 19.1534 32.9031 19.331 33.3548 19.6861C33.8093 20.0384 34.1559 20.5497 34.3945 21.2202C34.636 21.8878 34.7567 22.6932 34.7567 23.6364C34.7567 24.5852 34.6374 25.3949 34.3988 26.0653C34.1602 26.733 33.815 27.2429 33.3633 27.5952C32.9116 27.9446 32.3647 28.1193 31.7227 28.1193ZM31.7227 27.1818C32.359 27.1818 32.8533 26.875 33.2056 26.2614C33.5579 25.6477 33.734 24.7727 33.734 23.6364C33.734 22.8807 33.6531 22.2372 33.4911 21.706C33.332 21.1747 33.1019 20.7699 32.8008 20.4915C32.5025 20.2131 32.1431 20.0739 31.7227 20.0739C31.092 20.0739 30.5991 20.3849 30.244 21.0071C29.8888 21.6264 29.7113 22.5028 29.7113 23.6364C29.7113 24.392 29.7908 25.0341 29.9499 25.5625C30.109 26.0909 30.3377 26.4929 30.636 26.7685C30.9371 27.044 31.2994 27.1818 31.7227 27.1818ZM39.2227 28.1193C38.5806 28.1193 38.0337 27.9446 37.582 27.5952C37.1303 27.2429 36.7852 26.733 36.5465 26.0653C36.3079 25.3949 36.1886 24.5852 36.1886 23.6364C36.1886 22.6932 36.3079 21.8878 36.5465 21.2202C36.788 20.5497 37.1346 20.0384 37.5863 19.6861C38.0408 19.331 38.5863 19.1534 39.2227 19.1534C39.859 19.1534 40.4031 19.331 40.8548 19.6861C41.3093 20.0384 41.6559 20.5497 41.8945 21.2202C42.136 21.8878 42.2567 22.6932 42.2567 23.6364C42.2567 24.5852 42.1374 25.3949 41.8988 26.0653C41.6602 26.733 41.315 27.2429 40.8633 27.5952C40.4116 27.9446 39.8647 28.1193 39.2227 28.1193ZM39.2227 27.1818C39.859 27.1818 40.3533 26.875 40.7056 26.2614C41.0579 25.6477 41.234 24.7727 41.234 23.6364C41.234 22.8807 41.1531 22.2372 40.9911 21.706C40.832 21.1747 40.6019 20.7699 40.3008 20.4915C40.0025 20.2131 39.6431 20.0739 39.2227 20.0739C38.592 20.0739 38.0991 20.3849 37.744 21.0071C37.3888 21.6264 37.2113 22.5028 37.2113 23.6364C37.2113 24.392 37.2908 25.0341 37.4499 25.5625C37.609 26.0909 37.8377 26.4929 38.136 26.7685C38.4371 27.044 38.7994 27.1818 39.2227 27.1818ZM48.0011 26.8835C47.7908 26.8835 47.6104 26.8082 47.4599 26.6577C47.3093 26.5071 47.234 26.3267 47.234 26.1165C47.234 25.9062 47.3093 25.7259 47.4599 25.5753C47.6104 25.4247 47.7908 25.3494 48.0011 25.3494C48.2113 25.3494 48.3917 25.4247 48.5423 25.5753C48.6928 25.7259 48.7681 25.9062 48.7681 26.1165C48.7681 26.2557 48.7326 26.3835 48.6616 26.5C48.5934 26.6165 48.5011 26.7102 48.3846 26.7812C48.271 26.8494 48.1431 26.8835 48.0011 26.8835ZM48.0011 22.4688C47.7908 22.4688 47.6104 22.3935 47.4599 22.2429C47.3093 22.0923 47.234 21.9119 47.234 21.7017C47.234 21.4915 47.3093 21.3111 47.4599 21.1605C47.6104 21.0099 47.7908 20.9347 48.0011 20.9347C48.2113 20.9347 48.3917 21.0099 48.5423 21.1605C48.6928 21.3111 48.7681 21.4915 48.7681 21.7017C48.7681 21.8409 48.7326 21.9688 48.6616 22.0852C48.5934 22.2017 48.5011 22.2955 48.3846 22.3665C48.271 22.4347 48.1431 22.4688 48.0011 22.4688ZM56.7773 28.1193C56.1353 28.1193 55.5884 27.9446 55.1367 27.5952C54.685 27.2429 54.3398 26.733 54.1012 26.0653C53.8626 25.3949 53.7433 24.5852 53.7433 23.6364C53.7433 22.6932 53.8626 21.8878 54.1012 21.2202C54.3427 20.5497 54.6893 20.0384 55.141 19.6861C55.5955 19.331 56.141 19.1534 56.7773 19.1534C57.4137 19.1534 57.9577 19.331 58.4094 19.6861C58.864 20.0384 59.2106 20.5497 59.4492 21.2202C59.6907 21.8878 59.8114 22.6932 59.8114 23.6364C59.8114 24.5852 59.6921 25.3949 59.4535 26.0653C59.2148 26.733 58.8697 27.2429 58.418 27.5952C57.9663 27.9446 57.4194 28.1193 56.7773 28.1193ZM56.7773 27.1818C57.4137 27.1818 57.908 26.875 58.2603 26.2614C58.6126 25.6477 58.7887 24.7727 58.7887 23.6364C58.7887 22.8807 58.7077 22.2372 58.5458 21.706C58.3867 21.1747 58.1566 20.7699 57.8555 20.4915C57.5572 20.2131 57.1978 20.0739 56.7773 20.0739C56.1467 20.0739 55.6538 20.3849 55.2987 21.0071C54.9435 21.6264 54.766 22.5028 54.766 23.6364C54.766 24.392 54.8455 25.0341 55.0046 25.5625C55.1637 26.0909 55.3924 26.4929 55.6907 26.7685C55.9918 27.044 56.354 27.1818 56.7773 27.1818ZM64.2773 28.1193C63.6353 28.1193 63.0884 27.9446 62.6367 27.5952C62.185 27.2429 61.8398 26.733 61.6012 26.0653C61.3626 25.3949 61.2433 24.5852 61.2433 23.6364C61.2433 22.6932 61.3626 21.8878 61.6012 21.2202C61.8427 20.5497 62.1893 20.0384 62.641 19.6861C63.0955 19.331 63.641 19.1534 64.2773 19.1534C64.9137 19.1534 65.4577 19.331 65.9094 19.6861C66.364 20.0384 66.7106 20.5497 66.9492 21.2202C67.1907 21.8878 67.3114 22.6932 67.3114 23.6364C67.3114 24.5852 67.1921 25.3949 66.9535 26.0653C66.7148 26.733 66.3697 27.2429 65.918 27.5952C65.4663 27.9446 64.9194 28.1193 64.2773 28.1193ZM64.2773 27.1818C64.9137 27.1818 65.408 26.875 65.7603 26.2614C66.1126 25.6477 66.2887 24.7727 66.2887 23.6364C66.2887 22.8807 66.2077 22.2372 66.0458 21.706C65.8867 21.1747 65.6566 20.7699 65.3555 20.4915C65.0572 20.2131 64.6978 20.0739 64.2773 20.0739C63.6467 20.0739 63.1538 20.3849 62.7987 21.0071C62.4435 21.6264 62.266 22.5028 62.266 23.6364C62.266 24.392 62.3455 25.0341 62.5046 25.5625C62.6637 26.0909 62.8924 26.4929 63.1907 26.7685C63.4918 27.044 63.854 27.1818 64.2773 27.1818ZM73.0558 26.8835C72.8455 26.8835 72.6651 26.8082 72.5146 26.6577C72.364 26.5071 72.2887 26.3267 72.2887 26.1165C72.2887 25.9062 72.364 25.7259 72.5146 25.5753C72.6651 25.4247 72.8455 25.3494 73.0558 25.3494C73.266 25.3494 73.4464 25.4247 73.5969 25.5753C73.7475 25.7259 73.8228 25.9062 73.8228 26.1165C73.8228 26.2557 73.7873 26.3835 73.7163 26.5C73.6481 26.6165 73.5558 26.7102 73.4393 26.7812C73.3256 26.8494 73.1978 26.8835 73.0558 26.8835ZM73.0558 22.4688C72.8455 22.4688 72.6651 22.3935 72.5146 22.2429C72.364 22.0923 72.2887 21.9119 72.2887 21.7017C72.2887 21.4915 72.364 21.3111 72.5146 21.1605C72.6651 21.0099 72.8455 20.9347 73.0558 20.9347C73.266 20.9347 73.4464 21.0099 73.5969 21.1605C73.7475 21.3111 73.8228 21.4915 73.8228 21.7017C73.8228 21.8409 73.7873 21.9688 73.7163 22.0852C73.6481 22.2017 73.5558 22.2955 73.4393 22.3665C73.3256 22.4347 73.1978 22.4688 73.0558 22.4688ZM81.832 28.1193C81.19 28.1193 80.6431 27.9446 80.1914 27.5952C79.7397 27.2429 79.3945 26.733 79.1559 26.0653C78.9173 25.3949 78.7979 24.5852 78.7979 23.6364C78.7979 22.6932 78.9173 21.8878 79.1559 21.2202C79.3974 20.5497 79.744 20.0384 80.1957 19.6861C80.6502 19.331 81.1957 19.1534 81.832 19.1534C82.4684 19.1534 83.0124 19.331 83.4641 19.6861C83.9187 20.0384 84.2653 20.5497 84.5039 21.2202C84.7454 21.8878 84.8661 22.6932 84.8661 23.6364C84.8661 24.5852 84.7468 25.3949 84.5082 26.0653C84.2695 26.733 83.9244 27.2429 83.4727 27.5952C83.021 27.9446 82.4741 28.1193 81.832 28.1193ZM81.832 27.1818C82.4684 27.1818 82.9627 26.875 83.315 26.2614C83.6673 25.6477 83.8434 24.7727 83.8434 23.6364C83.8434 22.8807 83.7624 22.2372 83.6005 21.706C83.4414 21.1747 83.2113 20.7699 82.9102 20.4915C82.6119 20.2131 82.2525 20.0739 81.832 20.0739C81.2013 20.0739 80.7085 20.3849 80.3533 21.0071C79.9982 21.6264 79.8207 22.5028 79.8207 23.6364C79.8207 24.392 79.9002 25.0341 80.0593 25.5625C80.2184 26.0909 80.4471 26.4929 80.7454 26.7685C81.0465 27.044 81.4087 27.1818 81.832 27.1818ZM89.332 28.1193C88.69 28.1193 88.1431 27.9446 87.6914 27.5952C87.2397 27.2429 86.8945 26.733 86.6559 26.0653C86.4173 25.3949 86.2979 24.5852 86.2979 23.6364C86.2979 22.6932 86.4173 21.8878 86.6559 21.2202C86.8974 20.5497 87.244 20.0384 87.6957 19.6861C88.1502 19.331 88.6957 19.1534 89.332 19.1534C89.9684 19.1534 90.5124 19.331 90.9641 19.6861C91.4187 20.0384 91.7653 20.5497 92.0039 21.2202C92.2454 21.8878 92.3661 22.6932 92.3661 23.6364C92.3661 24.5852 92.2468 25.3949 92.0082 26.0653C91.7695 26.733 91.4244 27.2429 90.9727 27.5952C90.521 27.9446 89.9741 28.1193 89.332 28.1193ZM89.332 27.1818C89.9684 27.1818 90.4627 26.875 90.815 26.2614C91.1673 25.6477 91.3434 24.7727 91.3434 23.6364C91.3434 22.8807 91.2624 22.2372 91.1005 21.706C90.9414 21.1747 90.7113 20.7699 90.4102 20.4915C90.1119 20.2131 89.7525 20.0739 89.332 20.0739C88.7013 20.0739 88.2085 20.3849 87.8533 21.0071C87.4982 21.6264 87.3207 22.5028 87.3207 23.6364C87.3207 24.392 87.4002 25.0341 87.5593 25.5625C87.7184 26.0909 87.9471 26.4929 88.2454 26.7685C88.5465 27.044 88.9087 27.1818 89.332 27.1818Z" fill="#F9F9F9"/>
1724
1764
  </svg>
1725
- `, cn = {
1765
+ `, fn = {
1726
1766
  name: "Utilities",
1727
1767
  templates: [
1728
1768
  {
@@ -1730,11 +1770,11 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1730
1770
  template: /* @__PURE__ */ n(
1731
1771
  k,
1732
1772
  {
1733
- is: e2,
1773
+ is: t2,
1734
1774
  omit: {
1735
1775
  days: !0
1736
1776
  },
1737
- date: Yt().add(1, "week").toDate(),
1777
+ date: n1().add(1, "week").toDate(),
1738
1778
  sx: {
1739
1779
  justifyContent: "center",
1740
1780
  columnGap: 8,
@@ -1791,25 +1831,25 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1791
1831
  ]
1792
1832
  }
1793
1833
  ),
1794
- icon: { source: an, height: 48 }
1834
+ icon: { source: gn, height: 48 }
1795
1835
  }
1796
1836
  ]
1797
- }, ln = [
1798
- sn,
1799
- F1,
1800
- X1,
1801
- nn,
1802
- G1,
1803
- $1,
1804
- cn
1805
- ], dn = '<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>', hn = {
1837
+ }, wn = [
1838
+ Cn,
1839
+ Y1,
1840
+ on,
1841
+ hn,
1842
+ en,
1843
+ Q1,
1844
+ fn
1845
+ ], mn = '<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>', kn = {
1806
1846
  name: "Basics",
1807
- icon: { source: dn },
1808
- renderer: () => /* @__PURE__ */ n(pn, { elementGroups: ln })
1809
- }, un = ({ groups: e }) => {
1810
- const t = [hn, ...e ?? []];
1811
- return /* @__PURE__ */ g("div", { css: { display: "flex", flexDirection: "column", height: "100%" }, children: [
1812
- /* @__PURE__ */ n("div", { css: { display: "flex", padding: 8, alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(s2, { fullWidth: !0, placeholder: "Search...", prefix: /* @__PURE__ */ n(M, { source: D1 }) }) }),
1847
+ icon: { source: mn },
1848
+ renderer: () => /* @__PURE__ */ n(bn, { elementGroups: wn })
1849
+ }, vn = ({ groups: e }) => {
1850
+ const t = [kn, ...e ?? []];
1851
+ return /* @__PURE__ */ m("div", { css: { display: "flex", flexDirection: "column", height: "100%" }, children: [
1852
+ /* @__PURE__ */ n("div", { css: { display: "flex", padding: 8, alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(i2, { fullWidth: !0, placeholder: "Search...", prefix: /* @__PURE__ */ n(M, { source: $1 }) }) }),
1813
1853
  /* @__PURE__ */ n(
1814
1854
  ye,
1815
1855
  {
@@ -1817,33 +1857,33 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1817
1857
  paddingBlock: 8,
1818
1858
  borderTopWidth: 1,
1819
1859
  borderTopStyle: "solid",
1820
- borderColor: p.palette.white["1s"],
1860
+ borderColor: w.palette.white["1s"],
1821
1861
  flex: 1
1822
1862
  },
1823
- children: t.map((o, r) => /* @__PURE__ */ n(gn, { group: o }, r))
1863
+ children: t.map((o, r) => /* @__PURE__ */ n(yn, { group: o }, r))
1824
1864
  }
1825
1865
  )
1826
1866
  ] });
1827
- }, pn = ({ elementGroups: e }) => /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 8 }, children: e.map((t, o) => /* @__PURE__ */ n(Cn, { group: t }, o)) }), Cn = ({ group: e }) => {
1828
- const [t, o] = C2(!0), { actions: r, connectors: i } = O();
1829
- return /* @__PURE__ */ g("div", { css: { display: "flex", flexDirection: "column", ...p.text.sm }, children: [
1830
- /* @__PURE__ */ n(n2, { onClick: o, css: { paddingInline: 0, backgroundColor: "transparent" }, children: /* @__PURE__ */ g(
1867
+ }, bn = ({ elementGroups: e }) => /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 8 }, children: e.map((t, o) => /* @__PURE__ */ n(xn, { group: t }, o)) }), xn = ({ group: e }) => {
1868
+ const [t, o] = M2(!0), { actions: r, connectors: i } = z();
1869
+ return /* @__PURE__ */ m("div", { css: { display: "flex", flexDirection: "column", ...w.text.sm }, children: [
1870
+ /* @__PURE__ */ n(r2, { onClick: o, css: { paddingInline: 0, backgroundColor: "transparent" }, children: /* @__PURE__ */ m(
1831
1871
  "div",
1832
1872
  {
1833
- css: { display: "flex", alignItems: "center", justifyContent: "space-between", flex: 1, ...p.text.sm },
1873
+ css: { display: "flex", alignItems: "center", justifyContent: "space-between", flex: 1, ...w.text.sm },
1834
1874
  children: [
1835
1875
  e.name,
1836
1876
  /* @__PURE__ */ n(
1837
1877
  M,
1838
1878
  {
1839
- source: h2,
1879
+ source: u2,
1840
1880
  css: [{ transition: "transform" }, !t && { transform: "rotate(180deg)" }]
1841
1881
  }
1842
1882
  )
1843
1883
  ]
1844
1884
  }
1845
1885
  ) }),
1846
- /* @__PURE__ */ n(F2, { open: t, children: /* @__PURE__ */ n("div", { css: { display: "grid", paddingBlock: 8, gap: 16, gridTemplateColumns: "repeat(2, minmax(0, 1fr))" }, children: e.templates?.map((s, c) => /* @__PURE__ */ g("div", { css: { display: "flex", flexDirection: "column", gap: 4 }, children: [
1886
+ /* @__PURE__ */ n(K2, { open: t, children: /* @__PURE__ */ n("div", { css: { display: "grid", paddingBlock: 8, gap: 16, gridTemplateColumns: "repeat(2, minmax(0, 1fr))" }, children: e.templates?.map((s, c) => /* @__PURE__ */ m("div", { css: { display: "flex", flexDirection: "column", gap: 4 }, children: [
1847
1887
  /* @__PURE__ */ n(
1848
1888
  "div",
1849
1889
  {
@@ -1852,8 +1892,8 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1852
1892
  display: "flex",
1853
1893
  padding: 4,
1854
1894
  borderRadius: 8,
1855
- backgroundColor: p.palette.ink["6s"],
1856
- color: p.palette.white["5s"],
1895
+ backgroundColor: w.palette.ink["6s"],
1896
+ color: w.palette.white["5s"],
1857
1897
  pointerEvents: "auto",
1858
1898
  overflow: "hidden",
1859
1899
  flexDirection: "column",
@@ -1869,7 +1909,7 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1869
1909
  content: '""',
1870
1910
  position: "absolute",
1871
1911
  inset: 0,
1872
- backgroundColor: p.palette.white["1s"]
1912
+ backgroundColor: w.palette.white["1s"]
1873
1913
  }
1874
1914
  },
1875
1915
  ref: (a) => {
@@ -1879,37 +1919,37 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1879
1919
  }
1880
1920
  });
1881
1921
  },
1882
- children: s.icon && /* @__PURE__ */ n(O2, { width: void 0, height: void 0, ...s.icon })
1922
+ children: s.icon && /* @__PURE__ */ n(J2, { width: void 0, height: void 0, ...s.icon })
1883
1923
  }
1884
1924
  ),
1885
- /* @__PURE__ */ n("p", { css: { marginInline: "auto", textAlign: "center", ...z2.xs }, children: s.name })
1925
+ /* @__PURE__ */ n("p", { css: { marginInline: "auto", textAlign: "center", ...Q2.xs }, children: s.name })
1886
1926
  ] }, c)) }) })
1887
1927
  ] });
1888
- }, gn = ({ group: e }) => {
1889
- const [t, o] = H(!1), { refs: r, floatingStyles: i, context: s } = Wt({
1928
+ }, yn = ({ group: e }) => {
1929
+ const [t, o] = j(!1), { refs: r, floatingStyles: i, context: s } = p2({
1890
1930
  open: t,
1891
1931
  onOpenChange: o,
1892
1932
  placement: "right-start",
1893
1933
  middleware: [
1894
- Dt(),
1895
- Ht({
1896
- apply({ elements: m }) {
1897
- const w = {
1898
- zIndex: `${p2}`,
1899
- height: `${m.reference.getBoundingClientRect().height}px`
1934
+ f2(),
1935
+ g2({
1936
+ apply({ elements: C }) {
1937
+ const p = {
1938
+ zIndex: `${y2}`,
1939
+ height: `${C.reference.getBoundingClientRect().height}px`
1900
1940
  };
1901
- Object.assign(m.floating.style, w);
1941
+ Object.assign(C.floating.style, p);
1902
1942
  }
1903
1943
  })
1904
1944
  ],
1905
- whileElementsMounted: Pt
1945
+ whileElementsMounted: C2
1906
1946
  });
1907
- K(() => {
1947
+ J(() => {
1908
1948
  r.setPositionReference(document.querySelector("aside"));
1909
1949
  }, [r]);
1910
- const c = jt(s, { move: !1, handleClose: _t() }), a = Ft(s), l = Ot(s), f = zt(s), { getReferenceProps: d, getFloatingProps: h } = Zt([c, a, l, f]), u = e.renderer;
1911
- return /* @__PURE__ */ g(ce, { children: [
1912
- /* @__PURE__ */ g(
1950
+ const c = w2(s, { move: !1, handleClose: Kt() }), a = m2(s), l = k2(s), f = v2(s), { getReferenceProps: d, getFloatingProps: h } = b2([c, a, l, f]), u = e.renderer;
1951
+ return /* @__PURE__ */ m(ce, { children: [
1952
+ /* @__PURE__ */ m(
1913
1953
  "button",
1914
1954
  {
1915
1955
  css: {
@@ -1920,17 +1960,17 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1920
1960
  borderRadius: 8,
1921
1961
  textAlign: "left",
1922
1962
  width: "100%",
1923
- color: p.palette.white["5s"],
1963
+ color: w.palette.white["5s"],
1924
1964
  "&:hover": {
1925
- color: p.palette.white["6s"],
1926
- backgroundColor: p.palette.white["1s"],
1965
+ color: w.palette.white["6s"],
1966
+ backgroundColor: w.palette.white["1s"],
1927
1967
  fontWeight: 500
1928
1968
  }
1929
1969
  },
1930
1970
  ...d(),
1931
1971
  ref: r.setReference,
1932
1972
  children: [
1933
- e.icon && /* @__PURE__ */ n("div", { css: { padding: 6, borderRadius: 8, backgroundColor: p.palette.white["1s"] }, children: /* @__PURE__ */ n(M, { ...e.icon }) }),
1973
+ e.icon && /* @__PURE__ */ n("div", { css: { padding: 6, borderRadius: 8, backgroundColor: w.palette.white["1s"] }, children: /* @__PURE__ */ n(M, { ...e.icon }) }),
1934
1974
  /* @__PURE__ */ n(
1935
1975
  "span",
1936
1976
  {
@@ -1943,49 +1983,49 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1943
1983
  children: e.name
1944
1984
  }
1945
1985
  ),
1946
- /* @__PURE__ */ n(M, { css: { transform: "rotate(180deg)" }, source: H1 })
1986
+ /* @__PURE__ */ n(M, { css: { transform: "rotate(180deg)" }, source: G1 })
1947
1987
  ]
1948
1988
  }
1949
1989
  ),
1950
- t && /* @__PURE__ */ n(u2, { children: /* @__PURE__ */ n("div", { style: i, ...h(), ref: r.setFloating, children: /* @__PURE__ */ g(
1990
+ t && /* @__PURE__ */ n(x2, { children: /* @__PURE__ */ n("div", { style: i, ...h(), ref: r.setFloating, children: /* @__PURE__ */ m(
1951
1991
  "div",
1952
1992
  {
1953
1993
  css: {
1954
1994
  display: "flex",
1955
1995
  flexDirection: "column",
1956
1996
  height: "100%",
1957
- backgroundColor: p.palette.ink["6s"],
1958
- color: p.palette.white["6s"],
1997
+ backgroundColor: w.palette.ink["6s"],
1998
+ color: w.palette.white["6s"],
1959
1999
  borderLeftWidth: 1,
1960
2000
  borderLeftStyle: "solid",
1961
2001
  borderTopWidth: 1,
1962
2002
  borderTopStyle: "solid",
1963
- borderColor: p.palette.white["2s"],
1964
- ...p.text.sm
2003
+ borderColor: w.palette.white["2s"],
2004
+ ...w.text.sm
1965
2005
  },
1966
2006
  children: [
1967
2007
  /* @__PURE__ */ n("div", { css: { display: "flex", paddingInline: 8, alignItems: "center", height: 48 }, children: /* @__PURE__ */ n("h6", { css: { fontWeight: 500 }, children: e.name }) }),
1968
- /* @__PURE__ */ n(ye, { css: { paddingInline: 12, flex: 1 }, children: u ? /* @__PURE__ */ n(u, {}) : /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 16 }, children: e.templates?.map((m, w) => /* @__PURE__ */ Vt(fn, { ...m, key: w })) }) })
2008
+ /* @__PURE__ */ n(ye, { css: { paddingInline: 12, flex: 1 }, children: u ? /* @__PURE__ */ n(u, {}) : /* @__PURE__ */ n("div", { css: { display: "flex", flexDirection: "column", gap: 16 }, children: e.templates?.map((C, p) => /* @__PURE__ */ Gt(Mn, { ...C, key: p })) }) })
1969
2009
  ]
1970
2010
  }
1971
2011
  ) }) })
1972
2012
  ] });
1973
- }, fn = ({ template: e, autoFocus: t = !0, onCreate: o }) => {
1974
- const [, r] = H(!1), i = U(), { actions: s, connectors: c, resolver: a, query: l } = O((d) => ({
2013
+ }, Mn = ({ template: e, autoFocus: t = !0, onCreate: o }) => {
2014
+ const [, r] = j(!1), i = q(), { actions: s, connectors: c, resolver: a, query: l } = z((d) => ({
1975
2015
  resolver: d.options.resolver
1976
- })), f = H(() => {
2016
+ })), f = j(() => {
1977
2017
  const d = typeof e == "function" ? e() : e;
1978
2018
  let h;
1979
2019
  "rootNodeId" in d ? h = d : h = l.parseReactElement(d).toNodeTree();
1980
- const { rootNodeId: u, nodes: m } = h, w = {};
1981
- return Object.entries(m).forEach(([C, L]) => {
1982
- const b = q2(L.data, a), I = C === u ? z : C;
1983
- w[I] = {
1984
- ...b,
1985
- parent: b.parent === u ? z : b.parent,
1986
- nodes: b.nodes?.map((B) => B === u ? z : B)
2020
+ const { rootNodeId: u, nodes: C } = h, p = {};
2021
+ return Object.entries(C).forEach(([g, I]) => {
2022
+ const v = ot(I.data, a), L = g === u ? Z : g;
2023
+ p[L] = {
2024
+ ...v,
2025
+ parent: v.parent === u ? Z : v.parent,
2026
+ nodes: v.nodes?.map((N) => N === u ? Z : N)
1987
2027
  };
1988
- }), w;
2028
+ }), p;
1989
2029
  })[0];
1990
2030
  return /* @__PURE__ */ n(
1991
2031
  "div",
@@ -1996,7 +2036,7 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
1996
2036
  cursor: "grab",
1997
2037
  borderStyle: "solid",
1998
2038
  borderWidth: 1,
1999
- borderColor: p.palette.white["1s"]
2039
+ borderColor: w.palette.white["1s"]
2000
2040
  },
2001
2041
  ref: (d) => {
2002
2042
  d && c.create(d, e, {
@@ -2019,22 +2059,22 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2019
2059
  aspectRatio: "16 / 9"
2020
2060
  },
2021
2061
  children: /* @__PURE__ */ n("div", { css: { position: "absolute", inset: 0 }, children: /* @__PURE__ */ n(
2022
- b2,
2062
+ B2,
2023
2063
  {
2024
2064
  containerProps: {
2025
2065
  style: {
2026
2066
  backgroundColor: i.theme.palette.background.default
2027
2067
  }
2028
2068
  },
2029
- viewport: { width: Gt.md.minWidth },
2030
- children: /* @__PURE__ */ n(l2, { resolver: a, children: /* @__PURE__ */ n(d2, { data: f }) })
2069
+ viewport: { width: Qt.md.minWidth },
2070
+ children: /* @__PURE__ */ n(d2, { resolver: a, children: /* @__PURE__ */ n(h2, { data: f }) })
2031
2071
  }
2032
2072
  ) })
2033
2073
  }
2034
2074
  )
2035
2075
  }
2036
2076
  );
2037
- }, wn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2077
+ }, In = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2038
2078
  <path d="M12.5 2H9.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2039
2079
  <path d="M2 9.5V12.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2040
2080
  <path d="M10.257 16.6214L7.075 13.4394C6.489 12.8534 6.489 11.9034 7.075 11.3184V11.3184C7.661 10.7324 8.611 10.7324 9.196 11.3184" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
@@ -2045,52 +2085,52 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2045
2085
  <path d="M2 17V18C2 19.105 2.895 20 4 20H5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2046
2086
  <path d="M20 5V4C20 2.895 19.105 2 18 2H17" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2047
2087
  </svg>
2048
- `, mn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2088
+ `, Ln = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2049
2089
  <circle cx="6.49771" cy="5.49762" r="2.50104" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2050
2090
  <circle cx="6.49771" cy="18.503" r="2.50104" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2051
2091
  <path d="M6.49771 7.99854V16.0019" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2052
2092
  <circle cx="17.5023" cy="13.0006" r="2.50104" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2053
2093
  <path d="M6.49771 7.99854V7.99854C6.49771 10.7611 8.73722 13.0006 11.4998 13.0006H15.0013" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2054
2094
  </svg>
2055
- `, kn = (e) => {
2056
- const { query: t, actions: o } = O(), {
2095
+ `, Tn = (e) => {
2096
+ const { query: t, actions: o } = z(), {
2057
2097
  id: r,
2058
2098
  expanded: i,
2059
2099
  actions: s,
2060
2100
  displayName: c,
2061
2101
  children: a,
2062
2102
  depth: l
2063
- } = Kt((m) => ({
2064
- expanded: m.expanded,
2065
- displayName: i2(t.node(m.id).get())
2066
- })), { selected: f, selectable: d } = O((m, w) => {
2067
- const C = w.node(r).get();
2103
+ } = o1((C) => ({
2104
+ expanded: C.expanded,
2105
+ displayName: a2(t.node(C.id).get())
2106
+ })), { selected: f, selectable: d } = z((C, p) => {
2107
+ const g = p.node(r).get();
2068
2108
  return {
2069
- selected: w.getEvent("selected").contains(r),
2070
- nodeDOM: C.dom,
2071
- selectable: $2(C)
2109
+ selected: p.getEvent("selected").contains(r),
2110
+ nodeDOM: g.dom,
2111
+ selectable: tt(g)
2072
2112
  };
2073
2113
  });
2074
- K(() => {
2075
- r === z && s.setExpandedState(!0);
2076
- }, [s, r]), K(() => {
2114
+ J(() => {
2115
+ r === Z && s.setExpandedState(!0);
2116
+ }, [s, r]), J(() => {
2077
2117
  if (a.length === 0) return;
2078
- a.some((w) => {
2079
- const C = t.getEvent("selected").all();
2080
- return C.includes(w) ? !0 : t.node(w).descendants(!0).some((b) => C.includes(b));
2118
+ a.some((p) => {
2119
+ const g = t.getEvent("selected").all();
2120
+ return g.includes(p) ? !0 : t.node(p).descendants(!0).some((v) => g.includes(v));
2081
2121
  }) && s.setExpandedState(!0);
2082
2122
  }, [a, s, t]);
2083
2123
  const h = () => {
2084
2124
  o.selectNode(r);
2085
- }, u = (m) => {
2086
- m.stopPropagation(), s.toggleLayer();
2125
+ }, u = (C) => {
2126
+ C.stopPropagation(), s.toggleLayer();
2087
2127
  };
2088
- return /* @__PURE__ */ g(
2128
+ return /* @__PURE__ */ m(
2089
2129
  "div",
2090
2130
  {
2091
2131
  css: { paddingBlock: 4 },
2092
2132
  children: [
2093
- /* @__PURE__ */ g(
2133
+ /* @__PURE__ */ m(
2094
2134
  "div",
2095
2135
  {
2096
2136
  onClick: h,
@@ -2106,17 +2146,17 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2106
2146
  gap: 2,
2107
2147
  borderWidth: 1,
2108
2148
  borderStyle: "solid",
2109
- borderColor: p.palette.white["1s"],
2149
+ borderColor: w.palette.white["1s"],
2110
2150
  cursor: "pointer",
2111
2151
  borderRadius: 4,
2112
- "&:hover": { backgroundColor: p.palette.white["1s"] }
2152
+ "&:hover": { backgroundColor: w.palette.white["1s"] }
2113
2153
  },
2114
2154
  !d && { pointerEvents: "none" },
2115
- f && { backgroundColor: p.palette.black["7s"] },
2116
- r === z && { display: "none" }
2155
+ f && { backgroundColor: w.palette.black["7s"] },
2156
+ r === Z && { display: "none" }
2117
2157
  ],
2118
2158
  children: [
2119
- a.length ? /* @__PURE__ */ n(E, { css: { pointerEvents: "auto" }, onClick: u, children: /* @__PURE__ */ n(
2159
+ a.length ? /* @__PURE__ */ n(B, { css: { pointerEvents: "auto" }, onClick: u, children: /* @__PURE__ */ n(
2120
2160
  M,
2121
2161
  {
2122
2162
  css: [
@@ -2124,9 +2164,9 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2124
2164
  i && { transform: "rotate(0deg)" }
2125
2165
  ],
2126
2166
  size: 16,
2127
- source: h2
2167
+ source: u2
2128
2168
  }
2129
- ) }) : /* @__PURE__ */ n("div", { css: { padding: 4 }, children: /* @__PURE__ */ n(M, { size: 16, source: mn }) }),
2169
+ ) }) : /* @__PURE__ */ n("div", { css: { padding: 4 }, children: /* @__PURE__ */ n(M, { size: 16, source: Ln }) }),
2130
2170
  /* @__PURE__ */ n(
2131
2171
  "span",
2132
2172
  {
@@ -2137,7 +2177,7 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2137
2177
  whiteSpace: "nowrap",
2138
2178
  flex: 1
2139
2179
  },
2140
- !d && { color: p.palette.white["3s"] }
2180
+ !d && { color: w.palette.white["3s"] }
2141
2181
  ],
2142
2182
  children: c
2143
2183
  }
@@ -2159,12 +2199,12 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2159
2199
  ]
2160
2200
  }
2161
2201
  );
2162
- }, vn = ({ onClose: e }) => {
2163
- const t = e1(), o = (r) => {
2202
+ }, Sn = ({ onClose: e }) => {
2203
+ const t = a1(), o = (r) => {
2164
2204
  t.start(r);
2165
2205
  };
2166
- return /* @__PURE__ */ n(u2, { children: /* @__PURE__ */ g(
2167
- Z2.div,
2206
+ return /* @__PURE__ */ n(x2, { children: /* @__PURE__ */ m(
2207
+ et.div,
2168
2208
  {
2169
2209
  drag: !0,
2170
2210
  dragControls: t,
@@ -2175,14 +2215,14 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2175
2215
  display: "flex",
2176
2216
  flexDirection: "column",
2177
2217
  borderRadius: 6,
2178
- backgroundColor: p.palette.ink["6s"],
2218
+ backgroundColor: w.palette.ink["6s"],
2179
2219
  borderWidth: 1,
2180
2220
  borderStyle: "solid",
2181
- borderColor: p.palette.white["2s"],
2221
+ borderColor: w.palette.white["2s"],
2182
2222
  color: "white"
2183
2223
  },
2184
2224
  children: [
2185
- /* @__PURE__ */ g(
2225
+ /* @__PURE__ */ m(
2186
2226
  "div",
2187
2227
  {
2188
2228
  onPointerDown: o,
@@ -2195,20 +2235,20 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2195
2235
  cursor: "grab"
2196
2236
  },
2197
2237
  children: [
2198
- /* @__PURE__ */ g("div", { css: { display: "flex", alignItems: "center", gap: 8 }, children: [
2199
- /* @__PURE__ */ n(M, { source: wn }),
2238
+ /* @__PURE__ */ m("div", { css: { display: "flex", alignItems: "center", gap: 8 }, children: [
2239
+ /* @__PURE__ */ n(M, { source: In }),
2200
2240
  /* @__PURE__ */ n(
2201
2241
  "p",
2202
2242
  {
2203
2243
  css: {
2204
- ...p.text.sm,
2244
+ ...w.text.sm,
2205
2245
  fontWeight: 500
2206
2246
  },
2207
2247
  children: "Layers"
2208
2248
  }
2209
2249
  )
2210
2250
  ] }),
2211
- /* @__PURE__ */ n(E, { onClick: e, children: /* @__PURE__ */ n(M, { source: Oe }) })
2251
+ /* @__PURE__ */ n(B, { onClick: e, children: /* @__PURE__ */ n(M, { source: ze }) })
2212
2252
  ]
2213
2253
  }
2214
2254
  ),
@@ -2220,32 +2260,32 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2220
2260
  overflow: "auto",
2221
2261
  borderTopWidth: 1,
2222
2262
  borderTopStyle: "solid",
2223
- borderColor: p.palette.white["1s"],
2263
+ borderColor: w.palette.white["1s"],
2224
2264
  flex: 1
2225
2265
  },
2226
- children: /* @__PURE__ */ n(Xt, { renderLayer: kn })
2266
+ children: /* @__PURE__ */ n(r1, { renderLayer: Tn })
2227
2267
  }
2228
2268
  )
2229
2269
  ]
2230
2270
  }
2231
2271
  ) });
2232
- }, xn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2272
+ }, Nn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2233
2273
  <path fill-rule="evenodd" clip-rule="evenodd" d="M3 7.024L11.987 11.049L21 7.024L12.013 3L3 7.024Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2234
2274
  <path d="M15.436 14.484L21 16.976L11.987 21L3 16.976L8.564 14.491" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2235
2275
  <path d="M15.436 9.50903L21 12L11.987 16.024L3 12L8.564 9.51603" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2236
2276
  </svg>
2237
- `, bn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2277
+ `, En = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2238
2278
  <path d="M5 12H19" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2239
2279
  <path d="M10 7L5 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2240
2280
  <path d="M10 17L5 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
2241
2281
  </svg>
2242
- `, yn = ({ insert: e }) => {
2243
- const [t, o] = C2(!1), { action: r = "insert", setState: i } = U(), { actions: s, isDeletable: c, focusedNode: a } = O((h, u) => {
2244
- const m = u.getEvent("selected").first(), w = m ? u.node(m) : null;
2282
+ `, An = ({ insert: e }) => {
2283
+ const [t, o] = M2(!1), { action: r = "insert", setState: i } = q(), { actions: s, isDeletable: c, focusedNode: a } = z((h, u) => {
2284
+ const C = u.getEvent("selected").first(), p = C ? u.node(C) : null;
2245
2285
  return {
2246
2286
  enabled: h.options.enabled,
2247
- isDeletable: !!(w?.isDeletable() && (w.get().data.custom?.deletable ?? !0)),
2248
- focusedNode: w?.get()
2287
+ isDeletable: !!(p?.isDeletable() && (p.get().data.custom?.deletable ?? !0)),
2288
+ focusedNode: p?.get()
2249
2289
  };
2250
2290
  }), l = () => {
2251
2291
  s.selectNode();
@@ -2255,26 +2295,26 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2255
2295
  const u = h.currentTarget.value;
2256
2296
  u === "layers" ? o() : (l(), i({ action: u }));
2257
2297
  };
2258
- return /* @__PURE__ */ g(ce, { children: [
2259
- /* @__PURE__ */ g(
2298
+ return /* @__PURE__ */ m(ce, { children: [
2299
+ /* @__PURE__ */ m(
2260
2300
  "aside",
2261
2301
  {
2262
2302
  css: {
2263
2303
  display: "flex",
2264
2304
  position: "relative",
2265
2305
  alignItems: "stretch",
2266
- backgroundColor: p.palette.ink["6s"],
2267
- color: p.palette.white["6s"],
2306
+ backgroundColor: w.palette.ink["6s"],
2307
+ color: w.palette.white["6s"],
2268
2308
  borderTopWidth: 1,
2269
2309
  borderTopStyle: "solid",
2270
- borderColor: p.palette.white["2s"],
2271
- ...p.text.sm
2310
+ borderColor: w.palette.white["2s"],
2311
+ ...w.text.sm
2272
2312
  },
2273
2313
  children: [
2274
- /* @__PURE__ */ g("div", { css: { display: "flex", paddingInline: 4, flexDirection: "column", gap: 4 }, children: [
2275
- !!e && /* @__PURE__ */ g(je, { children: [
2314
+ /* @__PURE__ */ m("div", { css: { display: "flex", paddingInline: 4, flexDirection: "column", gap: 4 }, children: [
2315
+ !!e && /* @__PURE__ */ m(_e, { children: [
2276
2316
  /* @__PURE__ */ n(
2277
- E,
2317
+ B,
2278
2318
  {
2279
2319
  tooltip: {
2280
2320
  content: "Insert",
@@ -2287,10 +2327,10 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2287
2327
  children: /* @__PURE__ */ n(M, { source: ve })
2288
2328
  }
2289
2329
  ),
2290
- /* @__PURE__ */ n("hr", { css: { borderColor: p.palette.white["2s"] } })
2330
+ /* @__PURE__ */ n("hr", { css: { borderColor: w.palette.white["2s"] } })
2291
2331
  ] }),
2292
2332
  /* @__PURE__ */ n(
2293
- E,
2333
+ B,
2294
2334
  {
2295
2335
  tooltip: {
2296
2336
  content: "Layers",
@@ -2300,11 +2340,11 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2300
2340
  value: "layers",
2301
2341
  css: { position: "relative" },
2302
2342
  size: "32",
2303
- children: /* @__PURE__ */ n(M, { source: xn })
2343
+ children: /* @__PURE__ */ n(M, { source: Nn })
2304
2344
  }
2305
2345
  )
2306
2346
  ] }),
2307
- /* @__PURE__ */ g(
2347
+ /* @__PURE__ */ m(
2308
2348
  "div",
2309
2349
  {
2310
2350
  css: {
@@ -2315,15 +2355,15 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2315
2355
  width: 288,
2316
2356
  borderLeftWidth: 1,
2317
2357
  borderLeftStyle: "solid",
2318
- borderColor: p.palette.white["1s"]
2358
+ borderColor: w.palette.white["1s"]
2319
2359
  },
2320
2360
  children: [
2321
- !a?.related.inspector && /* @__PURE__ */ n("div", { css: { overflow: "auto", flex: 1 }, children: r === "insert" && !!e && /* @__PURE__ */ n(un, { groups: e.groups }) }),
2322
- !!a?.related?.inspector && /* @__PURE__ */ g("div", { css: { display: "flex", flexDirection: "column", overflow: "hidden", flex: 1 }, children: [
2323
- /* @__PURE__ */ g("div", { css: { display: "flex", paddingInline: 8, paddingBlock: 8, alignItems: "center", gap: 8 }, children: [
2324
- /* @__PURE__ */ n(E, { onClick: l, children: /* @__PURE__ */ n(M, { source: bn }) }),
2325
- /* @__PURE__ */ n("div", { css: { overflow: "hidden", flex: 1 }, children: /* @__PURE__ */ n(s2, { fullWidth: !0, value: i2(a), size: "32" }) }),
2326
- c && /* @__PURE__ */ n(E, { value: a.id, onClick: f, children: /* @__PURE__ */ n(M, { css: { color: p.palette.red["4s"] }, source: Et }) })
2361
+ !a?.related.inspector && /* @__PURE__ */ n("div", { css: { overflow: "auto", flex: 1 }, children: r === "insert" && !!e && /* @__PURE__ */ n(vn, { groups: e.groups }) }),
2362
+ !!a?.related?.inspector && /* @__PURE__ */ m("div", { css: { display: "flex", flexDirection: "column", overflow: "hidden", flex: 1 }, children: [
2363
+ /* @__PURE__ */ m("div", { css: { display: "flex", paddingInline: 8, paddingBlock: 8, alignItems: "center", gap: 8 }, children: [
2364
+ /* @__PURE__ */ n(B, { onClick: l, children: /* @__PURE__ */ n(M, { source: En }) }),
2365
+ /* @__PURE__ */ n("div", { css: { overflow: "hidden", flex: 1 }, children: /* @__PURE__ */ n(i2, { fullWidth: !0, value: a2(a), size: "32" }) }),
2366
+ c && /* @__PURE__ */ n(B, { value: a.id, onClick: f, children: /* @__PURE__ */ n(M, { css: { color: w.palette.red["4s"] }, source: zt }) })
2327
2367
  ] }),
2328
2368
  /* @__PURE__ */ n(
2329
2369
  "div",
@@ -2333,9 +2373,9 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2333
2373
  flex: 1,
2334
2374
  borderTopWidth: 1,
2335
2375
  borderTopStyle: "solid",
2336
- borderColor: p.palette.white["1s"]
2376
+ borderColor: w.palette.white["1s"]
2337
2377
  },
2338
- children: /* @__PURE__ */ n(X2, { fallback: null, children: a2(a.related.inspector) })
2378
+ children: /* @__PURE__ */ n(ct, { fallback: null, children: c2(a.related.inspector) })
2339
2379
  }
2340
2380
  )
2341
2381
  ] })
@@ -2345,16 +2385,16 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2345
2385
  ]
2346
2386
  }
2347
2387
  ),
2348
- t && /* @__PURE__ */ n(vn, { onClose: o })
2388
+ t && /* @__PURE__ */ n(Sn, { onClose: o })
2349
2389
  ] });
2350
- }, dr = ({ theme: e, insert: t, resolver: o, handlers: r, serializedNodes: i, children: s }) => {
2351
- const { screen: c } = U({
2390
+ }, mr = ({ theme: e, insert: t, resolver: o, handlers: r, serializedNodes: i, children: s }) => {
2391
+ const { screen: c } = q({
2352
2392
  theme: e,
2353
2393
  handlers: r,
2354
2394
  mode: "full",
2355
2395
  screen: "xs"
2356
2396
  });
2357
- return /* @__PURE__ */ n(l2, { enabled: !0, onRender: B1, resolver: o, children: /* @__PURE__ */ g(
2397
+ return /* @__PURE__ */ n(d2, { enabled: !0, onRender: _1, resolver: o, children: /* @__PURE__ */ m(
2358
2398
  "div",
2359
2399
  {
2360
2400
  css: {
@@ -2366,16 +2406,16 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2366
2406
  color: Ce.white["6s"]
2367
2407
  },
2368
2408
  children: [
2369
- /* @__PURE__ */ n(P1, {}),
2370
- /* @__PURE__ */ g("div", { css: { display: "flex", overflow: "hidden", flex: 1 }, children: [
2371
- /* @__PURE__ */ n(yn, { insert: t }),
2409
+ /* @__PURE__ */ n(Z1, {}),
2410
+ /* @__PURE__ */ m("div", { css: { display: "flex", overflow: "hidden", flex: 1 }, children: [
2411
+ /* @__PURE__ */ n(An, { insert: t }),
2372
2412
  /* @__PURE__ */ n(
2373
- b2,
2413
+ B2,
2374
2414
  {
2375
2415
  viewport: {
2376
- width: (a) => c === "lg" ? Math.max(a, Ee[c]) : Ee[c]
2416
+ width: (a) => c === "lg" ? Math.max(a, Ae[c]) : Ae[c]
2377
2417
  },
2378
- children: /* @__PURE__ */ n(d2, { data: i, children: s || /* @__PURE__ */ n(G2, {}) })
2418
+ children: /* @__PURE__ */ n(h2, { data: i, children: s || /* @__PURE__ */ n(nt, {}) })
2379
2419
  }
2380
2420
  )
2381
2421
  ] })
@@ -2384,100 +2424,100 @@ const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
2384
2424
  ) });
2385
2425
  };
2386
2426
  export {
2387
- Nr as AspectRatioToolbar,
2388
- Ar as BackgroundToolbar,
2389
- Er as BorderRadiusToolbar,
2390
- Br as BorderToolbar,
2391
- Rr as ChildNodesToolbar,
2392
- pr as ColorPickerContent,
2393
- Cr as ColorPickerPopover,
2394
- gr as ColorPreview,
2395
- ot as ColorToolbar,
2396
- Vr as ColorVariantToolbar,
2397
- Wr as ColumnGapToolbar,
2398
- it as CssFontWeightToolbar,
2399
- et as CssSizeInput,
2400
- Pr as CssTextAlignToolbar,
2401
- Dr as CssWidthToolbar,
2402
- rr as DegreePicker,
2403
- Hr as DisplayOnToolbar,
2404
- ir as DisplayToolbar,
2405
- dr as Editor,
2406
- jr as FlexAlignItemsToolbar,
2407
- ar as FlexToolbar,
2408
- _r as FlexWrapToolbar,
2409
- sr as FontSizeToolbar,
2410
- b2 as FramePreview,
2411
- Fr as GridAlignItemsToolbar,
2412
- Or as HeightToolbar,
2413
- zr as HtmlAnchorTargetToolbar,
2414
- Zr as ImageSourceSelection,
2415
- $r as JustifyContentToolbar,
2416
- Gr as JustifyItemsToolbar,
2417
- or as LineHeightToolbar,
2418
- Ur as MarginToolbar,
2419
- cr as MinWidthToolbar,
2420
- qr as NumberField,
2421
- Yr as NumberFieldMixOptions,
2422
- Xr as ObjectFitToolbar,
2423
- Kr as OrderToolbar,
2424
- Jr as PaddingToolbar,
2425
- Qr as RowGapToolbar,
2426
- eo as SpacingToolbar,
2427
- to as SvgSourceToolbar,
2428
- no as TagNameToolbar,
2429
- ro as TextInlineEditor,
2430
- rt as TextSizeVariantToolbar,
2431
- lr as TextStyleGroupToolbar,
2432
- st as TextStyleToolbar,
2433
- at as TextTransformToolbar,
2434
- q as ToolbarField,
2435
- oo as ToolbarGroup,
2436
- n2 as WbButton,
2437
- Nt as WbButtonGroup,
2438
- F2 as WbCollapse,
2439
- fr as WbColorPicker,
2440
- so as WbDatePicker,
2441
- Qn as WbDialog,
2442
- tr as WbDialogBody,
2443
- wr as WbDialogClose,
2444
- mr as WbDialogFooter,
2445
- kr as WbDialogHeader,
2446
- io as WbDropzone,
2447
- M2 as WbFloating,
2448
- vr as WbFloatingClose,
2449
- L2 as WbFloatingContent,
2450
- xr as WbFloatingContext,
2451
- nr as WbFormLabel,
2427
+ Pr as AspectRatioToolbar,
2428
+ Hr as BackgroundToolbar,
2429
+ Dr as BorderRadiusToolbar,
2430
+ jr as BorderToolbar,
2431
+ _r as ChildNodesToolbar,
2432
+ br as ColorPickerContent,
2433
+ xr as ColorPickerPopover,
2434
+ yr as ColorPreview,
2435
+ ft as ColorToolbar,
2436
+ Fr as ColorVariantToolbar,
2437
+ Or as ColumnGapToolbar,
2438
+ mt as CssFontWeightToolbar,
2439
+ ut as CssSizeInput,
2440
+ zr as CssTextAlignToolbar,
2441
+ Zr as CssWidthToolbar,
2442
+ hr as DegreePicker,
2443
+ $r as DisplayOnToolbar,
2444
+ Cr as DisplayToolbar,
2445
+ mr as Editor,
2446
+ Gr as FlexAlignItemsToolbar,
2447
+ gr as FlexToolbar,
2448
+ Ur as FlexWrapToolbar,
2449
+ pr as FontSizeToolbar,
2450
+ B2 as FramePreview,
2451
+ qr as GridAlignItemsToolbar,
2452
+ Yr as HeightToolbar,
2453
+ Xr as HtmlAnchorTargetToolbar,
2454
+ Kr as ImageSourceSelection,
2455
+ Jr as JustifyContentToolbar,
2456
+ Qr as JustifyItemsToolbar,
2457
+ ur as LineHeightToolbar,
2458
+ eo as MarginToolbar,
2459
+ fr as MinWidthToolbar,
2460
+ to as NumberField,
2461
+ no as NumberFieldMixOptions,
2462
+ ro as ObjectFitToolbar,
2463
+ oo as OrderToolbar,
2464
+ so as PaddingToolbar,
2465
+ io as RowGapToolbar,
2466
+ ao as SpacingToolbar,
2467
+ co as SvgSourceToolbar,
2468
+ lo as TagNameToolbar,
2469
+ ho as TextInlineEditor,
2470
+ gt as TextSizeVariantToolbar,
2471
+ wr as TextStyleGroupToolbar,
2472
+ wt as TextStyleToolbar,
2473
+ kt as TextTransformToolbar,
2474
+ Y as ToolbarField,
2475
+ uo as ToolbarGroup,
2476
+ r2 as WbButton,
2477
+ Ft as WbButtonGroup,
2478
+ K2 as WbCollapse,
2479
+ Mr as WbColorPicker,
2480
+ po as WbDatePicker,
2481
+ ar as WbDialog,
2482
+ lr as WbDialogBody,
2483
+ Ir as WbDialogClose,
2484
+ Lr as WbDialogFooter,
2485
+ Tr as WbDialogHeader,
2486
+ Co as WbDropzone,
2487
+ c1 as WbFloating,
2488
+ Sr as WbFloatingClose,
2489
+ W2 as WbFloatingContent,
2490
+ V2 as WbFloatingContext,
2491
+ dr as WbFormLabel,
2452
2492
  M as WbIcon,
2453
- E as WbIconButton,
2454
- s2 as WbInput,
2455
- c2 as WbInputNumber,
2456
- br as WbLoadingOverlay,
2457
- ao as WbMenu,
2458
- yr as WbMenuItem,
2459
- Mr as WbMenuList,
2460
- Lr as WbMenuTrigger,
2461
- S2 as WbPopover,
2462
- nt as WbPopoverClose,
2463
- A2 as WbPopoverContent,
2464
- N2 as WbPopoverTrigger,
2465
- _e as WbRadioButton,
2493
+ B as WbIconButton,
2494
+ i2 as WbInput,
2495
+ l2 as WbInputNumber,
2496
+ Nr as WbLoadingOverlay,
2497
+ go as WbMenu,
2498
+ Er as WbMenuItem,
2499
+ Ar as WbMenuList,
2500
+ Br as WbMenuTrigger,
2501
+ D2 as WbPopover,
2502
+ Ct as WbPopoverClose,
2503
+ _2 as WbPopoverContent,
2504
+ j2 as WbPopoverTrigger,
2505
+ Fe as WbRadioButton,
2466
2506
  ye as WbScrollView,
2467
- Q2 as WbSelect,
2468
- O2 as WbSvgLoader,
2469
- Ir as WbSwitch,
2470
- co as WbTab,
2471
- lo as WbTabContent,
2472
- ho as WbTabList,
2473
- uo as WbTabPanel,
2474
- po as WbTabs,
2475
- Tr as WbTextarea,
2476
- mo as WbTooltip,
2477
- Co as WbVirtualizedList,
2478
- go as textSizeVariantOptions,
2479
- er as useDialogContext,
2480
- U as useEditor,
2481
- fo as useEditorResponsive,
2482
- I2 as useWbFloatingContext
2507
+ ht as WbSelect,
2508
+ J2 as WbSvgLoader,
2509
+ Rr as WbSwitch,
2510
+ fo as WbTab,
2511
+ wo as WbTabContent,
2512
+ mo as WbTabList,
2513
+ ko as WbTabPanel,
2514
+ vo as WbTabs,
2515
+ Vr as WbTextarea,
2516
+ Io as WbTooltip,
2517
+ bo as WbVirtualizedList,
2518
+ xo as textSizeVariantOptions,
2519
+ cr as useDialogContext,
2520
+ q as useEditor,
2521
+ yo as useEditorResponsive,
2522
+ P2 as useWbFloatingContext
2483
2523
  };