@billgangcom/theme-lib 1.3.0 → 1.4.0
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/builder.cjs.js +7 -7
- package/dist/builder.es.js +337 -336
- package/dist/image-Bx3xvWOB.cjs +1 -0
- package/dist/image-CASDWdgb.js +5 -0
- package/dist/index-DUXD-4un.cjs +34 -0
- package/dist/{index-dSkEANl1.js → index-ohEJxZVF.js} +445 -419
- package/dist/shared/ui/Button/index.d.ts +1 -1
- package/dist/shared/ui/Switch/index.d.ts +3 -0
- package/dist/sliders-BOds2ujo.js +5 -0
- package/dist/sliders-CsvSCMlf.cjs +1 -0
- package/dist/ui/ButtonsSettings/index.d.ts +20 -0
- package/dist/ui/ButtonsSettings/popup.d.ts +12 -0
- package/dist/ui/ProductSettings/index.d.ts +18 -0
- package/dist/ui/ProductSettings/popup.d.ts +12 -0
- package/dist/ui/TextSettings/index.d.ts +1 -1
- package/dist/ui/TypeTexts/index.d.ts +7 -0
- package/dist/ui/index.d.ts +3 -0
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +513 -94
- package/package.json +1 -1
- package/dist/index-YVaQxWXR.cjs +0 -34
|
@@ -2,7 +2,7 @@ import T from "react";
|
|
|
2
2
|
function Bt(r) {
|
|
3
3
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
4
4
|
}
|
|
5
|
-
var je = { exports: {} },
|
|
5
|
+
var je = { exports: {} }, te = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,20 +13,20 @@ var je = { exports: {} }, ee = {};
|
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
15
|
var Qe;
|
|
16
|
-
function
|
|
17
|
-
if (Qe) return
|
|
16
|
+
function Nt() {
|
|
17
|
+
if (Qe) return te;
|
|
18
18
|
Qe = 1;
|
|
19
19
|
var r = T, t = Symbol.for("react.element"), s = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
20
|
-
function l(
|
|
21
|
-
var
|
|
20
|
+
function l(d, u, v) {
|
|
21
|
+
var f, y = {}, E = null, x = null;
|
|
22
22
|
v !== void 0 && (E = "" + v), u.key !== void 0 && (E = "" + u.key), u.ref !== void 0 && (x = u.ref);
|
|
23
|
-
for (
|
|
24
|
-
if (
|
|
25
|
-
return { $$typeof: t, type:
|
|
23
|
+
for (f in u) n.call(u, f) && !o.hasOwnProperty(f) && (y[f] = u[f]);
|
|
24
|
+
if (d && d.defaultProps) for (f in u = d.defaultProps, u) y[f] === void 0 && (y[f] = u[f]);
|
|
25
|
+
return { $$typeof: t, type: d, key: E, ref: x, props: y, _owner: i.current };
|
|
26
26
|
}
|
|
27
|
-
return
|
|
27
|
+
return te.Fragment = s, te.jsx = l, te.jsxs = l, te;
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var re = {};
|
|
30
30
|
/**
|
|
31
31
|
* @license React
|
|
32
32
|
* react-jsx-runtime.development.js
|
|
@@ -37,26 +37,26 @@ var te = {};
|
|
|
37
37
|
* LICENSE file in the root directory of this source tree.
|
|
38
38
|
*/
|
|
39
39
|
var et;
|
|
40
|
-
function
|
|
40
|
+
function At() {
|
|
41
41
|
return et || (et = 1, process.env.NODE_ENV !== "production" && function() {
|
|
42
|
-
var r = T, t = Symbol.for("react.element"), s = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"),
|
|
42
|
+
var r = T, t = Symbol.for("react.element"), s = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), R = Symbol.iterator, g = "@@iterator";
|
|
43
43
|
function P(e) {
|
|
44
44
|
if (e === null || typeof e != "object")
|
|
45
45
|
return null;
|
|
46
|
-
var a = R && e[R] || e[
|
|
46
|
+
var a = R && e[R] || e[g];
|
|
47
47
|
return typeof a == "function" ? a : null;
|
|
48
48
|
}
|
|
49
49
|
var w = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
50
50
|
function h(e) {
|
|
51
51
|
{
|
|
52
|
-
for (var a = arguments.length, c = new Array(a > 1 ? a - 1 : 0),
|
|
53
|
-
c[
|
|
52
|
+
for (var a = arguments.length, c = new Array(a > 1 ? a - 1 : 0), m = 1; m < a; m++)
|
|
53
|
+
c[m - 1] = arguments[m];
|
|
54
54
|
I("error", e, c);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
function I(e, a, c) {
|
|
58
58
|
{
|
|
59
|
-
var
|
|
59
|
+
var m = w.ReactDebugCurrentFrame, k = m.getStackAddendum();
|
|
60
60
|
k !== "" && (a += "%s", c = c.concat([k]));
|
|
61
61
|
var S = c.map(function(_) {
|
|
62
62
|
return String(_);
|
|
@@ -64,23 +64,23 @@ function Nt() {
|
|
|
64
64
|
S.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, S);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
|
|
67
|
+
var V = !1, G = !1, X = !1, me = !1, oe = !1, ae;
|
|
68
|
+
ae = Symbol.for("react.module.reference");
|
|
69
69
|
function $(e) {
|
|
70
|
-
return !!(typeof e == "string" || typeof e == "function" || e === n || e === o ||
|
|
70
|
+
return !!(typeof e == "string" || typeof e == "function" || e === n || e === o || oe || e === i || e === v || e === f || me || e === x || V || G || X || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === y || e.$$typeof === l || e.$$typeof === d || e.$$typeof === u || // This needs to include all possible module reference object
|
|
71
71
|
// types supported by any Flight configuration anywhere since
|
|
72
72
|
// we don't know which Flight build this will end up being used
|
|
73
73
|
// with.
|
|
74
|
-
e.$$typeof ===
|
|
74
|
+
e.$$typeof === ae || e.getModuleId !== void 0));
|
|
75
75
|
}
|
|
76
76
|
function D(e, a, c) {
|
|
77
|
-
var
|
|
78
|
-
if (
|
|
79
|
-
return
|
|
77
|
+
var m = e.displayName;
|
|
78
|
+
if (m)
|
|
79
|
+
return m;
|
|
80
80
|
var k = a.displayName || a.name || "";
|
|
81
81
|
return k !== "" ? c + "(" + k + ")" : c;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function ge(e) {
|
|
84
84
|
return e.displayName || "Context";
|
|
85
85
|
}
|
|
86
86
|
function M(e) {
|
|
@@ -101,22 +101,22 @@ function Nt() {
|
|
|
101
101
|
return "StrictMode";
|
|
102
102
|
case v:
|
|
103
103
|
return "Suspense";
|
|
104
|
-
case
|
|
104
|
+
case f:
|
|
105
105
|
return "SuspenseList";
|
|
106
106
|
}
|
|
107
107
|
if (typeof e == "object")
|
|
108
108
|
switch (e.$$typeof) {
|
|
109
|
-
case
|
|
109
|
+
case d:
|
|
110
110
|
var a = e;
|
|
111
|
-
return
|
|
111
|
+
return ge(a) + ".Consumer";
|
|
112
112
|
case l:
|
|
113
113
|
var c = e;
|
|
114
|
-
return
|
|
114
|
+
return ge(c._context) + ".Provider";
|
|
115
115
|
case u:
|
|
116
116
|
return D(e, e.render, "ForwardRef");
|
|
117
117
|
case y:
|
|
118
|
-
var
|
|
119
|
-
return
|
|
118
|
+
var m = e.displayName || null;
|
|
119
|
+
return m !== null ? m : M(e.type) || "Memo";
|
|
120
120
|
case E: {
|
|
121
121
|
var k = e, S = k._payload, _ = k._init;
|
|
122
122
|
try {
|
|
@@ -128,14 +128,14 @@ function Nt() {
|
|
|
128
128
|
}
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
|
-
var
|
|
131
|
+
var W = Object.assign, Z = 0, Te, Ie, Be, Ne, Ae, Fe, $e;
|
|
132
132
|
function De() {
|
|
133
133
|
}
|
|
134
134
|
De.__reactDisabledLog = !0;
|
|
135
135
|
function at() {
|
|
136
136
|
{
|
|
137
|
-
if (
|
|
138
|
-
Te = console.log, Ie = console.info, Be = console.warn,
|
|
137
|
+
if (Z === 0) {
|
|
138
|
+
Te = console.log, Ie = console.info, Be = console.warn, Ne = console.error, Ae = console.group, Fe = console.groupCollapsed, $e = console.groupEnd;
|
|
139
139
|
var e = {
|
|
140
140
|
configurable: !0,
|
|
141
141
|
enumerable: !0,
|
|
@@ -152,77 +152,77 @@ function Nt() {
|
|
|
152
152
|
groupEnd: e
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
Z++;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
function it() {
|
|
159
159
|
{
|
|
160
|
-
if (
|
|
160
|
+
if (Z--, Z === 0) {
|
|
161
161
|
var e = {
|
|
162
162
|
configurable: !0,
|
|
163
163
|
enumerable: !0,
|
|
164
164
|
writable: !0
|
|
165
165
|
};
|
|
166
166
|
Object.defineProperties(console, {
|
|
167
|
-
log:
|
|
167
|
+
log: W({}, e, {
|
|
168
168
|
value: Te
|
|
169
169
|
}),
|
|
170
|
-
info:
|
|
170
|
+
info: W({}, e, {
|
|
171
171
|
value: Ie
|
|
172
172
|
}),
|
|
173
|
-
warn:
|
|
173
|
+
warn: W({}, e, {
|
|
174
174
|
value: Be
|
|
175
175
|
}),
|
|
176
|
-
error:
|
|
177
|
-
value: Ae
|
|
178
|
-
}),
|
|
179
|
-
group: U({}, e, {
|
|
176
|
+
error: W({}, e, {
|
|
180
177
|
value: Ne
|
|
181
178
|
}),
|
|
182
|
-
|
|
179
|
+
group: W({}, e, {
|
|
180
|
+
value: Ae
|
|
181
|
+
}),
|
|
182
|
+
groupCollapsed: W({}, e, {
|
|
183
183
|
value: Fe
|
|
184
184
|
}),
|
|
185
|
-
groupEnd:
|
|
185
|
+
groupEnd: W({}, e, {
|
|
186
186
|
value: $e
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
|
-
|
|
190
|
+
Z < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
var
|
|
194
|
-
function
|
|
193
|
+
var he = w.ReactCurrentDispatcher, be;
|
|
194
|
+
function ie(e, a, c) {
|
|
195
195
|
{
|
|
196
|
-
if (
|
|
196
|
+
if (be === void 0)
|
|
197
197
|
try {
|
|
198
198
|
throw Error();
|
|
199
199
|
} catch (k) {
|
|
200
|
-
var
|
|
201
|
-
|
|
200
|
+
var m = k.stack.trim().match(/\n( *(at )?)/);
|
|
201
|
+
be = m && m[1] || "";
|
|
202
202
|
}
|
|
203
203
|
return `
|
|
204
|
-
` +
|
|
204
|
+
` + be + e;
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
var
|
|
207
|
+
var _e = !1, ce;
|
|
208
208
|
{
|
|
209
209
|
var ct = typeof WeakMap == "function" ? WeakMap : Map;
|
|
210
|
-
|
|
210
|
+
ce = new ct();
|
|
211
211
|
}
|
|
212
212
|
function Me(e, a) {
|
|
213
|
-
if (!e ||
|
|
213
|
+
if (!e || _e)
|
|
214
214
|
return "";
|
|
215
215
|
{
|
|
216
|
-
var c =
|
|
216
|
+
var c = ce.get(e);
|
|
217
217
|
if (c !== void 0)
|
|
218
218
|
return c;
|
|
219
219
|
}
|
|
220
|
-
var
|
|
221
|
-
|
|
220
|
+
var m;
|
|
221
|
+
_e = !0;
|
|
222
222
|
var k = Error.prepareStackTrace;
|
|
223
223
|
Error.prepareStackTrace = void 0;
|
|
224
224
|
var S;
|
|
225
|
-
S =
|
|
225
|
+
S = he.current, he.current = null, at();
|
|
226
226
|
try {
|
|
227
227
|
if (a) {
|
|
228
228
|
var _ = function() {
|
|
@@ -235,30 +235,30 @@ function Nt() {
|
|
|
235
235
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
236
236
|
try {
|
|
237
237
|
Reflect.construct(_, []);
|
|
238
|
-
} catch (
|
|
239
|
-
|
|
238
|
+
} catch (N) {
|
|
239
|
+
m = N;
|
|
240
240
|
}
|
|
241
241
|
Reflect.construct(e, [], _);
|
|
242
242
|
} else {
|
|
243
243
|
try {
|
|
244
244
|
_.call();
|
|
245
|
-
} catch (
|
|
246
|
-
|
|
245
|
+
} catch (N) {
|
|
246
|
+
m = N;
|
|
247
247
|
}
|
|
248
248
|
e.call(_.prototype);
|
|
249
249
|
}
|
|
250
250
|
} else {
|
|
251
251
|
try {
|
|
252
252
|
throw Error();
|
|
253
|
-
} catch (
|
|
254
|
-
|
|
253
|
+
} catch (N) {
|
|
254
|
+
m = N;
|
|
255
255
|
}
|
|
256
256
|
e();
|
|
257
257
|
}
|
|
258
|
-
} catch (
|
|
259
|
-
if (
|
|
260
|
-
for (var b =
|
|
261
|
-
`), B =
|
|
258
|
+
} catch (N) {
|
|
259
|
+
if (N && m && typeof N.stack == "string") {
|
|
260
|
+
for (var b = N.stack.split(`
|
|
261
|
+
`), B = m.stack.split(`
|
|
262
262
|
`), C = b.length - 1, j = B.length - 1; C >= 1 && j >= 0 && b[C] !== B[j]; )
|
|
263
263
|
j--;
|
|
264
264
|
for (; C >= 1 && j >= 0; C--, j--)
|
|
@@ -266,19 +266,19 @@ function Nt() {
|
|
|
266
266
|
if (C !== 1 || j !== 1)
|
|
267
267
|
do
|
|
268
268
|
if (C--, j--, j < 0 || b[C] !== B[j]) {
|
|
269
|
-
var
|
|
269
|
+
var A = `
|
|
270
270
|
` + b[C].replace(" at new ", " at ");
|
|
271
|
-
return e.displayName &&
|
|
271
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && ce.set(e, A), A;
|
|
272
272
|
}
|
|
273
273
|
while (C >= 1 && j >= 0);
|
|
274
274
|
break;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
} finally {
|
|
278
|
-
|
|
278
|
+
_e = !1, he.current = S, it(), Error.prepareStackTrace = k;
|
|
279
279
|
}
|
|
280
|
-
var
|
|
281
|
-
return typeof e == "function" &&
|
|
280
|
+
var J = e ? e.displayName || e.name : "", z = J ? ie(J) : "";
|
|
281
|
+
return typeof e == "function" && ce.set(e, z), z;
|
|
282
282
|
}
|
|
283
283
|
function lt(e, a, c) {
|
|
284
284
|
return Me(e, !1);
|
|
@@ -287,64 +287,64 @@ function Nt() {
|
|
|
287
287
|
var a = e.prototype;
|
|
288
288
|
return !!(a && a.isReactComponent);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function le(e, a, c) {
|
|
291
291
|
if (e == null)
|
|
292
292
|
return "";
|
|
293
293
|
if (typeof e == "function")
|
|
294
294
|
return Me(e, ut(e));
|
|
295
295
|
if (typeof e == "string")
|
|
296
|
-
return
|
|
296
|
+
return ie(e);
|
|
297
297
|
switch (e) {
|
|
298
298
|
case v:
|
|
299
|
-
return
|
|
300
|
-
case
|
|
301
|
-
return
|
|
299
|
+
return ie("Suspense");
|
|
300
|
+
case f:
|
|
301
|
+
return ie("SuspenseList");
|
|
302
302
|
}
|
|
303
303
|
if (typeof e == "object")
|
|
304
304
|
switch (e.$$typeof) {
|
|
305
305
|
case u:
|
|
306
306
|
return lt(e.render);
|
|
307
307
|
case y:
|
|
308
|
-
return
|
|
308
|
+
return le(e.type, a, c);
|
|
309
309
|
case E: {
|
|
310
|
-
var
|
|
310
|
+
var m = e, k = m._payload, S = m._init;
|
|
311
311
|
try {
|
|
312
|
-
return
|
|
312
|
+
return le(S(k), a, c);
|
|
313
313
|
} catch {
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
return "";
|
|
318
318
|
}
|
|
319
|
-
var
|
|
320
|
-
function
|
|
319
|
+
var Q = Object.prototype.hasOwnProperty, qe = {}, Le = w.ReactDebugCurrentFrame;
|
|
320
|
+
function ue(e) {
|
|
321
321
|
if (e) {
|
|
322
|
-
var a = e._owner, c =
|
|
322
|
+
var a = e._owner, c = le(e.type, e._source, a ? a.type : null);
|
|
323
323
|
Le.setExtraStackFrame(c);
|
|
324
324
|
} else
|
|
325
325
|
Le.setExtraStackFrame(null);
|
|
326
326
|
}
|
|
327
|
-
function dt(e, a, c,
|
|
327
|
+
function dt(e, a, c, m, k) {
|
|
328
328
|
{
|
|
329
|
-
var S = Function.call.bind(
|
|
329
|
+
var S = Function.call.bind(Q);
|
|
330
330
|
for (var _ in e)
|
|
331
331
|
if (S(e, _)) {
|
|
332
332
|
var b = void 0;
|
|
333
333
|
try {
|
|
334
334
|
if (typeof e[_] != "function") {
|
|
335
|
-
var B = Error((
|
|
335
|
+
var B = Error((m || "React class") + ": " + c + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
336
336
|
throw B.name = "Invariant Violation", B;
|
|
337
337
|
}
|
|
338
|
-
b = e[_](a, _,
|
|
338
|
+
b = e[_](a, _, m, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
339
339
|
} catch (C) {
|
|
340
340
|
b = C;
|
|
341
341
|
}
|
|
342
|
-
b && !(b instanceof Error) && (
|
|
342
|
+
b && !(b instanceof Error) && (ue(k), h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", c, _, typeof b), ue(null)), b instanceof Error && !(b.message in qe) && (qe[b.message] = !0, ue(k), h("Failed %s type: %s", c, b.message), ue(null));
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
var ft = Array.isArray;
|
|
347
|
-
function
|
|
347
|
+
function ye(e) {
|
|
348
348
|
return ft(e);
|
|
349
349
|
}
|
|
350
350
|
function pt(e) {
|
|
@@ -367,15 +367,15 @@ function Nt() {
|
|
|
367
367
|
if (vt(e))
|
|
368
368
|
return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Ve(e);
|
|
369
369
|
}
|
|
370
|
-
var
|
|
370
|
+
var ee = w.ReactCurrentOwner, mt = {
|
|
371
371
|
key: !0,
|
|
372
372
|
ref: !0,
|
|
373
373
|
__self: !0,
|
|
374
374
|
__source: !0
|
|
375
|
-
}, We, ze,
|
|
376
|
-
|
|
375
|
+
}, We, ze, we;
|
|
376
|
+
we = {};
|
|
377
377
|
function gt(e) {
|
|
378
|
-
if (
|
|
378
|
+
if (Q.call(e, "ref")) {
|
|
379
379
|
var a = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
380
380
|
if (a && a.isReactWarning)
|
|
381
381
|
return !1;
|
|
@@ -383,7 +383,7 @@ function Nt() {
|
|
|
383
383
|
return e.ref !== void 0;
|
|
384
384
|
}
|
|
385
385
|
function ht(e) {
|
|
386
|
-
if (
|
|
386
|
+
if (Q.call(e, "key")) {
|
|
387
387
|
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
388
388
|
if (a && a.isReactWarning)
|
|
389
389
|
return !1;
|
|
@@ -391,9 +391,9 @@ function Nt() {
|
|
|
391
391
|
return e.key !== void 0;
|
|
392
392
|
}
|
|
393
393
|
function bt(e, a) {
|
|
394
|
-
if (typeof e.ref == "string" &&
|
|
395
|
-
var c = M(
|
|
396
|
-
|
|
394
|
+
if (typeof e.ref == "string" && ee.current && a && ee.current.stateNode !== a) {
|
|
395
|
+
var c = M(ee.current.type);
|
|
396
|
+
we[c] || (h('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', M(ee.current.type), e.ref), we[c] = !0);
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
function _t(e, a) {
|
|
@@ -418,7 +418,7 @@ function Nt() {
|
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
var wt = function(e, a, c,
|
|
421
|
+
var wt = function(e, a, c, m, k, S, _) {
|
|
422
422
|
var b = {
|
|
423
423
|
// This tag allows us to uniquely identify this as a React Element
|
|
424
424
|
$$typeof: t,
|
|
@@ -439,7 +439,7 @@ function Nt() {
|
|
|
439
439
|
configurable: !1,
|
|
440
440
|
enumerable: !1,
|
|
441
441
|
writable: !1,
|
|
442
|
-
value:
|
|
442
|
+
value: m
|
|
443
443
|
}), Object.defineProperty(b, "_source", {
|
|
444
444
|
configurable: !1,
|
|
445
445
|
enumerable: !1,
|
|
@@ -447,12 +447,12 @@ function Nt() {
|
|
|
447
447
|
value: k
|
|
448
448
|
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
449
449
|
};
|
|
450
|
-
function kt(e, a, c,
|
|
450
|
+
function kt(e, a, c, m, k) {
|
|
451
451
|
{
|
|
452
452
|
var S, _ = {}, b = null, B = null;
|
|
453
453
|
c !== void 0 && (Ue(c), b = "" + c), ht(a) && (Ue(a.key), b = "" + a.key), gt(a) && (B = a.ref, bt(a, k));
|
|
454
454
|
for (S in a)
|
|
455
|
-
|
|
455
|
+
Q.call(a, S) && !mt.hasOwnProperty(S) && (_[S] = a[S]);
|
|
456
456
|
if (e && e.defaultProps) {
|
|
457
457
|
var C = e.defaultProps;
|
|
458
458
|
for (S in C)
|
|
@@ -462,26 +462,26 @@ function Nt() {
|
|
|
462
462
|
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
463
463
|
b && _t(_, j), B && yt(_, j);
|
|
464
464
|
}
|
|
465
|
-
return wt(e, b, B, k,
|
|
465
|
+
return wt(e, b, B, k, m, ee.current, _);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
var
|
|
469
|
-
function
|
|
468
|
+
var ke = w.ReactCurrentOwner, Ye = w.ReactDebugCurrentFrame;
|
|
469
|
+
function H(e) {
|
|
470
470
|
if (e) {
|
|
471
|
-
var a = e._owner, c =
|
|
471
|
+
var a = e._owner, c = le(e.type, e._source, a ? a.type : null);
|
|
472
472
|
Ye.setExtraStackFrame(c);
|
|
473
473
|
} else
|
|
474
474
|
Ye.setExtraStackFrame(null);
|
|
475
475
|
}
|
|
476
|
-
var
|
|
477
|
-
|
|
478
|
-
function
|
|
476
|
+
var Se;
|
|
477
|
+
Se = !1;
|
|
478
|
+
function xe(e) {
|
|
479
479
|
return typeof e == "object" && e !== null && e.$$typeof === t;
|
|
480
480
|
}
|
|
481
481
|
function He() {
|
|
482
482
|
{
|
|
483
|
-
if (
|
|
484
|
-
var e = M(
|
|
483
|
+
if (ke.current) {
|
|
484
|
+
var e = M(ke.current.type);
|
|
485
485
|
if (e)
|
|
486
486
|
return `
|
|
487
487
|
|
|
@@ -515,26 +515,26 @@ Check the top-level render call using <` + c + ">.");
|
|
|
515
515
|
if (Je[c])
|
|
516
516
|
return;
|
|
517
517
|
Je[c] = !0;
|
|
518
|
-
var
|
|
519
|
-
e && e._owner && e._owner !==
|
|
518
|
+
var m = "";
|
|
519
|
+
e && e._owner && e._owner !== ke.current && (m = " It was passed a child from " + M(e._owner.type) + "."), H(e), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, m), H(null);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
function Ge(e, a) {
|
|
523
523
|
{
|
|
524
524
|
if (typeof e != "object")
|
|
525
525
|
return;
|
|
526
|
-
if (
|
|
526
|
+
if (ye(e))
|
|
527
527
|
for (var c = 0; c < e.length; c++) {
|
|
528
|
-
var
|
|
529
|
-
|
|
528
|
+
var m = e[c];
|
|
529
|
+
xe(m) && Ke(m, a);
|
|
530
530
|
}
|
|
531
|
-
else if (
|
|
531
|
+
else if (xe(e))
|
|
532
532
|
e._store && (e._store.validated = !0);
|
|
533
533
|
else if (e) {
|
|
534
534
|
var k = P(e);
|
|
535
535
|
if (typeof k == "function" && k !== e.entries)
|
|
536
536
|
for (var S = k.call(e), _; !(_ = S.next()).done; )
|
|
537
|
-
|
|
537
|
+
xe(_.value) && Ke(_.value, a);
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
}
|
|
@@ -553,10 +553,10 @@ Check the top-level render call using <` + c + ">.");
|
|
|
553
553
|
else
|
|
554
554
|
return;
|
|
555
555
|
if (c) {
|
|
556
|
-
var
|
|
557
|
-
dt(c, e.props, "prop",
|
|
558
|
-
} else if (a.PropTypes !== void 0 && !
|
|
559
|
-
|
|
556
|
+
var m = M(a);
|
|
557
|
+
dt(c, e.props, "prop", m, e);
|
|
558
|
+
} else if (a.PropTypes !== void 0 && !Se) {
|
|
559
|
+
Se = !0;
|
|
560
560
|
var k = M(a);
|
|
561
561
|
h("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
562
562
|
}
|
|
@@ -566,17 +566,17 @@ Check the top-level render call using <` + c + ">.");
|
|
|
566
566
|
function Rt(e) {
|
|
567
567
|
{
|
|
568
568
|
for (var a = Object.keys(e.props), c = 0; c < a.length; c++) {
|
|
569
|
-
var
|
|
570
|
-
if (
|
|
571
|
-
|
|
569
|
+
var m = a[c];
|
|
570
|
+
if (m !== "children" && m !== "key") {
|
|
571
|
+
H(e), h("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), H(null);
|
|
572
572
|
break;
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
e.ref !== null && (
|
|
575
|
+
e.ref !== null && (H(e), h("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
var Xe = {};
|
|
579
|
-
function Ze(e, a, c,
|
|
579
|
+
function Ze(e, a, c, m, k, S) {
|
|
580
580
|
{
|
|
581
581
|
var _ = $(e);
|
|
582
582
|
if (!_) {
|
|
@@ -585,36 +585,36 @@ Check the top-level render call using <` + c + ">.");
|
|
|
585
585
|
var B = St();
|
|
586
586
|
B ? b += B : b += He();
|
|
587
587
|
var C;
|
|
588
|
-
e === null ? C = "null" :
|
|
588
|
+
e === null ? C = "null" : ye(e) ? C = "array" : e !== void 0 && e.$$typeof === t ? (C = "<" + (M(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : C = typeof e, h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C, b);
|
|
589
589
|
}
|
|
590
590
|
var j = kt(e, a, c, k, S);
|
|
591
591
|
if (j == null)
|
|
592
592
|
return j;
|
|
593
593
|
if (_) {
|
|
594
|
-
var
|
|
595
|
-
if (
|
|
596
|
-
if (
|
|
597
|
-
if (
|
|
598
|
-
for (var
|
|
599
|
-
Ge(
|
|
600
|
-
Object.freeze && Object.freeze(
|
|
594
|
+
var A = a.children;
|
|
595
|
+
if (A !== void 0)
|
|
596
|
+
if (m)
|
|
597
|
+
if (ye(A)) {
|
|
598
|
+
for (var J = 0; J < A.length; J++)
|
|
599
|
+
Ge(A[J], e);
|
|
600
|
+
Object.freeze && Object.freeze(A);
|
|
601
601
|
} else
|
|
602
602
|
h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
603
603
|
else
|
|
604
|
-
Ge(
|
|
604
|
+
Ge(A, e);
|
|
605
605
|
}
|
|
606
|
-
if (
|
|
607
|
-
var
|
|
606
|
+
if (Q.call(a, "key")) {
|
|
607
|
+
var z = M(e), N = Object.keys(a).filter(function(It) {
|
|
608
608
|
return It !== "key";
|
|
609
|
-
}),
|
|
610
|
-
if (!Xe[
|
|
611
|
-
var Tt =
|
|
609
|
+
}), Ee = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
610
|
+
if (!Xe[z + Ee]) {
|
|
611
|
+
var Tt = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
|
|
612
612
|
h(`A props object containing a "key" prop is being spread into JSX:
|
|
613
613
|
let props = %s;
|
|
614
614
|
<%s {...props} />
|
|
615
615
|
React keys must be passed directly to JSX without using spread:
|
|
616
616
|
let props = %s;
|
|
617
|
-
<%s key={someKey} {...props} />`,
|
|
617
|
+
<%s key={someKey} {...props} />`, Ee, z, Tt, z), Xe[z + Ee] = !0;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
620
|
return e === n ? Rt(j) : Et(j), j;
|
|
@@ -627,21 +627,21 @@ React keys must be passed directly to JSX without using spread:
|
|
|
627
627
|
return Ze(e, a, c, !1);
|
|
628
628
|
}
|
|
629
629
|
var Pt = jt, Ot = Ct;
|
|
630
|
-
|
|
631
|
-
}()),
|
|
630
|
+
re.Fragment = n, re.jsx = Pt, re.jsxs = Ot;
|
|
631
|
+
}()), re;
|
|
632
632
|
}
|
|
633
|
-
process.env.NODE_ENV === "production" ? je.exports =
|
|
634
|
-
var
|
|
633
|
+
process.env.NODE_ENV === "production" ? je.exports = Nt() : je.exports = At();
|
|
634
|
+
var p = je.exports;
|
|
635
635
|
const tt = (r) => {
|
|
636
636
|
let t;
|
|
637
|
-
const s = /* @__PURE__ */ new Set(), n = (v,
|
|
637
|
+
const s = /* @__PURE__ */ new Set(), n = (v, f) => {
|
|
638
638
|
const y = typeof v == "function" ? v(t) : v;
|
|
639
639
|
if (!Object.is(y, t)) {
|
|
640
640
|
const E = t;
|
|
641
|
-
t =
|
|
641
|
+
t = f ?? (typeof y != "object" || y === null) ? y : Object.assign({}, t, y), s.forEach((x) => x(t, E));
|
|
642
642
|
}
|
|
643
|
-
}, i = () => t,
|
|
644
|
-
return
|
|
643
|
+
}, i = () => t, d = { setState: n, getState: i, getInitialState: () => u, subscribe: (v) => (s.add(v), () => s.delete(v)) }, u = t = r(n, i, d);
|
|
644
|
+
return d;
|
|
645
645
|
}, Ft = (r) => r ? tt(r) : tt, $t = (r) => r;
|
|
646
646
|
function Dt(r, t = $t) {
|
|
647
647
|
const s = T.useSyncExternalStore(
|
|
@@ -654,14 +654,14 @@ function Dt(r, t = $t) {
|
|
|
654
654
|
const rt = (r) => {
|
|
655
655
|
const t = Ft(r), s = (n) => Dt(t, n);
|
|
656
656
|
return Object.assign(s, t), s;
|
|
657
|
-
}, F = (r) => r ? rt(r) : rt,
|
|
657
|
+
}, F = (r) => r ? rt(r) : rt, ss = F((r) => ({
|
|
658
658
|
blocks: {},
|
|
659
659
|
setBlocks: (t) => r(() => ({ blocks: t })),
|
|
660
660
|
activeBlock: null,
|
|
661
661
|
setActiveBlock: (t) => r(() => ({ activeBlock: t })),
|
|
662
662
|
sourceBlocks: {},
|
|
663
663
|
setSourceBlocks: (t) => r(() => ({ sourceBlocks: t }))
|
|
664
|
-
})),
|
|
664
|
+
})), ns = F((r) => ({
|
|
665
665
|
currentDevice: "desktop",
|
|
666
666
|
setCurrentDevice: (t) => r(() => ({ currentDevice: t }))
|
|
667
667
|
}));
|
|
@@ -686,7 +686,7 @@ const Mt = [
|
|
|
686
686
|
icon: "settings",
|
|
687
687
|
name: "Settings"
|
|
688
688
|
}
|
|
689
|
-
],
|
|
689
|
+
], os = Array.from({ length: 122 / 2 + 1 }, (r, t) => String(6 + t * 2)), as = [
|
|
690
690
|
"100",
|
|
691
691
|
"200",
|
|
692
692
|
"300",
|
|
@@ -696,7 +696,7 @@ const Mt = [
|
|
|
696
696
|
"700",
|
|
697
697
|
"800",
|
|
698
698
|
"900"
|
|
699
|
-
],
|
|
699
|
+
], is = [
|
|
700
700
|
"home",
|
|
701
701
|
"reviews",
|
|
702
702
|
"faqs",
|
|
@@ -775,7 +775,7 @@ const Mt = [
|
|
|
775
775
|
},
|
|
776
776
|
visibility: "public"
|
|
777
777
|
}
|
|
778
|
-
},
|
|
778
|
+
}, cs = F((r) => ({
|
|
779
779
|
activeBlock: Mt[0],
|
|
780
780
|
setActiveBlock: (t) => r(() => ({ activeBlock: t }))
|
|
781
781
|
}));
|
|
@@ -789,8 +789,8 @@ function Lt(r, t) {
|
|
|
789
789
|
return {
|
|
790
790
|
getItem: (i) => {
|
|
791
791
|
var o;
|
|
792
|
-
const l = (u) => u === null ? null : JSON.parse(u, void 0),
|
|
793
|
-
return
|
|
792
|
+
const l = (u) => u === null ? null : JSON.parse(u, void 0), d = (o = s.getItem(i)) != null ? o : null;
|
|
793
|
+
return d instanceof Promise ? d.then(l) : l(d);
|
|
794
794
|
},
|
|
795
795
|
setItem: (i, o) => s.setItem(
|
|
796
796
|
i,
|
|
@@ -823,39 +823,39 @@ const Pe = (r) => (t) => {
|
|
|
823
823
|
}, Vt = (r, t) => (s, n, i) => {
|
|
824
824
|
let o = {
|
|
825
825
|
storage: Lt(() => localStorage),
|
|
826
|
-
partialize: (
|
|
826
|
+
partialize: (g) => g,
|
|
827
827
|
version: 0,
|
|
828
|
-
merge: (
|
|
828
|
+
merge: (g, P) => ({
|
|
829
829
|
...P,
|
|
830
|
-
...
|
|
830
|
+
...g
|
|
831
831
|
}),
|
|
832
832
|
...t
|
|
833
833
|
}, l = !1;
|
|
834
|
-
const
|
|
834
|
+
const d = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Set();
|
|
835
835
|
let v = o.storage;
|
|
836
836
|
if (!v)
|
|
837
837
|
return r(
|
|
838
|
-
(...
|
|
838
|
+
(...g) => {
|
|
839
839
|
console.warn(
|
|
840
840
|
`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`
|
|
841
|
-
), s(...
|
|
841
|
+
), s(...g);
|
|
842
842
|
},
|
|
843
843
|
n,
|
|
844
844
|
i
|
|
845
845
|
);
|
|
846
|
-
const
|
|
847
|
-
const
|
|
846
|
+
const f = () => {
|
|
847
|
+
const g = o.partialize({ ...n() });
|
|
848
848
|
return v.setItem(o.name, {
|
|
849
|
-
state:
|
|
849
|
+
state: g,
|
|
850
850
|
version: o.version
|
|
851
851
|
});
|
|
852
852
|
}, y = i.setState;
|
|
853
|
-
i.setState = (
|
|
854
|
-
y(
|
|
853
|
+
i.setState = (g, P) => {
|
|
854
|
+
y(g, P), f();
|
|
855
855
|
};
|
|
856
856
|
const E = r(
|
|
857
|
-
(...
|
|
858
|
-
s(...
|
|
857
|
+
(...g) => {
|
|
858
|
+
s(...g), f();
|
|
859
859
|
},
|
|
860
860
|
n,
|
|
861
861
|
i
|
|
@@ -863,13 +863,13 @@ const Pe = (r) => (t) => {
|
|
|
863
863
|
i.getInitialState = () => E;
|
|
864
864
|
let x;
|
|
865
865
|
const R = () => {
|
|
866
|
-
var
|
|
866
|
+
var g, P;
|
|
867
867
|
if (!v) return;
|
|
868
|
-
l = !1,
|
|
868
|
+
l = !1, d.forEach((h) => {
|
|
869
869
|
var I;
|
|
870
870
|
return h((I = n()) != null ? I : E);
|
|
871
871
|
});
|
|
872
|
-
const w = ((P = o.onRehydrateStorage) == null ? void 0 : P.call(o, (
|
|
872
|
+
const w = ((P = o.onRehydrateStorage) == null ? void 0 : P.call(o, (g = n()) != null ? g : E)) || void 0;
|
|
873
873
|
return Pe(v.getItem.bind(v))(o.name).then((h) => {
|
|
874
874
|
if (h)
|
|
875
875
|
if (typeof h.version == "number" && h.version !== o.version) {
|
|
@@ -889,12 +889,12 @@ const Pe = (r) => (t) => {
|
|
|
889
889
|
return [!1, void 0];
|
|
890
890
|
}).then((h) => {
|
|
891
891
|
var I;
|
|
892
|
-
const [
|
|
892
|
+
const [V, G] = h;
|
|
893
893
|
if (x = o.merge(
|
|
894
|
-
|
|
894
|
+
G,
|
|
895
895
|
(I = n()) != null ? I : E
|
|
896
|
-
), s(x, !0),
|
|
897
|
-
return
|
|
896
|
+
), s(x, !0), V)
|
|
897
|
+
return f();
|
|
898
898
|
}).then(() => {
|
|
899
899
|
w == null || w(x, void 0), x = n(), l = !0, u.forEach((h) => h(x));
|
|
900
900
|
}).catch((h) => {
|
|
@@ -902,11 +902,11 @@ const Pe = (r) => (t) => {
|
|
|
902
902
|
});
|
|
903
903
|
};
|
|
904
904
|
return i.persist = {
|
|
905
|
-
setOptions: (
|
|
905
|
+
setOptions: (g) => {
|
|
906
906
|
o = {
|
|
907
907
|
...o,
|
|
908
|
-
...
|
|
909
|
-
},
|
|
908
|
+
...g
|
|
909
|
+
}, g.storage && (v = g.storage);
|
|
910
910
|
},
|
|
911
911
|
clearStorage: () => {
|
|
912
912
|
v == null || v.removeItem(o.name);
|
|
@@ -914,15 +914,15 @@ const Pe = (r) => (t) => {
|
|
|
914
914
|
getOptions: () => o,
|
|
915
915
|
rehydrate: () => R(),
|
|
916
916
|
hasHydrated: () => l,
|
|
917
|
-
onHydrate: (
|
|
918
|
-
|
|
917
|
+
onHydrate: (g) => (d.add(g), () => {
|
|
918
|
+
d.delete(g);
|
|
919
919
|
}),
|
|
920
|
-
onFinishHydration: (
|
|
921
|
-
u.delete(
|
|
920
|
+
onFinishHydration: (g) => (u.add(g), () => {
|
|
921
|
+
u.delete(g);
|
|
922
922
|
})
|
|
923
923
|
}, o.skipHydration || R(), x || E;
|
|
924
|
-
},
|
|
925
|
-
|
|
924
|
+
}, ve = Vt, ls = F(
|
|
925
|
+
ve(
|
|
926
926
|
(r) => ({
|
|
927
927
|
onPreview: !1,
|
|
928
928
|
setOnPreview: (t) => r(() => ({ onPreview: t })),
|
|
@@ -939,16 +939,16 @@ const Pe = (r) => (t) => {
|
|
|
939
939
|
)
|
|
940
940
|
);
|
|
941
941
|
var O = [];
|
|
942
|
-
for (var
|
|
943
|
-
O.push((
|
|
942
|
+
for (var Re = 0; Re < 256; ++Re)
|
|
943
|
+
O.push((Re + 256).toString(16).slice(1));
|
|
944
944
|
function Ut(r, t = 0) {
|
|
945
945
|
return (O[r[t + 0]] + O[r[t + 1]] + O[r[t + 2]] + O[r[t + 3]] + "-" + O[r[t + 4]] + O[r[t + 5]] + "-" + O[r[t + 6]] + O[r[t + 7]] + "-" + O[r[t + 8]] + O[r[t + 9]] + "-" + O[r[t + 10]] + O[r[t + 11]] + O[r[t + 12]] + O[r[t + 13]] + O[r[t + 14]] + O[r[t + 15]]).toLowerCase();
|
|
946
946
|
}
|
|
947
|
-
var
|
|
947
|
+
var de, Wt = new Uint8Array(16);
|
|
948
948
|
function zt() {
|
|
949
|
-
if (!
|
|
949
|
+
if (!de && (de = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !de))
|
|
950
950
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
951
|
-
return
|
|
951
|
+
return de(Wt);
|
|
952
952
|
}
|
|
953
953
|
var Yt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
954
954
|
const st = {
|
|
@@ -961,8 +961,8 @@ function Oe(r, t, s) {
|
|
|
961
961
|
var n = r.random || (r.rng || zt)();
|
|
962
962
|
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Ut(n);
|
|
963
963
|
}
|
|
964
|
-
const
|
|
965
|
-
|
|
964
|
+
const us = F(
|
|
965
|
+
ve(
|
|
966
966
|
(r, t) => ({
|
|
967
967
|
blocks: {
|
|
968
968
|
home: {},
|
|
@@ -996,9 +996,9 @@ const is = F(
|
|
|
996
996
|
r({ positionBlock: s });
|
|
997
997
|
},
|
|
998
998
|
addBlock: (s, n) => {
|
|
999
|
-
const i = t().blocks, o = i[s] || {}, l = t().positionBlock,
|
|
999
|
+
const i = t().blocks, o = i[s] || {}, l = t().positionBlock, d = Oe(), u = Object.keys(o);
|
|
1000
1000
|
if (l === null || l >= u.length)
|
|
1001
|
-
o[
|
|
1001
|
+
o[d] = {
|
|
1002
1002
|
name: n.name,
|
|
1003
1003
|
value: { ...n.value }
|
|
1004
1004
|
}, r({
|
|
@@ -1011,9 +1011,9 @@ const is = F(
|
|
|
1011
1011
|
const v = {
|
|
1012
1012
|
name: n.name,
|
|
1013
1013
|
value: { ...n.value }
|
|
1014
|
-
},
|
|
1015
|
-
...
|
|
1016
|
-
[
|
|
1014
|
+
}, f = u.slice(0, l), y = u.slice(l), E = {
|
|
1015
|
+
...f.reduce((x, R) => (x[R] = o[R], x), {}),
|
|
1016
|
+
[d]: v,
|
|
1017
1017
|
...y.reduce((x, R) => (x[R] = o[R], x), {})
|
|
1018
1018
|
};
|
|
1019
1019
|
r({
|
|
@@ -1046,10 +1046,10 @@ const is = F(
|
|
|
1046
1046
|
});
|
|
1047
1047
|
},
|
|
1048
1048
|
moveBlock: (s, n, i) => r((o) => {
|
|
1049
|
-
const l = { ...o.blocks[s] },
|
|
1050
|
-
|
|
1051
|
-
const v =
|
|
1052
|
-
(
|
|
1049
|
+
const l = { ...o.blocks[s] }, d = Object.keys(l), [u] = d.splice(n, 1);
|
|
1050
|
+
d.splice(i, 0, u);
|
|
1051
|
+
const v = d.reduce(
|
|
1052
|
+
(f, y) => (f[y] = l[y], f),
|
|
1053
1053
|
{}
|
|
1054
1054
|
);
|
|
1055
1055
|
return {
|
|
@@ -1060,13 +1060,13 @@ const is = F(
|
|
|
1060
1060
|
};
|
|
1061
1061
|
}),
|
|
1062
1062
|
duplicateBlock: (s, n) => {
|
|
1063
|
-
const { blocks: i } = t(), o = i[s], l = o[n],
|
|
1063
|
+
const { blocks: i } = t(), o = i[s], l = o[n], d = Oe(), u = {
|
|
1064
1064
|
name: l.name,
|
|
1065
1065
|
value: { ...l.value }
|
|
1066
|
-
}, v = Object.keys(o),
|
|
1067
|
-
...y.reduce((R,
|
|
1068
|
-
[
|
|
1069
|
-
...E.reduce((R,
|
|
1066
|
+
}, v = Object.keys(o), f = v.indexOf(n), y = v.slice(0, f + 1), E = v.slice(f + 1), x = {
|
|
1067
|
+
...y.reduce((R, g) => (R[g] = o[g], R), {}),
|
|
1068
|
+
[d]: u,
|
|
1069
|
+
...E.reduce((R, g) => (R[g] = o[g], R), {})
|
|
1070
1070
|
};
|
|
1071
1071
|
r({
|
|
1072
1072
|
blocks: {
|
|
@@ -1117,7 +1117,7 @@ const is = F(
|
|
|
1117
1117
|
hidePreview: () => {
|
|
1118
1118
|
r({ isPreviewVisible: !1, hoverBlockId: null });
|
|
1119
1119
|
}
|
|
1120
|
-
})),
|
|
1120
|
+
})), ds = F((r) => ({
|
|
1121
1121
|
activeBlock: null,
|
|
1122
1122
|
setActiveBlock: (t) => r(() => ({ activeBlock: t })),
|
|
1123
1123
|
activeFont: null,
|
|
@@ -1274,8 +1274,8 @@ const is = F(
|
|
|
1274
1274
|
}
|
|
1275
1275
|
}
|
|
1276
1276
|
}))
|
|
1277
|
-
})),
|
|
1278
|
-
|
|
1277
|
+
})), fs = F(
|
|
1278
|
+
ve(
|
|
1279
1279
|
(r) => ({
|
|
1280
1280
|
fonts: [],
|
|
1281
1281
|
setFonts: (t) => r(() => ({ fonts: t }))
|
|
@@ -1284,7 +1284,7 @@ const is = F(
|
|
|
1284
1284
|
name: "fonts-storage"
|
|
1285
1285
|
}
|
|
1286
1286
|
)
|
|
1287
|
-
),
|
|
1287
|
+
), ps = F((r) => ({
|
|
1288
1288
|
settings: null,
|
|
1289
1289
|
setSettings: (t) => r(() => ({ settings: t }))
|
|
1290
1290
|
})), Jt = F()((r) => ({
|
|
@@ -1315,8 +1315,8 @@ const is = F(
|
|
|
1315
1315
|
setColor: (t) => r(() => ({ color: t })),
|
|
1316
1316
|
setUpdate: (t) => r(() => ({ update: t })),
|
|
1317
1317
|
setColorChange: (t) => r(() => ({ colorChange: t }))
|
|
1318
|
-
})),
|
|
1319
|
-
|
|
1318
|
+
})), vs = F(
|
|
1319
|
+
ve(
|
|
1320
1320
|
(r, t) => ({
|
|
1321
1321
|
pages: qt,
|
|
1322
1322
|
currentPage: "home",
|
|
@@ -1388,8 +1388,8 @@ var ot = { exports: {} };
|
|
|
1388
1388
|
var t = {}.hasOwnProperty;
|
|
1389
1389
|
function s() {
|
|
1390
1390
|
for (var o = "", l = 0; l < arguments.length; l++) {
|
|
1391
|
-
var
|
|
1392
|
-
|
|
1391
|
+
var d = arguments[l];
|
|
1392
|
+
d && (o = i(o, n(d)));
|
|
1393
1393
|
}
|
|
1394
1394
|
return o;
|
|
1395
1395
|
}
|
|
@@ -1403,8 +1403,8 @@ var ot = { exports: {} };
|
|
|
1403
1403
|
if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
|
|
1404
1404
|
return o.toString();
|
|
1405
1405
|
var l = "";
|
|
1406
|
-
for (var
|
|
1407
|
-
t.call(o,
|
|
1406
|
+
for (var d in o)
|
|
1407
|
+
t.call(o, d) && o[d] && (l = i(l, d));
|
|
1408
1408
|
return l;
|
|
1409
1409
|
}
|
|
1410
1410
|
function i(o, l) {
|
|
@@ -1414,7 +1414,7 @@ var ot = { exports: {} };
|
|
|
1414
1414
|
})();
|
|
1415
1415
|
})(ot);
|
|
1416
1416
|
var Zt = ot.exports;
|
|
1417
|
-
const
|
|
1417
|
+
const L = /* @__PURE__ */ Bt(Zt), pe = (r) => {
|
|
1418
1418
|
const {
|
|
1419
1419
|
name: t,
|
|
1420
1420
|
fill: s = "currentColor",
|
|
@@ -1422,56 +1422,56 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1422
1422
|
onClick: i,
|
|
1423
1423
|
className: o,
|
|
1424
1424
|
width: l,
|
|
1425
|
-
height:
|
|
1425
|
+
height: d
|
|
1426
1426
|
} = r, [u, v] = T.useState(null);
|
|
1427
1427
|
return T.useEffect(() => {
|
|
1428
1428
|
(async () => {
|
|
1429
1429
|
try {
|
|
1430
|
-
const { default: y } = await Kt(/* @__PURE__ */ Object.assign({ "../../../assets/icons/align-bottom.svg": () => import("./align-bottom-B6qXcF_P.js"), "../../../assets/icons/align-center.svg": () => import("./align-center-BO84DuTM.js"), "../../../assets/icons/align-left.svg": () => import("./align-left-M0ZgFryb.js"), "../../../assets/icons/align-right.svg": () => import("./align-right-Cgz7UcnI.js"), "../../../assets/icons/align-top.svg": () => import("./align-top-CMearyFH.js"), "../../../assets/icons/arrow-down.svg": () => import("./arrow-down-Be8fhLDw.js"), "../../../assets/icons/arrow-left.svg": () => import("./arrow-left-74wdITOH.js"), "../../../assets/icons/arrow-preview-down.svg": () => import("./arrow-preview-down-DM61uZ0R.js"), "../../../assets/icons/arrow-preview-up.svg": () => import("./arrow-preview-up-tl-dLBGP.js"), "../../../assets/icons/arrow-right.svg": () => import("./arrow-right-Cr3U4dHJ.js"), "../../../assets/icons/arrow-square.svg": () => import("./arrow-square-CYM9usfL.js"), "../../../assets/icons/arrow-up-right.svg": () => import("./arrow-up-right-DjQHCzy_.js"), "../../../assets/icons/border-dashed.svg": () => import("./border-dashed-B0Vn5Ams.js"), "../../../assets/icons/border-solid.svg": () => import("./border-solid-BjJ2NMUc.js"), "../../../assets/icons/cards.svg": () => import("./cards-D_Fs7yzJ.js"), "../../../assets/icons/chat.svg": () => import("./chat-BAur-Hs7.js"), "../../../assets/icons/check.svg": () => import("./check-Dw7aX1Gq.js"), "../../../assets/icons/copy.svg": () => import("./copy-B-BFBPCj.js"), "../../../assets/icons/corners-out.svg": () => import("./corners-out-DoBj8RP9.js"), "../../../assets/icons/desktop.svg": () => import("./desktop-BtX370Ww.js"), "../../../assets/icons/faqs.svg": () => import("./faqs-23Fq6osg.js"), "../../../assets/icons/file.svg": () => import("./file-DyR17xsF.js"), "../../../assets/icons/font.svg": () => import("./font-7p9R-iSH.js"), "../../../assets/icons/globe.svg": () => import("./globe--VWAXBWp.js"), "../../../assets/icons/heading.svg": () => import("./heading-CBG3k-8U.js"), "../../../assets/icons/house.svg": () => import("./house-WXuqDQYP.js"), "../../../assets/icons/info-circle.svg": () => import("./info-circle-eJbOZlg5.js"), "../../../assets/icons/layers.svg": () => import("./layers-Cjkf4Ywz.js"), "../../../assets/icons/lock.svg": () => import("./lock-CjdyZZ0l.js"), "../../../assets/icons/mobile.svg": () => import("./mobile-CmqAt_Mz.js"), "../../../assets/icons/paint.svg": () => import("./paint-BZpZzEUU.js"), "../../../assets/icons/palette.svg": () => import("./palette-C8JiqbcX.js"), "../../../assets/icons/paragraph.svg": () => import("./paragraph-LWVXCR4R.js"), "../../../assets/icons/plus.svg": () => import("./plus-BJbR8W_G.js"), "../../../assets/icons/radius.svg": () => import("./radius-CxeWfnVG.js"), "../../../assets/icons/redo.svg": () => import("./redo-CGWptNGF.js"), "../../../assets/icons/search.svg": () => import("./search-DyJEj9C0.js"), "../../../assets/icons/settings.svg": () => import("./settings-B3DU_KZp.js"), "../../../assets/icons/sign-out.svg": () => import("./sign-out-C7IDLqPn.js"), "../../../assets/icons/squares.svg": () => import("./squares-D_Q5KrSa.js"), "../../../assets/icons/star.svg": () => import("./star-DmVJ8LCU.js"), "../../../assets/icons/tablet.svg": () => import("./tablet-DjgFAzpj.js"), "../../../assets/icons/text-align-left.svg": () => import("./text-align-left-BBdqQ7N2.js"), "../../../assets/icons/text-bold.svg": () => import("./text-bold-CkfsPLSD.js"), "../../../assets/icons/text-code.svg": () => import("./text-code-Omig8KTZ.js"), "../../../assets/icons/text-italic.svg": () => import("./text-italic-B6DlWITY.js"), "../../../assets/icons/text-strike-through.svg": () => import("./text-strike-through-BPd9vRCE.js"), "../../../assets/icons/text-underline.svg": () => import("./text-underline-BMJdubuO.js"), "../../../assets/icons/textbox.svg": () => import("./textbox-VoZOnoQo.js"), "../../../assets/icons/thickness.svg": () => import("./thickness-8ZhgPpus.js"), "../../../assets/icons/ticket.svg": () => import("./ticket-Cp2gw7LG.js"), "../../../assets/icons/trash.svg": () => import("./trash-C46P9ylt.js"), "../../../assets/icons/undo.svg": () => import("./undo-DQ4HRzFE.js"), "../../../assets/icons/user-circle-gear.svg": () => import("./user-circle-gear-GplwFHx0.js"), "../../../assets/icons/x.svg": () => import("./x-Dwea3dAc.js"), "../../../assets/icons/zoom-minus.svg": () => import("./zoom-minus-DlvFV6xy.js") }), `../../../assets/icons/${t}.svg`, 6);
|
|
1430
|
+
const { default: y } = await Kt(/* @__PURE__ */ Object.assign({ "../../../assets/icons/align-bottom.svg": () => import("./align-bottom-B6qXcF_P.js"), "../../../assets/icons/align-center.svg": () => import("./align-center-BO84DuTM.js"), "../../../assets/icons/align-left.svg": () => import("./align-left-M0ZgFryb.js"), "../../../assets/icons/align-right.svg": () => import("./align-right-Cgz7UcnI.js"), "../../../assets/icons/align-top.svg": () => import("./align-top-CMearyFH.js"), "../../../assets/icons/arrow-down.svg": () => import("./arrow-down-Be8fhLDw.js"), "../../../assets/icons/arrow-left.svg": () => import("./arrow-left-74wdITOH.js"), "../../../assets/icons/arrow-preview-down.svg": () => import("./arrow-preview-down-DM61uZ0R.js"), "../../../assets/icons/arrow-preview-up.svg": () => import("./arrow-preview-up-tl-dLBGP.js"), "../../../assets/icons/arrow-right.svg": () => import("./arrow-right-Cr3U4dHJ.js"), "../../../assets/icons/arrow-square.svg": () => import("./arrow-square-CYM9usfL.js"), "../../../assets/icons/arrow-up-right.svg": () => import("./arrow-up-right-DjQHCzy_.js"), "../../../assets/icons/border-dashed.svg": () => import("./border-dashed-B0Vn5Ams.js"), "../../../assets/icons/border-solid.svg": () => import("./border-solid-BjJ2NMUc.js"), "../../../assets/icons/cards.svg": () => import("./cards-D_Fs7yzJ.js"), "../../../assets/icons/chat.svg": () => import("./chat-BAur-Hs7.js"), "../../../assets/icons/check.svg": () => import("./check-Dw7aX1Gq.js"), "../../../assets/icons/copy.svg": () => import("./copy-B-BFBPCj.js"), "../../../assets/icons/corners-out.svg": () => import("./corners-out-DoBj8RP9.js"), "../../../assets/icons/desktop.svg": () => import("./desktop-BtX370Ww.js"), "../../../assets/icons/faqs.svg": () => import("./faqs-23Fq6osg.js"), "../../../assets/icons/file.svg": () => import("./file-DyR17xsF.js"), "../../../assets/icons/font.svg": () => import("./font-7p9R-iSH.js"), "../../../assets/icons/globe.svg": () => import("./globe--VWAXBWp.js"), "../../../assets/icons/heading.svg": () => import("./heading-CBG3k-8U.js"), "../../../assets/icons/house.svg": () => import("./house-WXuqDQYP.js"), "../../../assets/icons/image.svg": () => import("./image-CASDWdgb.js"), "../../../assets/icons/info-circle.svg": () => import("./info-circle-eJbOZlg5.js"), "../../../assets/icons/layers.svg": () => import("./layers-Cjkf4Ywz.js"), "../../../assets/icons/lock.svg": () => import("./lock-CjdyZZ0l.js"), "../../../assets/icons/mobile.svg": () => import("./mobile-CmqAt_Mz.js"), "../../../assets/icons/paint.svg": () => import("./paint-BZpZzEUU.js"), "../../../assets/icons/palette.svg": () => import("./palette-C8JiqbcX.js"), "../../../assets/icons/paragraph.svg": () => import("./paragraph-LWVXCR4R.js"), "../../../assets/icons/plus.svg": () => import("./plus-BJbR8W_G.js"), "../../../assets/icons/radius.svg": () => import("./radius-CxeWfnVG.js"), "../../../assets/icons/redo.svg": () => import("./redo-CGWptNGF.js"), "../../../assets/icons/search.svg": () => import("./search-DyJEj9C0.js"), "../../../assets/icons/settings.svg": () => import("./settings-B3DU_KZp.js"), "../../../assets/icons/sign-out.svg": () => import("./sign-out-C7IDLqPn.js"), "../../../assets/icons/sliders.svg": () => import("./sliders-BOds2ujo.js"), "../../../assets/icons/squares.svg": () => import("./squares-D_Q5KrSa.js"), "../../../assets/icons/star.svg": () => import("./star-DmVJ8LCU.js"), "../../../assets/icons/tablet.svg": () => import("./tablet-DjgFAzpj.js"), "../../../assets/icons/text-align-left.svg": () => import("./text-align-left-BBdqQ7N2.js"), "../../../assets/icons/text-bold.svg": () => import("./text-bold-CkfsPLSD.js"), "../../../assets/icons/text-code.svg": () => import("./text-code-Omig8KTZ.js"), "../../../assets/icons/text-italic.svg": () => import("./text-italic-B6DlWITY.js"), "../../../assets/icons/text-strike-through.svg": () => import("./text-strike-through-BPd9vRCE.js"), "../../../assets/icons/text-underline.svg": () => import("./text-underline-BMJdubuO.js"), "../../../assets/icons/textbox.svg": () => import("./textbox-VoZOnoQo.js"), "../../../assets/icons/thickness.svg": () => import("./thickness-8ZhgPpus.js"), "../../../assets/icons/ticket.svg": () => import("./ticket-Cp2gw7LG.js"), "../../../assets/icons/trash.svg": () => import("./trash-C46P9ylt.js"), "../../../assets/icons/undo.svg": () => import("./undo-DQ4HRzFE.js"), "../../../assets/icons/user-circle-gear.svg": () => import("./user-circle-gear-GplwFHx0.js"), "../../../assets/icons/x.svg": () => import("./x-Dwea3dAc.js"), "../../../assets/icons/zoom-minus.svg": () => import("./zoom-minus-DlvFV6xy.js") }), `../../../assets/icons/${t}.svg`, 6);
|
|
1431
1431
|
v(() => y);
|
|
1432
1432
|
} catch {
|
|
1433
1433
|
console.error(`Icon "${t}" not found in assets.`), v(null);
|
|
1434
1434
|
}
|
|
1435
1435
|
})();
|
|
1436
|
-
}, [t]), u ? /* @__PURE__ */
|
|
1436
|
+
}, [t]), u ? /* @__PURE__ */ p.jsx(
|
|
1437
1437
|
u,
|
|
1438
1438
|
{
|
|
1439
1439
|
fill: s,
|
|
1440
1440
|
style: {
|
|
1441
1441
|
"--icon-fill": s
|
|
1442
1442
|
},
|
|
1443
|
-
className:
|
|
1443
|
+
className: L(nt.icon, o, {
|
|
1444
1444
|
[nt.hoverable]: n
|
|
1445
1445
|
}),
|
|
1446
1446
|
onClick: i,
|
|
1447
1447
|
width: l || "24",
|
|
1448
|
-
height:
|
|
1448
|
+
height: d || "24"
|
|
1449
1449
|
}
|
|
1450
1450
|
) : null;
|
|
1451
1451
|
}, Qt = "_button_rcjso_1", er = {
|
|
1452
1452
|
button: Qt
|
|
1453
|
-
},
|
|
1453
|
+
}, ms = (r) => {
|
|
1454
1454
|
const { children: t, onClick: s, style: n, className: i, disabled: o = !1, size: l = "m" } = r;
|
|
1455
|
-
return /* @__PURE__ */
|
|
1455
|
+
return /* @__PURE__ */ p.jsx(
|
|
1456
1456
|
"button",
|
|
1457
1457
|
{
|
|
1458
|
-
className:
|
|
1458
|
+
className: L(er.button, i),
|
|
1459
1459
|
onClick: s,
|
|
1460
1460
|
style: {
|
|
1461
1461
|
...n,
|
|
1462
|
-
fontSize: l === "m" ? 14 : 16
|
|
1462
|
+
fontSize: l === "m" ? 14 : l === "s" ? 12 : 16
|
|
1463
1463
|
},
|
|
1464
1464
|
disabled: o,
|
|
1465
1465
|
children: t
|
|
1466
1466
|
}
|
|
1467
1467
|
);
|
|
1468
|
-
}, tr = "_wrapper_1y283_1", rr = "_label_1y283_9", sr = "_input_1y283_17", nr = "_required_1y283_36", or = "_paddingless_1y283_40",
|
|
1468
|
+
}, tr = "_wrapper_1y283_1", rr = "_label_1y283_9", sr = "_input_1y283_17", nr = "_required_1y283_36", or = "_paddingless_1y283_40", se = {
|
|
1469
1469
|
wrapper: tr,
|
|
1470
1470
|
label: rr,
|
|
1471
1471
|
input: sr,
|
|
1472
1472
|
required: nr,
|
|
1473
1473
|
paddingless: or
|
|
1474
|
-
},
|
|
1474
|
+
}, gs = (r) => {
|
|
1475
1475
|
const {
|
|
1476
1476
|
onChange: t,
|
|
1477
1477
|
label: s,
|
|
@@ -1479,52 +1479,52 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1479
1479
|
type: i,
|
|
1480
1480
|
min: o,
|
|
1481
1481
|
placeholder: l,
|
|
1482
|
-
disabled:
|
|
1482
|
+
disabled: d = !1,
|
|
1483
1483
|
required: u = !1,
|
|
1484
1484
|
regex: v,
|
|
1485
|
-
paddingless:
|
|
1485
|
+
paddingless: f = !1
|
|
1486
1486
|
} = r, [y, E] = T.useState(!1);
|
|
1487
|
-
function x(
|
|
1488
|
-
return Number(
|
|
1487
|
+
function x(g) {
|
|
1488
|
+
return Number(g) < 0 ? "0" : g;
|
|
1489
1489
|
}
|
|
1490
|
-
function R(
|
|
1491
|
-
return !u || !v ? !0 : new RegExp(v).test(
|
|
1490
|
+
function R(g) {
|
|
1491
|
+
return !u || !v ? !0 : new RegExp(v).test(g);
|
|
1492
1492
|
}
|
|
1493
|
-
return /* @__PURE__ */
|
|
1494
|
-
s && /* @__PURE__ */
|
|
1493
|
+
return /* @__PURE__ */ p.jsxs("div", { className: se.wrapper, children: [
|
|
1494
|
+
s && /* @__PURE__ */ p.jsx(
|
|
1495
1495
|
"label",
|
|
1496
1496
|
{
|
|
1497
|
-
className:
|
|
1497
|
+
className: se.label,
|
|
1498
1498
|
htmlFor: s,
|
|
1499
1499
|
children: s
|
|
1500
1500
|
}
|
|
1501
1501
|
),
|
|
1502
|
-
/* @__PURE__ */
|
|
1502
|
+
/* @__PURE__ */ p.jsx(
|
|
1503
1503
|
"input",
|
|
1504
1504
|
{
|
|
1505
1505
|
id: s,
|
|
1506
1506
|
type: i || "text",
|
|
1507
|
-
onChange: (
|
|
1508
|
-
if (i === "text") t(
|
|
1507
|
+
onChange: (g) => {
|
|
1508
|
+
if (i === "text") t(g.target.value);
|
|
1509
1509
|
else {
|
|
1510
|
-
const P = x(
|
|
1510
|
+
const P = x(g.target.value);
|
|
1511
1511
|
t(P);
|
|
1512
1512
|
}
|
|
1513
1513
|
},
|
|
1514
1514
|
value: n,
|
|
1515
1515
|
autoComplete: "off",
|
|
1516
1516
|
placeholder: l,
|
|
1517
|
-
className:
|
|
1518
|
-
[
|
|
1519
|
-
[
|
|
1517
|
+
className: L(se.input, {
|
|
1518
|
+
[se.required]: y && u && !R(n),
|
|
1519
|
+
[se.paddingless]: f
|
|
1520
1520
|
}),
|
|
1521
1521
|
min: i === "number" ? o : void 0,
|
|
1522
|
-
disabled:
|
|
1522
|
+
disabled: d,
|
|
1523
1523
|
onFocus: () => E(!0)
|
|
1524
1524
|
}
|
|
1525
1525
|
)
|
|
1526
1526
|
] });
|
|
1527
|
-
}, ar = "_wrapper_dmzhr_1", ir = "_label_dmzhr_9", cr = "_select_dmzhr_17", lr = "_icon_dmzhr_30", ur = "_rotate_dmzhr_34", dr = "_content_dmzhr_38", fr = "_options_dmzhr_42", pr = "_option_dmzhr_42",
|
|
1527
|
+
}, ar = "_wrapper_dmzhr_1", ir = "_label_dmzhr_9", cr = "_select_dmzhr_17", lr = "_icon_dmzhr_30", ur = "_rotate_dmzhr_34", dr = "_content_dmzhr_38", fr = "_options_dmzhr_42", pr = "_option_dmzhr_42", U = {
|
|
1528
1528
|
wrapper: ar,
|
|
1529
1529
|
label: ir,
|
|
1530
1530
|
select: cr,
|
|
@@ -1533,71 +1533,71 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1533
1533
|
content: dr,
|
|
1534
1534
|
options: fr,
|
|
1535
1535
|
option: pr
|
|
1536
|
-
},
|
|
1537
|
-
const { leftAddon: t, onChange: s, label: n, value: i, options: o, style: l } = r, [
|
|
1538
|
-
function v(
|
|
1539
|
-
s(
|
|
1536
|
+
}, hs = (r) => {
|
|
1537
|
+
const { leftAddon: t, onChange: s, label: n, value: i, options: o, style: l } = r, [d, u] = T.useState(!1);
|
|
1538
|
+
function v(f) {
|
|
1539
|
+
s(f), u(!1);
|
|
1540
1540
|
}
|
|
1541
1541
|
return T.useEffect(() => {
|
|
1542
|
-
const
|
|
1542
|
+
const f = () => {
|
|
1543
1543
|
u(!1);
|
|
1544
1544
|
};
|
|
1545
|
-
return
|
|
1546
|
-
document.body.removeEventListener("click",
|
|
1545
|
+
return f(), document.body.addEventListener("click", f), () => {
|
|
1546
|
+
document.body.removeEventListener("click", f);
|
|
1547
1547
|
};
|
|
1548
|
-
}, []), /* @__PURE__ */
|
|
1548
|
+
}, []), /* @__PURE__ */ p.jsxs(
|
|
1549
1549
|
"div",
|
|
1550
1550
|
{
|
|
1551
|
-
className:
|
|
1551
|
+
className: U.wrapper,
|
|
1552
1552
|
style: { ...l },
|
|
1553
1553
|
children: [
|
|
1554
|
-
n && /* @__PURE__ */
|
|
1554
|
+
n && /* @__PURE__ */ p.jsx(
|
|
1555
1555
|
"label",
|
|
1556
1556
|
{
|
|
1557
|
-
className:
|
|
1557
|
+
className: U.label,
|
|
1558
1558
|
htmlFor: n,
|
|
1559
1559
|
children: n
|
|
1560
1560
|
}
|
|
1561
1561
|
),
|
|
1562
|
-
/* @__PURE__ */
|
|
1562
|
+
/* @__PURE__ */ p.jsxs(
|
|
1563
1563
|
"div",
|
|
1564
1564
|
{
|
|
1565
|
-
className:
|
|
1566
|
-
onClick: (
|
|
1565
|
+
className: U.content,
|
|
1566
|
+
onClick: (f) => f.stopPropagation(),
|
|
1567
1567
|
children: [
|
|
1568
|
-
/* @__PURE__ */
|
|
1568
|
+
/* @__PURE__ */ p.jsxs(
|
|
1569
1569
|
"div",
|
|
1570
1570
|
{
|
|
1571
|
-
className:
|
|
1572
|
-
onClick: () => u((
|
|
1571
|
+
className: U.select,
|
|
1572
|
+
onClick: () => u((f) => !f),
|
|
1573
1573
|
children: [
|
|
1574
1574
|
t,
|
|
1575
|
-
/* @__PURE__ */
|
|
1576
|
-
/* @__PURE__ */
|
|
1577
|
-
|
|
1575
|
+
/* @__PURE__ */ p.jsx("span", { children: i }),
|
|
1576
|
+
/* @__PURE__ */ p.jsx(
|
|
1577
|
+
pe,
|
|
1578
1578
|
{
|
|
1579
1579
|
name: "arrow-down",
|
|
1580
|
-
className:
|
|
1581
|
-
[
|
|
1580
|
+
className: L(U.icon, {
|
|
1581
|
+
[U.rotate]: d
|
|
1582
1582
|
})
|
|
1583
1583
|
}
|
|
1584
1584
|
)
|
|
1585
1585
|
]
|
|
1586
1586
|
}
|
|
1587
1587
|
),
|
|
1588
|
-
|
|
1588
|
+
d && /* @__PURE__ */ p.jsx(
|
|
1589
1589
|
"div",
|
|
1590
1590
|
{
|
|
1591
|
-
className:
|
|
1591
|
+
className: U.options,
|
|
1592
1592
|
onClick: () => u(!1),
|
|
1593
|
-
children: o.filter((
|
|
1593
|
+
children: o.filter((f) => f !== i).map((f) => /* @__PURE__ */ p.jsx(
|
|
1594
1594
|
"div",
|
|
1595
1595
|
{
|
|
1596
|
-
className:
|
|
1597
|
-
onClick: () => v(
|
|
1598
|
-
children:
|
|
1596
|
+
className: U.option,
|
|
1597
|
+
onClick: () => v(f),
|
|
1598
|
+
children: f
|
|
1599
1599
|
},
|
|
1600
|
-
|
|
1600
|
+
f
|
|
1601
1601
|
))
|
|
1602
1602
|
}
|
|
1603
1603
|
)
|
|
@@ -1607,33 +1607,58 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1607
1607
|
]
|
|
1608
1608
|
}
|
|
1609
1609
|
);
|
|
1610
|
-
}, vr = "
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1610
|
+
}, vr = "_wrapper_3w2ni_1", mr = "_active_3w2ni_24", gr = "_toggle_3w2ni_27", hr = "_background_3w2ni_39", br = "_padding_3w2ni_43", q = {
|
|
1611
|
+
wrapper: vr,
|
|
1612
|
+
switch: "_switch_3w2ni_13",
|
|
1613
|
+
active: mr,
|
|
1614
|
+
toggle: gr,
|
|
1615
|
+
background: hr,
|
|
1616
|
+
padding: br
|
|
1617
|
+
}, bs = (r) => {
|
|
1618
|
+
const { onChange: t, style: s, current: n, label: i, hasBackground: o = !1, paddingless: l = !0 } = r, [d, u] = T.useState(n), v = () => {
|
|
1619
|
+
u((f) => !f), t == null || t(!d);
|
|
1617
1620
|
};
|
|
1618
|
-
return /* @__PURE__ */
|
|
1621
|
+
return /* @__PURE__ */ p.jsx(p.Fragment, { children: i ? /* @__PURE__ */ p.jsxs(
|
|
1622
|
+
"div",
|
|
1623
|
+
{
|
|
1624
|
+
className: L(q.wrapper, {
|
|
1625
|
+
[q.background]: o,
|
|
1626
|
+
[q.padding]: !l
|
|
1627
|
+
}),
|
|
1628
|
+
children: [
|
|
1629
|
+
/* @__PURE__ */ p.jsx(
|
|
1630
|
+
"div",
|
|
1631
|
+
{
|
|
1632
|
+
className: L(q.switch, {
|
|
1633
|
+
[q.active]: d
|
|
1634
|
+
}),
|
|
1635
|
+
onClick: v,
|
|
1636
|
+
style: s,
|
|
1637
|
+
children: /* @__PURE__ */ p.jsx("div", { className: q.toggle })
|
|
1638
|
+
}
|
|
1639
|
+
),
|
|
1640
|
+
/* @__PURE__ */ p.jsx("span", { className: q.value, children: i })
|
|
1641
|
+
]
|
|
1642
|
+
}
|
|
1643
|
+
) : /* @__PURE__ */ p.jsx(
|
|
1619
1644
|
"div",
|
|
1620
1645
|
{
|
|
1621
|
-
className:
|
|
1622
|
-
[
|
|
1646
|
+
className: L(q.switch, {
|
|
1647
|
+
[q.active]: d
|
|
1623
1648
|
}),
|
|
1624
|
-
onClick:
|
|
1625
|
-
style:
|
|
1626
|
-
children: /* @__PURE__ */
|
|
1649
|
+
onClick: v,
|
|
1650
|
+
style: s,
|
|
1651
|
+
children: /* @__PURE__ */ p.jsx("div", { className: q.toggle })
|
|
1627
1652
|
}
|
|
1628
|
-
);
|
|
1629
|
-
},
|
|
1630
|
-
wrapper:
|
|
1631
|
-
},
|
|
1653
|
+
) });
|
|
1654
|
+
}, _r = "_wrapper_1inu5_1", yr = {
|
|
1655
|
+
wrapper: _r
|
|
1656
|
+
}, _s = ({ children: r }) => {
|
|
1632
1657
|
const { hoverBlockId: t, startHideTimeout: s, clearHideTimeout: n, setMouseOverModal: i } = Ht();
|
|
1633
|
-
return t ? /* @__PURE__ */
|
|
1658
|
+
return t ? /* @__PURE__ */ p.jsx(
|
|
1634
1659
|
"div",
|
|
1635
1660
|
{
|
|
1636
|
-
className:
|
|
1661
|
+
className: yr.wrapper,
|
|
1637
1662
|
onMouseEnter: () => {
|
|
1638
1663
|
n(), i(!0);
|
|
1639
1664
|
},
|
|
@@ -1643,19 +1668,19 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1643
1668
|
children: r
|
|
1644
1669
|
}
|
|
1645
1670
|
) : null;
|
|
1646
|
-
},
|
|
1647
|
-
blocks:
|
|
1648
|
-
block:
|
|
1649
|
-
active:
|
|
1650
|
-
},
|
|
1671
|
+
}, wr = "_blocks_1op3c_1", kr = "_block_1op3c_1", Sr = "_active_1op3c_18", Ce = {
|
|
1672
|
+
blocks: wr,
|
|
1673
|
+
block: kr,
|
|
1674
|
+
active: Sr
|
|
1675
|
+
}, ys = (r) => {
|
|
1651
1676
|
const { items: t, selectedItem: s, onSelect: n, getIconName: i } = r;
|
|
1652
|
-
return /* @__PURE__ */
|
|
1677
|
+
return /* @__PURE__ */ p.jsx("div", { className: Ce.blocks, children: t.map((o) => /* @__PURE__ */ p.jsx(
|
|
1653
1678
|
"div",
|
|
1654
1679
|
{
|
|
1655
|
-
className:
|
|
1680
|
+
className: L(Ce.block, { [Ce.active]: s === o }),
|
|
1656
1681
|
onClick: () => n(o),
|
|
1657
|
-
children: /* @__PURE__ */
|
|
1658
|
-
|
|
1682
|
+
children: /* @__PURE__ */ p.jsx(
|
|
1683
|
+
pe,
|
|
1659
1684
|
{
|
|
1660
1685
|
name: i(o),
|
|
1661
1686
|
fill: s === o ? "#252525" : "#757575"
|
|
@@ -1664,27 +1689,27 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1664
1689
|
},
|
|
1665
1690
|
String(o)
|
|
1666
1691
|
)) });
|
|
1667
|
-
},
|
|
1668
|
-
applyButton:
|
|
1669
|
-
cancelButton:
|
|
1670
|
-
content:
|
|
1671
|
-
label:
|
|
1672
|
-
colorValue:
|
|
1673
|
-
modal:
|
|
1674
|
-
colorMap:
|
|
1675
|
-
indicator:
|
|
1676
|
-
hueSlider:
|
|
1677
|
-
slider:
|
|
1678
|
-
buttons:
|
|
1679
|
-
name:
|
|
1680
|
-
secondary:
|
|
1681
|
-
input:
|
|
1682
|
-
},
|
|
1692
|
+
}, xr = "_applyButton_1cqw4_2", Er = "_cancelButton_1cqw4_7", Rr = "_content_1cqw4_12", Cr = "_label_1cqw4_18", jr = "_colorValue_1cqw4_30", Pr = "_modal_1cqw4_37", Or = "_colorMap_1cqw4_56", Tr = "_indicator_1cqw4_64", Ir = "_hueSlider_1cqw4_73", Br = "_slider_1cqw4_102", Nr = "_buttons_1cqw4_107", Ar = "_name_1cqw4_113", Fr = "_secondary_1cqw4_118", $r = "_input_1cqw4_126", K = {
|
|
1693
|
+
applyButton: xr,
|
|
1694
|
+
cancelButton: Er,
|
|
1695
|
+
content: Rr,
|
|
1696
|
+
label: Cr,
|
|
1697
|
+
colorValue: jr,
|
|
1698
|
+
modal: Pr,
|
|
1699
|
+
colorMap: Or,
|
|
1700
|
+
indicator: Tr,
|
|
1701
|
+
hueSlider: Ir,
|
|
1702
|
+
slider: Br,
|
|
1703
|
+
buttons: Nr,
|
|
1704
|
+
name: Ar,
|
|
1705
|
+
secondary: Fr,
|
|
1706
|
+
input: $r
|
|
1707
|
+
}, ws = (r) => {
|
|
1683
1708
|
const { initialColor: t, onChange: s, title: n, labelStyle: i = "primary" } = r, [o, l] = T.useState(t), {
|
|
1684
|
-
setActiveLabel:
|
|
1709
|
+
setActiveLabel: d,
|
|
1685
1710
|
setModalPosition: u,
|
|
1686
1711
|
setInitialColor: v,
|
|
1687
|
-
setShowModal:
|
|
1712
|
+
setShowModal: f,
|
|
1688
1713
|
setUpdate: y,
|
|
1689
1714
|
setColor: E,
|
|
1690
1715
|
setColorChange: x,
|
|
@@ -1692,7 +1717,7 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1692
1717
|
} = Jt();
|
|
1693
1718
|
T.useEffect(() => {
|
|
1694
1719
|
const P = () => {
|
|
1695
|
-
|
|
1720
|
+
f(!1), d(null), v(t), y(() => {
|
|
1696
1721
|
}), E(t), x(() => {
|
|
1697
1722
|
});
|
|
1698
1723
|
};
|
|
@@ -1700,42 +1725,42 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1700
1725
|
document.body.removeEventListener("click", P);
|
|
1701
1726
|
};
|
|
1702
1727
|
}, []);
|
|
1703
|
-
const
|
|
1704
|
-
P.stopPropagation(),
|
|
1705
|
-
const w = P.currentTarget.getBoundingClientRect(), h = 400, I = 288,
|
|
1728
|
+
const g = (P) => {
|
|
1729
|
+
P.stopPropagation(), f(!0), x(l), y(s), v(t), E(o);
|
|
1730
|
+
const w = P.currentTarget.getBoundingClientRect(), h = 400, I = 288, V = 10, G = 20, X = window.innerHeight - w.bottom, me = w.top, oe = window.innerWidth - w.right, ae = w.left;
|
|
1706
1731
|
let $, D;
|
|
1707
|
-
$ = w.bottom +
|
|
1732
|
+
$ = w.bottom + V + window.scrollY, D = w.left, (X < h || X < G) && (me >= h ? $ = w.top - h - V + window.scrollY : $ = window.scrollY + (window.innerHeight - h) / 2), oe < I && (ae >= I ? D = w.right - I : D = (window.innerWidth - I) / 2), D < w.right && D + I > w.left && $ < w.bottom && $ + h > w.top && (oe >= I ? D = w.right + V + 100 : X >= h ? $ = w.bottom + V + window.scrollY : ($ = window.scrollY + (window.innerHeight - h) / 2, D = (window.innerWidth - I) / 2)), u({
|
|
1708
1733
|
top: $,
|
|
1709
1734
|
left: D
|
|
1710
1735
|
});
|
|
1711
1736
|
};
|
|
1712
|
-
return /* @__PURE__ */
|
|
1713
|
-
/* @__PURE__ */
|
|
1737
|
+
return /* @__PURE__ */ p.jsxs("div", { className: K.content, children: [
|
|
1738
|
+
/* @__PURE__ */ p.jsx(
|
|
1714
1739
|
"span",
|
|
1715
1740
|
{
|
|
1716
|
-
className:
|
|
1717
|
-
[
|
|
1741
|
+
className: L(K.name, {
|
|
1742
|
+
[K.secondary]: i === "secondary"
|
|
1718
1743
|
}),
|
|
1719
1744
|
children: n
|
|
1720
1745
|
}
|
|
1721
1746
|
),
|
|
1722
|
-
/* @__PURE__ */
|
|
1747
|
+
/* @__PURE__ */ p.jsxs(
|
|
1723
1748
|
"label",
|
|
1724
1749
|
{
|
|
1725
1750
|
htmlFor: "color",
|
|
1726
|
-
className:
|
|
1751
|
+
className: K.label,
|
|
1727
1752
|
children: [
|
|
1728
|
-
/* @__PURE__ */
|
|
1753
|
+
/* @__PURE__ */ p.jsx(
|
|
1729
1754
|
"div",
|
|
1730
1755
|
{
|
|
1731
|
-
className:
|
|
1756
|
+
className: K.colorValue,
|
|
1732
1757
|
style: {
|
|
1733
1758
|
background: o
|
|
1734
1759
|
},
|
|
1735
|
-
onClick:
|
|
1760
|
+
onClick: g
|
|
1736
1761
|
}
|
|
1737
1762
|
),
|
|
1738
|
-
/* @__PURE__ */
|
|
1763
|
+
/* @__PURE__ */ p.jsx(
|
|
1739
1764
|
"input",
|
|
1740
1765
|
{
|
|
1741
1766
|
type: "text",
|
|
@@ -1745,16 +1770,16 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1745
1770
|
const w = P.target.value;
|
|
1746
1771
|
s(w), E(w), l(w), R(w);
|
|
1747
1772
|
},
|
|
1748
|
-
className:
|
|
1773
|
+
className: K.input
|
|
1749
1774
|
}
|
|
1750
1775
|
)
|
|
1751
1776
|
]
|
|
1752
1777
|
}
|
|
1753
1778
|
)
|
|
1754
1779
|
] });
|
|
1755
|
-
},
|
|
1756
|
-
modal:
|
|
1757
|
-
},
|
|
1780
|
+
}, Dr = "_modal_1t5at_1", Mr = {
|
|
1781
|
+
modal: Dr
|
|
1782
|
+
}, ks = (r) => {
|
|
1758
1783
|
const { close: t, children: s } = r;
|
|
1759
1784
|
return T.useEffect(() => {
|
|
1760
1785
|
const n = () => {
|
|
@@ -1763,99 +1788,99 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1763
1788
|
return document.body.addEventListener("click", n), () => {
|
|
1764
1789
|
document.body.removeEventListener("click", n);
|
|
1765
1790
|
};
|
|
1766
|
-
}, []), /* @__PURE__ */
|
|
1767
|
-
},
|
|
1768
|
-
wrapper:
|
|
1769
|
-
label:
|
|
1770
|
-
textarea:
|
|
1771
|
-
length:
|
|
1772
|
-
},
|
|
1773
|
-
const { onChange: t, label: s, value: n, maxLength: i, placeholder: o } = r, [l,
|
|
1774
|
-
return /* @__PURE__ */
|
|
1775
|
-
s && /* @__PURE__ */
|
|
1791
|
+
}, []), /* @__PURE__ */ p.jsx("div", { className: Mr.modal, children: s });
|
|
1792
|
+
}, qr = "_wrapper_1qvfi_1", Lr = "_label_1qvfi_10", Vr = "_textarea_1qvfi_18", Ur = "_length_1qvfi_33", fe = {
|
|
1793
|
+
wrapper: qr,
|
|
1794
|
+
label: Lr,
|
|
1795
|
+
textarea: Vr,
|
|
1796
|
+
length: Ur
|
|
1797
|
+
}, Ss = (r) => {
|
|
1798
|
+
const { onChange: t, label: s, value: n, maxLength: i, placeholder: o } = r, [l, d] = T.useState(n.length);
|
|
1799
|
+
return /* @__PURE__ */ p.jsxs("div", { className: fe.wrapper, children: [
|
|
1800
|
+
s && /* @__PURE__ */ p.jsx(
|
|
1776
1801
|
"label",
|
|
1777
1802
|
{
|
|
1778
|
-
className:
|
|
1803
|
+
className: fe.label,
|
|
1779
1804
|
htmlFor: s,
|
|
1780
1805
|
children: s
|
|
1781
1806
|
}
|
|
1782
1807
|
),
|
|
1783
|
-
/* @__PURE__ */
|
|
1808
|
+
/* @__PURE__ */ p.jsx(
|
|
1784
1809
|
"textarea",
|
|
1785
1810
|
{
|
|
1786
1811
|
id: s,
|
|
1787
1812
|
defaultValue: n,
|
|
1788
1813
|
onChange: (u) => {
|
|
1789
|
-
|
|
1814
|
+
d(u.target.value.length), t(u.target.value);
|
|
1790
1815
|
},
|
|
1791
1816
|
placeholder: o,
|
|
1792
|
-
className:
|
|
1817
|
+
className: fe.textarea,
|
|
1793
1818
|
maxLength: i
|
|
1794
1819
|
}
|
|
1795
1820
|
),
|
|
1796
|
-
i && /* @__PURE__ */
|
|
1821
|
+
i && /* @__PURE__ */ p.jsxs("div", { className: fe.length, children: [
|
|
1797
1822
|
l,
|
|
1798
1823
|
"/",
|
|
1799
1824
|
i
|
|
1800
1825
|
] })
|
|
1801
1826
|
] });
|
|
1802
|
-
},
|
|
1803
|
-
wrapper:
|
|
1804
|
-
label:
|
|
1805
|
-
options:
|
|
1806
|
-
radioLabel:
|
|
1807
|
-
radio:
|
|
1808
|
-
custom:
|
|
1809
|
-
option:
|
|
1810
|
-
},
|
|
1811
|
-
const { defaultValue: t, options: s, onChange: n, label: i } = r, [o, l] = T.useState(t),
|
|
1827
|
+
}, Wr = "_wrapper_1fcne_2", zr = "_label_1fcne_10", Yr = "_options_1fcne_18", Hr = "_radioLabel_1fcne_23", Jr = "_radio_1fcne_23", Kr = "_custom_1fcne_36", Gr = "_option_1fcne_18", Y = {
|
|
1828
|
+
wrapper: Wr,
|
|
1829
|
+
label: zr,
|
|
1830
|
+
options: Yr,
|
|
1831
|
+
radioLabel: Hr,
|
|
1832
|
+
radio: Jr,
|
|
1833
|
+
custom: Kr,
|
|
1834
|
+
option: Gr
|
|
1835
|
+
}, xs = (r) => {
|
|
1836
|
+
const { defaultValue: t, options: s, onChange: n, label: i } = r, [o, l] = T.useState(t), d = (u) => {
|
|
1812
1837
|
const v = u.target.value;
|
|
1813
1838
|
l(v), n(v);
|
|
1814
1839
|
};
|
|
1815
|
-
return /* @__PURE__ */
|
|
1816
|
-
/* @__PURE__ */
|
|
1817
|
-
/* @__PURE__ */
|
|
1840
|
+
return /* @__PURE__ */ p.jsxs("div", { className: Y.wrapper, children: [
|
|
1841
|
+
/* @__PURE__ */ p.jsx("span", { className: Y.label, children: i }),
|
|
1842
|
+
/* @__PURE__ */ p.jsx("div", { className: Y.options, children: s.map((u) => /* @__PURE__ */ p.jsxs(
|
|
1818
1843
|
"label",
|
|
1819
1844
|
{
|
|
1820
|
-
className:
|
|
1845
|
+
className: Y.radioLabel,
|
|
1821
1846
|
children: [
|
|
1822
|
-
/* @__PURE__ */
|
|
1847
|
+
/* @__PURE__ */ p.jsx(
|
|
1823
1848
|
"input",
|
|
1824
1849
|
{
|
|
1825
1850
|
type: "radio",
|
|
1826
1851
|
value: u.value,
|
|
1827
1852
|
checked: o === u.value,
|
|
1828
|
-
onChange:
|
|
1829
|
-
className:
|
|
1853
|
+
onChange: d,
|
|
1854
|
+
className: Y.radio
|
|
1830
1855
|
}
|
|
1831
1856
|
),
|
|
1832
|
-
/* @__PURE__ */
|
|
1833
|
-
/* @__PURE__ */
|
|
1857
|
+
/* @__PURE__ */ p.jsx("span", { className: Y.custom }),
|
|
1858
|
+
/* @__PURE__ */ p.jsx("span", { className: Y.option, children: u.label })
|
|
1834
1859
|
]
|
|
1835
1860
|
},
|
|
1836
1861
|
u.value
|
|
1837
1862
|
)) })
|
|
1838
1863
|
] });
|
|
1839
|
-
},
|
|
1840
|
-
tip:
|
|
1841
|
-
text:
|
|
1842
|
-
warning:
|
|
1843
|
-
error:
|
|
1844
|
-
hide:
|
|
1845
|
-
},
|
|
1864
|
+
}, Xr = "_tip_pl6k0_1", Zr = "_text_pl6k0_9", Qr = "_warning_pl6k0_15", es = "_error_pl6k0_20", ts = "_hide_pl6k0_25", ne = {
|
|
1865
|
+
tip: Xr,
|
|
1866
|
+
text: Zr,
|
|
1867
|
+
warning: Qr,
|
|
1868
|
+
error: es,
|
|
1869
|
+
hide: ts
|
|
1870
|
+
}, Es = (r) => {
|
|
1846
1871
|
const { type: t, message: s, style: n } = r, [i, o] = T.useState(!1);
|
|
1847
|
-
return /* @__PURE__ */
|
|
1872
|
+
return /* @__PURE__ */ p.jsxs(
|
|
1848
1873
|
"div",
|
|
1849
1874
|
{
|
|
1850
|
-
className:
|
|
1851
|
-
[
|
|
1852
|
-
[
|
|
1853
|
-
[
|
|
1875
|
+
className: L(ne.tip, {
|
|
1876
|
+
[ne.warning]: t === "warning",
|
|
1877
|
+
[ne.error]: t === "error",
|
|
1878
|
+
[ne.hide]: i
|
|
1854
1879
|
}),
|
|
1855
1880
|
style: n,
|
|
1856
1881
|
children: [
|
|
1857
|
-
/* @__PURE__ */
|
|
1858
|
-
|
|
1882
|
+
/* @__PURE__ */ p.jsx("div", { children: /* @__PURE__ */ p.jsx(
|
|
1883
|
+
pe,
|
|
1859
1884
|
{
|
|
1860
1885
|
name: "info-circle",
|
|
1861
1886
|
fill: t === "warning" ? "#C1972A" : "#FF3F19",
|
|
@@ -1863,9 +1888,9 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1863
1888
|
height: 20
|
|
1864
1889
|
}
|
|
1865
1890
|
) }),
|
|
1866
|
-
/* @__PURE__ */
|
|
1867
|
-
/* @__PURE__ */
|
|
1868
|
-
|
|
1891
|
+
/* @__PURE__ */ p.jsx("div", { className: ne.text, children: s }),
|
|
1892
|
+
/* @__PURE__ */ p.jsx("div", { children: /* @__PURE__ */ p.jsx(
|
|
1893
|
+
pe,
|
|
1869
1894
|
{
|
|
1870
1895
|
name: "x",
|
|
1871
1896
|
fill: t === "warning" ? "#C1972A" : "#FF3F19",
|
|
@@ -1880,35 +1905,36 @@ const V = /* @__PURE__ */ Bt(Zt), fe = (r) => {
|
|
|
1880
1905
|
);
|
|
1881
1906
|
};
|
|
1882
1907
|
export {
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1908
|
+
ms as B,
|
|
1909
|
+
ws as C,
|
|
1910
|
+
pe as I,
|
|
1911
|
+
ks as M,
|
|
1912
|
+
ys as P,
|
|
1913
|
+
xs as R,
|
|
1914
|
+
bs as S,
|
|
1915
|
+
Ss as T,
|
|
1916
|
+
gs as a,
|
|
1917
|
+
hs as b,
|
|
1918
|
+
L as c,
|
|
1919
|
+
_s as d,
|
|
1920
|
+
Es as e,
|
|
1921
|
+
ls as f,
|
|
1922
|
+
vs as g,
|
|
1923
|
+
us as h,
|
|
1924
|
+
is as i,
|
|
1925
|
+
p as j,
|
|
1926
|
+
ds as k,
|
|
1927
|
+
ps as l,
|
|
1928
|
+
cs as m,
|
|
1929
|
+
ss as n,
|
|
1905
1930
|
Mt as o,
|
|
1906
1931
|
Ht as p,
|
|
1907
1932
|
Jt as q,
|
|
1908
1933
|
Bt as r,
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1934
|
+
K as s,
|
|
1935
|
+
os as t,
|
|
1936
|
+
ns as u,
|
|
1937
|
+
Oe as v,
|
|
1938
|
+
fs as w,
|
|
1939
|
+
as as x
|
|
1914
1940
|
};
|