@mypixia/simplex-designer 1.0.15 → 1.0.16
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/README.md +1 -1
- package/dist/index.cjs.js +11 -11
- package/dist/index.es.js +431 -375
- package/dist/index.umd.js +778 -0
- package/package.json +1 -4
- /package/dist/{index.css → index_external.css} +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import E, { useState as M, useEffect as ie, useRef as gt } from "react";
|
|
2
2
|
import { fabric as B } from "fabric";
|
|
3
|
-
import
|
|
3
|
+
import we from "axios";
|
|
4
4
|
import Jt from "qrcode";
|
|
5
5
|
import Yt from "react-barcode";
|
|
6
6
|
import { FacebookShareButton as Kt, FacebookIcon as Xt, TwitterShareButton as Qt, XIcon as qt, TelegramShareButton as Zt, TelegramIcon as er, WhatsappShareButton as tr, WhatsappIcon as rr, LinkedinShareButton as nr, LinkedinIcon as sr, PinterestShareButton as or, PinterestIcon as ir, RedditShareButton as cr, RedditIcon as ar, InstapaperShareButton as lr, InstapaperIcon as dr } from "react-share";
|
|
7
7
|
import hr from "react-dom";
|
|
8
|
-
import './
|
|
8
|
+
import './index_external.css';var st = { exports: {} }, rt = {};
|
|
9
9
|
/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.production.min.js
|
|
@@ -59,18 +59,18 @@ function ur() {
|
|
|
59
59
|
}
|
|
60
60
|
function _(r, x, C) {
|
|
61
61
|
{
|
|
62
|
-
var L = n.ReactDebugCurrentFrame,
|
|
63
|
-
|
|
64
|
-
var
|
|
62
|
+
var L = n.ReactDebugCurrentFrame, U = L.getStackAddendum();
|
|
63
|
+
U !== "" && (x += "%s", C = C.concat([U]));
|
|
64
|
+
var $ = C.map(function(H) {
|
|
65
65
|
return String(H);
|
|
66
66
|
});
|
|
67
|
-
|
|
67
|
+
$.unshift("Warning: " + x), Function.prototype.apply.call(console[r], console, $);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
var A = !1, R = !1,
|
|
70
|
+
var A = !1, R = !1, P = !1, I = !1, T = !1, V;
|
|
71
71
|
V = Symbol.for("react.module.reference");
|
|
72
72
|
function K(r) {
|
|
73
|
-
return !!(typeof r == "string" || typeof r == "function" || r === i || r === u || T || r === l || r === a || r === m || I || r === s || A || R ||
|
|
73
|
+
return !!(typeof r == "string" || typeof r == "function" || r === i || r === u || T || r === l || r === a || r === m || I || r === s || A || R || P || typeof r == "object" && r !== null && (r.$$typeof === b || r.$$typeof === p || r.$$typeof === f || r.$$typeof === d || r.$$typeof === j || // This needs to include all possible module reference object
|
|
74
74
|
// types supported by any Flight configuration anywhere since
|
|
75
75
|
// we don't know which Flight build this will end up being used
|
|
76
76
|
// with.
|
|
@@ -80,8 +80,8 @@ function ur() {
|
|
|
80
80
|
var L = r.displayName;
|
|
81
81
|
if (L)
|
|
82
82
|
return L;
|
|
83
|
-
var
|
|
84
|
-
return
|
|
83
|
+
var U = x.displayName || x.name || "";
|
|
84
|
+
return U !== "" ? C + "(" + U + ")" : C;
|
|
85
85
|
}
|
|
86
86
|
function ce(r) {
|
|
87
87
|
return r.displayName || "Context";
|
|
@@ -121,9 +121,9 @@ function ur() {
|
|
|
121
121
|
var L = r.displayName || null;
|
|
122
122
|
return L !== null ? L : ne(r.type) || "Memo";
|
|
123
123
|
case b: {
|
|
124
|
-
var
|
|
124
|
+
var U = r, $ = U._payload, H = U._init;
|
|
125
125
|
try {
|
|
126
|
-
return ne(H(
|
|
126
|
+
return ne(H($));
|
|
127
127
|
} catch {
|
|
128
128
|
return null;
|
|
129
129
|
}
|
|
@@ -131,18 +131,18 @@ function ur() {
|
|
|
131
131
|
}
|
|
132
132
|
return null;
|
|
133
133
|
}
|
|
134
|
-
var se = Object.assign, pe = 0,
|
|
135
|
-
function
|
|
134
|
+
var se = Object.assign, pe = 0, Me, Ce, qe, ze, q, Fe, He;
|
|
135
|
+
function Ve() {
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
function
|
|
137
|
+
Ve.__reactDisabledLog = !0;
|
|
138
|
+
function Le() {
|
|
139
139
|
{
|
|
140
140
|
if (pe === 0) {
|
|
141
|
-
|
|
141
|
+
Me = console.log, Ce = console.info, qe = console.warn, ze = console.error, q = console.group, Fe = console.groupCollapsed, He = console.groupEnd;
|
|
142
142
|
var r = {
|
|
143
143
|
configurable: !0,
|
|
144
144
|
enumerable: !0,
|
|
145
|
-
value:
|
|
145
|
+
value: Ve,
|
|
146
146
|
writable: !0
|
|
147
147
|
};
|
|
148
148
|
Object.defineProperties(console, {
|
|
@@ -158,7 +158,7 @@ function ur() {
|
|
|
158
158
|
pe++;
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Ue() {
|
|
162
162
|
{
|
|
163
163
|
if (pe--, pe === 0) {
|
|
164
164
|
var r = {
|
|
@@ -168,64 +168,64 @@ function ur() {
|
|
|
168
168
|
};
|
|
169
169
|
Object.defineProperties(console, {
|
|
170
170
|
log: se({}, r, {
|
|
171
|
-
value:
|
|
171
|
+
value: Me
|
|
172
172
|
}),
|
|
173
173
|
info: se({}, r, {
|
|
174
|
-
value:
|
|
174
|
+
value: Ce
|
|
175
175
|
}),
|
|
176
176
|
warn: se({}, r, {
|
|
177
|
-
value:
|
|
177
|
+
value: qe
|
|
178
178
|
}),
|
|
179
179
|
error: se({}, r, {
|
|
180
|
-
value:
|
|
180
|
+
value: ze
|
|
181
181
|
}),
|
|
182
182
|
group: se({}, r, {
|
|
183
|
-
value:
|
|
183
|
+
value: q
|
|
184
184
|
}),
|
|
185
185
|
groupCollapsed: se({}, r, {
|
|
186
186
|
value: Fe
|
|
187
187
|
}),
|
|
188
188
|
groupEnd: se({}, r, {
|
|
189
|
-
value:
|
|
189
|
+
value: He
|
|
190
190
|
})
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
193
|
pe < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
var
|
|
197
|
-
function
|
|
196
|
+
var Se = n.ReactCurrentDispatcher, me;
|
|
197
|
+
function G(r, x, C) {
|
|
198
198
|
{
|
|
199
199
|
if (me === void 0)
|
|
200
200
|
try {
|
|
201
201
|
throw Error();
|
|
202
|
-
} catch (
|
|
203
|
-
var L =
|
|
202
|
+
} catch (U) {
|
|
203
|
+
var L = U.stack.trim().match(/\n( *(at )?)/);
|
|
204
204
|
me = L && L[1] || "";
|
|
205
205
|
}
|
|
206
206
|
return `
|
|
207
207
|
` + me + r;
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
var
|
|
210
|
+
var Re = !1, Ae;
|
|
211
211
|
{
|
|
212
|
-
var
|
|
213
|
-
|
|
212
|
+
var Z = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
|
+
Ae = new Z();
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
if (!r ||
|
|
215
|
+
function We(r, x) {
|
|
216
|
+
if (!r || Re)
|
|
217
217
|
return "";
|
|
218
218
|
{
|
|
219
|
-
var C =
|
|
219
|
+
var C = Ae.get(r);
|
|
220
220
|
if (C !== void 0)
|
|
221
221
|
return C;
|
|
222
222
|
}
|
|
223
223
|
var L;
|
|
224
|
-
|
|
225
|
-
var
|
|
224
|
+
Re = !0;
|
|
225
|
+
var U = Error.prepareStackTrace;
|
|
226
226
|
Error.prepareStackTrace = void 0;
|
|
227
|
-
var
|
|
228
|
-
|
|
227
|
+
var $;
|
|
228
|
+
$ = Se.current, Se.current = null, Le();
|
|
229
229
|
try {
|
|
230
230
|
if (x) {
|
|
231
231
|
var H = function() {
|
|
@@ -260,122 +260,122 @@ function ur() {
|
|
|
260
260
|
}
|
|
261
261
|
} catch (ae) {
|
|
262
262
|
if (ae && L && typeof ae.stack == "string") {
|
|
263
|
-
for (var
|
|
263
|
+
for (var F = ae.stack.split(`
|
|
264
264
|
`), oe = L.stack.split(`
|
|
265
|
-
`), Q =
|
|
266
|
-
|
|
267
|
-
for (; Q >= 1 &&
|
|
268
|
-
if (
|
|
269
|
-
if (Q !== 1 ||
|
|
265
|
+
`), Q = F.length - 1, te = oe.length - 1; Q >= 1 && te >= 0 && F[Q] !== oe[te]; )
|
|
266
|
+
te--;
|
|
267
|
+
for (; Q >= 1 && te >= 0; Q--, te--)
|
|
268
|
+
if (F[Q] !== oe[te]) {
|
|
269
|
+
if (Q !== 1 || te !== 1)
|
|
270
270
|
do
|
|
271
|
-
if (Q--,
|
|
271
|
+
if (Q--, te--, te < 0 || F[Q] !== oe[te]) {
|
|
272
272
|
var he = `
|
|
273
|
-
` +
|
|
274
|
-
return r.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", r.displayName)), typeof r == "function" &&
|
|
273
|
+
` + F[Q].replace(" at new ", " at ");
|
|
274
|
+
return r.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", r.displayName)), typeof r == "function" && Ae.set(r, he), he;
|
|
275
275
|
}
|
|
276
|
-
while (Q >= 1 &&
|
|
276
|
+
while (Q >= 1 && te >= 0);
|
|
277
277
|
break;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
} finally {
|
|
281
|
-
|
|
281
|
+
Re = !1, Se.current = $, Ue(), Error.prepareStackTrace = U;
|
|
282
282
|
}
|
|
283
|
-
var
|
|
284
|
-
return typeof r == "function" &&
|
|
283
|
+
var Ye = r ? r.displayName || r.name : "", De = Ye ? G(Ye) : "";
|
|
284
|
+
return typeof r == "function" && Ae.set(r, De), De;
|
|
285
285
|
}
|
|
286
286
|
function de(r, x, C) {
|
|
287
|
-
return
|
|
287
|
+
return We(r, !1);
|
|
288
288
|
}
|
|
289
289
|
function ue(r) {
|
|
290
290
|
var x = r.prototype;
|
|
291
291
|
return !!(x && x.isReactComponent);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function ke(r, x, C) {
|
|
294
294
|
if (r == null)
|
|
295
295
|
return "";
|
|
296
296
|
if (typeof r == "function")
|
|
297
|
-
return
|
|
297
|
+
return We(r, ue(r));
|
|
298
298
|
if (typeof r == "string")
|
|
299
|
-
return
|
|
299
|
+
return G(r);
|
|
300
300
|
switch (r) {
|
|
301
301
|
case a:
|
|
302
|
-
return
|
|
302
|
+
return G("Suspense");
|
|
303
303
|
case m:
|
|
304
|
-
return
|
|
304
|
+
return G("SuspenseList");
|
|
305
305
|
}
|
|
306
306
|
if (typeof r == "object")
|
|
307
307
|
switch (r.$$typeof) {
|
|
308
308
|
case j:
|
|
309
309
|
return de(r.render);
|
|
310
310
|
case p:
|
|
311
|
-
return
|
|
311
|
+
return ke(r.type, x, C);
|
|
312
312
|
case b: {
|
|
313
|
-
var L = r,
|
|
313
|
+
var L = r, U = L._payload, $ = L._init;
|
|
314
314
|
try {
|
|
315
|
-
return
|
|
315
|
+
return ke($(U), x, C);
|
|
316
316
|
} catch {
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
return "";
|
|
321
321
|
}
|
|
322
|
-
var ve = Object.prototype.hasOwnProperty,
|
|
323
|
-
function
|
|
322
|
+
var ve = Object.prototype.hasOwnProperty, $e = {}, Ne = n.ReactDebugCurrentFrame;
|
|
323
|
+
function Ie(r) {
|
|
324
324
|
if (r) {
|
|
325
|
-
var x = r._owner, C =
|
|
326
|
-
|
|
325
|
+
var x = r._owner, C = ke(r.type, r._source, x ? x.type : null);
|
|
326
|
+
Ne.setExtraStackFrame(C);
|
|
327
327
|
} else
|
|
328
|
-
|
|
328
|
+
Ne.setExtraStackFrame(null);
|
|
329
329
|
}
|
|
330
|
-
function Ge(r, x, C, L,
|
|
330
|
+
function Ge(r, x, C, L, U) {
|
|
331
331
|
{
|
|
332
|
-
var
|
|
332
|
+
var $ = Function.call.bind(ve);
|
|
333
333
|
for (var H in r)
|
|
334
|
-
if (
|
|
335
|
-
var
|
|
334
|
+
if ($(r, H)) {
|
|
335
|
+
var F = void 0;
|
|
336
336
|
try {
|
|
337
337
|
if (typeof r[H] != "function") {
|
|
338
338
|
var oe = Error((L || "React class") + ": " + C + " type `" + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[H] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
339
|
throw oe.name = "Invariant Violation", oe;
|
|
340
340
|
}
|
|
341
|
-
|
|
341
|
+
F = r[H](x, H, L, C, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
342
|
} catch (Q) {
|
|
343
|
-
|
|
343
|
+
F = Q;
|
|
344
344
|
}
|
|
345
|
-
|
|
345
|
+
F && !(F instanceof Error) && (Ie(U), w("%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).", L || "React class", C, H, typeof F), Ie(null)), F instanceof Error && !(F.message in $e) && ($e[F.message] = !0, Ie(U), w("Failed %s type: %s", C, F.message), Ie(null));
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
var
|
|
350
|
-
function
|
|
351
|
-
return
|
|
349
|
+
var Ze = Array.isArray;
|
|
350
|
+
function _e(r) {
|
|
351
|
+
return Ze(r);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function et(r) {
|
|
354
354
|
{
|
|
355
355
|
var x = typeof Symbol == "function" && Symbol.toStringTag, C = x && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
356
356
|
return C;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function tt(r) {
|
|
360
360
|
try {
|
|
361
|
-
return
|
|
361
|
+
return Te(r), !1;
|
|
362
362
|
} catch {
|
|
363
363
|
return !0;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function Te(r) {
|
|
367
367
|
return "" + r;
|
|
368
368
|
}
|
|
369
369
|
function S(r) {
|
|
370
|
-
if (
|
|
371
|
-
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
370
|
+
if (tt(r))
|
|
371
|
+
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", et(r)), Te(r);
|
|
372
372
|
}
|
|
373
373
|
var N = n.ReactCurrentOwner, J = {
|
|
374
374
|
key: !0,
|
|
375
375
|
ref: !0,
|
|
376
376
|
__self: !0,
|
|
377
377
|
__source: !0
|
|
378
|
-
}, D,
|
|
378
|
+
}, D, ee;
|
|
379
379
|
function fe(r) {
|
|
380
380
|
if (ve.call(r, "ref")) {
|
|
381
381
|
var x = Object.getOwnPropertyDescriptor(r, "ref").get;
|
|
@@ -395,7 +395,7 @@ function ur() {
|
|
|
395
395
|
function re(r, x) {
|
|
396
396
|
typeof r.ref == "string" && N.current;
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Je(r, x) {
|
|
399
399
|
{
|
|
400
400
|
var C = function() {
|
|
401
401
|
D || (D = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
|
|
@@ -406,10 +406,10 @@ function ur() {
|
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function Be(r, x) {
|
|
410
410
|
{
|
|
411
411
|
var C = function() {
|
|
412
|
-
|
|
412
|
+
ee || (ee = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", x));
|
|
413
413
|
};
|
|
414
414
|
C.isReactWarning = !0, Object.defineProperty(r, "ref", {
|
|
415
415
|
get: C,
|
|
@@ -417,8 +417,8 @@ function ur() {
|
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
var be = function(r, x, C, L,
|
|
421
|
-
var
|
|
420
|
+
var be = function(r, x, C, L, U, $, H) {
|
|
421
|
+
var F = {
|
|
422
422
|
// This tag allows us to uniquely identify this as a React Element
|
|
423
423
|
$$typeof: t,
|
|
424
424
|
// Built-in properties that belong on the element
|
|
@@ -427,57 +427,57 @@ function ur() {
|
|
|
427
427
|
ref: C,
|
|
428
428
|
props: H,
|
|
429
429
|
// Record the component responsible for creating this element.
|
|
430
|
-
_owner:
|
|
430
|
+
_owner: $
|
|
431
431
|
};
|
|
432
|
-
return
|
|
432
|
+
return F._store = {}, Object.defineProperty(F._store, "validated", {
|
|
433
433
|
configurable: !1,
|
|
434
434
|
enumerable: !1,
|
|
435
435
|
writable: !0,
|
|
436
436
|
value: !1
|
|
437
|
-
}), Object.defineProperty(
|
|
437
|
+
}), Object.defineProperty(F, "_self", {
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !1,
|
|
441
441
|
value: L
|
|
442
|
-
}), Object.defineProperty(
|
|
442
|
+
}), Object.defineProperty(F, "_source", {
|
|
443
443
|
configurable: !1,
|
|
444
444
|
enumerable: !1,
|
|
445
445
|
writable: !1,
|
|
446
|
-
value:
|
|
447
|
-
}), Object.freeze && (Object.freeze(
|
|
446
|
+
value: U
|
|
447
|
+
}), Object.freeze && (Object.freeze(F.props), Object.freeze(F)), F;
|
|
448
448
|
};
|
|
449
|
-
function c(r, x, C, L,
|
|
449
|
+
function c(r, x, C, L, U) {
|
|
450
450
|
{
|
|
451
|
-
var
|
|
452
|
-
C !== void 0 && (S(C),
|
|
453
|
-
for (
|
|
454
|
-
ve.call(x,
|
|
451
|
+
var $, H = {}, F = null, oe = null;
|
|
452
|
+
C !== void 0 && (S(C), F = "" + C), je(x) && (S(x.key), F = "" + x.key), fe(x) && (oe = x.ref, re(x, U));
|
|
453
|
+
for ($ in x)
|
|
454
|
+
ve.call(x, $) && !J.hasOwnProperty($) && (H[$] = x[$]);
|
|
455
455
|
if (r && r.defaultProps) {
|
|
456
456
|
var Q = r.defaultProps;
|
|
457
|
-
for (
|
|
458
|
-
H[
|
|
457
|
+
for ($ in Q)
|
|
458
|
+
H[$] === void 0 && (H[$] = Q[$]);
|
|
459
459
|
}
|
|
460
|
-
if (
|
|
461
|
-
var
|
|
462
|
-
|
|
460
|
+
if (F || oe) {
|
|
461
|
+
var te = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
|
|
462
|
+
F && Je(H, te), oe && Be(H, te);
|
|
463
463
|
}
|
|
464
|
-
return be(r,
|
|
464
|
+
return be(r, F, oe, U, L, N.current, H);
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
var O = n.ReactCurrentOwner, z = n.ReactDebugCurrentFrame;
|
|
468
468
|
function k(r) {
|
|
469
469
|
if (r) {
|
|
470
|
-
var x = r._owner, C =
|
|
470
|
+
var x = r._owner, C = ke(r.type, r._source, x ? x.type : null);
|
|
471
471
|
z.setExtraStackFrame(C);
|
|
472
472
|
} else
|
|
473
473
|
z.setExtraStackFrame(null);
|
|
474
474
|
}
|
|
475
475
|
var le;
|
|
476
476
|
le = !1;
|
|
477
|
-
function
|
|
477
|
+
function ye(r) {
|
|
478
478
|
return typeof r == "object" && r !== null && r.$$typeof === t;
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function W() {
|
|
481
481
|
{
|
|
482
482
|
if (O.current) {
|
|
483
483
|
var r = ne(O.current.type);
|
|
@@ -489,13 +489,13 @@ Check the render method of \`` + r + "`.";
|
|
|
489
489
|
return "";
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
function
|
|
492
|
+
function X(r) {
|
|
493
493
|
return "";
|
|
494
494
|
}
|
|
495
495
|
var ht = {};
|
|
496
496
|
function Dt(r) {
|
|
497
497
|
{
|
|
498
|
-
var x =
|
|
498
|
+
var x = W();
|
|
499
499
|
if (!x) {
|
|
500
500
|
var C = typeof r == "string" ? r : r.displayName || r.name;
|
|
501
501
|
C && (x = `
|
|
@@ -522,22 +522,22 @@ Check the top-level render call using <` + C + ">.");
|
|
|
522
522
|
{
|
|
523
523
|
if (typeof r != "object")
|
|
524
524
|
return;
|
|
525
|
-
if (
|
|
525
|
+
if (_e(r))
|
|
526
526
|
for (var C = 0; C < r.length; C++) {
|
|
527
527
|
var L = r[C];
|
|
528
|
-
|
|
528
|
+
ye(L) && pt(L, x);
|
|
529
529
|
}
|
|
530
|
-
else if (
|
|
530
|
+
else if (ye(r))
|
|
531
531
|
r._store && (r._store.validated = !0);
|
|
532
532
|
else if (r) {
|
|
533
|
-
var
|
|
534
|
-
if (typeof
|
|
535
|
-
for (var
|
|
536
|
-
|
|
533
|
+
var U = v(r);
|
|
534
|
+
if (typeof U == "function" && U !== r.entries)
|
|
535
|
+
for (var $ = U.call(r), H; !(H = $.next()).done; )
|
|
536
|
+
ye(H.value) && pt(H.value, x);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function Pt(r) {
|
|
541
541
|
{
|
|
542
542
|
var x = r.type;
|
|
543
543
|
if (x == null || typeof x == "string")
|
|
@@ -556,13 +556,13 @@ Check the top-level render call using <` + C + ">.");
|
|
|
556
556
|
Ge(C, r.props, "prop", L, r);
|
|
557
557
|
} else if (x.PropTypes !== void 0 && !le) {
|
|
558
558
|
le = !0;
|
|
559
|
-
var
|
|
560
|
-
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
559
|
+
var U = ne(x);
|
|
560
|
+
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", U || "Unknown");
|
|
561
561
|
}
|
|
562
562
|
typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function Ft(r) {
|
|
566
566
|
{
|
|
567
567
|
for (var x = Object.keys(r.props), C = 0; C < x.length; C++) {
|
|
568
568
|
var L = x[C];
|
|
@@ -575,27 +575,27 @@ Check the top-level render call using <` + C + ">.");
|
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
var ft = {};
|
|
578
|
-
function xt(r, x, C, L,
|
|
578
|
+
function xt(r, x, C, L, U, $) {
|
|
579
579
|
{
|
|
580
580
|
var H = K(r);
|
|
581
581
|
if (!H) {
|
|
582
|
-
var
|
|
583
|
-
(r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (
|
|
584
|
-
var oe =
|
|
585
|
-
oe ?
|
|
582
|
+
var F = "";
|
|
583
|
+
(r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
584
|
+
var oe = X();
|
|
585
|
+
oe ? F += oe : F += W();
|
|
586
586
|
var Q;
|
|
587
|
-
r === null ? Q = "null" :
|
|
587
|
+
r === null ? Q = "null" : _e(r) ? Q = "array" : r !== void 0 && r.$$typeof === t ? (Q = "<" + (ne(r.type) || "Unknown") + " />", F = " Did you accidentally export a JSX literal instead of a component?") : Q = typeof r, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Q, F);
|
|
588
588
|
}
|
|
589
|
-
var
|
|
590
|
-
if (
|
|
591
|
-
return
|
|
589
|
+
var te = c(r, x, C, U, $);
|
|
590
|
+
if (te == null)
|
|
591
|
+
return te;
|
|
592
592
|
if (H) {
|
|
593
593
|
var he = x.children;
|
|
594
594
|
if (he !== void 0)
|
|
595
595
|
if (L)
|
|
596
|
-
if (
|
|
597
|
-
for (var
|
|
598
|
-
ut(he[
|
|
596
|
+
if (_e(he)) {
|
|
597
|
+
for (var Ye = 0; Ye < he.length; Ye++)
|
|
598
|
+
ut(he[Ye], r);
|
|
599
599
|
Object.freeze && Object.freeze(he);
|
|
600
600
|
} else
|
|
601
601
|
w("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,20 +603,20 @@ Check the top-level render call using <` + C + ">.");
|
|
|
603
603
|
ut(he, r);
|
|
604
604
|
}
|
|
605
605
|
if (ve.call(x, "key")) {
|
|
606
|
-
var
|
|
607
|
-
return
|
|
606
|
+
var De = ne(r), ae = Object.keys(x).filter(function(Gt) {
|
|
607
|
+
return Gt !== "key";
|
|
608
608
|
}), lt = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
609
|
-
if (!ft[
|
|
610
|
-
var
|
|
609
|
+
if (!ft[De + lt]) {
|
|
610
|
+
var $t = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
|
|
611
611
|
w(`A props object containing a "key" prop is being spread into JSX:
|
|
612
612
|
let props = %s;
|
|
613
613
|
<%s {...props} />
|
|
614
614
|
React keys must be passed directly to JSX without using spread:
|
|
615
615
|
let props = %s;
|
|
616
|
-
<%s key={someKey} {...props} />`, lt,
|
|
616
|
+
<%s key={someKey} {...props} />`, lt, De, $t, De), ft[De + lt] = !0;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
return r === i ?
|
|
619
|
+
return r === i ? Ft(te) : Pt(te), te;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
622
|
function Ht(r, x, C) {
|
|
@@ -639,13 +639,13 @@ const xr = {
|
|
|
639
639
|
primaryColorLight: "#6858c1",
|
|
640
640
|
secondaryColor: "#005a53",
|
|
641
641
|
tertiaryColor: "#FFFFFF"
|
|
642
|
-
}, gr = "M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z", mr = "M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z", vr = "M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z", jr = "M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z", br = "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z", yr = "M160 64c0-8.8 7.2-16 16-16s16 7.2 16 16V200c0 10.3 6.6 19.5 16.4 22.8s20.6-.1 26.8-8.3c3-3.9 7.6-6.4 12.8-6.4c8.8 0 16 7.2 16 16c0 10.3 6.6 19.5 16.4 22.8s20.6-.1 26.8-8.3c3-3.9 7.6-6.4 12.8-6.4c7.8 0 14.3 5.6 15.7 13c1.6 8.2 7.3 15.1 15.1 18s16.7 1.6 23.3-3.6c2.7-2.1 6.1-3.4 9.9-3.4c8.8 0 16 7.2 16 16l0 16V392c0 39.8-32.2 72-72 72H272 212.3h-.9c-37.4 0-72.4-18.7-93.2-49.9L50.7 312.9c-4.9-7.4-2.9-17.3 4.4-22.2s17.3-2.9 22.2 4.4L116 353.2c5.9 8.8 16.8 12.7 26.9 9.7s17-12.4 17-23V320 64zM176 0c-35.3 0-64 28.7-64 64V261.7C91.2 238 55.5 232.8 28.5 250.7C-.9 270.4-8.9 310.1 10.8 339.5L78.3 440.8c29.7 44.5 79.6 71.2 133.1 71.2h.9H272h56c66.3 0 120-53.7 120-120V288l0-16c0-35.3-28.7-64-64-64c-4.5 0-8.8 .5-13 1.3c-11.7-15.4-30.2-25.3-51-25.3c-6.9 0-13.5 1.1-19.7 3.1C288.7 170.7 269.6 160 248 160c-2.7 0-5.4 .2-8 .5V64c0-35.3-28.7-64-64-64zm48 304c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304zm48-16c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304c0-8.8-7.2-16-16-16zm80 16c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304z", wr = "M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z", Cr = "M160 0c17.7 0 32 14.3 32 32V67.7c1.6 .2 3.1 .4 4.7 .7c.4 .1 .7 .1 1.1 .2l48 8.8c17.4 3.2 28.9 19.9 25.7 37.2s-19.9 28.9-37.2 25.7l-47.5-8.7c-31.3-4.6-58.9-1.5-78.3 6.2s-27.2 18.3-29 28.1c-2 10.7-.5 16.7 1.2 20.4c1.8 3.9 5.5 8.3 12.8 13.2c16.3 10.7 41.3 17.7 73.7 26.3l2.9 .8c28.6 7.6 63.6 16.8 89.6 33.8c14.2 9.3 27.6 21.9 35.9 39.5c8.5 17.9 10.3 37.9 6.4 59.2c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.1c-.4-.1-.9-.1-1.3-.2l-.2 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.1-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.5 75.2 21.6c31.9 4.7 58.2 2 76-5.3c16.9-6.9 24.6-16.9 26.8-28.9c1.9-10.6 .4-16.7-1.3-20.4c-1.9-4-5.6-8.4-13-13.3c-16.4-10.7-41.5-17.7-74-26.3l-2.8-.7 0 0C119.4 279.3 84.4 270 58.4 253c-14.2-9.3-27.5-22-35.8-39.6c-8.4-17.9-10.1-37.9-6.1-59.2C23.7 116 52.3 91.2 84.8 78.3c13.3-5.3 27.9-8.9 43.2-11V32c0-17.7 14.3-32 32-32z", bt = "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z", yt = "M234.5 5.7c13.9-5 29.1-5 43.1 0l192 68.6C495 83.4 512 107.5 512 134.6V377.4c0 27-17 51.2-42.5 60.3l-192 68.6c-13.9 5-29.1 5-43.1 0l-192-68.6C17 428.6 0 404.5 0 377.4V134.6c0-27 17-51.2 42.5-60.3l192-68.6zM256 66L82.3 128 256 190l173.7-62L256 66zm32 368.6l160-57.1v-188L288 246.6v188z", dt = "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z", wt = "M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z", Sr = "M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 352h8.2c32.3-39.1 81.1-64 135.8-64c5.4 0 10.7 .2 16 .7V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM320 352H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H360.2C335.1 449.6 320 410.5 320 368c0-5.4 .2-10.7 .7-16l-.7 0zm320 16a144 144 0 1 0 -288 0 144 144 0 1 0 288 0zM496 288c8.8 0 16 7.2 16 16v48h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H496c-8.8 0-16-7.2-16-16V304c0-8.8 7.2-16 16-16z", kr = "M88.2 309.1c9.8-18.3 6.8-40.8-7.5-55.8C59.4 230.9 48 204 48 176c0-63.5 63.8-128 160-128s160 64.5 160 128s-63.8 128-160 128c-13.1 0-25.8-1.3-37.8-3.6c-10.4-2-21.2-.6-30.7 4.2c-4.1 2.1-8.3 4.1-12.6 6c-16 7.2-32.9 13.5-49.9 18c2.8-4.6 5.4-9.1 7.9-13.6c1.1-1.9 2.2-3.9 3.2-5.9zM0 176c0 41.8 17.2 80.1 45.9 110.3c-.9 1.7-1.9 3.5-2.8 5.1c-10.3 18.4-22.3 36.5-36.6 52.1c-6.6 7-8.3 17.2-4.6 25.9C5.8 378.3 14.4 384 24 384c43 0 86.5-13.3 122.7-29.7c4.8-2.2 9.6-4.5 14.2-6.8c15.1 3 30.9 4.5 47.1 4.5c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176zM432 480c16.2 0 31.9-1.6 47.1-4.5c4.6 2.3 9.4 4.6 14.2 6.8C529.5 498.7 573 512 616 512c9.6 0 18.2-5.7 22-14.5c3.8-8.8 2-19-4.6-25.9c-14.2-15.6-26.2-33.7-36.6-52.1c-.9-1.7-1.9-3.4-2.8-5.1C622.8 384.1 640 345.8 640 304c0-94.4-87.9-171.5-198.2-175.8c4.1 15.2 6.2 31.2 6.2 47.8l0 .6c87.2 6.7 144 67.5 144 127.4c0 28-11.4 54.9-32.7 77.2c-14.3 15-17.3 37.6-7.5 55.8c1.1 2 2.2 4 3.2 5.9c2.5 4.5 5.2 9 7.9 13.6c-17-4.5-33.9-10.7-49.9-18c-4.3-1.9-8.5-3.9-12.6-6c-9.5-4.8-20.3-6.2-30.7-4.2c-12.1 2.4-24.7 3.6-37.8 3.6c-61.7 0-110-26.5-136.8-62.3c-16 5.4-32.8 9.4-50 11.8C279 439.8 350 480 432 480z", Nr = "M323.8 34.8c-38.2-10.9-78.1 11.2-89 49.4l-5.7 20c-3.7 13-10.4 25-19.5 35l-51.3 56.4c-8.9 9.8-8.2 25 1.6 33.9s25 8.2 33.9-1.6l51.3-56.4c14.1-15.5 24.4-34 30.1-54.1l5.7-20c3.6-12.7 16.9-20.1 29.7-16.5s20.1 16.9 16.5 29.7l-5.7 20c-5.7 19.9-14.7 38.7-26.6 55.5c-5.2 7.3-5.8 16.9-1.7 24.9s12.3 13 21.3 13L448 224c8.8 0 16 7.2 16 16c0 6.8-4.3 12.7-10.4 15c-7.4 2.8-13 9-14.9 16.7s.1 15.8 5.3 21.7c2.5 2.8 4 6.5 4 10.6c0 7.8-5.6 14.3-13 15.7c-8.2 1.6-15.1 7.3-18 15.1s-1.6 16.7 3.6 23.3c2.1 2.7 3.4 6.1 3.4 9.9c0 6.7-4.2 12.6-10.2 14.9c-11.5 4.5-17.7 16.9-14.4 28.8c.4 1.3 .6 2.8 .6 4.3c0 8.8-7.2 16-16 16H286.5c-12.6 0-25-3.7-35.5-10.7l-61.7-41.1c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l61.7 41.1c18.4 12.3 40 18.8 62.1 18.8H384c34.7 0 62.9-27.6 64-62c14.6-11.7 24-29.7 24-50c0-4.5-.5-8.8-1.3-13c15.4-11.7 25.3-30.2 25.3-51c0-6.5-1-12.8-2.8-18.7C504.8 273.7 512 257.7 512 240c0-35.3-28.6-64-64-64l-92.3 0c4.7-10.4 8.7-21.2 11.8-32.2l5.7-20c10.9-38.2-11.2-78.1-49.4-89zM32 192c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H32z", Or = "M54.2 202.9C123.2 136.7 216.8 96 320 96s196.8 40.7 265.8 106.9c12.8 12.2 33 11.8 45.2-.9s11.8-33-.9-45.2C549.7 79.5 440.4 32 320 32S90.3 79.5 9.8 156.7C-2.9 169-3.3 189.2 8.9 202s32.5 13.2 45.2 .9zM320 256c56.8 0 108.6 21.1 148.2 56c13.3 11.7 33.5 10.4 45.2-2.8s10.4-33.5-2.8-45.2C459.8 219.2 393 192 320 192s-139.8 27.2-190.5 72c-13.3 11.7-14.5 31.9-2.8 45.2s31.9 14.5 45.2 2.8c39.5-34.9 91.3-56 148.2-56zm64 160a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z", Ct = "M123.6 391.3c12.9-9.4 29.6-11.8 44.6-6.4c26.5 9.6 56.2 15.1 87.8 15.1c124.7 0 208-80.5 208-160s-83.3-160-208-160S48 160.5 48 240c0 32 12.4 62.8 35.7 89.2c8.6 9.7 12.8 22.5 11.8 35.5c-1.4 18.1-5.7 34.7-11.3 49.4c17-7.9 31.1-16.7 39.4-22.7zM21.2 431.9c1.8-2.7 3.5-5.4 5.1-8.1c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208s-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6c-15.1 6.6-32.3 12.6-50.1 16.1c-.8 .2-1.6 .3-2.4 .5c-4.4 .8-8.7 1.5-13.2 1.9c-.2 0-.5 .1-.7 .1c-5.1 .5-10.2 .8-15.3 .8c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4c4.1-4.2 7.8-8.7 11.3-13.5c1.7-2.3 3.3-4.6 4.8-6.9c.1-.2 .2-.3 .3-.5z", St = "M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z", kt = "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z", Nt = "M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z", Ot = "M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8v-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5v3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20c0 0-.1-.1-.1-.1c0 0 0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5v3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2v-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z", Ar = "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z", At = "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z", It = "M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z", Tt = "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM164.1 325.5C182 346.2 212.6 368 256 368s74-21.8 91.9-42.5c5.8-6.7 15.9-7.4 22.6-1.6s7.4 15.9 1.6 22.6C349.8 372.1 311.1 400 256 400s-93.8-27.9-116.1-53.5c-5.8-6.7-5.1-16.8 1.6-22.6s16.8-5.1 22.6 1.6zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z", Et = "M48 256C48 141.1 141.1 48 256 48c63.1 0 119.6 28.1 157.8 72.5c8.6 10.1 23.8 11.2 33.8 2.6s11.2-23.8 2.6-33.8C403.3 34.6 333.7 0 256 0C114.6 0 0 114.6 0 256v40c0 13.3 10.7 24 24 24s24-10.7 24-24V256zm458.5-52.9c-2.7-13-15.5-21.3-28.4-18.5s-21.3 15.5-18.5 28.4c2.9 13.9 4.5 28.3 4.5 43.1v40c0 13.3 10.7 24 24 24s24-10.7 24-24V256c0-18.1-1.9-35.8-5.5-52.9zM256 80c-19 0-37.4 3-54.5 8.6c-15.2 5-18.7 23.7-8.3 35.9c7.1 8.3 18.8 10.8 29.4 7.9c10.6-2.9 21.8-4.4 33.4-4.4c70.7 0 128 57.3 128 128v24.9c0 25.2-1.5 50.3-4.4 75.3c-1.7 14.6 9.4 27.8 24.2 27.8c11.8 0 21.9-8.6 23.3-20.3c3.3-27.4 5-55 5-82.7V256c0-97.2-78.8-176-176-176zM150.7 148.7c-9.1-10.6-25.3-11.4-33.9-.4C93.7 178 80 215.4 80 256v24.9c0 24.2-2.6 48.4-7.8 71.9C68.8 368.4 80.1 384 96.1 384c10.5 0 19.9-7 22.2-17.3c6.4-28.1 9.7-56.8 9.7-85.8V256c0-27.2 8.5-52.4 22.9-73.1c7.2-10.4 8-24.6-.2-34.2zM256 160c-53 0-96 43-96 96v24.9c0 35.9-4.6 71.5-13.8 106.1c-3.8 14.3 6.7 29 21.5 29c9.5 0 17.9-6.2 20.4-15.4c10.5-39 15.9-79.2 15.9-119.7V256c0-28.7 23.3-52 52-52s52 23.3 52 52v24.9c0 36.3-3.5 72.4-10.4 107.9c-2.7 13.9 7.7 27.2 21.8 27.2c10.2 0 19-7 21-17c7.7-38.8 11.6-78.3 11.6-118.1V256c0-53-43-96-96-96zm24 96c0-13.3-10.7-24-24-24s-24 10.7-24 24v24.9c0 59.9-11 119.3-32.5 175.2l-5.9 15.3c-4.8 12.4 1.4 26.3 13.8 31s26.3-1.4 31-13.8l5.9-15.3C267.9 411.9 280 346.7 280 280.9V256z", Ir = "M315.4 15.5C309.7 5.9 299.2 0 288 0s-21.7 5.9-27.4 15.5l-96 160c-5.9 9.9-6.1 22.2-.4 32.2s16.3 16.2 27.8 16.2H384c11.5 0 22.2-6.2 27.8-16.2s5.5-22.3-.4-32.2l-96-160zM288 312V456c0 22.1 17.9 40 40 40H472c22.1 0 40-17.9 40-40V312c0-22.1-17.9-40-40-40H328c-22.1 0-40 17.9-40 40zM128 512a128 128 0 1 0 0-256 128 128 0 1 0 0 256z", Tr = "M116.7 219.4a15.7 15.7 0 0 0 22.7 0l96.8-99.8c28.2-29 26.5-77.1-4.9-103.9C203.8-7.7 163-3.5 137.9 22.4L128 32.6l-9.9-10.1C93.1-3.5 52.3-7.7 24.9 15.6c-31.4 26.8-33 74.9-5 103.9zm143.9 100.5h-48l-7.1-14.2a27.4 27.4 0 0 0 -25.7-17.8h-71.7a27.4 27.4 0 0 0 -25.7 17.8l-7 14.2h-48A27.5 27.5 0 0 0 0 347.3v137.3A27.4 27.4 0 0 0 27.4 512h233.1A27.5 27.5 0 0 0 288 484.6V347.3a27.5 27.5 0 0 0 -27.4-27.5zM144 468a52 52 0 1 1 52-52 52 52 0 0 1 -52 52zm355.4-115.9h-60.6l22.4-50.8c2.1-6.7-3.9-13.2-12.2-13.2h-75.6c-6.3 0-11.7 3.9-12.5 9.1l-16.8 106.9c-1 6.3 4.9 11.9 12.5 11.9h62.3l-24.2 83c-1.9 6.7 4.2 12.9 12.2 12.9a13.3 13.3 0 0 0 10.9-5.3l92.4-138.9c4.9-6.9-1.2-15.7-10.9-15.7zM478.1 .3L329.5 23.2C314.9 25.4 304 38.9 304 54.8V161.6a83.3 83.3 0 0 0 -16-1.7c-35.4 0-64 21.5-64 48s28.7 48 64 48c35.2 0 63.7-21.3 64-47.7V99.7l112-17.2v47.2a83.3 83.3 0 0 0 -16-1.7c-35.4 0-64 21.5-64 48s28.7 48 64 48c35.2 0 63.7-21.3 64-47.7V32c0-19.5-16-34.4-33.9-31.7z", Er = "M432 416h-23.4L277.9 53.7A32 32 0 0 0 247.6 32h-47.2a32 32 0 0 0 -30.3 21.7L39.4 416H16a16 16 0 0 0 -16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0 -16-16h-19.6l23.3-64h152.6l23.3 64H304a16 16 0 0 0 -16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0 -16-16zM176.9 272L224 142.5 271.2 272z", Mr = "M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z", zr = "M608 0H160a32 32 0 0 0 -32 32v96h160V64h192v320h128a32 32 0 0 0 32-32V32a32 32 0 0 0 -32-32zM232 103a9 9 0 0 1 -9 9h-30a9 9 0 0 1 -9-9V73a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm352 208a9 9 0 0 1 -9 9h-30a9 9 0 0 1 -9-9v-30a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm0-104a9 9 0 0 1 -9 9h-30a9 9 0 0 1 -9-9v-30a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm0-104a9 9 0 0 1 -9 9h-30a9 9 0 0 1 -9-9V73a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm-168 57H32a32 32 0 0 0 -32 32v288a32 32 0 0 0 32 32h384a32 32 0 0 0 32-32V192a32 32 0 0 0 -32-32zM96 224a32 32 0 1 1 -32 32 32 32 0 0 1 32-32zm288 224H64v-32l64-64 32 32 128-128 96 96z", Lr = "M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z", Rr = "M0 448V64h18v384H0zm26.9-.3V64H36v383.7h-9.1zm27.1 0V64h8.9v383.7H54zm44.9 0V64h8.9v383.7h-8.9zm36 0V64h17.7v383.7h-17.7zm44.9 0V64h8.9v383.7h-8.9zm18 0V64h8.9v383.7h-8.9zm18 0V64h8.9v383.7h-8.9zm35.7 0V64h18v383.7h-18zm44.9 0V64h18v383.7h-18zm36 0V64h18v383.7h-18zm36 0V64h18v383.7h-18zm26.9 0V64h18v383.7h-18zm45.1 0V64h26.9v383.7h-26.9zm35.7 0V64h9.1v383.7H476zm18 .3V64h18v384h-18z", _r = "M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z", Lt = "M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1 -32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1 -32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1 -32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.7 23.7 0 0 0 -21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0 -16-16z", Br = "M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z", Dr = "M576 128c0-35.3-28.7-64-64-64H205.3c-17 0-33.3 6.7-45.3 18.7L9.4 233.4c-6 6-9.4 14.1-9.4 22.6s3.4 16.6 9.4 22.6L160 429.3c12 12 28.3 18.7 45.3 18.7H512c35.3 0 64-28.7 64-64V128zM271 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z", Fr = "M 6 3.6 V 0 L 0 6 l 6 6 V 8 c 6 -0.27 7.53 3.76 7.88 5.77 a 0.27 0.27 0 0 0 0.53 0 C 17.08 2.86 6 3.6 6 3.6 Z", Pr = "M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z", Hr = "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z", Vr = "M254 52.8C249.3 40.3 237.3 32 224 32s-25.3 8.3-30 20.8L57.8 416 32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-1.8 0 18-48 159.6 0 18 48-1.8 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-25.8 0L254 52.8zM279.8 304l-111.6 0L224 155.1 279.8 304z", Ur = "M448 256c0-106-86-192-192-192l0 384c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z", Wr = "M256 0L576 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-320 0c-35.3 0-64-28.7-64-64l0-224c0-35.3 28.7-64 64-64zM476 106.7C471.5 100 464 96 456 96s-15.5 4-20 10.7l-56 84L362.7 169c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6l80 0 48 0 144 0c8.9 0 17-4.9 21.2-12.7s3.7-17.3-1.2-24.6l-96-144zM336 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM64 128l96 0 0 256 0 32c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-32 160 0 0 64c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192c0-35.3 28.7-64 64-64zm8 64c-8.8 0-16 7.2-16 16l0 16c0 8.8 7.2 16 16 16l16 0c8.8 0 16-7.2 16-16l0-16c0-8.8-7.2-16-16-16l-16 0zm0 104c-8.8 0-16 7.2-16 16l0 16c0 8.8 7.2 16 16 16l16 0c8.8 0 16-7.2 16-16l0-16c0-8.8-7.2-16-16-16l-16 0zm0 104c-8.8 0-16 7.2-16 16l0 16c0 8.8 7.2 16 16 16l16 0c8.8 0 16-7.2 16-16l0-16c0-8.8-7.2-16-16-16l-16 0zm336 16l0 16c0 8.8 7.2 16 16 16l16 0c8.8 0 16-7.2 16-16l0-16c0-8.8-7.2-16-16-16l-16 0c-8.8 0-16 7.2-16 16z", Gr = "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM184 232l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z", $r = "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344l0-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z", Rt = "M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z", Jr = "M134.1 296H436c6.6 0 12-5.4 12-12v-56c0-6.6-5.4-12-12-12H134.1v-46.1c0-21.4-25.9-32.1-41-17L7 239c-9.4 9.4-9.4 24.6 0 33.9l86.1 86.1c15.1 15.1 41 4.4 41-17V296z", Yr = "apcDB", Ne = "APCObjectStore", Kr = 1;
|
|
642
|
+
}, gr = "M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z", mr = "M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z", vr = "M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z", jr = "M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z", br = "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z", yr = "M160 64c0-8.8 7.2-16 16-16s16 7.2 16 16V200c0 10.3 6.6 19.5 16.4 22.8s20.6-.1 26.8-8.3c3-3.9 7.6-6.4 12.8-6.4c8.8 0 16 7.2 16 16c0 10.3 6.6 19.5 16.4 22.8s20.6-.1 26.8-8.3c3-3.9 7.6-6.4 12.8-6.4c7.8 0 14.3 5.6 15.7 13c1.6 8.2 7.3 15.1 15.1 18s16.7 1.6 23.3-3.6c2.7-2.1 6.1-3.4 9.9-3.4c8.8 0 16 7.2 16 16l0 16V392c0 39.8-32.2 72-72 72H272 212.3h-.9c-37.4 0-72.4-18.7-93.2-49.9L50.7 312.9c-4.9-7.4-2.9-17.3 4.4-22.2s17.3-2.9 22.2 4.4L116 353.2c5.9 8.8 16.8 12.7 26.9 9.7s17-12.4 17-23V320 64zM176 0c-35.3 0-64 28.7-64 64V261.7C91.2 238 55.5 232.8 28.5 250.7C-.9 270.4-8.9 310.1 10.8 339.5L78.3 440.8c29.7 44.5 79.6 71.2 133.1 71.2h.9H272h56c66.3 0 120-53.7 120-120V288l0-16c0-35.3-28.7-64-64-64c-4.5 0-8.8 .5-13 1.3c-11.7-15.4-30.2-25.3-51-25.3c-6.9 0-13.5 1.1-19.7 3.1C288.7 170.7 269.6 160 248 160c-2.7 0-5.4 .2-8 .5V64c0-35.3-28.7-64-64-64zm48 304c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304zm48-16c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304c0-8.8-7.2-16-16-16zm80 16c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304z", wr = "M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z", Cr = "M160 0c17.7 0 32 14.3 32 32V67.7c1.6 .2 3.1 .4 4.7 .7c.4 .1 .7 .1 1.1 .2l48 8.8c17.4 3.2 28.9 19.9 25.7 37.2s-19.9 28.9-37.2 25.7l-47.5-8.7c-31.3-4.6-58.9-1.5-78.3 6.2s-27.2 18.3-29 28.1c-2 10.7-.5 16.7 1.2 20.4c1.8 3.9 5.5 8.3 12.8 13.2c16.3 10.7 41.3 17.7 73.7 26.3l2.9 .8c28.6 7.6 63.6 16.8 89.6 33.8c14.2 9.3 27.6 21.9 35.9 39.5c8.5 17.9 10.3 37.9 6.4 59.2c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.1c-.4-.1-.9-.1-1.3-.2l-.2 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.1-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.5 75.2 21.6c31.9 4.7 58.2 2 76-5.3c16.9-6.9 24.6-16.9 26.8-28.9c1.9-10.6 .4-16.7-1.3-20.4c-1.9-4-5.6-8.4-13-13.3c-16.4-10.7-41.5-17.7-74-26.3l-2.8-.7 0 0C119.4 279.3 84.4 270 58.4 253c-14.2-9.3-27.5-22-35.8-39.6c-8.4-17.9-10.1-37.9-6.1-59.2C23.7 116 52.3 91.2 84.8 78.3c13.3-5.3 27.9-8.9 43.2-11V32c0-17.7 14.3-32 32-32z", bt = "M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z", yt = "M234.5 5.7c13.9-5 29.1-5 43.1 0l192 68.6C495 83.4 512 107.5 512 134.6V377.4c0 27-17 51.2-42.5 60.3l-192 68.6c-13.9 5-29.1 5-43.1 0l-192-68.6C17 428.6 0 404.5 0 377.4V134.6c0-27 17-51.2 42.5-60.3l192-68.6zM256 66L82.3 128 256 190l173.7-62L256 66zm32 368.6l160-57.1v-188L288 246.6v188z", dt = "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z", wt = "M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z", Sr = "M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 352h8.2c32.3-39.1 81.1-64 135.8-64c5.4 0 10.7 .2 16 .7V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM320 352H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H360.2C335.1 449.6 320 410.5 320 368c0-5.4 .2-10.7 .7-16l-.7 0zm320 16a144 144 0 1 0 -288 0 144 144 0 1 0 288 0zM496 288c8.8 0 16 7.2 16 16v48h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H496c-8.8 0-16-7.2-16-16V304c0-8.8 7.2-16 16-16z", kr = "M88.2 309.1c9.8-18.3 6.8-40.8-7.5-55.8C59.4 230.9 48 204 48 176c0-63.5 63.8-128 160-128s160 64.5 160 128s-63.8 128-160 128c-13.1 0-25.8-1.3-37.8-3.6c-10.4-2-21.2-.6-30.7 4.2c-4.1 2.1-8.3 4.1-12.6 6c-16 7.2-32.9 13.5-49.9 18c2.8-4.6 5.4-9.1 7.9-13.6c1.1-1.9 2.2-3.9 3.2-5.9zM0 176c0 41.8 17.2 80.1 45.9 110.3c-.9 1.7-1.9 3.5-2.8 5.1c-10.3 18.4-22.3 36.5-36.6 52.1c-6.6 7-8.3 17.2-4.6 25.9C5.8 378.3 14.4 384 24 384c43 0 86.5-13.3 122.7-29.7c4.8-2.2 9.6-4.5 14.2-6.8c15.1 3 30.9 4.5 47.1 4.5c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176zM432 480c16.2 0 31.9-1.6 47.1-4.5c4.6 2.3 9.4 4.6 14.2 6.8C529.5 498.7 573 512 616 512c9.6 0 18.2-5.7 22-14.5c3.8-8.8 2-19-4.6-25.9c-14.2-15.6-26.2-33.7-36.6-52.1c-.9-1.7-1.9-3.4-2.8-5.1C622.8 384.1 640 345.8 640 304c0-94.4-87.9-171.5-198.2-175.8c4.1 15.2 6.2 31.2 6.2 47.8l0 .6c87.2 6.7 144 67.5 144 127.4c0 28-11.4 54.9-32.7 77.2c-14.3 15-17.3 37.6-7.5 55.8c1.1 2 2.2 4 3.2 5.9c2.5 4.5 5.2 9 7.9 13.6c-17-4.5-33.9-10.7-49.9-18c-4.3-1.9-8.5-3.9-12.6-6c-9.5-4.8-20.3-6.2-30.7-4.2c-12.1 2.4-24.7 3.6-37.8 3.6c-61.7 0-110-26.5-136.8-62.3c-16 5.4-32.8 9.4-50 11.8C279 439.8 350 480 432 480z", Nr = "M323.8 34.8c-38.2-10.9-78.1 11.2-89 49.4l-5.7 20c-3.7 13-10.4 25-19.5 35l-51.3 56.4c-8.9 9.8-8.2 25 1.6 33.9s25 8.2 33.9-1.6l51.3-56.4c14.1-15.5 24.4-34 30.1-54.1l5.7-20c3.6-12.7 16.9-20.1 29.7-16.5s20.1 16.9 16.5 29.7l-5.7 20c-5.7 19.9-14.7 38.7-26.6 55.5c-5.2 7.3-5.8 16.9-1.7 24.9s12.3 13 21.3 13L448 224c8.8 0 16 7.2 16 16c0 6.8-4.3 12.7-10.4 15c-7.4 2.8-13 9-14.9 16.7s.1 15.8 5.3 21.7c2.5 2.8 4 6.5 4 10.6c0 7.8-5.6 14.3-13 15.7c-8.2 1.6-15.1 7.3-18 15.1s-1.6 16.7 3.6 23.3c2.1 2.7 3.4 6.1 3.4 9.9c0 6.7-4.2 12.6-10.2 14.9c-11.5 4.5-17.7 16.9-14.4 28.8c.4 1.3 .6 2.8 .6 4.3c0 8.8-7.2 16-16 16H286.5c-12.6 0-25-3.7-35.5-10.7l-61.7-41.1c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l61.7 41.1c18.4 12.3 40 18.8 62.1 18.8H384c34.7 0 62.9-27.6 64-62c14.6-11.7 24-29.7 24-50c0-4.5-.5-8.8-1.3-13c15.4-11.7 25.3-30.2 25.3-51c0-6.5-1-12.8-2.8-18.7C504.8 273.7 512 257.7 512 240c0-35.3-28.6-64-64-64l-92.3 0c4.7-10.4 8.7-21.2 11.8-32.2l5.7-20c10.9-38.2-11.2-78.1-49.4-89zM32 192c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H32z", Or = "M54.2 202.9C123.2 136.7 216.8 96 320 96s196.8 40.7 265.8 106.9c12.8 12.2 33 11.8 45.2-.9s11.8-33-.9-45.2C549.7 79.5 440.4 32 320 32S90.3 79.5 9.8 156.7C-2.9 169-3.3 189.2 8.9 202s32.5 13.2 45.2 .9zM320 256c56.8 0 108.6 21.1 148.2 56c13.3 11.7 33.5 10.4 45.2-2.8s10.4-33.5-2.8-45.2C459.8 219.2 393 192 320 192s-139.8 27.2-190.5 72c-13.3 11.7-14.5 31.9-2.8 45.2s31.9 14.5 45.2 2.8c39.5-34.9 91.3-56 148.2-56zm64 160a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z", Ct = "M123.6 391.3c12.9-9.4 29.6-11.8 44.6-6.4c26.5 9.6 56.2 15.1 87.8 15.1c124.7 0 208-80.5 208-160s-83.3-160-208-160S48 160.5 48 240c0 32 12.4 62.8 35.7 89.2c8.6 9.7 12.8 22.5 11.8 35.5c-1.4 18.1-5.7 34.7-11.3 49.4c17-7.9 31.1-16.7 39.4-22.7zM21.2 431.9c1.8-2.7 3.5-5.4 5.1-8.1c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208s-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6c-15.1 6.6-32.3 12.6-50.1 16.1c-.8 .2-1.6 .3-2.4 .5c-4.4 .8-8.7 1.5-13.2 1.9c-.2 0-.5 .1-.7 .1c-5.1 .5-10.2 .8-15.3 .8c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4c4.1-4.2 7.8-8.7 11.3-13.5c1.7-2.3 3.3-4.6 4.8-6.9c.1-.2 .2-.3 .3-.5z", St = "M0 24C0 10.7 10.7 0 24 0H69.5c22 0 41.5 12.8 50.6 32h411c26.3 0 45.5 25 38.6 50.4l-41 152.3c-8.5 31.4-37 53.3-69.5 53.3H170.7l5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z", kt = "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z", Nt = "M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z", Ot = "M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8v-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5v3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20c0 0-.1-.1-.1-.1c0 0 0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5v3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2v-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z", Ar = "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z", At = "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z", It = "M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z", Tt = "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM164.1 325.5C182 346.2 212.6 368 256 368s74-21.8 91.9-42.5c5.8-6.7 15.9-7.4 22.6-1.6s7.4 15.9 1.6 22.6C349.8 372.1 311.1 400 256 400s-93.8-27.9-116.1-53.5c-5.8-6.7-5.1-16.8 1.6-22.6s16.8-5.1 22.6 1.6zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z", Et = "M48 256C48 141.1 141.1 48 256 48c63.1 0 119.6 28.1 157.8 72.5c8.6 10.1 23.8 11.2 33.8 2.6s11.2-23.8 2.6-33.8C403.3 34.6 333.7 0 256 0C114.6 0 0 114.6 0 256v40c0 13.3 10.7 24 24 24s24-10.7 24-24V256zm458.5-52.9c-2.7-13-15.5-21.3-28.4-18.5s-21.3 15.5-18.5 28.4c2.9 13.9 4.5 28.3 4.5 43.1v40c0 13.3 10.7 24 24 24s24-10.7 24-24V256c0-18.1-1.9-35.8-5.5-52.9zM256 80c-19 0-37.4 3-54.5 8.6c-15.2 5-18.7 23.7-8.3 35.9c7.1 8.3 18.8 10.8 29.4 7.9c10.6-2.9 21.8-4.4 33.4-4.4c70.7 0 128 57.3 128 128v24.9c0 25.2-1.5 50.3-4.4 75.3c-1.7 14.6 9.4 27.8 24.2 27.8c11.8 0 21.9-8.6 23.3-20.3c3.3-27.4 5-55 5-82.7V256c0-97.2-78.8-176-176-176zM150.7 148.7c-9.1-10.6-25.3-11.4-33.9-.4C93.7 178 80 215.4 80 256v24.9c0 24.2-2.6 48.4-7.8 71.9C68.8 368.4 80.1 384 96.1 384c10.5 0 19.9-7 22.2-17.3c6.4-28.1 9.7-56.8 9.7-85.8V256c0-27.2 8.5-52.4 22.9-73.1c7.2-10.4 8-24.6-.2-34.2zM256 160c-53 0-96 43-96 96v24.9c0 35.9-4.6 71.5-13.8 106.1c-3.8 14.3 6.7 29 21.5 29c9.5 0 17.9-6.2 20.4-15.4c10.5-39 15.9-79.2 15.9-119.7V256c0-28.7 23.3-52 52-52s52 23.3 52 52v24.9c0 36.3-3.5 72.4-10.4 107.9c-2.7 13.9 7.7 27.2 21.8 27.2c10.2 0 19-7 21-17c7.7-38.8 11.6-78.3 11.6-118.1V256c0-53-43-96-96-96zm24 96c0-13.3-10.7-24-24-24s-24 10.7-24 24v24.9c0 59.9-11 119.3-32.5 175.2l-5.9 15.3c-4.8 12.4 1.4 26.3 13.8 31s26.3-1.4 31-13.8l5.9-15.3C267.9 411.9 280 346.7 280 280.9V256z", Ir = "M315.4 15.5C309.7 5.9 299.2 0 288 0s-21.7 5.9-27.4 15.5l-96 160c-5.9 9.9-6.1 22.2-.4 32.2s16.3 16.2 27.8 16.2H384c11.5 0 22.2-6.2 27.8-16.2s5.5-22.3-.4-32.2l-96-160zM288 312V456c0 22.1 17.9 40 40 40H472c22.1 0 40-17.9 40-40V312c0-22.1-17.9-40-40-40H328c-22.1 0-40 17.9-40 40zM128 512a128 128 0 1 0 0-256 128 128 0 1 0 0 256z", Tr = "M116.7 219.4a15.7 15.7 0 0 0 22.7 0l96.8-99.8c28.2-29 26.5-77.1-4.9-103.9C203.8-7.7 163-3.5 137.9 22.4L128 32.6l-9.9-10.1C93.1-3.5 52.3-7.7 24.9 15.6c-31.4 26.8-33 74.9-5 103.9zm143.9 100.5h-48l-7.1-14.2a27.4 27.4 0 0 0 -25.7-17.8h-71.7a27.4 27.4 0 0 0 -25.7 17.8l-7 14.2h-48A27.5 27.5 0 0 0 0 347.3v137.3A27.4 27.4 0 0 0 27.4 512h233.1A27.5 27.5 0 0 0 288 484.6V347.3a27.5 27.5 0 0 0 -27.4-27.5zM144 468a52 52 0 1 1 52-52 52 52 0 0 1 -52 52zm355.4-115.9h-60.6l22.4-50.8c2.1-6.7-3.9-13.2-12.2-13.2h-75.6c-6.3 0-11.7 3.9-12.5 9.1l-16.8 106.9c-1 6.3 4.9 11.9 12.5 11.9h62.3l-24.2 83c-1.9 6.7 4.2 12.9 12.2 12.9a13.3 13.3 0 0 0 10.9-5.3l92.4-138.9c4.9-6.9-1.2-15.7-10.9-15.7zM478.1 .3L329.5 23.2C314.9 25.4 304 38.9 304 54.8V161.6a83.3 83.3 0 0 0 -16-1.7c-35.4 0-64 21.5-64 48s28.7 48 64 48c35.2 0 63.7-21.3 64-47.7V99.7l112-17.2v47.2a83.3 83.3 0 0 0 -16-1.7c-35.4 0-64 21.5-64 48s28.7 48 64 48c35.2 0 63.7-21.3 64-47.7V32c0-19.5-16-34.4-33.9-31.7z", Er = "M432 416h-23.4L277.9 53.7A32 32 0 0 0 247.6 32h-47.2a32 32 0 0 0 -30.3 21.7L39.4 416H16a16 16 0 0 0 -16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0 -16-16h-19.6l23.3-64h152.6l23.3 64H304a16 16 0 0 0 -16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0 -16-16zM176.9 272L224 142.5 271.2 272z", Mr = "M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z", zr = "M608 0H160a32 32 0 0 0 -32 32v96h160V64h192v320h128a32 32 0 0 0 32-32V32a32 32 0 0 0 -32-32zM232 103a9 9 0 0 1 -9 9h-30a9 9 0 0 1 -9-9V73a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm352 208a9 9 0 0 1 -9 9h-30a9 9 0 0 1 -9-9v-30a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm0-104a9 9 0 0 1 -9 9h-30a9 9 0 0 1 -9-9v-30a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm0-104a9 9 0 0 1 -9 9h-30a9 9 0 0 1 -9-9V73a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm-168 57H32a32 32 0 0 0 -32 32v288a32 32 0 0 0 32 32h384a32 32 0 0 0 32-32V192a32 32 0 0 0 -32-32zM96 224a32 32 0 1 1 -32 32 32 32 0 0 1 32-32zm288 224H64v-32l64-64 32 32 128-128 96 96z", Lr = "M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z", Rr = "M0 448V64h18v384H0zm26.9-.3V64H36v383.7h-9.1zm27.1 0V64h8.9v383.7H54zm44.9 0V64h8.9v383.7h-8.9zm36 0V64h17.7v383.7h-17.7zm44.9 0V64h8.9v383.7h-8.9zm18 0V64h8.9v383.7h-8.9zm18 0V64h8.9v383.7h-8.9zm35.7 0V64h18v383.7h-18zm44.9 0V64h18v383.7h-18zm36 0V64h18v383.7h-18zm36 0V64h18v383.7h-18zm26.9 0V64h18v383.7h-18zm45.1 0V64h26.9v383.7h-26.9zm35.7 0V64h9.1v383.7H476zm18 .3V64h18v384h-18z", _r = "M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z", Lt = "M32 464a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128H32zm272-256a16 16 0 0 1 32 0v224a16 16 0 0 1 -32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1 -32 0zm-96 0a16 16 0 0 1 32 0v224a16 16 0 0 1 -32 0zM432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.7 23.7 0 0 0 -21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0 -16-16z", Br = "M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z", Dr = "M576 128c0-35.3-28.7-64-64-64H205.3c-17 0-33.3 6.7-45.3 18.7L9.4 233.4c-6 6-9.4 14.1-9.4 22.6s3.4 16.6 9.4 22.6L160 429.3c12 12 28.3 18.7 45.3 18.7H512c35.3 0 64-28.7 64-64V128zM271 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z", Pr = "M 6 3.6 V 0 L 0 6 l 6 6 V 8 c 6 -0.27 7.53 3.76 7.88 5.77 a 0.27 0.27 0 0 0 0.53 0 C 17.08 2.86 6 3.6 6 3.6 Z", Fr = "M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z", Hr = "M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z", Vr = "M254 52.8C249.3 40.3 237.3 32 224 32s-25.3 8.3-30 20.8L57.8 416 32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-1.8 0 18-48 159.6 0 18 48-1.8 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-25.8 0L254 52.8zM279.8 304l-111.6 0L224 155.1 279.8 304z", Ur = "M448 256c0-106-86-192-192-192l0 384c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z", Wr = "M256 0L576 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-320 0c-35.3 0-64-28.7-64-64l0-224c0-35.3 28.7-64 64-64zM476 106.7C471.5 100 464 96 456 96s-15.5 4-20 10.7l-56 84L362.7 169c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6l80 0 48 0 144 0c8.9 0 17-4.9 21.2-12.7s3.7-17.3-1.2-24.6l-96-144zM336 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM64 128l96 0 0 256 0 32c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-32 160 0 0 64c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192c0-35.3 28.7-64 64-64zm8 64c-8.8 0-16 7.2-16 16l0 16c0 8.8 7.2 16 16 16l16 0c8.8 0 16-7.2 16-16l0-16c0-8.8-7.2-16-16-16l-16 0zm0 104c-8.8 0-16 7.2-16 16l0 16c0 8.8 7.2 16 16 16l16 0c8.8 0 16-7.2 16-16l0-16c0-8.8-7.2-16-16-16l-16 0zm0 104c-8.8 0-16 7.2-16 16l0 16c0 8.8 7.2 16 16 16l16 0c8.8 0 16-7.2 16-16l0-16c0-8.8-7.2-16-16-16l-16 0zm336 16l0 16c0 8.8 7.2 16 16 16l16 0c8.8 0 16-7.2 16-16l0-16c0-8.8-7.2-16-16-16l-16 0c-8.8 0-16 7.2-16 16z", $r = "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM184 232l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z", Gr = "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344l0-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z", Rt = "M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z", Jr = "M134.1 296H436c6.6 0 12-5.4 12-12v-56c0-6.6-5.4-12-12-12H134.1v-46.1c0-21.4-25.9-32.1-41-17L7 239c-9.4 9.4-9.4 24.6 0 33.9l86.1 86.1c15.1 15.1 41 4.4 41-17V296z", Yr = "apcDB", Oe = "APCObjectStore", Kr = 1;
|
|
643
643
|
function ot() {
|
|
644
644
|
return new Promise((y, t) => {
|
|
645
645
|
const o = indexedDB.open(Yr, Kr);
|
|
646
646
|
o.onupgradeneeded = function(i) {
|
|
647
647
|
let l = i.target.result, u;
|
|
648
|
-
l.objectStoreNames.contains(
|
|
648
|
+
l.objectStoreNames.contains(Oe) ? u = o.transaction.objectStore(Oe) : u = l.createObjectStore(Oe, { keyPath: "id" }), u.indexNames.contains("nameIndex") || u.createIndex("nameIndex", "name", { unique: !1 });
|
|
649
649
|
}, o.onsuccess = function(i) {
|
|
650
650
|
y(i.target.result);
|
|
651
651
|
}, o.onerror = function(i) {
|
|
@@ -653,27 +653,27 @@ function ot() {
|
|
|
653
653
|
};
|
|
654
654
|
});
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function Pe(y, t, o, i) {
|
|
657
657
|
return ot().then((l) => new Promise((u, f) => {
|
|
658
658
|
const d = l.transaction(["APCObjectStore"], "readwrite"), j = d.objectStore("APCObjectStore"), a = { id: y, classification: t, content: o, misc: i }, m = j.put(a);
|
|
659
659
|
m.onsuccess = () => u(m.result), m.onerror = () => f(m.error), d.oncomplete = () => l.close();
|
|
660
660
|
}));
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function Xe(y) {
|
|
663
663
|
return ot().then((t) => new Promise((o, i) => {
|
|
664
|
-
const l = t.transaction([
|
|
664
|
+
const l = t.transaction([Oe], "readonly"), f = l.objectStore(Oe).get(y);
|
|
665
665
|
f.onsuccess = () => o(f.result), f.onerror = () => i(f.error), l.oncomplete = () => t.close();
|
|
666
666
|
}));
|
|
667
667
|
}
|
|
668
668
|
function Xr(y) {
|
|
669
669
|
return ot().then((t) => new Promise((o, i) => {
|
|
670
|
-
const l = t.transaction([
|
|
670
|
+
const l = t.transaction([Oe], "readwrite"), f = l.objectStore(Oe).delete(y);
|
|
671
671
|
f.onsuccess = () => o(), f.onerror = () => i(f.error), l.oncomplete = () => t.close();
|
|
672
672
|
}));
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function Ee(y = null) {
|
|
675
675
|
return ot().then((t) => new Promise((o, i) => {
|
|
676
|
-
const l = t.transaction([
|
|
676
|
+
const l = t.transaction([Oe], "readonly"), f = l.objectStore(Oe).openCursor(), d = [];
|
|
677
677
|
f.onsuccess = (j) => {
|
|
678
678
|
const a = j.target.result;
|
|
679
679
|
a ? ((!y || y(a.value)) && d.push(a.value), a.continue()) : o(d);
|
|
@@ -694,20 +694,20 @@ function Qr(y) {
|
|
|
694
694
|
const A = () => {
|
|
695
695
|
v(!0);
|
|
696
696
|
const I = `${_}/search-designs-images/${s}`;
|
|
697
|
-
|
|
697
|
+
we.get(I).then((T) => {
|
|
698
698
|
v(!1), T.data.object.length > 0 ? b(T.data) : w("No matching results found");
|
|
699
699
|
}).catch((T) => {
|
|
700
700
|
v(!1), console.error("Error fetching data:", T);
|
|
701
701
|
});
|
|
702
702
|
}, R = (I) => {
|
|
703
703
|
const T = _ + "/find-public-design/" + I;
|
|
704
|
-
|
|
704
|
+
we.get(T).then((V) => {
|
|
705
705
|
const { object: K } = V == null ? void 0 : V.data;
|
|
706
706
|
K && (window.location.href = `/design-center/${K.pdid}`);
|
|
707
707
|
}).catch((V) => {
|
|
708
708
|
console.error("Error fetching data:", V);
|
|
709
709
|
});
|
|
710
|
-
},
|
|
710
|
+
}, P = () => p ? p.object.map((I, T) => /* @__PURE__ */ e.jsx(E.Fragment, { children: /* @__PURE__ */ e.jsxs(
|
|
711
711
|
"div",
|
|
712
712
|
{
|
|
713
713
|
style: {
|
|
@@ -788,7 +788,7 @@ function Qr(y) {
|
|
|
788
788
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
789
789
|
" ",
|
|
790
790
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
791
|
-
|
|
791
|
+
P()
|
|
792
792
|
] });
|
|
793
793
|
}
|
|
794
794
|
const qr = {
|
|
@@ -1181,12 +1181,67 @@ function on({ apcCanvasInstance: y, theme: t }) {
|
|
|
1181
1181
|
);
|
|
1182
1182
|
}
|
|
1183
1183
|
function it(y) {
|
|
1184
|
-
const { featureText: t } = y;
|
|
1185
|
-
return /* @__PURE__ */ e.jsxs("div", {
|
|
1186
|
-
|
|
1187
|
-
"
|
|
1188
|
-
|
|
1189
|
-
|
|
1184
|
+
const { featureText: t, theme: o, featureName: i } = y;
|
|
1185
|
+
return /* @__PURE__ */ e.jsxs("div", { className: "premium-feature-container", style: {
|
|
1186
|
+
padding: "20px",
|
|
1187
|
+
backgroundColor: "#f8f9fa",
|
|
1188
|
+
borderRadius: "8px",
|
|
1189
|
+
boxShadow: "0 2px 10px rgba(0,0,0,0.05)",
|
|
1190
|
+
textAlign: "center",
|
|
1191
|
+
maxWidth: "400px",
|
|
1192
|
+
margin: "0 auto"
|
|
1193
|
+
}, children: [
|
|
1194
|
+
/* @__PURE__ */ e.jsx("div", { style: { marginBottom: "16px" }, children: /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "48", height: "48", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", style: { color: "#ffc107" }, children: [
|
|
1195
|
+
/* @__PURE__ */ e.jsx("path", { d: "M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z" }),
|
|
1196
|
+
/* @__PURE__ */ e.jsx("line", { x1: "7", y1: "7", x2: "7.01", y2: "7" })
|
|
1197
|
+
] }) }),
|
|
1198
|
+
/* @__PURE__ */ e.jsx("h3", { style: {
|
|
1199
|
+
color: "#333",
|
|
1200
|
+
fontSize: "18px",
|
|
1201
|
+
fontWeight: "600",
|
|
1202
|
+
marginBottom: "12px"
|
|
1203
|
+
}, children: i ?? "Premium Feature Access" }),
|
|
1204
|
+
/* @__PURE__ */ e.jsx("p", { style: {
|
|
1205
|
+
color: "#555",
|
|
1206
|
+
fontSize: "15px",
|
|
1207
|
+
lineHeight: "1.5",
|
|
1208
|
+
marginBottom: "20px"
|
|
1209
|
+
}, children: t ?? "This advanced feature requires a premium subscription to access." }),
|
|
1210
|
+
/* @__PURE__ */ e.jsxs(
|
|
1211
|
+
"a",
|
|
1212
|
+
{
|
|
1213
|
+
href: "https://mypixia.com/developer",
|
|
1214
|
+
target: "_blank",
|
|
1215
|
+
rel: "noopener noreferrer",
|
|
1216
|
+
style: {
|
|
1217
|
+
display: "inline-flex",
|
|
1218
|
+
alignItems: "center",
|
|
1219
|
+
justifyContent: "center",
|
|
1220
|
+
backgroundColor: o.primaryColor,
|
|
1221
|
+
color: "white",
|
|
1222
|
+
padding: "10px 20px",
|
|
1223
|
+
borderRadius: "4px",
|
|
1224
|
+
textDecoration: "none",
|
|
1225
|
+
fontWeight: "500",
|
|
1226
|
+
transition: "background-color 0.2s ease"
|
|
1227
|
+
},
|
|
1228
|
+
onMouseOver: (l) => l.currentTarget.style.backgroundColor = "#3a45bf",
|
|
1229
|
+
onMouseOut: (l) => l.currentTarget.style.backgroundColor = "#4c5bf2",
|
|
1230
|
+
children: [
|
|
1231
|
+
/* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", style: { marginRight: "8px" }, children: [
|
|
1232
|
+
/* @__PURE__ */ e.jsx("path", { d: "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z" }),
|
|
1233
|
+
/* @__PURE__ */ e.jsx("path", { d: "M12 8v8" }),
|
|
1234
|
+
/* @__PURE__ */ e.jsx("path", { d: "M8 12h8" })
|
|
1235
|
+
] }),
|
|
1236
|
+
"Get API Key"
|
|
1237
|
+
]
|
|
1238
|
+
}
|
|
1239
|
+
),
|
|
1240
|
+
/* @__PURE__ */ e.jsx("p", { style: {
|
|
1241
|
+
fontSize: "13px",
|
|
1242
|
+
color: "#777",
|
|
1243
|
+
marginTop: "16px"
|
|
1244
|
+
}, children: "Unlock premium design features to create your perfect custom product" })
|
|
1190
1245
|
] });
|
|
1191
1246
|
}
|
|
1192
1247
|
function ct() {
|
|
@@ -1210,7 +1265,7 @@ function cn(y) {
|
|
|
1210
1265
|
const _ = () => {
|
|
1211
1266
|
m(!0);
|
|
1212
1267
|
const T = `${w}/get-subscription-status/${i}`;
|
|
1213
|
-
|
|
1268
|
+
we.get(T).then((V) => {
|
|
1214
1269
|
V.data.object && V.data.object === "active" && (sessionStorage.setItem("apc_x_sub_status", "active"), g(!0));
|
|
1215
1270
|
}).catch((V) => {
|
|
1216
1271
|
sessionStorage.setItem("apc_x_sub_status", "");
|
|
@@ -1222,7 +1277,7 @@ function cn(y) {
|
|
|
1222
1277
|
const T = {
|
|
1223
1278
|
"X-Api-Key": i
|
|
1224
1279
|
}, V = `${w}/get-images/${d}`;
|
|
1225
|
-
|
|
1280
|
+
we.get(V, { headers: T }).then((K) => {
|
|
1226
1281
|
var Y;
|
|
1227
1282
|
m(!1), b((Y = K.data) == null ? void 0 : Y.object);
|
|
1228
1283
|
}).catch((K) => {
|
|
@@ -1238,7 +1293,7 @@ function cn(y) {
|
|
|
1238
1293
|
scaleY: 0.3
|
|
1239
1294
|
}), t.add(K);
|
|
1240
1295
|
}), u && f(!0);
|
|
1241
|
-
},
|
|
1296
|
+
}, P = () => p ? /* @__PURE__ */ e.jsx("div", { children: p.map((T) => /* @__PURE__ */ e.jsx("div", { onClick: () => R(T.urls.regular), style: { cursor: "pointer" }, children: /* @__PURE__ */ e.jsx("img", { height: 300, width: 300, src: T.urls.regular, alt: T.description || "No description" }) }, T.id)) }) : null, I = () => !s && !a && h ? /* @__PURE__ */ e.jsx(it, { theme: o, isPartial: !0, featureName: "AI image generation or search" }) : s && !a && h ? /* @__PURE__ */ e.jsxs("div", { children: [
|
|
1242
1297
|
/* @__PURE__ */ e.jsx("strong", { children: "- OR -" }),
|
|
1243
1298
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1244
1299
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1268,7 +1323,7 @@ function cn(y) {
|
|
|
1268
1323
|
] }),
|
|
1269
1324
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
1270
1325
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
1271
|
-
|
|
1326
|
+
P()
|
|
1272
1327
|
] }) : /* @__PURE__ */ e.jsx(ct, {});
|
|
1273
1328
|
return /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
|
|
1274
1329
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
@@ -1319,16 +1374,16 @@ function Mt(y) {
|
|
|
1319
1374
|
t.add(n), t.setActiveObject(n), i && l(!0);
|
|
1320
1375
|
}, a = (v, n, w) => {
|
|
1321
1376
|
const _ = n, A = n, R = Math.PI / v;
|
|
1322
|
-
let
|
|
1377
|
+
let P = [], I = 0;
|
|
1323
1378
|
for (let T = 0; T < v; T++) {
|
|
1324
1379
|
let V = _ + Math.cos(I) * n, K = A + Math.sin(I) * n;
|
|
1325
|
-
|
|
1380
|
+
P.push({ x: V, y: K }), I += R, V = _ + Math.cos(I) * w, K = A + Math.sin(I) * w, P.push({ x: V, y: K }), I += R;
|
|
1326
1381
|
}
|
|
1327
|
-
return
|
|
1382
|
+
return P;
|
|
1328
1383
|
}, m = (v, n) => {
|
|
1329
1384
|
const w = Math.PI * 2 / v, _ = n, A = n, R = [];
|
|
1330
|
-
for (let
|
|
1331
|
-
const I = _ + n * Math.cos(
|
|
1385
|
+
for (let P = 0; P < v; P++) {
|
|
1386
|
+
const I = _ + n * Math.cos(P * w), T = A + n * Math.sin(P * w);
|
|
1332
1387
|
R.push({ x: I, y: T });
|
|
1333
1388
|
}
|
|
1334
1389
|
return R;
|
|
@@ -1756,7 +1811,7 @@ function an(y) {
|
|
|
1756
1811
|
/* @__PURE__ */ e.jsx("div", { className: "apc-mpx-widget-secondary-icon", onClick: (d) => f("icon-like"), children: /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", height: "1em", viewBox: "0 0 512 512", children: /* @__PURE__ */ e.jsx("path", { fill: o.primaryColor, d: Et }) }) })
|
|
1757
1812
|
] }) });
|
|
1758
1813
|
}
|
|
1759
|
-
const
|
|
1814
|
+
const Qe = ({ defaultValue: y, size: t, ariaLabel: o, onChange: i }) => {
|
|
1760
1815
|
const [l, u] = M(y), f = (d) => {
|
|
1761
1816
|
const j = d.target.value;
|
|
1762
1817
|
u(j), i(j);
|
|
@@ -1880,7 +1935,7 @@ function zt(y) {
|
|
|
1880
1935
|
/* @__PURE__ */ e.jsxs("div", { style: { marginLeft: "10px" }, children: [
|
|
1881
1936
|
" Opacity",
|
|
1882
1937
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
|
|
1883
|
-
|
|
1938
|
+
Qe,
|
|
1884
1939
|
{
|
|
1885
1940
|
defaultValue: 100,
|
|
1886
1941
|
size: "small",
|
|
@@ -1917,7 +1972,7 @@ function zt(y) {
|
|
|
1917
1972
|
/* @__PURE__ */ e.jsxs("div", { style: { marginLeft: "10px" }, children: [
|
|
1918
1973
|
" Offset X",
|
|
1919
1974
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
|
|
1920
|
-
|
|
1975
|
+
Qe,
|
|
1921
1976
|
{
|
|
1922
1977
|
defaultValue: 0,
|
|
1923
1978
|
size: "small",
|
|
@@ -1929,7 +1984,7 @@ function zt(y) {
|
|
|
1929
1984
|
/* @__PURE__ */ e.jsxs("div", { style: { marginLeft: "10px" }, children: [
|
|
1930
1985
|
" Offset Y",
|
|
1931
1986
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
|
|
1932
|
-
|
|
1987
|
+
Qe,
|
|
1933
1988
|
{
|
|
1934
1989
|
defaultValue: 0,
|
|
1935
1990
|
size: "small",
|
|
@@ -2099,7 +2154,7 @@ function zt(y) {
|
|
|
2099
2154
|
/* @__PURE__ */ e.jsx("div", { children: p() })
|
|
2100
2155
|
] }) });
|
|
2101
2156
|
}
|
|
2102
|
-
function
|
|
2157
|
+
function Ke(y) {
|
|
2103
2158
|
const { apcCanvasInstance: t, theme: o } = y, i = E.useRef(null), [l, u] = E.useState(!1), f = () => {
|
|
2104
2159
|
u((p) => !p);
|
|
2105
2160
|
}, d = (p, b) => {
|
|
@@ -2208,7 +2263,7 @@ function Ye(y) {
|
|
|
2208
2263
|
/* @__PURE__ */ e.jsx("div", { style: { marginLeft: "10px" }, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
2209
2264
|
"Opacity: ",
|
|
2210
2265
|
/* @__PURE__ */ e.jsx(
|
|
2211
|
-
|
|
2266
|
+
Qe,
|
|
2212
2267
|
{
|
|
2213
2268
|
defaultValue: 100,
|
|
2214
2269
|
size: "small",
|
|
@@ -2241,11 +2296,11 @@ function Ye(y) {
|
|
|
2241
2296
|
] }),
|
|
2242
2297
|
/* @__PURE__ */ e.jsx("div", { style: { marginLeft: "10px" }, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
2243
2298
|
"Offset X: ",
|
|
2244
|
-
/* @__PURE__ */ e.jsx(
|
|
2299
|
+
/* @__PURE__ */ e.jsx(Qe, { defaultValue: 0, size: "small", "aria-label": "Opacity", onChange: (p) => a({ x: p }) })
|
|
2245
2300
|
] }) }),
|
|
2246
2301
|
/* @__PURE__ */ e.jsx("div", { style: { marginLeft: "10px" }, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
2247
2302
|
"Offset Y: ",
|
|
2248
|
-
/* @__PURE__ */ e.jsx(
|
|
2303
|
+
/* @__PURE__ */ e.jsx(Qe, { defaultValue: 0, size: "small", "aria-label": "Opacity", onChange: (p) => a({ y: p }) })
|
|
2249
2304
|
] }) })
|
|
2250
2305
|
] }) })
|
|
2251
2306
|
] })
|
|
@@ -2262,7 +2317,7 @@ function ln(y) {
|
|
|
2262
2317
|
const h = {
|
|
2263
2318
|
"X-Api-Key": i
|
|
2264
2319
|
}, v = `${m}/get-quote/${l}`;
|
|
2265
|
-
|
|
2320
|
+
we.get(v, { headers: h }).then((n) => {
|
|
2266
2321
|
var w;
|
|
2267
2322
|
a(!1), d((w = n.data) == null ? void 0 : w.object);
|
|
2268
2323
|
}).catch((n) => {
|
|
@@ -2721,7 +2776,7 @@ function dn(y) {
|
|
|
2721
2776
|
w();
|
|
2722
2777
|
}, []);
|
|
2723
2778
|
const n = (R) => {
|
|
2724
|
-
const
|
|
2779
|
+
const P = document.getElementById("img-default-id"), I = new B.Image(P, (T) => {
|
|
2725
2780
|
T.set({
|
|
2726
2781
|
left: 100,
|
|
2727
2782
|
top: 200,
|
|
@@ -2735,18 +2790,18 @@ function dn(y) {
|
|
|
2735
2790
|
s(!0);
|
|
2736
2791
|
const R = {
|
|
2737
2792
|
"X-Api-Key": i
|
|
2738
|
-
},
|
|
2739
|
-
|
|
2793
|
+
}, P = `${v}/get-images/${m}`;
|
|
2794
|
+
we.get(P, { headers: R }).then((I) => {
|
|
2740
2795
|
var T;
|
|
2741
2796
|
s(!1), h((T = I.data) == null ? void 0 : T.object);
|
|
2742
2797
|
}).catch((I) => {
|
|
2743
2798
|
console.error("Error fetching data:", I), s(!1);
|
|
2744
2799
|
});
|
|
2745
2800
|
}, _ = (R) => {
|
|
2746
|
-
B.Image.fromURL(R, function(
|
|
2747
|
-
|
|
2801
|
+
B.Image.fromURL(R, function(P) {
|
|
2802
|
+
P.width = t.width, P.height = t.height, P.scaleToWidth(t.width), P.scaleToHeight(t.height), t.setBackgroundImage(P);
|
|
2748
2803
|
const I = localStorage.getItem("apc_x_activeTab"), T = JSON.stringify(t);
|
|
2749
|
-
|
|
2804
|
+
Pe(I, "general", T, null).then((V) => {
|
|
2750
2805
|
f(d + 1), t && t.renderAll();
|
|
2751
2806
|
});
|
|
2752
2807
|
}, { crossOrigin: "anonymous" });
|
|
@@ -2803,8 +2858,8 @@ function hn(y) {
|
|
|
2803
2858
|
}, []);
|
|
2804
2859
|
const _ = () => {
|
|
2805
2860
|
f(!0);
|
|
2806
|
-
const
|
|
2807
|
-
|
|
2861
|
+
const P = `${n}/get-subscription-status/${h}`;
|
|
2862
|
+
we.get(P).then((I) => {
|
|
2808
2863
|
I.data.object && I.data.object === "active" && (sessionStorage.setItem("apc_x_sub_status", "active"), j(!0));
|
|
2809
2864
|
}).catch((I) => {
|
|
2810
2865
|
sessionStorage.setItem("apc_x_sub_status", "");
|
|
@@ -2812,10 +2867,10 @@ function hn(y) {
|
|
|
2812
2867
|
f(!1), m(!0);
|
|
2813
2868
|
});
|
|
2814
2869
|
}, A = () => {
|
|
2815
|
-
Jt.toDataURL(t, { width: 300 }, (
|
|
2816
|
-
|
|
2870
|
+
Jt.toDataURL(t, { width: 300 }, (P, I) => {
|
|
2871
|
+
P && console.error(P), l(I);
|
|
2817
2872
|
});
|
|
2818
|
-
}, R = (
|
|
2873
|
+
}, R = (P) => {
|
|
2819
2874
|
const I = document.getElementById("apc-qr-code-img"), T = new B.Image(I, (V) => {
|
|
2820
2875
|
V.set({
|
|
2821
2876
|
left: 200,
|
|
@@ -2827,7 +2882,7 @@ function hn(y) {
|
|
|
2827
2882
|
});
|
|
2828
2883
|
p.add(T), p.setActiveObject(T), s && g(!0);
|
|
2829
2884
|
};
|
|
2830
|
-
return !d && !u && a ? /* @__PURE__ */ e.jsx(it, {}) : d && !u && a ? /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
|
|
2885
|
+
return !d && !u && a ? /* @__PURE__ */ e.jsx(it, { theme: b }) : d && !u && a ? /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
|
|
2831
2886
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
2832
2887
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
2833
2888
|
"Enter data such as url",
|
|
@@ -2838,7 +2893,7 @@ function hn(y) {
|
|
|
2838
2893
|
className: "apc-mpc-widget-input",
|
|
2839
2894
|
style: { border: `solid 3px ${b.primaryColor}` },
|
|
2840
2895
|
type: "text",
|
|
2841
|
-
onChange: (
|
|
2896
|
+
onChange: (P) => o(P.target.value)
|
|
2842
2897
|
}
|
|
2843
2898
|
),
|
|
2844
2899
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
@@ -2870,16 +2925,16 @@ function hn(y) {
|
|
|
2870
2925
|
] }) : /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(ct, {}) });
|
|
2871
2926
|
}
|
|
2872
2927
|
function pn(y) {
|
|
2873
|
-
const { apcCanvasInstance: t, theme: o, isMobile: i, closeMobileModalSecondaryPanel: l, apiKey: u, apiEndpoint: f } = y, [d, j] = E.useState(""), [a, m] = E.useState(null), [p, b] = E.useState("CODE128"), s = E.useRef(null), [g, h] = E.useState(""), [v, n] = E.useState(!1), [w, _] = E.useState(!1), [A, R] = M(!1),
|
|
2928
|
+
const { apcCanvasInstance: t, theme: o, isMobile: i, closeMobileModalSecondaryPanel: l, apiKey: u, apiEndpoint: f } = y, [d, j] = E.useState(""), [a, m] = E.useState(null), [p, b] = E.useState("CODE128"), s = E.useRef(null), [g, h] = E.useState(""), [v, n] = E.useState(!1), [w, _] = E.useState(!1), [A, R] = M(!1), P = sessionStorage.getItem("apc_x_sub_status"), I = `${f}/api/v1/designer`;
|
|
2874
2929
|
E.useEffect(() => {
|
|
2875
2930
|
(async () => {
|
|
2876
|
-
|
|
2931
|
+
P === "active" ? (_(!0), R(!0)) : (n(!0), await T());
|
|
2877
2932
|
})();
|
|
2878
2933
|
}, []);
|
|
2879
2934
|
const T = () => {
|
|
2880
2935
|
n(!0);
|
|
2881
2936
|
const Y = `${I}/get-subscription-status/${u}`;
|
|
2882
|
-
|
|
2937
|
+
we.get(Y).then((ce) => {
|
|
2883
2938
|
ce.data.object && ce.data.object === "active" && (sessionStorage.setItem("apc_x_sub_status", "active"), _(!0));
|
|
2884
2939
|
}).catch((ce) => {
|
|
2885
2940
|
sessionStorage.setItem("apc_x_sub_status", "");
|
|
@@ -2913,7 +2968,7 @@ function pn(y) {
|
|
|
2913
2968
|
}
|
|
2914
2969
|
i && l(!0);
|
|
2915
2970
|
};
|
|
2916
|
-
return !w && !v && A ? /* @__PURE__ */ e.jsx(it, {}) : w && !v && A ? /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
|
|
2971
|
+
return !w && !v && A ? /* @__PURE__ */ e.jsx(it, { theme: o }) : w && !v && A ? /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
|
|
2917
2972
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
2918
2973
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
2919
2974
|
"Enter number",
|
|
@@ -3379,7 +3434,7 @@ function gn(y) {
|
|
|
3379
3434
|
float: "right"
|
|
3380
3435
|
},
|
|
3381
3436
|
children: [
|
|
3382
|
-
/* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", height: "1em", viewBox: "0 0 512 512", children: /* @__PURE__ */ e.jsx("path", { fill: "#ffffff", d:
|
|
3437
|
+
/* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", height: "1em", viewBox: "0 0 512 512", children: /* @__PURE__ */ e.jsx("path", { fill: "#ffffff", d: Fr }) }),
|
|
3383
3438
|
" Share"
|
|
3384
3439
|
]
|
|
3385
3440
|
}
|
|
@@ -3500,7 +3555,7 @@ function mn(y) {
|
|
|
3500
3555
|
] });
|
|
3501
3556
|
}
|
|
3502
3557
|
function vn(y) {
|
|
3503
|
-
var
|
|
3558
|
+
var Te;
|
|
3504
3559
|
const {
|
|
3505
3560
|
theme: t,
|
|
3506
3561
|
activeSection: o,
|
|
@@ -3523,12 +3578,12 @@ function vn(y) {
|
|
|
3523
3578
|
isPlainColor: _,
|
|
3524
3579
|
selectedProduct: A,
|
|
3525
3580
|
isMobile: R,
|
|
3526
|
-
supportedProductColors:
|
|
3527
|
-
} = y, [I, T] = M(), [V, K] = M([]), [Y, ce] = M(0), [ne, se] = E.useState(!1), pe = E.useRef(null), [
|
|
3528
|
-
|
|
3529
|
-
},
|
|
3530
|
-
|
|
3531
|
-
},
|
|
3581
|
+
supportedProductColors: P
|
|
3582
|
+
} = y, [I, T] = M(), [V, K] = M([]), [Y, ce] = M(0), [ne, se] = E.useState(!1), pe = E.useRef(null), [Me, Ce] = M(!1), [qe, ze] = M(null), [q, Fe] = M(), [He, Ve] = M(), [Le, Ue] = M(), [Se, me] = M(!0), [G, Re] = M(), Ae = () => {
|
|
3583
|
+
Ce(!0), se(!1);
|
|
3584
|
+
}, Z = () => {
|
|
3585
|
+
Ce(!1);
|
|
3586
|
+
}, We = () => {
|
|
3532
3587
|
se((S) => !S);
|
|
3533
3588
|
};
|
|
3534
3589
|
ie(() => {
|
|
@@ -3543,18 +3598,18 @@ function vn(y) {
|
|
|
3543
3598
|
var N, J;
|
|
3544
3599
|
if (I)
|
|
3545
3600
|
try {
|
|
3546
|
-
const D = await
|
|
3547
|
-
|
|
3601
|
+
const D = await Xe(I);
|
|
3602
|
+
Ue(D), (N = D == null ? void 0 : D.misc) != null && N.colorSettings && Fe(D.misc.colorSettings), ((J = D == null ? void 0 : D.misc) == null ? void 0 : J.type) !== "subsection" && Re(D);
|
|
3548
3603
|
} catch (D) {
|
|
3549
3604
|
console.error("Error fetching tab data: ", D);
|
|
3550
3605
|
}
|
|
3551
3606
|
})();
|
|
3552
3607
|
}, [I, b]), ie(() => {
|
|
3553
3608
|
(async () => {
|
|
3554
|
-
const N = await
|
|
3609
|
+
const N = await Ee();
|
|
3555
3610
|
let J = N ? N.filter((D) => {
|
|
3556
|
-
var
|
|
3557
|
-
return D.classification !== "cart" && ((
|
|
3611
|
+
var ee;
|
|
3612
|
+
return D.classification !== "cart" && ((ee = D.misc) == null ? void 0 : ee.type) !== "subsection";
|
|
3558
3613
|
}).map((D) => D.id) : [];
|
|
3559
3614
|
J.length === 0 && J.push("design"), Y === 0 && T(J[0]), K(J);
|
|
3560
3615
|
})();
|
|
@@ -3570,10 +3625,10 @@ function vn(y) {
|
|
|
3570
3625
|
new B.Image.filters.BlendColor({
|
|
3571
3626
|
color: S
|
|
3572
3627
|
})
|
|
3573
|
-
), N.applyFilters(), a && a.requestRenderAll(),
|
|
3574
|
-
},
|
|
3575
|
-
if (!(!
|
|
3576
|
-
return
|
|
3628
|
+
), N.applyFilters(), a && a.requestRenderAll(), Ve(S), p(a, Le));
|
|
3629
|
+
}, ke = () => {
|
|
3630
|
+
if (!(!q || (q == null ? void 0 : q.length) <= 1))
|
|
3631
|
+
return console.log("Applicable colors", q), q.map((S, N) => /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
|
|
3577
3632
|
/* @__PURE__ */ e.jsx(
|
|
3578
3633
|
"div",
|
|
3579
3634
|
{
|
|
@@ -3591,16 +3646,16 @@ function vn(y) {
|
|
|
3591
3646
|
] }, N));
|
|
3592
3647
|
}, ve = async (S, N) => {
|
|
3593
3648
|
var fe, je;
|
|
3594
|
-
const J = (je = (fe = a == null ? void 0 : a.backgroundImage) == null ? void 0 : fe.filters[0]) == null ? void 0 : je.color, D = await
|
|
3649
|
+
const J = (je = (fe = a == null ? void 0 : a.backgroundImage) == null ? void 0 : fe.filters[0]) == null ? void 0 : je.color, D = await Xe(S);
|
|
3595
3650
|
if (!D)
|
|
3596
3651
|
return;
|
|
3597
|
-
const
|
|
3598
|
-
|
|
3652
|
+
const ee = D != null && D.content ? JSON.parse(D.content) : null;
|
|
3653
|
+
ee && a ? (a.clear(), a.setBackgroundImage(null), a.loadFromJSON(ee, () => {
|
|
3599
3654
|
var re;
|
|
3600
3655
|
a.renderAll(), m(D), ((re = D == null ? void 0 : D.misc) == null ? void 0 : re.type) !== "subsection" ? (localStorage.setItem("apc_x_activeTab", S), me(!0)) : (me(!1), J && ue(J)), T(S);
|
|
3601
3656
|
})) : console.error("Failed to load JSON content for section:", S);
|
|
3602
|
-
},
|
|
3603
|
-
|
|
3657
|
+
}, $e = () => V.map((S) => /* @__PURE__ */ e.jsx("button", { className: `tablinks ${I === S ? "active" : null}`, onClick: () => ve(S), children: S }, S)), Ne = () => {
|
|
3658
|
+
Ee().then((S) => {
|
|
3604
3659
|
if (S && S.length > 0) {
|
|
3605
3660
|
const N = S[0], J = JSON.parse(N.content);
|
|
3606
3661
|
a.loadFromJSON(J, function() {
|
|
@@ -3613,25 +3668,25 @@ function vn(y) {
|
|
|
3613
3668
|
} else {
|
|
3614
3669
|
let N = "design";
|
|
3615
3670
|
const J = JSON.stringify(a);
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
const fe = JSON.parse(
|
|
3671
|
+
Pe(N, "general", J, null).then((D) => {
|
|
3672
|
+
Xe(N).then((ee) => {
|
|
3673
|
+
const fe = JSON.parse(ee.content);
|
|
3619
3674
|
a.loadFromJSON(fe, function() {
|
|
3620
3675
|
a.off("object:modified"), a.on({
|
|
3621
3676
|
"object:modified": (je) => {
|
|
3622
|
-
p(a,
|
|
3677
|
+
p(a, ee);
|
|
3623
3678
|
}
|
|
3624
|
-
}), T(N), localStorage.setItem("apc_x_activeTab", N), m(
|
|
3679
|
+
}), T(N), localStorage.setItem("apc_x_activeTab", N), m(ee), ce(Y + 1), a && a.renderAll();
|
|
3625
3680
|
});
|
|
3626
3681
|
});
|
|
3627
3682
|
});
|
|
3628
3683
|
}
|
|
3629
3684
|
});
|
|
3630
|
-
},
|
|
3685
|
+
}, Ie = () => {
|
|
3631
3686
|
Xr(I).then((S) => {
|
|
3632
|
-
|
|
3687
|
+
Z(), Ne();
|
|
3633
3688
|
});
|
|
3634
|
-
}, Ge = () => a ? /* @__PURE__ */ e.jsxs(at, { isOpen:
|
|
3689
|
+
}, Ge = () => a ? /* @__PURE__ */ e.jsxs(at, { isOpen: Me, onClose: Z, children: [
|
|
3635
3690
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs("h3", { style: { marginLeft: "30%", color: "green" }, children: [
|
|
3636
3691
|
"Are you sure you want to delete ",
|
|
3637
3692
|
/* @__PURE__ */ e.jsx("u", { children: I }),
|
|
@@ -3648,7 +3703,7 @@ function vn(y) {
|
|
|
3648
3703
|
autoFocus: !0,
|
|
3649
3704
|
type: "button",
|
|
3650
3705
|
className: "apc-mpc-widget-btn",
|
|
3651
|
-
onClick: () =>
|
|
3706
|
+
onClick: () => Ie(),
|
|
3652
3707
|
style: { backgroundColor: "green", color: "#ffffff" },
|
|
3653
3708
|
children: "Yes"
|
|
3654
3709
|
}
|
|
@@ -3659,14 +3714,14 @@ function vn(y) {
|
|
|
3659
3714
|
autoFocus: !0,
|
|
3660
3715
|
type: "button",
|
|
3661
3716
|
className: "apc-mpc-widget-btn",
|
|
3662
|
-
onClick: () =>
|
|
3717
|
+
onClick: () => Z(),
|
|
3663
3718
|
style: { backgroundColor: "red", color: "#ffffff", float: "right" },
|
|
3664
3719
|
children: "Close"
|
|
3665
3720
|
}
|
|
3666
3721
|
) })
|
|
3667
3722
|
] })
|
|
3668
|
-
] }) : null,
|
|
3669
|
-
/* @__PURE__ */ e.jsx("div", { className: "apc-mpx-widget-generic-icon", onClick:
|
|
3723
|
+
] }) : null, Ze = () => /* @__PURE__ */ e.jsxs("div", { className: "apc-mpx-widget-button-group-container", children: [
|
|
3724
|
+
/* @__PURE__ */ e.jsx("div", { className: "apc-mpx-widget-generic-icon", onClick: We, children: /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", height: "1em", viewBox: "0 0 448 512", children: /* @__PURE__ */ e.jsx("path", { fill: "#ffffff", d: Br }) }) }),
|
|
3670
3725
|
ne && /* @__PURE__ */ e.jsxs("div", { className: "apc-mpx-widget-popper-container", ref: pe, children: [
|
|
3671
3726
|
/* @__PURE__ */ e.jsx("div", { className: "apc-mpx-widget-popper-arrow-up" }),
|
|
3672
3727
|
/* @__PURE__ */ e.jsxs("ul", { autoFocus: !0, style: {
|
|
@@ -3683,7 +3738,7 @@ function vn(y) {
|
|
|
3683
3738
|
{
|
|
3684
3739
|
className: "apc-mpx-widget-popper-li",
|
|
3685
3740
|
style: { height: "25px", cursor: "pointer", borderBottom: "1px solid #d7d7d7" },
|
|
3686
|
-
onClick: () =>
|
|
3741
|
+
onClick: () => Ae(),
|
|
3687
3742
|
role: "dialog",
|
|
3688
3743
|
children: [
|
|
3689
3744
|
/* @__PURE__ */ e.jsx(
|
|
@@ -3726,10 +3781,10 @@ function vn(y) {
|
|
|
3726
3781
|
)
|
|
3727
3782
|
] })
|
|
3728
3783
|
] })
|
|
3729
|
-
] }),
|
|
3730
|
-
var je, re,
|
|
3731
|
-
const N = a.width * 5, J = a.height * 5, D = JSON.parse(
|
|
3732
|
-
|
|
3784
|
+
] }), _e = (S) => {
|
|
3785
|
+
var je, re, Je, Be;
|
|
3786
|
+
const N = a.width * 5, J = a.height * 5, D = JSON.parse(G.content), ee = (re = (je = D == null ? void 0 : D.backgroundImage) == null ? void 0 : je.filters[0]) == null ? void 0 : re.color, fe = (Be = (Je = a == null ? void 0 : a.backgroundImage) == null ? void 0 : Je.filters[0]) == null ? void 0 : Be.color;
|
|
3787
|
+
Xe(S.sectionName).then(async (be) => {
|
|
3733
3788
|
if (be) {
|
|
3734
3789
|
const c = be != null && be.content ? JSON.parse(be.content) : null;
|
|
3735
3790
|
c && a ? (await a.loadFromJSON(c, () => {
|
|
@@ -3744,16 +3799,16 @@ function vn(y) {
|
|
|
3744
3799
|
p(a, z);
|
|
3745
3800
|
}
|
|
3746
3801
|
});
|
|
3747
|
-
}), ue(fe),
|
|
3802
|
+
}), ue(fe), Se || me(!0)) : console.error("Failed to load JSON content for section:", S.sectionName);
|
|
3748
3803
|
} else
|
|
3749
3804
|
a && a.clear(), S.type = "subsection", B.Image.fromURL(S.sectionImage, function(c) {
|
|
3750
|
-
c.width = N, c.height = J, c.scaleToWidth(N), c.scaleToHeight(J), a.setBackgroundImage(c), (
|
|
3805
|
+
c.width = N, c.height = J, c.scaleToWidth(N), c.scaleToHeight(J), a.setBackgroundImage(c), (He || ee) && (c.filters = [], c.filters.push(
|
|
3751
3806
|
new B.Image.filters.BlendColor({
|
|
3752
|
-
color:
|
|
3807
|
+
color: He || ee
|
|
3753
3808
|
})
|
|
3754
3809
|
), c.applyFilters());
|
|
3755
3810
|
const O = JSON.stringify(a), z = {};
|
|
3756
|
-
z.id = S.sectionName, z.classification =
|
|
3811
|
+
z.id = S.sectionName, z.classification = G.id, z.json = O, z.misc = {
|
|
3757
3812
|
sectionName: S.sectionName,
|
|
3758
3813
|
sectionImage: S.sectionImage,
|
|
3759
3814
|
type: S.type
|
|
@@ -3761,13 +3816,13 @@ function vn(y) {
|
|
|
3761
3816
|
"object:modified": (k) => {
|
|
3762
3817
|
p(a, z);
|
|
3763
3818
|
}
|
|
3764
|
-
}),
|
|
3765
|
-
a && (a.renderAll(),
|
|
3819
|
+
}), Pe(S.sectionName, I, O, { ...S }).then((k) => {
|
|
3820
|
+
a && (a.renderAll(), Se && me(!1), T(S.sectionName), ce(Y + 1));
|
|
3766
3821
|
});
|
|
3767
3822
|
}, { crossOrigin: "anonymous" });
|
|
3768
3823
|
});
|
|
3769
|
-
},
|
|
3770
|
-
if (!
|
|
3824
|
+
}, et = () => {
|
|
3825
|
+
if (!Le)
|
|
3771
3826
|
return null;
|
|
3772
3827
|
let S = [];
|
|
3773
3828
|
if (A) {
|
|
@@ -3785,11 +3840,11 @@ function vn(y) {
|
|
|
3785
3840
|
...N,
|
|
3786
3841
|
active: N.sectionName === I
|
|
3787
3842
|
})), (S == null ? void 0 : S.length) < 1 ? null : S == null ? void 0 : S.map((N, J) => {
|
|
3788
|
-
var D,
|
|
3843
|
+
var D, ee;
|
|
3789
3844
|
return /* @__PURE__ */ e.jsxs(
|
|
3790
3845
|
"div",
|
|
3791
3846
|
{
|
|
3792
|
-
onClick: () =>
|
|
3847
|
+
onClick: () => _e(N),
|
|
3793
3848
|
style: {
|
|
3794
3849
|
position: "relative",
|
|
3795
3850
|
// For placing the checkmark
|
|
@@ -3862,7 +3917,7 @@ function vn(y) {
|
|
|
3862
3917
|
color: "#333"
|
|
3863
3918
|
// Adjusted color for better readability
|
|
3864
3919
|
},
|
|
3865
|
-
children: ((D = N == null ? void 0 : N.sectionName) == null ? void 0 : D.length) > 5 ? `${(
|
|
3920
|
+
children: ((D = N == null ? void 0 : N.sectionName) == null ? void 0 : D.length) > 5 ? `${(ee = N == null ? void 0 : N.sectionName) == null ? void 0 : ee.substring(0, 5)}...` : (N == null ? void 0 : N.sectionName) || "view"
|
|
3866
3921
|
}
|
|
3867
3922
|
)
|
|
3868
3923
|
]
|
|
@@ -3870,7 +3925,7 @@ function vn(y) {
|
|
|
3870
3925
|
J
|
|
3871
3926
|
);
|
|
3872
3927
|
});
|
|
3873
|
-
},
|
|
3928
|
+
}, tt = () => {
|
|
3874
3929
|
if (g.current.length > 0) {
|
|
3875
3930
|
const S = g.current.pop();
|
|
3876
3931
|
a.loadFromJSON(S, () => {
|
|
@@ -3879,7 +3934,7 @@ function vn(y) {
|
|
|
3879
3934
|
}
|
|
3880
3935
|
};
|
|
3881
3936
|
return /* @__PURE__ */ e.jsxs(E.Fragment, { children: [
|
|
3882
|
-
/* @__PURE__ */ e.jsx("div", { className: "tab", children:
|
|
3937
|
+
/* @__PURE__ */ e.jsx("div", { className: "tab", children: $e() }),
|
|
3883
3938
|
/* @__PURE__ */ e.jsxs("div", { style: {
|
|
3884
3939
|
display: "flex",
|
|
3885
3940
|
backgroundColor: t.primaryColor,
|
|
@@ -3900,7 +3955,7 @@ function vn(y) {
|
|
|
3900
3955
|
cursor: "pointer",
|
|
3901
3956
|
height: "12px"
|
|
3902
3957
|
},
|
|
3903
|
-
onClick: () =>
|
|
3958
|
+
onClick: () => tt(),
|
|
3904
3959
|
title: "UNDO",
|
|
3905
3960
|
children: /* @__PURE__ */ e.jsx(
|
|
3906
3961
|
"svg",
|
|
@@ -3910,7 +3965,7 @@ function vn(y) {
|
|
|
3910
3965
|
className: "apc-mpx-hover-div",
|
|
3911
3966
|
width: "25",
|
|
3912
3967
|
viewBox: "0 0 16 16",
|
|
3913
|
-
children: /* @__PURE__ */ e.jsx("path", { d:
|
|
3968
|
+
children: /* @__PURE__ */ e.jsx("path", { d: Pr, fill: "#ffffff" })
|
|
3914
3969
|
}
|
|
3915
3970
|
)
|
|
3916
3971
|
}
|
|
@@ -3919,20 +3974,20 @@ function vn(y) {
|
|
|
3919
3974
|
] }) }) }),
|
|
3920
3975
|
/* @__PURE__ */ e.jsx("div", { style: { flexBasis: "20%" }, children: i ? l() : null }),
|
|
3921
3976
|
/* @__PURE__ */ e.jsx("div", { style: { flexBasis: "40%", marginTop: "8px" }, children: i ? u() : null }),
|
|
3922
|
-
|
|
3977
|
+
Ze()
|
|
3923
3978
|
] }),
|
|
3924
3979
|
/* @__PURE__ */ e.jsxs("div", { id: "apc-mpx-editor-canvas-container", style: { minHeight: "90vh", padding: "3px", overflowX: "hidden", position: "relative" }, children: [
|
|
3925
3980
|
/* @__PURE__ */ e.jsxs("div", { style: { display: "flex", flexDirection: "row" }, children: [
|
|
3926
|
-
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx("div", { style: { zIndex: 1e3, overflow: "hidden", position: "absolute", marginLeft: "1%", display: "flex", flexDirection: "row" }, children: ((
|
|
3981
|
+
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx("div", { style: { zIndex: 1e3, overflow: "hidden", position: "absolute", marginLeft: "1%", display: "flex", flexDirection: "row" }, children: ((Te = A == null ? void 0 : A.sections) == null ? void 0 : Te.length) > 0 ? et() : null }) }),
|
|
3927
3982
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx("canvas", { id: "apc-mpx-editor-canvas", ref: f, height: 1e3 }) }),
|
|
3928
|
-
|
|
3983
|
+
q && (_ || (o == null ? void 0 : o.plainColor) === "Y") && Se && (q == null ? void 0 : q.length) > 1 ? /* @__PURE__ */ e.jsxs("div", { style: { zIndex: 1e3, overflow: "hidden", position: "absolute", marginLeft: "90%" }, children: [
|
|
3929
3984
|
/* @__PURE__ */ e.jsx("br", {}),
|
|
3930
3985
|
/* @__PURE__ */ e.jsx("div", { style: {
|
|
3931
3986
|
backgroundColor: "#ff000026",
|
|
3932
3987
|
border: "solid 1px #ccc",
|
|
3933
3988
|
padding: "3px",
|
|
3934
3989
|
borderRadius: "6px"
|
|
3935
|
-
}, children:
|
|
3990
|
+
}, children: q && (q == null ? void 0 : q.length) > 1 ? ke() : null })
|
|
3936
3991
|
] }) : null
|
|
3937
3992
|
] }),
|
|
3938
3993
|
/* @__PURE__ */ e.jsxs("div", { style: { marginLeft: "45%" }, children: [
|
|
@@ -3980,7 +4035,7 @@ function jn({ data: y, theme: t, apcCanvasInstance: o, closeMobileModalSecondary
|
|
|
3980
4035
|
const h = `${b}/${g}`, v = u[h];
|
|
3981
4036
|
return p[g].type === "image" ? /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("div", { onClick: () => j(p[g].url), style: { cursor: "pointer" }, children: /* @__PURE__ */ e.jsx("img", { src: p[g].url, alt: g, style: { width: "100px", height: "auto" } }) }) }, h) : /* @__PURE__ */ e.jsxs("li", { children: [
|
|
3982
4037
|
/* @__PURE__ */ e.jsxs("div", { onClick: () => d(h), style: { cursor: "pointer", display: "flex", alignItems: "center", fontWeight: "bold", color: t.primaryColorLight }, children: [
|
|
3983
|
-
/* @__PURE__ */ e.jsx("div", { style: { marginRight: "5px" }, children: v ? /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", height: 15, width: 15, children: /* @__PURE__ */ e.jsx("path", { d:
|
|
4038
|
+
/* @__PURE__ */ e.jsx("div", { style: { marginRight: "5px" }, children: v ? /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", height: 15, width: 15, children: /* @__PURE__ */ e.jsx("path", { d: $r, fill: t.primaryColorLight }) }) : /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", height: 15, width: 15, children: /* @__PURE__ */ e.jsx("path", { d: Gr, fill: t.primaryColorLight }) }) }),
|
|
3984
4039
|
g
|
|
3985
4040
|
] }),
|
|
3986
4041
|
v && a(p[g], h, s + 1)
|
|
@@ -4008,7 +4063,7 @@ function yn(y) {
|
|
|
4008
4063
|
const w = () => {
|
|
4009
4064
|
p(!0);
|
|
4010
4065
|
const A = `${d}/get-stickers`;
|
|
4011
|
-
|
|
4066
|
+
we.get(A).then((R) => {
|
|
4012
4067
|
R.data.object && (a(R.data.object.contents), sessionStorage.setItem("apc_x_stickers", JSON.stringify(R.data.object.contents)));
|
|
4013
4068
|
}).catch((R) => {
|
|
4014
4069
|
console.error("Error fetching data:", R);
|
|
@@ -4018,7 +4073,7 @@ function yn(y) {
|
|
|
4018
4073
|
}, _ = () => {
|
|
4019
4074
|
p(!0);
|
|
4020
4075
|
const A = `${d}/get-subscription-status/${f}`;
|
|
4021
|
-
|
|
4076
|
+
we.get(A).then((R) => {
|
|
4022
4077
|
R.data.object && R.data.object === "active" && (sessionStorage.setItem("apc_x_sub_status", "active"), s(!0));
|
|
4023
4078
|
}).catch((R) => {
|
|
4024
4079
|
sessionStorage.setItem("apc_x_sub_status", "");
|
|
@@ -4026,7 +4081,7 @@ function yn(y) {
|
|
|
4026
4081
|
p(!1), h(!0);
|
|
4027
4082
|
});
|
|
4028
4083
|
};
|
|
4029
|
-
return !b && !m && g ? /* @__PURE__ */ e.jsx(it, {}) : b && j.length > 0 && !m ? /* @__PURE__ */ e.jsx(E.Fragment, { children: /* @__PURE__ */ e.jsx("div", { style: { padding: "10px" }, children: /* @__PURE__ */ e.jsx(
|
|
4084
|
+
return !b && !m && g ? /* @__PURE__ */ e.jsx(it, { theme: o }) : b && j.length > 0 && !m ? /* @__PURE__ */ e.jsx(E.Fragment, { children: /* @__PURE__ */ e.jsx("div", { style: { padding: "10px" }, children: /* @__PURE__ */ e.jsx(
|
|
4030
4085
|
jn,
|
|
4031
4086
|
{
|
|
4032
4087
|
data: j,
|
|
@@ -4085,11 +4140,12 @@ function In(y) {
|
|
|
4085
4140
|
}
|
|
4086
4141
|
]
|
|
4087
4142
|
}
|
|
4088
|
-
} = y, [h, v] = M(d[0]), [n, w] = M(), _ = gt(null), [A, R] = M(), [
|
|
4143
|
+
} = y, [h, v] = M(d[0]), [n, w] = M(), _ = gt(null), [A, R] = M(), [P, I] = M(!1), [T, V] = M(1), K = 0.1, [Y, ce] = M(1), [ne, se] = M([]), [pe, Me] = M(null), [Ce, qe] = M(null), [ze, q] = M(0), [Fe, He] = M(), [Ve, Le] = M(null), Ue = gt([]), [Se, me] = M(null), [G, Re] = M(!1), [Ae, Z] = M(!1);
|
|
4089
4144
|
ie(() => {
|
|
4090
|
-
const c = () =>
|
|
4145
|
+
const c = () => Re(window.innerWidth < 600);
|
|
4091
4146
|
return c(), window.addEventListener("resize", c), () => window.removeEventListener("resize", c);
|
|
4092
4147
|
}, []), ie(() => {
|
|
4148
|
+
var ye;
|
|
4093
4149
|
const c = document.getElementById("apc-mpx-editor-canvas-container"), O = document.getElementById("apc-mpx-editor-canvas-container");
|
|
4094
4150
|
if (!_.current || !c || !O) {
|
|
4095
4151
|
console.error("Canvas element is not mounted yet!");
|
|
@@ -4106,20 +4162,20 @@ function In(y) {
|
|
|
4106
4162
|
let k, le;
|
|
4107
4163
|
if (o)
|
|
4108
4164
|
k = new B.StaticCanvas(_.current, z);
|
|
4109
|
-
else if (k = new B.Canvas(_.current, z),
|
|
4110
|
-
le = JSON.parse(
|
|
4165
|
+
else if (k = new B.Canvas(_.current, z), Ce)
|
|
4166
|
+
le = JSON.parse(Ce), k.loadFromJSON(le, function() {
|
|
4111
4167
|
});
|
|
4112
4168
|
else if (a) {
|
|
4113
|
-
let
|
|
4169
|
+
let W;
|
|
4114
4170
|
try {
|
|
4115
|
-
|
|
4171
|
+
W = JSON.parse(a);
|
|
4116
4172
|
} catch (X) {
|
|
4117
4173
|
console.error("Failed to parse initInstance", X);
|
|
4118
4174
|
}
|
|
4119
|
-
k &&
|
|
4175
|
+
k && W ? k.loadFromJSON(W, function() {
|
|
4120
4176
|
}) : console.error("Canvas or InitInstance is not properly initialized");
|
|
4121
4177
|
} else {
|
|
4122
|
-
const
|
|
4178
|
+
const W = new B.Textbox("Something cool!", {
|
|
4123
4179
|
width: 300,
|
|
4124
4180
|
left: 250,
|
|
4125
4181
|
top: 300,
|
|
@@ -4127,7 +4183,7 @@ function In(y) {
|
|
|
4127
4183
|
fill: "#6a45d2",
|
|
4128
4184
|
rotate: 20
|
|
4129
4185
|
});
|
|
4130
|
-
|
|
4186
|
+
W.shadow = {
|
|
4131
4187
|
color: "rgba(0,0,0,0.5)",
|
|
4132
4188
|
// Shadow color
|
|
4133
4189
|
blur: 10,
|
|
@@ -4136,63 +4192,63 @@ function In(y) {
|
|
|
4136
4192
|
// Horizontal offset of shadow
|
|
4137
4193
|
offsetY: 5
|
|
4138
4194
|
// Vertical offset of shadow
|
|
4139
|
-
}, k.add(
|
|
4140
|
-
X.height = O.offsetHeight, X.width = c.offsetWidth, X.scaleToWidth(O.offsetHeight), X.scaleToHeight(c.offsetWidth), k.setBackgroundImage(X), k.setActiveObject(
|
|
4141
|
-
}, { crossOrigin: "anonymous" });
|
|
4195
|
+
}, k.add(W), g != null && g.mainImage && ((ye = B.Image) == null || ye.fromURL(g.mainImage, function(X) {
|
|
4196
|
+
X.height = O.offsetHeight, X.width = c.offsetWidth, X.scaleToWidth(O.offsetHeight), X.scaleToHeight(c.offsetWidth), k.setBackgroundImage(X), k.setActiveObject(W), ue(W), k.renderAll(), S(k);
|
|
4197
|
+
}, { crossOrigin: "anonymous" }));
|
|
4142
4198
|
}
|
|
4143
4199
|
return k.on({
|
|
4144
|
-
"selection:updated": (
|
|
4200
|
+
"selection:updated": (W) => {
|
|
4145
4201
|
const X = k.getActiveObject();
|
|
4146
4202
|
ue(X);
|
|
4147
4203
|
},
|
|
4148
|
-
"selection:created": (
|
|
4204
|
+
"selection:created": (W) => {
|
|
4149
4205
|
const X = k.getActiveObject();
|
|
4150
4206
|
ue(X);
|
|
4151
4207
|
},
|
|
4152
|
-
"selection:cleared": (
|
|
4153
|
-
|
|
4208
|
+
"selection:cleared": (W) => {
|
|
4209
|
+
ke();
|
|
4154
4210
|
},
|
|
4155
|
-
"object:modified": (
|
|
4211
|
+
"object:modified": (W) => {
|
|
4156
4212
|
S(k), de(k);
|
|
4157
4213
|
},
|
|
4158
|
-
"object:added": (
|
|
4214
|
+
"object:added": (W) => {
|
|
4159
4215
|
de(k);
|
|
4160
4216
|
},
|
|
4161
|
-
"object:removed": (
|
|
4217
|
+
"object:removed": (W) => {
|
|
4162
4218
|
de(k);
|
|
4163
4219
|
},
|
|
4164
|
-
"object:created": (
|
|
4220
|
+
"object:created": (W) => {
|
|
4165
4221
|
de(k);
|
|
4166
4222
|
}
|
|
4167
4223
|
}), w(k), ce(c.offsetWidth), () => {
|
|
4168
4224
|
w(null), k.off({
|
|
4169
|
-
"selection:updated": (
|
|
4225
|
+
"selection:updated": (W) => {
|
|
4170
4226
|
const X = k.getActiveObject();
|
|
4171
4227
|
ue(X);
|
|
4172
4228
|
},
|
|
4173
|
-
"selection:created": (
|
|
4229
|
+
"selection:created": (W) => {
|
|
4174
4230
|
const X = k.getActiveObject();
|
|
4175
4231
|
ue(X);
|
|
4176
4232
|
},
|
|
4177
|
-
"selection:cleared": (
|
|
4178
|
-
|
|
4233
|
+
"selection:cleared": (W) => {
|
|
4234
|
+
ke();
|
|
4179
4235
|
},
|
|
4180
|
-
"object:modified": (
|
|
4236
|
+
"object:modified": (W) => {
|
|
4181
4237
|
S(k), de(k);
|
|
4182
4238
|
},
|
|
4183
|
-
"object:added": (
|
|
4239
|
+
"object:added": (W) => {
|
|
4184
4240
|
de(k);
|
|
4185
4241
|
},
|
|
4186
|
-
"object:removed": (
|
|
4242
|
+
"object:removed": (W) => {
|
|
4187
4243
|
de(k);
|
|
4188
4244
|
},
|
|
4189
|
-
"object:created": (
|
|
4245
|
+
"object:created": (W) => {
|
|
4190
4246
|
de(k);
|
|
4191
4247
|
}
|
|
4192
4248
|
}), k.dispose();
|
|
4193
4249
|
};
|
|
4194
|
-
}, [
|
|
4195
|
-
document.removeEventListener("keydown", (c) =>
|
|
4250
|
+
}, [Ce]), ie(() => (We(), document.addEventListener("keydown", (c) => Te(c)), () => {
|
|
4251
|
+
document.removeEventListener("keydown", (c) => Te(c));
|
|
4196
4252
|
}), [n]), ie(() => {
|
|
4197
4253
|
if (n) {
|
|
4198
4254
|
const c = document.getElementById("apc-mpx-editor-canvas-container"), O = () => {
|
|
@@ -4206,40 +4262,40 @@ function In(y) {
|
|
|
4206
4262
|
}, [n, T]), ie(() => {
|
|
4207
4263
|
const c = () => {
|
|
4208
4264
|
if (n && _.current) {
|
|
4209
|
-
const O = n.getWidth(), z = n.getHeight(), k = window.innerWidth, le = window.innerHeight,
|
|
4210
|
-
n.setZoom(
|
|
4265
|
+
const O = n.getWidth(), z = n.getHeight(), k = window.innerWidth, le = window.innerHeight, ye = k / O, W = le / z, X = Math.min(ye, W);
|
|
4266
|
+
n.setZoom(X / 1.4), n.renderAll();
|
|
4211
4267
|
}
|
|
4212
4268
|
};
|
|
4213
|
-
return
|
|
4214
|
-
}, [n,
|
|
4215
|
-
const
|
|
4216
|
-
|
|
4269
|
+
return G && (c(), window.addEventListener("resize", c)), () => window.removeEventListener("resize", c);
|
|
4270
|
+
}, [n, G]);
|
|
4271
|
+
const We = () => {
|
|
4272
|
+
Ee().then((c) => {
|
|
4217
4273
|
if (c && c.length > 0) {
|
|
4218
4274
|
const O = c[0].content;
|
|
4219
|
-
b === c[0].id &&
|
|
4275
|
+
b === c[0].id && qe(O);
|
|
4220
4276
|
}
|
|
4221
4277
|
});
|
|
4222
4278
|
}, de = (c) => {
|
|
4223
4279
|
if (c) {
|
|
4224
4280
|
const O = c.toJSON();
|
|
4225
|
-
|
|
4281
|
+
Le((z) => (Ue.current.push(z), O));
|
|
4226
4282
|
}
|
|
4227
4283
|
}, ue = (c) => {
|
|
4228
4284
|
R(c.type);
|
|
4229
|
-
},
|
|
4285
|
+
}, ke = () => {
|
|
4230
4286
|
R(null);
|
|
4231
4287
|
}, ve = () => {
|
|
4232
4288
|
n.getActiveObject() && n.remove(n.getActiveObject());
|
|
4233
|
-
},
|
|
4289
|
+
}, $e = () => {
|
|
4234
4290
|
const c = n.getActiveObject(), O = B.util.object.clone(c);
|
|
4235
4291
|
O.set({
|
|
4236
4292
|
left: c.left + 20,
|
|
4237
4293
|
// Change the position as needed
|
|
4238
4294
|
top: c.top + 20
|
|
4239
4295
|
}), n.add(O);
|
|
4240
|
-
},
|
|
4241
|
-
|
|
4242
|
-
},
|
|
4296
|
+
}, Ne = (c) => {
|
|
4297
|
+
Me(c);
|
|
4298
|
+
}, Ie = (c) => {
|
|
4243
4299
|
let O = ne;
|
|
4244
4300
|
O.push(c), se(O);
|
|
4245
4301
|
}, Ge = (c) => {
|
|
@@ -4250,43 +4306,43 @@ function In(y) {
|
|
|
4250
4306
|
lockMovementX: !1,
|
|
4251
4307
|
lockMovementY: !1
|
|
4252
4308
|
});
|
|
4253
|
-
},
|
|
4309
|
+
}, Ze = () => {
|
|
4254
4310
|
n && (n.getActiveObject().bringForward(), n.renderAll());
|
|
4255
|
-
},
|
|
4311
|
+
}, _e = () => {
|
|
4256
4312
|
n && (n.getActiveObject().sendBackwards(), n.renderAll());
|
|
4257
|
-
},
|
|
4313
|
+
}, et = () => {
|
|
4258
4314
|
const c = T + K;
|
|
4259
4315
|
V(c), n.setZoom(c);
|
|
4260
|
-
},
|
|
4316
|
+
}, tt = () => {
|
|
4261
4317
|
const c = Math.max(T - K, K);
|
|
4262
4318
|
V(c), n.setZoom(c);
|
|
4263
|
-
},
|
|
4319
|
+
}, Te = (c) => {
|
|
4264
4320
|
n && n.getActiveObject() && n.getActiveObject().type !== "textbox" && c.keyCode === 8 && ve();
|
|
4265
4321
|
}, S = (c) => {
|
|
4266
4322
|
const O = localStorage.getItem("apc_x_activeTab");
|
|
4267
4323
|
if (O)
|
|
4268
|
-
|
|
4324
|
+
Xe(O).then((z) => {
|
|
4269
4325
|
if (z) {
|
|
4270
4326
|
const k = JSON.stringify(c);
|
|
4271
|
-
|
|
4327
|
+
Pe(z.id, z.classification, k, z.misc).then((le) => {
|
|
4272
4328
|
});
|
|
4273
4329
|
} else {
|
|
4274
4330
|
const k = JSON.stringify(c);
|
|
4275
|
-
|
|
4331
|
+
Pe(g.name ?? "design", "general", k, g).then((le) => {
|
|
4276
4332
|
});
|
|
4277
4333
|
}
|
|
4278
4334
|
});
|
|
4279
4335
|
else {
|
|
4280
4336
|
const z = JSON.stringify(c);
|
|
4281
|
-
|
|
4337
|
+
Pe(g.name ?? "design", "general", z, g).then((k) => {
|
|
4282
4338
|
});
|
|
4283
4339
|
}
|
|
4284
4340
|
}, N = (c, O) => {
|
|
4285
4341
|
const z = JSON.stringify(c);
|
|
4286
|
-
|
|
4342
|
+
Pe(O.id, O.classification, z, O.misc).then((k) => {
|
|
4287
4343
|
});
|
|
4288
4344
|
}, J = () => ({
|
|
4289
|
-
getPDF: () =>
|
|
4345
|
+
getPDF: () => Ee().then((c) => {
|
|
4290
4346
|
let O = [];
|
|
4291
4347
|
for (let z in c)
|
|
4292
4348
|
xe(c[z].content, n.height, n.width, "pdf").then((k) => {
|
|
@@ -4294,7 +4350,7 @@ function In(y) {
|
|
|
4294
4350
|
});
|
|
4295
4351
|
return O;
|
|
4296
4352
|
}),
|
|
4297
|
-
getPNG: () =>
|
|
4353
|
+
getPNG: () => Ee().then((c) => {
|
|
4298
4354
|
let O = [];
|
|
4299
4355
|
for (let z in c)
|
|
4300
4356
|
xe(c[z].content, n.height, n.width, "png").then((k) => {
|
|
@@ -4302,7 +4358,7 @@ function In(y) {
|
|
|
4302
4358
|
});
|
|
4303
4359
|
return O;
|
|
4304
4360
|
}),
|
|
4305
|
-
getSVG: () =>
|
|
4361
|
+
getSVG: () => Ee().then((c) => {
|
|
4306
4362
|
let O = [];
|
|
4307
4363
|
for (let z in c)
|
|
4308
4364
|
xe(c[z].content, n.height, n.width, "svg").then((k) => {
|
|
@@ -4310,7 +4366,7 @@ function In(y) {
|
|
|
4310
4366
|
});
|
|
4311
4367
|
return O;
|
|
4312
4368
|
}),
|
|
4313
|
-
getJPEG: () =>
|
|
4369
|
+
getJPEG: () => Ee().then((c) => {
|
|
4314
4370
|
let O = [];
|
|
4315
4371
|
for (let z in c)
|
|
4316
4372
|
xe(c[z].content, n.height, n.width, "jpeg").then((k) => {
|
|
@@ -4318,7 +4374,7 @@ function In(y) {
|
|
|
4318
4374
|
});
|
|
4319
4375
|
return O;
|
|
4320
4376
|
}),
|
|
4321
|
-
getWEBP: () =>
|
|
4377
|
+
getWEBP: () => Ee().then((c) => {
|
|
4322
4378
|
let O = [];
|
|
4323
4379
|
for (let z in c)
|
|
4324
4380
|
xe(c[z].content, n.height, n.width, "webp").then((k) => {
|
|
@@ -4328,22 +4384,22 @@ function In(y) {
|
|
|
4328
4384
|
}),
|
|
4329
4385
|
getImageActiveTab: () => {
|
|
4330
4386
|
const c = localStorage.getItem("apc_x_activeTab");
|
|
4331
|
-
return
|
|
4387
|
+
return Xe(c).then((O) => xe(O.content, n.height, n.width, "png").then((z) => {
|
|
4332
4388
|
let k = {};
|
|
4333
4389
|
return k.file = z, k.height = n.height, k.width = n.width, k;
|
|
4334
4390
|
}));
|
|
4335
4391
|
}
|
|
4336
4392
|
}), D = () => /* @__PURE__ */ e.jsxs("div", { style: { marginTop: "6px", fontWeight: "bold" }, children: [
|
|
4337
4393
|
"Replace Image: ",
|
|
4338
|
-
/* @__PURE__ */ e.jsx("input", { type: "file", accept: "image/*", onChange: (c) =>
|
|
4394
|
+
/* @__PURE__ */ e.jsx("input", { type: "file", accept: "image/*", onChange: (c) => ee(c) }),
|
|
4339
4395
|
/* @__PURE__ */ e.jsx("br", {})
|
|
4340
|
-
] }),
|
|
4396
|
+
] }), ee = (c, O) => {
|
|
4341
4397
|
{
|
|
4342
4398
|
const z = n.getActiveObject(), k = c.target.files[0], le = new FileReader();
|
|
4343
|
-
le.onload = function(
|
|
4344
|
-
const
|
|
4345
|
-
z.setSrc(
|
|
4346
|
-
|
|
4399
|
+
le.onload = function(ye) {
|
|
4400
|
+
const W = ye.target.result;
|
|
4401
|
+
z.setSrc(W, function(X) {
|
|
4402
|
+
X.set({
|
|
4347
4403
|
angle: 30
|
|
4348
4404
|
}), n && n.renderAll();
|
|
4349
4405
|
});
|
|
@@ -4359,8 +4415,8 @@ function In(y) {
|
|
|
4359
4415
|
apcCanvasInstance: n,
|
|
4360
4416
|
theme: t,
|
|
4361
4417
|
apiKey: i,
|
|
4362
|
-
isMobile:
|
|
4363
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4418
|
+
isMobile: G,
|
|
4419
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4364
4420
|
}
|
|
4365
4421
|
);
|
|
4366
4422
|
case "TEMPLATES":
|
|
@@ -4371,14 +4427,14 @@ function In(y) {
|
|
|
4371
4427
|
theme: t,
|
|
4372
4428
|
apiKey: i,
|
|
4373
4429
|
apiEndpoint: f,
|
|
4374
|
-
reloadTabs: (c) =>
|
|
4375
|
-
updateActiveSection: (c) =>
|
|
4430
|
+
reloadTabs: (c) => q(c),
|
|
4431
|
+
updateActiveSection: (c) => Ne(c),
|
|
4376
4432
|
initCategory: m,
|
|
4377
|
-
currentTabNo:
|
|
4433
|
+
currentTabNo: ze,
|
|
4378
4434
|
initInstance: a,
|
|
4379
4435
|
setActiveTab: (c) => me(c),
|
|
4380
|
-
isMobile:
|
|
4381
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4436
|
+
isMobile: G,
|
|
4437
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4382
4438
|
}
|
|
4383
4439
|
);
|
|
4384
4440
|
case "TXT":
|
|
@@ -4388,8 +4444,8 @@ function In(y) {
|
|
|
4388
4444
|
apcCanvasInstance: n,
|
|
4389
4445
|
theme: t,
|
|
4390
4446
|
apiKey: i,
|
|
4391
|
-
isMobile:
|
|
4392
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4447
|
+
isMobile: G,
|
|
4448
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4393
4449
|
}
|
|
4394
4450
|
);
|
|
4395
4451
|
case "IMAGE":
|
|
@@ -4400,8 +4456,8 @@ function In(y) {
|
|
|
4400
4456
|
theme: t,
|
|
4401
4457
|
apiKey: i,
|
|
4402
4458
|
apiEndpoint: f,
|
|
4403
|
-
isMobile:
|
|
4404
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4459
|
+
isMobile: G,
|
|
4460
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4405
4461
|
}
|
|
4406
4462
|
);
|
|
4407
4463
|
case "STICKERS":
|
|
@@ -4411,9 +4467,9 @@ function In(y) {
|
|
|
4411
4467
|
apcCanvasInstance: n,
|
|
4412
4468
|
theme: t,
|
|
4413
4469
|
apiEndpoint: f,
|
|
4414
|
-
isMobile:
|
|
4470
|
+
isMobile: G,
|
|
4415
4471
|
apiKey: i,
|
|
4416
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4472
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4417
4473
|
}
|
|
4418
4474
|
);
|
|
4419
4475
|
case "SHAPES":
|
|
@@ -4423,8 +4479,8 @@ function In(y) {
|
|
|
4423
4479
|
apcCanvasInstance: n,
|
|
4424
4480
|
theme: t,
|
|
4425
4481
|
apiKey: i,
|
|
4426
|
-
isMobile:
|
|
4427
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4482
|
+
isMobile: G,
|
|
4483
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4428
4484
|
}
|
|
4429
4485
|
);
|
|
4430
4486
|
case "QUOTE":
|
|
@@ -4435,8 +4491,8 @@ function In(y) {
|
|
|
4435
4491
|
theme: t,
|
|
4436
4492
|
apiKey: i,
|
|
4437
4493
|
apiEndpoint: f,
|
|
4438
|
-
isMobile:
|
|
4439
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4494
|
+
isMobile: G,
|
|
4495
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4440
4496
|
}
|
|
4441
4497
|
);
|
|
4442
4498
|
case "BACKGROUND":
|
|
@@ -4447,11 +4503,11 @@ function In(y) {
|
|
|
4447
4503
|
theme: t,
|
|
4448
4504
|
apiKey: i,
|
|
4449
4505
|
apiEndpoint: f,
|
|
4450
|
-
updateActiveSection: (c) =>
|
|
4451
|
-
reloadTabs: (c) =>
|
|
4452
|
-
currentTabNo:
|
|
4453
|
-
isMobile:
|
|
4454
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4506
|
+
updateActiveSection: (c) => Ne(c),
|
|
4507
|
+
reloadTabs: (c) => q(c),
|
|
4508
|
+
currentTabNo: ze,
|
|
4509
|
+
isMobile: G,
|
|
4510
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4455
4511
|
}
|
|
4456
4512
|
);
|
|
4457
4513
|
case "QRCODE":
|
|
@@ -4462,8 +4518,8 @@ function In(y) {
|
|
|
4462
4518
|
theme: t,
|
|
4463
4519
|
apiKey: i,
|
|
4464
4520
|
apiEndpoint: f,
|
|
4465
|
-
isMobile:
|
|
4466
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4521
|
+
isMobile: G,
|
|
4522
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4467
4523
|
}
|
|
4468
4524
|
);
|
|
4469
4525
|
case "BARCODE":
|
|
@@ -4474,8 +4530,8 @@ function In(y) {
|
|
|
4474
4530
|
theme: t,
|
|
4475
4531
|
apiKey: i,
|
|
4476
4532
|
apiEndpoint: f,
|
|
4477
|
-
isMobile:
|
|
4478
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4533
|
+
isMobile: G,
|
|
4534
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4479
4535
|
}
|
|
4480
4536
|
);
|
|
4481
4537
|
case "SIZE":
|
|
@@ -4485,8 +4541,8 @@ function In(y) {
|
|
|
4485
4541
|
apcCanvasInstance: n,
|
|
4486
4542
|
theme: t,
|
|
4487
4543
|
apiKey: i,
|
|
4488
|
-
isMobile:
|
|
4489
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4544
|
+
isMobile: G,
|
|
4545
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4490
4546
|
}
|
|
4491
4547
|
);
|
|
4492
4548
|
default:
|
|
@@ -4496,8 +4552,8 @@ function In(y) {
|
|
|
4496
4552
|
apcCanvasInstance: n,
|
|
4497
4553
|
theme: t,
|
|
4498
4554
|
apiKey: i,
|
|
4499
|
-
isMobile:
|
|
4500
|
-
closeMobileModalSecondaryPanel: (c) =>
|
|
4555
|
+
isMobile: G,
|
|
4556
|
+
closeMobileModalSecondaryPanel: (c) => Z(!c)
|
|
4501
4557
|
}
|
|
4502
4558
|
);
|
|
4503
4559
|
}
|
|
@@ -4510,25 +4566,25 @@ function In(y) {
|
|
|
4510
4566
|
case "textbox":
|
|
4511
4567
|
return /* @__PURE__ */ e.jsx(zt, { apcCanvasInstance: n, theme: t, apiKey: i });
|
|
4512
4568
|
case "rect":
|
|
4513
|
-
return /* @__PURE__ */ e.jsx(
|
|
4569
|
+
return /* @__PURE__ */ e.jsx(Ke, { apcCanvasInstance: n, theme: t, apiKey: i });
|
|
4514
4570
|
case "circle":
|
|
4515
|
-
return /* @__PURE__ */ e.jsx(
|
|
4571
|
+
return /* @__PURE__ */ e.jsx(Ke, { apcCanvasInstance: n, theme: t, apiKey: i });
|
|
4516
4572
|
case "triangle":
|
|
4517
|
-
return /* @__PURE__ */ e.jsx(
|
|
4573
|
+
return /* @__PURE__ */ e.jsx(Ke, { apcCanvasInstance: n, theme: t, apiKey: i });
|
|
4518
4574
|
case "line":
|
|
4519
|
-
return /* @__PURE__ */ e.jsx(
|
|
4575
|
+
return /* @__PURE__ */ e.jsx(Ke, { apcCanvasInstance: n, theme: t, apiKey: i });
|
|
4520
4576
|
case "path":
|
|
4521
|
-
return /* @__PURE__ */ e.jsx(
|
|
4577
|
+
return /* @__PURE__ */ e.jsx(Ke, { apcCanvasInstance: n, theme: t, apiKey: i });
|
|
4522
4578
|
case "polygon":
|
|
4523
|
-
return /* @__PURE__ */ e.jsx(
|
|
4579
|
+
return /* @__PURE__ */ e.jsx(Ke, { apcCanvasInstance: n, theme: t, apiKey: i });
|
|
4524
4580
|
case "image":
|
|
4525
4581
|
return D();
|
|
4526
4582
|
default:
|
|
4527
4583
|
return null;
|
|
4528
4584
|
}
|
|
4529
4585
|
}, re = (c) => {
|
|
4530
|
-
v(c),
|
|
4531
|
-
},
|
|
4586
|
+
v(c), G && Z(!0);
|
|
4587
|
+
}, Je = () => /* @__PURE__ */ e.jsx("div", { id: "selectionRectangle", style: { marginLeft: "auto", position: "relative" }, children: /* @__PURE__ */ e.jsxs("div", { style: { display: "flex", flexDirection: "row", gap: 10, marginTop: "8px" }, children: [
|
|
4532
4588
|
/* @__PURE__ */ e.jsxs(
|
|
4533
4589
|
"div",
|
|
4534
4590
|
{
|
|
@@ -4557,7 +4613,7 @@ function In(y) {
|
|
|
4557
4613
|
{
|
|
4558
4614
|
className: "apc-mpx-tooltip-container",
|
|
4559
4615
|
role: "button",
|
|
4560
|
-
onClick: () =>
|
|
4616
|
+
onClick: () => _e(),
|
|
4561
4617
|
style: { cursor: "pointer" },
|
|
4562
4618
|
children: [
|
|
4563
4619
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -4589,7 +4645,7 @@ function In(y) {
|
|
|
4589
4645
|
{
|
|
4590
4646
|
className: "apc-mpx-tooltip-container",
|
|
4591
4647
|
role: "button",
|
|
4592
|
-
onClick: () =>
|
|
4648
|
+
onClick: () => Ze(),
|
|
4593
4649
|
style: { cursor: "pointer" },
|
|
4594
4650
|
children: [
|
|
4595
4651
|
/* @__PURE__ */ e.jsxs(
|
|
@@ -4676,7 +4732,7 @@ function In(y) {
|
|
|
4676
4732
|
"div",
|
|
4677
4733
|
{
|
|
4678
4734
|
className: "apc-mpx-tooltip-container",
|
|
4679
|
-
onClick: () =>
|
|
4735
|
+
onClick: () => $e(),
|
|
4680
4736
|
style: { cursor: "pointer" },
|
|
4681
4737
|
children: [
|
|
4682
4738
|
/* @__PURE__ */ e.jsx(
|
|
@@ -4700,7 +4756,7 @@ function In(y) {
|
|
|
4700
4756
|
]
|
|
4701
4757
|
}
|
|
4702
4758
|
)
|
|
4703
|
-
] }) }),
|
|
4759
|
+
] }) }), Be = () => n ? /* @__PURE__ */ e.jsx("div", { style: { height: "10vh", overflow: "auto" }, children: /* @__PURE__ */ e.jsx(at, { isOpen: Ae, onClose: () => Z(!1), children: fe() }) }) : null, be = () => n ? G ? Be() : fe() : null;
|
|
4704
4760
|
return /* @__PURE__ */ e.jsxs("div", { className: "apc-mpc-widget-wrapper", children: [
|
|
4705
4761
|
/* @__PURE__ */ e.jsxs("div", { style: {
|
|
4706
4762
|
display: "flex",
|
|
@@ -4744,8 +4800,8 @@ function In(y) {
|
|
|
4744
4800
|
apcCanvasInstance: n,
|
|
4745
4801
|
theme: t,
|
|
4746
4802
|
apiKey: i,
|
|
4747
|
-
updateSelectedSections: (c) =>
|
|
4748
|
-
updateActiveSection: (c) =>
|
|
4803
|
+
updateSelectedSections: (c) => Ie(c),
|
|
4804
|
+
updateActiveSection: (c) => Ne(c),
|
|
4749
4805
|
accesories,
|
|
4750
4806
|
getDesignFormats: J()
|
|
4751
4807
|
}
|
|
@@ -4965,30 +5021,30 @@ function In(y) {
|
|
|
4965
5021
|
theme: t,
|
|
4966
5022
|
activeSection: pe,
|
|
4967
5023
|
selectedObjectType: A,
|
|
4968
|
-
renderQuickActions:
|
|
5024
|
+
renderQuickActions: Je,
|
|
4969
5025
|
renderActionItems: je,
|
|
4970
5026
|
canvasEl: _,
|
|
4971
|
-
zoomIn: () =>
|
|
4972
|
-
zoomOut: () =>
|
|
5027
|
+
zoomIn: () => et(),
|
|
5028
|
+
zoomOut: () => tt(),
|
|
4973
5029
|
apcCanvasInstance: n,
|
|
4974
|
-
setActiveSection: (c) =>
|
|
4975
|
-
updateActiveDesignSection: (c) =>
|
|
5030
|
+
setActiveSection: (c) => Me(c),
|
|
5031
|
+
updateActiveDesignSection: (c) => Ne(c),
|
|
4976
5032
|
saveActiveDesign: (c, O) => N(c, O),
|
|
4977
|
-
reloadTabs:
|
|
4978
|
-
activeTabName:
|
|
5033
|
+
reloadTabs: ze,
|
|
5034
|
+
activeTabName: Se,
|
|
4979
5035
|
supportedColors: Fe,
|
|
4980
5036
|
initProductName: b,
|
|
4981
|
-
historyRef:
|
|
4982
|
-
currentState:
|
|
4983
|
-
setCurrentState: (c) =>
|
|
5037
|
+
historyRef: Ue,
|
|
5038
|
+
currentState: Ve,
|
|
5039
|
+
setCurrentState: (c) => Le(c),
|
|
4984
5040
|
isPlainColor: s,
|
|
4985
5041
|
selectedProduct: g,
|
|
4986
|
-
isMobile:
|
|
5042
|
+
isMobile: G
|
|
4987
5043
|
}
|
|
4988
5044
|
) })
|
|
4989
5045
|
] }),
|
|
4990
5046
|
/* @__PURE__ */ e.jsx("div", { id: "apc-mpx-editor-modal-root" }),
|
|
4991
|
-
|
|
5047
|
+
G ? Be() : null
|
|
4992
5048
|
] });
|
|
4993
5049
|
}
|
|
4994
5050
|
export {
|