@matchain/matchid-sdk-react 0.1.56-alpha.3 → 0.1.56-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.js +56 -47
- package/dist/api.js.map +1 -1
- package/dist/api.mjs +3 -3
- package/dist/{chunk-KDVKIXOS.mjs → chunk-2HVTQUPR.mjs} +276 -267
- package/dist/chunk-2HVTQUPR.mjs.map +1 -0
- package/dist/{chunk-M5LCJX2T.mjs → chunk-NGNJ44SH.mjs} +2 -2
- package/dist/{chunk-FKXS2XRG.mjs → chunk-OSY7MTZY.mjs} +34 -1
- package/dist/chunk-OSY7MTZY.mjs.map +1 -0
- package/dist/components.js +368 -359
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +2 -2
- package/dist/hooks.js +186 -177
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +2 -2
- package/dist/icon.d.mts +1 -1
- package/dist/icon.d.ts +1 -1
- package/dist/icon.js +33 -0
- package/dist/icon.js.map +1 -1
- package/dist/icon.mjs +5 -1
- package/dist/{index-C82WIWvx.d.ts → index-AtpUyTIk.d.ts} +9 -2
- package/dist/{index-D7E317WV.d.mts → index-CRLiCVf9.d.mts} +9 -2
- package/dist/{index-DK7l3lsH.d.ts → index-nwqg5fYH.d.ts} +8 -2
- package/dist/{index-YPRyEYt6.d.mts → index-zmJl2a0q.d.mts} +8 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +448 -411
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/ui.d.mts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.js +144 -104
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +4 -2
- package/example/src/pages/UI/components/Checkbox.tsx +10 -0
- package/example/src/pages/UI/index.tsx +2 -0
- package/package.json +1 -1
- package/dist/chunk-FKXS2XRG.mjs.map +0 -1
- package/dist/chunk-KDVKIXOS.mjs.map +0 -1
- /package/dist/{chunk-M5LCJX2T.mjs.map → chunk-NGNJ44SH.mjs.map} +0 -0
package/dist/ui.js
CHANGED
|
@@ -32,6 +32,7 @@ var ui_exports = {};
|
|
|
32
32
|
__export(ui_exports, {
|
|
33
33
|
AlphaAvatar: () => AlphaAvatar2,
|
|
34
34
|
Button: () => Button,
|
|
35
|
+
Checkbox: () => Checkbox,
|
|
35
36
|
ConfirmModal: () => ConfirmModal,
|
|
36
37
|
Drawer: () => Drawer,
|
|
37
38
|
Field: () => Field,
|
|
@@ -287,8 +288,37 @@ var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
|
287
288
|
// src/assets/icon/MoreIcon.tsx
|
|
288
289
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
289
290
|
|
|
290
|
-
// src/
|
|
291
|
+
// src/assets/icon/CheckboxIcon.tsx
|
|
291
292
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
293
|
+
function CheckboxIcon({
|
|
294
|
+
size = 16,
|
|
295
|
+
color = "#E3E3E3",
|
|
296
|
+
...props
|
|
297
|
+
}) {
|
|
298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("svg", { width: size, height: size, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("rect", { x: "2.08203", y: "2.58325", width: "11.8333", height: "11.8333", rx: "3.25", stroke: color, strokeWidth: "1.5" }) });
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
// src/assets/icon/CheckboxCheckedIcon.tsx
|
|
302
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
303
|
+
function CheckboxCheckedIcon({
|
|
304
|
+
size = 16,
|
|
305
|
+
color = "#FC802D",
|
|
306
|
+
...props
|
|
307
|
+
}) {
|
|
308
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("svg", { width: size, height: size, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
309
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("rect", { x: "1.33203", y: "1.83325", width: "13.3333", height: "13.3333", rx: "4", fill: color }),
|
|
310
|
+
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
311
|
+
"path",
|
|
312
|
+
{
|
|
313
|
+
d: "M5.96094 7.63565L7.23226 8.90697L9.87499 6.26424C10.113 6.02621 10.4989 6.02621 10.737 6.26424C10.975 6.50227 10.975 6.8882 10.737 7.12623L7.80211 10.0611C7.48739 10.3758 6.97714 10.3758 6.66242 10.0611L5.09896 8.49764C4.86093 8.25961 4.86093 7.87368 5.09896 7.63565C5.33699 7.39762 5.72291 7.39762 5.96094 7.63565Z",
|
|
314
|
+
fill: "white"
|
|
315
|
+
}
|
|
316
|
+
)
|
|
317
|
+
] });
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
// src/ui/Button/index.tsx
|
|
321
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
292
322
|
function Button({
|
|
293
323
|
size = "df",
|
|
294
324
|
disabled = false,
|
|
@@ -308,7 +338,7 @@ function Button({
|
|
|
308
338
|
onClick && onClick();
|
|
309
339
|
}
|
|
310
340
|
};
|
|
311
|
-
return /* @__PURE__ */ (0,
|
|
341
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
312
342
|
"button",
|
|
313
343
|
{
|
|
314
344
|
type,
|
|
@@ -319,14 +349,14 @@ function Button({
|
|
|
319
349
|
},
|
|
320
350
|
onClick: onAction,
|
|
321
351
|
...dataset,
|
|
322
|
-
children: loading ? /* @__PURE__ */ (0,
|
|
352
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
|
|
323
353
|
}
|
|
324
354
|
);
|
|
325
355
|
}
|
|
326
356
|
|
|
327
357
|
// src/ui/Overlay/index.tsx
|
|
328
358
|
var import_react = require("react");
|
|
329
|
-
var
|
|
359
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
330
360
|
function Overlay({
|
|
331
361
|
isOpen = false,
|
|
332
362
|
children,
|
|
@@ -342,7 +372,7 @@ function Overlay({
|
|
|
342
372
|
document.body.style.overflow = "";
|
|
343
373
|
};
|
|
344
374
|
}, [isOpen]);
|
|
345
|
-
return isOpen ? /* @__PURE__ */ (0,
|
|
375
|
+
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
346
376
|
"div",
|
|
347
377
|
{
|
|
348
378
|
className: "matchid-overlay",
|
|
@@ -351,11 +381,11 @@ function Overlay({
|
|
|
351
381
|
},
|
|
352
382
|
children
|
|
353
383
|
}
|
|
354
|
-
) : /* @__PURE__ */ (0,
|
|
384
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, {});
|
|
355
385
|
}
|
|
356
386
|
|
|
357
387
|
// src/ui/Drawer/index.tsx
|
|
358
|
-
var
|
|
388
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
359
389
|
function Drawer({
|
|
360
390
|
children,
|
|
361
391
|
showClose = true,
|
|
@@ -366,22 +396,22 @@ function Drawer({
|
|
|
366
396
|
onBack
|
|
367
397
|
}) {
|
|
368
398
|
if (!isOpen) {
|
|
369
|
-
return /* @__PURE__ */ (0,
|
|
399
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, {});
|
|
370
400
|
}
|
|
371
|
-
return /* @__PURE__ */ (0,
|
|
372
|
-
/* @__PURE__ */ (0,
|
|
373
|
-
/* @__PURE__ */ (0,
|
|
374
|
-
onBack && /* @__PURE__ */ (0,
|
|
401
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-drawer", children: [
|
|
402
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
|
|
403
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
|
|
404
|
+
onBack && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
|
|
375
405
|
title
|
|
376
406
|
] }),
|
|
377
|
-
showClose && /* @__PURE__ */ (0,
|
|
407
|
+
showClose && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
|
|
378
408
|
] }),
|
|
379
409
|
children
|
|
380
410
|
] }) });
|
|
381
411
|
}
|
|
382
412
|
|
|
383
413
|
// src/ui/Field/index.tsx
|
|
384
|
-
var
|
|
414
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
385
415
|
function Field({
|
|
386
416
|
label,
|
|
387
417
|
children,
|
|
@@ -389,13 +419,13 @@ function Field({
|
|
|
389
419
|
required,
|
|
390
420
|
className = ""
|
|
391
421
|
}) {
|
|
392
|
-
return /* @__PURE__ */ (0,
|
|
393
|
-
/* @__PURE__ */ (0,
|
|
394
|
-
required && /* @__PURE__ */ (0,
|
|
422
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
|
|
423
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "matchid-field-label", children: [
|
|
424
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "matchid-field-required", children: "*" }),
|
|
395
425
|
label
|
|
396
426
|
] }),
|
|
397
427
|
children,
|
|
398
|
-
error && /* @__PURE__ */ (0,
|
|
428
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "matchid-field-error", children: error })
|
|
399
429
|
] });
|
|
400
430
|
}
|
|
401
431
|
|
|
@@ -429,7 +459,7 @@ var import_react4 = require("react");
|
|
|
429
459
|
|
|
430
460
|
// src/utils/index.tsx
|
|
431
461
|
var import_moment = __toESM(require("moment"));
|
|
432
|
-
var
|
|
462
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
433
463
|
var getVersion = () => {
|
|
434
464
|
return "0.0.2";
|
|
435
465
|
};
|
|
@@ -439,7 +469,7 @@ function getAppClientId() {
|
|
|
439
469
|
|
|
440
470
|
// src/ui/Input/index.tsx
|
|
441
471
|
var import_react3 = require("react");
|
|
442
|
-
var
|
|
472
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
443
473
|
function Input({
|
|
444
474
|
onChange,
|
|
445
475
|
type,
|
|
@@ -449,17 +479,17 @@ function Input({
|
|
|
449
479
|
}) {
|
|
450
480
|
const [inputType, setInputType] = (0, import_react3.useState)(type);
|
|
451
481
|
const isDownMd = useDownMd();
|
|
452
|
-
return /* @__PURE__ */ (0,
|
|
482
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
453
483
|
"div",
|
|
454
484
|
{
|
|
455
485
|
className: `matchid-input-box ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
|
|
456
486
|
children: [
|
|
457
|
-
/* @__PURE__ */ (0,
|
|
458
|
-
props.value && props.value.length > 0 && /* @__PURE__ */ (0,
|
|
487
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
|
|
488
|
+
props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
|
|
459
489
|
if (onChange) {
|
|
460
490
|
onChange({ target: { value: "" } });
|
|
461
491
|
}
|
|
462
|
-
}, children: /* @__PURE__ */ (0,
|
|
492
|
+
}, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
463
493
|
DeleteRoundIcon,
|
|
464
494
|
{
|
|
465
495
|
height: isDownMd ? 16 : 21,
|
|
@@ -467,9 +497,9 @@ function Input({
|
|
|
467
497
|
color: "var(--matchid-input-delete-icon-color)"
|
|
468
498
|
}
|
|
469
499
|
) }),
|
|
470
|
-
type === "password" && /* @__PURE__ */ (0,
|
|
500
|
+
type === "password" && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
|
|
471
501
|
setInputType(inputType === "password" ? "text" : "password");
|
|
472
|
-
}, children: inputType === "password" ? /* @__PURE__ */ (0,
|
|
502
|
+
}, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
|
|
473
503
|
after
|
|
474
504
|
]
|
|
475
505
|
}
|
|
@@ -478,7 +508,7 @@ function Input({
|
|
|
478
508
|
|
|
479
509
|
// src/components/EmailModal/StepEmail.tsx
|
|
480
510
|
var import_react_intl = require("react-intl");
|
|
481
|
-
var
|
|
511
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
482
512
|
|
|
483
513
|
// src/store/useLocalStore.ts
|
|
484
514
|
var import_zustand = require("zustand");
|
|
@@ -737,7 +767,7 @@ var import_viem3 = require("viem");
|
|
|
737
767
|
// src/context/ModalContext.tsx
|
|
738
768
|
var import_react6 = require("react");
|
|
739
769
|
var import_react_dom = require("react-dom");
|
|
740
|
-
var
|
|
770
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
741
771
|
var ModalContext = (0, import_react6.createContext)(null);
|
|
742
772
|
|
|
743
773
|
// src/store/useTransactionStore.ts
|
|
@@ -770,7 +800,7 @@ var persistedState2 = (0, import_middleware2.persist)(
|
|
|
770
800
|
var useTransactionStore = (0, import_zustand3.create)((0, import_middleware2.devtools)(persistedState2));
|
|
771
801
|
|
|
772
802
|
// src/hooks/useWallet.tsx
|
|
773
|
-
var
|
|
803
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
774
804
|
var AppClientId = "react-sdk-" + getVersion();
|
|
775
805
|
|
|
776
806
|
// src/hooks/useCopyClipboard.ts
|
|
@@ -780,7 +810,7 @@ var import_react8 = require("react");
|
|
|
780
810
|
// src/context/ToastContext.tsx
|
|
781
811
|
var import_react9 = require("react");
|
|
782
812
|
var import_react_dom2 = require("react-dom");
|
|
783
|
-
var
|
|
813
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
784
814
|
var ToastContext = (0, import_react9.createContext)(null);
|
|
785
815
|
|
|
786
816
|
// src/hooks/api/wallet.ts
|
|
@@ -790,7 +820,7 @@ var import_react_query = require("@tanstack/react-query");
|
|
|
790
820
|
var import_react10 = require("react");
|
|
791
821
|
var import_viem4 = require("viem");
|
|
792
822
|
var import_react_intl2 = require("react-intl");
|
|
793
|
-
var
|
|
823
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
794
824
|
|
|
795
825
|
// src/hooks/useMatchWallet.tsx
|
|
796
826
|
var import_react_qrcode = require("react-qrcode");
|
|
@@ -879,10 +909,10 @@ var success_default = { v: "5.9.6", fr: 60, ip: 0, op: 120, w: 500, h: 500, nm:
|
|
|
879
909
|
var pending_default = { v: "5.12.1", fr: 60, ip: 0, op: 180, w: 500, h: 500, nm: "12-facebook reactions", ddd: 0, assets: [], layers: [{ ddd: 0, ind: 1, ty: 3, nm: "Main Stroke width - Color Ctrl", parent: 17, sr: 1, ks: { o: { a: 0, k: 0, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [0, 0, 0], ix: 2, l: 2 }, a: { a: 0, k: [50, 50, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, ef: [{ ty: 5, nm: "Highlight width", np: 3, mn: "ADBE Slider Control", ix: 1, en: 1, ef: [{ ty: 0, nm: "\u6ED1\u5757", mn: "ADBE Slider Control-0001", ix: 1, v: { a: 0, k: 18, ix: 1 } }] }, { ty: 5, nm: "Stroke width", np: 3, mn: "ADBE Slider Control", ix: 2, en: 1, ef: [{ ty: 0, nm: "\u6ED1\u5757", mn: "ADBE Slider Control-0001", ix: 1, v: { a: 0, k: 16, ix: 1 } }] }, { ty: 5, nm: "Base Color", np: 3, mn: "ADBE Color Control", ix: 3, en: 1, ef: [{ ty: 2, nm: "\u989C\u8272", mn: "ADBE Color Control-0001", ix: 1, v: { a: 0, k: [0, 0, 0, 1], ix: 1 } }] }, { ty: 5, nm: "Highlight", np: 3, mn: "ADBE Color Control", ix: 4, en: 1, ef: [{ ty: 2, nm: "\u989C\u8272", mn: "ADBE Color Control-0001", ix: 1, v: { a: 0, k: [0.20000000298, 0.800000011921, 0.800000011921, 1], ix: 1 } }] }], ip: 0, op: 180, st: 0, bm: 0 }, { ddd: 0, ind: 2, ty: 3, nm: "rotation", sr: 1, ks: { o: { a: 0, k: 0, ix: 11 }, r: { a: 1, k: [{ i: { x: [0.833], y: [0.879] }, o: { x: [0.734], y: [-0.165] }, t: 0, s: [0] }, { i: { x: [0.682], y: [1] }, o: { x: [0.167], y: [-1.258] }, t: 48, s: [371.925] }, { i: { x: [0.682], y: [1] }, o: { x: [0.167], y: [0] }, t: 64, s: [360] }, { i: { x: [0.833], y: [2.258] }, o: { x: [0.318], y: [0] }, t: 85, s: [360] }, { i: { x: [0.266], y: [1.165] }, o: { x: [0.167], y: [0.121] }, t: 101, s: [371.925] }, { t: 149, s: [0] }], ix: 10 }, p: { a: 0, k: [240, 261, 0], ix: 2, l: 2 }, a: { a: 0, k: [50, 50, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, ip: 0, op: 180, st: 0, bm: 0 }, { ddd: 0, ind: 3, ty: 4, nm: "lines 3", sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [334.53, 207.375, 0], ix: 2, l: 2 }, a: { a: 0, k: [209.53, 112.875, 0], ix: 1, l: 2 }, s: { a: 0, k: [-100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[-10.298, -2.049], [10.298, 2.049]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.988235294819, 0.501960813999, 0.176470592618, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [158.823, 98.07], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 2", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [287.998, 150.87], ix: 2 }, a: { a: 0, k: [246.698, 109.57], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 27, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 3", np: 1, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[-10.298, -2.049], [10.298, 2.049]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.988235294819, 0.501960813999, 0.176470592618, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [158.823, 98.07], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 2", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [287.998, 150.87], ix: 2 }, a: { a: 0, k: [246.698, 109.57], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 2", np: 1, cix: 2, bm: 0, ix: 2, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 48, s: [100] }, { t: 62, s: [0] }], ix: 1 }, e: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 58, s: [100] }, { t: 70, s: [0] }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 3, nm: "Trim Paths 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 48, op: 70, st: 48, ct: 1, bm: 0 }, { ddd: 0, ind: 4, ty: 4, nm: "lines 2", sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [144.53, 207.375, 0], ix: 2, l: 2 }, a: { a: 0, k: [209.53, 112.875, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[-10.298, -2.049], [10.298, 2.049]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.988235294819, 0.501960813999, 0.176470592618, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [158.823, 98.07], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 2", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [287.998, 150.87], ix: 2 }, a: { a: 0, k: [246.698, 109.57], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 27, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 3", np: 1, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[-10.298, -2.049], [10.298, 2.049]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.988235294819, 0.501960813999, 0.176470592618, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [158.823, 98.07], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 2", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [287.998, 150.87], ix: 2 }, a: { a: 0, k: [246.698, 109.57], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 2", np: 1, cix: 2, bm: 0, ix: 2, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 48, s: [100] }, { t: 62, s: [0] }], ix: 1 }, e: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 58, s: [100] }, { t: 70, s: [0] }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 3, nm: "Trim Paths 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 48, op: 70, st: 48, ct: 1, bm: 0 }, { ddd: 0, ind: 5, ty: 4, nm: "lines", sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [209.53, 112.875, 0], ix: 2, l: 2 }, a: { a: 0, k: [209.53, 112.875, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8.731, 5.833], [-8.73, -5.833]], c: true }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [179.204, 48.865], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [220.504, 90.165], ix: 2 }, a: { a: 0, k: [179.204, 48.865], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 1", np: 1, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[-10.298, -2.049], [10.298, 2.049]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [158.823, 98.07], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 2", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [287.998, 150.87], ix: 2 }, a: { a: 0, k: [246.698, 109.57], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 2", np: 1, cix: 2, bm: 0, ix: 2, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 129, s: [0] }, { i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 130, s: [100] }, { t: 145, s: [0] }], ix: 1 }, e: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 3, s: [100] }, { i: { x: [0.667], y: [1] }, o: { x: [0.167], y: [0] }, t: 18, s: [0] }, { i: { x: [0.667], y: [0.993] }, o: { x: [0.333], y: [0] }, t: 129, s: [0] }, { t: 130, s: [100] }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 3, nm: "Trim Paths 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 6, ty: 4, nm: "eyes", parent: 8, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [293.39, 96.022, 0], ix: 2, l: 2 }, a: { a: 0, k: [334.69, 137.322, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 1, k: [{ i: { x: 0.683, y: 1 }, o: { x: 1, y: 0 }, t: 18, s: [{ i: [[0, 0]], o: [[0, 0]], v: [[328.863, 96.022]], c: true }] }, { i: { x: 0.683, y: 1 }, o: { x: 0.167, y: 0 }, t: 48, s: [{ i: [[0, 0]], o: [[0, 0]], v: [[321.325, 102.272]], c: true }] }, { i: { x: 0, y: 1 }, o: { x: 0.317, y: 0 }, t: 100, s: [{ i: [[0, 0]], o: [[0, 0]], v: [[321.325, 102.272]], c: true }] }, { t: 130, s: [{ i: [[0, 0]], o: [[0, 0]], v: [[328.863, 96.022]], c: true }] }], ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [0, 0], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 3", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [370.163, 137.322], ix: 2 }, a: { a: 0, k: [328.863, 96.022], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 3", np: 1, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 1, k: [{ i: { x: 0.683, y: 1 }, o: { x: 1, y: 0 }, t: 18, s: [{ i: [[0, 0]], o: [[0, 0]], v: [[257.918, 96.022]], c: true }] }, { i: { x: 0.683, y: 1 }, o: { x: 0.167, y: 0 }, t: 48, s: [{ i: [[0, 0]], o: [[0, 0]], v: [[265.456, 102.272]], c: true }] }, { i: { x: 0, y: 1 }, o: { x: 0.317, y: 0 }, t: 100, s: [{ i: [[0, 0]], o: [[0, 0]], v: [[265.456, 102.272]], c: true }] }, { t: 130, s: [{ i: [[0, 0]], o: [[0, 0]], v: [[257.918, 96.022]], c: true }] }], ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [0, 0], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 4", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [299.218, 137.322], ix: 2 }, a: { a: 0, k: [257.918, 96.022], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 4", np: 1, cix: 2, bm: 0, ix: 2, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 7, ty: 4, nm: "laugh", parent: 8, sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 46, s: [100] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 47, s: [0] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 101, s: [0] }, { t: 102, s: [100] }], ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [293.4, 145, 0], ix: 2, l: 2 }, a: { a: 0, k: [293.4, 145, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 1, k: [{ i: { x: 0.683, y: 1 }, o: { x: 1, y: 0 }, t: 18, s: [{ i: [[0, 0], [23.196, 0], [0, 23.196]], o: [[0, 23.196], [-23.196, 0], [0, 0]], v: [[42, -21], [0, 21], [-42, -21]], c: true }] }, { i: { x: 0.683, y: 1 }, o: { x: 0.167, y: 0 }, t: 48, s: [{ i: [[0, 0], [14.249, 0], [0, 14.249]], o: [[0, 14.249], [-14.249, 0], [0, 0]], v: [[25.8, -12.9], [0, 12.9], [-25.8, -12.9]], c: true }] }, { i: { x: 0, y: 1 }, o: { x: 0.317, y: 0 }, t: 100, s: [{ i: [[0, 0], [14.249, 0], [0, 14.249]], o: [[0, 14.249], [-14.249, 0], [0, 0]], v: [[25.8, -12.9], [0, 12.9], [-25.8, -12.9]], c: true }] }, { t: 130, s: [{ i: [[0, 0], [23.196, 0], [0, 23.196]], o: [[0, 23.196], [-23.196, 0], [0, 0]], v: [[42, -21], [0, 21], [-42, -21]], c: true }] }], ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [293.4, 145], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 5", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 8, ty: 4, nm: "face 1", parent: 2, sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 46, s: [100] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 47, s: [0] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 101, s: [0] }, { t: 102, s: [100] }], ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.806, y: 1 }, o: { x: 0.994, y: 0 }, t: 18, s: [144.7, -45.7, 0], to: [-15.917, 15.833, 0], ti: [15.917, -15.833, 0] }, { i: { x: 0.806, y: 0.806 }, o: { x: 0.167, y: 0.167 }, t: 48, s: [49.2, 49.3, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 6e-3, y: 1 }, o: { x: 0.194, y: 0 }, t: 100, s: [49.2, 49.3, 0], to: [15.917, -15.833, 0], ti: [-15.917, 15.833, 0] }, { t: 130, s: [144.7, -45.7, 0] }], ix: 2, l: 2 }, a: { a: 0, k: [293.4, 124, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 1, k: [{ i: { x: 0.683, y: 1 }, o: { x: 1, y: 0 }, t: 18, s: [{ i: [[0, -46.392], [46.392, 0], [0, 46.392], [-46.392, 0]], o: [[0, 46.392], [-46.392, 0], [0, -46.392], [46.392, 0]], v: [[84, 0], [0, 84], [-84, 0], [0, -84]], c: true }] }, { i: { x: 0.683, y: 1 }, o: { x: 0.167, y: 0 }, t: 48, s: [{ i: [[0, -40.759], [40.759, 0], [0, 40.759], [-40.759, 0]], o: [[0, 40.759], [-40.759, 0], [0, -40.759], [40.759, 0]], v: [[73.8, 0], [0, 73.8], [-73.8, 0], [0, -73.8]], c: true }] }, { i: { x: 0, y: 1 }, o: { x: 0.317, y: 0 }, t: 100, s: [{ i: [[0, -40.759], [40.759, 0], [0, 40.759], [-40.759, 0]], o: [[0, 40.759], [-40.759, 0], [0, -40.759], [40.759, 0]], v: [[73.8, 0], [0, 73.8], [-73.8, 0], [0, -73.8]], c: true }] }, { t: 130, s: [{ i: [[0, -46.392], [46.392, 0], [0, 46.392], [-46.392, 0]], o: [[0, 46.392], [-46.392, 0], [0, -46.392], [46.392, 0]], v: [[84, 0], [0, 84], [-84, 0], [0, -84]], c: true }] }], ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.988235294819, 0.501960813999, 0.176470592618, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [293.4, 124], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 6", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 9, ty: 4, nm: "mask 2", parent: 8, td: 1, sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 46, s: [100] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 47, s: [0] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 101, s: [0] }, { t: 102, s: [100] }], ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [293.4, 124, 0], ix: 2, l: 2 }, a: { a: 0, k: [293.4, 124, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 1, k: [{ i: { x: 0.683, y: 1 }, o: { x: 1, y: 0 }, t: 18, s: [{ i: [[0, -46.392], [46.392, 0], [0, 46.392], [-46.392, 0]], o: [[0, 46.392], [-46.392, 0], [0, -46.392], [46.392, 0]], v: [[84, 0], [0, 84], [-84, 0], [0, -84]], c: true }] }, { i: { x: 0.683, y: 1 }, o: { x: 0.167, y: 0 }, t: 48, s: [{ i: [[0, -40.759], [40.759, 0], [0, 40.759], [-40.759, 0]], o: [[0, 40.759], [-40.759, 0], [0, -40.759], [40.759, 0]], v: [[73.8, 0], [0, 73.8], [-73.8, 0], [0, -73.8]], c: true }] }, { i: { x: 0, y: 1 }, o: { x: 0.317, y: 0 }, t: 100, s: [{ i: [[0, -40.759], [40.759, 0], [0, 40.759], [-40.759, 0]], o: [[0, 40.759], [-40.759, 0], [0, -40.759], [40.759, 0]], v: [[73.8, 0], [0, 73.8], [-73.8, 0], [0, -73.8]], c: true }] }, { t: 130, s: [{ i: [[0, -46.392], [46.392, 0], [0, 46.392], [-46.392, 0]], o: [[0, 46.392], [-46.392, 0], [0, -46.392], [46.392, 0]], v: [[84, 0], [0, 84], [-84, 0], [0, -84]], c: true }] }], ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "fl", c: { a: 0, k: [1, 0, 0, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill 1", mn: "ADBE Vector Graphic - Fill", hd: false }, { ty: "tr", p: { a: 0, k: [293.4, 124], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 6", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 10, ty: 4, nm: "smile", parent: 12, tt: 2, tp: 9, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [112.95, 324.2, 0], ix: 2, l: 2 }, a: { a: 0, k: [198.2, 240.2, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ty: "rc", d: 1, s: { a: 0, k: [81.5, 56.5], ix: 2 }, p: { a: 0, k: [0, 0], ix: 3 }, r: { a: 0, k: 0, ix: 4 }, nm: "Rectangle Path 1", mn: "ADBE Vector Shape - Rect", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 1, lj: 1, ml: 4, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "fl", c: { a: 0, k: [1, 0, 0, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill 1", mn: "ADBE Vector Graphic - Fill", hd: false }, { ty: "tr", p: { a: 0, k: [196.95, 238.95], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 0, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Rectangle 1", np: 3, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, 0], [11.598, 0], [0, 11.598]], o: [[0, 11.598], [-11.598, 0], [0, 0]], v: [[21, -10.5], [0, 10.5], [-21, -10.5]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [198.2, 240.2], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 7", np: 2, cix: 2, bm: 0, ix: 2, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 11, ty: 4, nm: "mask", parent: 8, td: 1, sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 46, s: [100] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 47, s: [0] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 101, s: [0] }, { t: 102, s: [100] }], ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [293.4, 124, 0], ix: 2, l: 2 }, a: { a: 0, k: [293.4, 124, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 1, k: [{ i: { x: 0.683, y: 1 }, o: { x: 1, y: 0 }, t: 18, s: [{ i: [[0, -46.392], [46.392, 0], [0, 46.392], [-46.392, 0]], o: [[0, 46.392], [-46.392, 0], [0, -46.392], [46.392, 0]], v: [[84, 0], [0, 84], [-84, 0], [0, -84]], c: true }] }, { i: { x: 0.683, y: 1 }, o: { x: 0.167, y: 0 }, t: 48, s: [{ i: [[0, -40.759], [40.759, 0], [0, 40.759], [-40.759, 0]], o: [[0, 40.759], [-40.759, 0], [0, -40.759], [40.759, 0]], v: [[73.8, 0], [0, 73.8], [-73.8, 0], [0, -73.8]], c: true }] }, { i: { x: 0, y: 1 }, o: { x: 0.317, y: 0 }, t: 100, s: [{ i: [[0, -40.759], [40.759, 0], [0, 40.759], [-40.759, 0]], o: [[0, 40.759], [-40.759, 0], [0, -40.759], [40.759, 0]], v: [[73.8, 0], [0, 73.8], [-73.8, 0], [0, -73.8]], c: true }] }, { t: 130, s: [{ i: [[0, -46.392], [46.392, 0], [0, 46.392], [-46.392, 0]], o: [[0, 46.392], [-46.392, 0], [0, -46.392], [46.392, 0]], v: [[84, 0], [0, 84], [-84, 0], [0, -84]], c: true }] }], ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "fl", c: { a: 0, k: [1, 0, 0, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill 1", mn: "ADBE Vector Graphic - Fill", hd: false }, { ty: "tr", p: { a: 0, k: [293.4, 124], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 6", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 12, ty: 4, nm: "face 2", parent: 2, tt: 2, tp: 11, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [229.95, -129.7, 0], ix: 2, l: 2 }, a: { a: 0, k: [293.4, 124, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, -40.745], [40.745, 0], [0, 40.745], [-40.745, 0]], o: [[0, 40.745], [-40.745, 0], [0, -40.745], [40.745, 0]], v: [[-106.45, 179.6], [-180.225, 253.375], [-254, 179.6], [-180.225, 105.825]], c: true }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [293.4, 124], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 6", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 13, ty: 4, nm: "mask 3", parent: 2, td: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [229.95, -129.7, 0], ix: 2, l: 2 }, a: { a: 0, k: [293.4, 124, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, -40.745], [40.745, 0], [0, 40.745], [-40.745, 0]], o: [[0, 40.745], [-40.745, 0], [0, -40.745], [40.745, 0]], v: [[-106.45, 179.6], [-180.225, 253.375], [-254, 179.6], [-180.225, 105.825]], c: true }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "fl", c: { a: 0, k: [1, 0, 0, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill 1", mn: "ADBE Vector Graphic - Fill", hd: false }, { ty: "tr", p: { a: 0, k: [293.4, 124], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 6", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 14, ty: 4, nm: "sad", parent: 16, tt: 2, tp: 13, sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 47, s: [100] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 48, s: [0] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 100, s: [0] }, { t: 101, s: [100] }], ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [113.5, 324.9, 0], ix: 2, l: 2 }, a: { a: 0, k: [113.5, 324.9, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ty: "rc", d: 1, s: { a: 0, k: [78, 60.5], ix: 2 }, p: { a: 0, k: [0, 0], ix: 3 }, r: { a: 0, k: 0, ix: 4 }, nm: "Rectangle Path 1", mn: "ADBE Vector Shape - Rect", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 1, lj: 1, ml: 4, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "fl", c: { a: 0, k: [1, 0, 0, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill 1", mn: "ADBE Vector Graphic - Fill", hd: false }, { ty: "tr", p: { a: 0, k: [113.7, 326.95], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 0, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Rectangle 1", np: 3, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, 0], [-11.598, 0], [0, -11.598]], o: [[0, -11.598], [11.598, 0], [0, 0]], v: [[-21, 10.5], [0, -10.5], [21, 10.5]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0, 0, 0, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [113.5, 324.9], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 9", np: 2, cix: 2, bm: 0, ix: 2, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 15, ty: 4, nm: "mask", parent: 2, td: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [229.95, -129.7, 0], ix: 2, l: 2 }, a: { a: 0, k: [293.4, 124, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, -40.745], [40.745, 0], [0, 40.745], [-40.745, 0]], o: [[0, 40.745], [-40.745, 0], [0, -40.745], [40.745, 0]], v: [[-106.45, 179.6], [-180.225, 253.375], [-254, 179.6], [-180.225, 105.825]], c: true }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "fl", c: { a: 0, k: [1, 0, 0, 1], ix: 4 }, o: { a: 0, k: 100, ix: 5 }, r: 1, bm: 0, nm: "Fill 1", mn: "ADBE Vector Graphic - Fill", hd: false }, { ty: "tr", p: { a: 0, k: [293.4, 124], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 6", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 16, ty: 4, nm: "face 3", parent: 2, tt: 2, tp: 15, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.787, y: 1 }, o: { x: 0.97, y: 0 }, t: 18, s: [-35.525, 133.9, 0], to: [14.25, -14, 0], ti: [-14.25, 14, 0] }, { i: { x: 0.787, y: 0.787 }, o: { x: 0.167, y: 0.167 }, t: 48, s: [49.975, 49.9, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.03, y: 1 }, o: { x: 0.213, y: 0 }, t: 100, s: [49.975, 49.9, 0], to: [-14.25, 14, 0], ti: [14.25, -14, 0] }, { t: 130, s: [-35.525, 133.9, 0] }], ix: 2, l: 2 }, a: { a: 0, k: [113.175, 303.6, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, shapes: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 0, k: { i: [[0, -40.745], [40.745, 0], [0, 40.745], [-40.745, 0]], o: [[0, 40.745], [-40.745, 0], [0, -40.745], [40.745, 0]], v: [[-106.45, 179.6], [-180.225, 253.375], [-254, 179.6], [-180.225, 105.825]], c: true }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.988235294819, 0.501960813999, 0.176470592618, 1], ix: 3 }, o: { a: 0, k: 100, ix: 4 }, w: { a: 0, k: 16, ix: 5 }, lc: 2, lj: 2, bm: 0, nm: "Stroke 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [293.4, 124], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 0, k: 0, ix: 6 }, o: { a: 0, k: 100, ix: 7 }, sk: { a: 0, k: 0, ix: 4 }, sa: { a: 0, k: 0, ix: 5 }, nm: "\u53D8\u6362" }], nm: "Group 6", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 17, ty: 3, nm: "Zero | troke width - Color Ctrl", sr: 1, ks: { o: { a: 0, k: 0, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [250, 250, 0], ix: 2, l: 2 }, a: { a: 0, k: [0, 0, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, ip: 0, op: 180, st: 0, bm: 0 }], markers: [], props: {} };
|
|
880
910
|
|
|
881
911
|
// src/components/ImportToken/index.tsx
|
|
882
|
-
var
|
|
912
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
883
913
|
|
|
884
914
|
// src/hooks/useMatchWallet.tsx
|
|
885
|
-
var
|
|
915
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
886
916
|
|
|
887
917
|
// src/hooks/useReceipt.tsx
|
|
888
918
|
var import_react13 = require("react");
|
|
@@ -940,7 +970,7 @@ function useHash({
|
|
|
940
970
|
var import_zustand5 = require("zustand");
|
|
941
971
|
|
|
942
972
|
// src/hooks/useConfig.tsx
|
|
943
|
-
var
|
|
973
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
944
974
|
var DEFAULT_WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
|
|
945
975
|
|
|
946
976
|
// src/store/useModalStore.ts
|
|
@@ -985,14 +1015,14 @@ var useWalletModalStore = (0, import_zustand5.create)((set) => ({
|
|
|
985
1015
|
// src/components/CEXBindModal/index.tsx
|
|
986
1016
|
var import_react15 = require("react");
|
|
987
1017
|
var import_react_intl5 = require("react-intl");
|
|
988
|
-
var
|
|
1018
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
989
1019
|
|
|
990
1020
|
// src/context/BusinessProvider.tsx
|
|
991
1021
|
var import_react_query8 = require("@tanstack/react-query");
|
|
992
|
-
var
|
|
1022
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
993
1023
|
|
|
994
1024
|
// src/context/index.tsx
|
|
995
|
-
var
|
|
1025
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
996
1026
|
|
|
997
1027
|
// src/hooks/useWalletInit.ts
|
|
998
1028
|
var import_react16 = require("react");
|
|
@@ -1072,7 +1102,7 @@ var matchTest = /* @__PURE__ */ (0, import_viem12.defineChain)({
|
|
|
1072
1102
|
|
|
1073
1103
|
// src/MatchContext.tsx
|
|
1074
1104
|
var import_wagmi = require("wagmi");
|
|
1075
|
-
var
|
|
1105
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
1076
1106
|
var queryClient = new import_react_query9.QueryClient();
|
|
1077
1107
|
var wagmiConfig = (0, import_rainbowkit.getDefaultConfig)({
|
|
1078
1108
|
appName: "MatchID",
|
|
@@ -1096,15 +1126,15 @@ var MatchContext = (0, import_react18.createContext)(void 0);
|
|
|
1096
1126
|
// src/components/EmailModal/StepVerify.tsx
|
|
1097
1127
|
var import_react20 = require("react");
|
|
1098
1128
|
var import_react_intl7 = require("react-intl");
|
|
1099
|
-
var
|
|
1129
|
+
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
1100
1130
|
|
|
1101
1131
|
// src/components/EmailModal/index.tsx
|
|
1102
1132
|
var import_react_intl8 = require("react-intl");
|
|
1103
|
-
var
|
|
1133
|
+
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
1104
1134
|
|
|
1105
1135
|
// src/ui/Popover/index.tsx
|
|
1106
1136
|
var import_react22 = require("react");
|
|
1107
|
-
var
|
|
1137
|
+
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
1108
1138
|
function Popover({
|
|
1109
1139
|
children,
|
|
1110
1140
|
content,
|
|
@@ -1114,7 +1144,7 @@ function Popover({
|
|
|
1114
1144
|
gap = "20px"
|
|
1115
1145
|
}) {
|
|
1116
1146
|
const [active, setActive] = (0, import_react22.useState)(false);
|
|
1117
|
-
return children && /* @__PURE__ */ (0,
|
|
1147
|
+
return children && /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
|
|
1118
1148
|
"div",
|
|
1119
1149
|
{
|
|
1120
1150
|
onClick: () => {
|
|
@@ -1125,9 +1155,9 @@ function Popover({
|
|
|
1125
1155
|
className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
|
|
1126
1156
|
children: [
|
|
1127
1157
|
children,
|
|
1128
|
-
/* @__PURE__ */ (0,
|
|
1158
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { style: {
|
|
1129
1159
|
paddingTop: gap
|
|
1130
|
-
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0,
|
|
1160
|
+
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: `matchid-popover-content`, children: content }) })
|
|
1131
1161
|
]
|
|
1132
1162
|
}
|
|
1133
1163
|
);
|
|
@@ -1141,36 +1171,36 @@ var import_react_intl9 = require("react-intl");
|
|
|
1141
1171
|
var import_react_query10 = require("@tanstack/react-query");
|
|
1142
1172
|
|
|
1143
1173
|
// src/components/LoginBox/index.tsx
|
|
1144
|
-
var
|
|
1174
|
+
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
1145
1175
|
|
|
1146
1176
|
// src/components/LoginButton/index.tsx
|
|
1147
1177
|
var import_react25 = require("react");
|
|
1148
1178
|
|
|
1149
1179
|
// src/components/LoginPanel/index.tsx
|
|
1150
1180
|
var import_react_intl10 = require("react-intl");
|
|
1151
|
-
var
|
|
1181
|
+
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
1152
1182
|
|
|
1153
1183
|
// src/components/LoginModal/index.tsx
|
|
1154
|
-
var
|
|
1184
|
+
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
1155
1185
|
|
|
1156
1186
|
// src/components/UserPopover/index.tsx
|
|
1157
1187
|
var import_react24 = require("react");
|
|
1158
1188
|
|
|
1159
1189
|
// src/assets/icon/ProfileIcon.tsx
|
|
1160
|
-
var
|
|
1190
|
+
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
1161
1191
|
|
|
1162
1192
|
// src/components/UserPopover/index.tsx
|
|
1163
1193
|
var import_react_intl11 = require("react-intl");
|
|
1164
|
-
var
|
|
1194
|
+
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
1165
1195
|
|
|
1166
1196
|
// src/components/LoginButton/index.tsx
|
|
1167
1197
|
var import_react_intl12 = require("react-intl");
|
|
1168
|
-
var
|
|
1198
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
1169
1199
|
|
|
1170
1200
|
// src/components/UsernameModal/index.tsx
|
|
1171
1201
|
var import_react26 = require("react");
|
|
1172
1202
|
var import_react_intl13 = require("react-intl");
|
|
1173
|
-
var
|
|
1203
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
1174
1204
|
|
|
1175
1205
|
// src/components/EVMModal/index.tsx
|
|
1176
1206
|
var import_react29 = require("react");
|
|
@@ -1178,7 +1208,7 @@ var import_react_intl14 = require("react-intl");
|
|
|
1178
1208
|
|
|
1179
1209
|
// src/components/WalletModalContent/index.tsx
|
|
1180
1210
|
var import_react27 = require("react");
|
|
1181
|
-
var
|
|
1211
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
1182
1212
|
|
|
1183
1213
|
// src/components/EVMModal/index.tsx
|
|
1184
1214
|
var import_rainbowkit2 = require("@rainbow-me/rainbowkit");
|
|
@@ -1195,7 +1225,7 @@ var import_ethers = require("ethers");
|
|
|
1195
1225
|
// src/components/EVMModal/index.tsx
|
|
1196
1226
|
var import_siwe = require("siwe");
|
|
1197
1227
|
var import_styles = require("@rainbow-me/rainbowkit/styles.css");
|
|
1198
|
-
var
|
|
1228
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
1199
1229
|
|
|
1200
1230
|
// src/components/TRONModal/index.tsx
|
|
1201
1231
|
var import_react31 = __toESM(require("react"));
|
|
@@ -1205,13 +1235,13 @@ var import_react_intl15 = require("react-intl");
|
|
|
1205
1235
|
var import_react30 = require("react");
|
|
1206
1236
|
|
|
1207
1237
|
// src/components/TRONModal/index.tsx
|
|
1208
|
-
var
|
|
1238
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
1209
1239
|
|
|
1210
1240
|
// src/components/TONModal/index.tsx
|
|
1211
1241
|
var import_react32 = __toESM(require("react"));
|
|
1212
1242
|
var import_react_intl16 = require("react-intl");
|
|
1213
1243
|
var import_ui_react = require("@tonconnect/ui-react");
|
|
1214
|
-
var
|
|
1244
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
1215
1245
|
|
|
1216
1246
|
// src/components/BTCModal/index.tsx
|
|
1217
1247
|
var import_react34 = __toESM(require("react"));
|
|
@@ -1224,34 +1254,34 @@ var import_sats_connect = require("sats-connect");
|
|
|
1224
1254
|
var import_react33 = require("react");
|
|
1225
1255
|
|
|
1226
1256
|
// src/components/BTCModal/index.tsx
|
|
1227
|
-
var
|
|
1257
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
1228
1258
|
|
|
1229
1259
|
// src/components/WalletModal/index.tsx
|
|
1230
1260
|
var import_react35 = require("react");
|
|
1231
1261
|
var import_react_intl18 = require("react-intl");
|
|
1232
|
-
var
|
|
1262
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
1233
1263
|
|
|
1234
1264
|
// src/components/AlphaAvatar/index.tsx
|
|
1235
1265
|
var import_react36 = require("react");
|
|
1236
|
-
var
|
|
1266
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
1237
1267
|
|
|
1238
1268
|
// src/components/WalletAsset/index.tsx
|
|
1239
|
-
var
|
|
1269
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
1240
1270
|
|
|
1241
1271
|
// src/components/TokenSend/index.tsx
|
|
1242
1272
|
var import_react37 = require("react");
|
|
1243
1273
|
var import_viem13 = require("viem");
|
|
1244
1274
|
var import_react_intl19 = require("react-intl");
|
|
1245
|
-
var
|
|
1275
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
1246
1276
|
|
|
1247
1277
|
// src/components/TokenDetail/index.tsx
|
|
1248
1278
|
var import_react_intl20 = require("react-intl");
|
|
1249
|
-
var
|
|
1279
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
1250
1280
|
|
|
1251
1281
|
// src/components/TokenSendList/index.tsx
|
|
1252
1282
|
var import_react38 = require("react");
|
|
1253
1283
|
var import_react_intl21 = require("react-intl");
|
|
1254
|
-
var
|
|
1284
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
1255
1285
|
|
|
1256
1286
|
// src/components/TransactionList/index.tsx
|
|
1257
1287
|
var import_react_infinite_scroll_component = __toESM(require("react-infinite-scroll-component"));
|
|
@@ -1259,11 +1289,11 @@ var import_react39 = require("react");
|
|
|
1259
1289
|
var import_viem14 = require("viem");
|
|
1260
1290
|
var import_viem15 = require("viem");
|
|
1261
1291
|
var import_react_intl22 = require("react-intl");
|
|
1262
|
-
var
|
|
1292
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
1263
1293
|
|
|
1264
1294
|
// src/ui/Modal/index.tsx
|
|
1265
1295
|
var import_react_intl23 = require("react-intl");
|
|
1266
|
-
var
|
|
1296
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
1267
1297
|
function Modal({
|
|
1268
1298
|
children,
|
|
1269
1299
|
isOpen,
|
|
@@ -1271,10 +1301,10 @@ function Modal({
|
|
|
1271
1301
|
zIndex = 100,
|
|
1272
1302
|
className = ""
|
|
1273
1303
|
}) {
|
|
1274
|
-
return /* @__PURE__ */ (0,
|
|
1304
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: `matchid-modal ${className}`, style: {
|
|
1275
1305
|
width
|
|
1276
1306
|
}, children: [
|
|
1277
|
-
/* @__PURE__ */ (0,
|
|
1307
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-modal-mobile-header" }),
|
|
1278
1308
|
children
|
|
1279
1309
|
] }) });
|
|
1280
1310
|
}
|
|
@@ -1288,13 +1318,13 @@ function ModalWithHeader({
|
|
|
1288
1318
|
...props
|
|
1289
1319
|
}) {
|
|
1290
1320
|
const isDownMd = useDownMd();
|
|
1291
|
-
return /* @__PURE__ */ (0,
|
|
1292
|
-
/* @__PURE__ */ (0,
|
|
1293
|
-
/* @__PURE__ */ (0,
|
|
1294
|
-
onBack && /* @__PURE__ */ (0,
|
|
1295
|
-
/* @__PURE__ */ (0,
|
|
1321
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(Modal, { ...props, children: [
|
|
1322
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
|
|
1323
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-modal-header-content", children: [
|
|
1324
|
+
onBack && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
|
|
1325
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "matchid-modal-header-title", children: title })
|
|
1296
1326
|
] }),
|
|
1297
|
-
onClose && /* @__PURE__ */ (0,
|
|
1327
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
|
|
1298
1328
|
] }),
|
|
1299
1329
|
children
|
|
1300
1330
|
] });
|
|
@@ -1329,17 +1359,17 @@ function ConfirmModal({
|
|
|
1329
1359
|
setLoading(false);
|
|
1330
1360
|
}
|
|
1331
1361
|
};
|
|
1332
|
-
return /* @__PURE__ */ (0,
|
|
1333
|
-
/* @__PURE__ */ (0,
|
|
1334
|
-
error && /* @__PURE__ */ (0,
|
|
1335
|
-
/* @__PURE__ */ (0,
|
|
1362
|
+
return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ModalWithHeader, { isOpen, onClose, title, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-confirm-modal", children: [
|
|
1363
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-w-full", children }),
|
|
1364
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-error`, children: error }),
|
|
1365
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { size: "lg", onClick: onSubmit, loading, block: true, highlight: true, children: confirmText ?? intl.formatMessage({
|
|
1336
1366
|
id: "Confirm"
|
|
1337
1367
|
}) })
|
|
1338
1368
|
] }) });
|
|
1339
1369
|
}
|
|
1340
1370
|
|
|
1341
1371
|
// src/ui/ModalDrawer/index.tsx
|
|
1342
|
-
var
|
|
1372
|
+
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
1343
1373
|
function ModalDrawer({
|
|
1344
1374
|
title,
|
|
1345
1375
|
drawerTitleVisible = true,
|
|
@@ -1347,13 +1377,13 @@ function ModalDrawer({
|
|
|
1347
1377
|
}) {
|
|
1348
1378
|
const isDownMd = useDownMd();
|
|
1349
1379
|
if (isDownMd) {
|
|
1350
|
-
return /* @__PURE__ */ (0,
|
|
1380
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(ModalWithHeader, { ...props, title });
|
|
1351
1381
|
}
|
|
1352
|
-
return /* @__PURE__ */ (0,
|
|
1382
|
+
return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
|
|
1353
1383
|
}
|
|
1354
1384
|
|
|
1355
1385
|
// src/ui/HashPanel/index.tsx
|
|
1356
|
-
var
|
|
1386
|
+
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
1357
1387
|
function HashPanel({
|
|
1358
1388
|
hash,
|
|
1359
1389
|
chain,
|
|
@@ -1413,14 +1443,14 @@ function HashPanel({
|
|
|
1413
1443
|
}
|
|
1414
1444
|
}, [hashQuery.data]);
|
|
1415
1445
|
const link = chain ? `${chain?.blockExplorers?.default.url}/tx/${hash}` : "";
|
|
1416
|
-
return /* @__PURE__ */ (0,
|
|
1446
|
+
return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
1417
1447
|
ModalDrawer,
|
|
1418
1448
|
{
|
|
1419
1449
|
isOpen,
|
|
1420
1450
|
showClose: true,
|
|
1421
1451
|
onClose,
|
|
1422
1452
|
zIndex,
|
|
1423
|
-
title: /* @__PURE__ */ (0,
|
|
1453
|
+
title: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
|
|
1424
1454
|
"div",
|
|
1425
1455
|
{
|
|
1426
1456
|
className: "matchid-hashpanel-header",
|
|
@@ -1430,32 +1460,32 @@ function HashPanel({
|
|
|
1430
1460
|
children: statusValue.text
|
|
1431
1461
|
}
|
|
1432
1462
|
),
|
|
1433
|
-
children: /* @__PURE__ */ (0,
|
|
1434
|
-
/* @__PURE__ */ (0,
|
|
1435
|
-
/* @__PURE__ */ (0,
|
|
1463
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "matchid-hashpanel-box", children: [
|
|
1464
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "matchid-hashpanel-content", children: [
|
|
1465
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: `matchid-hashpanel-status`, style: {
|
|
1436
1466
|
color: statusValue.color
|
|
1437
1467
|
}, children: statusValue.text }),
|
|
1438
|
-
statusValue.lottie && /* @__PURE__ */ (0,
|
|
1468
|
+
statusValue.lottie && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
|
|
1439
1469
|
width: "96px",
|
|
1440
1470
|
height: "96px"
|
|
1441
1471
|
} }),
|
|
1442
|
-
hash && /* @__PURE__ */ (0,
|
|
1472
|
+
hash && /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
|
|
1443
1473
|
"Hash:",
|
|
1444
|
-
/* @__PURE__ */ (0,
|
|
1474
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("a", { href: link, target: "_blank", children: hash })
|
|
1445
1475
|
] }),
|
|
1446
|
-
error && /* @__PURE__ */ (0,
|
|
1476
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "matchid-hashpanel-text", children: error })
|
|
1447
1477
|
] }),
|
|
1448
|
-
/* @__PURE__ */ (0,
|
|
1478
|
+
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
|
|
1449
1479
|
] })
|
|
1450
1480
|
}
|
|
1451
1481
|
);
|
|
1452
1482
|
}
|
|
1453
1483
|
function HashPanel_default(props) {
|
|
1454
|
-
return props.isOpen && /* @__PURE__ */ (0,
|
|
1484
|
+
return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(HashPanel, { ...props });
|
|
1455
1485
|
}
|
|
1456
1486
|
|
|
1457
1487
|
// src/ui/Switch/index.tsx
|
|
1458
|
-
var
|
|
1488
|
+
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
1459
1489
|
function Switch({
|
|
1460
1490
|
size = "default",
|
|
1461
1491
|
checked = false,
|
|
@@ -1470,12 +1500,12 @@ function Switch({
|
|
|
1470
1500
|
onChange && onChange(!checked);
|
|
1471
1501
|
}
|
|
1472
1502
|
};
|
|
1473
|
-
return /* @__PURE__ */ (0,
|
|
1503
|
+
return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { onClick, className: `matchid-switch matchid-switch-${size} ${checked ? "matchid-switch-checked" : ""} ${disabled ? "matchid-switch-disabled" : ""} ${loading ? "matchid-switch-loading" : ""}`, ...props, children: loading ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(LoadingIcon_default, { className: "matchid-switch-loading-icon", size: size == "default" ? 24 : 18, color: "var(--matchid-swicth-loading-color)" }) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "matchid-switch-ball" }) });
|
|
1474
1504
|
}
|
|
1475
1505
|
|
|
1476
1506
|
// src/ui/AlphaAvatar/index.tsx
|
|
1477
1507
|
var import_react42 = require("react");
|
|
1478
|
-
var
|
|
1508
|
+
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
1479
1509
|
function AlphaAvatar2({
|
|
1480
1510
|
name,
|
|
1481
1511
|
size = "default",
|
|
@@ -1492,7 +1522,7 @@ function AlphaAvatar2({
|
|
|
1492
1522
|
return "";
|
|
1493
1523
|
}, [name]);
|
|
1494
1524
|
const numberSize = typeof size === "number" ? size : size === "sm" ? 24 : size === "default" ? 40 : 64;
|
|
1495
|
-
return /* @__PURE__ */ (0,
|
|
1525
|
+
return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
|
|
1496
1526
|
width: numberSize,
|
|
1497
1527
|
height: numberSize,
|
|
1498
1528
|
fontSize: Math.ceil(numberSize / 2),
|
|
@@ -1501,7 +1531,7 @@ function AlphaAvatar2({
|
|
|
1501
1531
|
}
|
|
1502
1532
|
|
|
1503
1533
|
// src/ui/Radio/index.tsx
|
|
1504
|
-
var
|
|
1534
|
+
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
1505
1535
|
function Radio({
|
|
1506
1536
|
checked = false,
|
|
1507
1537
|
onChange,
|
|
@@ -1510,20 +1540,20 @@ function Radio({
|
|
|
1510
1540
|
className = "",
|
|
1511
1541
|
style = {}
|
|
1512
1542
|
}) {
|
|
1513
|
-
return /* @__PURE__ */ (0,
|
|
1543
|
+
return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
|
|
1514
1544
|
width: size,
|
|
1515
1545
|
height: size,
|
|
1516
1546
|
...style,
|
|
1517
1547
|
// @ts-ignore
|
|
1518
1548
|
"--matchid-radio-checked": color
|
|
1519
|
-
}, children: checked && /* @__PURE__ */ (0,
|
|
1549
|
+
}, children: checked && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: `matchid-radio-content`, style: {
|
|
1520
1550
|
width: Math.floor(size * 0.7),
|
|
1521
1551
|
height: Math.floor(size * 0.7)
|
|
1522
1552
|
} }) });
|
|
1523
1553
|
}
|
|
1524
1554
|
|
|
1525
1555
|
// src/ui/Skeleton/index.tsx
|
|
1526
|
-
var
|
|
1556
|
+
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
1527
1557
|
var Skeleton = ({
|
|
1528
1558
|
style = {},
|
|
1529
1559
|
className = "",
|
|
@@ -1534,7 +1564,7 @@ var Skeleton = ({
|
|
|
1534
1564
|
children
|
|
1535
1565
|
}) => {
|
|
1536
1566
|
if (!loading) {
|
|
1537
|
-
return /* @__PURE__ */ (0,
|
|
1567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_jsx_runtime99.Fragment, { children });
|
|
1538
1568
|
}
|
|
1539
1569
|
const skeletonStyle = {
|
|
1540
1570
|
width,
|
|
@@ -1542,7 +1572,7 @@ var Skeleton = ({
|
|
|
1542
1572
|
borderRadius: radius,
|
|
1543
1573
|
...style
|
|
1544
1574
|
};
|
|
1545
|
-
return /* @__PURE__ */ (0,
|
|
1575
|
+
return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
|
|
1546
1576
|
"div",
|
|
1547
1577
|
{
|
|
1548
1578
|
className: "matchid-skeleton " + className,
|
|
@@ -1553,10 +1583,10 @@ var Skeleton = ({
|
|
|
1553
1583
|
var Skeleton_default = Skeleton;
|
|
1554
1584
|
|
|
1555
1585
|
// src/ui/Tabs/index.tsx
|
|
1556
|
-
var
|
|
1586
|
+
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
1557
1587
|
function Tabs(props) {
|
|
1558
|
-
return /* @__PURE__ */ (0,
|
|
1559
|
-
return /* @__PURE__ */ (0,
|
|
1588
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: `matchid-tabs`, children: props.tabs.map((tab, index) => {
|
|
1589
|
+
return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { onClick: () => props.setActiveTab(index), className: `matchid-tab ${props.activeTab === index ? "matchid-tab-active" : ""}`, children: tab }, index);
|
|
1560
1590
|
}) });
|
|
1561
1591
|
}
|
|
1562
1592
|
|
|
@@ -1572,10 +1602,20 @@ var LazyLottie = (props) => {
|
|
|
1572
1602
|
return View;
|
|
1573
1603
|
};
|
|
1574
1604
|
var Lottie_default = LazyLottie;
|
|
1605
|
+
|
|
1606
|
+
// src/ui/Checkbox/index.tsx
|
|
1607
|
+
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
1608
|
+
function Checkbox({
|
|
1609
|
+
checked = false,
|
|
1610
|
+
onChange
|
|
1611
|
+
}) {
|
|
1612
|
+
return checked ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(CheckboxCheckedIcon, { onClick: () => onChange?.(false) }) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(CheckboxIcon, { onClick: () => onChange?.(true) });
|
|
1613
|
+
}
|
|
1575
1614
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1576
1615
|
0 && (module.exports = {
|
|
1577
1616
|
AlphaAvatar,
|
|
1578
1617
|
Button,
|
|
1618
|
+
Checkbox,
|
|
1579
1619
|
ConfirmModal,
|
|
1580
1620
|
Drawer,
|
|
1581
1621
|
Field,
|