@matchain/matchid-sdk-react 0.1.56-alpha.8 → 0.1.56-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/api.d.mts +6 -0
  2. package/dist/api.d.ts +6 -0
  3. package/dist/api.js +1728 -0
  4. package/dist/api.js.map +1 -0
  5. package/dist/api.mjs +23 -0
  6. package/dist/api.mjs.map +1 -0
  7. package/dist/assets/lottie.d.mts +1 -0
  8. package/dist/assets/lottie.d.ts +1 -0
  9. package/dist/assets/lottie.js +68 -0
  10. package/dist/assets/lottie.js.map +1 -0
  11. package/dist/assets/lottie.mjs +22 -0
  12. package/dist/assets/lottie.mjs.map +1 -0
  13. package/dist/chains.d.mts +2 -0
  14. package/dist/chains.d.ts +2 -0
  15. package/dist/chains.js +94 -0
  16. package/dist/chains.js.map +1 -0
  17. package/dist/chains.mjs +11 -0
  18. package/dist/chains.mjs.map +1 -0
  19. package/dist/chunk-3CR66BEX.mjs +19 -0
  20. package/dist/chunk-3CR66BEX.mjs.map +1 -0
  21. package/dist/chunk-FQ6PYZPD.mjs +1439 -0
  22. package/dist/chunk-FQ6PYZPD.mjs.map +1 -0
  23. package/dist/chunk-HBOS3RBL.mjs +19 -0
  24. package/dist/chunk-HBOS3RBL.mjs.map +1 -0
  25. package/dist/chunk-IZOOVZAD.mjs +145 -0
  26. package/dist/chunk-IZOOVZAD.mjs.map +1 -0
  27. package/dist/chunk-J5LGTIGS.mjs +10 -0
  28. package/dist/chunk-J5LGTIGS.mjs.map +1 -0
  29. package/dist/chunk-JCMQBWWW.mjs +97 -0
  30. package/dist/chunk-JCMQBWWW.mjs.map +1 -0
  31. package/dist/chunk-JX73EY6V.mjs +67 -0
  32. package/dist/chunk-JX73EY6V.mjs.map +1 -0
  33. package/dist/chunk-LOZCAT7A.mjs +7732 -0
  34. package/dist/chunk-LOZCAT7A.mjs.map +1 -0
  35. package/dist/chunk-UA6XHZHX.mjs +17 -0
  36. package/dist/chunk-UA6XHZHX.mjs.map +1 -0
  37. package/dist/chunk-XM6CYEXN.mjs +53 -0
  38. package/dist/chunk-XM6CYEXN.mjs.map +1 -0
  39. package/dist/components.d.mts +6 -0
  40. package/dist/components.d.ts +6 -0
  41. package/dist/components.js +6576 -0
  42. package/dist/components.js.map +1 -0
  43. package/dist/components.mjs +57 -0
  44. package/dist/components.mjs.map +1 -0
  45. package/dist/hooks.d.mts +12 -0
  46. package/dist/hooks.d.ts +12 -0
  47. package/dist/hooks.js +3619 -0
  48. package/dist/hooks.js.map +1 -0
  49. package/dist/hooks.mjs +41 -0
  50. package/dist/hooks.mjs.map +1 -0
  51. package/dist/icon.d.mts +5 -0
  52. package/dist/icon.d.ts +5 -0
  53. package/dist/icon.js +1454 -0
  54. package/dist/icon.js.map +1 -0
  55. package/dist/icon.mjs +116 -0
  56. package/dist/icon.mjs.map +1 -0
  57. package/dist/index-84CqVi2I.d.mts +66 -0
  58. package/dist/index-BNqdFiOo.d.ts +66 -0
  59. package/dist/index-BctnHnJp.d.ts +221 -0
  60. package/dist/index-BqI0PEIi.d.mts +38 -0
  61. package/dist/index-CHgaOUiW.d.mts +52590 -0
  62. package/dist/index-CHgaOUiW.d.ts +52590 -0
  63. package/dist/index-Car1jFyN.d.mts +132 -0
  64. package/dist/index-CboftuIp.d.mts +85 -0
  65. package/dist/index-CboftuIp.d.ts +85 -0
  66. package/dist/index-CcVHENNv.d.ts +132 -0
  67. package/dist/index-Cqdz_5bE.d.ts +92 -0
  68. package/dist/index-CvzpMw3N.d.ts +38 -0
  69. package/dist/index-D2E53ZMV.d.mts +7134 -0
  70. package/dist/index-DVlulZhE.d.mts +111 -0
  71. package/dist/index-DkijpM5Q.d.mts +221 -0
  72. package/dist/index-DwmrgZa2.d.ts +7134 -0
  73. package/dist/index-DxHhOW24.d.mts +92 -0
  74. package/dist/index-qmC4zt6V.d.ts +111 -0
  75. package/dist/index.css +2294 -0
  76. package/dist/index.d.mts +867 -0
  77. package/dist/index.d.ts +867 -0
  78. package/dist/index.js +9308 -0
  79. package/dist/index.js.map +1 -0
  80. package/dist/index.mjs +45 -0
  81. package/dist/index.mjs.map +1 -0
  82. package/dist/request-B0CyrGFT.d.mts +15 -0
  83. package/dist/request-B0CyrGFT.d.ts +15 -0
  84. package/dist/types-BrVeC0c8.d.mts +428 -0
  85. package/dist/types-BrVeC0c8.d.ts +428 -0
  86. package/dist/types.d.mts +3 -0
  87. package/dist/types.d.ts +3 -0
  88. package/dist/types.js +44 -0
  89. package/dist/types.js.map +1 -0
  90. package/dist/types.mjs +11 -0
  91. package/dist/types.mjs.map +1 -0
  92. package/dist/ui.d.mts +7 -0
  93. package/dist/ui.d.ts +7 -0
  94. package/dist/ui.js +1688 -0
  95. package/dist/ui.js.map +1 -0
  96. package/dist/ui.mjs +47 -0
  97. package/dist/ui.mjs.map +1 -0
  98. package/dist/utils.d.mts +28 -0
  99. package/dist/utils.d.ts +28 -0
  100. package/dist/utils.js +192 -0
  101. package/dist/utils.js.map +1 -0
  102. package/dist/utils.mjs +34 -0
  103. package/dist/utils.mjs.map +1 -0
  104. package/package.json +1 -1
package/dist/hooks.js ADDED
@@ -0,0 +1,3619 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/hooks/index.tsx
31
+ var hooks_exports = {};
32
+ __export(hooks_exports, {
33
+ useCopyClipboard: () => useCopyClipboard,
34
+ useHash: () => useHash,
35
+ useLayout: () => useLayout_exports,
36
+ useMatchChain: () => useMatchChain,
37
+ useMatchEvents: () => useMatchEvents,
38
+ useMatchWallet: () => useMatchWallet,
39
+ useMatchWalletAssetList: () => useMatchWalletAssetList,
40
+ useMatchWalletAssets: () => useMatchWalletAssets,
41
+ useMatchWalletRecords: () => useMatchWalletRecords,
42
+ useModal: () => useModal,
43
+ useReceipt: () => useReceipt2,
44
+ useToast: () => useToast,
45
+ useTransaction: () => useTransaction,
46
+ useUserInfo: () => useUserInfo,
47
+ useWallet: () => useWallet
48
+ });
49
+ module.exports = __toCommonJS(hooks_exports);
50
+
51
+ // src/store/useLocalStore.ts
52
+ var import_zustand = require("zustand");
53
+ var import_middleware = require("zustand/middleware");
54
+
55
+ // src/api/request.ts
56
+ var import_axios = __toESM(require("axios"));
57
+
58
+ // src/config/env/index.ts
59
+ var env_default = {
60
+ endpoints: {
61
+ back: "https://api.matchid.ai/",
62
+ auth: "https://auth.matchid.ai/"
63
+ }
64
+ };
65
+
66
+ // src/store/index.ts
67
+ var getEndpoints = () => {
68
+ try {
69
+ const store = localStore.getState();
70
+ const env = store?.endpoints;
71
+ if (env) {
72
+ return env;
73
+ } else {
74
+ return env_default.endpoints;
75
+ }
76
+ } catch (e) {
77
+ return env_default.endpoints;
78
+ }
79
+ };
80
+ var getAppid = () => {
81
+ try {
82
+ const store = localStore.getState();
83
+ const appid = store?.appid;
84
+ if (appid) {
85
+ return appid;
86
+ } else {
87
+ return "";
88
+ }
89
+ } catch (e) {
90
+ return "";
91
+ }
92
+ };
93
+ var getLocale = () => {
94
+ try {
95
+ const store = localStore.getState();
96
+ const locale = store?.locale;
97
+ if (locale) {
98
+ return locale;
99
+ } else {
100
+ return "en";
101
+ }
102
+ } catch (e) {
103
+ return "en";
104
+ }
105
+ };
106
+ var getToken = () => {
107
+ try {
108
+ const store = localStore.getState();
109
+ const token = store?.token;
110
+ if (token) {
111
+ return token;
112
+ } else {
113
+ return "";
114
+ }
115
+ } catch (e) {
116
+ return "";
117
+ }
118
+ };
119
+
120
+ // src/utils/matchlog.ts
121
+ var matchDevExists = () => localStorage.getItem("matchid-sdk-react-debug") !== null;
122
+ var handler = {
123
+ get(target, prop) {
124
+ if (matchDevExists() && typeof target[prop] === "function") {
125
+ return target[prop].bind(console);
126
+ }
127
+ return () => {
128
+ };
129
+ }
130
+ };
131
+ var matchlog = new Proxy(console, handler);
132
+ var matchlog_default = matchlog;
133
+
134
+ // src/api/request.ts
135
+ var import_axios_retry = __toESM(require("axios-retry"));
136
+ var SUCCESS_CODE = 0;
137
+ var isSuccess = (res) => {
138
+ return res.code === SUCCESS_CODE;
139
+ };
140
+ var instance = import_axios.default.create({
141
+ timeout: 6e4,
142
+ validateStatus(status) {
143
+ return status >= 200 && status <= 500;
144
+ }
145
+ });
146
+ var request = async (config) => {
147
+ try {
148
+ const endpoints = getEndpoints();
149
+ const token = getToken();
150
+ instance.defaults.baseURL = `${endpoints.back}`;
151
+ instance.defaults.headers.common["Appid"] = getAppid();
152
+ if (token) {
153
+ instance.defaults.headers.common["Authorization"] = token;
154
+ }
155
+ instance.defaults.headers.common["Accept-Language"] = getLocale();
156
+ const { data } = await instance.request(config);
157
+ matchlog_default.log("api", data);
158
+ if (data.code == 401001) {
159
+ localStore.getState().logout();
160
+ throw new Error("Your session has expired, please log in again");
161
+ }
162
+ return data;
163
+ } catch (err) {
164
+ console.error("qwe-err", err);
165
+ const message = "Request Error";
166
+ console.error(message);
167
+ return {
168
+ code: -1,
169
+ data: null,
170
+ message,
171
+ success: false,
172
+ fail: true,
173
+ result: null
174
+ };
175
+ }
176
+ };
177
+ var retryInstance = import_axios.default.create({
178
+ timeout: 6e4,
179
+ validateStatus(status) {
180
+ return status >= 200 && status <= 500;
181
+ }
182
+ });
183
+ (0, import_axios_retry.default)(retryInstance, {
184
+ retries: 3,
185
+ retryDelay: (retryCount) => retryCount * 1e3,
186
+ shouldResetTimeout: true,
187
+ retryCondition: (error) => {
188
+ return error.response.status >= 500 && error.response.status < 600 || error.code === "ECONNABORTED";
189
+ }
190
+ });
191
+ var retryRequest = async (config) => {
192
+ try {
193
+ const endpoints = getEndpoints();
194
+ const token = getToken();
195
+ retryInstance.defaults.baseURL = `${endpoints.back}`;
196
+ retryInstance.defaults.headers.common["Appid"] = getAppid();
197
+ if (token) {
198
+ retryInstance.defaults.headers.common["Authorization"] = token;
199
+ }
200
+ retryInstance.defaults.headers.common["Accept-Language"] = getLocale();
201
+ const { data } = await retryInstance.request(config);
202
+ matchlog_default.log("api", data);
203
+ if (data.code == 401001) {
204
+ localStore.getState().logout();
205
+ throw new Error("Your session has expired, please log in again");
206
+ }
207
+ return data;
208
+ } catch (err) {
209
+ console.error("qwe-err", err);
210
+ const message = "Request Error";
211
+ console.error(message);
212
+ return {
213
+ code: -1,
214
+ data: null,
215
+ message,
216
+ success: false,
217
+ fail: true,
218
+ result: null
219
+ };
220
+ }
221
+ };
222
+ var request_default = request;
223
+
224
+ // src/api/index.ts
225
+ var getEmailCodeApi = (email) => {
226
+ return request_default({
227
+ url: `/api/v1/email/code`,
228
+ method: "POST",
229
+ data: { email }
230
+ });
231
+ };
232
+ var verifyEmailCodeApi = ({ email, verification_key, verification_code }) => {
233
+ return request_default({
234
+ url: `/api/v1/user/email/login`,
235
+ method: "POST",
236
+ data: { email, verification_key, verification_code }
237
+ });
238
+ };
239
+ var getOverviewInfoApi = () => {
240
+ return retryRequest({
241
+ url: `/api/v1/user/overview`,
242
+ method: "GET"
243
+ });
244
+ };
245
+ var toLogoutApi = () => {
246
+ return retryRequest({
247
+ url: `/api/v1/user/logout`,
248
+ method: "POST"
249
+ });
250
+ };
251
+ var getAuthInfoApi = () => {
252
+ return retryRequest({
253
+ url: `/api/v1/user/auth`,
254
+ method: "GET"
255
+ });
256
+ };
257
+ var getUserChainListApi = () => {
258
+ return request_default({
259
+ url: `/api/v1/user/chain/list`,
260
+ method: "GET"
261
+ });
262
+ };
263
+ var userImportTokenApi = (data) => {
264
+ return request_default({
265
+ url: `/api/v1/user/import/token`,
266
+ method: "POST",
267
+ data
268
+ });
269
+ };
270
+ var getUserImportTokenListApi = (data) => {
271
+ return request_default({
272
+ url: `/api/v1/user/import/token/list`,
273
+ method: "POST",
274
+ data
275
+ });
276
+ };
277
+ var getUserWalletAssetApi = (data) => {
278
+ return request_default({
279
+ url: `/api/v1/user/wallet/asset`,
280
+ method: "POST",
281
+ data
282
+ });
283
+ };
284
+ var getUserWalletTransactionsApi = (data) => {
285
+ return request_default({
286
+ url: `/api/v1/user/wallet/transactions`,
287
+ method: "POST",
288
+ data
289
+ });
290
+ };
291
+ var tgAppLoginInitApi = () => {
292
+ return retryRequest({
293
+ url: `/api/v1/tgapp/login/init`,
294
+ method: "GET"
295
+ });
296
+ };
297
+ var userInviteApi = (data) => {
298
+ return request_default({
299
+ url: `/api/v1/user/invite`,
300
+ method: "POST",
301
+ data
302
+ });
303
+ };
304
+
305
+ // src/store/useLocalStore.ts
306
+ var persistedState = (0, import_middleware.persist)(
307
+ (set) => ({
308
+ appid: "",
309
+ token: "",
310
+ did: "",
311
+ mid: "",
312
+ overview: null,
313
+ theme: "light",
314
+ setOverview: (overview) => set({
315
+ overview,
316
+ address: overview.address,
317
+ did: overview.did,
318
+ mid: overview.mid
319
+ }),
320
+ refreshOverview: async () => {
321
+ const res = await getOverviewInfoApi();
322
+ if (res.data) {
323
+ set({ overview: res.data });
324
+ set({ address: res.data.address });
325
+ set({ did: res.data.did });
326
+ set({ mid: res.data.mid });
327
+ }
328
+ },
329
+ endpoints: {
330
+ back: "https://api.matchid.ai/",
331
+ auth: "https://auth.matchid.ai/"
332
+ },
333
+ setDid: (did) => set({ did }),
334
+ setToken: (token) => set({ token }),
335
+ setAppid: (appid) => set({ appid }),
336
+ setMid: (mid) => set({ mid }),
337
+ logout: () => set({ token: "", did: "", mid: "", address: "", overview: null, assets: [] }),
338
+ setTheme: (theme) => set({ theme }),
339
+ setEndpoints: (endpoints) => set({ endpoints }),
340
+ address: "",
341
+ setAddress: (address) => set({ address }),
342
+ locale: "en",
343
+ setLocale: (locale) => set({ locale }),
344
+ wallet: {
345
+ type: "UserPasscode"
346
+ },
347
+ setWallet: (wallet) => set({ wallet }),
348
+ chainId: 698,
349
+ setChainId: (chainId) => set({ chainId }),
350
+ assets: [],
351
+ setAssets: (assets) => set({ assets })
352
+ }),
353
+ { name: "match-local" }
354
+ );
355
+ var useLocalStore = (0, import_zustand.create)((0, import_middleware.devtools)(persistedState));
356
+ var localStore = useLocalStore;
357
+ var useLocalStore_default = useLocalStore;
358
+
359
+ // src/hooks/useUserInfo.tsx
360
+ var import_react34 = require("react");
361
+
362
+ // src/MatchContext.tsx
363
+ var import_react33 = require("react");
364
+
365
+ // src/store/useModalStore.ts
366
+ var import_zustand2 = require("zustand");
367
+
368
+ // src/assets/icon/BackIcon.tsx
369
+ var import_jsx_runtime = require("react/jsx-runtime");
370
+
371
+ // src/assets/icon/CloseIcon.tsx
372
+ var import_jsx_runtime2 = require("react/jsx-runtime");
373
+
374
+ // src/assets/icon/XIcon.tsx
375
+ var import_jsx_runtime3 = require("react/jsx-runtime");
376
+
377
+ // src/assets/icon/GoogleIcon.tsx
378
+ var import_jsx_runtime4 = require("react/jsx-runtime");
379
+
380
+ // src/assets/icon/WalletIcon.tsx
381
+ var import_jsx_runtime5 = require("react/jsx-runtime");
382
+
383
+ // src/assets/icon/TelegramIcon.tsx
384
+ var import_jsx_runtime6 = require("react/jsx-runtime");
385
+
386
+ // src/assets/icon/EmailIcon.tsx
387
+ var import_jsx_runtime7 = require("react/jsx-runtime");
388
+
389
+ // src/assets/icon/ArrowRightIcon.tsx
390
+ var import_jsx_runtime8 = require("react/jsx-runtime");
391
+
392
+ // src/assets/icon/CloseRoundIcon.tsx
393
+ var import_jsx_runtime9 = require("react/jsx-runtime");
394
+ function CloseRoundIcon({ size = 30, ...props }) {
395
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("svg", { width: size, height: size, ...props, viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
396
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("rect", { width: "30", height: "30", rx: "15", fill: "#F9F9F9" }),
397
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M10.7574 10.7573L19.2426 19.2426", stroke: "#6E6E6E", strokeWidth: "1.5", strokeLinecap: "round" }),
398
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { d: "M19.2426 10.7573L10.7574 19.2426", stroke: "#6E6E6E", strokeWidth: "1.5", strokeLinecap: "round" })
399
+ ] });
400
+ }
401
+
402
+ // src/assets/icon/LoadingIcon.tsx
403
+ var import_jsx_runtime10 = require("react/jsx-runtime");
404
+ var LoadingIcon = ({ size = 22, className = "", color = "white", rotate = false }) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
405
+ "svg",
406
+ {
407
+ width: size,
408
+ height: size,
409
+ viewBox: "0 0 22 22",
410
+ fill: "none",
411
+ xmlns: "http://www.w3.org/2000/svg",
412
+ className: className + " " + (rotate ? "matchid-rotate" : ""),
413
+ children: [
414
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d: "M11 1V3.5", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
415
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { opacity: "0.3", d: "M3.92834 3.92871L5.69977 5.70017", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
416
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { opacity: "0.4", d: "M1 11H3.5", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
417
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { opacity: "0.5", d: "M3.92834 18.0722L5.69977 16.3008", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
418
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { opacity: "0.6", d: "M11 21V18.5", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
419
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { opacity: "0.7", d: "M18.0715 18.0722L16.3 16.3008", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
420
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { opacity: "0.8", d: "M21 11H18.5", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
421
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { opacity: "0.9", d: "M18.0715 3.92871L16.3 5.70017", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
422
+ ]
423
+ }
424
+ );
425
+ var LoadingIcon_default = LoadingIcon;
426
+
427
+ // src/assets/icon/EmailLineIcon.tsx
428
+ var import_jsx_runtime11 = require("react/jsx-runtime");
429
+
430
+ // src/assets/icon/UnLoginIcon.tsx
431
+ var import_jsx_runtime12 = require("react/jsx-runtime");
432
+
433
+ // src/assets/icon/LoginIcon.tsx
434
+ var import_jsx_runtime13 = require("react/jsx-runtime");
435
+
436
+ // src/assets/icon/CheckRoundIcon.tsx
437
+ var import_jsx_runtime14 = require("react/jsx-runtime");
438
+
439
+ // src/assets/icon/PasswordRoundIcon.tsx
440
+ var import_jsx_runtime15 = require("react/jsx-runtime");
441
+
442
+ // src/assets/icon/CloseEyeIcon.tsx
443
+ var import_jsx_runtime16 = require("react/jsx-runtime");
444
+ function CloseEyeIcon({
445
+ size = 20,
446
+ color = "#6E6E6E"
447
+ }) {
448
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("svg", { width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
449
+ "path",
450
+ {
451
+ d: "M9.15132 12.5568V11.5464C8.21031 11.4949 7.28023 11.3193 6.38524 11.024L6.04233 11.9579C6.00626 12.0669 5.94867 12.1676 5.87299 12.2539C5.79731 12.3403 5.70508 12.4106 5.60174 12.4607C5.4984 12.5108 5.38607 12.5396 5.27139 12.5455C5.15671 12.5514 5.04201 12.5342 4.93409 12.4949C4.82617 12.4557 4.72722 12.3952 4.6431 12.317C4.55898 12.2389 4.49139 12.1446 4.44435 12.0399C4.3973 11.9351 4.37175 11.822 4.36921 11.7072C4.36667 11.5924 4.38719 11.4783 4.42955 11.3715L4.80788 10.3268C4.04603 9.88461 3.32634 9.37345 2.65789 8.79975C2.54358 8.70488 2.42928 8.61687 2.32184 8.52772C2.1442 8.38554 2.03031 8.17862 2.00523 7.95247C1.98015 7.72633 2.04593 7.49948 2.18811 7.32184C2.33028 7.1442 2.5372 7.03031 2.76335 7.00523C2.98949 6.98015 3.21634 7.04593 3.39398 7.18811C3.50828 7.27955 3.62258 7.37099 3.73689 7.47043C5.46065 9.00826 7.68996 9.85815 10 9.85815C12.31 9.85815 14.5393 9.00826 16.2631 7.47043C16.3774 7.37099 16.4917 7.27955 16.606 7.18811C16.694 7.11771 16.7949 7.06533 16.9031 7.03395C17.0114 7.00257 17.1247 6.99281 17.2367 7.00523C17.3486 7.01765 17.4571 7.052 17.5558 7.10632C17.6545 7.16065 17.7415 7.23388 17.8119 7.32184C17.8823 7.4098 17.9347 7.51077 17.9661 7.61897C17.9974 7.72717 18.0072 7.8405 17.9948 7.95247C17.9824 8.06445 17.948 8.17288 17.8937 8.27158C17.8394 8.37028 17.7661 8.45732 17.6782 8.52772L17.3421 8.79975C16.6737 9.37354 15.954 9.88471 15.1921 10.3268L15.5705 11.3715C15.6128 11.4783 15.6333 11.5924 15.6308 11.7072C15.6283 11.822 15.6027 11.9351 15.5557 12.0399C15.5086 12.1446 15.441 12.2389 15.3569 12.317C15.2728 12.3952 15.1738 12.4557 15.0659 12.4949C14.958 12.5342 14.8433 12.5514 14.7286 12.5455C14.6139 12.5396 14.5016 12.5108 14.3983 12.4607C14.2949 12.4106 14.2027 12.3403 14.127 12.2539C14.0513 12.1676 13.9937 12.0669 13.9577 11.9579L13.6148 11.024C12.7198 11.3193 11.7897 11.4949 10.8487 11.5464V12.5568C10.8487 12.7842 10.7584 13.0022 10.5976 13.163C10.4368 13.3238 10.2188 13.4141 9.99143 13.4141C9.76407 13.4141 9.54602 13.3238 9.38526 13.163C9.22449 13.0022 9.13417 12.7842 9.13417 12.5568H9.15132Z",
452
+ fill: color
453
+ }
454
+ ) });
455
+ }
456
+
457
+ // src/assets/icon/OpenEyeIcon.tsx
458
+ var import_jsx_runtime17 = require("react/jsx-runtime");
459
+ function OpenEyeIcon({
460
+ size = 20,
461
+ color = "#6E6E6E"
462
+ }) {
463
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("svg", { width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
464
+ "path",
465
+ {
466
+ d: "M10 6.4543C11.3373 6.44986 12.6486 6.82287 13.7834 7.53047C14.9181 8.23806 15.8301 9.25151 16.4145 10.4543C15.2145 12.9052 12.7564 14.4543 10 14.4543C7.24364 14.4543 4.78545 12.9052 3.58545 10.4543C4.1699 9.25151 5.08191 8.23806 6.21664 7.53047C7.35136 6.82287 8.66274 6.44986 10 6.4543ZM10 4.99976C6.36364 4.99976 3.25818 7.26157 2 10.4543C3.25818 13.647 6.36364 15.9088 10 15.9088C13.6364 15.9088 16.7418 13.647 18 10.4543C16.7418 7.26157 13.6364 4.99976 10 4.99976ZM10 8.63612C10.4822 8.63617 10.9446 8.82774 11.2855 9.16871C11.6265 9.50968 11.818 9.97212 11.818 10.4543C11.818 10.9365 11.6265 11.3989 11.2855 11.7399C10.9446 12.0809 10.4822 12.2724 10 12.2725C9.51782 12.2724 9.0554 12.0809 8.71447 11.7399C8.37353 11.3989 8.18199 10.9365 8.18199 10.4543C8.18199 9.97212 8.37353 9.50968 8.71447 9.16871C9.0554 8.82774 9.51782 8.63617 10 8.63612ZM10 7.18157C8.19636 7.18157 6.72727 8.65066 6.72727 10.4543C6.72727 12.2579 8.19636 13.727 10 13.727C11.8036 13.727 13.2727 12.2579 13.2727 10.4543C13.2727 8.65066 11.8036 7.18157 10 7.18157Z",
467
+ fill: color
468
+ }
469
+ ) });
470
+ }
471
+
472
+ // src/assets/icon/DeleteRoundIcon.tsx
473
+ var import_jsx_runtime18 = require("react/jsx-runtime");
474
+ function DeleteRoundIcon({ height = 21, width = 20, color = "var(--matchid-error-color)", ...props }) {
475
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { width, height, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
476
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("rect", { y: "0.5", width: "20", height: "20", rx: "10", fill: color }),
477
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M7.17139 7.67188L12.8282 13.3287", stroke: "white", strokeLinecap: "round" }),
478
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M12.8286 7.67188L7.17176 13.3287", stroke: "white", strokeLinecap: "round" })
479
+ ] });
480
+ }
481
+
482
+ // src/assets/icon/FacebookIcon.tsx
483
+ var import_jsx_runtime19 = require("react/jsx-runtime");
484
+
485
+ // src/assets/icon/ArrowLeftIcon.tsx
486
+ var import_jsx_runtime20 = require("react/jsx-runtime");
487
+ function ArrowLeftIcon({
488
+ color = "#000",
489
+ width = 24,
490
+ height = 25,
491
+ ...props
492
+ }) {
493
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
494
+ "svg",
495
+ {
496
+ width,
497
+ height,
498
+ ...props,
499
+ viewBox: "0 0 24 25",
500
+ fill: "none",
501
+ xmlns: "http://www.w3.org/2000/svg",
502
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
503
+ "path",
504
+ {
505
+ fillRule: "evenodd",
506
+ clipRule: "evenodd",
507
+ d: "M10.2322 5.26777L11.1161 6.15165L5.55207 11.7157H20.2157L20.2157 12.962L5.55207 12.962L11.1161 18.526L10.2322 19.4099L3.16117 12.3388L10.2322 5.26777Z",
508
+ fill: color
509
+ }
510
+ )
511
+ }
512
+ );
513
+ }
514
+
515
+ // src/assets/icon/GithubIcon.tsx
516
+ var import_jsx_runtime21 = require("react/jsx-runtime");
517
+
518
+ // src/assets/icon/DiscordIcon.tsx
519
+ var import_jsx_runtime22 = require("react/jsx-runtime");
520
+
521
+ // src/assets/icon/CheckIcon.tsx
522
+ var import_jsx_runtime23 = require("react/jsx-runtime");
523
+
524
+ // src/assets/icon/CopyIcon.tsx
525
+ var import_jsx_runtime24 = require("react/jsx-runtime");
526
+
527
+ // src/assets/icon/LinkedinIcon.tsx
528
+ var import_jsx_runtime25 = require("react/jsx-runtime");
529
+
530
+ // src/assets/icon/YoutubeIcon.tsx
531
+ var import_jsx_runtime26 = require("react/jsx-runtime");
532
+
533
+ // src/assets/icon/BTCDarkIcon.tsx
534
+ var import_jsx_runtime27 = require("react/jsx-runtime");
535
+
536
+ // src/assets/icon/BTCLightIcon.tsx
537
+ var import_jsx_runtime28 = require("react/jsx-runtime");
538
+
539
+ // src/assets/icon/EVMDarkIcon.tsx
540
+ var import_jsx_runtime29 = require("react/jsx-runtime");
541
+
542
+ // src/assets/icon/EVMLightIcon.tsx
543
+ var import_jsx_runtime30 = require("react/jsx-runtime");
544
+
545
+ // src/assets/icon/SOLDarkIcon.tsx
546
+ var import_jsx_runtime31 = require("react/jsx-runtime");
547
+
548
+ // src/assets/icon/SOLLightIcon.tsx
549
+ var import_jsx_runtime32 = require("react/jsx-runtime");
550
+
551
+ // src/assets/icon/TRXDarkIcon.tsx
552
+ var import_jsx_runtime33 = require("react/jsx-runtime");
553
+
554
+ // src/assets/icon/TRXLightIcon.tsx
555
+ var import_jsx_runtime34 = require("react/jsx-runtime");
556
+
557
+ // src/assets/icon/ArrowDownIcon.tsx
558
+ var import_jsx_runtime35 = require("react/jsx-runtime");
559
+
560
+ // src/assets/icon/LeatherIcon.tsx
561
+ var import_jsx_runtime36 = require("react/jsx-runtime");
562
+
563
+ // src/assets/icon/UnisatIcon.tsx
564
+ var import_jsx_runtime37 = require("react/jsx-runtime");
565
+
566
+ // src/assets/icon/XverseIcon.tsx
567
+ var import_jsx_runtime38 = require("react/jsx-runtime");
568
+
569
+ // src/assets/icon/TronLinkIcon.tsx
570
+ var import_jsx_runtime39 = require("react/jsx-runtime");
571
+
572
+ // src/assets/icon/OKXIcon.tsx
573
+ var import_jsx_runtime40 = require("react/jsx-runtime");
574
+
575
+ // src/assets/icon/BitgetIcon.tsx
576
+ var import_jsx_runtime41 = require("react/jsx-runtime");
577
+
578
+ // src/assets/icon/TonDarkIcon.tsx
579
+ var import_jsx_runtime42 = require("react/jsx-runtime");
580
+
581
+ // src/assets/icon/TonLightIcon.tsx
582
+ var import_jsx_runtime43 = require("react/jsx-runtime");
583
+
584
+ // src/assets/icon/ErrorRoundIcon.tsx
585
+ var import_jsx_runtime44 = require("react/jsx-runtime");
586
+
587
+ // src/assets/icon/InfoLineIcon.tsx
588
+ var import_jsx_runtime45 = require("react/jsx-runtime");
589
+
590
+ // src/assets/icon/InfoRoundIcon.tsx
591
+ var import_jsx_runtime46 = require("react/jsx-runtime");
592
+
593
+ // src/assets/icon/TransferIcon.tsx
594
+ var import_jsx_runtime47 = require("react/jsx-runtime");
595
+ function TransferIcon({ size = 40, ...props }) {
596
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("svg", { width: size, height: size, viewBox: "0 0 40 40", ...props, fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
597
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("rect", { x: "2", y: "2", width: "36", height: "36", rx: "18", fill: "white" }),
598
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("rect", { x: "2", y: "2", width: "36", height: "36", rx: "18", stroke: "#F8F8F8", strokeWidth: "4" }),
599
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
600
+ "path",
601
+ {
602
+ d: "M18.666 12.8913L18.666 26.2246L14.666 21.6413",
603
+ stroke: "black",
604
+ strokeWidth: "1.4",
605
+ strokeLinecap: "round",
606
+ strokeLinejoin: "round"
607
+ }
608
+ ),
609
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
610
+ "path",
611
+ {
612
+ d: "M22.2217 12.8913L22.2217 26.2246L26.2217 21.6413",
613
+ stroke: "black",
614
+ strokeWidth: "1.4",
615
+ strokeLinecap: "round",
616
+ strokeLinejoin: "round"
617
+ }
618
+ )
619
+ ] });
620
+ }
621
+
622
+ // src/assets/icon/ArrowSendIcon.tsx
623
+ var import_jsx_runtime48 = require("react/jsx-runtime");
624
+
625
+ // src/assets/icon/PhantomIcon.tsx
626
+ var import_jsx_runtime49 = require("react/jsx-runtime");
627
+
628
+ // src/assets/icon/MoreIcon.tsx
629
+ var import_jsx_runtime50 = require("react/jsx-runtime");
630
+
631
+ // src/assets/icon/CheckboxIcon.tsx
632
+ var import_jsx_runtime51 = require("react/jsx-runtime");
633
+
634
+ // src/assets/icon/CheckboxCheckedIcon.tsx
635
+ var import_jsx_runtime52 = require("react/jsx-runtime");
636
+
637
+ // src/assets/icon/InputLengthIcon.tsx
638
+ var import_jsx_runtime53 = require("react/jsx-runtime");
639
+ function InputLengthIcon({
640
+ size = 12,
641
+ color = "#B6B6B6",
642
+ ...props
643
+ }) {
644
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("svg", { width: size, height: size, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
645
+ "path",
646
+ {
647
+ "fill-rule": "evenodd",
648
+ "clip-rule": "evenodd",
649
+ d: "M1.10097 12L12 1.10097L10.899 0L0 10.899L1.10097 12ZM7.19277 11.4594L11.6684 6.98378L10.5675 5.88281L6.0918 10.3585L7.19277 11.4594Z",
650
+ fill: color
651
+ }
652
+ ) });
653
+ }
654
+
655
+ // src/assets/icon/KakaoIcon.tsx
656
+ var import_jsx_runtime54 = require("react/jsx-runtime");
657
+
658
+ // src/assets/icon/MatchIdIcon.tsx
659
+ var import_jsx_runtime55 = require("react/jsx-runtime");
660
+
661
+ // src/hooks/useLayout.tsx
662
+ var useLayout_exports = {};
663
+ __export(useLayout_exports, {
664
+ useDownMd: () => useDownMd
665
+ });
666
+ var import_react = require("react");
667
+ function useDownMd() {
668
+ const [isBelowMd, setIsBelowMd] = (0, import_react.useState)(window.matchMedia("(max-width: 767px)").matches);
669
+ (0, import_react.useEffect)(() => {
670
+ const handleResize = () => {
671
+ setIsBelowMd(window.matchMedia("(max-width: 767px)").matches);
672
+ };
673
+ window.addEventListener("resize", handleResize);
674
+ return () => {
675
+ window.removeEventListener("resize", handleResize);
676
+ };
677
+ }, []);
678
+ return isBelowMd;
679
+ }
680
+
681
+ // src/hooks/useConfig.tsx
682
+ var import_jsx_runtime56 = require("react/jsx-runtime");
683
+ var DEFAULT_WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
684
+
685
+ // src/store/useModalStore.ts
686
+ var useTRONModalStore = (0, import_zustand2.create)((set) => ({
687
+ isOpen: false,
688
+ type: "",
689
+ open: (type) => set({ isOpen: true, type }),
690
+ close: () => set({ isOpen: false })
691
+ }));
692
+ var useTONModalStore = (0, import_zustand2.create)((set) => ({
693
+ isOpen: false,
694
+ type: "",
695
+ open: (type) => set({ isOpen: true, type }),
696
+ close: () => set({ isOpen: false })
697
+ }));
698
+ var useBTCModalStore = (0, import_zustand2.create)((set) => ({
699
+ isOpen: false,
700
+ type: "",
701
+ open: (type) => set({ isOpen: true, type }),
702
+ close: () => set({ isOpen: false })
703
+ }));
704
+ var useEVMModalStore = (0, import_zustand2.create)((set) => ({
705
+ isOpen: false,
706
+ type: "",
707
+ open: (type) => set({ isOpen: true, type }),
708
+ close: () => set({ isOpen: false })
709
+ }));
710
+ var useCEXBindModalStore = (0, import_zustand2.create)((set) => ({
711
+ type: "",
712
+ isOpen: false,
713
+ open: (type) => set({ isOpen: true, type }),
714
+ close: () => set({ isOpen: false })
715
+ }));
716
+ var useWalletModalStore = (0, import_zustand2.create)((set) => ({
717
+ isOpen: false,
718
+ type: "",
719
+ methods: [],
720
+ open: (type, methods = DEFAULT_WALLET_METHODS) => set({ isOpen: true, type, methods }),
721
+ close: () => set({ isOpen: false })
722
+ }));
723
+
724
+ // src/components/EmailModal/index.tsx
725
+ var import_react7 = require("react");
726
+
727
+ // src/ui/Modal/index.tsx
728
+ var import_react3 = require("react");
729
+
730
+ // src/ui/Overlay/index.tsx
731
+ var import_react2 = require("react");
732
+ var import_jsx_runtime57 = require("react/jsx-runtime");
733
+ function Overlay({
734
+ isOpen = false,
735
+ children,
736
+ zIndex = 100
737
+ }) {
738
+ (0, import_react2.useEffect)(() => {
739
+ if (isOpen) {
740
+ document.body.style.overflow = "hidden";
741
+ } else {
742
+ document.body.style.overflow = "";
743
+ }
744
+ return () => {
745
+ document.body.style.overflow = "";
746
+ };
747
+ }, [isOpen]);
748
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
749
+ "div",
750
+ {
751
+ className: "matchid-overlay",
752
+ style: {
753
+ zIndex
754
+ },
755
+ children
756
+ }
757
+ ) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_jsx_runtime57.Fragment, {});
758
+ }
759
+
760
+ // src/ui/Modal/index.tsx
761
+ var import_react_intl = require("react-intl");
762
+ var import_jsx_runtime58 = require("react/jsx-runtime");
763
+ function Modal({
764
+ children,
765
+ isOpen,
766
+ width = 480,
767
+ zIndex = 100,
768
+ className = ""
769
+ }) {
770
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: `matchid-modal ${className}`, style: {
771
+ width
772
+ }, children: [
773
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-modal-mobile-header" }),
774
+ children
775
+ ] }) });
776
+ }
777
+ function ModalWithHeader({
778
+ children,
779
+ onBack,
780
+ onClose,
781
+ title,
782
+ showBorder = true,
783
+ showClose = true,
784
+ ...props
785
+ }) {
786
+ const isDownMd = useDownMd();
787
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(Modal, { ...props, children: [
788
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
789
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-modal-header-content", children: [
790
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
791
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "matchid-modal-header-title", children: title })
792
+ ] }),
793
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
794
+ ] }),
795
+ children
796
+ ] });
797
+ }
798
+
799
+ // src/components/EmailModal/StepEmail.tsx
800
+ var import_react5 = require("react");
801
+
802
+ // src/utils/index.tsx
803
+ var import_moment = __toESM(require("moment"));
804
+ var import_jsx_runtime59 = require("react/jsx-runtime");
805
+ var getVersion = () => {
806
+ return "0.0.2";
807
+ };
808
+ function encodeBase64(input) {
809
+ return btoa(unescape(encodeURIComponent(input)));
810
+ }
811
+ function getAppClientId() {
812
+ return "react-sdk-" + getVersion();
813
+ }
814
+ function convertScientificToDecimal(num) {
815
+ let str = num.toFixed(12);
816
+ str = str.replace(/0+$/, "");
817
+ str = str.replace(/\.$/, "");
818
+ return str;
819
+ }
820
+ var NumberFormatter = ({
821
+ value,
822
+ prefix = "",
823
+ suffix = "",
824
+ separator = true,
825
+ fixNum = 2,
826
+ tFixNum = 4,
827
+ intClassName = "",
828
+ decimalClassName = "",
829
+ prefixClassName = "",
830
+ className = ""
831
+ }) => {
832
+ const numberValue = typeof value === "number" ? convertScientificToDecimal(value) : value ? value : "0";
833
+ const [intPart, decimalPart] = numberValue.toString().split(".");
834
+ const intFormat = separator ? intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",") : intPart;
835
+ if (Math.abs(parseFloat(numberValue)) >= 1) {
836
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className, children: [
837
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: prefixClassName, children: prefix }),
838
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: intClassName, children: intFormat }),
839
+ decimalPart ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className: decimalClassName, children: [
840
+ ".",
841
+ decimalPart.substring(0, fixNum)
842
+ ] }) : "",
843
+ suffix
844
+ ] });
845
+ }
846
+ if (decimalPart) {
847
+ let zeroCount = 0;
848
+ for (let i = 0; i < decimalPart.length; i++) {
849
+ if (decimalPart[i] === "0") {
850
+ zeroCount++;
851
+ } else {
852
+ break;
853
+ }
854
+ }
855
+ if (zeroCount < tFixNum) {
856
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className, children: [
857
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: prefixClassName, children: prefix }),
858
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: intClassName, children: intFormat }),
859
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className: decimalClassName, children: [
860
+ ".",
861
+ decimalPart.substring(0, tFixNum)
862
+ ] }),
863
+ suffix
864
+ ] });
865
+ }
866
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className, children: [
867
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: prefixClassName, children: prefix }),
868
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: intClassName, children: intFormat }),
869
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className: decimalClassName, children: [
870
+ ".0",
871
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("sub", { children: zeroCount }),
872
+ decimalPart?.substring(zeroCount, zeroCount + tFixNum - 2)
873
+ ] }),
874
+ suffix
875
+ ] });
876
+ }
877
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { className, children: [
878
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: prefixClassName, children: prefix }),
879
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: intClassName, children: intPart }),
880
+ suffix
881
+ ] });
882
+ };
883
+ var isInTgApp = () => {
884
+ return !!window.TelegramWebviewProxy;
885
+ };
886
+
887
+ // src/ui/Button/index.tsx
888
+ var import_jsx_runtime60 = require("react/jsx-runtime");
889
+ function Button({
890
+ size = "df",
891
+ disabled = false,
892
+ loading = false,
893
+ children,
894
+ onClick,
895
+ highlight = false,
896
+ block = false,
897
+ type = "button",
898
+ rounded = true,
899
+ className = "",
900
+ style = {},
901
+ dataset = {}
902
+ }) {
903
+ const onAction = () => {
904
+ if (!disabled && !loading) {
905
+ onClick && onClick();
906
+ }
907
+ };
908
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
909
+ "button",
910
+ {
911
+ type,
912
+ className: `${className} matchid-btn ${"matchid-btn-" + size} ${highlight ? "matchid-btn-highlight" : ""} ${loading ? "matchid-btn-loading" : ""} ${block ? "matchid-btn-block" : ""} ${rounded ? "matchid-btn-rounded" : ""}`,
913
+ disabled: disabled || loading,
914
+ style: {
915
+ ...style
916
+ },
917
+ onClick: onAction,
918
+ ...dataset,
919
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
920
+ }
921
+ );
922
+ }
923
+
924
+ // src/ui/Input/index.tsx
925
+ var import_react4 = require("react");
926
+ var import_jsx_runtime61 = require("react/jsx-runtime");
927
+ function Input({
928
+ onChange,
929
+ type,
930
+ after,
931
+ showLength = false,
932
+ showClear = true,
933
+ className = "",
934
+ rows = 1,
935
+ maxRows = 4,
936
+ children,
937
+ ...props
938
+ }) {
939
+ const [inputType, setInputType] = (0, import_react4.useState)(type);
940
+ const isDownMd = useDownMd();
941
+ const textareaRef = (0, import_react4.useRef)(null);
942
+ (0, import_react4.useEffect)(() => {
943
+ const textarea = textareaRef.current;
944
+ if (textarea) {
945
+ textarea.style.height = "auto";
946
+ const lineHeight = 24;
947
+ const maxHeight = lineHeight * 4;
948
+ textarea.style.height = Math.min(textarea.scrollHeight, maxHeight) + "px";
949
+ }
950
+ }, [props.value]);
951
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
952
+ "div",
953
+ {
954
+ className: `matchid-input-box matchid-input-${type} ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
955
+ style: {
956
+ // @ts-ignore
957
+ "--max-rows": maxRows
958
+ },
959
+ children: [
960
+ children ?? (type == "textarea" ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("textarea", { rows: 1, onChange, ...props, className: "matchid-input-field", ref: textareaRef, style: {
961
+ maxHeight: maxRows * 24 + "px"
962
+ } }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" })),
963
+ type != "textarea" && showClear && props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
964
+ if (onChange) {
965
+ onChange({ target: { value: "" } });
966
+ }
967
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
968
+ DeleteRoundIcon,
969
+ {
970
+ height: isDownMd ? 16 : 21,
971
+ width: isDownMd ? 16 : 20,
972
+ color: "var(--matchid-input-delete-icon-color)"
973
+ }
974
+ ) }),
975
+ type === "password" && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
976
+ setInputType(inputType === "password" ? "text" : "password");
977
+ }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
978
+ showLength && props.maxLength && /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: `matchid-input-length`, children: [
979
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { children: [
980
+ props.value?.length || 0,
981
+ "/",
982
+ props.maxLength
983
+ ] }),
984
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(InputLengthIcon, { color: "var(--icon-color)" })
985
+ ] }),
986
+ after
987
+ ]
988
+ }
989
+ );
990
+ }
991
+
992
+ // src/ui/Field/index.tsx
993
+ var import_jsx_runtime62 = require("react/jsx-runtime");
994
+ function Field({
995
+ label,
996
+ children,
997
+ error,
998
+ required,
999
+ className = ""
1000
+ }) {
1001
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
1002
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-field-label", children: [
1003
+ required && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "matchid-field-required", children: "*" }),
1004
+ label
1005
+ ] }),
1006
+ children,
1007
+ error && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-field-error", children: error })
1008
+ ] });
1009
+ }
1010
+
1011
+ // src/components/EmailModal/StepEmail.tsx
1012
+ var import_react_intl2 = require("react-intl");
1013
+ var import_jsx_runtime63 = require("react/jsx-runtime");
1014
+
1015
+ // src/components/EmailModal/StepVerify.tsx
1016
+ var import_react6 = require("react");
1017
+
1018
+ // src/config/index.tsx
1019
+ var NATIVE_TOKEN_ADDRESS = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
1020
+
1021
+ // src/components/EmailModal/StepVerify.tsx
1022
+ var import_react_intl3 = require("react-intl");
1023
+ var import_jsx_runtime64 = require("react/jsx-runtime");
1024
+
1025
+ // src/components/EmailModal/index.tsx
1026
+ var import_react_intl4 = require("react-intl");
1027
+ var import_jsx_runtime65 = require("react/jsx-runtime");
1028
+
1029
+ // src/ui/Popover/index.tsx
1030
+ var import_react8 = require("react");
1031
+ var import_jsx_runtime66 = require("react/jsx-runtime");
1032
+
1033
+ // src/components/LoginBox/index.tsx
1034
+ var import_react9 = require("react");
1035
+ var import_react_intl5 = require("react-intl");
1036
+
1037
+ // src/hooks/useAppConfig.ts
1038
+ var import_react_query = require("@tanstack/react-query");
1039
+
1040
+ // src/components/LoginBox/index.tsx
1041
+ var import_jsx_runtime67 = require("react/jsx-runtime");
1042
+
1043
+ // src/components/LoginButton/index.tsx
1044
+ var import_react11 = require("react");
1045
+
1046
+ // src/components/LoginPanel/index.tsx
1047
+ var import_react_intl6 = require("react-intl");
1048
+ var import_jsx_runtime68 = require("react/jsx-runtime");
1049
+
1050
+ // src/components/LoginModal/index.tsx
1051
+ var import_jsx_runtime69 = require("react/jsx-runtime");
1052
+
1053
+ // src/components/UserPopover/index.tsx
1054
+ var import_react10 = require("react");
1055
+
1056
+ // src/assets/icon/ProfileIcon.tsx
1057
+ var import_jsx_runtime70 = require("react/jsx-runtime");
1058
+
1059
+ // src/components/UserPopover/index.tsx
1060
+ var import_react_intl7 = require("react-intl");
1061
+ var import_jsx_runtime71 = require("react/jsx-runtime");
1062
+
1063
+ // src/components/LoginButton/index.tsx
1064
+ var import_react_intl8 = require("react-intl");
1065
+ var import_jsx_runtime72 = require("react/jsx-runtime");
1066
+
1067
+ // src/components/UsernameModal/index.tsx
1068
+ var import_react12 = require("react");
1069
+ var import_react_intl9 = require("react-intl");
1070
+ var import_jsx_runtime73 = require("react/jsx-runtime");
1071
+
1072
+ // src/ui/Drawer/index.tsx
1073
+ var import_jsx_runtime74 = require("react/jsx-runtime");
1074
+ function Drawer({
1075
+ children,
1076
+ showClose = true,
1077
+ onClose,
1078
+ isOpen = false,
1079
+ title,
1080
+ zIndex = 100,
1081
+ onBack
1082
+ }) {
1083
+ if (!isOpen) {
1084
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_jsx_runtime74.Fragment, {});
1085
+ }
1086
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-drawer", children: [
1087
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
1088
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
1089
+ onBack && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
1090
+ title
1091
+ ] }),
1092
+ showClose && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
1093
+ ] }),
1094
+ children
1095
+ ] }) });
1096
+ }
1097
+
1098
+ // src/ui/HashPanel/index.tsx
1099
+ var import_react13 = require("react");
1100
+
1101
+ // src/ui/ModalDrawer/index.tsx
1102
+ var import_jsx_runtime75 = require("react/jsx-runtime");
1103
+ function ModalDrawer({
1104
+ title,
1105
+ drawerTitleVisible = true,
1106
+ ...props
1107
+ }) {
1108
+ const isDownMd = useDownMd();
1109
+ if (isDownMd) {
1110
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ModalWithHeader, { ...props, title });
1111
+ }
1112
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
1113
+ }
1114
+
1115
+ // src/assets/lottie/confirm.json
1116
+ var confirm_default = { v: "5.9.6", fr: 25, ip: 0, op: 75, w: 500, h: 500, nm: "15 waiting file", ddd: 0, assets: [], layers: [{ ddd: 0, ind: 1, ty: 3, nm: "Main Stroke width - Color Ctrl", parent: 23, 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: "Stroke 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: 16, ix: 1 } }] }, { ty: 5, nm: "Base Color", np: 3, mn: "ADBE Color Control", ix: 2, 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: 3, 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: 75, st: 0, bm: 0 }, { ddd: 0, ind: 2, ty: 4, nm: "Line B 1", parent: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-10.218, 10.449, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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.2, y: 1 }, o: { x: 0.6, y: 0 }, t: 38, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [68.435, 8.207]], c: false }], e: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [128.435, 8]], c: false }] }, { t: 62 }], ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 0, k: 0, ix: 1 }, e: { a: 1, k: [{ i: { x: [0.2], y: [1] }, o: { x: [0.6], y: [0] }, t: 47, s: [0], e: [100] }, { t: 61 }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 2, nm: "Recortar trazados 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 47, op: 75, st: 11, ct: 1, bm: 0 }, { ddd: 0, ind: 3, ty: 4, nm: "Line B 2", parent: 1, sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 54, s: [100], e: [0] }, { t: 60 }], ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-10.218, 10.449, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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.2, y: 1 }, o: { x: 0.6, y: 0 }, t: 45, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [68.435, 8.207]], c: false }], e: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [128.435, 8]], c: false }] }, { t: 67 }], ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 0, k: 0, ix: 1 }, e: { a: 1, k: [{ i: { x: [0.2], y: [1] }, o: { x: [0.6], y: [0] }, t: 11, s: [0], e: [100] }, { t: 30 }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 2, nm: "Recortar trazados 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 16, op: 62, st: 16, ct: 1, bm: 0 }, { ddd: 0, ind: 4, ty: 4, nm: "Line B 3", parent: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-10.218, 56.624, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [67.685, 8.291]], c: false }, ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 0, k: 0, ix: 1 }, e: { a: 1, k: [{ i: { x: [0.2], y: [1] }, o: { x: [0.6], y: [0] }, t: 12, s: [0], e: [100] }, { t: 31 }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 2, nm: "Recortar trazados 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 17, op: 76, st: 20, ct: 1, bm: 0 }, { ddd: 0, ind: 5, ty: 4, nm: "Line B 4", parent: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-10.218, 104.798, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [67.935, 7.938]], c: false }, ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 0, k: 0, ix: 1 }, e: { a: 1, k: [{ i: { x: [0.2], y: [1] }, o: { x: [0.6], y: [0] }, t: 49, s: [0], e: [100] }, { t: 64 }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 2, nm: "Recortar trazados 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 50, op: 76, st: 18, ct: 1, bm: 0 }, { ddd: 0, ind: 6, ty: 4, nm: "Line B 5", parent: 1, sr: 1, ks: { o: { a: 1, k: [{ i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 59, s: [100], e: [0] }, { t: 65 }], ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-10.218, 104.798, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [67.935, 7.938]], c: false }, ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 0, k: 0, ix: 1 }, e: { a: 1, k: [{ i: { x: [0.2], y: [1] }, o: { x: [0.6], y: [0] }, t: 13, s: [0], e: [100] }, { t: 32 }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 2, nm: "Recortar trazados 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 18, op: 67, st: 21, ct: 1, bm: 0 }, { ddd: 0, ind: 7, ty: 4, nm: "Line B 6", parent: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-10.218, 152.972, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [67.185, 8.112]], c: false }, ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 0, k: 0, ix: 1 }, e: { a: 1, k: [{ i: { x: [0.2], y: [1] }, o: { x: [0.6], y: [0] }, t: 14, s: [0], e: [100] }, { t: 33 }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 2, nm: "Recortar trazados 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 19, op: 78, st: 22, ct: 1, bm: 0 }, { ddd: 0, ind: 8, ty: 4, nm: "Clock Line 1", parent: 10, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 1, k: [{ i: { x: [0.833], y: [0.873] }, o: { x: [0.6], y: [0] }, t: 18, s: [0], e: [237] }, { i: { x: [0.2], y: [1] }, o: { x: [0.167], y: [0.243] }, t: 41, s: [237], e: [361] }, { t: 64 }], ix: 10 }, p: { a: 0, k: [132.703, 132.69, 0], ix: 2, l: 2 }, a: { a: 0, k: [40, 86.084, 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, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[-17.282, 23.042], [-17.282, -23.042]], c: false }, ix: 2 }, nm: "Trazado 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: "Trazo 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [57.281, 63.042], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 75, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 9, ty: 4, nm: "Clock Line 2", parent: 10, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 1, k: [{ i: { x: [0.833], y: [0.655] }, o: { x: [0.6], y: [0] }, t: 18, s: [0], e: [87] }, { i: { x: [0.2], y: [1] }, o: { x: [0.167], y: [0.11] }, t: 41, s: [87], e: [360] }, { t: 64 }], ix: 10 }, p: { a: 0, k: [132.703, 132.69, 0], ix: 2, l: 2 }, a: { a: 0, k: [40, 86.084, 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, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[17.282, 23.042], [-17.282, 23.042]], c: false }, ix: 2 }, nm: "Trazado 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: "Trazo 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [57.281, 63.042], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 75, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 10, ty: 4, nm: "Clock", parent: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.2, y: 1 }, o: { x: 0.6, y: 0 }, t: 14, s: [134.402, 135.666, 0], e: [134.402, 14.416, 0], to: [0, -20.208, 0], ti: [0, 20.208, 0] }, { i: { x: 0.2, y: 0.2 }, o: { x: 0.6, y: 0.6 }, t: 36, s: [134.402, 14.416, 0], e: [134.402, 14.416, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.2, y: 1 }, o: { x: 0.6, y: 0 }, t: 43, s: [134.402, 14.416, 0], e: [134.402, 135.666, 0], to: [0, 20.208, 0], ti: [0, -20.208, 0] }, { t: 65 }], ix: 2, l: 2 }, a: { a: 0, k: [136.459, 136.46, 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: [[-53.239, 0], [0, -53.239], [53.24, 0], [0, 53.24]], o: [[53.24, 0], [0, 53.24], [-53.239, 0], [0, -53.239]], v: [[0, -96.46], [96.459, -1e-3], [0, 96.46], [-96.459, -1e-3]], c: true }, ix: 2 }, nm: "Trazado 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: "Trazo 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [136.459, 136.46], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 75, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 11, ty: 4, nm: "Mask Fold ", parent: 18, td: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [75.303, 82.303, 0], ix: 2, l: 2 }, a: { a: 0, k: [82.304, 82.304, 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, 0], [0, 0], [0, 0], [0, 0], [0, 13.349], [0, 0]], o: [[0, 0], [0, 0], [0, 0], [13.35, 0], [0, 0], [0, 0]], v: [[36.65, -42.508], [-34.85, 29.742], [-34.803, 42.326], [18.13, 42.303], [42.303, 18.131], [42.303, -42.303]], c: true }, ix: 2 }, nm: "Trazado 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "tr", p: { a: 0, k: [82.303, 82.303], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector 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: "Relleno 1", mn: "ADBE Vector Graphic - Fill", hd: false }], ip: 8, op: 24, st: 18, ct: 1, bm: 0 }, { ddd: 0, ind: 12, ty: 4, nm: "Fold fixed", parent: 1, tt: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-95.65, -88.583, 0], ix: 2, l: 2 }, a: { a: 0, k: [82.304, 82.304, 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, 0], [0, 0], [0, 13.349], [0, 0]], o: [[0, 0], [13.35, 0], [0, 0], [0, 0]], v: [[-35.554, 42.306], [18.13, 42.303], [42.303, 18.131], [42.303, -42.303]], c: false }, ix: 2 }, nm: "Trazado 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: 1, lj: 1, ml: 10, bm: 0, nm: "Trazo 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [82.303, 82.303], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 75, st: 18, ct: 1, bm: 0 }, { ddd: 0, ind: 13, ty: 4, nm: "Mask Clock ", parent: 10, td: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [136.459, 136.46, 0], ix: 2, l: 2 }, a: { a: 0, k: [136.459, 136.46, 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: [[-53.239, 0], [0, -53.239], [53.24, 0], [0, 53.24]], o: [[53.24, 0], [0, 53.24], [-53.239, 0], [0, -53.239]], v: [[0, -96.46], [96.459, -1e-3], [0, 96.46], [-96.459, -1e-3]], c: true }, ix: 2 }, nm: "Trazado 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "tr", p: { a: 0, k: [136.459, 136.46], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector 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: "Relleno 1", mn: "ADBE Vector Graphic - Fill", hd: false }], ip: 0, op: 75, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 14, ty: 4, nm: "Paper fixed", parent: 1, tt: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-126, -125.585, 0], ix: 2, l: 2 }, a: { a: 0, k: [44.954, 45.3, 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, 0], [0, 0], [0, 0], [-4.533, -4.538], [0, -6.412], [0, 0], [4.534, -4.533], [6.412, 0], [0, 0], [0, 13.35]], o: [[0, 0], [0, 0], [6.412, 0], [4.534, 4.533], [0, 0], [0, 6.412], [-4.533, 4.538], [0, 0], [-13.35, 0], [0, 0]], v: [[-132.954, -108.781], [-60.434, -181.3], [108.78, -181.3], [125.873, -174.218], [132.954, -157.127], [132.954, 157.127], [125.873, 174.218], [108.78, 181.3], [-108.781, 181.3], [-132.954, 157.127]], c: true }, ix: 2 }, nm: "Trazado 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: "Trazo 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [172.954, 221.3], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 75, st: 18, ct: 1, bm: 0 }, { ddd: 0, ind: 15, ty: 4, nm: "Mask Paper ", parent: 1, td: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-126, -125.585, 0], ix: 2, l: 2 }, a: { a: 0, k: [44.954, 45.3, 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, 0], [0, 0], [0, 0], [-4.533, -4.538], [0, -6.412], [0, 0], [4.534, -4.533], [6.412, 0], [0, 0], [0, 13.35]], o: [[0, 0], [0, 0], [6.412, 0], [4.534, 4.533], [0, 0], [0, 6.412], [-4.533, 4.538], [0, 0], [-13.35, 0], [0, 0]], v: [[-132.954, -108.781], [-60.434, -181.3], [108.78, -181.3], [125.873, -174.218], [132.954, -157.127], [132.954, 157.127], [125.873, 174.218], [108.78, 181.3], [-108.781, 181.3], [-132.954, 157.127]], c: true }, ix: 2 }, nm: "Trazado 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "tr", p: { a: 0, k: [172.954, 221.3], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector 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: "Relleno 1", mn: "ADBE Vector Graphic - Fill", hd: false }], ip: 8, op: 24, st: 18, ct: 1, bm: 0 }, { ddd: 0, ind: 16, ty: 4, nm: "Fold", parent: 18, tt: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [75.303, 82.303, 0], ix: 2, l: 2 }, a: { a: 0, k: [82.304, 82.304, 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, 0], [0, 0], [0, 13.349], [0, 0]], o: [[0, 0], [13.35, 0], [0, 0], [0, 0]], v: [[-42.303, 42.303], [18.13, 42.303], [42.303, 18.131], [42.303, -42.303]], c: false }, ix: 2 }, nm: "Trazado 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: 1, lj: 1, ml: 10, bm: 0, nm: "Trazo 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [82.303, 82.303], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 8, op: 24, st: 18, ct: 1, bm: 0 }, { ddd: 0, ind: 17, ty: 4, nm: "Mask Paper", parent: 1, td: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [-126, -125.585, 0], ix: 2, l: 2 }, a: { a: 0, k: [44.954, 45.3, 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, 0], [0, 0], [0, 0], [-4.533, -4.538], [0, -6.412], [0, 0], [4.534, -4.533], [6.412, 0], [0, 0], [0, 13.35]], o: [[0, 0], [0, 0], [6.412, 0], [4.534, 4.533], [0, 0], [0, 6.412], [-4.533, 4.538], [0, 0], [-13.35, 0], [0, 0]], v: [[-132.954, -108.781], [-60.434, -181.3], [108.78, -181.3], [125.873, -174.218], [132.954, -157.127], [132.954, 157.127], [125.873, 174.218], [108.78, 181.3], [-108.781, 181.3], [-132.954, 157.127]], c: true }, ix: 2 }, nm: "Trazado 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "tr", p: { a: 0, k: [172.954, 221.3], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector 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: "Relleno 1", mn: "ADBE Vector Graphic - Fill", hd: false }], ip: 8, op: 24, st: 18, ct: 1, bm: 0 }, { ddd: 0, ind: 18, ty: 4, nm: "Paper", parent: 1, tt: 1, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.2, y: 1 }, o: { x: 0.6, y: 0 }, t: 8, s: [-126, -125.585, 0], e: [-126, 254.415, 0], to: [0, 63.333, 0], ti: [0, -63.333, 0] }, { t: 27 }], ix: 2, l: 2 }, a: { a: 0, k: [44.954, 45.3, 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, 0], [0, 0], [0, 0], [-4.533, -4.538], [0, -6.412], [0, 0], [4.534, -4.533], [6.412, 0], [0, 0], [0, 13.35]], o: [[0, 0], [0, 0], [6.412, 0], [4.534, 4.533], [0, 0], [0, 6.412], [-4.533, 4.538], [0, 0], [-13.35, 0], [0, 0]], v: [[-132.954, -108.781], [-60.434, -181.3], [108.78, -181.3], [125.873, -174.218], [132.954, -157.127], [132.954, 157.127], [125.873, 174.218], [108.78, 181.3], [-108.781, 181.3], [-132.954, 157.127]], c: true }, ix: 2 }, nm: "Trazado 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: "Trazo 1", mn: "ADBE Vector Graphic - Stroke", hd: false }, { ty: "tr", p: { a: 0, k: [172.954, 221.3], 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 0, k: 0, ix: 1 }, e: { a: 1, k: [{ i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 8, s: [35], e: [24.875] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 15, s: [24.875], e: [20.3] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 16, s: [20.3], e: [16.8] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 17, s: [16.8], e: [17] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 18, s: [17], e: [18.4] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 19, s: [18.4], e: [20.8] }, { i: { x: [0.833], y: [0.833] }, o: { x: [0.167], y: [0.167] }, t: 20, s: [20.8], e: [41] }, { t: 21 }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 2, nm: "Recortar trazados 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 8, op: 24, st: 18, ct: 1, bm: 0 }, { ddd: 0, ind: 19, ty: 4, nm: "Line A 1", parent: 18, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [160.736, 181.335, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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.833, y: 0.833 }, o: { x: 0.167, y: 0.167 }, t: 9, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [128.435, 8]], c: false }], e: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [68.435, 8.207]], c: false }] }, { t: 15 }], ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 17, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 20, ty: 4, nm: "Line A 2", parent: 18, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [160.736, 227.509, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [67.685, 8.291]], c: false }, ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 16, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 21, ty: 4, nm: "Line A 3", parent: 18, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [160.736, 275.684, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [67.935, 7.938]], c: false }, ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 15, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 22, ty: 4, nm: "Line A 4", parent: 18, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [160.736, 323.858, 0], ix: 2, l: 2 }, a: { a: 0, k: [68.217, 8, 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, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[8, 8], [67.185, 8.112]], c: false }, ix: 2 }, nm: "Trazado 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: "Trazo 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: "Grupo 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 14, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 23, 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: 75, st: 0, bm: 0 }], markers: [] };
1117
+
1118
+ // src/assets/lottie/fail.json
1119
+ var fail_default = { v: "5.12.1", fr: 60, ip: 0, op: 130, w: 500, h: 500, nm: "8 CP_no data", ddd: 0, assets: [], layers: [{ ddd: 0, ind: 1, ty: 3, nm: "Main Stroke width - Color Ctrl", sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [250, 250, 0], ix: 2, l: 2 }, a: { a: 0, k: [250, 250, 0], ix: 1, l: 2 }, s: { a: 0, k: [100, 100, 100], ix: 6, l: 2 } }, ao: 0, ef: [{ ty: 5, nm: "Stroke 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: 16, ix: 1 } }] }, { ty: 5, nm: "Stroke Highlight", 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: 18, 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: 4, nm: "Cross", sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 13, s: [250, 172.319, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.106, y: 1 }, o: { x: 0.145, y: 0 }, t: 22, s: [250, 200.319, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 63, s: [250, 134.319, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 76, s: [250, 195.319, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 89, s: [250, 157.319, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { t: 103, s: [250, 172.319, 0] }], ix: 2, l: 2 }, a: { a: 0, k: [250, 172.319, 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: [{ d: 1, ty: "el", s: { a: 0, k: [187.639, 187.639], ix: 2 }, p: { a: 0, k: [0, 0], ix: 3 }, nm: "Ellipse Path 1", mn: "ADBE Vector Shape - Ellipse", hd: false }, { ty: "st", c: { a: 0, k: [0.945098042488, 0.254901975393, 0.254901975393, 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: [250, 172.319], 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: [250, 172.319], ix: 2 }, a: { a: 0, k: [250, 172.319], 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: 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.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 18, s: [{ i: [[0, 0], [0, 0], [6.82, 6.82], [6.82, -6.819], [0, 0], [0, 0], [6.82, -6.819], [-6.82, -6.82], [0, 0], [0, 0], [-6.82, -6.82], [-4.469, 0], [-3.41, 3.41], [0, 0], [0, 0], [-4.469, 0], [-3.41, 3.41], [6.82, 6.82]], o: [[0, 0], [6.82, -6.82], [-6.82, -6.819], [0, 0], [0, 0], [-6.82, -6.819], [-6.82, 6.82], [0, 0], [0, 0], [-6.82, 6.82], [3.41, 3.41], [4.469, 0], [0, 0], [0, 0], [3.41, 3.41], [4.469, 0], [6.82, -6.82], [0, 0]], v: [[24.696, 0], [43.417, -18.722], [43.417, -43.418], [18.722, -43.418], [0, -24.696], [-18.722, -43.418], [-43.417, -43.418], [-43.417, -18.722], [-24.696, 0], [-43.417, 18.722], [-43.417, 43.417], [-31.07, 48.532], [-18.722, 43.417], [0, 24.696], [18.722, 43.417], [31.07, 48.532], [43.417, 43.417], [43.417, 18.722]], c: true }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 34, s: [{ i: [[0, 0], [0, 0], [7.588, 7.587], [7.588, -7.587], [0, 0], [0, 0], [7.587, -7.587], [-7.587, -7.587], [0, 0], [0, 0], [-7.588, -7.587], [-4.972, 0], [-3.794, 3.794], [0, 0], [0, 0], [-4.972, 0], [-3.794, 3.794], [7.587, 7.587]], o: [[0, 0], [7.587, -7.587], [-7.588, -7.587], [0, 0], [0, 0], [-7.588, -7.587], [-7.587, 7.587], [0, 0], [0, 0], [-7.587, 7.587], [3.794, 3.794], [4.972, 0], [0, 0], [0, 0], [3.794, 3.794], [4.972, 0], [7.587, -7.587], [0, 0]], v: [[27.476, 0.096], [48.306, -20.734], [48.306, -48.21], [20.83, -48.21], [0, -27.38], [-20.83, -48.21], [-48.306, -48.21], [-48.306, -20.734], [-27.476, 0.096], [-48.306, 20.926], [-48.306, 48.402], [-34.568, 54.092], [-20.83, 48.402], [0, 27.572], [20.83, 48.402], [34.568, 54.092], [48.306, 48.402], [48.306, 20.926]], c: true }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 50, s: [{ i: [[0, 0], [0, 0], [6.245, 6.244], [6.245, -6.244], [0, 0], [0, 0], [6.244, -6.244], [-6.244, -6.244], [0, 0], [0, 0], [-6.245, -6.244], [-4.092, 0], [-3.122, 3.122], [0, 0], [0, 0], [-4.092, 0], [-3.122, 3.122], [6.244, 6.244]], o: [[0, 0], [6.244, -6.244], [-6.245, -6.244], [0, 0], [0, 0], [-6.245, -6.244], [-6.244, 6.244], [0, 0], [0, 0], [-6.244, 6.244], [3.122, 3.122], [4.092, 0], [0, 0], [0, 0], [3.122, 3.122], [4.092, 0], [6.244, -6.244], [0, 0]], v: [[22.613, -0.072], [39.756, -17.215], [39.756, -39.828], [17.143, -39.828], [0, -22.685], [-17.143, -39.828], [-39.756, -39.828], [-39.756, -17.215], [-22.613, -0.072], [-39.756, 17.071], [-39.756, 39.684], [-28.449, 44.367], [-17.143, 39.684], [0, 22.541], [17.143, 39.684], [28.449, 44.367], [39.756, 39.684], [39.756, 17.071]], c: true }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 66, s: [{ i: [[0, 0], [0, 0], [7.588, 7.587], [7.588, -7.587], [0, 0], [0, 0], [7.587, -7.587], [-7.587, -7.587], [0, 0], [0, 0], [-7.588, -7.587], [-4.972, 0], [-3.794, 3.794], [0, 0], [0, 0], [-4.972, 0], [-3.794, 3.794], [7.587, 7.587]], o: [[0, 0], [7.587, -7.587], [-7.588, -7.587], [0, 0], [0, 0], [-7.588, -7.587], [-7.587, 7.587], [0, 0], [0, 0], [-7.587, 7.587], [3.794, 3.794], [4.972, 0], [0, 0], [0, 0], [3.794, 3.794], [4.972, 0], [7.587, -7.587], [0, 0]], v: [[27.476, 0.096], [48.306, -20.734], [48.306, -48.21], [20.83, -48.21], [0, -27.38], [-20.83, -48.21], [-48.306, -48.21], [-48.306, -20.734], [-27.476, 0.096], [-48.306, 20.926], [-48.306, 48.402], [-34.568, 54.092], [-20.83, 48.402], [0, 27.572], [20.83, 48.402], [34.568, 54.092], [48.306, 48.402], [48.306, 20.926]], c: true }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 82, s: [{ i: [[0, 0], [0, 0], [6.245, 6.244], [6.245, -6.244], [0, 0], [0, 0], [6.244, -6.244], [-6.244, -6.244], [0, 0], [0, 0], [-6.245, -6.244], [-4.092, 0], [-3.122, 3.122], [0, 0], [0, 0], [-4.092, 0], [-3.122, 3.122], [6.244, 6.244]], o: [[0, 0], [6.244, -6.244], [-6.245, -6.244], [0, 0], [0, 0], [-6.245, -6.244], [-6.244, 6.244], [0, 0], [0, 0], [-6.244, 6.244], [3.122, 3.122], [4.092, 0], [0, 0], [0, 0], [3.122, 3.122], [4.092, 0], [6.244, -6.244], [0, 0]], v: [[22.613, -0.072], [39.756, -17.215], [39.756, -39.828], [17.143, -39.828], [0, -22.685], [-17.143, -39.828], [-39.756, -39.828], [-39.756, -17.215], [-22.613, -0.072], [-39.756, 17.071], [-39.756, 39.684], [-28.449, 44.367], [-17.143, 39.684], [0, 22.541], [17.143, 39.684], [28.449, 44.367], [39.756, 39.684], [39.756, 17.071]], c: true }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 98, s: [{ i: [[0, 0], [0, 0], [7.588, 7.587], [7.588, -7.587], [0, 0], [0, 0], [7.587, -7.587], [-7.587, -7.587], [0, 0], [0, 0], [-7.588, -7.587], [-4.972, 0], [-3.794, 3.794], [0, 0], [0, 0], [-4.972, 0], [-3.794, 3.794], [7.587, 7.587]], o: [[0, 0], [7.587, -7.587], [-7.588, -7.587], [0, 0], [0, 0], [-7.588, -7.587], [-7.587, 7.587], [0, 0], [0, 0], [-7.587, 7.587], [3.794, 3.794], [4.972, 0], [0, 0], [0, 0], [3.794, 3.794], [4.972, 0], [7.587, -7.587], [0, 0]], v: [[27.476, 0.096], [48.306, -20.734], [48.306, -48.21], [20.83, -48.21], [0, -27.38], [-20.83, -48.21], [-48.306, -48.21], [-48.306, -20.734], [-27.476, 0.096], [-48.306, 20.926], [-48.306, 48.402], [-34.568, 54.092], [-20.83, 48.402], [0, 27.572], [20.83, 48.402], [34.568, 54.092], [48.306, 48.402], [48.306, 20.926]], c: true }] }, { t: 113, s: [{ i: [[0, 0], [0, 0], [6.82, 6.82], [6.82, -6.819], [0, 0], [0, 0], [6.82, -6.819], [-6.82, -6.82], [0, 0], [0, 0], [-6.82, -6.82], [-4.469, 0], [-3.41, 3.41], [0, 0], [0, 0], [-4.469, 0], [-3.41, 3.41], [6.82, 6.82]], o: [[0, 0], [6.82, -6.82], [-6.82, -6.819], [0, 0], [0, 0], [-6.82, -6.819], [-6.82, 6.82], [0, 0], [0, 0], [-6.82, 6.82], [3.41, 3.41], [4.469, 0], [0, 0], [0, 0], [3.41, 3.41], [4.469, 0], [6.82, -6.82], [0, 0]], v: [[24.696, 0], [43.417, -18.722], [43.417, -43.418], [18.722, -43.418], [0, -24.696], [-18.722, -43.418], [-43.417, -43.418], [-43.417, -18.722], [-24.696, 0], [-43.417, 18.722], [-43.417, 43.417], [-31.07, 48.532], [-18.722, 43.417], [0, 24.696], [18.722, 43.417], [31.07, 48.532], [43.417, 43.417], [43.417, 18.722]], 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 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [250, 172.319], ix: 2 }, a: { a: 0, k: [0, 0], ix: 1 }, s: { a: 0, k: [100, 100], ix: 3 }, r: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 13, s: [0] }, { i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 29, s: [-10] }, { i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 45, s: [10] }, { i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 61, s: [-10] }, { i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 77, s: [10] }, { i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 93, s: [-10] }, { t: 108, s: [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: "8 CP_no data 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: 3, ty: 4, nm: "Circle 1", parent: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 12, s: [148.591, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.232, y: 1 }, o: { x: 0.2, y: 0 }, t: 21, s: [160.591, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 62, s: [135.591, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 75, s: [160.591, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 88, s: [135.591, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { t: 102, s: [148.591, 289.181, 0] }], ix: 2, l: 2 }, a: { a: 0, k: [148.591, 289.181, 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: [{ d: 1, ty: "el", s: { a: 0, k: [33.961, 33.961], ix: 2 }, p: { a: 0, k: [0, 0], ix: 3 }, nm: "Ellipse Path 1", mn: "ADBE Vector Shape - Ellipse", hd: false }, { ty: "st", c: { a: 0, k: [0.945098042488, 0.254901975393, 0.254901975393, 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: [148.591, 289.181], 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: [148.591, 289.181], ix: 2 }, a: { a: 0, k: [148.591, 289.181], 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 }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 4, ty: 4, nm: "Circle 2", parent: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 10, s: [250, 332.496, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.232, y: 1 }, o: { x: 0.2, y: 0 }, t: 19, s: [250, 317.496, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 60, s: [250, 346.496, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 73, s: [250, 317.496, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 86, s: [250, 340.496, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { t: 100, s: [250, 332.496, 0] }], ix: 2, l: 2 }, a: { a: 0, k: [250, 332.496, 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: [{ d: 1, ty: "el", s: { a: 0, k: [33.961, 33.961], ix: 2 }, p: { a: 0, k: [0, 0], ix: 3 }, nm: "Ellipse Path 1", mn: "ADBE Vector Shape - Ellipse", hd: false }, { ty: "st", c: { a: 0, k: [0.945098042488, 0.254901975393, 0.254901975393, 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: [250, 332.496], 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: [250, 332.496], ix: 2 }, a: { a: 0, k: [250, 332.496], 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 }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 5, ty: 4, nm: "Circle 3", parent: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 12, s: [351.409, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.232, y: 1 }, o: { x: 0.2, y: 0 }, t: 21, s: [339.409, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 62, s: [363.409, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 75, s: [339.409, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 88, s: [363.409, 289.181, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { t: 102, s: [351.409, 289.181, 0] }], ix: 2, l: 2 }, a: { a: 0, k: [351.409, 289.181, 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: [{ d: 1, ty: "el", s: { a: 0, k: [33.961, 33.961], ix: 2 }, p: { a: 0, k: [0, 0], ix: 3 }, nm: "Ellipse Path 1", mn: "ADBE Vector Shape - Ellipse", hd: false }, { ty: "st", c: { a: 0, k: [0.945098042488, 0.254901975393, 0.254901975393, 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: [351.409, 289.181], 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: [351.409, 289.181], ix: 2 }, a: { a: 0, k: [351.409, 289.181], 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: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 6, ty: 4, nm: "Line Higlight", parent: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [250.276, 284.315, 0], ix: 2, l: 2 }, a: { a: 0, k: [250.276, 284.315, 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: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 1, k: [{ i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 12, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-17.004, 16.909]], c: false }] }, { i: { x: 0.19, y: 1 }, o: { x: 0.184, y: 0 }, t: 21, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-3.504, 16.85]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 62, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-27.504, 16.71]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 75, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-4.004, 16.893]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 88, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-27.504, 16.927]], c: false }] }, { t: 102, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-17.004, 16.909]], c: false }] }], ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.945098042488, 0.254901975393, 0.254901975393, 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: [183.496, 272.272], 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: [183.496, 272.272], ix: 2 }, a: { a: 0, k: [183.496, 272.272], 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: "tr", p: { a: 0, k: [183.496, 272.272], ix: 2 }, a: { a: 0, k: [183.496, 272.272], 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: "Line 6", np: 1, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "gr", it: [{ ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 1, k: [{ i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 10, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 22.471]], c: false }] }, { i: { x: 0.132, y: 1 }, o: { x: 0.19, y: 0 }, t: 19, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 7.471]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 60, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 34.971]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 73, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 7.471]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 86, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 31.471]], c: false }] }, { t: 100, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 22.471]], c: false }] }], ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.945098042488, 0.254901975393, 0.254901975393, 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: [250, 290.796], 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: [250, 290.796], ix: 2 }, a: { a: 0, k: [250, 290.796], 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: 1, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [250, 290.796], ix: 2 }, a: { a: 0, k: [250, 290.796], 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: "Line 5", np: 1, cix: 2, bm: 0, ix: 2, mn: "ADBE Vector Group", hd: false }, { ty: "gr", it: [{ ty: "gr", it: [{ ty: "gr", it: [{ ind: 0, ty: "sh", ix: 1, ks: { a: 1, k: [{ i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 12, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [17.28, 16.909]], c: false }] }, { i: { x: 0.177, y: 1 }, o: { x: 0.138, y: 0 }, t: 21, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [4.28, 16.85]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 62, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [27.28, 16.71]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 75, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [3.28, 16.893]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 88, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [26.78, 16.927]], c: false }] }, { t: 102, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [17.28, 16.909]], c: false }] }], ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.945098042488, 0.254901975393, 0.254901975393, 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: [316.78, 272.272], 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: [316.78, 272.272], ix: 2 }, a: { a: 0, k: [316.78, 272.272], 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: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [316.78, 272.272], ix: 2 }, a: { a: 0, k: [316.78, 272.272], 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: "Line 4", np: 1, cix: 2, bm: 0, ix: 3, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 1, k: [{ i: { x: [0.431], y: [1] }, o: { x: [0.333], y: [0] }, t: 10, s: [0] }, { t: 25, s: [100] }], ix: 1 }, e: { a: 1, k: [{ i: { x: [0.811], y: [1] }, o: { x: [0.623], y: [0] }, t: 63, s: [0] }, { t: 77, s: [100] }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 4, nm: "Trim Paths 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 10, op: 77, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 7, ty: 4, nm: "Line 1", parent: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [183.496, 272.272, 0], ix: 2, l: 2 }, a: { a: 0, k: [183.496, 272.272, 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.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 12, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-17.004, 16.909]], c: false }] }, { i: { x: 0.19, y: 1 }, o: { x: 0.184, y: 0 }, t: 21, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-3.504, 16.85]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 62, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-27.504, 16.71]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 75, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-4.004, 16.893]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 88, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-27.504, 16.927]], c: false }] }, { t: 102, s: [{ i: [[0, 0], [0, 0], [5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[17.004, -16.909], [17.004, 7.142], [7.237, 16.909], [-17.004, 16.909]], 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: [183.496, 272.272], 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: [183.496, 272.272], ix: 2 }, a: { a: 0, k: [183.496, 272.272], 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 }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 8, ty: 4, nm: "Line 2", parent: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [250, 290.796, 0], ix: 2, l: 2 }, a: { a: 0, k: [250, 290.796, 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.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 10, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 22.471]], c: false }] }, { i: { x: 0.132, y: 1 }, o: { x: 0.19, y: 0 }, t: 19, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 7.471]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 60, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 34.971]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 73, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 7.471]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 86, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 31.471]], c: false }] }, { t: 100, s: [{ i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[0, -22.471], [0, 22.471]], 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: [250, 290.796], 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: [250, 290.796], ix: 2 }, a: { a: 0, k: [250, 290.796], 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: 1, 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: "Line 3", parent: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [316.78, 272.272, 0], ix: 2, l: 2 }, a: { a: 0, k: [316.78, 272.272, 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.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 12, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [17.28, 16.909]], c: false }] }, { i: { x: 0.177, y: 1 }, o: { x: 0.138, y: 0 }, t: 21, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [4.28, 16.85]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 62, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [27.28, 16.71]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 75, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [3.28, 16.893]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 88, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [26.78, 16.927]], c: false }] }, { t: 102, s: [{ i: [[0, 0], [0, 0], [-5.394, 0], [0, 0]], o: [[0, 0], [0, 5.394], [0, 0], [0, 0]], v: [[-17.28, -16.909], [-17.28, 7.142], [-7.512, 16.909], [17.28, 16.909]], 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: [316.78, 272.272], 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: [316.78, 272.272], ix: 2 }, a: { a: 0, k: [316.78, 272.272], 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: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 10, ty: 4, nm: "[M] Laptop", 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: [250, 172.319, 0], ix: 2, l: 2 }, a: { a: 0, k: [250, 172.319, 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: [{ d: 1, ty: "el", s: { a: 0, k: [187.639, 187.639], ix: 2 }, p: { a: 0, k: [0, 0], ix: 3 }, nm: "Ellipse Path 1", mn: "ADBE Vector Shape - Ellipse", 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: [250, 172.319], 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: [250, 172.319], ix: 2 }, a: { a: 0, k: [250, 172.319], 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: 1, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 11, ty: 4, nm: "Laptop", tt: 2, tp: 10, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 10, s: [250, 294.02, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.106, y: 1 }, o: { x: 0.145, y: 0 }, t: 19, s: [250, 322.02, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 60, s: [250, 263.02, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 73, s: [250, 322.02, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 86, s: [250, 279.02, 0], to: [0, 0, 0], ti: [0, 0, 0] }, { t: 100, s: [250, 294.02, 0] }], ix: 2, l: 2 }, a: { a: 0, k: [250, 294.02, 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: [425.316, 422.262], 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: "fl", c: { a: 0, k: [0.133333333333, 0.137254901961, 0.23137254902, 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: [252.228, 261.425], 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: 2, 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: [[5.655, 0], [0, 0], [0, -5.655], [0, 0], [-18.573, 0], [0, 0], [0, 18.573], [0, 0]], o: [[0, 0], [-5.655, 0], [0, 0], [0, 18.573], [0, 0], [18.573, 0], [0, 0], [0, -5.655]], v: [[161.261, -21.934], [-161.261, -21.934], [-171.5, -11.695], [-171.5, -11.695], [-137.871, 21.934], [137.871, 21.934], [171.5, -11.694], [171.5, -11.695]], 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 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [250, 399.566], 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: "8 CP_no data 2", np: 1, cix: 2, bm: 0, ix: 2, 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.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 14, s: [{ i: [[0, 0], [0, 0], [-8.376, 0], [0, 0], [0, -8.376], [0, 0]], o: [[0, 0], [0, -8.376], [0, 0], [8.377, 0], [0, 0], [0, 0]], v: [[-149.803, 103.828], [-149.803, -88.892], [-134.636, -104.059], [134.636, -104.059], [149.803, -88.892], [149.803, 104.059]], c: false }] }, { i: { x: 0.138, y: 1 }, o: { x: 0.132, y: 0 }, t: 23, s: [{ i: [[0, 0], [0, 0], [-8.376, 0], [0, 0], [0, -8.376], [0, 0]], o: [[0, 0], [0, -8.376], [0, 0], [8.377, 0], [0, 0], [0, 0]], v: [[-149.803, 103.828], [-150.394, -69.892], [-135.227, -85.059], [134.045, -85.059], [149.212, -69.892], [149.803, 104.059]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 64, s: [{ i: [[0, 0], [0, 0], [-8.376, 0], [0, 0], [0, -8.376], [0, 0]], o: [[0, 0], [0, -8.376], [0, 0], [8.377, 0], [0, 0], [0, 0]], v: [[-149.803, 103.828], [-150, -112.892], [-134.833, -128.059], [134.439, -128.059], [149.606, -112.892], [149.803, 104.059]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 77, s: [{ i: [[0, 0], [0, 0], [-8.376, 0], [0, 0], [0, -8.376], [0, 0]], o: [[0, 0], [0, -8.376], [0, 0], [8.377, 0], [0, 0], [0, 0]], v: [[-149.803, 103.828], [-150.394, -69.892], [-135.227, -85.059], [134.045, -85.059], [149.212, -69.892], [149.803, 104.059]], c: false }] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0 }, t: 90, s: [{ i: [[0, 0], [0, 0], [-8.376, 0], [0, 0], [0, -8.376], [0, 0]], o: [[0, 0], [0, -8.376], [0, 0], [8.377, 0], [0, 0], [0, 0]], v: [[-149.803, 103.828], [-150, -100.892], [-134.833, -116.059], [134.439, -116.059], [149.606, -100.892], [149.803, 104.059]], c: false }] }, { t: 104, s: [{ i: [[0, 0], [0, 0], [-8.376, 0], [0, 0], [0, -8.376], [0, 0]], o: [[0, 0], [0, -8.376], [0, 0], [8.377, 0], [0, 0], [0, 0]], v: [[-149.803, 103.828], [-149.803, -88.892], [-134.636, -104.059], [134.636, -104.059], [149.803, -88.892], [149.803, 104.059]], 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: [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 1", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [250, 270.599], 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: "8 CP_no data", np: 1, cix: 2, bm: 0, ix: 3, mn: "ADBE Vector Group", hd: false }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }], markers: [{ tm: 0, cm: "Zero", dr: 0 }], props: {} };
1120
+
1121
+ // src/assets/lottie/success.json
1122
+ var success_default = { v: "5.9.6", fr: 60, ip: 0, op: 120, w: 500, h: 500, nm: "09-double check", ddd: 0, assets: [], layers: [{ ddd: 0, ind: 1, ty: 3, nm: "Main Stroke width - Color Ctrl", parent: 7, 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: 120, st: 0, bm: 0 }, { ddd: 0, ind: 2, ty: 4, nm: "check 1", sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.875, y: 0.794 }, o: { x: 0.333, y: 0 }, t: 0, s: [186.65, 281.503, 0], e: [169.212, 281.503, 0], to: [2.591, 0, 0], ti: [-5.471, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.185, y: 0.201 }, t: 12, s: [169.212, 281.503, 0], e: [250, 281.503, 0], to: [16.82, 0, 0], ti: [-7.967, 0, 0] }, { t: 45, s: [250, 281.503, 0], h: 1 }, { i: { x: 0.667, y: 0.724 }, o: { x: 0.167, y: 0 }, t: 49, s: [250, 281.503, 0], e: [169.212, 281.503, 0], to: [10.558, 0, 0], ti: [-5.471, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0.508 }, t: 80, s: [169.212, 281.503, 0], e: [186.65, 281.503, 0], to: [16.82, 0, 0], ti: [-10.558, 0, 0] }, { t: 92 }], ix: 2, l: 2 }, a: { a: 0, k: [147.4, 155.003, 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.318, 0], [3.948, 3.947], [0, 0], [-8.203, 8.203], [-8.203, -8.203], [0, 0], [0, 0], [-8.931, -7.424], [7.424, -8.911], [0, 0], [5.896, -0.266]], o: [[-5.558, 0], [0, 0], [-8.203, -8.203], [8.203, -8.203], [0, 0], [0, 0], [7.413, -8.9], [8.911, 7.423], [0, 0], [-3.773, 4.532], [-0.318, 0.011]], v: [[-20.901, 85.276], [-35.749, 79.124], [-99.449, 15.424], [-99.449, -14.271], [-69.753, -14.271], [-22.316, 33.166], [67.97, -75.167], [97.542, -77.853], [100.228, -48.281], [-4.772, 77.719], [-19.947, 85.255]], c: true }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.184313729405, 0.800000011921, 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: [147.652, 153.724], 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 }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 3, 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: [147.4, 155.003, 0], ix: 2, l: 2 }, a: { a: 0, k: [147.4, 155.003, 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.318, 0], [3.948, 3.947], [0, 0], [-8.203, 8.203], [-8.203, -8.203], [0, 0], [0, 0], [-8.931, -7.424], [7.424, -8.911], [0, 0], [5.896, -0.266]], o: [[-5.558, 0], [0, 0], [-8.203, -8.203], [8.203, -8.203], [0, 0], [0, 0], [7.413, -8.9], [8.911, 7.423], [0, 0], [-3.773, 4.532], [-0.318, 0.011]], v: [[-20.901, 85.276], [-35.749, 79.124], [-99.449, 15.424], [-99.449, -14.271], [-69.753, -14.271], [-22.316, 33.166], [67.97, -75.167], [97.542, -77.853], [100.228, -48.281], [-4.772, 77.719], [-19.947, 85.255]], 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: [147.652, 153.724], 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 }], ip: 0, op: 180, st: 0, ct: 1, bm: 0 }, { ddd: 0, ind: 4, ty: 4, nm: "check 2", tt: 2, sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 1, k: [{ i: { x: 0.833, y: 0.719 }, o: { x: 0.333, y: 0 }, t: 0, s: [312.65, 281.503, 0], e: [330.227, 281.503, 0], to: [-2.563, 0, 0], ti: [5.41, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.147, y: 0.165 }, t: 12, s: [330.227, 281.503, 0], e: [250, 281.503, 0], to: [-16.634, 0, 0], ti: [7.879, 0, 0] }, { t: 45, s: [250, 281.503, 0], h: 1 }, { i: { x: 0.667, y: 0.725 }, o: { x: 0.167, y: 0 }, t: 49, s: [250, 281.503, 0], e: [330.227, 281.503, 0], to: [-10.442, 0, 0], ti: [5.41, 0, 0] }, { i: { x: 0.667, y: 1 }, o: { x: 0.333, y: 0.499 }, t: 80, s: [330.227, 281.503, 0], e: [312.65, 281.503, 0], to: [-16.634, 0, 0], ti: [10.442, 0, 0] }, { t: 92 }], ix: 2, l: 2 }, a: { a: 0, k: [147.4, 155.003, 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.318, 0], [3.948, 3.947], [0, 0], [-8.203, 8.203], [-8.203, -8.203], [0, 0], [0, 0], [-8.931, -7.424], [7.424, -8.911], [0, 0], [5.896, -0.266]], o: [[-5.558, 0], [0, 0], [-8.203, -8.203], [8.203, -8.203], [0, 0], [0, 0], [7.413, -8.9], [8.911, 7.423], [0, 0], [-3.773, 4.532], [-0.318, 0.011]], v: [[-20.901, 85.276], [-35.749, 79.124], [-99.449, 15.424], [-99.449, -14.271], [-69.753, -14.271], [-22.316, 33.166], [67.97, -75.167], [97.542, -77.853], [100.228, -48.281], [-4.772, 77.719], [-19.947, 85.255]], c: true }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.184313729405, 0.800000011921, 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: [147.652, 153.724], 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 }], ip: 0, op: 180, st: 0, 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: [250.001, 146.801, 0], ix: 2, l: 2 }, a: { a: 0, k: [250.001, 146.801, 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: [[7.424, -7.424], [-7.424, 7.424]], 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: [277.572, 25.178], 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: [316.822, 151.678], ix: 2 }, a: { a: 0, k: [277.572, 25.178], 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: 0, k: { i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[-7.424, -7.425], [7.424, 7.425]], 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: [143.929, 25.178], 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: [183.179, 151.678], ix: 2 }, a: { a: 0, k: [143.929, 25.178], 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 }, { 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: [[210.751, 8], [210.751, 29]], 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: [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 5", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [250.001, 145], ix: 2 }, a: { a: 0, k: [210.751, 18.5], 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: 1, cix: 2, bm: 0, ix: 3, mn: "ADBE Vector Group", hd: false }, { ty: "tm", s: { a: 1, k: [{ t: 19, s: [0], h: 1 }, { t: 75, s: [100], h: 1 }], ix: 1 }, e: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 0, s: [100], e: [0] }, { t: 19, s: [0], h: 1 }, { i: { x: [0.833], y: [1] }, o: { x: [0.167], y: [0] }, t: 75, s: [100], e: [0] }, { t: 90 }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 4, 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: "lines 2", sr: 1, ks: { o: { a: 0, k: 100, ix: 11 }, r: { a: 0, k: 0, ix: 10 }, p: { a: 0, k: [250.001, 146.801, 0], ix: 2, l: 2 }, a: { a: 0, k: [250.001, 146.801, 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: [[7.424, -7.424], [-7.424, 7.424]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.184313729405, 0.800000011921, 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: [277.572, 25.178], 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: [316.822, 151.678], ix: 2 }, a: { a: 0, k: [277.572, 25.178], 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: 0, k: { i: [[0, 0], [0, 0]], o: [[0, 0], [0, 0]], v: [[-7.424, -7.425], [7.424, 7.425]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.184313729405, 0.800000011921, 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: [143.929, 25.178], 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: [183.179, 151.678], ix: 2 }, a: { a: 0, k: [143.929, 25.178], 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 }, { 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: [[210.751, 8], [210.751, 29]], c: false }, ix: 2 }, nm: "Path 1", mn: "ADBE Vector Shape - Group", hd: false }, { ty: "st", c: { a: 0, k: [0.184313729405, 0.800000011921, 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 5", np: 2, cix: 2, bm: 0, ix: 1, mn: "ADBE Vector Group", hd: false }, { ty: "tr", p: { a: 0, k: [250.001, 145], ix: 2 }, a: { a: 0, k: [210.751, 18.5], 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: 1, cix: 2, bm: 0, ix: 3, 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: 43, s: [100], e: [0] }, { t: 58 }], ix: 1 }, e: { a: 1, k: [{ i: { x: [0.667], y: [1] }, o: { x: [0.333], y: [0] }, t: 36, s: [100], e: [0] }, { t: 51 }], ix: 2 }, o: { a: 0, k: 0, ix: 3 }, m: 1, ix: 4, nm: "Trim Paths 1", mn: "ADBE Vector Filter - Trim", hd: false }], ip: 36, op: 58, st: 36, ct: 1, bm: 0 }, { ddd: 0, ind: 7, 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: 120, st: 0, bm: 0 }], markers: [] };
1123
+
1124
+ // src/assets/lottie/pending.json
1125
+ 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: {} };
1126
+
1127
+ // src/hooks/useHash.ts
1128
+ var import_react_query2 = require("@tanstack/react-query");
1129
+ var import_viem = require("viem");
1130
+ function useHash({
1131
+ hash,
1132
+ chain,
1133
+ refetchInterval,
1134
+ enabled = true
1135
+ }) {
1136
+ return (0, import_react_query2.useQuery)(
1137
+ {
1138
+ queryKey: ["txhash", hash, chain],
1139
+ queryFn: async () => {
1140
+ if (!chain || !hash) return false;
1141
+ const publicClient = (0, import_viem.createPublicClient)({
1142
+ chain,
1143
+ transport: (0, import_viem.http)()
1144
+ });
1145
+ try {
1146
+ const receipt = await publicClient.getTransactionReceipt({ hash });
1147
+ if (!receipt) {
1148
+ return 0;
1149
+ }
1150
+ matchlog_default.log("getTransactionReceipt", receipt);
1151
+ if (receipt.status === "success") {
1152
+ return 1;
1153
+ }
1154
+ return -1;
1155
+ } catch (error) {
1156
+ console.error("getTransactionReceiptError", error);
1157
+ }
1158
+ return -99;
1159
+ },
1160
+ enabled: !!chain && !!hash && enabled,
1161
+ refetchInterval
1162
+ // refetchIntervalInBackground: false
1163
+ }
1164
+ );
1165
+ }
1166
+
1167
+ // src/ui/HashPanel/index.tsx
1168
+ var import_jsx_runtime76 = require("react/jsx-runtime");
1169
+ function HashPanel({
1170
+ hash,
1171
+ chain,
1172
+ isOpen,
1173
+ onClose,
1174
+ zIndex,
1175
+ error
1176
+ }) {
1177
+ const [status, setStatus] = (0, import_react13.useState)("confirm");
1178
+ const statusMaps = {
1179
+ "confirm": {
1180
+ text: "Confirming...",
1181
+ color: "#FC802D",
1182
+ lottie: confirm_default
1183
+ },
1184
+ "pending": {
1185
+ lottie: pending_default,
1186
+ text: "Pending...",
1187
+ color: "#FC802D"
1188
+ },
1189
+ "success": {
1190
+ text: "Successful!",
1191
+ color: "#2CBF68",
1192
+ lottie: success_default
1193
+ },
1194
+ "fail": {
1195
+ text: "Failed!",
1196
+ color: "#F14141",
1197
+ lottie: fail_default
1198
+ }
1199
+ };
1200
+ const statusValue = error ? statusMaps.fail : statusMaps[status];
1201
+ const [shouldRefetch, setShouldRefetch] = (0, import_react13.useState)(true);
1202
+ (0, import_react13.useEffect)(() => {
1203
+ if (hash) {
1204
+ setShouldRefetch(true);
1205
+ setStatus("pending");
1206
+ } else {
1207
+ setStatus("confirm");
1208
+ }
1209
+ }, [hash]);
1210
+ const hashQuery = useHash({
1211
+ hash,
1212
+ chain,
1213
+ refetchInterval: shouldRefetch ? 3e3 : false
1214
+ });
1215
+ (0, import_react13.useEffect)(() => {
1216
+ if (hashQuery.data == 1 || hashQuery.data == -1) {
1217
+ setShouldRefetch(false);
1218
+ }
1219
+ if (hashQuery.data == 1) {
1220
+ setStatus("success");
1221
+ } else if (hashQuery.data == -1) {
1222
+ setStatus("fail");
1223
+ } else if (hashQuery.data == 0) {
1224
+ setStatus("pending");
1225
+ }
1226
+ }, [hashQuery.data]);
1227
+ const link = chain ? `${chain?.blockExplorers?.default.url}/tx/${hash}` : "";
1228
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
1229
+ ModalDrawer,
1230
+ {
1231
+ isOpen,
1232
+ showClose: true,
1233
+ onClose,
1234
+ zIndex,
1235
+ title: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
1236
+ "div",
1237
+ {
1238
+ className: "matchid-hashpanel-header",
1239
+ style: {
1240
+ color: statusValue.color
1241
+ },
1242
+ children: statusValue.text
1243
+ }
1244
+ ),
1245
+ children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "matchid-hashpanel-box", children: [
1246
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "matchid-hashpanel-content", children: [
1247
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: `matchid-hashpanel-status`, style: {
1248
+ color: statusValue.color
1249
+ }, children: statusValue.text }),
1250
+ statusValue.lottie && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
1251
+ width: "96px",
1252
+ height: "96px"
1253
+ } }),
1254
+ hash && /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
1255
+ "Hash:",
1256
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("a", { href: link, target: "_blank", children: hash })
1257
+ ] }),
1258
+ error && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "matchid-hashpanel-text", children: error })
1259
+ ] }),
1260
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
1261
+ ] })
1262
+ }
1263
+ );
1264
+ }
1265
+ function HashPanel_default(props) {
1266
+ return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(HashPanel, { ...props });
1267
+ }
1268
+
1269
+ // src/ui/Switch/index.tsx
1270
+ var import_jsx_runtime77 = require("react/jsx-runtime");
1271
+
1272
+ // src/ui/AlphaAvatar/index.tsx
1273
+ var import_react14 = require("react");
1274
+ var import_jsx_runtime78 = require("react/jsx-runtime");
1275
+ function AlphaAvatar({
1276
+ name,
1277
+ size = "default",
1278
+ className = "",
1279
+ style
1280
+ }) {
1281
+ const avatar = (0, import_react14.useMemo)(() => {
1282
+ if (name) {
1283
+ const char = name[0].toUpperCase();
1284
+ if (char.match(/[a-zA-Z0-9]/)) {
1285
+ return char;
1286
+ }
1287
+ }
1288
+ return "";
1289
+ }, [name]);
1290
+ const numberSize = typeof size === "number" ? size : size === "sm" ? 24 : size === "default" ? 40 : 64;
1291
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1292
+ width: numberSize,
1293
+ height: numberSize,
1294
+ fontSize: Math.ceil(numberSize / 2),
1295
+ ...style
1296
+ }, children: avatar });
1297
+ }
1298
+
1299
+ // src/ui/Radio/index.tsx
1300
+ var import_jsx_runtime79 = require("react/jsx-runtime");
1301
+ function Radio({
1302
+ checked = false,
1303
+ onChange,
1304
+ size = 24,
1305
+ color = "#FC802D",
1306
+ className = "",
1307
+ style = {}
1308
+ }) {
1309
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
1310
+ width: size,
1311
+ height: size,
1312
+ ...style,
1313
+ // @ts-ignore
1314
+ "--matchid-radio-checked": color
1315
+ }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: `matchid-radio-content`, style: {
1316
+ width: Math.floor(size * 0.7),
1317
+ height: Math.floor(size * 0.7)
1318
+ } }) });
1319
+ }
1320
+
1321
+ // src/ui/Skeleton/index.tsx
1322
+ var import_jsx_runtime80 = require("react/jsx-runtime");
1323
+
1324
+ // src/ui/Tabs/index.tsx
1325
+ var import_jsx_runtime81 = require("react/jsx-runtime");
1326
+
1327
+ // src/ui/Lottie/index.tsx
1328
+ var import_lottie_react = require("lottie-react");
1329
+ var LazyLottie = (props) => {
1330
+ const options = {
1331
+ animationData: props.animationData,
1332
+ loop: true,
1333
+ autoplay: true
1334
+ };
1335
+ const { View } = (0, import_lottie_react.useLottie)(options, props.style);
1336
+ return View;
1337
+ };
1338
+ var Lottie_default = LazyLottie;
1339
+
1340
+ // src/ui/Checkbox/index.tsx
1341
+ var import_jsx_runtime82 = require("react/jsx-runtime");
1342
+
1343
+ // src/components/EVMModal/index.tsx
1344
+ var import_react17 = require("react");
1345
+
1346
+ // src/hooks/eventManager.ts
1347
+ var EventManager = class {
1348
+ constructor() {
1349
+ this.listeners = {};
1350
+ }
1351
+ on(event, callback) {
1352
+ if (!this.listeners[event]) {
1353
+ this.listeners[event] = /* @__PURE__ */ new Set();
1354
+ }
1355
+ this.listeners[event].add(callback);
1356
+ }
1357
+ off(event, callback) {
1358
+ if (this.listeners[event]) {
1359
+ this.listeners[event].delete(callback);
1360
+ if (this.listeners[event].size === 0) {
1361
+ delete this.listeners[event];
1362
+ }
1363
+ }
1364
+ }
1365
+ emit(event, ...args) {
1366
+ if (this.listeners[event]) {
1367
+ this.listeners[event].forEach((callback) => callback(...args));
1368
+ }
1369
+ }
1370
+ };
1371
+ var eventManager = new EventManager();
1372
+ var eventManager_default = eventManager;
1373
+
1374
+ // src/components/EVMModal/index.tsx
1375
+ var import_react_intl10 = require("react-intl");
1376
+
1377
+ // src/components/WalletModalContent/index.tsx
1378
+ var import_react15 = require("react");
1379
+ var import_jsx_runtime83 = require("react/jsx-runtime");
1380
+
1381
+ // src/components/EVMModal/index.tsx
1382
+ var import_rainbowkit = require("@rainbow-me/rainbowkit");
1383
+ var import_wagmi2 = require("wagmi");
1384
+
1385
+ // src/hooks/useWalletBox.ts
1386
+ var import_react16 = require("react");
1387
+
1388
+ // src/hooks/useEthersSigner.ts
1389
+ var React5 = __toESM(require("react"));
1390
+ var import_wagmi = require("wagmi");
1391
+ var import_ethers = require("ethers");
1392
+
1393
+ // src/components/EVMModal/index.tsx
1394
+ var import_siwe = require("siwe");
1395
+ var import_styles = require("@rainbow-me/rainbowkit/styles.css");
1396
+ var import_jsx_runtime84 = require("react/jsx-runtime");
1397
+
1398
+ // src/components/TRONModal/index.tsx
1399
+ var import_react19 = __toESM(require("react"));
1400
+ var import_react_intl11 = require("react-intl");
1401
+
1402
+ // src/hooks/useTRONWallet.ts
1403
+ var import_react18 = require("react");
1404
+
1405
+ // src/components/TRONModal/index.tsx
1406
+ var import_jsx_runtime85 = require("react/jsx-runtime");
1407
+
1408
+ // src/components/TONModal/index.tsx
1409
+ var import_react20 = __toESM(require("react"));
1410
+ var import_react_intl12 = require("react-intl");
1411
+ var import_ui_react = require("@tonconnect/ui-react");
1412
+ var import_jsx_runtime86 = require("react/jsx-runtime");
1413
+
1414
+ // src/components/BTCModal/index.tsx
1415
+ var import_react22 = __toESM(require("react"));
1416
+ var import_react_intl13 = require("react-intl");
1417
+
1418
+ // src/lib/btc/XverseAdapter.ts
1419
+ var import_sats_connect = require("sats-connect");
1420
+
1421
+ // src/hooks/useBTCWallet.ts
1422
+ var import_react21 = require("react");
1423
+
1424
+ // src/components/BTCModal/index.tsx
1425
+ var import_jsx_runtime87 = require("react/jsx-runtime");
1426
+
1427
+ // src/components/WalletModal/index.tsx
1428
+ var import_react23 = require("react");
1429
+ var import_react_intl14 = require("react-intl");
1430
+ var import_jsx_runtime88 = require("react/jsx-runtime");
1431
+
1432
+ // src/components/AlphaAvatar/index.tsx
1433
+ var import_react24 = require("react");
1434
+ var import_jsx_runtime89 = require("react/jsx-runtime");
1435
+ function AlphaAvatar2({ name, size = 40, className = "" }) {
1436
+ const [avatar, setAvatar] = (0, import_react24.useState)(void 0);
1437
+ (0, import_react24.useEffect)(() => {
1438
+ if (name) {
1439
+ const char = name[0].toUpperCase();
1440
+ setAvatar(char);
1441
+ }
1442
+ }, [name]);
1443
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1444
+ width: size,
1445
+ height: size,
1446
+ fontSize: Math.ceil(size / 2)
1447
+ }, children: avatar });
1448
+ }
1449
+
1450
+ // src/components/WalletAsset/index.tsx
1451
+ var import_jsx_runtime90 = require("react/jsx-runtime");
1452
+
1453
+ // src/components/TokenSend/index.tsx
1454
+ var import_react25 = require("react");
1455
+ var import_viem2 = require("viem");
1456
+ var import_react_intl15 = require("react-intl");
1457
+ var import_jsx_runtime91 = require("react/jsx-runtime");
1458
+ function Input2({
1459
+ onChange,
1460
+ placeholder,
1461
+ value,
1462
+ maxLength,
1463
+ type,
1464
+ error,
1465
+ size = "df"
1466
+ }) {
1467
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
1468
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
1469
+ "input",
1470
+ {
1471
+ placeholder,
1472
+ onChange,
1473
+ maxLength,
1474
+ type,
1475
+ value,
1476
+ className: `matchid-token-input ${error ? "matchid-token-input-error" : ""}`
1477
+ }
1478
+ ),
1479
+ error && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "matchid-token-input-error-text", children: error })
1480
+ ] });
1481
+ }
1482
+ function TokenSend({
1483
+ onClose,
1484
+ zIndex,
1485
+ token,
1486
+ onBack
1487
+ }) {
1488
+ const { list: chainList } = useMatchChain();
1489
+ const intl = (0, import_react_intl15.useIntl)();
1490
+ const { createWalletClient: createWalletClient2 } = useWallet();
1491
+ const isNative = token.address.toLowerCase() == NATIVE_TOKEN_ADDRESS;
1492
+ const chain = (0, import_react25.useMemo)(() => {
1493
+ return chainList?.find((m) => m.id.toString() === token.chain_id);
1494
+ }, [chainList, token.chain_id]);
1495
+ const walletClient = (0, import_react25.useMemo)(() => {
1496
+ return createWalletClient2({
1497
+ // @ts-ignore
1498
+ chain: (0, import_viem2.defineChain)(chain),
1499
+ transport: (0, import_viem2.http)()
1500
+ });
1501
+ }, [chain]);
1502
+ const [amount, setAmount] = (0, import_react25.useState)("");
1503
+ const [address, setAddress] = (0, import_react25.useState)("");
1504
+ const [loading, setLoading] = (0, import_react25.useState)(false);
1505
+ const [sending, setSending] = (0, import_react25.useState)(false);
1506
+ const [txError, setTxError] = (0, import_react25.useState)("");
1507
+ const transaction = (0, import_react25.useMemo)(() => {
1508
+ const reg = /^0x[a-fA-F0-9]{40}$/;
1509
+ if (!amount || !address || !reg.test(address)) {
1510
+ return;
1511
+ }
1512
+ const viemChain = (0, import_viem2.defineChain)(chain);
1513
+ const to = isNative ? address : token.address;
1514
+ const value = isNative ? (0, import_viem2.parseUnits)(amount, parseInt(token?.decimals || "18")) : BigInt(0);
1515
+ const data = isNative ? "0x" : (0, import_viem2.encodeFunctionData)({
1516
+ abi: import_viem2.erc20Abi,
1517
+ functionName: "transfer",
1518
+ args: [address, (0, import_viem2.parseUnits)(amount, parseInt(token?.decimals || "18"))]
1519
+ });
1520
+ return {
1521
+ to,
1522
+ value,
1523
+ data,
1524
+ chain: viemChain
1525
+ };
1526
+ }, [amount, address]);
1527
+ const onCal = async () => {
1528
+ try {
1529
+ setLoading(true);
1530
+ await walletClient?.prepareTransactionRequest(transaction);
1531
+ } catch (error2) {
1532
+ console.error(error2);
1533
+ setTxError(error2.details || error2.message);
1534
+ } finally {
1535
+ setLoading(false);
1536
+ }
1537
+ };
1538
+ const error = (0, import_react25.useMemo)(() => {
1539
+ setTxError("");
1540
+ let amountError = "";
1541
+ let addressError = "";
1542
+ if (amount) {
1543
+ if (parseFloat(amount) <= 0) {
1544
+ amountError = intl.formatMessage({
1545
+ id: "tokenAmountMin"
1546
+ });
1547
+ } else if ("balance" in token && parseFloat(amount) > (token.balance || 0)) {
1548
+ amountError = intl.formatMessage({
1549
+ id: "tokenAmountMax"
1550
+ });
1551
+ }
1552
+ }
1553
+ if (address) {
1554
+ if (address.length < 42) {
1555
+ addressError = intl.formatMessage({
1556
+ id: "tokenAddressError"
1557
+ });
1558
+ } else {
1559
+ const reg = /^0x[a-fA-F0-9]{40}$/;
1560
+ if (!reg.test(address)) {
1561
+ addressError = intl.formatMessage({
1562
+ id: "tokenAddressError"
1563
+ });
1564
+ }
1565
+ }
1566
+ }
1567
+ if (amount && address && !amountError && !addressError && walletClient) {
1568
+ onCal();
1569
+ }
1570
+ return {
1571
+ amount: amountError,
1572
+ address: addressError
1573
+ };
1574
+ }, [amount, token, chain, address, walletClient]);
1575
+ const onChangeAmount = (e) => {
1576
+ const value = e.target.value;
1577
+ if (value.match(/^\d*\.?\d*$/)) {
1578
+ setAmount(value);
1579
+ }
1580
+ };
1581
+ const canSend = (0, import_react25.useMemo)(() => {
1582
+ return !error.amount && !error.address && amount && address;
1583
+ }, [error]);
1584
+ const onNext = async () => {
1585
+ setSending(true);
1586
+ if (transaction) {
1587
+ await walletClient?.sendTransaction(transaction);
1588
+ }
1589
+ onClose();
1590
+ };
1591
+ (0, import_react25.useEffect)(() => {
1592
+ const receiveMessage = (event) => {
1593
+ if (event.data) {
1594
+ if (event.data.source == "match-wallet") {
1595
+ if (event.data.method == "sendTransaction" && event.data.messageId == "openIframe") {
1596
+ onBack();
1597
+ setSending(false);
1598
+ }
1599
+ }
1600
+ }
1601
+ };
1602
+ window.addEventListener("message", receiveMessage);
1603
+ return () => {
1604
+ window.removeEventListener("message", receiveMessage);
1605
+ };
1606
+ }, []);
1607
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl15.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-send-box`, children: [
1608
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "matchid-token-send-content", children: [
1609
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-content`, children: [
1610
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-header`, children: [
1611
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl15.FormattedMessage, { id: "amount" }) }),
1612
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
1613
+ token.icon ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
1614
+ "img",
1615
+ {
1616
+ src: token?.icon,
1617
+ alt: token?.symbol,
1618
+ className: `matchid-token-amount-chain-icon`
1619
+ }
1620
+ ) : /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(AlphaAvatar, { name: token.symbol || token.name || "", size: 16 }),
1621
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { children: token?.symbol })
1622
+ ] })
1623
+ ] }),
1624
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
1625
+ Input2,
1626
+ {
1627
+ type: "text",
1628
+ onChange: onChangeAmount,
1629
+ placeholder: intl.formatMessage({
1630
+ id: "amountPlaceholder"
1631
+ }),
1632
+ value: amount,
1633
+ maxLength: 40,
1634
+ error: error.amount || txError
1635
+ }
1636
+ ),
1637
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
1638
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-amount-title`, children: [
1639
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl15.FormattedMessage, { id: "balance" }),
1640
+ ":"
1641
+ ] }),
1642
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
1643
+ ] }),
1644
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
1645
+ ] }),
1646
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-address-content`, children: [
1647
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl15.FormattedMessage, { id: "receiveTitle" }) }) }),
1648
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
1649
+ Input2,
1650
+ {
1651
+ type: "text",
1652
+ size: "sm",
1653
+ onChange: (e) => setAddress(e.target.value),
1654
+ placeholder: intl.formatMessage({
1655
+ id: "receivePlaceholder"
1656
+ }),
1657
+ value: address,
1658
+ maxLength: 42,
1659
+ error: error.address
1660
+ }
1661
+ )
1662
+ ] })
1663
+ ] }),
1664
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
1665
+ Button,
1666
+ {
1667
+ size: "lg",
1668
+ block: true,
1669
+ highlight: true,
1670
+ disabled: !canSend || !!txError,
1671
+ onClick: onNext,
1672
+ loading: loading || sending,
1673
+ children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl15.FormattedMessage, { id: "next" })
1674
+ }
1675
+ )
1676
+ ] }) });
1677
+ }
1678
+
1679
+ // src/components/TokenDetail/index.tsx
1680
+ var import_react_intl16 = require("react-intl");
1681
+ var import_jsx_runtime92 = require("react/jsx-runtime");
1682
+
1683
+ // src/components/TokenSendList/index.tsx
1684
+ var import_react26 = require("react");
1685
+ var import_react_intl17 = require("react-intl");
1686
+ var import_jsx_runtime93 = require("react/jsx-runtime");
1687
+ function TokenSendList({ close }) {
1688
+ const isDownMd = useDownMd();
1689
+ const walletAssets = useMatchWalletAssets();
1690
+ const matchWalletAssetList = useMatchWalletAssetList({
1691
+ list: walletAssets.mergedAssets
1692
+ });
1693
+ const { list } = useMatchChain();
1694
+ const [checked, setChecked] = (0, import_react26.useState)();
1695
+ const modal = useModal();
1696
+ const onNext = () => {
1697
+ checked && modal.show((props) => {
1698
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(TokenSend, { onClose: () => {
1699
+ props.close();
1700
+ close();
1701
+ }, onBack: props.close, zIndex: props.zIndex, token: checked });
1702
+ });
1703
+ };
1704
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-token-send-list-box", children: [
1705
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
1706
+ const chain = list?.find((m) => m.id.toString() === n.chain_id);
1707
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
1708
+ "div",
1709
+ {
1710
+ className: `matchid-token-send-item ${checked?.address == n.address ? "matchid-token-send-chekced" : ""}`,
1711
+ onClick: () => {
1712
+ setChecked(n);
1713
+ },
1714
+ children: [
1715
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
1716
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-token-send-content", children: [
1717
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-token-send-logo", children: [
1718
+ n.icon ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
1719
+ AlphaAvatar2,
1720
+ {
1721
+ className: `matchid-token-send-icon`,
1722
+ size: isDownMd ? 28 : 40,
1723
+ name: n.symbol || n.name || ""
1724
+ }
1725
+ ),
1726
+ chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
1727
+ "img",
1728
+ {
1729
+ src: chain.iconUrl,
1730
+ alt: chain.name,
1731
+ className: `matchid-token-send-chain`
1732
+ }
1733
+ )
1734
+ ] }),
1735
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: `matchid-token-send-info`, children: [
1736
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
1737
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
1738
+ ] })
1739
+ ] })
1740
+ ]
1741
+ },
1742
+ index
1743
+ );
1744
+ }) }),
1745
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react_intl17.FormattedMessage, { id: "next" }) })
1746
+ ] });
1747
+ }
1748
+
1749
+ // src/components/TransactionList/index.tsx
1750
+ var import_react_infinite_scroll_component = __toESM(require("react-infinite-scroll-component"));
1751
+ var import_react27 = require("react");
1752
+ var import_viem3 = require("viem");
1753
+ var import_viem4 = require("viem");
1754
+
1755
+ // src/store/useContractStore.ts
1756
+ var import_zustand3 = require("zustand");
1757
+ var import_middleware2 = require("zustand/middleware");
1758
+ var persistedState2 = (0, import_middleware2.persist)(
1759
+ (set, get) => ({
1760
+ contracts: {},
1761
+ getContract: (chainId, contractAddress) => {
1762
+ const key = `${chainId}-${contractAddress.toLowerCase()}`;
1763
+ return get().contracts[key];
1764
+ },
1765
+ setContractName: (chainId, contractAddress, name) => {
1766
+ const key = `${chainId}-${contractAddress.toLowerCase()}`;
1767
+ set((state) => {
1768
+ const updatedContracts = {
1769
+ ...state.contracts,
1770
+ [key]: { ...state.contracts[key], name }
1771
+ };
1772
+ return { contracts: updatedContracts };
1773
+ });
1774
+ },
1775
+ setContractSymbol: (chainId, contractAddress, symbol) => {
1776
+ const key = `${chainId}-${contractAddress.toLowerCase()}`;
1777
+ set((state) => {
1778
+ const updatedContracts = {
1779
+ ...state.contracts,
1780
+ [key]: { ...state.contracts[key], symbol }
1781
+ };
1782
+ return { contracts: updatedContracts };
1783
+ });
1784
+ },
1785
+ setContractDecimals: (chainId, contractAddress, decimals) => {
1786
+ const key = `${chainId}-${contractAddress.toLowerCase()}`;
1787
+ set((state) => {
1788
+ const updatedContracts = {
1789
+ ...state.contracts,
1790
+ [key]: { ...state.contracts[key], decimals }
1791
+ };
1792
+ return { contracts: updatedContracts };
1793
+ });
1794
+ },
1795
+ setContracts: (data) => {
1796
+ set((state) => {
1797
+ const newContracts = { ...state.contracts };
1798
+ data.forEach(({ chainId, contractAddress, info }) => {
1799
+ const key = `${chainId}-${contractAddress.toLowerCase()}`;
1800
+ newContracts[key] = { ...newContracts[key], ...info };
1801
+ });
1802
+ return { contracts: newContracts };
1803
+ });
1804
+ }
1805
+ }),
1806
+ { name: "match-contract-local" }
1807
+ );
1808
+ var useContractStore = (0, import_zustand3.create)((0, import_middleware2.devtools)(persistedState2));
1809
+ var useContractStore_default = useContractStore;
1810
+
1811
+ // src/components/TransactionList/index.tsx
1812
+ var import_react_intl18 = require("react-intl");
1813
+ var import_jsx_runtime94 = require("react/jsx-runtime");
1814
+
1815
+ // src/components/CEXBindModal/index.tsx
1816
+ var import_react28 = require("react");
1817
+ var import_react_intl19 = require("react-intl");
1818
+ var import_jsx_runtime95 = require("react/jsx-runtime");
1819
+
1820
+ // src/context/BusinessProvider.tsx
1821
+ var import_react_query3 = require("@tanstack/react-query");
1822
+
1823
+ // src/store/useStore.ts
1824
+ var import_zustand4 = require("zustand");
1825
+ var useStore = (0, import_zustand4.create)((set) => ({
1826
+ walletReady: false,
1827
+ setWalletReady: (inited) => set({ walletReady: inited }),
1828
+ tgAppAuthCode: "",
1829
+ setTgAppAuthCode: (code) => set({ tgAppAuthCode: code }),
1830
+ emailLoginKey: "",
1831
+ setEmailLoginKey: (key) => set({ emailLoginKey: key })
1832
+ }));
1833
+ var useStore_default = useStore;
1834
+
1835
+ // src/context/BusinessProvider.tsx
1836
+ var import_jsx_runtime96 = require("react/jsx-runtime");
1837
+
1838
+ // src/context/ModalContext.tsx
1839
+ var import_react29 = require("react");
1840
+ var import_react_dom = require("react-dom");
1841
+ var import_jsx_runtime97 = require("react/jsx-runtime");
1842
+ var ModalContext = (0, import_react29.createContext)(null);
1843
+ function useModal() {
1844
+ const context = (0, import_react29.useContext)(ModalContext);
1845
+ if (!context) {
1846
+ throw new Error("useModal must be used within a ModalProvider");
1847
+ }
1848
+ return context;
1849
+ }
1850
+
1851
+ // src/context/ToastContext.tsx
1852
+ var import_react30 = require("react");
1853
+ var import_react_dom2 = require("react-dom");
1854
+ var import_jsx_runtime98 = require("react/jsx-runtime");
1855
+ var ToastContext = (0, import_react30.createContext)(null);
1856
+ function useToast() {
1857
+ const context = (0, import_react30.useContext)(ToastContext);
1858
+ if (!context) {
1859
+ throw new Error("useToast must be used within a ToastProvider");
1860
+ }
1861
+ return context;
1862
+ }
1863
+
1864
+ // src/context/index.tsx
1865
+ var import_jsx_runtime99 = require("react/jsx-runtime");
1866
+
1867
+ // src/hooks/useWalletInit.ts
1868
+ var import_react31 = require("react");
1869
+ var AppClientId = getAppClientId();
1870
+
1871
+ // src/hooks/useInit.tsx
1872
+ var import_react32 = require("react");
1873
+
1874
+ // src/MatchContext.tsx
1875
+ var import_react_query4 = require("@tanstack/react-query");
1876
+ var import_react_intl20 = require("react-intl");
1877
+ var import_rainbowkit2 = require("@rainbow-me/rainbowkit");
1878
+ var import_wallets = require("@rainbow-me/rainbowkit/wallets");
1879
+ var import_chains = require("wagmi/chains");
1880
+
1881
+ // src/config/chains/MatchMain.ts
1882
+ var import_viem5 = require("viem");
1883
+ var matchMain = /* @__PURE__ */ (0, import_viem5.defineChain)({
1884
+ //定义match链
1885
+ id: 698,
1886
+ name: "Matchain",
1887
+ nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
1888
+ rpcUrls: {
1889
+ default: {
1890
+ http: ["https://rpc.matchain.io"]
1891
+ }
1892
+ },
1893
+ blockExplorers: {
1894
+ default: {
1895
+ name: "Matchscan",
1896
+ url: "https://matchscan.io/",
1897
+ apiUrl: "https://matchscan.io/api"
1898
+ }
1899
+ },
1900
+ iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png",
1901
+ contracts: {
1902
+ multicall3: {
1903
+ address: "0xca11bde05977b3631167028862be2a173976ca11"
1904
+ }
1905
+ }
1906
+ // testnet: true,
1907
+ });
1908
+
1909
+ // src/config/chains/MatchTest.ts
1910
+ var import_viem6 = require("viem");
1911
+ var matchTest = /* @__PURE__ */ (0, import_viem6.defineChain)({
1912
+ //定义matchTest链
1913
+ id: 699,
1914
+ name: "MatchTest",
1915
+ nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
1916
+ rpcUrls: {
1917
+ default: {
1918
+ http: ["https://testnet-rpc.matchain.io"]
1919
+ }
1920
+ },
1921
+ blockExplorers: {
1922
+ default: {
1923
+ name: "Matchscan",
1924
+ url: "https://testnet.matchscan.io/",
1925
+ apiUrl: "https://testnet.matchscan.io/api"
1926
+ }
1927
+ },
1928
+ iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png",
1929
+ contracts: {
1930
+ multicall3: {
1931
+ address: "0xca11bde05977b3631167028862be2a173976ca11",
1932
+ blockCreated: 751532
1933
+ },
1934
+ ensRegistry: { address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e" },
1935
+ ensUniversalResolver: {
1936
+ address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC",
1937
+ blockCreated: 5317080
1938
+ }
1939
+ }
1940
+ // testnet: true,
1941
+ });
1942
+
1943
+ // src/MatchContext.tsx
1944
+ var import_wagmi3 = require("wagmi");
1945
+ var import_jsx_runtime100 = require("react/jsx-runtime");
1946
+ var queryClient = new import_react_query4.QueryClient();
1947
+ var wagmiConfig = (0, import_rainbowkit2.getDefaultConfig)({
1948
+ appName: "MatchID",
1949
+ projectId: "9ac6ea7e07860f04616fb311b447dee9",
1950
+ wallets: [
1951
+ {
1952
+ groupName: "Recommended",
1953
+ wallets: [
1954
+ import_wallets.metaMaskWallet,
1955
+ import_wallets.walletConnectWallet,
1956
+ import_wallets.okxWallet,
1957
+ import_wallets.bitgetWallet,
1958
+ import_wallets.injectedWallet
1959
+ ]
1960
+ }
1961
+ ],
1962
+ chains: [import_chains.mainnet, import_chains.polygon, import_chains.optimism, import_chains.arbitrum, import_chains.base, matchMain, matchTest, import_chains.bsc]
1963
+ });
1964
+ var MatchContext = (0, import_react33.createContext)(void 0);
1965
+ var useMatch = () => {
1966
+ const context = (0, import_react33.useContext)(MatchContext);
1967
+ if (context === void 0) {
1968
+ throw new Error("useMatch must be used within a MatchProvider");
1969
+ }
1970
+ return context;
1971
+ };
1972
+
1973
+ // src/hooks/useUserInfo.tsx
1974
+ function useUserInfo() {
1975
+ const {
1976
+ appid,
1977
+ token,
1978
+ mid,
1979
+ did,
1980
+ logout: logoutStore,
1981
+ setOverview,
1982
+ overview,
1983
+ address,
1984
+ endpoints,
1985
+ locale,
1986
+ refreshOverview
1987
+ } = useLocalStore_default();
1988
+ const { setTgAppAuthCode, emailLoginKey, setEmailLoginKey } = useStore_default();
1989
+ const isDownMd = useDownMd();
1990
+ const { events, login } = useMatch();
1991
+ const { open: EVMOpen } = useEVMModalStore();
1992
+ const { open: TRONOpen } = useTRONModalStore();
1993
+ const { open: TONOpen } = useTONModalStore();
1994
+ const { open: BTCOpen } = useBTCModalStore();
1995
+ const { open: CEXBindOpen } = useCEXBindModalStore();
1996
+ const walletModalStore = useWalletModalStore();
1997
+ const getRedirectUri = () => {
1998
+ return encodeURIComponent(window.location.href);
1999
+ };
2000
+ const isLogin = (0, import_react34.useMemo)(() => !!token && !!overview, [token, overview]);
2001
+ const logout = async () => {
2002
+ try {
2003
+ await toLogoutApi();
2004
+ } catch (err) {
2005
+ console.error("logout", err);
2006
+ }
2007
+ logoutStore();
2008
+ events && events.onLogout && events.onLogout();
2009
+ eventManager_default.emit("onLogout");
2010
+ };
2011
+ const loginByMethod = async (method) => {
2012
+ const link = `${endpoints.back}api/v1/auth/${method == "youtube" ? "google" : method}?appid=${appid}&provider=${method == "youtube" ? "google" : method}&redirect=${encodeURIComponent(endpoints.auth + "login/" + method)}&authorization=${(/* @__PURE__ */ new Date()).getTime()}${method == "youtube" ? "&auth_type=youtube" : ""}`;
2013
+ matchlog_default.log("link", link);
2014
+ return window.open(
2015
+ link,
2016
+ // Replace with the actual authorization URL
2017
+ "authWindow",
2018
+ "width=800,height=600"
2019
+ );
2020
+ };
2021
+ const loginByTwitter = () => {
2022
+ return loginByMethod("twitter");
2023
+ };
2024
+ const loginByGoogle = () => {
2025
+ return loginByMethod("google");
2026
+ };
2027
+ const loginByWallet = async () => {
2028
+ return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
2029
+ };
2030
+ const loginByTelegram = async () => {
2031
+ if (isInTgApp()) {
2032
+ try {
2033
+ const res = await tgAppLoginInitApi();
2034
+ if (!isSuccess(res)) {
2035
+ throw new Error(res.message);
2036
+ }
2037
+ setTgAppAuthCode(res.data.code);
2038
+ const link = res.data.login_url + `?startapp=${res.data.code}_${appid}_${locale}`;
2039
+ console.log("tgAppLoginInitLink", link);
2040
+ if (window.TelegramWebviewProxy) {
2041
+ console.log("in telegram webview");
2042
+ if (!window.Telegram) {
2043
+ throw new Error("Please import telegram-web-app.js first");
2044
+ }
2045
+ window.Telegram.WebApp.openTelegramLink(link);
2046
+ return;
2047
+ }
2048
+ console.log("not in telegram webview");
2049
+ window.open(link);
2050
+ return;
2051
+ } catch (e) {
2052
+ console.error("tgAppLoginInitApi", e);
2053
+ throw e;
2054
+ }
2055
+ }
2056
+ return window.open(
2057
+ `${endpoints.auth}login/telegram?appid=${appid}&locale=${locale}`,
2058
+ // Replace with the actual authorization URL
2059
+ "authWindow",
2060
+ "width=800,height=600"
2061
+ );
2062
+ };
2063
+ const loginMethod = async (method, extra) => {
2064
+ switch (method) {
2065
+ case "wallet":
2066
+ return walletModalStore.open("login", extra?.methods);
2067
+ case "evm":
2068
+ return EVMOpen("login");
2069
+ // return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`)
2070
+ case "sol":
2071
+ if (isDownMd) {
2072
+ return window.location.href = `${endpoints.auth}login/sol?appid=${appid}&locale=${locale}&redirect_uri=${getRedirectUri()}`;
2073
+ }
2074
+ return window.open(`${endpoints.auth}login/sol?appid=${appid}&locale=${locale}`);
2075
+ case "tron":
2076
+ return TRONOpen("login");
2077
+ case "ton":
2078
+ return TONOpen("login");
2079
+ case "btc":
2080
+ return BTCOpen("login");
2081
+ case "telegram":
2082
+ return await loginByTelegram();
2083
+ case "youtube":
2084
+ case "twitter":
2085
+ case "google":
2086
+ case "discord":
2087
+ case "github":
2088
+ case "linkedin":
2089
+ case "kakao":
2090
+ case "facebook":
2091
+ return await loginByMethod(method);
2092
+ default:
2093
+ throw new Error("unsupported method");
2094
+ }
2095
+ };
2096
+ const getLoginEmailCode = async (email) => {
2097
+ const res = await getEmailCodeApi(email);
2098
+ if (isSuccess(res)) {
2099
+ setEmailLoginKey(res.data.key);
2100
+ return res.data.key;
2101
+ }
2102
+ throw new Error(res.message);
2103
+ };
2104
+ const loginByEmail = async ({
2105
+ email,
2106
+ code
2107
+ }) => {
2108
+ try {
2109
+ const obj = {
2110
+ email,
2111
+ verification_key: emailLoginKey,
2112
+ verification_code: code
2113
+ };
2114
+ const res = await verifyEmailCodeApi(obj);
2115
+ if (res && res.data && isSuccess(res)) {
2116
+ await login({
2117
+ // mid: res.data.mid,
2118
+ token: `${res.data.token_type} ${res.data.access_token}`
2119
+ });
2120
+ return true;
2121
+ } else {
2122
+ throw new Error(res.message);
2123
+ }
2124
+ } catch (error) {
2125
+ console.error("loginByEmail", error);
2126
+ throw error;
2127
+ }
2128
+ return false;
2129
+ };
2130
+ const bindWallet = async () => {
2131
+ if (!token) {
2132
+ throw new Error("You must login first");
2133
+ }
2134
+ return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
2135
+ };
2136
+ const bindTelegram = async () => {
2137
+ if (!token) {
2138
+ throw new Error("You must login first");
2139
+ }
2140
+ const authWindow = window.open(
2141
+ `${endpoints.auth}bind/telegram?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)),
2142
+ // Replace with the actual authorization URL
2143
+ "authWindow",
2144
+ "width=800,height=600"
2145
+ );
2146
+ };
2147
+ const auth = async () => {
2148
+ const res = await getAuthInfoApi();
2149
+ if (isSuccess(res)) {
2150
+ return res.data;
2151
+ }
2152
+ throw new Error(res.message);
2153
+ };
2154
+ const bind = async (method, extra) => {
2155
+ if (!token) {
2156
+ throw new Error("You must login first");
2157
+ }
2158
+ switch (method) {
2159
+ case "wallet":
2160
+ return walletModalStore.open("bind", extra?.methods);
2161
+ case "evm":
2162
+ return EVMOpen("bind");
2163
+ // return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)))
2164
+ case "sol":
2165
+ if (isDownMd) {
2166
+ return window.location.href = `${endpoints.auth}bind/sol?appid=${appid}&locale=${locale}&st=${encodeURIComponent(encodeBase64(token))}&redirect_uri=${getRedirectUri()}`;
2167
+ }
2168
+ return window.open(`${endpoints.auth}bind/sol?appid=${appid}&locale=${locale}&st=${encodeURIComponent(encodeBase64(token))}`);
2169
+ case "tron":
2170
+ return TRONOpen("bind");
2171
+ case "ton":
2172
+ return TONOpen("bind");
2173
+ case "btc":
2174
+ return BTCOpen("bind");
2175
+ case "telegram":
2176
+ return await bindTelegram();
2177
+ case "twitter":
2178
+ case "google":
2179
+ case "discord":
2180
+ case "github":
2181
+ case "linkedin":
2182
+ case "facebook":
2183
+ case "youtube":
2184
+ const link = `${endpoints.back}api/v1/auth/${method == "youtube" ? "google" : method}?appid=${appid}&provider=${method == "youtube" ? "google" : method}&redirect=${encodeURIComponent(endpoints.auth + "bind/" + method)}&authorization=${token.includes("Bearer ") ? token.split(" ")[1] : token}${method == "youtube" ? "&auth_type=youtube" : ""}`;
2185
+ matchlog_default.log("link", link);
2186
+ return window.open(
2187
+ link,
2188
+ "authWindow",
2189
+ "width=800,height=600"
2190
+ );
2191
+ default:
2192
+ throw new Error("unsupported method");
2193
+ }
2194
+ };
2195
+ const bindCex = (type) => {
2196
+ return CEXBindOpen(type);
2197
+ };
2198
+ const getAuthInfo = async (method) => {
2199
+ const element_id = "auth_iframe";
2200
+ if (document.getElementById(element_id)) {
2201
+ document.getElementById(element_id).remove();
2202
+ }
2203
+ const iframe = document.createElement("iframe");
2204
+ iframe.id = element_id;
2205
+ iframe.src = `${endpoints.auth}auth?appid=${appid}&method=${method}&locale=${locale}&token=${encodeURIComponent(encodeBase64(token))}`;
2206
+ iframe.style.width = "100vw";
2207
+ iframe.style.height = "100vh";
2208
+ iframe.style.position = "fixed";
2209
+ iframe.style.top = "0";
2210
+ iframe.style.left = "0";
2211
+ iframe.style.zIndex = "9999";
2212
+ iframe.style.border = "none";
2213
+ iframe.allowTransparency = "true";
2214
+ document.body.appendChild(iframe);
2215
+ return new Promise((resolve, reject) => {
2216
+ const authMessageHandle = (event) => {
2217
+ if (endpoints.auth.includes(event.origin)) {
2218
+ const res = event.data;
2219
+ if (res.source == "match-auth") {
2220
+ window.removeEventListener("message", authMessageHandle);
2221
+ if (res.status == "success") {
2222
+ resolve({
2223
+ ...res.data,
2224
+ method: res.method,
2225
+ appid: res.appid,
2226
+ did
2227
+ });
2228
+ } else {
2229
+ reject(new Error(res.message));
2230
+ }
2231
+ iframe.remove();
2232
+ }
2233
+ }
2234
+ };
2235
+ window.addEventListener("message", authMessageHandle);
2236
+ });
2237
+ };
2238
+ const invite = async (invite_code) => {
2239
+ return await userInviteApi({
2240
+ invite_code
2241
+ });
2242
+ };
2243
+ return {
2244
+ loginByMethod,
2245
+ loginByTelegram,
2246
+ loginByTwitter,
2247
+ loginByGoogle,
2248
+ loginByWallet,
2249
+ loginByEmail,
2250
+ bindWallet,
2251
+ bindTelegram,
2252
+ token,
2253
+ mid,
2254
+ did,
2255
+ address,
2256
+ isLogin,
2257
+ logout,
2258
+ getLoginEmailCode,
2259
+ refreshOverview,
2260
+ overview,
2261
+ bindCex,
2262
+ username: overview?.username || "",
2263
+ auth,
2264
+ login: loginMethod,
2265
+ bind,
2266
+ getAuthInfo,
2267
+ invite
2268
+ };
2269
+ }
2270
+
2271
+ // src/hooks/useMatchEvents.ts
2272
+ var import_react35 = require("react");
2273
+ function useMatchEvents(handlers) {
2274
+ (0, import_react35.useEffect)(() => {
2275
+ Object.entries(handlers).forEach(([event, handler2]) => {
2276
+ if (handler2) {
2277
+ eventManager_default.on(event, handler2);
2278
+ }
2279
+ });
2280
+ return () => {
2281
+ Object.entries(handlers).forEach(([event, handler2]) => {
2282
+ if (handler2) {
2283
+ eventManager_default.off(event, handler2);
2284
+ }
2285
+ });
2286
+ };
2287
+ }, [handlers]);
2288
+ }
2289
+
2290
+ // src/hooks/useWallet.tsx
2291
+ var import_viem7 = require("viem");
2292
+ var import_accounts = require("viem/accounts");
2293
+ var import_viem8 = require("viem");
2294
+ var import_react36 = require("react");
2295
+ var import_viem9 = require("viem");
2296
+
2297
+ // src/store/useTransactionStore.ts
2298
+ var import_zustand5 = require("zustand");
2299
+ var import_middleware3 = require("zustand/middleware");
2300
+ var persistedState3 = (0, import_middleware3.persist)(
2301
+ (set, get) => ({
2302
+ transactions: {},
2303
+ addTransaction: (data) => {
2304
+ set((state) => {
2305
+ const updatedTransactions = {
2306
+ ...state.transactions,
2307
+ [`${data.chainId}-${data.address}`]: [data.info, ...state.transactions[`${data.chainId}-${data.address}`] || []]
2308
+ };
2309
+ return { transactions: updatedTransactions };
2310
+ });
2311
+ },
2312
+ removeTransaction: (data) => {
2313
+ set((state) => {
2314
+ const updatedTransactions = {
2315
+ ...state.transactions,
2316
+ [`${data.chainId}-${data.address}`]: (state.transactions[`${data.chainId}-${data.address}`] || []).filter((tx) => tx.hash !== data.hash)
2317
+ };
2318
+ return { transactions: updatedTransactions };
2319
+ });
2320
+ }
2321
+ }),
2322
+ { name: "match-transactions-local" }
2323
+ );
2324
+ var useTransactionStore = (0, import_zustand5.create)((0, import_middleware3.devtools)(persistedState3));
2325
+ var useTransactionStore_default = useTransactionStore;
2326
+
2327
+ // src/hooks/useWallet.tsx
2328
+ var import_jsx_runtime101 = require("react/jsx-runtime");
2329
+ var AppClientId2 = "react-sdk-" + getVersion();
2330
+ function useWallet() {
2331
+ const { address, wallet: walletConfig } = useLocalStore_default();
2332
+ const { walletReady } = useStore_default();
2333
+ const modal = useModal();
2334
+ const { addTransaction } = useTransactionStore_default();
2335
+ const isRecovered = async () => {
2336
+ const res = await window.matchProvider.waitUntilWalletMessage({
2337
+ method: "isRecovered"
2338
+ });
2339
+ return res.isRecovered;
2340
+ };
2341
+ const signMessage2 = async ({
2342
+ message,
2343
+ chainType = "ethereum" /* Ethereum */
2344
+ }) => {
2345
+ try {
2346
+ const res = await window.matchProvider.waitUntilWalletMessage({
2347
+ method: "signMessage",
2348
+ data: {
2349
+ message,
2350
+ chainType
2351
+ }
2352
+ });
2353
+ return res.message;
2354
+ } catch (error) {
2355
+ console.error("sdk.wallet.message", error);
2356
+ throw error;
2357
+ }
2358
+ };
2359
+ const signTransaction = async ({
2360
+ transaction,
2361
+ chainType = "ethereum" /* Ethereum */,
2362
+ chain
2363
+ }) => {
2364
+ try {
2365
+ const res = await window.matchProvider.waitUntilWalletMessage({
2366
+ method: "signTransaction",
2367
+ data: {
2368
+ transaction,
2369
+ chainType,
2370
+ chain
2371
+ }
2372
+ });
2373
+ return res.message;
2374
+ } catch (error) {
2375
+ console.error("sdk.wallet.transaction", error);
2376
+ throw error;
2377
+ }
2378
+ };
2379
+ const evmAccount = (0, import_react36.useMemo)(() => {
2380
+ try {
2381
+ return address ? (0, import_accounts.toAccount)({
2382
+ address,
2383
+ async signMessage({ message }) {
2384
+ return await signMessage2({
2385
+ message,
2386
+ chainType: "ethereum" /* Ethereum */
2387
+ });
2388
+ },
2389
+ async signTransaction(transaction, options) {
2390
+ const { account, chain, ...restTransaction } = transaction;
2391
+ console.log("qwe-sign-transaction", restTransaction, options);
2392
+ return await signTransaction({
2393
+ transaction: {
2394
+ ...restTransaction
2395
+ },
2396
+ chainType: "ethereum" /* Ethereum */,
2397
+ chain: {
2398
+ id: chain?.id || restTransaction.chainId,
2399
+ name: chain?.name,
2400
+ nativeCurrency: {
2401
+ name: chain?.nativeCurrency?.name || "ETH",
2402
+ symbol: chain?.nativeCurrency?.symbol || "ETH",
2403
+ decimals: chain?.nativeCurrency?.decimals || 18
2404
+ },
2405
+ rpcUrls: chain?.rpcUrls
2406
+ }
2407
+ });
2408
+ },
2409
+ async signTypedData(typedData) {
2410
+ return "0x";
2411
+ }
2412
+ }) : void 0;
2413
+ } catch (error) {
2414
+ console.error(`qwe-evm-account-error ${address}`, error);
2415
+ return void 0;
2416
+ }
2417
+ }, [address]);
2418
+ (0, import_react36.useEffect)(() => {
2419
+ matchlog_default.log("qwe-evmAccount", evmAccount);
2420
+ }, [evmAccount]);
2421
+ const realCreateWalletClient = (parameters) => {
2422
+ if (!evmAccount) {
2423
+ return;
2424
+ }
2425
+ const obj = (0, import_viem8.createWalletClient)({
2426
+ ...parameters,
2427
+ account: evmAccount
2428
+ });
2429
+ const sendTransaction = async (transaction) => {
2430
+ const { chain, ...restTransaction } = transaction;
2431
+ const chainId = chain ? chain.id : await obj.getChainId();
2432
+ const _chain = chain || obj.chain;
2433
+ const transactionId = Date.now().toString() + Math.random().toString().slice(6);
2434
+ window.matchProvider.transactionMessageIntervalMap[transactionId] = {
2435
+ transaction,
2436
+ func: async () => {
2437
+ try {
2438
+ const {
2439
+ chain: chain2,
2440
+ account,
2441
+ ...prepareTransactionRequest
2442
+ // @ts-ignore
2443
+ } = await obj.prepareTransactionRequest(window.matchProvider.transactionMessageIntervalMap[transactionId].transaction);
2444
+ window.matchProvider.sendWalletMessage({
2445
+ method: "prepareTransactionRequest",
2446
+ data: {
2447
+ prepareTransactionRequest,
2448
+ transactionId
2449
+ }
2450
+ });
2451
+ } catch (error) {
2452
+ console.error(error);
2453
+ }
2454
+ },
2455
+ interval: setInterval(() => {
2456
+ window.matchProvider.transactionMessageIntervalMap[transactionId].func();
2457
+ }, 1e4)
2458
+ };
2459
+ try {
2460
+ const {
2461
+ chain: chain2,
2462
+ account,
2463
+ ...prepareTransactionRequest
2464
+ // @ts-ignore
2465
+ } = await obj.prepareTransactionRequest(transaction);
2466
+ const { serializedTransaction } = await window.matchProvider.waitUntilWalletMessage({
2467
+ method: "sendTransaction",
2468
+ data: {
2469
+ transactionId,
2470
+ transaction: {
2471
+ ...restTransaction
2472
+ },
2473
+ chainType: "ethereum" /* Ethereum */,
2474
+ chain: {
2475
+ id: chainId,
2476
+ name: _chain?.name,
2477
+ nativeCurrency: _chain?.nativeCurrency,
2478
+ rpcUrls: _chain?.rpcUrls
2479
+ },
2480
+ prepareTransactionRequest
2481
+ }
2482
+ });
2483
+ try {
2484
+ const txHash = await obj.sendRawTransaction({
2485
+ serializedTransaction
2486
+ });
2487
+ addTransaction({
2488
+ chainId,
2489
+ hash: txHash,
2490
+ info: {
2491
+ from: evmAccount.address,
2492
+ to: restTransaction.to,
2493
+ value: (restTransaction.value || 0).toString(),
2494
+ input: restTransaction.data,
2495
+ timestamp: Math.floor(Date.now() / 1e3).toString(),
2496
+ hash: txHash,
2497
+ source: "local"
2498
+ },
2499
+ address: evmAccount.address
2500
+ });
2501
+ modal.show((props) => {
2502
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
2503
+ });
2504
+ return txHash;
2505
+ } catch (error) {
2506
+ modal.show((props) => {
2507
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, error: typeof error == "string" ? error : error.details || error.message, chain: _chain });
2508
+ });
2509
+ throw error;
2510
+ }
2511
+ } catch (error) {
2512
+ console.error("matchid-send-error", error);
2513
+ throw error;
2514
+ } finally {
2515
+ clearInterval(window.matchProvider.transactionMessageIntervalMap[transactionId].interval);
2516
+ delete window.matchProvider.transactionMessageIntervalMap[transactionId];
2517
+ }
2518
+ };
2519
+ const deployContract = async (parameters2) => {
2520
+ const { abi, args, bytecode, ...request3 } = parameters2;
2521
+ const calldata = (0, import_viem9.encodeDeployData)({ abi, args, bytecode });
2522
+ return await sendTransaction({
2523
+ ...request3,
2524
+ data: calldata
2525
+ });
2526
+ };
2527
+ const writeContract = async (parameters2) => {
2528
+ const { abi, address: address2, args, dataSuffix, functionName, ...request3 } = parameters2;
2529
+ const data = (0, import_viem7.encodeFunctionData)({
2530
+ abi,
2531
+ args,
2532
+ functionName
2533
+ });
2534
+ return await sendTransaction({
2535
+ data: `${data}${dataSuffix ? dataSuffix.replace("0x", "") : ""}`,
2536
+ to: address2,
2537
+ ...request3
2538
+ });
2539
+ };
2540
+ return {
2541
+ ...obj,
2542
+ sendTransaction,
2543
+ deployContract,
2544
+ writeContract
2545
+ };
2546
+ };
2547
+ return {
2548
+ walletReady,
2549
+ evmAccount,
2550
+ address,
2551
+ signMessage: signMessage2,
2552
+ signTransaction,
2553
+ isRecovered,
2554
+ createWalletClient: realCreateWalletClient
2555
+ // exportWallet
2556
+ };
2557
+ }
2558
+
2559
+ // src/hooks/useCopyClipboard.ts
2560
+ var import_copy_to_clipboard = __toESM(require("copy-to-clipboard"));
2561
+ var import_react37 = require("react");
2562
+ function useCopyClipboard(timeout = 500) {
2563
+ const [isCopied, setIsCopied] = (0, import_react37.useState)(false);
2564
+ const staticCopy = (0, import_react37.useCallback)((text) => {
2565
+ const didCopy = (0, import_copy_to_clipboard.default)(text);
2566
+ setIsCopied(didCopy);
2567
+ }, []);
2568
+ (0, import_react37.useEffect)(() => {
2569
+ if (isCopied) {
2570
+ const hide = setTimeout(() => {
2571
+ setIsCopied(false);
2572
+ }, timeout);
2573
+ return () => {
2574
+ clearTimeout(hide);
2575
+ };
2576
+ }
2577
+ return void 0;
2578
+ }, [isCopied, setIsCopied, timeout]);
2579
+ return [isCopied, staticCopy];
2580
+ }
2581
+
2582
+ // src/hooks/api/wallet.ts
2583
+ var import_react_query5 = require("@tanstack/react-query");
2584
+ function useChainListQuery(options) {
2585
+ const { isLogin, token } = useUserInfo();
2586
+ return (0, import_react_query5.useQuery)({
2587
+ queryKey: ["match-user-chain-list", token],
2588
+ queryFn: async () => {
2589
+ const res = await getUserChainListApi();
2590
+ if (!isSuccess(res)) {
2591
+ return [];
2592
+ }
2593
+ return res.data;
2594
+ },
2595
+ enabled: isLogin,
2596
+ ...options
2597
+ });
2598
+ }
2599
+ function useAssetListQuery({
2600
+ chainId,
2601
+ ...options
2602
+ }) {
2603
+ const { isLogin, token } = useUserInfo();
2604
+ return (0, import_react_query5.useQuery)({
2605
+ queryKey: ["match-user-asset-list", token, chainId],
2606
+ queryFn: async () => {
2607
+ const res = await getUserWalletAssetApi({ chain_id: chainId.toString() });
2608
+ if (!isSuccess(res)) {
2609
+ return [];
2610
+ }
2611
+ return res.data || [];
2612
+ },
2613
+ enabled: isLogin,
2614
+ ...options
2615
+ });
2616
+ }
2617
+ var USER_IMPORT_TOKEN_LIST_KEY = "match-user-import-token-list";
2618
+ function useImportTokenListQuery({
2619
+ chainId,
2620
+ ...options
2621
+ }) {
2622
+ const { isLogin, token } = useUserInfo();
2623
+ return (0, import_react_query5.useQuery)({
2624
+ queryKey: [USER_IMPORT_TOKEN_LIST_KEY, token, chainId],
2625
+ queryFn: async () => {
2626
+ const res = await getUserImportTokenListApi({ chain_id: chainId.toString() });
2627
+ if (!isSuccess(res)) {
2628
+ return [];
2629
+ }
2630
+ return res.data || [];
2631
+ },
2632
+ enabled: isLogin,
2633
+ ...options
2634
+ });
2635
+ }
2636
+
2637
+ // src/hooks/useMatchChain.tsx
2638
+ var import_react38 = require("react");
2639
+ var import_viem10 = require("viem");
2640
+ var import_react_intl21 = require("react-intl");
2641
+ var import_jsx_runtime102 = require("react/jsx-runtime");
2642
+ function useMatchChain() {
2643
+ const chainListQuery = useChainListQuery();
2644
+ const modal = useModal();
2645
+ const intl = (0, import_react_intl21.useIntl)();
2646
+ const { chainId: storeChainId, setChainId } = useLocalStore_default();
2647
+ const chainId = (0, import_react38.useMemo)(() => {
2648
+ if (!chainListQuery.data || !chainListQuery.data.length) {
2649
+ return null;
2650
+ }
2651
+ if (chainListQuery.data.find((item) => item.id === storeChainId)) {
2652
+ return storeChainId;
2653
+ }
2654
+ return chainListQuery.data[0].id;
2655
+ }, [storeChainId, chainListQuery.data]);
2656
+ const chain = (0, import_react38.useMemo)(() => {
2657
+ if (!chainListQuery.data || !chainListQuery.data.length) {
2658
+ return null;
2659
+ }
2660
+ return chainListQuery.data.find((item) => item.id === chainId);
2661
+ }, [chainId, chainListQuery.data]);
2662
+ const explorerLink = (url) => {
2663
+ const explorer = chain?.blockExplorers.default.url;
2664
+ return explorer.lastIndexOf("/") === explorer.length - 1 ? explorer + url : explorer + "/" + url;
2665
+ };
2666
+ function ChangeNetwork({
2667
+ close
2668
+ }) {
2669
+ const { chainId: storeChainId2, setChainId: setChainId2 } = useLocalStore_default();
2670
+ const [selectedChainId, setSelectedChainId] = (0, import_react38.useState)(storeChainId2);
2671
+ const isDownMd = useDownMd();
2672
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: `matchid-change-network-box`, children: [
2673
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
2674
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
2675
+ "div",
2676
+ {
2677
+ onClick: () => setSelectedChainId(item.id),
2678
+ className: `matchid-change-network-item ${selectedChainId == item.id ? "matchid-change-network-selected" : ""}`,
2679
+ children: [
2680
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
2681
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
2682
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
2683
+ ] }),
2684
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
2685
+ ]
2686
+ },
2687
+ index
2688
+ );
2689
+ }) }),
2690
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
2691
+ setChainId2(selectedChainId || 0);
2692
+ close();
2693
+ }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_react_intl21.FormattedMessage, { id: "confirm" }) })
2694
+ ] });
2695
+ }
2696
+ const showChangeNetwork = () => {
2697
+ modal.open({
2698
+ title: intl.formatMessage({ id: "changeNetwork" }),
2699
+ content: ChangeNetwork
2700
+ });
2701
+ };
2702
+ const publicClient = (0, import_react38.useMemo)(() => {
2703
+ if (!chain) {
2704
+ return null;
2705
+ }
2706
+ return (0, import_viem10.createPublicClient)({
2707
+ chain,
2708
+ transport: (0, import_viem10.http)()
2709
+ });
2710
+ }, [chain]);
2711
+ return {
2712
+ list: chainListQuery.data,
2713
+ chainId,
2714
+ setChainId,
2715
+ chain,
2716
+ explorerLink,
2717
+ showChangeNetwork,
2718
+ publicClient,
2719
+ formatUnits: (value) => {
2720
+ return (0, import_viem10.formatUnits)(value, chain?.nativeCurrency.decimals || 18);
2721
+ },
2722
+ parseUnits: (value) => {
2723
+ return (0, import_viem10.parseUnits)(value, chain?.nativeCurrency.decimals || 18);
2724
+ }
2725
+ };
2726
+ }
2727
+
2728
+ // src/hooks/useMatchWallet.tsx
2729
+ var import_react_qrcode = require("react-qrcode");
2730
+ var import_react40 = require("react");
2731
+ var import_react_query8 = require("@tanstack/react-query");
2732
+ var import_viem13 = require("viem");
2733
+ var import_react_intl23 = require("react-intl");
2734
+
2735
+ // src/components/ImportToken/index.tsx
2736
+ var import_react39 = require("react");
2737
+ var import_react_intl22 = require("react-intl");
2738
+ var import_react_query7 = require("@tanstack/react-query");
2739
+ var import_viem12 = require("viem");
2740
+
2741
+ // src/hooks/useIsContract.ts
2742
+ var import_viem11 = require("viem");
2743
+ var import_react_query6 = require("@tanstack/react-query");
2744
+ function useIsContract({
2745
+ address,
2746
+ chain,
2747
+ enabled
2748
+ }) {
2749
+ return (0, import_react_query6.useQuery)({
2750
+ queryKey: ["is_contract", chain?.id, address],
2751
+ queryFn: async () => {
2752
+ if (!chain) return false;
2753
+ if (!address) return false;
2754
+ const publicClient = (0, import_viem11.createPublicClient)({
2755
+ chain,
2756
+ transport: (0, import_viem11.http)()
2757
+ });
2758
+ const res = await publicClient.getCode({ address });
2759
+ return res !== null && res !== void 0;
2760
+ },
2761
+ enabled
2762
+ });
2763
+ }
2764
+
2765
+ // src/components/ImportToken/index.tsx
2766
+ var import_jsx_runtime103 = require("react/jsx-runtime");
2767
+ function ImportToken({ close }) {
2768
+ const [status, setStatus] = (0, import_react39.useState)("");
2769
+ const { token } = useUserInfo();
2770
+ const [address, setAddress] = (0, import_react39.useState)("");
2771
+ const [symbol, setSymbol] = (0, import_react39.useState)("");
2772
+ const [decimals, setDecimals] = (0, import_react39.useState)("");
2773
+ const [error, setError] = (0, import_react39.useState)({});
2774
+ const { publicClient, chainId, chain } = useMatchChain();
2775
+ const getContractInfo = async () => {
2776
+ if (!publicClient) return;
2777
+ const calls = [
2778
+ {
2779
+ address,
2780
+ abi: import_viem12.erc20Abi,
2781
+ functionName: "symbol",
2782
+ args: []
2783
+ },
2784
+ {
2785
+ address,
2786
+ abi: import_viem12.erc20Abi,
2787
+ functionName: "decimals",
2788
+ args: []
2789
+ }
2790
+ ];
2791
+ try {
2792
+ const results = await publicClient.multicall({ contracts: calls });
2793
+ console.log("results", results);
2794
+ if (!symbol && results[0]?.status == "success") {
2795
+ setSymbol(results[0]?.result);
2796
+ }
2797
+ if (!decimals && results[1]?.status == "success") {
2798
+ setDecimals((results[1]?.result).toString());
2799
+ }
2800
+ } catch (error2) {
2801
+ setError({
2802
+ address: error2.message
2803
+ });
2804
+ }
2805
+ };
2806
+ const intl = (0, import_react_intl22.useIntl)();
2807
+ (0, import_react39.useEffect)(() => {
2808
+ if (address.length === 42) {
2809
+ const reg = /^0x[0-9a-fA-F]{40}$/;
2810
+ if (!reg.test(address)) {
2811
+ setError({
2812
+ ...error,
2813
+ address: intl.formatMessage({
2814
+ id: "tokenAddressError"
2815
+ })
2816
+ });
2817
+ } else {
2818
+ setError({
2819
+ ...error,
2820
+ address: ""
2821
+ });
2822
+ publicClient && getContractInfo();
2823
+ }
2824
+ }
2825
+ }, [address, publicClient]);
2826
+ const [loading, setLoading] = (0, import_react39.useState)(false);
2827
+ const toast = useToast();
2828
+ const queryClient2 = (0, import_react_query7.useQueryClient)();
2829
+ const onImport = async () => {
2830
+ setLoading(true);
2831
+ try {
2832
+ const res = await userImportTokenApi({
2833
+ chain_id: chainId?.toString() || "",
2834
+ symbol,
2835
+ address,
2836
+ decimals
2837
+ });
2838
+ if (isSuccess(res)) {
2839
+ setStatus("success");
2840
+ queryClient2.invalidateQueries({
2841
+ queryKey: [USER_IMPORT_TOKEN_LIST_KEY, token, chainId]
2842
+ });
2843
+ } else {
2844
+ setStatus("fail");
2845
+ toast.error(res.message);
2846
+ }
2847
+ } catch (error2) {
2848
+ setStatus("fail");
2849
+ toast.error(error2.message);
2850
+ } finally {
2851
+ setLoading(false);
2852
+ }
2853
+ };
2854
+ const canImport = (0, import_react39.useMemo)(() => {
2855
+ if (!address) {
2856
+ return false;
2857
+ }
2858
+ if (!symbol) {
2859
+ return false;
2860
+ }
2861
+ if (decimals.length === 0) {
2862
+ return false;
2863
+ }
2864
+ const reg = /^0x[0-9a-fA-F]{40}$/;
2865
+ if (!reg.test(address)) {
2866
+ return false;
2867
+ }
2868
+ return true;
2869
+ }, [error, address, symbol, decimals]);
2870
+ const isContractQuery = useIsContract({
2871
+ //@ts-ignore
2872
+ chain: (0, import_viem12.defineChain)(chain),
2873
+ address,
2874
+ enabled: canImport
2875
+ });
2876
+ if (status == "success" || status == "fail") {
2877
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
2878
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
2879
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: `matchid-import-token-result-img`, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Lottie_default, { animationData: status == "success" ? success_default : fail_default, style: {
2880
+ width: "96px",
2881
+ height: "96px"
2882
+ } }) }),
2883
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_react_intl22.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_react_intl22.FormattedMessage, { id: "importFail" }) })
2884
+ ] }),
2885
+ status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_react_intl22.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_react_intl22.FormattedMessage, { id: "back" }) })
2886
+ ] });
2887
+ }
2888
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: `matchid-import-token`, children: [
2889
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { className: "matchid-import-token-form", children: [
2890
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Field, { label: intl.formatMessage({
2891
+ id: "tokenSmartContract"
2892
+ }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
2893
+ Input,
2894
+ {
2895
+ placeholder: intl.formatMessage({
2896
+ id: "tokenSmartContractPlaceholder"
2897
+ }),
2898
+ value: address,
2899
+ onChange: (e) => setAddress(e.target.value),
2900
+ maxLength: 42
2901
+ }
2902
+ ) }),
2903
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Field, { label: intl.formatMessage({
2904
+ id: "tokenSymbol"
2905
+ }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
2906
+ Input,
2907
+ {
2908
+ placeholder: intl.formatMessage({
2909
+ id: "tokenSymbolPlaceholder"
2910
+ }),
2911
+ value: symbol,
2912
+ onChange: (e) => setSymbol(e.target.value),
2913
+ maxLength: 16
2914
+ }
2915
+ ) }),
2916
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Field, { label: intl.formatMessage({
2917
+ id: "tokenDecimals"
2918
+ }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
2919
+ Input,
2920
+ {
2921
+ placeholder: intl.formatMessage({
2922
+ id: "tokenDecimalsPlaceholder"
2923
+ }),
2924
+ type: "number",
2925
+ value: decimals,
2926
+ onChange: (e) => setDecimals(e.target.value)
2927
+ }
2928
+ ) })
2929
+ ] }),
2930
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
2931
+ Button,
2932
+ {
2933
+ size: "lg",
2934
+ onClick: onImport,
2935
+ block: true,
2936
+ loading: loading || isContractQuery.isLoading,
2937
+ disabled: !canImport || !isContractQuery.data,
2938
+ highlight: true,
2939
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_react_intl22.FormattedMessage, { id: "import" })
2940
+ }
2941
+ )
2942
+ ] });
2943
+ }
2944
+
2945
+ // src/hooks/useMatchWallet.tsx
2946
+ var import_jsx_runtime104 = require("react/jsx-runtime");
2947
+ var ReceiveModal = () => {
2948
+ const chain = useMatchChain();
2949
+ const { address } = useWallet();
2950
+ const [copied, setCopied] = useCopyClipboard();
2951
+ const toast = useToast();
2952
+ const intl = (0, import_react_intl23.useIntl)();
2953
+ const onCopy = () => {
2954
+ setCopied(address);
2955
+ toast.success(intl.formatMessage({
2956
+ id: "copied"
2957
+ }));
2958
+ };
2959
+ const chainLink = chain.explorerLink("address/" + address);
2960
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: `matchid-receive-modal`, children: [
2961
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { className: "matchid-receive-container", children: [
2962
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_intl23.FormattedMessage, { id: "receiveQrcode" }) }),
2963
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
2964
+ import_react_qrcode.QRCode,
2965
+ {
2966
+ margin: "0",
2967
+ className: `matchid-qr-code`,
2968
+ value: address
2969
+ }
2970
+ ) }),
2971
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
2972
+ "a",
2973
+ {
2974
+ href: chainLink,
2975
+ target: "_blank",
2976
+ className: `matchid-receive-link`,
2977
+ children: address
2978
+ }
2979
+ )
2980
+ ] }),
2981
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
2982
+ import_react_intl23.FormattedMessage,
2983
+ {
2984
+ id: "copyAddress"
2985
+ }
2986
+ ) })
2987
+ ] });
2988
+ };
2989
+ function useMatchWallet() {
2990
+ const modal = useModal();
2991
+ const intl = (0, import_react_intl23.useIntl)();
2992
+ const showReceiveModal = () => {
2993
+ modal.open({
2994
+ title: intl.formatMessage({
2995
+ id: "receive"
2996
+ }),
2997
+ content: ReceiveModal
2998
+ });
2999
+ };
3000
+ const showImportTokenModal = () => {
3001
+ modal.open({
3002
+ title: intl.formatMessage({
3003
+ id: "customizedToken"
3004
+ }),
3005
+ content: ImportToken
3006
+ });
3007
+ };
3008
+ const showSendListModal = () => {
3009
+ modal.open({
3010
+ title: intl.formatMessage({
3011
+ id: "send"
3012
+ }),
3013
+ content: TokenSendList
3014
+ });
3015
+ };
3016
+ return {
3017
+ showReceiveModal,
3018
+ showImportTokenModal,
3019
+ showSendListModal
3020
+ };
3021
+ }
3022
+ function useMatchWalletRecords() {
3023
+ const [hasMore, setHasMore] = (0, import_react40.useState)(true);
3024
+ const [items, setItems] = (0, import_react40.useState)([]);
3025
+ const { chainId, publicClient } = useMatchChain();
3026
+ const { address } = useWallet();
3027
+ const hasMoreRef = (0, import_react40.useRef)(hasMore);
3028
+ const nextPageParamsRef = (0, import_react40.useRef)(void 0);
3029
+ const { contracts, setContracts } = useContractStore_default();
3030
+ const fetchMoreData = async () => {
3031
+ const chainIdStr = chainId ? chainId.toString() : "";
3032
+ if (!hasMoreRef.current || !chainIdStr) {
3033
+ return;
3034
+ }
3035
+ const res = await getUserWalletTransactionsApi({
3036
+ chain_id: chainIdStr,
3037
+ ...nextPageParamsRef.current
3038
+ });
3039
+ if (isSuccess(res)) {
3040
+ if (res.data && res.data.transactions && res.data.transactions.length > 0) {
3041
+ setItems(items.concat(res.data.transactions || []));
3042
+ }
3043
+ hasMoreRef.current = res.data && res.data.transactions && res.data.transactions.length >= 50;
3044
+ setHasMore(hasMoreRef.current);
3045
+ nextPageParamsRef.current = res.data?.next_page_params;
3046
+ }
3047
+ };
3048
+ const onInit = async () => {
3049
+ nextPageParamsRef.current = void 0;
3050
+ setItems([]);
3051
+ setHasMore(true);
3052
+ hasMoreRef.current = true;
3053
+ fetchMoreData();
3054
+ };
3055
+ (0, import_react40.useEffect)(() => {
3056
+ if (chainId && address) {
3057
+ onInit();
3058
+ }
3059
+ }, [chainId, address]);
3060
+ const { transactions, removeTransaction } = useTransactionStore_default();
3061
+ const getContractInfoList = async (contractList) => {
3062
+ const contractUnique = Array.from(new Set(contractList)).filter((item) => {
3063
+ const contract = contracts[`${chainId}-${item.toLowerCase()}`];
3064
+ if (!contract) {
3065
+ return true;
3066
+ }
3067
+ if (!contract.symbol && !contract.name) {
3068
+ return true;
3069
+ }
3070
+ if (!contract.decimals) {
3071
+ return true;
3072
+ }
3073
+ return false;
3074
+ });
3075
+ const calls = [];
3076
+ for (const contract of contractUnique) {
3077
+ calls.push({
3078
+ address: contract,
3079
+ abi: import_viem13.erc20Abi,
3080
+ functionName: "symbol",
3081
+ args: []
3082
+ });
3083
+ calls.push({
3084
+ address: contract,
3085
+ abi: import_viem13.erc20Abi,
3086
+ functionName: "decimals",
3087
+ args: []
3088
+ });
3089
+ }
3090
+ const results = await publicClient?.multicall({ contracts: calls });
3091
+ if (results) {
3092
+ console.log("contract results", calls, results);
3093
+ const contractMap = [];
3094
+ for (let i = 0; i < contractUnique.length; i++) {
3095
+ const info = {};
3096
+ if (results[i * 2].status == "success") {
3097
+ info.symbol = results[i * 2].result;
3098
+ }
3099
+ if (results[i * 2 + 1].status == "success") {
3100
+ info.decimals = results[i * 2 + 1].result;
3101
+ }
3102
+ contractMap.push({
3103
+ chainId: chainId || 0,
3104
+ contractAddress: contractUnique[i],
3105
+ info
3106
+ });
3107
+ }
3108
+ setContracts(contractMap);
3109
+ }
3110
+ };
3111
+ const list = (0, import_react40.useMemo)(() => {
3112
+ const localTransactions = transactions[`${chainId}-${address}`] || [];
3113
+ const removeList = localTransactions.filter((n) => items.findIndex((m) => m.hash == n.hash) >= 0);
3114
+ removeList.forEach((item) => {
3115
+ removeTransaction({
3116
+ chainId: chainId || 0,
3117
+ hash: item.hash,
3118
+ address
3119
+ });
3120
+ });
3121
+ const saveList = localTransactions.filter((n) => items.findIndex((m) => m.hash == n.hash) < 0);
3122
+ const list2 = [
3123
+ ...saveList,
3124
+ ...items
3125
+ ].sort((a, b) => {
3126
+ const btimestamp = typeof b.timestamp === "string" ? parseInt(b.timestamp) : b.timestamp;
3127
+ const atimestamp = typeof a.timestamp === "string" ? parseInt(a.timestamp) : a.timestamp;
3128
+ return btimestamp - atimestamp;
3129
+ });
3130
+ const contractList = list2.filter((item) => item.input.toLowerCase().substring(0, 10) == "0xa9059cbb").map((item) => item.to);
3131
+ getContractInfoList(contractList);
3132
+ return list2;
3133
+ }, [transactions, chainId, items, address]);
3134
+ return {
3135
+ items: list,
3136
+ fetchMoreData,
3137
+ hasMore
3138
+ };
3139
+ }
3140
+ function useMatchWalletAssets({
3141
+ importTokenOptions,
3142
+ assetListOptions
3143
+ } = {}) {
3144
+ const { chainId, chain } = useMatchChain();
3145
+ const importTokenQuery = useImportTokenListQuery({
3146
+ chainId: chainId || 0,
3147
+ ...importTokenOptions
3148
+ });
3149
+ const assetListQuery = useAssetListQuery({
3150
+ chainId: chainId || 0,
3151
+ ...assetListOptions
3152
+ });
3153
+ const mergedAssets = (0, import_react40.useMemo)(() => {
3154
+ if (!assetListQuery.data && !importTokenQuery.data) return [];
3155
+ const assetList = (assetListQuery.data || []).map((asset) => ({
3156
+ ...asset,
3157
+ isAuto: true
3158
+ }));
3159
+ const importTokens = (importTokenQuery.data || []).map((token) => ({
3160
+ ...token,
3161
+ isCustom: true
3162
+ }));
3163
+ const assetMap = /* @__PURE__ */ new Map();
3164
+ assetList.forEach((asset) => {
3165
+ const key = `${asset.chain_id}-${asset.address.toLowerCase()}`;
3166
+ assetMap.set(key, asset);
3167
+ });
3168
+ importTokens.forEach((token) => {
3169
+ const key = `${token.chain_id}-${token.address.toLowerCase()}`;
3170
+ if (assetMap.has(key)) {
3171
+ const existing = assetMap.get(key);
3172
+ assetMap.set(key, {
3173
+ ...existing,
3174
+ symbol: token.symbol,
3175
+ decimals: token.decimals,
3176
+ isCustom: true,
3177
+ isAuto: existing.isAuto ?? false
3178
+ });
3179
+ } else {
3180
+ assetMap.set(key, token);
3181
+ }
3182
+ });
3183
+ const list = Array.from(assetMap.values()).sort((a, b) => {
3184
+ return (b.isAuto ? 1 : 0) - (a.isAuto ? 1 : 0);
3185
+ });
3186
+ const nativeToken = list.find((asset) => asset.address.toLowerCase() === NATIVE_TOKEN_ADDRESS.toLowerCase());
3187
+ if (!nativeToken) {
3188
+ list.unshift({
3189
+ chain_id: chain?.id.toString() || "",
3190
+ address: NATIVE_TOKEN_ADDRESS,
3191
+ decimals: chain?.nativeCurrency.decimals || 18,
3192
+ symbol: chain?.nativeCurrency.symbol,
3193
+ name: chain?.nativeCurrency.name,
3194
+ balance: 0,
3195
+ icon: chain?.nativeCurrency.icon
3196
+ });
3197
+ }
3198
+ return list;
3199
+ }, [assetListQuery.data, importTokenQuery.data]);
3200
+ return {
3201
+ importTokenQuery,
3202
+ assetListQuery,
3203
+ mergedAssets
3204
+ };
3205
+ }
3206
+ var MULTICALL_LIMIT = 100;
3207
+ function useMatchWalletAssetList({
3208
+ list
3209
+ }) {
3210
+ const { publicClient, chain } = useMatchChain();
3211
+ const { address } = useWallet();
3212
+ const { assets, setAssets } = useLocalStore_default();
3213
+ const nativeToken = list.find((asset) => asset.address.toLowerCase() === NATIVE_TOKEN_ADDRESS.toLowerCase()) || {
3214
+ chain_id: chain?.id || "",
3215
+ address: NATIVE_TOKEN_ADDRESS,
3216
+ decimals: 18,
3217
+ symbol: chain?.nativeCurrency.symbol,
3218
+ name: chain?.nativeCurrency.name,
3219
+ balance: 0
3220
+ };
3221
+ const nativeBalanceQuery = (0, import_react_query8.useQuery)({
3222
+ queryKey: ["nativeBalance", nativeToken?.chain_id],
3223
+ queryFn: async () => {
3224
+ if (!nativeToken || !publicClient) return null;
3225
+ try {
3226
+ return await publicClient.getBalance({
3227
+ address
3228
+ });
3229
+ } catch (error) {
3230
+ console.error("Native Token Balance Error:", error);
3231
+ return null;
3232
+ }
3233
+ },
3234
+ enabled: !!nativeToken && !!publicClient,
3235
+ refetchInterval: 15e3,
3236
+ // Refresh every 15 seconds
3237
+ retry: 3
3238
+ // Retry up to 3 times if failed
3239
+ });
3240
+ const erc20Tokens = (0, import_react40.useMemo)(() => list.filter((asset) => asset.address !== NATIVE_TOKEN_ADDRESS), [list]);
3241
+ const erc20BalanceQuery = (0, import_react_query8.useQuery)({
3242
+ queryKey: ["erc20Balances", erc20Tokens.map((token) => token.address)],
3243
+ queryFn: async () => {
3244
+ if (!erc20Tokens.length || !publicClient) return [];
3245
+ const calls = erc20Tokens.map((token) => ({
3246
+ address: token.address,
3247
+ abi: import_viem13.erc20Abi,
3248
+ functionName: "balanceOf",
3249
+ args: [address]
3250
+ }));
3251
+ let balances = [];
3252
+ for (let i = 0; i < calls.length; i += MULTICALL_LIMIT) {
3253
+ const batchCalls = calls.slice(i, i + MULTICALL_LIMIT);
3254
+ try {
3255
+ const results = await publicClient.multicall({ contracts: batchCalls });
3256
+ balances.push(...results);
3257
+ } catch (error) {
3258
+ console.error("MultiCall Error:", error);
3259
+ }
3260
+ }
3261
+ return balances;
3262
+ },
3263
+ enabled: !!publicClient,
3264
+ refetchInterval: 15e3,
3265
+ // Refresh every 15 seconds
3266
+ retry: 3
3267
+ });
3268
+ const enrichedAssets = (0, import_react40.useMemo)(() => {
3269
+ if (!list) return [];
3270
+ const erc20Balances = erc20BalanceQuery.data || [];
3271
+ return list.map((asset) => {
3272
+ let balanceValue = "0";
3273
+ let balance = 0;
3274
+ const decimals = typeof asset.decimals === "string" ? parseInt(asset.decimals) : asset.decimals;
3275
+ const assetAddress = asset.address.toLowerCase();
3276
+ if (assetAddress === NATIVE_TOKEN_ADDRESS) {
3277
+ balanceValue = nativeBalanceQuery.data?.toString() || "0";
3278
+ balance = nativeBalanceQuery.data ? Number((0, import_viem13.formatUnits)(nativeBalanceQuery.data, decimals)) : 0;
3279
+ } else {
3280
+ const index = erc20Tokens.findIndex((t) => t.address.toLowerCase() === assetAddress);
3281
+ if (index !== -1 && erc20Balances[index] && erc20Balances[index].status === "success") {
3282
+ balance = Number((0, import_viem13.formatUnits)(erc20Balances[index].result, decimals));
3283
+ balanceValue = erc20Balances[index].result?.toString() || "0";
3284
+ }
3285
+ }
3286
+ const value = asset.isAuto ? balance * (asset.price || 0) : 0;
3287
+ return { ...asset, balance, value, balanceValue };
3288
+ });
3289
+ }, [list, nativeBalanceQuery.data, erc20BalanceQuery.data]);
3290
+ (0, import_react40.useEffect)(() => {
3291
+ const list2 = enrichedAssets.sort((a, b) => {
3292
+ if (a.address === NATIVE_TOKEN_ADDRESS) return -1;
3293
+ if (b.address === NATIVE_TOKEN_ADDRESS) return 1;
3294
+ if (a.isAuto && b.isAuto) return b.value - a.value;
3295
+ if (a.isAuto) return -1;
3296
+ if (b.isAuto) return 1;
3297
+ if (a.isCustom && !a.isAuto && a.balance > 0) return -1;
3298
+ if (b.isCustom && !b.isAuto && b.balance > 0) return 1;
3299
+ return 0;
3300
+ });
3301
+ setAssets(list2);
3302
+ }, [enrichedAssets]);
3303
+ return {
3304
+ list: assets,
3305
+ isLoading: nativeBalanceQuery.isLoading || erc20BalanceQuery.isLoading,
3306
+ isFetched: nativeBalanceQuery.isFetched && erc20BalanceQuery.isFetched,
3307
+ nativeBalanceQuery,
3308
+ erc20BalanceQuery,
3309
+ nativeBalance: nativeBalanceQuery.data,
3310
+ erc20Balances: erc20BalanceQuery.data
3311
+ };
3312
+ }
3313
+
3314
+ // src/hooks/useReceipt.tsx
3315
+ var import_react41 = require("react");
3316
+ var import_react_query9 = require("@tanstack/react-query");
3317
+ var import_viem14 = require("viem");
3318
+ var CACHE_TTL = 86400 * 30 * 1e3;
3319
+ var MAX_CACHE_SIZE = 500;
3320
+ var STORAGE_KEY = "match_receipt_logs";
3321
+ function useReceiptCache() {
3322
+ const [cache, setCache] = (0, import_react41.useState)(/* @__PURE__ */ new Map());
3323
+ const isLocalStorageAvailable = (() => {
3324
+ try {
3325
+ const testKey = "__test__";
3326
+ localStorage.setItem(testKey, "1");
3327
+ localStorage.removeItem(testKey);
3328
+ return true;
3329
+ } catch (e) {
3330
+ return false;
3331
+ }
3332
+ })();
3333
+ (0, import_react41.useEffect)(() => {
3334
+ if (isLocalStorageAvailable) {
3335
+ try {
3336
+ const storedData = localStorage.getItem(STORAGE_KEY);
3337
+ if (storedData) {
3338
+ try {
3339
+ const parsed = JSON.parse(storedData);
3340
+ const now = Date.now();
3341
+ const validEntries = Object.entries(parsed).filter(([_, entry]) => typeof entry === "object" && entry !== null && "timestamp" in entry && now - entry.timestamp <= CACHE_TTL).map(([key, entry]) => [key, entry]);
3342
+ setCache(new Map(validEntries));
3343
+ } catch (e) {
3344
+ console.error("Failed to parse cache from localStorage:", e);
3345
+ }
3346
+ }
3347
+ } catch (e) {
3348
+ console.error("Failed to load cache from localStorage:", e);
3349
+ }
3350
+ }
3351
+ }, []);
3352
+ const updateLocalStorage = (0, import_react41.useCallback)((updatedCache) => {
3353
+ if (isLocalStorageAvailable) {
3354
+ try {
3355
+ const storedData = localStorage.getItem(STORAGE_KEY);
3356
+ let parsed = {};
3357
+ if (storedData) {
3358
+ parsed = JSON.parse(storedData);
3359
+ }
3360
+ updatedCache.forEach((entry, key) => {
3361
+ parsed[key] = entry;
3362
+ });
3363
+ localStorage.setItem(STORAGE_KEY, JSON.stringify(parsed));
3364
+ } catch (e) {
3365
+ console.error("Failed to update localStorage:", e);
3366
+ }
3367
+ }
3368
+ }, []);
3369
+ const set = (0, import_react41.useCallback)((key, value) => {
3370
+ const now = Date.now();
3371
+ const newCache = new Map(cache);
3372
+ newCache.forEach((entry, k) => {
3373
+ if (now - entry.timestamp > CACHE_TTL) {
3374
+ newCache.delete(k);
3375
+ }
3376
+ });
3377
+ if (newCache.size >= MAX_CACHE_SIZE) {
3378
+ const firstKey = newCache.keys().next().value;
3379
+ if (firstKey !== void 0) {
3380
+ newCache.delete(firstKey);
3381
+ }
3382
+ }
3383
+ newCache.set(key, { value, timestamp: now });
3384
+ setCache(newCache);
3385
+ updateLocalStorage(newCache);
3386
+ }, [cache, updateLocalStorage]);
3387
+ const get = (0, import_react41.useCallback)((key) => {
3388
+ const entry = cache.get(key);
3389
+ if (entry) {
3390
+ if (Date.now() - entry.timestamp > CACHE_TTL) {
3391
+ const newCache = new Map(cache);
3392
+ newCache.delete(key);
3393
+ setCache(newCache);
3394
+ updateLocalStorage(newCache);
3395
+ return void 0;
3396
+ }
3397
+ return entry.value;
3398
+ }
3399
+ return void 0;
3400
+ }, [cache, updateLocalStorage]);
3401
+ const del = (0, import_react41.useCallback)((key) => {
3402
+ if (cache.has(key)) {
3403
+ const newCache = new Map(cache);
3404
+ newCache.delete(key);
3405
+ setCache(newCache);
3406
+ updateLocalStorage(newCache);
3407
+ }
3408
+ }, [cache, updateLocalStorage]);
3409
+ const clear = (0, import_react41.useCallback)(() => {
3410
+ setCache(/* @__PURE__ */ new Map());
3411
+ if (isLocalStorageAvailable) {
3412
+ localStorage.removeItem(STORAGE_KEY);
3413
+ }
3414
+ }, [isLocalStorageAvailable]);
3415
+ return { set, get, del, clear };
3416
+ }
3417
+ function useReceipt2({
3418
+ chainId,
3419
+ hash
3420
+ }) {
3421
+ const { list } = useMatchChain();
3422
+ const cache = useReceiptCache();
3423
+ const chain = list?.find((item) => item.id === chainId);
3424
+ const [shouldRefetch, setShouldRefetch] = (0, import_react41.useState)(true);
3425
+ const query = (0, import_react_query9.useQuery)({
3426
+ queryKey: ["match-tx-receipt", hash, chain],
3427
+ queryFn: async () => {
3428
+ if (!chain || !hash) return false;
3429
+ const cacheKey = `${chain.id}-${hash}`;
3430
+ if (cache.get(cacheKey)) {
3431
+ return cache.get(cacheKey);
3432
+ }
3433
+ try {
3434
+ const publicClient = (0, import_viem14.createPublicClient)({
3435
+ chain: (0, import_viem14.defineChain)(chain),
3436
+ transport: (0, import_viem14.http)()
3437
+ });
3438
+ const receipt = await publicClient.getTransactionReceipt({ hash });
3439
+ if (!receipt) {
3440
+ return false;
3441
+ }
3442
+ cache.set(cacheKey, receipt);
3443
+ return receipt;
3444
+ } catch (e) {
3445
+ return false;
3446
+ }
3447
+ },
3448
+ refetchInterval: shouldRefetch ? 1e4 : false
3449
+ });
3450
+ (0, import_react41.useEffect)(() => {
3451
+ if (query.data) {
3452
+ setShouldRefetch(false);
3453
+ }
3454
+ }, [query.data]);
3455
+ return query;
3456
+ }
3457
+
3458
+ // src/hooks/useTransaction.tsx
3459
+ var import_react42 = require("react");
3460
+ var import_react_query10 = require("@tanstack/react-query");
3461
+ var import_viem15 = require("viem");
3462
+ var CACHE_TTL2 = 86400 * 30 * 1e3;
3463
+ var MAX_CACHE_SIZE2 = 500;
3464
+ var STORAGE_KEY2 = "match_transaction_logs";
3465
+ function useTransactionCache() {
3466
+ const [cache, setCache] = (0, import_react42.useState)(/* @__PURE__ */ new Map());
3467
+ const isLocalStorageAvailable = (() => {
3468
+ try {
3469
+ const testKey = "__test__";
3470
+ localStorage.setItem(testKey, "1");
3471
+ localStorage.removeItem(testKey);
3472
+ return true;
3473
+ } catch (e) {
3474
+ return false;
3475
+ }
3476
+ })();
3477
+ (0, import_react42.useEffect)(() => {
3478
+ if (isLocalStorageAvailable) {
3479
+ try {
3480
+ const storedData = localStorage.getItem(STORAGE_KEY2);
3481
+ if (storedData) {
3482
+ try {
3483
+ const parsed = JSON.parse(storedData);
3484
+ const now = Date.now();
3485
+ const validEntries = Object.entries(parsed).filter(([_, entry]) => typeof entry === "object" && entry !== null && "timestamp" in entry && now - entry.timestamp <= CACHE_TTL2).map(([key, entry]) => [key, entry]);
3486
+ setCache(new Map(validEntries));
3487
+ } catch (e) {
3488
+ console.error("Failed to parse cache from localStorage:", e);
3489
+ }
3490
+ }
3491
+ } catch (e) {
3492
+ console.error("Failed to load cache from localStorage:", e);
3493
+ }
3494
+ }
3495
+ }, []);
3496
+ const updateLocalStorage = (0, import_react42.useCallback)((updatedCache) => {
3497
+ if (isLocalStorageAvailable) {
3498
+ try {
3499
+ const storedData = localStorage.getItem(STORAGE_KEY2);
3500
+ let parsed = {};
3501
+ if (storedData) {
3502
+ parsed = JSON.parse(storedData);
3503
+ }
3504
+ updatedCache.forEach((entry, key) => {
3505
+ parsed[key] = entry;
3506
+ });
3507
+ localStorage.setItem(STORAGE_KEY2, JSON.stringify(parsed));
3508
+ } catch (e) {
3509
+ console.error("Failed to update localStorage:", e);
3510
+ }
3511
+ }
3512
+ }, []);
3513
+ const set = (0, import_react42.useCallback)((key, value) => {
3514
+ const now = Date.now();
3515
+ const newCache = new Map(cache);
3516
+ newCache.forEach((entry, k) => {
3517
+ if (now - entry.timestamp > CACHE_TTL2) {
3518
+ newCache.delete(k);
3519
+ }
3520
+ });
3521
+ if (newCache.size >= MAX_CACHE_SIZE2) {
3522
+ const firstKey = newCache.keys().next().value;
3523
+ if (firstKey !== void 0) {
3524
+ newCache.delete(firstKey);
3525
+ }
3526
+ }
3527
+ newCache.set(key, { value, timestamp: now });
3528
+ setCache(newCache);
3529
+ updateLocalStorage(newCache);
3530
+ }, [cache, updateLocalStorage]);
3531
+ const get = (0, import_react42.useCallback)((key) => {
3532
+ const entry = cache.get(key);
3533
+ if (entry) {
3534
+ if (Date.now() - entry.timestamp > CACHE_TTL2) {
3535
+ const newCache = new Map(cache);
3536
+ newCache.delete(key);
3537
+ setCache(newCache);
3538
+ updateLocalStorage(newCache);
3539
+ return void 0;
3540
+ }
3541
+ return entry.value;
3542
+ }
3543
+ return void 0;
3544
+ }, [cache, updateLocalStorage]);
3545
+ const del = (0, import_react42.useCallback)((key) => {
3546
+ if (cache.has(key)) {
3547
+ const newCache = new Map(cache);
3548
+ newCache.delete(key);
3549
+ setCache(newCache);
3550
+ updateLocalStorage(newCache);
3551
+ }
3552
+ }, [cache, updateLocalStorage]);
3553
+ const clear = (0, import_react42.useCallback)(() => {
3554
+ setCache(/* @__PURE__ */ new Map());
3555
+ if (isLocalStorageAvailable) {
3556
+ localStorage.removeItem(STORAGE_KEY2);
3557
+ }
3558
+ }, [isLocalStorageAvailable]);
3559
+ return { set, get, del, clear };
3560
+ }
3561
+ function useTransaction({
3562
+ chainId,
3563
+ hash
3564
+ }) {
3565
+ const { list } = useMatchChain();
3566
+ const cache = useTransactionCache();
3567
+ const chain = list?.find((item) => item.id === chainId);
3568
+ const [shouldRefetch, setShouldRefetch] = (0, import_react42.useState)(true);
3569
+ const query = (0, import_react_query10.useQuery)({
3570
+ queryKey: ["match-tx-transaction", hash, chain],
3571
+ queryFn: async () => {
3572
+ if (!chain || !hash) return false;
3573
+ const cacheKey = `${chain.id}-${hash}`;
3574
+ if (cache.get(cacheKey)) {
3575
+ return cache.get(cacheKey);
3576
+ }
3577
+ try {
3578
+ const publicClient = (0, import_viem15.createPublicClient)({
3579
+ chain: (0, import_viem15.defineChain)(chain),
3580
+ transport: (0, import_viem15.http)()
3581
+ });
3582
+ const transaction = await publicClient.getTransaction({ hash });
3583
+ if (!transaction) {
3584
+ return false;
3585
+ }
3586
+ cache.set(cacheKey, transaction);
3587
+ return transaction;
3588
+ } catch (e) {
3589
+ return false;
3590
+ }
3591
+ },
3592
+ refetchInterval: shouldRefetch ? 1e4 : false
3593
+ });
3594
+ (0, import_react42.useEffect)(() => {
3595
+ if (query.data) {
3596
+ setShouldRefetch(false);
3597
+ }
3598
+ }, [query.data]);
3599
+ return query;
3600
+ }
3601
+ // Annotate the CommonJS export names for ESM import in node:
3602
+ 0 && (module.exports = {
3603
+ useCopyClipboard,
3604
+ useHash,
3605
+ useLayout,
3606
+ useMatchChain,
3607
+ useMatchEvents,
3608
+ useMatchWallet,
3609
+ useMatchWalletAssetList,
3610
+ useMatchWalletAssets,
3611
+ useMatchWalletRecords,
3612
+ useModal,
3613
+ useReceipt,
3614
+ useToast,
3615
+ useTransaction,
3616
+ useUserInfo,
3617
+ useWallet
3618
+ });
3619
+ //# sourceMappingURL=hooks.js.map