@janbox/storefront-builder 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dialog-header-Bh3Dkw2q.js → countdown-timer.node-CZrTzirS.js} +3315 -2157
- package/dist/editor/components/index.d.ts +0 -1
- package/dist/editor/hooks/index.d.ts +0 -12
- package/dist/editor/hooks/use-editor.d.ts +6 -2
- package/dist/editor/index.d.ts +4 -0
- package/dist/editor/lib/index.d.ts +6 -4
- package/dist/editor/toolbars/css-font-weight/index.d.ts +9 -0
- package/dist/editor/toolbars/{width/width.d.ts → css-width/index.d.ts} +5 -5
- package/dist/editor/toolbars/html-anchor-target/index.d.ts +7 -0
- package/dist/editor/toolbars/index.d.ts +3 -3
- package/dist/editor/toolbars/text-align/index.d.ts +9 -1
- package/dist/editor.js +1189 -693
- package/dist/index-B1b2lC5K.js +4 -0
- package/dist/index-CdI5y-ul.js +8326 -0
- package/dist/index.js +173 -371
- package/dist/templates.js +26 -28
- package/dist/{tooltip-CXOlTkGg.js → tooltip-npH7aBjY.js} +1 -1
- package/package.json +1 -10
- package/dist/anchor-target-CtXzdkBu.js +0 -2918
- package/dist/color-picker-popover-XeaVfYS8.js +0 -225
- package/dist/countdown-timer.node-Bh5fTSJ8.js +0 -913
- package/dist/date-picker-D9K6HWl-.js +0 -157
- package/dist/dropzone-CF4CWXth.js +0 -546
- package/dist/editor/components/toolbar-container.d.ts +0 -1
- package/dist/editor/toolbars/anchor-target/anchor-target.d.ts +0 -7
- package/dist/editor/toolbars/anchor-target/index.d.ts +0 -1
- package/dist/editor/toolbars/font-weight/dataset.d.ts +0 -5
- package/dist/editor/toolbars/font-weight/font-weight.d.ts +0 -9
- package/dist/editor/toolbars/font-weight/index.d.ts +0 -1
- package/dist/editor/toolbars/text-align/text-align.d.ts +0 -8
- package/dist/editor/toolbars/width/index.d.ts +0 -1
- package/dist/editor/toolbars.js +0 -346
- package/dist/editor/ui.js +0 -120
- package/dist/index-800HnUOi.js +0 -4
- package/dist/index-CXyljfMv.js +0 -4593
package/dist/editor.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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";
|
|
6
6
|
import "flat";
|
|
7
|
-
import { throttle as
|
|
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";
|
|
8
8
|
import "@janbox/storefront-ui";
|
|
9
|
-
import { D as
|
|
10
|
-
import "
|
|
11
|
-
import { ThemeProvider as Ye, getColorVar as L2, FLOATING_Z_INDEX as Qe, breakpoint as Xe } from "@janbox/storefront-ui/theme";
|
|
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";
|
|
12
11
|
import "@janbox/storefront-ui/utils";
|
|
13
|
-
import
|
|
14
|
-
import { CacheProvider as
|
|
15
|
-
import { useFloating as
|
|
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";
|
|
16
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";
|
|
17
17
|
import "react-colorful";
|
|
18
18
|
import "overlayscrollbars-react";
|
|
19
19
|
import "@tanstack/react-virtual";
|
|
@@ -24,15 +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
|
|
27
|
+
import Ut, { useFrame as qt } from "react-frame-component";
|
|
28
28
|
import "@hello-pangea/dnd";
|
|
29
|
-
import { useToggle as
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
|
|
34
|
-
import { Layers as M1, useLayer as I1 } from "@craftjs/layers";
|
|
35
|
-
class N1 {
|
|
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 {
|
|
36
34
|
constructor() {
|
|
37
35
|
this.componentControls = /* @__PURE__ */ new Set();
|
|
38
36
|
}
|
|
@@ -60,115 +58,251 @@ class N1 {
|
|
|
60
58
|
* @public
|
|
61
59
|
*/
|
|
62
60
|
start(t, o) {
|
|
63
|
-
this.componentControls.forEach((
|
|
64
|
-
|
|
61
|
+
this.componentControls.forEach((r) => {
|
|
62
|
+
r.start(t.nativeEvent || t, o);
|
|
65
63
|
});
|
|
66
64
|
}
|
|
67
65
|
}
|
|
68
|
-
const
|
|
69
|
-
function
|
|
70
|
-
return
|
|
66
|
+
const Qt = () => new Jt();
|
|
67
|
+
function e1() {
|
|
68
|
+
return y2(Qt);
|
|
71
69
|
}
|
|
72
|
-
|
|
70
|
+
const Qn = ({ width: e = 600, children: t, ...o }) => /* @__PURE__ */ n(
|
|
71
|
+
M2,
|
|
72
|
+
{
|
|
73
|
+
dismissProps: {
|
|
74
|
+
enabled: !0
|
|
75
|
+
},
|
|
76
|
+
...o,
|
|
77
|
+
children: /* @__PURE__ */ g(
|
|
78
|
+
L2,
|
|
79
|
+
{
|
|
80
|
+
floatingOverlayProps: {
|
|
81
|
+
disabled: !1,
|
|
82
|
+
className: "grid place-items-center p-4 sm:p-5 md:p-6",
|
|
83
|
+
lockScroll: !0,
|
|
84
|
+
style: {
|
|
85
|
+
zIndex: p2
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
css: { display: "flex", overflow: "hidden", flexDirection: "column", maxWidth: "100%", maxHeight: "100%" },
|
|
89
|
+
children: [
|
|
90
|
+
/* @__PURE__ */ n(
|
|
91
|
+
"div",
|
|
92
|
+
{
|
|
93
|
+
css: {
|
|
94
|
+
backdropFilter: "blur(2px)",
|
|
95
|
+
position: "fixed",
|
|
96
|
+
inset: 0,
|
|
97
|
+
pointerEvents: "none",
|
|
98
|
+
backgroundColor: "rgba(0, 0, 0, 0.4)"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
),
|
|
102
|
+
/* @__PURE__ */ n(
|
|
103
|
+
"div",
|
|
104
|
+
{
|
|
105
|
+
css: {
|
|
106
|
+
width: e,
|
|
107
|
+
display: "flex",
|
|
108
|
+
position: "relative",
|
|
109
|
+
paddingBlock: 8,
|
|
110
|
+
flexDirection: "column",
|
|
111
|
+
overflow: "hidden",
|
|
112
|
+
borderRadius: 8,
|
|
113
|
+
backgroundColor: p.palette.ink["6s"],
|
|
114
|
+
maxWidth: "100%",
|
|
115
|
+
color: "white"
|
|
116
|
+
},
|
|
117
|
+
children: t
|
|
118
|
+
}
|
|
119
|
+
)
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
}
|
|
124
|
+
), er = () => I2(), tr = ({ ref: e, ...t }) => /* @__PURE__ */ n(
|
|
125
|
+
ye,
|
|
126
|
+
{
|
|
127
|
+
css: { paddingBlock: 12, paddingInline: 20, flex: 1, overflow: "auto", ...p.text.xs },
|
|
128
|
+
...t,
|
|
129
|
+
ref: e
|
|
130
|
+
}
|
|
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) => {
|
|
136
|
+
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;
|
|
139
|
+
};
|
|
140
|
+
return /* @__PURE__ */ g(
|
|
141
|
+
"div",
|
|
142
|
+
{
|
|
143
|
+
style: {
|
|
144
|
+
textAlign: "center",
|
|
145
|
+
marginTop: "50px",
|
|
146
|
+
userSelect: "none"
|
|
147
|
+
},
|
|
148
|
+
onMouseMove: (f) => {
|
|
149
|
+
if (o) {
|
|
150
|
+
const d = s(f.clientX, f.clientY);
|
|
151
|
+
t(Math.round(d));
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
onMouseUp: () => {
|
|
155
|
+
r(!1);
|
|
156
|
+
},
|
|
157
|
+
children: [
|
|
158
|
+
/* @__PURE__ */ g("h3", { children: [
|
|
159
|
+
"Chọn độ: ",
|
|
160
|
+
e,
|
|
161
|
+
"°"
|
|
162
|
+
] }),
|
|
163
|
+
/* @__PURE__ */ g(
|
|
164
|
+
"svg",
|
|
165
|
+
{
|
|
166
|
+
ref: i,
|
|
167
|
+
width: "200",
|
|
168
|
+
height: "200",
|
|
169
|
+
viewBox: "0 0 200 200",
|
|
170
|
+
onMouseDown: (f) => {
|
|
171
|
+
r(!0);
|
|
172
|
+
const d = s(f.clientX, f.clientY);
|
|
173
|
+
t(Math.round(d));
|
|
174
|
+
},
|
|
175
|
+
style: { cursor: "grab" },
|
|
176
|
+
children: [
|
|
177
|
+
/* @__PURE__ */ n("circle", { cx: "100", cy: "100", r: "90", fill: "#EAEAEA", stroke: "#CCC", strokeWidth: "2" }),
|
|
178
|
+
/* @__PURE__ */ n(
|
|
179
|
+
"line",
|
|
180
|
+
{
|
|
181
|
+
x1: "100",
|
|
182
|
+
y1: "100",
|
|
183
|
+
x2: 100 + 90 * Math.cos((e - 90) * (Math.PI / 180)),
|
|
184
|
+
y2: 100 + 90 * Math.sin((e - 90) * (Math.PI / 180)),
|
|
185
|
+
stroke: "#007BFF",
|
|
186
|
+
strokeWidth: "2"
|
|
187
|
+
}
|
|
188
|
+
),
|
|
189
|
+
/* @__PURE__ */ n(
|
|
190
|
+
"circle",
|
|
191
|
+
{
|
|
192
|
+
cx: 100 + 90 * Math.cos((e - 90) * (Math.PI / 180)),
|
|
193
|
+
cy: 100 + 90 * Math.sin((e - 90) * (Math.PI / 180)),
|
|
194
|
+
r: "8",
|
|
195
|
+
fill: "#007BFF",
|
|
196
|
+
style: { cursor: "grab" }
|
|
197
|
+
}
|
|
198
|
+
)
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
)
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
);
|
|
205
|
+
};
|
|
206
|
+
function t1(e) {
|
|
73
207
|
if (e.sheet)
|
|
74
208
|
return e.sheet;
|
|
75
209
|
for (var t = 0; t < document.styleSheets.length; t++)
|
|
76
210
|
if (document.styleSheets[t].ownerNode === e)
|
|
77
211
|
return document.styleSheets[t];
|
|
78
212
|
}
|
|
79
|
-
function
|
|
213
|
+
function n1(e) {
|
|
80
214
|
var t = document.createElement("style");
|
|
81
215
|
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;
|
|
82
216
|
}
|
|
83
|
-
var
|
|
217
|
+
var r1 = /* @__PURE__ */ (function() {
|
|
84
218
|
function e(o) {
|
|
85
|
-
var
|
|
219
|
+
var r = this;
|
|
86
220
|
this._insertTag = function(i) {
|
|
87
221
|
var s;
|
|
88
|
-
|
|
222
|
+
r.tags.length === 0 ? r.insertionPoint ? s = r.insertionPoint.nextSibling : r.prepend ? s = r.container.firstChild : s = r.before : s = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, s), r.tags.push(i);
|
|
89
223
|
}, this.isSpeedy = o.speedy === void 0 ? !0 : o.speedy, this.tags = [], this.ctr = 0, this.nonce = o.nonce, this.key = o.key, this.container = o.container, this.prepend = o.prepend, this.insertionPoint = o.insertionPoint, this.before = null;
|
|
90
224
|
}
|
|
91
225
|
var t = e.prototype;
|
|
92
|
-
return t.hydrate = function(
|
|
93
|
-
|
|
94
|
-
}, t.insert = function(
|
|
95
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(
|
|
226
|
+
return t.hydrate = function(r) {
|
|
227
|
+
r.forEach(this._insertTag);
|
|
228
|
+
}, t.insert = function(r) {
|
|
229
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(n1(this));
|
|
96
230
|
var i = this.tags[this.tags.length - 1];
|
|
97
231
|
if (this.isSpeedy) {
|
|
98
|
-
var s =
|
|
232
|
+
var s = t1(i);
|
|
99
233
|
try {
|
|
100
|
-
s.insertRule(
|
|
234
|
+
s.insertRule(r, s.cssRules.length);
|
|
101
235
|
} catch {
|
|
102
236
|
}
|
|
103
237
|
} else
|
|
104
|
-
i.appendChild(document.createTextNode(
|
|
238
|
+
i.appendChild(document.createTextNode(r));
|
|
105
239
|
this.ctr++;
|
|
106
240
|
}, t.flush = function() {
|
|
107
|
-
this.tags.forEach(function(
|
|
241
|
+
this.tags.forEach(function(r) {
|
|
108
242
|
var i;
|
|
109
|
-
return (i =
|
|
243
|
+
return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
|
|
110
244
|
}), this.tags = [], this.ctr = 0;
|
|
111
245
|
}, e;
|
|
112
|
-
})(),
|
|
113
|
-
function
|
|
114
|
-
return
|
|
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;
|
|
115
249
|
}
|
|
116
|
-
function
|
|
250
|
+
function w2(e) {
|
|
117
251
|
return e.trim();
|
|
118
252
|
}
|
|
119
|
-
function
|
|
253
|
+
function l1(e, t) {
|
|
120
254
|
return (e = t.exec(e)) ? e[0] : e;
|
|
121
255
|
}
|
|
122
|
-
function
|
|
256
|
+
function x(e, t, o) {
|
|
123
257
|
return e.replace(t, o);
|
|
124
258
|
}
|
|
125
|
-
function
|
|
259
|
+
function we(e, t) {
|
|
126
260
|
return e.indexOf(t);
|
|
127
261
|
}
|
|
128
|
-
function
|
|
262
|
+
function N(e, t) {
|
|
129
263
|
return e.charCodeAt(t) | 0;
|
|
130
264
|
}
|
|
131
|
-
function
|
|
265
|
+
function Q(e, t, o) {
|
|
132
266
|
return e.slice(t, o);
|
|
133
267
|
}
|
|
134
|
-
function
|
|
268
|
+
function P(e) {
|
|
135
269
|
return e.length;
|
|
136
270
|
}
|
|
137
|
-
function
|
|
271
|
+
function Ie(e) {
|
|
138
272
|
return e.length;
|
|
139
273
|
}
|
|
140
|
-
function
|
|
274
|
+
function re(e, t) {
|
|
141
275
|
return t.push(e), e;
|
|
142
276
|
}
|
|
143
|
-
function
|
|
277
|
+
function d1(e, t) {
|
|
144
278
|
return e.map(t).join("");
|
|
145
279
|
}
|
|
146
|
-
var
|
|
147
|
-
function
|
|
148
|
-
return { value: e, root: t, parent: o, type:
|
|
280
|
+
var ue = 1, G = 1, m2 = 0, R = 0, T = 0, Y = "";
|
|
281
|
+
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: "" };
|
|
149
283
|
}
|
|
150
|
-
function
|
|
151
|
-
return
|
|
284
|
+
function X(e, t) {
|
|
285
|
+
return a1(pe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
152
286
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
287
|
+
function h1() {
|
|
288
|
+
return T;
|
|
155
289
|
}
|
|
156
|
-
function
|
|
157
|
-
return
|
|
290
|
+
function u1() {
|
|
291
|
+
return T = R > 0 ? N(Y, --R) : 0, G--, T === 10 && (G = 1, ue--), T;
|
|
158
292
|
}
|
|
159
|
-
function
|
|
160
|
-
return
|
|
293
|
+
function V() {
|
|
294
|
+
return T = R < m2 ? N(Y, R++) : 0, G++, T === 10 && (G = 1, ue++), T;
|
|
161
295
|
}
|
|
162
|
-
function
|
|
163
|
-
return
|
|
296
|
+
function D() {
|
|
297
|
+
return N(Y, R);
|
|
164
298
|
}
|
|
165
|
-
function
|
|
166
|
-
return
|
|
299
|
+
function oe() {
|
|
300
|
+
return R;
|
|
167
301
|
}
|
|
168
|
-
function
|
|
169
|
-
return
|
|
302
|
+
function te(e, t) {
|
|
303
|
+
return Q(Y, e, t);
|
|
170
304
|
}
|
|
171
|
-
function
|
|
305
|
+
function ee(e) {
|
|
172
306
|
switch (e) {
|
|
173
307
|
// \0 \t \n \r \s whitespace token
|
|
174
308
|
case 0:
|
|
@@ -206,254 +340,254 @@ function Y(e) {
|
|
|
206
340
|
}
|
|
207
341
|
return 0;
|
|
208
342
|
}
|
|
209
|
-
function
|
|
210
|
-
return
|
|
343
|
+
function k2(e) {
|
|
344
|
+
return ue = G = 1, m2 = P(Y = e), R = 0, [];
|
|
211
345
|
}
|
|
212
|
-
function
|
|
213
|
-
return
|
|
346
|
+
function v2(e) {
|
|
347
|
+
return Y = "", e;
|
|
214
348
|
}
|
|
215
|
-
function
|
|
216
|
-
return
|
|
349
|
+
function se(e) {
|
|
350
|
+
return w2(te(R - 1, me(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
217
351
|
}
|
|
218
|
-
function
|
|
219
|
-
for (; (
|
|
220
|
-
|
|
221
|
-
return
|
|
352
|
+
function p1(e) {
|
|
353
|
+
for (; (T = D()) && T < 33; )
|
|
354
|
+
V();
|
|
355
|
+
return ee(e) > 2 || ee(T) > 3 ? "" : " ";
|
|
222
356
|
}
|
|
223
|
-
function
|
|
224
|
-
for (; --t &&
|
|
357
|
+
function C1(e, t) {
|
|
358
|
+
for (; --t && V() && !(T < 48 || T > 102 || T > 57 && T < 65 || T > 70 && T < 97); )
|
|
225
359
|
;
|
|
226
|
-
return
|
|
360
|
+
return te(e, oe() + (t < 6 && D() == 32 && V() == 32));
|
|
227
361
|
}
|
|
228
|
-
function
|
|
229
|
-
for (;
|
|
230
|
-
switch (
|
|
362
|
+
function me(e) {
|
|
363
|
+
for (; V(); )
|
|
364
|
+
switch (T) {
|
|
231
365
|
// ] ) " '
|
|
232
366
|
case e:
|
|
233
|
-
return
|
|
367
|
+
return R;
|
|
234
368
|
// " '
|
|
235
369
|
case 34:
|
|
236
370
|
case 39:
|
|
237
|
-
e !== 34 && e !== 39 &&
|
|
371
|
+
e !== 34 && e !== 39 && me(T);
|
|
238
372
|
break;
|
|
239
373
|
// (
|
|
240
374
|
case 40:
|
|
241
|
-
e === 41 &&
|
|
375
|
+
e === 41 && me(e);
|
|
242
376
|
break;
|
|
243
377
|
// \
|
|
244
378
|
case 92:
|
|
245
|
-
|
|
379
|
+
V();
|
|
246
380
|
break;
|
|
247
381
|
}
|
|
248
|
-
return
|
|
382
|
+
return R;
|
|
249
383
|
}
|
|
250
|
-
function
|
|
251
|
-
for (;
|
|
252
|
-
if (e +
|
|
384
|
+
function g1(e, t) {
|
|
385
|
+
for (; V() && e + T !== 57; )
|
|
386
|
+
if (e + T === 84 && D() === 47)
|
|
253
387
|
break;
|
|
254
|
-
return "/*" +
|
|
388
|
+
return "/*" + te(t, R - 1) + "*" + he(e === 47 ? e : V());
|
|
255
389
|
}
|
|
256
|
-
function
|
|
257
|
-
for (; !
|
|
258
|
-
|
|
259
|
-
return
|
|
390
|
+
function f1(e) {
|
|
391
|
+
for (; !ee(D()); )
|
|
392
|
+
V();
|
|
393
|
+
return te(e, R);
|
|
260
394
|
}
|
|
261
|
-
function
|
|
262
|
-
return
|
|
395
|
+
function w1(e) {
|
|
396
|
+
return v2(ie("", null, null, null, [""], e = k2(e), 0, [0], e));
|
|
263
397
|
}
|
|
264
|
-
function
|
|
265
|
-
for (var
|
|
266
|
-
switch (
|
|
398
|
+
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()) {
|
|
267
401
|
// (
|
|
268
402
|
case 40:
|
|
269
|
-
if (
|
|
270
|
-
|
|
403
|
+
if (w != 108 && N(y, h - 1) == 58) {
|
|
404
|
+
we(y += x(se(I), "&", "&\f"), "&\f") != -1 && (b = -1);
|
|
271
405
|
break;
|
|
272
406
|
}
|
|
273
407
|
// " ' [
|
|
274
408
|
case 34:
|
|
275
409
|
case 39:
|
|
276
410
|
case 91:
|
|
277
|
-
y +=
|
|
411
|
+
y += se(I);
|
|
278
412
|
break;
|
|
279
413
|
// \t \n \r \s
|
|
280
414
|
case 9:
|
|
281
415
|
case 10:
|
|
282
416
|
case 13:
|
|
283
417
|
case 32:
|
|
284
|
-
y +=
|
|
418
|
+
y += p1(w);
|
|
285
419
|
break;
|
|
286
420
|
// \
|
|
287
421
|
case 92:
|
|
288
|
-
y +=
|
|
422
|
+
y += C1(oe() - 1, 7);
|
|
289
423
|
continue;
|
|
290
424
|
// /
|
|
291
425
|
case 47:
|
|
292
|
-
switch (
|
|
426
|
+
switch (D()) {
|
|
293
427
|
case 42:
|
|
294
428
|
case 47:
|
|
295
|
-
|
|
429
|
+
re(m1(g1(V(), oe()), t, o), l);
|
|
296
430
|
break;
|
|
297
431
|
default:
|
|
298
432
|
y += "/";
|
|
299
433
|
}
|
|
300
434
|
break;
|
|
301
435
|
// {
|
|
302
|
-
case 123 *
|
|
303
|
-
|
|
436
|
+
case 123 * C:
|
|
437
|
+
a[f++] = P(y) * b;
|
|
304
438
|
// } ; \0
|
|
305
|
-
case 125 *
|
|
439
|
+
case 125 * C:
|
|
306
440
|
case 59:
|
|
307
441
|
case 0:
|
|
308
|
-
switch (
|
|
442
|
+
switch (I) {
|
|
309
443
|
// \0 }
|
|
310
444
|
case 0:
|
|
311
445
|
case 125:
|
|
312
|
-
|
|
446
|
+
L = 0;
|
|
313
447
|
// ;
|
|
314
448
|
case 59 + d:
|
|
315
|
-
|
|
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);
|
|
316
450
|
break;
|
|
317
451
|
// @ ;
|
|
318
452
|
case 59:
|
|
319
453
|
y += ";";
|
|
320
454
|
// { rule/at-rule
|
|
321
455
|
default:
|
|
322
|
-
if (
|
|
456
|
+
if (re(W = Re(y, t, o, f, d, i, a, B, ne = [], j = [], h), s), I === 123)
|
|
323
457
|
if (d === 0)
|
|
324
|
-
|
|
458
|
+
ie(y, t, W, W, ne, s, h, a, j);
|
|
325
459
|
else
|
|
326
|
-
switch (
|
|
460
|
+
switch (u === 99 && N(y, 3) === 110 ? 100 : u) {
|
|
327
461
|
// d l m s
|
|
328
462
|
case 100:
|
|
329
463
|
case 108:
|
|
330
464
|
case 109:
|
|
331
465
|
case 115:
|
|
332
|
-
|
|
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);
|
|
333
467
|
break;
|
|
334
468
|
default:
|
|
335
|
-
|
|
469
|
+
ie(y, W, W, W, [""], j, 0, a, j);
|
|
336
470
|
}
|
|
337
471
|
}
|
|
338
|
-
|
|
472
|
+
f = d = m = 0, C = b = 1, B = y = "", h = c;
|
|
339
473
|
break;
|
|
340
474
|
// :
|
|
341
475
|
case 58:
|
|
342
|
-
|
|
476
|
+
h = 1 + P(y), m = w;
|
|
343
477
|
default:
|
|
344
|
-
if (
|
|
345
|
-
if (
|
|
346
|
-
--
|
|
347
|
-
else if (
|
|
478
|
+
if (C < 1) {
|
|
479
|
+
if (I == 123)
|
|
480
|
+
--C;
|
|
481
|
+
else if (I == 125 && C++ == 0 && u1() == 125)
|
|
348
482
|
continue;
|
|
349
483
|
}
|
|
350
|
-
switch (y +=
|
|
484
|
+
switch (y += he(I), I * C) {
|
|
351
485
|
// &
|
|
352
486
|
case 38:
|
|
353
|
-
|
|
487
|
+
b = d > 0 ? 1 : (y += "\f", -1);
|
|
354
488
|
break;
|
|
355
489
|
// ,
|
|
356
490
|
case 44:
|
|
357
|
-
|
|
491
|
+
a[f++] = (P(y) - 1) * b, b = 1;
|
|
358
492
|
break;
|
|
359
493
|
// @
|
|
360
494
|
case 64:
|
|
361
|
-
|
|
495
|
+
D() === 45 && (y += se(V())), u = D(), d = h = P(B = y += f1(oe())), I++;
|
|
362
496
|
break;
|
|
363
497
|
// -
|
|
364
498
|
case 45:
|
|
365
|
-
|
|
499
|
+
w === 45 && P(y) == 2 && (C = 0);
|
|
366
500
|
}
|
|
367
501
|
}
|
|
368
502
|
return s;
|
|
369
503
|
}
|
|
370
|
-
function
|
|
371
|
-
for (var
|
|
372
|
-
for (var
|
|
373
|
-
(
|
|
374
|
-
return
|
|
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);
|
|
508
|
+
return pe(e, t, o, i === 0 ? Me : a, l, f, d);
|
|
375
509
|
}
|
|
376
|
-
function
|
|
377
|
-
return
|
|
510
|
+
function m1(e, t, o) {
|
|
511
|
+
return pe(e, t, o, g2, he(h1()), Q(e, 2, -2), 0);
|
|
378
512
|
}
|
|
379
|
-
function
|
|
380
|
-
return
|
|
513
|
+
function Ve(e, t, o, r) {
|
|
514
|
+
return pe(e, t, o, Le, Q(e, 0, r), Q(e, r + 1, -1), r);
|
|
381
515
|
}
|
|
382
|
-
function
|
|
383
|
-
for (var o = "",
|
|
516
|
+
function $(e, t) {
|
|
517
|
+
for (var o = "", r = Ie(e), i = 0; i < r; i++)
|
|
384
518
|
o += t(e[i], i, e, t) || "";
|
|
385
519
|
return o;
|
|
386
520
|
}
|
|
387
|
-
function
|
|
521
|
+
function k1(e, t, o, r) {
|
|
388
522
|
switch (e.type) {
|
|
389
|
-
case
|
|
523
|
+
case s1:
|
|
390
524
|
if (e.children.length) break;
|
|
391
|
-
case
|
|
392
|
-
case
|
|
525
|
+
case o1:
|
|
526
|
+
case Le:
|
|
393
527
|
return e.return = e.return || e.value;
|
|
394
|
-
case
|
|
528
|
+
case g2:
|
|
395
529
|
return "";
|
|
396
|
-
case
|
|
397
|
-
return e.return = e.value + "{" +
|
|
398
|
-
case
|
|
530
|
+
case f2:
|
|
531
|
+
return e.return = e.value + "{" + $(e.children, r) + "}";
|
|
532
|
+
case Me:
|
|
399
533
|
e.value = e.props.join(",");
|
|
400
534
|
}
|
|
401
|
-
return
|
|
535
|
+
return P(o = $(e.children, r)) ? e.return = e.value + "{" + o + "}" : "";
|
|
402
536
|
}
|
|
403
|
-
function
|
|
404
|
-
var t =
|
|
405
|
-
return function(o,
|
|
406
|
-
for (var
|
|
407
|
-
|
|
408
|
-
return
|
|
537
|
+
function v1(e) {
|
|
538
|
+
var t = Ie(e);
|
|
539
|
+
return function(o, r, i, s) {
|
|
540
|
+
for (var c = "", a = 0; a < t; a++)
|
|
541
|
+
c += e[a](o, r, i, s) || "";
|
|
542
|
+
return c;
|
|
409
543
|
};
|
|
410
544
|
}
|
|
411
|
-
function
|
|
545
|
+
function x1(e) {
|
|
412
546
|
return function(t) {
|
|
413
547
|
t.root || (t = t.return) && e(t);
|
|
414
548
|
};
|
|
415
549
|
}
|
|
416
|
-
var
|
|
417
|
-
for (var i = 0, s = 0; i = s, s =
|
|
418
|
-
|
|
419
|
-
return
|
|
420
|
-
},
|
|
421
|
-
var
|
|
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); )
|
|
552
|
+
V();
|
|
553
|
+
return te(t, R);
|
|
554
|
+
}, y1 = function(t, o) {
|
|
555
|
+
var r = -1, i = 44;
|
|
422
556
|
do
|
|
423
|
-
switch (
|
|
557
|
+
switch (ee(i)) {
|
|
424
558
|
case 0:
|
|
425
|
-
i === 38 &&
|
|
559
|
+
i === 38 && D() === 12 && (o[r] = 1), t[r] += b1(R - 1, o, r);
|
|
426
560
|
break;
|
|
427
561
|
case 2:
|
|
428
|
-
t[
|
|
562
|
+
t[r] += se(i);
|
|
429
563
|
break;
|
|
430
564
|
case 4:
|
|
431
565
|
if (i === 44) {
|
|
432
|
-
t[++
|
|
566
|
+
t[++r] = D() === 58 ? "&\f" : "", o[r] = t[r].length;
|
|
433
567
|
break;
|
|
434
568
|
}
|
|
435
569
|
// fallthrough
|
|
436
570
|
default:
|
|
437
|
-
t[
|
|
571
|
+
t[r] += he(i);
|
|
438
572
|
}
|
|
439
|
-
while (i =
|
|
573
|
+
while (i = V());
|
|
440
574
|
return t;
|
|
441
|
-
},
|
|
442
|
-
return
|
|
443
|
-
},
|
|
575
|
+
}, M1 = function(t, o) {
|
|
576
|
+
return v2(y1(k2(t), o));
|
|
577
|
+
}, We = /* @__PURE__ */ new WeakMap(), L1 = function(t) {
|
|
444
578
|
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
445
579
|
// negative .length indicates that this rule has been already prefixed
|
|
446
580
|
t.length < 1)) {
|
|
447
|
-
for (var o = t.value,
|
|
448
|
-
if (
|
|
449
|
-
if (!(t.props.length === 1 && o.charCodeAt(0) !== 58 && !
|
|
450
|
-
|
|
451
|
-
for (var s = [],
|
|
452
|
-
for (var d = 0; d <
|
|
453
|
-
t.props[
|
|
581
|
+
for (var o = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; )
|
|
582
|
+
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++)
|
|
586
|
+
for (var d = 0; d < a.length; d++, f++)
|
|
587
|
+
t.props[f] = s[l] ? c[l].replace(/&\f/g, a[d]) : a[d] + " " + c[l];
|
|
454
588
|
}
|
|
455
589
|
}
|
|
456
|
-
},
|
|
590
|
+
}, I1 = function(t) {
|
|
457
591
|
if (t.type === "decl") {
|
|
458
592
|
var o = t.value;
|
|
459
593
|
// charcode for l
|
|
@@ -461,11 +595,11 @@ var X1 = function(t, o, n) {
|
|
|
461
595
|
o.charCodeAt(2) === 98 && (t.return = "", t.value = "");
|
|
462
596
|
}
|
|
463
597
|
};
|
|
464
|
-
function
|
|
465
|
-
switch (
|
|
598
|
+
function x2(e, t) {
|
|
599
|
+
switch (c1(e, t)) {
|
|
466
600
|
// color-adjust
|
|
467
601
|
case 5103:
|
|
468
|
-
return
|
|
602
|
+
return v + "print-" + e + e;
|
|
469
603
|
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
470
604
|
case 5737:
|
|
471
605
|
case 4201:
|
|
@@ -495,58 +629,58 @@ function le(e, t) {
|
|
|
495
629
|
case 5365:
|
|
496
630
|
case 5621:
|
|
497
631
|
case 3829:
|
|
498
|
-
return
|
|
632
|
+
return v + e + e;
|
|
499
633
|
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
500
634
|
case 5349:
|
|
501
635
|
case 4246:
|
|
502
636
|
case 4810:
|
|
503
637
|
case 6968:
|
|
504
638
|
case 2756:
|
|
505
|
-
return
|
|
639
|
+
return v + e + le + e + A + e + e;
|
|
506
640
|
// flex, flex-direction
|
|
507
641
|
case 6828:
|
|
508
642
|
case 4268:
|
|
509
|
-
return
|
|
643
|
+
return v + e + A + e + e;
|
|
510
644
|
// order
|
|
511
645
|
case 6165:
|
|
512
|
-
return
|
|
646
|
+
return v + e + A + "flex-" + e + e;
|
|
513
647
|
// align-items
|
|
514
648
|
case 5187:
|
|
515
|
-
return
|
|
649
|
+
return v + e + x(e, /(\w+).+(:[^]+)/, v + "box-$1$2" + A + "flex-$1$2") + e;
|
|
516
650
|
// align-self
|
|
517
651
|
case 5443:
|
|
518
|
-
return
|
|
652
|
+
return v + e + A + "flex-item-" + x(e, /flex-|-self/, "") + e;
|
|
519
653
|
// align-content
|
|
520
654
|
case 4675:
|
|
521
|
-
return
|
|
655
|
+
return v + e + A + "flex-line-pack" + x(e, /align-content|flex-|-self/, "") + e;
|
|
522
656
|
// flex-shrink
|
|
523
657
|
case 5548:
|
|
524
|
-
return
|
|
658
|
+
return v + e + A + x(e, "shrink", "negative") + e;
|
|
525
659
|
// flex-basis
|
|
526
660
|
case 5292:
|
|
527
|
-
return
|
|
661
|
+
return v + e + A + x(e, "basis", "preferred-size") + e;
|
|
528
662
|
// flex-grow
|
|
529
663
|
case 6060:
|
|
530
|
-
return
|
|
664
|
+
return v + "box-" + x(e, "-grow", "") + v + e + A + x(e, "grow", "positive") + e;
|
|
531
665
|
// transition
|
|
532
666
|
case 4554:
|
|
533
|
-
return
|
|
667
|
+
return v + x(e, /([^-])(transform)/g, "$1" + v + "$2") + e;
|
|
534
668
|
// cursor
|
|
535
669
|
case 6187:
|
|
536
|
-
return
|
|
670
|
+
return x(x(x(e, /(zoom-|grab)/, v + "$1"), /(image-set)/, v + "$1"), e, "") + e;
|
|
537
671
|
// background, background-image
|
|
538
672
|
case 5495:
|
|
539
673
|
case 3959:
|
|
540
|
-
return
|
|
674
|
+
return x(e, /(image-set\([^]*)/, v + "$1$`$1");
|
|
541
675
|
// justify-content
|
|
542
676
|
case 4968:
|
|
543
|
-
return
|
|
677
|
+
return x(x(e, /(.+:)(flex-)?(.*)/, v + "box-pack:$3" + A + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + v + e + e;
|
|
544
678
|
// (margin|padding)-inline-(start|end)
|
|
545
679
|
case 4095:
|
|
546
680
|
case 3583:
|
|
547
681
|
case 4068:
|
|
548
682
|
case 2532:
|
|
549
|
-
return
|
|
683
|
+
return x(e, /(.+)-inline(.+)/, v + "$1$2") + e;
|
|
550
684
|
// (min|max)?(width|height|inline-size|block-size)
|
|
551
685
|
case 8116:
|
|
552
686
|
case 7059:
|
|
@@ -560,116 +694,116 @@ function le(e, t) {
|
|
|
560
694
|
case 5789:
|
|
561
695
|
case 5021:
|
|
562
696
|
case 4765:
|
|
563
|
-
if (
|
|
697
|
+
if (P(e) - 1 - t > 6) switch (N(e, t + 1)) {
|
|
564
698
|
// (m)ax-content, (m)in-content
|
|
565
699
|
case 109:
|
|
566
|
-
if (
|
|
700
|
+
if (N(e, t + 4) !== 45) break;
|
|
567
701
|
// (f)ill-available, (f)it-content
|
|
568
702
|
case 102:
|
|
569
|
-
return
|
|
703
|
+
return x(e, /(.+:)(.+)-([^]+)/, "$1" + v + "$2-$3$1" + le + (N(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
570
704
|
// (s)tretch
|
|
571
705
|
case 115:
|
|
572
|
-
return ~
|
|
706
|
+
return ~we(e, "stretch") ? x2(x(e, "stretch", "fill-available"), t) + e : e;
|
|
573
707
|
}
|
|
574
708
|
break;
|
|
575
709
|
// position: sticky
|
|
576
710
|
case 4949:
|
|
577
|
-
if (
|
|
711
|
+
if (N(e, t + 1) !== 115) break;
|
|
578
712
|
// display: (flex|inline-flex)
|
|
579
713
|
case 6444:
|
|
580
|
-
switch (
|
|
714
|
+
switch (N(e, P(e) - 3 - (~we(e, "!important") && 10))) {
|
|
581
715
|
// stic(k)y
|
|
582
716
|
case 107:
|
|
583
|
-
return
|
|
717
|
+
return x(e, ":", ":" + v) + e;
|
|
584
718
|
// (inline-)?fl(e)x
|
|
585
719
|
case 101:
|
|
586
|
-
return
|
|
720
|
+
return x(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + v + (N(e, 14) === 45 ? "inline-" : "") + "box$3$1" + v + "$2$3$1" + A + "$2box$3") + e;
|
|
587
721
|
}
|
|
588
722
|
break;
|
|
589
723
|
// writing-mode
|
|
590
724
|
case 5936:
|
|
591
|
-
switch (
|
|
725
|
+
switch (N(e, t + 11)) {
|
|
592
726
|
// vertical-l(r)
|
|
593
727
|
case 114:
|
|
594
|
-
return
|
|
728
|
+
return v + e + A + x(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
595
729
|
// vertical-r(l)
|
|
596
730
|
case 108:
|
|
597
|
-
return
|
|
731
|
+
return v + e + A + x(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
598
732
|
// horizontal(-)tb
|
|
599
733
|
case 45:
|
|
600
|
-
return
|
|
734
|
+
return v + e + A + x(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
601
735
|
}
|
|
602
|
-
return
|
|
736
|
+
return v + e + A + e + e;
|
|
603
737
|
}
|
|
604
738
|
return e;
|
|
605
739
|
}
|
|
606
|
-
var
|
|
740
|
+
var T1 = function(t, o, r, i) {
|
|
607
741
|
if (t.length > -1 && !t.return) switch (t.type) {
|
|
608
|
-
case
|
|
609
|
-
t.return =
|
|
742
|
+
case Le:
|
|
743
|
+
t.return = x2(t.value, t.length);
|
|
610
744
|
break;
|
|
611
|
-
case
|
|
612
|
-
return
|
|
613
|
-
value:
|
|
745
|
+
case f2:
|
|
746
|
+
return $([X(t, {
|
|
747
|
+
value: x(t.value, "@", "@" + v)
|
|
614
748
|
})], i);
|
|
615
|
-
case
|
|
616
|
-
if (t.length) return
|
|
617
|
-
switch (
|
|
749
|
+
case Me:
|
|
750
|
+
if (t.length) return d1(t.props, function(s) {
|
|
751
|
+
switch (l1(s, /(::plac\w+|:read-\w+)/)) {
|
|
618
752
|
// :read-(only|write)
|
|
619
753
|
case ":read-only":
|
|
620
754
|
case ":read-write":
|
|
621
|
-
return
|
|
622
|
-
props: [
|
|
755
|
+
return $([X(t, {
|
|
756
|
+
props: [x(s, /:(read-\w+)/, ":" + le + "$1")]
|
|
623
757
|
})], i);
|
|
624
758
|
// :placeholder
|
|
625
759
|
case "::placeholder":
|
|
626
|
-
return
|
|
627
|
-
props: [
|
|
628
|
-
}),
|
|
629
|
-
props: [
|
|
630
|
-
}),
|
|
631
|
-
props: [
|
|
760
|
+
return $([X(t, {
|
|
761
|
+
props: [x(s, /:(plac\w+)/, ":" + v + "input-$1")]
|
|
762
|
+
}), X(t, {
|
|
763
|
+
props: [x(s, /:(plac\w+)/, ":" + le + "$1")]
|
|
764
|
+
}), X(t, {
|
|
765
|
+
props: [x(s, /:(plac\w+)/, A + "input-$1")]
|
|
632
766
|
})], i);
|
|
633
767
|
}
|
|
634
768
|
return "";
|
|
635
769
|
});
|
|
636
770
|
}
|
|
637
|
-
},
|
|
771
|
+
}, S1 = [T1], N1 = function(t) {
|
|
638
772
|
var o = t.key;
|
|
639
773
|
if (o === "css") {
|
|
640
|
-
var
|
|
641
|
-
Array.prototype.forEach.call(
|
|
642
|
-
var
|
|
643
|
-
|
|
774
|
+
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", ""));
|
|
644
778
|
});
|
|
645
779
|
}
|
|
646
|
-
var i = t.stylisPlugins ||
|
|
647
|
-
|
|
780
|
+
var i = t.stylisPlugins || S1, s = {}, c, a = [];
|
|
781
|
+
c = t.container || document.head, Array.prototype.forEach.call(
|
|
648
782
|
// this means we will ignore elements which don't have a space in them which
|
|
649
783
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
650
784
|
document.querySelectorAll('style[data-emotion^="' + o + ' "]'),
|
|
651
|
-
function(
|
|
652
|
-
for (var
|
|
653
|
-
s[
|
|
654
|
-
|
|
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);
|
|
655
789
|
}
|
|
656
790
|
);
|
|
657
|
-
var
|
|
791
|
+
var l, f = [L1, I1];
|
|
658
792
|
{
|
|
659
|
-
var d,
|
|
660
|
-
d.insert(
|
|
661
|
-
})],
|
|
662
|
-
return
|
|
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);
|
|
663
797
|
};
|
|
664
|
-
|
|
665
|
-
d =
|
|
798
|
+
l = function(L, b, I, B) {
|
|
799
|
+
d = I, m(L ? L + "{" + b.styles + "}" : b.styles), B && (w.inserted[b.name] = !0);
|
|
666
800
|
};
|
|
667
801
|
}
|
|
668
|
-
var
|
|
802
|
+
var w = {
|
|
669
803
|
key: o,
|
|
670
|
-
sheet: new
|
|
804
|
+
sheet: new r1({
|
|
671
805
|
key: o,
|
|
672
|
-
container:
|
|
806
|
+
container: c,
|
|
673
807
|
nonce: t.nonce,
|
|
674
808
|
speedy: t.speedy,
|
|
675
809
|
prepend: t.prepend,
|
|
@@ -678,68 +812,68 @@ var rt = function(t, o, n, i) {
|
|
|
678
812
|
nonce: t.nonce,
|
|
679
813
|
inserted: s,
|
|
680
814
|
registered: {},
|
|
681
|
-
insert:
|
|
815
|
+
insert: l
|
|
682
816
|
};
|
|
683
|
-
return
|
|
817
|
+
return w.sheet.hydrate(a), w;
|
|
684
818
|
};
|
|
685
|
-
const
|
|
686
|
-
const
|
|
819
|
+
const b2 = ({ children: e, viewport: t, containerProps: o }) => {
|
|
820
|
+
const r = de(null), { theme: i } = U(), [s, c] = H({
|
|
687
821
|
width: 0,
|
|
688
822
|
height: 0
|
|
689
823
|
});
|
|
690
|
-
|
|
691
|
-
const
|
|
692
|
-
const
|
|
693
|
-
if (!
|
|
694
|
-
const { width:
|
|
695
|
-
|
|
696
|
-
width:
|
|
697
|
-
height:
|
|
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();
|
|
829
|
+
c(() => ({
|
|
830
|
+
width: I,
|
|
831
|
+
height: B
|
|
698
832
|
}));
|
|
699
|
-
}, 200),
|
|
700
|
-
return
|
|
833
|
+
}, 200), C = new ResizeObserver(w);
|
|
834
|
+
return r.current && C.observe(r.current), () => C.disconnect();
|
|
701
835
|
}, []);
|
|
702
|
-
const
|
|
703
|
-
return /* @__PURE__ */
|
|
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;
|
|
837
|
+
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(
|
|
704
838
|
"div",
|
|
705
839
|
{
|
|
706
840
|
style: {
|
|
707
|
-
transform: `scale(${
|
|
708
|
-
width:
|
|
709
|
-
height:
|
|
710
|
-
marginLeft: (s.width -
|
|
711
|
-
marginTop: (s.height -
|
|
841
|
+
transform: `scale(${h})`,
|
|
842
|
+
width: m,
|
|
843
|
+
height: u,
|
|
844
|
+
marginLeft: (s.width - m) / 2,
|
|
845
|
+
marginTop: (s.height - u) / 2
|
|
712
846
|
},
|
|
713
847
|
css: { position: "absolute" },
|
|
714
|
-
children: /* @__PURE__ */
|
|
715
|
-
|
|
848
|
+
children: /* @__PURE__ */ n(
|
|
849
|
+
Ut,
|
|
716
850
|
{
|
|
717
851
|
sandbox: "allow-same-origin allow-scripts allow-popups allow-presentation",
|
|
718
852
|
allow: "autoplay; encrypted-media",
|
|
719
|
-
width:
|
|
720
|
-
height:
|
|
721
|
-
children: /* @__PURE__ */
|
|
853
|
+
width: a ?? "100%",
|
|
854
|
+
height: l ?? "100%",
|
|
855
|
+
children: /* @__PURE__ */ n(A1, { theme: i, children: e })
|
|
722
856
|
}
|
|
723
857
|
)
|
|
724
858
|
}
|
|
725
859
|
) }) });
|
|
726
|
-
},
|
|
727
|
-
const { document: o, window:
|
|
728
|
-
|
|
729
|
-
const
|
|
730
|
-
return
|
|
731
|
-
window.customElements.get(
|
|
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(() => {
|
|
863
|
+
const l = c.current;
|
|
864
|
+
return r && (window.customElements.define = function(f, d, h) {
|
|
865
|
+
window.customElements.get(f) || r.customElements.define(f, d, h), l(f, d, h);
|
|
732
866
|
}), o?.head.replaceWith(document.head.cloneNode(!0)), s(!0), () => {
|
|
733
|
-
window.customElements.define =
|
|
867
|
+
window.customElements.define = l;
|
|
734
868
|
};
|
|
735
|
-
}, [o,
|
|
736
|
-
const
|
|
869
|
+
}, [o, r]);
|
|
870
|
+
const a = N1({
|
|
737
871
|
key: "css",
|
|
738
872
|
container: o?.head
|
|
739
873
|
});
|
|
740
|
-
return i ? /* @__PURE__ */
|
|
741
|
-
/* @__PURE__ */
|
|
742
|
-
|
|
874
|
+
return i ? /* @__PURE__ */ n(je, { children: /* @__PURE__ */ g(Bt, { value: a, children: [
|
|
875
|
+
/* @__PURE__ */ n(
|
|
876
|
+
Rt,
|
|
743
877
|
{
|
|
744
878
|
styles: {
|
|
745
879
|
".frame-content": {
|
|
@@ -748,61 +882,337 @@ const he = ({ children: e, viewport: t, containerProps: o }) => {
|
|
|
748
882
|
minHeight: "100vh",
|
|
749
883
|
justifyContent: "center"
|
|
750
884
|
},
|
|
751
|
-
[`& *[${
|
|
885
|
+
[`& *[${Te.DATA_NODE_DROP_TARGET}=${Se.True}]`]: {
|
|
752
886
|
outlineWidth: 1,
|
|
753
887
|
outlineStyle: "solid",
|
|
754
888
|
outlineOffset: -1,
|
|
755
889
|
outlineColor: "green"
|
|
756
890
|
},
|
|
757
|
-
[`& *[${
|
|
891
|
+
[`& *[${Te.DATA_NODE_DROP_TARGET_ERROR}=${Se.True}]`]: {
|
|
758
892
|
outlineColor: "red"
|
|
759
893
|
}
|
|
760
894
|
}
|
|
761
895
|
}
|
|
762
896
|
),
|
|
763
|
-
/* @__PURE__ */
|
|
897
|
+
/* @__PURE__ */ n($t, { theme: t, children: e })
|
|
764
898
|
] }) }) : null;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
899
|
+
};
|
|
900
|
+
var _ = /* @__PURE__ */ ((e) => (e[e.Pixels = 0] = "Pixels", e[e.Unitless = 1] = "Unitless", e))(_ || {});
|
|
901
|
+
const E1 = [
|
|
902
|
+
{
|
|
903
|
+
label: "Pixels",
|
|
904
|
+
value: 0
|
|
905
|
+
/* Pixels */
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
label: "Unitless",
|
|
909
|
+
value: 1
|
|
910
|
+
/* Unitless */
|
|
911
|
+
}
|
|
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)) {
|
|
915
|
+
r?.({
|
|
916
|
+
lineHeight: u === _.Unitless ? 1 : m
|
|
917
|
+
});
|
|
918
|
+
return;
|
|
919
|
+
}
|
|
920
|
+
r?.({
|
|
921
|
+
lineHeight: u === _.Unitless ? Number(m.toFixed(1)) : `${m}px`
|
|
922
|
+
});
|
|
923
|
+
}, l = (u) => {
|
|
924
|
+
a({ unit: Number(u.target.value) });
|
|
925
|
+
}, f = (u) => {
|
|
926
|
+
const m = isNaN(u.target.valueAsNumber) ? void 0 : u.target.valueAsNumber;
|
|
927
|
+
a({ unit: i, value: m });
|
|
928
|
+
}, d = (u) => {
|
|
929
|
+
u.stopPropagation(), !Z(c) && a({ unit: i, value: Math.max(c + s, 0) });
|
|
930
|
+
}, h = (u) => {
|
|
931
|
+
u.stopPropagation(), !Z(c) && a({ unit: i, value: Math.max(c - s, 0) });
|
|
932
|
+
};
|
|
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,
|
|
936
|
+
{
|
|
937
|
+
onChange: l,
|
|
938
|
+
checked: u.value === i,
|
|
939
|
+
value: u.value,
|
|
940
|
+
name: "toolbar-line-height",
|
|
941
|
+
children: u.label
|
|
942
|
+
},
|
|
943
|
+
u.value
|
|
944
|
+
)) }) }),
|
|
945
|
+
/* @__PURE__ */ n("div", { css: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ n("div", { css: { width: "50%" }, children: /* @__PURE__ */ n(
|
|
946
|
+
c2,
|
|
947
|
+
{
|
|
948
|
+
fractionDigits: 1,
|
|
949
|
+
type: i === _.Unitless ? "decimal" : "integer",
|
|
950
|
+
value: c ?? "",
|
|
951
|
+
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 }) }),
|
|
954
|
+
mode: "onBlur",
|
|
955
|
+
css: { textAlign: "center" },
|
|
956
|
+
placeholder: "normal"
|
|
957
|
+
}
|
|
958
|
+
) }) })
|
|
959
|
+
] });
|
|
960
|
+
}, sr = ({ name: e, responsive: t = !0, value: o, onChange: r }) => {
|
|
961
|
+
const i = (a) => {
|
|
962
|
+
const l = isNaN(a.target.valueAsNumber) ? void 0 : a.target.valueAsNumber;
|
|
963
|
+
r?.({
|
|
964
|
+
...o,
|
|
965
|
+
fontSize: l
|
|
966
|
+
});
|
|
967
|
+
}, s = (a) => {
|
|
968
|
+
a.stopPropagation();
|
|
969
|
+
const l = Ae(o?.fontSize) ? void 0 : o?.fontSize;
|
|
970
|
+
r?.({
|
|
971
|
+
...o,
|
|
972
|
+
fontSize: Z(l) ? 16 : l + 1
|
|
973
|
+
});
|
|
974
|
+
}, c = (a) => {
|
|
975
|
+
a.stopPropagation();
|
|
976
|
+
const l = Ae(o?.fontSize) ? void 0 : o?.fontSize;
|
|
977
|
+
r?.({
|
|
978
|
+
...o,
|
|
979
|
+
fontSize: Z(l) ? 16 : Math.max(l - 1, 0)
|
|
980
|
+
});
|
|
981
|
+
};
|
|
982
|
+
return /* @__PURE__ */ n(q, { responsive: t, name: e ?? "Font size", children: /* @__PURE__ */ n("div", { css: { width: "50%" }, children: /* @__PURE__ */ n(
|
|
983
|
+
c2,
|
|
984
|
+
{
|
|
985
|
+
onCanPlay: i,
|
|
986
|
+
mode: "onBlur",
|
|
987
|
+
css: { textAlign: "center" },
|
|
988
|
+
placeholder: "inherit",
|
|
989
|
+
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 }) })
|
|
992
|
+
}
|
|
993
|
+
) }) });
|
|
994
|
+
}, Pe = [
|
|
995
|
+
{
|
|
996
|
+
label: "Block",
|
|
997
|
+
value: "block"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
label: "Inline",
|
|
1001
|
+
value: "inline"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
label: "Inline Block",
|
|
1005
|
+
value: "inline-block"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
label: "Flex",
|
|
1009
|
+
value: "flex"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
label: "Inline Flex",
|
|
1013
|
+
value: "flex"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
label: "Grid",
|
|
1017
|
+
value: "grid"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
label: "Inline Grid",
|
|
1021
|
+
value: "inline-grid"
|
|
1022
|
+
}
|
|
1023
|
+
], ir = ({
|
|
1024
|
+
name: e,
|
|
1025
|
+
responsive: t = !1,
|
|
1026
|
+
availableDisplays: o,
|
|
1027
|
+
onChange: r,
|
|
1028
|
+
value: i
|
|
1029
|
+
}) => {
|
|
1030
|
+
const s = Z(o) ? Pe : Pe.filter((a) => o.includes(a.value)), c = (a) => {
|
|
1031
|
+
r?.({ display: a });
|
|
1032
|
+
};
|
|
1033
|
+
return /* @__PURE__ */ n(q, { name: e ?? "Display", responsive: t, children: /* @__PURE__ */ n(
|
|
1034
|
+
Q2,
|
|
1035
|
+
{
|
|
1036
|
+
css: {
|
|
1037
|
+
width: "50%"
|
|
1038
|
+
},
|
|
1039
|
+
placement: "bottom-end",
|
|
1040
|
+
placeholder: "default",
|
|
1041
|
+
options: s,
|
|
1042
|
+
value: i?.display ?? null,
|
|
1043
|
+
onChange: c
|
|
1044
|
+
}
|
|
1045
|
+
) });
|
|
1046
|
+
}, ar = ({ value: e, onChange: t, name: o, responsive: r = !1 }) => {
|
|
1047
|
+
const i = {
|
|
1048
|
+
flexBasis: e?.flexBasis ?? "auto",
|
|
1049
|
+
flexGrow: e?.flexGrow ?? 0,
|
|
1050
|
+
flexShrink: e?.flexShrink ?? 1
|
|
1051
|
+
}, s = [
|
|
1052
|
+
{
|
|
1053
|
+
label: "Auto fit",
|
|
1054
|
+
value: 0,
|
|
1055
|
+
rawValue: {
|
|
1056
|
+
flexBasis: "auto",
|
|
1057
|
+
flexGrow: 0,
|
|
1058
|
+
flexShrink: 1
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
label: "Auto fill",
|
|
1063
|
+
value: 1,
|
|
1064
|
+
rawValue: {
|
|
1065
|
+
flexBasis: "0%",
|
|
1066
|
+
flexGrow: 1,
|
|
1067
|
+
flexShrink: 1
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
], c = s.find((l) => J2(l.rawValue, i))?.value, a = (l) => {
|
|
1071
|
+
const f = s.find((d) => d.value === Number(l.target.value));
|
|
1072
|
+
f && t?.(f.rawValue);
|
|
1073
|
+
};
|
|
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,
|
|
1076
|
+
{
|
|
1077
|
+
checked: l.value === c,
|
|
1078
|
+
value: l.value,
|
|
1079
|
+
onChange: a,
|
|
1080
|
+
children: l.label
|
|
1081
|
+
},
|
|
1082
|
+
l.value
|
|
1083
|
+
)) }) });
|
|
1084
|
+
}, cr = ({ name: e, value: t, onChange: o, responsive: r = !0 }) => {
|
|
1085
|
+
const i = de(null), s = (c) => {
|
|
1086
|
+
o?.({
|
|
1087
|
+
minWidth: c
|
|
1088
|
+
});
|
|
1089
|
+
};
|
|
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,
|
|
1092
|
+
{
|
|
1093
|
+
fullWidth: !0,
|
|
1094
|
+
wrapRef: i,
|
|
1095
|
+
placeholder: "0",
|
|
1096
|
+
value: t?.minWidth,
|
|
1097
|
+
onChange: s,
|
|
1098
|
+
defaultValue: {
|
|
1099
|
+
"%": 100
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
) }) });
|
|
1103
|
+
}, lr = ({ value: e, onChange: t }) => {
|
|
1104
|
+
const [o, r] = H(!1), i = (c) => {
|
|
1105
|
+
t?.({ ...e, sizeVariant: c });
|
|
1106
|
+
}, s = (c) => {
|
|
1107
|
+
t?.({
|
|
1108
|
+
...e,
|
|
1109
|
+
css: {
|
|
1110
|
+
...e?.css,
|
|
1111
|
+
...c
|
|
1112
|
+
}
|
|
1113
|
+
});
|
|
1114
|
+
};
|
|
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(
|
|
1117
|
+
"button",
|
|
1118
|
+
{
|
|
1119
|
+
css: [
|
|
1120
|
+
{
|
|
1121
|
+
display: "flex",
|
|
1122
|
+
paddingInline: 8,
|
|
1123
|
+
alignItems: "center",
|
|
1124
|
+
gap: 8,
|
|
1125
|
+
borderRadius: 6,
|
|
1126
|
+
textAlign: "left",
|
|
1127
|
+
width: "50%",
|
|
1128
|
+
height: 32,
|
|
1129
|
+
backgroundColor: p.palette.white["1s"],
|
|
1130
|
+
overflow: "hidden",
|
|
1131
|
+
textOverflow: "ellipsis",
|
|
1132
|
+
whiteSpace: "nowrap",
|
|
1133
|
+
...p.text.xs
|
|
1134
|
+
},
|
|
1135
|
+
o && { backgroundColor: p.palette.black["7s"] }
|
|
1136
|
+
],
|
|
1137
|
+
children: [
|
|
1138
|
+
/* @__PURE__ */ n(M, { css: { color: "white" }, source: tt }),
|
|
1139
|
+
/* @__PURE__ */ n("span", { children: "Auto" })
|
|
1140
|
+
]
|
|
1141
|
+
}
|
|
1142
|
+
) }),
|
|
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: [
|
|
1145
|
+
/* @__PURE__ */ n("div", { css: { fontWeight: 500 }, children: "Text style" }),
|
|
1146
|
+
/* @__PURE__ */ n(nt, { children: /* @__PURE__ */ n(E, { children: /* @__PURE__ */ n(M, { source: Oe }) }) })
|
|
1147
|
+
] }),
|
|
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 }),
|
|
1152
|
+
/* @__PURE__ */ n(
|
|
1153
|
+
st,
|
|
1154
|
+
{
|
|
1155
|
+
name: "Style",
|
|
1156
|
+
value: {
|
|
1157
|
+
fontWeight: e?.css?.fontWeight,
|
|
1158
|
+
fontStyle: e?.css?.fontStyle,
|
|
1159
|
+
textDecorationLine: e?.css?.textDecorationLine
|
|
1160
|
+
},
|
|
1161
|
+
onChange: s
|
|
1162
|
+
}
|
|
1163
|
+
),
|
|
1164
|
+
/* @__PURE__ */ n(it, { value: { fontWeight: e?.css?.fontWeight }, onChange: s }),
|
|
1165
|
+
/* @__PURE__ */ n(
|
|
1166
|
+
at,
|
|
1167
|
+
{
|
|
1168
|
+
value: {
|
|
1169
|
+
textTransform: e?.css?.textTransform
|
|
1170
|
+
},
|
|
1171
|
+
onChange: s
|
|
1172
|
+
}
|
|
1173
|
+
)
|
|
1174
|
+
] })
|
|
1175
|
+
] }) })
|
|
1176
|
+
] }) });
|
|
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
|
|
773
1183
|
}));
|
|
774
|
-
return o ?
|
|
775
|
-
i &&
|
|
776
|
-
/* @__PURE__ */
|
|
777
|
-
/* @__PURE__ */
|
|
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, {})
|
|
778
1188
|
] }),
|
|
779
1189
|
e
|
|
780
1190
|
] });
|
|
781
1191
|
};
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
const
|
|
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 });
|
|
1211
|
+
const De = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
802
1212
|
<path d="M8 5L5 8L8 11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
803
1213
|
<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"/>
|
|
804
1214
|
</svg>
|
|
805
|
-
`,
|
|
1215
|
+
`, R1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
806
1216
|
<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"/>
|
|
807
1217
|
<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"/>
|
|
808
1218
|
<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"/>
|
|
@@ -810,35 +1220,30 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
810
1220
|
<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"/>
|
|
811
1221
|
<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"/>
|
|
812
1222
|
</svg>
|
|
813
|
-
`,
|
|
1223
|
+
`, V1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
814
1224
|
<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"/>
|
|
815
1225
|
<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"/>
|
|
816
1226
|
</svg>
|
|
817
|
-
`,
|
|
818
|
-
const {
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
})), d = (h) => {
|
|
826
|
-
o({
|
|
827
|
-
screen: h
|
|
828
|
-
});
|
|
829
|
-
}, a = () => {
|
|
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 });
|
|
1234
|
+
}, h = () => {
|
|
830
1235
|
o({ mode: e === "full" ? "compact" : "full" });
|
|
831
|
-
},
|
|
832
|
-
|
|
833
|
-
},
|
|
1236
|
+
}, u = () => {
|
|
1237
|
+
r.close();
|
|
1238
|
+
}, m = async () => {
|
|
834
1239
|
try {
|
|
835
|
-
return
|
|
1240
|
+
return c.selectNode(), r.submit(f.getSerializedNodes());
|
|
836
1241
|
} catch {
|
|
837
1242
|
} finally {
|
|
838
|
-
|
|
1243
|
+
s(!1);
|
|
839
1244
|
}
|
|
840
1245
|
};
|
|
841
|
-
return /* @__PURE__ */
|
|
1246
|
+
return /* @__PURE__ */ g(
|
|
842
1247
|
"div",
|
|
843
1248
|
{
|
|
844
1249
|
css: {
|
|
@@ -847,15 +1252,15 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
847
1252
|
alignItems: "center",
|
|
848
1253
|
gap: 16,
|
|
849
1254
|
justifyContent: "space-between",
|
|
850
|
-
backgroundColor:
|
|
851
|
-
color:
|
|
852
|
-
...
|
|
1255
|
+
backgroundColor: p.palette.ink["6s"],
|
|
1256
|
+
color: p.palette.white["6s"],
|
|
1257
|
+
...p.text.sm
|
|
853
1258
|
},
|
|
854
1259
|
children: [
|
|
855
|
-
/* @__PURE__ */
|
|
856
|
-
/* @__PURE__ */
|
|
857
|
-
/* @__PURE__ */
|
|
858
|
-
/* @__PURE__ */
|
|
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(
|
|
859
1264
|
"div",
|
|
860
1265
|
{
|
|
861
1266
|
css: {
|
|
@@ -864,15 +1269,15 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
864
1269
|
alignItems: "center",
|
|
865
1270
|
gap: 8,
|
|
866
1271
|
borderRadius: 8,
|
|
867
|
-
backgroundColor:
|
|
1272
|
+
backgroundColor: p.palette.white["1s"]
|
|
868
1273
|
},
|
|
869
1274
|
children: [
|
|
870
|
-
/* @__PURE__ */
|
|
871
|
-
/* @__PURE__ */
|
|
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)" } }) })
|
|
872
1277
|
]
|
|
873
1278
|
}
|
|
874
1279
|
),
|
|
875
|
-
/* @__PURE__ */
|
|
1280
|
+
/* @__PURE__ */ n(
|
|
876
1281
|
"div",
|
|
877
1282
|
{
|
|
878
1283
|
css: {
|
|
@@ -881,57 +1286,57 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
881
1286
|
alignItems: "center",
|
|
882
1287
|
gap: 8,
|
|
883
1288
|
borderRadius: 8,
|
|
884
|
-
backgroundColor:
|
|
1289
|
+
backgroundColor: p.palette.white["1s"]
|
|
885
1290
|
},
|
|
886
|
-
children: /* @__PURE__ */
|
|
1291
|
+
children: /* @__PURE__ */ n(E, { onClick: h, children: /* @__PURE__ */ n(M, { source: e === "full" ? V1 : R1 }) })
|
|
887
1292
|
}
|
|
888
1293
|
)
|
|
889
1294
|
] }),
|
|
890
|
-
/* @__PURE__ */
|
|
1295
|
+
/* @__PURE__ */ n("div", { css: { display: "flex", alignItems: "center", gap: 12 }, children: /* @__PURE__ */ n(n2, { isLoading: i, onClick: m, children: "Save" }) })
|
|
891
1296
|
]
|
|
892
1297
|
}
|
|
893
1298
|
);
|
|
894
|
-
},
|
|
1299
|
+
}, D1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
895
1300
|
<path d="M20 19.9997L16.3763 16.376" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
896
1301
|
<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"/>
|
|
897
1302
|
</svg>
|
|
898
|
-
`,
|
|
1303
|
+
`, H1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
899
1304
|
<path d="M15 6L9 12L15 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
900
1305
|
</svg>
|
|
901
|
-
`,
|
|
1306
|
+
`, j1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
902
1307
|
<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"/>
|
|
903
1308
|
<path d="M13.5 20.9998V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
904
1309
|
<path d="M9.50011 11.9998V3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
905
1310
|
<path d="M20.9999 12H3.00024" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
906
1311
|
</svg>
|
|
907
|
-
`,
|
|
1312
|
+
`, _1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
908
1313
|
<rect x="3" y="3" width="18" height="18" rx="2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
909
1314
|
<path d="M3 12H21" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
910
1315
|
<path d="M12 21V3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
911
1316
|
</svg>
|
|
912
|
-
`,
|
|
1317
|
+
`, He = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
913
1318
|
<path d="M3 6V18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
914
1319
|
<path d="M21 6V18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
915
1320
|
<path d="M6 21H18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
916
1321
|
<path d="M6 3H18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
917
1322
|
</svg>
|
|
918
|
-
`,
|
|
1323
|
+
`, F1 = {
|
|
919
1324
|
name: "Layout",
|
|
920
1325
|
templates: [
|
|
921
1326
|
{
|
|
922
1327
|
name: "Container",
|
|
923
|
-
template: /* @__PURE__ */
|
|
924
|
-
icon: { source:
|
|
1328
|
+
template: /* @__PURE__ */ n(k, { is: t2 }),
|
|
1329
|
+
icon: { source: He, height: 32 }
|
|
925
1330
|
},
|
|
926
1331
|
{
|
|
927
1332
|
name: "Block",
|
|
928
|
-
template: /* @__PURE__ */
|
|
929
|
-
icon: { source:
|
|
1333
|
+
template: /* @__PURE__ */ n(k, { is: Je }),
|
|
1334
|
+
icon: { source: He, height: 32 }
|
|
930
1335
|
},
|
|
931
1336
|
{
|
|
932
1337
|
name: "Grid",
|
|
933
|
-
template: /* @__PURE__ */
|
|
934
|
-
|
|
1338
|
+
template: /* @__PURE__ */ g(
|
|
1339
|
+
k,
|
|
935
1340
|
{
|
|
936
1341
|
cols: 2,
|
|
937
1342
|
sx: {
|
|
@@ -941,43 +1346,43 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
941
1346
|
paddingTop: 16,
|
|
942
1347
|
paddingBottom: 16
|
|
943
1348
|
},
|
|
944
|
-
is:
|
|
1349
|
+
is: $e,
|
|
945
1350
|
children: [
|
|
946
|
-
/* @__PURE__ */
|
|
947
|
-
/* @__PURE__ */
|
|
1351
|
+
/* @__PURE__ */ n(k, { is: ge, canvas: !0 }),
|
|
1352
|
+
/* @__PURE__ */ n(k, { is: ge, canvas: !0 })
|
|
948
1353
|
]
|
|
949
1354
|
}
|
|
950
1355
|
),
|
|
951
|
-
icon: { source:
|
|
1356
|
+
icon: { source: _1, height: 32 }
|
|
952
1357
|
},
|
|
953
1358
|
{
|
|
954
1359
|
name: "Flex",
|
|
955
|
-
template: /* @__PURE__ */
|
|
956
|
-
/* @__PURE__ */
|
|
957
|
-
|
|
1360
|
+
template: /* @__PURE__ */ g(k, { is: Ge, sx: { columnGap: 8, rowGap: 8, paddingTop: 16, paddingBottom: 16 }, children: [
|
|
1361
|
+
/* @__PURE__ */ n(
|
|
1362
|
+
k,
|
|
958
1363
|
{
|
|
959
1364
|
sx: {
|
|
960
1365
|
width: "40%"
|
|
961
1366
|
},
|
|
962
|
-
is:
|
|
1367
|
+
is: fe,
|
|
963
1368
|
canvas: !0
|
|
964
1369
|
}
|
|
965
1370
|
),
|
|
966
|
-
/* @__PURE__ */
|
|
967
|
-
|
|
1371
|
+
/* @__PURE__ */ n(
|
|
1372
|
+
k,
|
|
968
1373
|
{
|
|
969
1374
|
sx: {
|
|
970
1375
|
width: "60%"
|
|
971
1376
|
},
|
|
972
|
-
is:
|
|
1377
|
+
is: fe,
|
|
973
1378
|
canvas: !0
|
|
974
1379
|
}
|
|
975
1380
|
)
|
|
976
1381
|
] }),
|
|
977
|
-
icon: { source:
|
|
1382
|
+
icon: { source: j1, height: 32 }
|
|
978
1383
|
}
|
|
979
1384
|
]
|
|
980
|
-
},
|
|
1385
|
+
}, O1 = `<svg width="98" height="56" viewBox="0 0 98 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
981
1386
|
<rect x="4" y="4" width="57" height="6" rx="3" fill="currentColor"></rect>
|
|
982
1387
|
<rect x="2" y="4" width="57" height="6" rx="3" fill="currentColor"></rect>
|
|
983
1388
|
<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>
|
|
@@ -987,15 +1392,15 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
987
1392
|
<rect x="4" y="46" width="57" height="6" rx="3" fill="currentColor"></rect>
|
|
988
1393
|
<rect x="2" y="46" width="57" height="6" rx="3" fill="currentColor"></rect>
|
|
989
1394
|
<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>
|
|
990
|
-
</svg>`,
|
|
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 = {
|
|
991
1396
|
name: "Content list",
|
|
992
1397
|
templates: [
|
|
993
1398
|
{
|
|
994
1399
|
name: "Accordion",
|
|
995
|
-
template: /* @__PURE__ */
|
|
996
|
-
|
|
1400
|
+
template: /* @__PURE__ */ n(
|
|
1401
|
+
k,
|
|
997
1402
|
{
|
|
998
|
-
is:
|
|
1403
|
+
is: Qe,
|
|
999
1404
|
accordionSummaryProps: {
|
|
1000
1405
|
sx: {
|
|
1001
1406
|
paddingTop: 8,
|
|
@@ -1004,8 +1409,8 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1004
1409
|
expandIcon: {
|
|
1005
1410
|
position: "right",
|
|
1006
1411
|
source: {
|
|
1007
|
-
expanded:
|
|
1008
|
-
collapsed:
|
|
1412
|
+
expanded: Z1,
|
|
1413
|
+
collapsed: z1
|
|
1009
1414
|
}
|
|
1010
1415
|
}
|
|
1011
1416
|
},
|
|
@@ -1016,23 +1421,23 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1016
1421
|
}
|
|
1017
1422
|
},
|
|
1018
1423
|
openMode: "single",
|
|
1019
|
-
children:
|
|
1020
|
-
/* @__PURE__ */
|
|
1021
|
-
|
|
1424
|
+
children: F(3).map((e) => /* @__PURE__ */ g(k, { defaultOpen: e === 0, is: V2, children: [
|
|
1425
|
+
/* @__PURE__ */ n(k, { is: W2, children: /* @__PURE__ */ n(
|
|
1426
|
+
k,
|
|
1022
1427
|
{
|
|
1023
1428
|
sizeVariant: "base",
|
|
1024
|
-
is:
|
|
1429
|
+
is: ae,
|
|
1025
1430
|
dangerouslySetInnerHTML: { __html: `Accordion ${e + 1}` }
|
|
1026
1431
|
}
|
|
1027
1432
|
) }),
|
|
1028
|
-
/* @__PURE__ */
|
|
1029
|
-
|
|
1433
|
+
/* @__PURE__ */ n(k, { is: P2, children: /* @__PURE__ */ n(
|
|
1434
|
+
k,
|
|
1030
1435
|
{
|
|
1031
1436
|
sx: {
|
|
1032
1437
|
paddingTop: 8,
|
|
1033
1438
|
paddingBottom: 8
|
|
1034
1439
|
},
|
|
1035
|
-
is:
|
|
1440
|
+
is: ae,
|
|
1036
1441
|
dangerouslySetInnerHTML: {
|
|
1037
1442
|
__html: `Content for accordion ${e + 1}`
|
|
1038
1443
|
}
|
|
@@ -1041,22 +1446,22 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1041
1446
|
] }, e))
|
|
1042
1447
|
}
|
|
1043
1448
|
),
|
|
1044
|
-
icon: { source:
|
|
1449
|
+
icon: { source: O1, height: 40 }
|
|
1045
1450
|
}
|
|
1046
1451
|
]
|
|
1047
|
-
},
|
|
1452
|
+
}, ke = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1048
1453
|
<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"/>
|
|
1049
1454
|
<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"/>
|
|
1050
1455
|
</svg>
|
|
1051
|
-
`,
|
|
1456
|
+
`, G1 = {
|
|
1052
1457
|
name: "Interactive",
|
|
1053
1458
|
templates: [
|
|
1054
1459
|
{
|
|
1055
1460
|
name: "Carousel",
|
|
1056
|
-
template: /* @__PURE__ */
|
|
1057
|
-
|
|
1461
|
+
template: /* @__PURE__ */ n(
|
|
1462
|
+
k,
|
|
1058
1463
|
{
|
|
1059
|
-
is:
|
|
1464
|
+
is: xe,
|
|
1060
1465
|
slidesPerView: 2,
|
|
1061
1466
|
spaceBetween: 8,
|
|
1062
1467
|
md: {
|
|
@@ -1065,38 +1470,38 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1065
1470
|
lg: {
|
|
1066
1471
|
slidesPerView: 4
|
|
1067
1472
|
},
|
|
1068
|
-
children:
|
|
1069
|
-
|
|
1473
|
+
children: F(6).map((e) => /* @__PURE__ */ n(
|
|
1474
|
+
k,
|
|
1070
1475
|
{
|
|
1071
1476
|
custom: {
|
|
1072
1477
|
displayName: `Slide ${e + 1}`
|
|
1073
1478
|
},
|
|
1074
|
-
is:
|
|
1479
|
+
is: r2,
|
|
1075
1480
|
canvas: !0
|
|
1076
1481
|
},
|
|
1077
1482
|
e
|
|
1078
1483
|
))
|
|
1079
1484
|
}
|
|
1080
1485
|
),
|
|
1081
|
-
icon: { source:
|
|
1486
|
+
icon: { source: ke, height: 32 }
|
|
1082
1487
|
},
|
|
1083
1488
|
{
|
|
1084
1489
|
name: "Marquee",
|
|
1085
|
-
template: /* @__PURE__ */
|
|
1086
|
-
|
|
1490
|
+
template: /* @__PURE__ */ n(k, { is: be, children: F(10).map((e) => /* @__PURE__ */ n(
|
|
1491
|
+
k,
|
|
1087
1492
|
{
|
|
1088
1493
|
canvas: !0,
|
|
1089
1494
|
custom: {
|
|
1090
1495
|
displayName: `Marquee Item ${e + 1}`
|
|
1091
1496
|
},
|
|
1092
|
-
is:
|
|
1497
|
+
is: o2
|
|
1093
1498
|
},
|
|
1094
1499
|
e
|
|
1095
1500
|
)) }),
|
|
1096
|
-
icon: { source:
|
|
1501
|
+
icon: { source: ke, height: 32 }
|
|
1097
1502
|
}
|
|
1098
1503
|
]
|
|
1099
|
-
},
|
|
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">
|
|
1100
1505
|
<style type="text/css">
|
|
1101
1506
|
.st0{fill:currentColor;}
|
|
1102
1507
|
</style>
|
|
@@ -1125,31 +1530,31 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1125
1530
|
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
|
|
1126
1531
|
C372.362,303.664,369.538,300.836,364.556,300.836z"/>
|
|
1127
1532
|
</g>
|
|
1128
|
-
</svg>`,
|
|
1533
|
+
</svg>`, q1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1129
1534
|
<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"/>
|
|
1130
1535
|
<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"/>
|
|
1131
1536
|
<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"/>
|
|
1132
1537
|
<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"/>
|
|
1133
1538
|
</svg>
|
|
1134
|
-
`,
|
|
1539
|
+
`, Y1 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1135
1540
|
<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"/>
|
|
1136
1541
|
<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"/>
|
|
1137
1542
|
<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"/>
|
|
1138
1543
|
<path d="M21 20H9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1139
1544
|
<path d="M3 20H6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1140
1545
|
</svg>
|
|
1141
|
-
`,
|
|
1546
|
+
`, X1 = {
|
|
1142
1547
|
name: "Media",
|
|
1143
1548
|
templates: [
|
|
1144
1549
|
{
|
|
1145
1550
|
name: "Image",
|
|
1146
|
-
template: /* @__PURE__ */
|
|
1147
|
-
icon: { source:
|
|
1551
|
+
template: /* @__PURE__ */ n(k, { src: "https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/", is: qe }),
|
|
1552
|
+
icon: { source: q1, height: 32 }
|
|
1148
1553
|
},
|
|
1149
1554
|
{
|
|
1150
1555
|
name: "Video",
|
|
1151
|
-
template: /* @__PURE__ */
|
|
1152
|
-
|
|
1556
|
+
template: /* @__PURE__ */ n(
|
|
1557
|
+
Ze,
|
|
1153
1558
|
{
|
|
1154
1559
|
sx: {
|
|
1155
1560
|
aspectRatio: "16 / 9"
|
|
@@ -1157,21 +1562,21 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1157
1562
|
src: "https://cdn.shopify.com/videos/c/o/v/2cd3deb506b54b009063f7270ab5cf2e.mp4"
|
|
1158
1563
|
}
|
|
1159
1564
|
),
|
|
1160
|
-
icon: { source:
|
|
1565
|
+
icon: { source: Y1, height: 32 }
|
|
1161
1566
|
},
|
|
1162
1567
|
{
|
|
1163
1568
|
name: "Icon",
|
|
1164
|
-
template: /* @__PURE__ */
|
|
1165
|
-
icon: { source:
|
|
1569
|
+
template: /* @__PURE__ */ n(k, { source: ke, is: Ye }),
|
|
1570
|
+
icon: { source: U1, height: 32 }
|
|
1166
1571
|
}
|
|
1167
1572
|
]
|
|
1168
|
-
},
|
|
1573
|
+
}, K1 = `<svg width="24" height="24" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1169
1574
|
<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"/>
|
|
1170
|
-
</svg>`,
|
|
1575
|
+
</svg>`, J1 = `<svg fill="currentColor" width="120" height="120" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
1171
1576
|
<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"/>
|
|
1172
1577
|
<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"/>
|
|
1173
1578
|
<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"/>
|
|
1174
|
-
</svg>`,
|
|
1579
|
+
</svg>`, Q1 = `<svg width="126" height="80" viewBox="0 0 126 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1175
1580
|
<g clip-path="url(#clip0_10250_27631)">
|
|
1176
1581
|
<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>
|
|
1177
1582
|
<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>
|
|
@@ -1189,41 +1594,41 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1189
1594
|
<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>
|
|
1190
1595
|
</clipPath>
|
|
1191
1596
|
</defs>
|
|
1192
|
-
</svg>`,
|
|
1597
|
+
</svg>`, en = `<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1193
1598
|
<rect x="8" y="30" width="32" height="2" fill="currentColor"></rect>
|
|
1194
1599
|
<rect x="8" y="12" width="32" height="8" rx="4" fill="currentColor"></rect>
|
|
1195
1600
|
<rect x="56" y="12" width="32" height="8" rx="4" fill="currentColor"></rect>
|
|
1196
|
-
</svg>`,
|
|
1601
|
+
</svg>`, tn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1197
1602
|
<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"/>
|
|
1198
1603
|
<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"/>
|
|
1199
1604
|
</svg>
|
|
1200
|
-
`,
|
|
1605
|
+
`, nn = {
|
|
1201
1606
|
name: "Interactive",
|
|
1202
1607
|
templates: [
|
|
1203
1608
|
{
|
|
1204
1609
|
name: "Button",
|
|
1205
|
-
template: /* @__PURE__ */
|
|
1206
|
-
|
|
1610
|
+
template: /* @__PURE__ */ n(
|
|
1611
|
+
k,
|
|
1207
1612
|
{
|
|
1208
1613
|
dangerouslySetInnerHTML: {
|
|
1209
1614
|
__html: "Button"
|
|
1210
1615
|
},
|
|
1211
|
-
is:
|
|
1616
|
+
is: Ue
|
|
1212
1617
|
}
|
|
1213
1618
|
),
|
|
1214
|
-
icon: { source:
|
|
1619
|
+
icon: { source: K1, height: 32 }
|
|
1215
1620
|
},
|
|
1216
1621
|
{
|
|
1217
1622
|
name: "Link",
|
|
1218
|
-
template: /* @__PURE__ */
|
|
1219
|
-
icon: { source:
|
|
1623
|
+
template: /* @__PURE__ */ n(k, { is: Xe }),
|
|
1624
|
+
icon: { source: tn, height: 32 }
|
|
1220
1625
|
},
|
|
1221
1626
|
{
|
|
1222
1627
|
name: "Carousel",
|
|
1223
|
-
template: /* @__PURE__ */
|
|
1224
|
-
|
|
1628
|
+
template: /* @__PURE__ */ n(
|
|
1629
|
+
k,
|
|
1225
1630
|
{
|
|
1226
|
-
is:
|
|
1631
|
+
is: xe,
|
|
1227
1632
|
slidesPerView: 2,
|
|
1228
1633
|
spaceBetween: 8,
|
|
1229
1634
|
md: {
|
|
@@ -1232,33 +1637,33 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1232
1637
|
lg: {
|
|
1233
1638
|
slidesPerView: 4
|
|
1234
1639
|
},
|
|
1235
|
-
children:
|
|
1640
|
+
children: F(6).map((e) => /* @__PURE__ */ n(k, { is: r2, canvas: !0 }, e))
|
|
1236
1641
|
}
|
|
1237
1642
|
),
|
|
1238
|
-
icon: { source:
|
|
1643
|
+
icon: { source: J1, height: 32 }
|
|
1239
1644
|
},
|
|
1240
1645
|
{
|
|
1241
1646
|
name: "Marquee",
|
|
1242
|
-
template: /* @__PURE__ */
|
|
1243
|
-
icon: { source:
|
|
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 }
|
|
1244
1649
|
},
|
|
1245
1650
|
{
|
|
1246
1651
|
name: "Tabs",
|
|
1247
|
-
template: /* @__PURE__ */
|
|
1248
|
-
|
|
1652
|
+
template: /* @__PURE__ */ g(
|
|
1653
|
+
k,
|
|
1249
1654
|
{
|
|
1250
|
-
is:
|
|
1655
|
+
is: Ke,
|
|
1251
1656
|
sx: {
|
|
1252
1657
|
width: "100%"
|
|
1253
1658
|
},
|
|
1254
1659
|
children: [
|
|
1255
|
-
/* @__PURE__ */
|
|
1660
|
+
/* @__PURE__ */ n(k, { is: D2, children: F(3).map((e) => {
|
|
1256
1661
|
const t = `Tab ${e + 1}`;
|
|
1257
|
-
return /* @__PURE__ */
|
|
1258
|
-
|
|
1662
|
+
return /* @__PURE__ */ n(
|
|
1663
|
+
k,
|
|
1259
1664
|
{
|
|
1260
1665
|
canvas: !0,
|
|
1261
|
-
is:
|
|
1666
|
+
is: H2,
|
|
1262
1667
|
dangerouslySetInnerHTML: {
|
|
1263
1668
|
__html: t
|
|
1264
1669
|
}
|
|
@@ -1266,28 +1671,28 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1266
1671
|
e
|
|
1267
1672
|
);
|
|
1268
1673
|
}) }),
|
|
1269
|
-
/* @__PURE__ */
|
|
1674
|
+
/* @__PURE__ */ n(k, { is: j2, children: F(3).map((e) => /* @__PURE__ */ n(k, { canvas: !0, is: _2 }, e)) })
|
|
1270
1675
|
]
|
|
1271
1676
|
}
|
|
1272
1677
|
),
|
|
1273
|
-
icon: { source:
|
|
1678
|
+
icon: { source: en, height: 40 }
|
|
1274
1679
|
}
|
|
1275
1680
|
]
|
|
1276
|
-
},
|
|
1681
|
+
}, rn = `<svg fill="currentColor" width="24" height="24" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
|
1277
1682
|
<title>h</title>
|
|
1278
1683
|
<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"/>
|
|
1279
1684
|
</svg>
|
|
1280
|
-
`,
|
|
1685
|
+
`, on = `<svg fill="currentColor" width="24" height="24" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
|
1281
1686
|
<title>p</title>
|
|
1282
1687
|
<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"/>
|
|
1283
1688
|
</svg>
|
|
1284
|
-
`,
|
|
1689
|
+
`, sn = {
|
|
1285
1690
|
name: "Text",
|
|
1286
1691
|
templates: [
|
|
1287
1692
|
{
|
|
1288
1693
|
name: "Heading",
|
|
1289
|
-
template: /* @__PURE__ */
|
|
1290
|
-
|
|
1694
|
+
template: /* @__PURE__ */ n(
|
|
1695
|
+
k,
|
|
1291
1696
|
{
|
|
1292
1697
|
dangerouslySetInnerHTML: {
|
|
1293
1698
|
__html: "Your heading text goes here"
|
|
@@ -1295,41 +1700,41 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1295
1700
|
as: "h2",
|
|
1296
1701
|
sizeVariant: "4xl",
|
|
1297
1702
|
md: { sizeVariant: "5xl" },
|
|
1298
|
-
is:
|
|
1703
|
+
is: ze
|
|
1299
1704
|
}
|
|
1300
1705
|
),
|
|
1301
|
-
icon: { source:
|
|
1706
|
+
icon: { source: rn, height: 32 }
|
|
1302
1707
|
},
|
|
1303
1708
|
{
|
|
1304
1709
|
name: "Paragraph",
|
|
1305
|
-
template: /* @__PURE__ */
|
|
1306
|
-
|
|
1710
|
+
template: /* @__PURE__ */ n(
|
|
1711
|
+
k,
|
|
1307
1712
|
{
|
|
1308
1713
|
dangerouslySetInnerHTML: {
|
|
1309
1714
|
__html: "Replace this text with your content"
|
|
1310
1715
|
},
|
|
1311
|
-
is:
|
|
1716
|
+
is: ae
|
|
1312
1717
|
}
|
|
1313
1718
|
),
|
|
1314
|
-
icon: { source:
|
|
1719
|
+
icon: { source: on, height: 32 }
|
|
1315
1720
|
}
|
|
1316
1721
|
]
|
|
1317
|
-
},
|
|
1722
|
+
}, an = `<svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1318
1723
|
<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"/>
|
|
1319
1724
|
</svg>
|
|
1320
|
-
`,
|
|
1725
|
+
`, cn = {
|
|
1321
1726
|
name: "Utilities",
|
|
1322
1727
|
templates: [
|
|
1323
1728
|
{
|
|
1324
1729
|
name: "Countdown timer",
|
|
1325
|
-
template: /* @__PURE__ */
|
|
1326
|
-
|
|
1730
|
+
template: /* @__PURE__ */ n(
|
|
1731
|
+
k,
|
|
1327
1732
|
{
|
|
1328
|
-
is:
|
|
1733
|
+
is: e2,
|
|
1329
1734
|
omit: {
|
|
1330
1735
|
days: !0
|
|
1331
1736
|
},
|
|
1332
|
-
date:
|
|
1737
|
+
date: Yt().add(1, "week").toDate(),
|
|
1333
1738
|
sx: {
|
|
1334
1739
|
justifyContent: "center",
|
|
1335
1740
|
columnGap: 8,
|
|
@@ -1341,7 +1746,7 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1341
1746
|
},
|
|
1342
1747
|
unitItemProps: {
|
|
1343
1748
|
sx: {
|
|
1344
|
-
backgroundColor:
|
|
1749
|
+
backgroundColor: Be("neutral.100"),
|
|
1345
1750
|
borderTopLeftRadius: 8,
|
|
1346
1751
|
borderTopRightRadius: 8,
|
|
1347
1752
|
borderBottomLeftRadius: 8,
|
|
@@ -1363,7 +1768,7 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1363
1768
|
},
|
|
1364
1769
|
captionProps: {
|
|
1365
1770
|
sx: {
|
|
1366
|
-
color:
|
|
1771
|
+
color: Be("neutral.500")
|
|
1367
1772
|
}
|
|
1368
1773
|
},
|
|
1369
1774
|
units: [
|
|
@@ -1386,60 +1791,60 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1386
1791
|
]
|
|
1387
1792
|
}
|
|
1388
1793
|
),
|
|
1389
|
-
icon: { source:
|
|
1794
|
+
icon: { source: an, height: 48 }
|
|
1390
1795
|
}
|
|
1391
1796
|
]
|
|
1392
|
-
},
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
],
|
|
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 = {
|
|
1401
1806
|
name: "Basics",
|
|
1402
|
-
icon: { source:
|
|
1403
|
-
renderer: () => /* @__PURE__ */
|
|
1404
|
-
},
|
|
1405
|
-
const t = [
|
|
1406
|
-
return /* @__PURE__ */
|
|
1407
|
-
/* @__PURE__ */
|
|
1408
|
-
/* @__PURE__ */
|
|
1409
|
-
|
|
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 }) }) }),
|
|
1813
|
+
/* @__PURE__ */ n(
|
|
1814
|
+
ye,
|
|
1410
1815
|
{
|
|
1411
1816
|
css: {
|
|
1412
1817
|
paddingBlock: 8,
|
|
1413
1818
|
borderTopWidth: 1,
|
|
1414
1819
|
borderTopStyle: "solid",
|
|
1415
|
-
borderColor:
|
|
1820
|
+
borderColor: p.palette.white["1s"],
|
|
1416
1821
|
flex: 1
|
|
1417
1822
|
},
|
|
1418
|
-
children: t.map((o,
|
|
1823
|
+
children: t.map((o, r) => /* @__PURE__ */ n(gn, { group: o }, r))
|
|
1419
1824
|
}
|
|
1420
1825
|
)
|
|
1421
1826
|
] });
|
|
1422
|
-
},
|
|
1423
|
-
const [t, o] =
|
|
1424
|
-
return /* @__PURE__ */
|
|
1425
|
-
/* @__PURE__ */
|
|
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(
|
|
1426
1831
|
"div",
|
|
1427
1832
|
{
|
|
1428
|
-
css: { display: "flex", alignItems: "center", justifyContent: "space-between", flex: 1, ...
|
|
1833
|
+
css: { display: "flex", alignItems: "center", justifyContent: "space-between", flex: 1, ...p.text.sm },
|
|
1429
1834
|
children: [
|
|
1430
1835
|
e.name,
|
|
1431
|
-
/* @__PURE__ */
|
|
1432
|
-
|
|
1836
|
+
/* @__PURE__ */ n(
|
|
1837
|
+
M,
|
|
1433
1838
|
{
|
|
1434
|
-
source:
|
|
1839
|
+
source: h2,
|
|
1435
1840
|
css: [{ transition: "transform" }, !t && { transform: "rotate(180deg)" }]
|
|
1436
1841
|
}
|
|
1437
1842
|
)
|
|
1438
1843
|
]
|
|
1439
1844
|
}
|
|
1440
1845
|
) }),
|
|
1441
|
-
/* @__PURE__ */
|
|
1442
|
-
/* @__PURE__ */
|
|
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: [
|
|
1847
|
+
/* @__PURE__ */ n(
|
|
1443
1848
|
"div",
|
|
1444
1849
|
{
|
|
1445
1850
|
css: {
|
|
@@ -1447,8 +1852,8 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1447
1852
|
display: "flex",
|
|
1448
1853
|
padding: 4,
|
|
1449
1854
|
borderRadius: 8,
|
|
1450
|
-
backgroundColor:
|
|
1451
|
-
color:
|
|
1855
|
+
backgroundColor: p.palette.ink["6s"],
|
|
1856
|
+
color: p.palette.white["5s"],
|
|
1452
1857
|
pointerEvents: "auto",
|
|
1453
1858
|
overflow: "hidden",
|
|
1454
1859
|
flexDirection: "column",
|
|
@@ -1464,47 +1869,47 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1464
1869
|
content: '""',
|
|
1465
1870
|
position: "absolute",
|
|
1466
1871
|
inset: 0,
|
|
1467
|
-
backgroundColor:
|
|
1872
|
+
backgroundColor: p.palette.white["1s"]
|
|
1468
1873
|
}
|
|
1469
1874
|
},
|
|
1470
|
-
ref: (
|
|
1471
|
-
|
|
1472
|
-
onCreate(
|
|
1473
|
-
(typeof s.autoFocus == "function" ? s.autoFocus(
|
|
1875
|
+
ref: (a) => {
|
|
1876
|
+
a && i.create(a, s.template, {
|
|
1877
|
+
onCreate(l) {
|
|
1878
|
+
(typeof s.autoFocus == "function" ? s.autoFocus(l) : s.autoFocus) && r.selectNode(l.rootNodeId), s.onCreate?.(l);
|
|
1474
1879
|
}
|
|
1475
1880
|
});
|
|
1476
1881
|
},
|
|
1477
|
-
children: s.icon && /* @__PURE__ */
|
|
1882
|
+
children: s.icon && /* @__PURE__ */ n(O2, { width: void 0, height: void 0, ...s.icon })
|
|
1478
1883
|
}
|
|
1479
1884
|
),
|
|
1480
|
-
/* @__PURE__ */
|
|
1481
|
-
] },
|
|
1885
|
+
/* @__PURE__ */ n("p", { css: { marginInline: "auto", textAlign: "center", ...z2.xs }, children: s.name })
|
|
1886
|
+
] }, c)) }) })
|
|
1482
1887
|
] });
|
|
1483
|
-
},
|
|
1484
|
-
const [t, o] =
|
|
1888
|
+
}, gn = ({ group: e }) => {
|
|
1889
|
+
const [t, o] = H(!1), { refs: r, floatingStyles: i, context: s } = Wt({
|
|
1485
1890
|
open: t,
|
|
1486
1891
|
onOpenChange: o,
|
|
1487
1892
|
placement: "right-start",
|
|
1488
1893
|
middleware: [
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
apply({ elements:
|
|
1492
|
-
const
|
|
1493
|
-
zIndex: `${
|
|
1494
|
-
height: `${
|
|
1894
|
+
Dt(),
|
|
1895
|
+
Ht({
|
|
1896
|
+
apply({ elements: m }) {
|
|
1897
|
+
const w = {
|
|
1898
|
+
zIndex: `${p2}`,
|
|
1899
|
+
height: `${m.reference.getBoundingClientRect().height}px`
|
|
1495
1900
|
};
|
|
1496
|
-
Object.assign(
|
|
1901
|
+
Object.assign(m.floating.style, w);
|
|
1497
1902
|
}
|
|
1498
1903
|
})
|
|
1499
1904
|
],
|
|
1500
|
-
whileElementsMounted:
|
|
1905
|
+
whileElementsMounted: Pt
|
|
1501
1906
|
});
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
}, [
|
|
1505
|
-
const
|
|
1506
|
-
return /* @__PURE__ */
|
|
1507
|
-
/* @__PURE__ */
|
|
1907
|
+
K(() => {
|
|
1908
|
+
r.setPositionReference(document.querySelector("aside"));
|
|
1909
|
+
}, [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(
|
|
1508
1913
|
"button",
|
|
1509
1914
|
{
|
|
1510
1915
|
css: {
|
|
@@ -1515,18 +1920,18 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1515
1920
|
borderRadius: 8,
|
|
1516
1921
|
textAlign: "left",
|
|
1517
1922
|
width: "100%",
|
|
1518
|
-
color:
|
|
1923
|
+
color: p.palette.white["5s"],
|
|
1519
1924
|
"&:hover": {
|
|
1520
|
-
color:
|
|
1521
|
-
backgroundColor:
|
|
1925
|
+
color: p.palette.white["6s"],
|
|
1926
|
+
backgroundColor: p.palette.white["1s"],
|
|
1522
1927
|
fontWeight: 500
|
|
1523
1928
|
}
|
|
1524
1929
|
},
|
|
1525
1930
|
...d(),
|
|
1526
|
-
ref:
|
|
1931
|
+
ref: r.setReference,
|
|
1527
1932
|
children: [
|
|
1528
|
-
e.icon && /* @__PURE__ */
|
|
1529
|
-
/* @__PURE__ */
|
|
1933
|
+
e.icon && /* @__PURE__ */ n("div", { css: { padding: 6, borderRadius: 8, backgroundColor: p.palette.white["1s"] }, children: /* @__PURE__ */ n(M, { ...e.icon }) }),
|
|
1934
|
+
/* @__PURE__ */ n(
|
|
1530
1935
|
"span",
|
|
1531
1936
|
{
|
|
1532
1937
|
css: {
|
|
@@ -1538,51 +1943,51 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1538
1943
|
children: e.name
|
|
1539
1944
|
}
|
|
1540
1945
|
),
|
|
1541
|
-
/* @__PURE__ */
|
|
1946
|
+
/* @__PURE__ */ n(M, { css: { transform: "rotate(180deg)" }, source: H1 })
|
|
1542
1947
|
]
|
|
1543
1948
|
}
|
|
1544
1949
|
),
|
|
1545
|
-
t && /* @__PURE__ */
|
|
1950
|
+
t && /* @__PURE__ */ n(u2, { children: /* @__PURE__ */ n("div", { style: i, ...h(), ref: r.setFloating, children: /* @__PURE__ */ g(
|
|
1546
1951
|
"div",
|
|
1547
1952
|
{
|
|
1548
1953
|
css: {
|
|
1549
1954
|
display: "flex",
|
|
1550
1955
|
flexDirection: "column",
|
|
1551
1956
|
height: "100%",
|
|
1552
|
-
backgroundColor:
|
|
1553
|
-
color:
|
|
1957
|
+
backgroundColor: p.palette.ink["6s"],
|
|
1958
|
+
color: p.palette.white["6s"],
|
|
1554
1959
|
borderLeftWidth: 1,
|
|
1555
1960
|
borderLeftStyle: "solid",
|
|
1556
1961
|
borderTopWidth: 1,
|
|
1557
1962
|
borderTopStyle: "solid",
|
|
1558
|
-
borderColor:
|
|
1559
|
-
...
|
|
1963
|
+
borderColor: p.palette.white["2s"],
|
|
1964
|
+
...p.text.sm
|
|
1560
1965
|
},
|
|
1561
1966
|
children: [
|
|
1562
|
-
/* @__PURE__ */
|
|
1563
|
-
/* @__PURE__ */
|
|
1967
|
+
/* @__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 })) }) })
|
|
1564
1969
|
]
|
|
1565
1970
|
}
|
|
1566
1971
|
) }) })
|
|
1567
1972
|
] });
|
|
1568
|
-
},
|
|
1569
|
-
const [,
|
|
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) => ({
|
|
1570
1975
|
resolver: d.options.resolver
|
|
1571
|
-
})),
|
|
1976
|
+
})), f = H(() => {
|
|
1572
1977
|
const d = typeof e == "function" ? e() : e;
|
|
1573
|
-
let
|
|
1574
|
-
"rootNodeId" in d ?
|
|
1575
|
-
const { rootNodeId:
|
|
1576
|
-
return Object.entries(
|
|
1577
|
-
const
|
|
1578
|
-
|
|
1579
|
-
...
|
|
1580
|
-
parent:
|
|
1581
|
-
nodes:
|
|
1978
|
+
let h;
|
|
1979
|
+
"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)
|
|
1582
1987
|
};
|
|
1583
|
-
}),
|
|
1988
|
+
}), w;
|
|
1584
1989
|
})[0];
|
|
1585
|
-
return /* @__PURE__ */
|
|
1990
|
+
return /* @__PURE__ */ n(
|
|
1586
1991
|
"div",
|
|
1587
1992
|
{
|
|
1588
1993
|
css: {
|
|
@@ -1591,18 +1996,18 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1591
1996
|
cursor: "grab",
|
|
1592
1997
|
borderStyle: "solid",
|
|
1593
1998
|
borderWidth: 1,
|
|
1594
|
-
borderColor:
|
|
1999
|
+
borderColor: p.palette.white["1s"]
|
|
1595
2000
|
},
|
|
1596
2001
|
ref: (d) => {
|
|
1597
|
-
d &&
|
|
1598
|
-
onCreate(
|
|
1599
|
-
(typeof t == "function" ? t(
|
|
2002
|
+
d && c.create(d, e, {
|
|
2003
|
+
onCreate(h) {
|
|
2004
|
+
(typeof t == "function" ? t(h) : t) && s.selectNode(h.rootNodeId), o?.(h);
|
|
1600
2005
|
}
|
|
1601
2006
|
});
|
|
1602
2007
|
},
|
|
1603
|
-
onDragStart: () =>
|
|
1604
|
-
onDragEnd: () =>
|
|
1605
|
-
children: /* @__PURE__ */
|
|
2008
|
+
onDragStart: () => r(!0),
|
|
2009
|
+
onDragEnd: () => r(!1),
|
|
2010
|
+
children: /* @__PURE__ */ n(
|
|
1606
2011
|
"div",
|
|
1607
2012
|
{
|
|
1608
2013
|
css: {
|
|
@@ -1613,23 +2018,23 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1613
2018
|
width: 240,
|
|
1614
2019
|
aspectRatio: "16 / 9"
|
|
1615
2020
|
},
|
|
1616
|
-
children: /* @__PURE__ */
|
|
1617
|
-
|
|
2021
|
+
children: /* @__PURE__ */ n("div", { css: { position: "absolute", inset: 0 }, children: /* @__PURE__ */ n(
|
|
2022
|
+
b2,
|
|
1618
2023
|
{
|
|
1619
2024
|
containerProps: {
|
|
1620
2025
|
style: {
|
|
1621
2026
|
backgroundColor: i.theme.palette.background.default
|
|
1622
2027
|
}
|
|
1623
2028
|
},
|
|
1624
|
-
viewport: { width:
|
|
1625
|
-
children: /* @__PURE__ */
|
|
2029
|
+
viewport: { width: Gt.md.minWidth },
|
|
2030
|
+
children: /* @__PURE__ */ n(l2, { resolver: a, children: /* @__PURE__ */ n(d2, { data: f }) })
|
|
1626
2031
|
}
|
|
1627
2032
|
) })
|
|
1628
2033
|
}
|
|
1629
2034
|
)
|
|
1630
2035
|
}
|
|
1631
2036
|
);
|
|
1632
|
-
},
|
|
2037
|
+
}, wn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1633
2038
|
<path d="M12.5 2H9.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1634
2039
|
<path d="M2 9.5V12.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1635
2040
|
<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"/>
|
|
@@ -1640,57 +2045,57 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1640
2045
|
<path d="M2 17V18C2 19.105 2.895 20 4 20H5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1641
2046
|
<path d="M20 5V4C20 2.895 19.105 2 18 2H17" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1642
2047
|
</svg>
|
|
1643
|
-
`,
|
|
2048
|
+
`, mn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1644
2049
|
<circle cx="6.49771" cy="5.49762" r="2.50104" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1645
2050
|
<circle cx="6.49771" cy="18.503" r="2.50104" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1646
2051
|
<path d="M6.49771 7.99854V16.0019" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1647
2052
|
<circle cx="17.5023" cy="13.0006" r="2.50104" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1648
2053
|
<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"/>
|
|
1649
2054
|
</svg>
|
|
1650
|
-
`,
|
|
1651
|
-
const { query: t, actions: o } =
|
|
1652
|
-
id:
|
|
2055
|
+
`, kn = (e) => {
|
|
2056
|
+
const { query: t, actions: o } = O(), {
|
|
2057
|
+
id: r,
|
|
1653
2058
|
expanded: i,
|
|
1654
2059
|
actions: s,
|
|
1655
|
-
displayName:
|
|
1656
|
-
children:
|
|
1657
|
-
depth:
|
|
1658
|
-
} =
|
|
1659
|
-
expanded:
|
|
1660
|
-
displayName:
|
|
1661
|
-
})), { selected:
|
|
1662
|
-
const
|
|
2060
|
+
displayName: c,
|
|
2061
|
+
children: a,
|
|
2062
|
+
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();
|
|
1663
2068
|
return {
|
|
1664
|
-
selected:
|
|
1665
|
-
nodeDOM:
|
|
1666
|
-
selectable:
|
|
2069
|
+
selected: w.getEvent("selected").contains(r),
|
|
2070
|
+
nodeDOM: C.dom,
|
|
2071
|
+
selectable: $2(C)
|
|
1667
2072
|
};
|
|
1668
2073
|
});
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
}, [s,
|
|
1672
|
-
if (
|
|
1673
|
-
|
|
1674
|
-
const
|
|
1675
|
-
return
|
|
2074
|
+
K(() => {
|
|
2075
|
+
r === z && s.setExpandedState(!0);
|
|
2076
|
+
}, [s, r]), K(() => {
|
|
2077
|
+
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));
|
|
1676
2081
|
}) && s.setExpandedState(!0);
|
|
1677
|
-
}, [
|
|
1678
|
-
const
|
|
1679
|
-
o.selectNode(
|
|
1680
|
-
},
|
|
1681
|
-
|
|
2082
|
+
}, [a, s, t]);
|
|
2083
|
+
const h = () => {
|
|
2084
|
+
o.selectNode(r);
|
|
2085
|
+
}, u = (m) => {
|
|
2086
|
+
m.stopPropagation(), s.toggleLayer();
|
|
1682
2087
|
};
|
|
1683
|
-
return /* @__PURE__ */
|
|
2088
|
+
return /* @__PURE__ */ g(
|
|
1684
2089
|
"div",
|
|
1685
2090
|
{
|
|
1686
2091
|
css: { paddingBlock: 4 },
|
|
1687
2092
|
children: [
|
|
1688
|
-
/* @__PURE__ */
|
|
2093
|
+
/* @__PURE__ */ g(
|
|
1689
2094
|
"div",
|
|
1690
2095
|
{
|
|
1691
|
-
onClick:
|
|
2096
|
+
onClick: h,
|
|
1692
2097
|
style: {
|
|
1693
|
-
paddingLeft: Math.max(0,
|
|
2098
|
+
paddingLeft: Math.max(0, l - 1) * 16
|
|
1694
2099
|
},
|
|
1695
2100
|
css: [
|
|
1696
2101
|
{
|
|
@@ -1701,28 +2106,28 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1701
2106
|
gap: 2,
|
|
1702
2107
|
borderWidth: 1,
|
|
1703
2108
|
borderStyle: "solid",
|
|
1704
|
-
borderColor:
|
|
2109
|
+
borderColor: p.palette.white["1s"],
|
|
1705
2110
|
cursor: "pointer",
|
|
1706
2111
|
borderRadius: 4,
|
|
1707
|
-
"&:hover": { backgroundColor:
|
|
2112
|
+
"&:hover": { backgroundColor: p.palette.white["1s"] }
|
|
1708
2113
|
},
|
|
1709
2114
|
!d && { pointerEvents: "none" },
|
|
1710
|
-
|
|
1711
|
-
|
|
2115
|
+
f && { backgroundColor: p.palette.black["7s"] },
|
|
2116
|
+
r === z && { display: "none" }
|
|
1712
2117
|
],
|
|
1713
2118
|
children: [
|
|
1714
|
-
|
|
1715
|
-
|
|
2119
|
+
a.length ? /* @__PURE__ */ n(E, { css: { pointerEvents: "auto" }, onClick: u, children: /* @__PURE__ */ n(
|
|
2120
|
+
M,
|
|
1716
2121
|
{
|
|
1717
2122
|
css: [
|
|
1718
2123
|
{ transition: "transform", transform: "rotate(-90deg)" },
|
|
1719
2124
|
i && { transform: "rotate(0deg)" }
|
|
1720
2125
|
],
|
|
1721
2126
|
size: 16,
|
|
1722
|
-
source:
|
|
2127
|
+
source: h2
|
|
1723
2128
|
}
|
|
1724
|
-
) }) : /* @__PURE__ */
|
|
1725
|
-
/* @__PURE__ */
|
|
2129
|
+
) }) : /* @__PURE__ */ n("div", { css: { padding: 4 }, children: /* @__PURE__ */ n(M, { size: 16, source: mn }) }),
|
|
2130
|
+
/* @__PURE__ */ n(
|
|
1726
2131
|
"span",
|
|
1727
2132
|
{
|
|
1728
2133
|
css: [
|
|
@@ -1732,15 +2137,15 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1732
2137
|
whiteSpace: "nowrap",
|
|
1733
2138
|
flex: 1
|
|
1734
2139
|
},
|
|
1735
|
-
!d && { color:
|
|
2140
|
+
!d && { color: p.palette.white["3s"] }
|
|
1736
2141
|
],
|
|
1737
|
-
children:
|
|
2142
|
+
children: c
|
|
1738
2143
|
}
|
|
1739
2144
|
)
|
|
1740
2145
|
]
|
|
1741
2146
|
}
|
|
1742
2147
|
),
|
|
1743
|
-
/* @__PURE__ */
|
|
2148
|
+
/* @__PURE__ */ n(
|
|
1744
2149
|
"div",
|
|
1745
2150
|
{
|
|
1746
2151
|
css: {
|
|
@@ -1754,12 +2159,12 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1754
2159
|
]
|
|
1755
2160
|
}
|
|
1756
2161
|
);
|
|
1757
|
-
},
|
|
1758
|
-
const t =
|
|
1759
|
-
t.start(
|
|
2162
|
+
}, vn = ({ onClose: e }) => {
|
|
2163
|
+
const t = e1(), o = (r) => {
|
|
2164
|
+
t.start(r);
|
|
1760
2165
|
};
|
|
1761
|
-
return /* @__PURE__ */
|
|
1762
|
-
|
|
2166
|
+
return /* @__PURE__ */ n(u2, { children: /* @__PURE__ */ g(
|
|
2167
|
+
Z2.div,
|
|
1763
2168
|
{
|
|
1764
2169
|
drag: !0,
|
|
1765
2170
|
dragControls: t,
|
|
@@ -1770,14 +2175,14 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1770
2175
|
display: "flex",
|
|
1771
2176
|
flexDirection: "column",
|
|
1772
2177
|
borderRadius: 6,
|
|
1773
|
-
backgroundColor:
|
|
2178
|
+
backgroundColor: p.palette.ink["6s"],
|
|
1774
2179
|
borderWidth: 1,
|
|
1775
2180
|
borderStyle: "solid",
|
|
1776
|
-
borderColor:
|
|
2181
|
+
borderColor: p.palette.white["2s"],
|
|
1777
2182
|
color: "white"
|
|
1778
2183
|
},
|
|
1779
2184
|
children: [
|
|
1780
|
-
/* @__PURE__ */
|
|
2185
|
+
/* @__PURE__ */ g(
|
|
1781
2186
|
"div",
|
|
1782
2187
|
{
|
|
1783
2188
|
onPointerDown: o,
|
|
@@ -1790,24 +2195,24 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1790
2195
|
cursor: "grab"
|
|
1791
2196
|
},
|
|
1792
2197
|
children: [
|
|
1793
|
-
/* @__PURE__ */
|
|
1794
|
-
/* @__PURE__ */
|
|
1795
|
-
/* @__PURE__ */
|
|
2198
|
+
/* @__PURE__ */ g("div", { css: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
2199
|
+
/* @__PURE__ */ n(M, { source: wn }),
|
|
2200
|
+
/* @__PURE__ */ n(
|
|
1796
2201
|
"p",
|
|
1797
2202
|
{
|
|
1798
2203
|
css: {
|
|
1799
|
-
...
|
|
2204
|
+
...p.text.sm,
|
|
1800
2205
|
fontWeight: 500
|
|
1801
2206
|
},
|
|
1802
2207
|
children: "Layers"
|
|
1803
2208
|
}
|
|
1804
2209
|
)
|
|
1805
2210
|
] }),
|
|
1806
|
-
/* @__PURE__ */
|
|
2211
|
+
/* @__PURE__ */ n(E, { onClick: e, children: /* @__PURE__ */ n(M, { source: Oe }) })
|
|
1807
2212
|
]
|
|
1808
2213
|
}
|
|
1809
2214
|
),
|
|
1810
|
-
/* @__PURE__ */
|
|
2215
|
+
/* @__PURE__ */ n(
|
|
1811
2216
|
"div",
|
|
1812
2217
|
{
|
|
1813
2218
|
css: {
|
|
@@ -1815,69 +2220,61 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1815
2220
|
overflow: "auto",
|
|
1816
2221
|
borderTopWidth: 1,
|
|
1817
2222
|
borderTopStyle: "solid",
|
|
1818
|
-
borderColor:
|
|
2223
|
+
borderColor: p.palette.white["1s"],
|
|
1819
2224
|
flex: 1
|
|
1820
2225
|
},
|
|
1821
|
-
children: /* @__PURE__ */
|
|
2226
|
+
children: /* @__PURE__ */ n(Xt, { renderLayer: kn })
|
|
1822
2227
|
}
|
|
1823
2228
|
)
|
|
1824
2229
|
]
|
|
1825
2230
|
}
|
|
1826
2231
|
) });
|
|
1827
|
-
},
|
|
2232
|
+
}, xn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1828
2233
|
<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"/>
|
|
1829
2234
|
<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"/>
|
|
1830
2235
|
<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"/>
|
|
1831
2236
|
</svg>
|
|
1832
|
-
`,
|
|
2237
|
+
`, bn = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1833
2238
|
<path d="M5 12H19" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1834
2239
|
<path d="M10 7L5 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1835
2240
|
<path d="M10 17L5 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
1836
2241
|
</svg>
|
|
1837
|
-
`,
|
|
1838
|
-
const [t, o] =
|
|
1839
|
-
|
|
1840
|
-
action: n = "insert"
|
|
1841
|
-
/* Insert */
|
|
1842
|
-
},
|
|
1843
|
-
setQueryParams: i
|
|
1844
|
-
} = i2(), { actions: s, isDeletable: p, focusedNode: c } = Z((a, k) => {
|
|
1845
|
-
const v = k.getEvent("selected").first(), h = v ? k.node(v) : null;
|
|
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;
|
|
1846
2245
|
return {
|
|
1847
|
-
enabled:
|
|
1848
|
-
isDeletable: !!(
|
|
1849
|
-
focusedNode:
|
|
2246
|
+
enabled: h.options.enabled,
|
|
2247
|
+
isDeletable: !!(w?.isDeletable() && (w.get().data.custom?.deletable ?? !0)),
|
|
2248
|
+
focusedNode: w?.get()
|
|
1850
2249
|
};
|
|
1851
|
-
}),
|
|
2250
|
+
}), l = () => {
|
|
1852
2251
|
s.selectNode();
|
|
1853
|
-
},
|
|
1854
|
-
s.delete(
|
|
1855
|
-
}, d = (
|
|
1856
|
-
const
|
|
1857
|
-
|
|
1858
|
-
action: k
|
|
1859
|
-
}));
|
|
2252
|
+
}, f = (h) => {
|
|
2253
|
+
s.delete(h.currentTarget.value);
|
|
2254
|
+
}, d = (h) => {
|
|
2255
|
+
const u = h.currentTarget.value;
|
|
2256
|
+
u === "layers" ? o() : (l(), i({ action: u }));
|
|
1860
2257
|
};
|
|
1861
|
-
return /* @__PURE__ */
|
|
1862
|
-
/* @__PURE__ */
|
|
2258
|
+
return /* @__PURE__ */ g(ce, { children: [
|
|
2259
|
+
/* @__PURE__ */ g(
|
|
1863
2260
|
"aside",
|
|
1864
2261
|
{
|
|
1865
2262
|
css: {
|
|
1866
2263
|
display: "flex",
|
|
1867
2264
|
position: "relative",
|
|
1868
2265
|
alignItems: "stretch",
|
|
1869
|
-
backgroundColor:
|
|
1870
|
-
color:
|
|
2266
|
+
backgroundColor: p.palette.ink["6s"],
|
|
2267
|
+
color: p.palette.white["6s"],
|
|
1871
2268
|
borderTopWidth: 1,
|
|
1872
2269
|
borderTopStyle: "solid",
|
|
1873
|
-
borderColor:
|
|
1874
|
-
...
|
|
2270
|
+
borderColor: p.palette.white["2s"],
|
|
2271
|
+
...p.text.sm
|
|
1875
2272
|
},
|
|
1876
2273
|
children: [
|
|
1877
|
-
/* @__PURE__ */
|
|
1878
|
-
!!e && /* @__PURE__ */
|
|
1879
|
-
/* @__PURE__ */
|
|
1880
|
-
|
|
2274
|
+
/* @__PURE__ */ g("div", { css: { display: "flex", paddingInline: 4, flexDirection: "column", gap: 4 }, children: [
|
|
2275
|
+
!!e && /* @__PURE__ */ g(je, { children: [
|
|
2276
|
+
/* @__PURE__ */ n(
|
|
2277
|
+
E,
|
|
1881
2278
|
{
|
|
1882
2279
|
tooltip: {
|
|
1883
2280
|
content: "Insert",
|
|
@@ -1887,13 +2284,13 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1887
2284
|
value: "insert",
|
|
1888
2285
|
css: { position: "relative" },
|
|
1889
2286
|
size: "32",
|
|
1890
|
-
children: /* @__PURE__ */
|
|
2287
|
+
children: /* @__PURE__ */ n(M, { source: ve })
|
|
1891
2288
|
}
|
|
1892
2289
|
),
|
|
1893
|
-
/* @__PURE__ */
|
|
2290
|
+
/* @__PURE__ */ n("hr", { css: { borderColor: p.palette.white["2s"] } })
|
|
1894
2291
|
] }),
|
|
1895
|
-
/* @__PURE__ */
|
|
1896
|
-
|
|
2292
|
+
/* @__PURE__ */ n(
|
|
2293
|
+
E,
|
|
1897
2294
|
{
|
|
1898
2295
|
tooltip: {
|
|
1899
2296
|
content: "Layers",
|
|
@@ -1903,11 +2300,11 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1903
2300
|
value: "layers",
|
|
1904
2301
|
css: { position: "relative" },
|
|
1905
2302
|
size: "32",
|
|
1906
|
-
children: /* @__PURE__ */
|
|
2303
|
+
children: /* @__PURE__ */ n(M, { source: xn })
|
|
1907
2304
|
}
|
|
1908
2305
|
)
|
|
1909
2306
|
] }),
|
|
1910
|
-
/* @__PURE__ */
|
|
2307
|
+
/* @__PURE__ */ g(
|
|
1911
2308
|
"div",
|
|
1912
2309
|
{
|
|
1913
2310
|
css: {
|
|
@@ -1918,17 +2315,17 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1918
2315
|
width: 288,
|
|
1919
2316
|
borderLeftWidth: 1,
|
|
1920
2317
|
borderLeftStyle: "solid",
|
|
1921
|
-
borderColor:
|
|
2318
|
+
borderColor: p.palette.white["1s"]
|
|
1922
2319
|
},
|
|
1923
2320
|
children: [
|
|
1924
|
-
!
|
|
1925
|
-
!!
|
|
1926
|
-
/* @__PURE__ */
|
|
1927
|
-
/* @__PURE__ */
|
|
1928
|
-
/* @__PURE__ */
|
|
1929
|
-
|
|
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 }) })
|
|
1930
2327
|
] }),
|
|
1931
|
-
/* @__PURE__ */
|
|
2328
|
+
/* @__PURE__ */ n(
|
|
1932
2329
|
"div",
|
|
1933
2330
|
{
|
|
1934
2331
|
css: {
|
|
@@ -1936,9 +2333,9 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1936
2333
|
flex: 1,
|
|
1937
2334
|
borderTopWidth: 1,
|
|
1938
2335
|
borderTopStyle: "solid",
|
|
1939
|
-
borderColor:
|
|
2336
|
+
borderColor: p.palette.white["1s"]
|
|
1940
2337
|
},
|
|
1941
|
-
children: /* @__PURE__ */
|
|
2338
|
+
children: /* @__PURE__ */ n(X2, { fallback: null, children: a2(a.related.inspector) })
|
|
1942
2339
|
}
|
|
1943
2340
|
)
|
|
1944
2341
|
] })
|
|
@@ -1948,30 +2345,37 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1948
2345
|
]
|
|
1949
2346
|
}
|
|
1950
2347
|
),
|
|
1951
|
-
t && /* @__PURE__ */
|
|
2348
|
+
t && /* @__PURE__ */ n(vn, { onClose: o })
|
|
1952
2349
|
] });
|
|
1953
|
-
},
|
|
1954
|
-
const {
|
|
1955
|
-
queryParams: { screen: i }
|
|
1956
|
-
} = i2();
|
|
1957
|
-
return s2({
|
|
2350
|
+
}, dr = ({ theme: e, insert: t, resolver: o, handlers: r, serializedNodes: i, children: s }) => {
|
|
2351
|
+
const { screen: c } = U({
|
|
1958
2352
|
theme: e,
|
|
1959
|
-
handlers:
|
|
1960
|
-
|
|
2353
|
+
handlers: r,
|
|
2354
|
+
mode: "full",
|
|
2355
|
+
screen: "xs"
|
|
2356
|
+
});
|
|
2357
|
+
return /* @__PURE__ */ n(l2, { enabled: !0, onRender: B1, resolver: o, children: /* @__PURE__ */ g(
|
|
1961
2358
|
"div",
|
|
1962
2359
|
{
|
|
1963
|
-
css: {
|
|
2360
|
+
css: {
|
|
2361
|
+
display: "flex",
|
|
2362
|
+
flexDirection: "column",
|
|
2363
|
+
width: "100vw",
|
|
2364
|
+
height: "100vh",
|
|
2365
|
+
backgroundColor: Ce.ink["6s"],
|
|
2366
|
+
color: Ce.white["6s"]
|
|
2367
|
+
},
|
|
1964
2368
|
children: [
|
|
1965
|
-
/* @__PURE__ */
|
|
1966
|
-
/* @__PURE__ */
|
|
1967
|
-
/* @__PURE__ */
|
|
1968
|
-
/* @__PURE__ */
|
|
1969
|
-
|
|
2369
|
+
/* @__PURE__ */ n(P1, {}),
|
|
2370
|
+
/* @__PURE__ */ g("div", { css: { display: "flex", overflow: "hidden", flex: 1 }, children: [
|
|
2371
|
+
/* @__PURE__ */ n(yn, { insert: t }),
|
|
2372
|
+
/* @__PURE__ */ n(
|
|
2373
|
+
b2,
|
|
1970
2374
|
{
|
|
1971
2375
|
viewport: {
|
|
1972
|
-
width: (
|
|
2376
|
+
width: (a) => c === "lg" ? Math.max(a, Ee[c]) : Ee[c]
|
|
1973
2377
|
},
|
|
1974
|
-
children: /* @__PURE__ */
|
|
2378
|
+
children: /* @__PURE__ */ n(d2, { data: i, children: s || /* @__PURE__ */ n(G2, {}) })
|
|
1975
2379
|
}
|
|
1976
2380
|
)
|
|
1977
2381
|
] })
|
|
@@ -1980,8 +2384,100 @@ const E2 = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
|
1980
2384
|
) });
|
|
1981
2385
|
};
|
|
1982
2386
|
export {
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
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,
|
|
2452
|
+
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,
|
|
2466
|
+
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
|
|
1987
2483
|
};
|