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

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 (108) hide show
  1. package/example/package.json +1 -2
  2. package/example/src/pages/Wallet/index.tsx +90 -88
  3. package/example/yarn.lock +2251 -27
  4. package/package.json +7 -4
  5. package/dist/api.d.mts +0 -6
  6. package/dist/api.d.ts +0 -6
  7. package/dist/api.js +0 -1721
  8. package/dist/api.js.map +0 -1
  9. package/dist/api.mjs +0 -23
  10. package/dist/api.mjs.map +0 -1
  11. package/dist/assets/lottie.d.mts +0 -1
  12. package/dist/assets/lottie.d.ts +0 -1
  13. package/dist/assets/lottie.js +0 -68
  14. package/dist/assets/lottie.js.map +0 -1
  15. package/dist/assets/lottie.mjs +0 -22
  16. package/dist/assets/lottie.mjs.map +0 -1
  17. package/dist/chains.d.mts +0 -2
  18. package/dist/chains.d.ts +0 -2
  19. package/dist/chains.js +0 -94
  20. package/dist/chains.js.map +0 -1
  21. package/dist/chains.mjs +0 -11
  22. package/dist/chains.mjs.map +0 -1
  23. package/dist/chunk-3CR66BEX.mjs +0 -19
  24. package/dist/chunk-3CR66BEX.mjs.map +0 -1
  25. package/dist/chunk-GD7URBBZ.mjs +0 -1399
  26. package/dist/chunk-GD7URBBZ.mjs.map +0 -1
  27. package/dist/chunk-HBOS3RBL.mjs +0 -19
  28. package/dist/chunk-HBOS3RBL.mjs.map +0 -1
  29. package/dist/chunk-IZOOVZAD.mjs +0 -145
  30. package/dist/chunk-IZOOVZAD.mjs.map +0 -1
  31. package/dist/chunk-J5LGTIGS.mjs +0 -10
  32. package/dist/chunk-J5LGTIGS.mjs.map +0 -1
  33. package/dist/chunk-JX73EY6V.mjs +0 -67
  34. package/dist/chunk-JX73EY6V.mjs.map +0 -1
  35. package/dist/chunk-KFB23MLQ.mjs +0 -7666
  36. package/dist/chunk-KFB23MLQ.mjs.map +0 -1
  37. package/dist/chunk-NYE6DBEZ.mjs +0 -97
  38. package/dist/chunk-NYE6DBEZ.mjs.map +0 -1
  39. package/dist/chunk-UA6XHZHX.mjs +0 -17
  40. package/dist/chunk-UA6XHZHX.mjs.map +0 -1
  41. package/dist/chunk-XM6CYEXN.mjs +0 -53
  42. package/dist/chunk-XM6CYEXN.mjs.map +0 -1
  43. package/dist/components.d.mts +0 -6
  44. package/dist/components.d.ts +0 -6
  45. package/dist/components.js +0 -6494
  46. package/dist/components.js.map +0 -1
  47. package/dist/components.mjs +0 -57
  48. package/dist/components.mjs.map +0 -1
  49. package/dist/hooks.d.mts +0 -13
  50. package/dist/hooks.d.ts +0 -13
  51. package/dist/hooks.js +0 -3612
  52. package/dist/hooks.js.map +0 -1
  53. package/dist/hooks.mjs +0 -41
  54. package/dist/hooks.mjs.map +0 -1
  55. package/dist/icon.d.mts +0 -5
  56. package/dist/icon.d.ts +0 -5
  57. package/dist/icon.js +0 -1414
  58. package/dist/icon.js.map +0 -1
  59. package/dist/icon.mjs +0 -112
  60. package/dist/icon.mjs.map +0 -1
  61. package/dist/index-B50DU_xT.d.mts +0 -83
  62. package/dist/index-B50DU_xT.d.ts +0 -83
  63. package/dist/index-BcuSCgol.d.ts +0 -111
  64. package/dist/index-BlMLqmS2.d.mts +0 -3341
  65. package/dist/index-C1Nyy5zx.d.ts +0 -3341
  66. package/dist/index-CBcBTQyU.d.mts +0 -66
  67. package/dist/index-CD0dACxf.d.mts +0 -111
  68. package/dist/index-CER00guz.d.mts +0 -132
  69. package/dist/index-CHgaOUiW.d.mts +0 -52590
  70. package/dist/index-CHgaOUiW.d.ts +0 -52590
  71. package/dist/index-CjekOYJl.d.mts +0 -38
  72. package/dist/index-DN-jrh8-.d.ts +0 -213
  73. package/dist/index-DdN22cwf.d.ts +0 -38
  74. package/dist/index-DkIIQLbh.d.ts +0 -92
  75. package/dist/index-DlaCsN95.d.ts +0 -66
  76. package/dist/index-lh6qBAf_.d.mts +0 -92
  77. package/dist/index-o0WW1c5O.d.ts +0 -132
  78. package/dist/index-xThRnNN3.d.mts +0 -213
  79. package/dist/index.css +0 -2131
  80. package/dist/index.d.mts +0 -789
  81. package/dist/index.d.ts +0 -789
  82. package/dist/index.js +0 -9206
  83. package/dist/index.js.map +0 -1
  84. package/dist/index.mjs +0 -45
  85. package/dist/index.mjs.map +0 -1
  86. package/dist/request-B0CyrGFT.d.mts +0 -15
  87. package/dist/request-B0CyrGFT.d.ts +0 -15
  88. package/dist/types-CheN9vHJ.d.mts +0 -428
  89. package/dist/types-CheN9vHJ.d.ts +0 -428
  90. package/dist/types.d.mts +0 -3
  91. package/dist/types.d.ts +0 -3
  92. package/dist/types.js +0 -44
  93. package/dist/types.js.map +0 -1
  94. package/dist/types.mjs +0 -11
  95. package/dist/types.mjs.map +0 -1
  96. package/dist/ui.d.mts +0 -7
  97. package/dist/ui.d.ts +0 -7
  98. package/dist/ui.js +0 -1682
  99. package/dist/ui.js.map +0 -1
  100. package/dist/ui.mjs +0 -47
  101. package/dist/ui.mjs.map +0 -1
  102. package/dist/utils.d.mts +0 -28
  103. package/dist/utils.d.ts +0 -28
  104. package/dist/utils.js +0 -192
  105. package/dist/utils.js.map +0 -1
  106. package/dist/utils.mjs +0 -34
  107. package/dist/utils.mjs.map +0 -1
  108. package/example/package-lock.json +0 -2965
package/dist/hooks.js DELETED
@@ -1,3612 +0,0 @@
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/hooks/useLayout.tsx
656
- var useLayout_exports = {};
657
- __export(useLayout_exports, {
658
- useDownMd: () => useDownMd
659
- });
660
- var import_react = require("react");
661
- function useDownMd() {
662
- const [isBelowMd, setIsBelowMd] = (0, import_react.useState)(window.matchMedia("(max-width: 767px)").matches);
663
- (0, import_react.useEffect)(() => {
664
- const handleResize = () => {
665
- setIsBelowMd(window.matchMedia("(max-width: 767px)").matches);
666
- };
667
- window.addEventListener("resize", handleResize);
668
- return () => {
669
- window.removeEventListener("resize", handleResize);
670
- };
671
- }, []);
672
- return isBelowMd;
673
- }
674
-
675
- // src/hooks/useConfig.tsx
676
- var import_jsx_runtime54 = require("react/jsx-runtime");
677
- var DEFAULT_WALLET_METHODS = ["evm", "sol", "btc", "tron", "ton"];
678
-
679
- // src/store/useModalStore.ts
680
- var useTRONModalStore = (0, import_zustand2.create)((set) => ({
681
- isOpen: false,
682
- type: "",
683
- open: (type) => set({ isOpen: true, type }),
684
- close: () => set({ isOpen: false })
685
- }));
686
- var useTONModalStore = (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 useBTCModalStore = (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 useEVMModalStore = (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 useCEXBindModalStore = (0, import_zustand2.create)((set) => ({
705
- type: "",
706
- isOpen: false,
707
- open: (type) => set({ isOpen: true, type }),
708
- close: () => set({ isOpen: false })
709
- }));
710
- var useWalletModalStore = (0, import_zustand2.create)((set) => ({
711
- isOpen: false,
712
- type: "",
713
- methods: [],
714
- open: (type, methods = DEFAULT_WALLET_METHODS) => set({ isOpen: true, type, methods }),
715
- close: () => set({ isOpen: false })
716
- }));
717
-
718
- // src/components/EmailModal/index.tsx
719
- var import_react7 = require("react");
720
-
721
- // src/ui/Modal/index.tsx
722
- var import_react3 = require("react");
723
-
724
- // src/ui/Overlay/index.tsx
725
- var import_react2 = require("react");
726
- var import_jsx_runtime55 = require("react/jsx-runtime");
727
- function Overlay({
728
- isOpen = false,
729
- children,
730
- zIndex = 100
731
- }) {
732
- (0, import_react2.useEffect)(() => {
733
- if (isOpen) {
734
- document.body.style.overflow = "hidden";
735
- } else {
736
- document.body.style.overflow = "";
737
- }
738
- return () => {
739
- document.body.style.overflow = "";
740
- };
741
- }, [isOpen]);
742
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
743
- "div",
744
- {
745
- className: "matchid-overlay",
746
- style: {
747
- zIndex
748
- },
749
- children
750
- }
751
- ) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, {});
752
- }
753
-
754
- // src/ui/Modal/index.tsx
755
- var import_react_intl = require("react-intl");
756
- var import_jsx_runtime56 = require("react/jsx-runtime");
757
- function Modal({
758
- children,
759
- isOpen,
760
- width = 480,
761
- zIndex = 100,
762
- className = ""
763
- }) {
764
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `matchid-modal ${className}`, style: {
765
- width
766
- }, children: [
767
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "matchid-modal-mobile-header" }),
768
- children
769
- ] }) });
770
- }
771
- function ModalWithHeader({
772
- children,
773
- onBack,
774
- onClose,
775
- title,
776
- showBorder = true,
777
- showClose = true,
778
- ...props
779
- }) {
780
- const isDownMd = useDownMd();
781
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Modal, { ...props, children: [
782
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
783
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "matchid-modal-header-content", children: [
784
- onBack && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
785
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "matchid-modal-header-title", children: title })
786
- ] }),
787
- onClose && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
788
- ] }),
789
- children
790
- ] });
791
- }
792
-
793
- // src/components/EmailModal/StepEmail.tsx
794
- var import_react5 = require("react");
795
-
796
- // src/utils/index.tsx
797
- var import_moment = __toESM(require("moment"));
798
- var import_jsx_runtime57 = require("react/jsx-runtime");
799
- var getVersion = () => {
800
- return "0.0.2";
801
- };
802
- function encodeBase64(input) {
803
- return btoa(unescape(encodeURIComponent(input)));
804
- }
805
- function getAppClientId() {
806
- return "react-sdk-" + getVersion();
807
- }
808
- function convertScientificToDecimal(num) {
809
- let str = num.toFixed(12);
810
- str = str.replace(/0+$/, "");
811
- str = str.replace(/\.$/, "");
812
- return str;
813
- }
814
- var NumberFormatter = ({
815
- value,
816
- prefix = "",
817
- suffix = "",
818
- separator = true,
819
- fixNum = 2,
820
- tFixNum = 4,
821
- intClassName = "",
822
- decimalClassName = "",
823
- prefixClassName = "",
824
- className = ""
825
- }) => {
826
- const numberValue = typeof value === "number" ? convertScientificToDecimal(value) : value ? value : "0";
827
- const [intPart, decimalPart] = numberValue.toString().split(".");
828
- const intFormat = separator ? intPart.replace(/\B(?=(\d{3})+(?!\d))/g, ",") : intPart;
829
- if (Math.abs(parseFloat(numberValue)) >= 1) {
830
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className, children: [
831
- prefix && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: prefixClassName, children: prefix }),
832
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: intClassName, children: intFormat }),
833
- decimalPart ? /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className: decimalClassName, children: [
834
- ".",
835
- decimalPart.substring(0, fixNum)
836
- ] }) : "",
837
- suffix
838
- ] });
839
- }
840
- if (decimalPart) {
841
- let zeroCount = 0;
842
- for (let i = 0; i < decimalPart.length; i++) {
843
- if (decimalPart[i] === "0") {
844
- zeroCount++;
845
- } else {
846
- break;
847
- }
848
- }
849
- if (zeroCount < tFixNum) {
850
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className, children: [
851
- prefix && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: prefixClassName, children: prefix }),
852
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: intClassName, children: intFormat }),
853
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className: decimalClassName, children: [
854
- ".",
855
- decimalPart.substring(0, tFixNum)
856
- ] }),
857
- suffix
858
- ] });
859
- }
860
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className, children: [
861
- prefix && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: prefixClassName, children: prefix }),
862
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: intClassName, children: intFormat }),
863
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className: decimalClassName, children: [
864
- ".0",
865
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("sub", { children: zeroCount }),
866
- decimalPart?.substring(zeroCount, zeroCount + tFixNum - 2)
867
- ] }),
868
- suffix
869
- ] });
870
- }
871
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { className, children: [
872
- prefix && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: prefixClassName, children: prefix }),
873
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: intClassName, children: intPart }),
874
- suffix
875
- ] });
876
- };
877
- var isInTgApp = () => {
878
- return !!window.TelegramWebviewProxy;
879
- };
880
-
881
- // src/ui/Button/index.tsx
882
- var import_jsx_runtime58 = require("react/jsx-runtime");
883
- function Button({
884
- size = "df",
885
- disabled = false,
886
- loading = false,
887
- children,
888
- onClick,
889
- highlight = false,
890
- block = false,
891
- type = "button",
892
- rounded = true,
893
- className = "",
894
- style = {},
895
- dataset = {}
896
- }) {
897
- const onAction = () => {
898
- if (!disabled && !loading) {
899
- onClick && onClick();
900
- }
901
- };
902
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
903
- "button",
904
- {
905
- type,
906
- className: `${className} matchid-btn ${"matchid-btn-" + size} ${highlight ? "matchid-btn-highlight" : ""} ${loading ? "matchid-btn-loading" : ""} ${block ? "matchid-btn-block" : ""} ${rounded ? "matchid-btn-rounded" : ""}`,
907
- disabled: disabled || loading,
908
- style: {
909
- ...style
910
- },
911
- onClick: onAction,
912
- ...dataset,
913
- children: loading ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
914
- }
915
- );
916
- }
917
-
918
- // src/ui/Input/index.tsx
919
- var import_react4 = require("react");
920
- var import_jsx_runtime59 = require("react/jsx-runtime");
921
- function Input({
922
- onChange,
923
- type,
924
- after,
925
- showLength = false,
926
- showClear = true,
927
- className = "",
928
- rows = 1,
929
- maxRows = 4,
930
- children,
931
- ...props
932
- }) {
933
- const [inputType, setInputType] = (0, import_react4.useState)(type);
934
- const isDownMd = useDownMd();
935
- const textareaRef = (0, import_react4.useRef)(null);
936
- (0, import_react4.useEffect)(() => {
937
- const textarea = textareaRef.current;
938
- if (textarea) {
939
- textarea.style.height = "auto";
940
- const lineHeight = 24;
941
- const maxHeight = lineHeight * 4;
942
- textarea.style.height = Math.min(textarea.scrollHeight, maxHeight) + "px";
943
- }
944
- }, [props.value]);
945
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
946
- "div",
947
- {
948
- className: `matchid-input-box matchid-input-${type} ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
949
- style: {
950
- // @ts-ignore
951
- "--max-rows": maxRows
952
- },
953
- children: [
954
- children ?? (type == "textarea" ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("textarea", { rows: 1, onChange, ...props, className: "matchid-input-field", ref: textareaRef, style: {
955
- maxHeight: maxRows * 24 + "px"
956
- } }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" })),
957
- type != "textarea" && showClear && props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
958
- if (onChange) {
959
- onChange({ target: { value: "" } });
960
- }
961
- }, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
962
- DeleteRoundIcon,
963
- {
964
- height: isDownMd ? 16 : 21,
965
- width: isDownMd ? 16 : 20,
966
- color: "var(--matchid-input-delete-icon-color)"
967
- }
968
- ) }),
969
- type === "password" && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
970
- setInputType(inputType === "password" ? "text" : "password");
971
- }, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
972
- showLength && props.maxLength && /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: `matchid-input-length`, children: [
973
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("span", { children: [
974
- props.value?.length || 0,
975
- "/",
976
- props.maxLength
977
- ] }),
978
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(InputLengthIcon, { color: "var(--icon-color)" })
979
- ] }),
980
- after
981
- ]
982
- }
983
- );
984
- }
985
-
986
- // src/ui/Field/index.tsx
987
- var import_jsx_runtime60 = require("react/jsx-runtime");
988
- function Field({
989
- label,
990
- children,
991
- error,
992
- required,
993
- className = ""
994
- }) {
995
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
996
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "matchid-field-label", children: [
997
- required && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "matchid-field-required", children: "*" }),
998
- label
999
- ] }),
1000
- children,
1001
- error && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "matchid-field-error", children: error })
1002
- ] });
1003
- }
1004
-
1005
- // src/components/EmailModal/StepEmail.tsx
1006
- var import_react_intl2 = require("react-intl");
1007
- var import_jsx_runtime61 = require("react/jsx-runtime");
1008
-
1009
- // src/components/EmailModal/StepVerify.tsx
1010
- var import_react6 = require("react");
1011
-
1012
- // src/config/index.tsx
1013
- var NATIVE_TOKEN_ADDRESS = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
1014
-
1015
- // src/components/EmailModal/StepVerify.tsx
1016
- var import_react_intl3 = require("react-intl");
1017
- var import_jsx_runtime62 = require("react/jsx-runtime");
1018
-
1019
- // src/components/EmailModal/index.tsx
1020
- var import_react_intl4 = require("react-intl");
1021
- var import_jsx_runtime63 = require("react/jsx-runtime");
1022
-
1023
- // src/ui/Popover/index.tsx
1024
- var import_react8 = require("react");
1025
- var import_jsx_runtime64 = require("react/jsx-runtime");
1026
-
1027
- // src/components/LoginBox/index.tsx
1028
- var import_react9 = require("react");
1029
- var import_react_intl5 = require("react-intl");
1030
-
1031
- // src/hooks/useAppConfig.ts
1032
- var import_react_query = require("@tanstack/react-query");
1033
-
1034
- // src/components/LoginBox/index.tsx
1035
- var import_jsx_runtime65 = require("react/jsx-runtime");
1036
-
1037
- // src/components/LoginButton/index.tsx
1038
- var import_react11 = require("react");
1039
-
1040
- // src/components/LoginPanel/index.tsx
1041
- var import_react_intl6 = require("react-intl");
1042
- var import_jsx_runtime66 = require("react/jsx-runtime");
1043
-
1044
- // src/components/LoginModal/index.tsx
1045
- var import_jsx_runtime67 = require("react/jsx-runtime");
1046
-
1047
- // src/components/UserPopover/index.tsx
1048
- var import_react10 = require("react");
1049
-
1050
- // src/assets/icon/ProfileIcon.tsx
1051
- var import_jsx_runtime68 = require("react/jsx-runtime");
1052
-
1053
- // src/components/UserPopover/index.tsx
1054
- var import_react_intl7 = require("react-intl");
1055
- var import_jsx_runtime69 = require("react/jsx-runtime");
1056
-
1057
- // src/components/LoginButton/index.tsx
1058
- var import_react_intl8 = require("react-intl");
1059
- var import_jsx_runtime70 = require("react/jsx-runtime");
1060
-
1061
- // src/components/UsernameModal/index.tsx
1062
- var import_react12 = require("react");
1063
- var import_react_intl9 = require("react-intl");
1064
- var import_jsx_runtime71 = require("react/jsx-runtime");
1065
-
1066
- // src/ui/Drawer/index.tsx
1067
- var import_jsx_runtime72 = require("react/jsx-runtime");
1068
- function Drawer({
1069
- children,
1070
- showClose = true,
1071
- onClose,
1072
- isOpen = false,
1073
- title,
1074
- zIndex = 100,
1075
- onBack
1076
- }) {
1077
- if (!isOpen) {
1078
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_jsx_runtime72.Fragment, {});
1079
- }
1080
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Overlay, { isOpen, zIndex, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: "matchid-drawer", children: [
1081
- /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: `matchid-drawer-header matchid-flex`, children: [
1082
- /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: `matchid-drawer-header-content matchid-flex`, children: [
1083
- onBack && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ArrowLeftIcon, { height: 25, width: 24, className: "matchid-drawer-header-back", onClick: onBack }),
1084
- title
1085
- ] }),
1086
- showClose && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(CloseRoundIcon, { className: "matchid-drawer-header-close", onClick: onClose })
1087
- ] }),
1088
- children
1089
- ] }) });
1090
- }
1091
-
1092
- // src/ui/HashPanel/index.tsx
1093
- var import_react13 = require("react");
1094
-
1095
- // src/ui/ModalDrawer/index.tsx
1096
- var import_jsx_runtime73 = require("react/jsx-runtime");
1097
- function ModalDrawer({
1098
- title,
1099
- drawerTitleVisible = true,
1100
- ...props
1101
- }) {
1102
- const isDownMd = useDownMd();
1103
- if (isDownMd) {
1104
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ModalWithHeader, { ...props, title });
1105
- }
1106
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Drawer, { ...props, title: drawerTitleVisible ? title : null });
1107
- }
1108
-
1109
- // src/assets/lottie/confirm.json
1110
- 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: [] };
1111
-
1112
- // src/assets/lottie/fail.json
1113
- 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: {} };
1114
-
1115
- // src/assets/lottie/success.json
1116
- 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: [] };
1117
-
1118
- // src/assets/lottie/pending.json
1119
- 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: {} };
1120
-
1121
- // src/hooks/useHash.ts
1122
- var import_react_query2 = require("@tanstack/react-query");
1123
- var import_viem = require("viem");
1124
- function useHash({
1125
- hash,
1126
- chain,
1127
- refetchInterval,
1128
- enabled = true
1129
- }) {
1130
- return (0, import_react_query2.useQuery)(
1131
- {
1132
- queryKey: ["txhash", hash, chain],
1133
- queryFn: async () => {
1134
- if (!chain || !hash) return false;
1135
- const publicClient = (0, import_viem.createPublicClient)({
1136
- chain,
1137
- transport: (0, import_viem.http)()
1138
- });
1139
- try {
1140
- const receipt = await publicClient.getTransactionReceipt({ hash });
1141
- if (!receipt) {
1142
- return 0;
1143
- }
1144
- matchlog_default.log("getTransactionReceipt", receipt);
1145
- if (receipt.status === "success") {
1146
- return 1;
1147
- }
1148
- return -1;
1149
- } catch (error) {
1150
- console.error("getTransactionReceiptError", error);
1151
- }
1152
- return -99;
1153
- },
1154
- enabled: !!chain && !!hash && enabled,
1155
- refetchInterval
1156
- // refetchIntervalInBackground: false
1157
- }
1158
- );
1159
- }
1160
-
1161
- // src/ui/HashPanel/index.tsx
1162
- var import_jsx_runtime74 = require("react/jsx-runtime");
1163
- function HashPanel({
1164
- hash,
1165
- chain,
1166
- isOpen,
1167
- onClose,
1168
- zIndex,
1169
- error
1170
- }) {
1171
- const [status, setStatus] = (0, import_react13.useState)("confirm");
1172
- const statusMaps = {
1173
- "confirm": {
1174
- text: "Confirming...",
1175
- color: "#FC802D",
1176
- lottie: confirm_default
1177
- },
1178
- "pending": {
1179
- lottie: pending_default,
1180
- text: "Pending...",
1181
- color: "#FC802D"
1182
- },
1183
- "success": {
1184
- text: "Successful!",
1185
- color: "#2CBF68",
1186
- lottie: success_default
1187
- },
1188
- "fail": {
1189
- text: "Failed!",
1190
- color: "#F14141",
1191
- lottie: fail_default
1192
- }
1193
- };
1194
- const statusValue = error ? statusMaps.fail : statusMaps[status];
1195
- const [shouldRefetch, setShouldRefetch] = (0, import_react13.useState)(true);
1196
- (0, import_react13.useEffect)(() => {
1197
- if (hash) {
1198
- setShouldRefetch(true);
1199
- setStatus("pending");
1200
- } else {
1201
- setStatus("confirm");
1202
- }
1203
- }, [hash]);
1204
- const hashQuery = useHash({
1205
- hash,
1206
- chain,
1207
- refetchInterval: shouldRefetch ? 3e3 : false
1208
- });
1209
- (0, import_react13.useEffect)(() => {
1210
- if (hashQuery.data == 1 || hashQuery.data == -1) {
1211
- setShouldRefetch(false);
1212
- }
1213
- if (hashQuery.data == 1) {
1214
- setStatus("success");
1215
- } else if (hashQuery.data == -1) {
1216
- setStatus("fail");
1217
- } else if (hashQuery.data == 0) {
1218
- setStatus("pending");
1219
- }
1220
- }, [hashQuery.data]);
1221
- const link = chain ? `${chain?.blockExplorers?.default.url}/tx/${hash}` : "";
1222
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
1223
- ModalDrawer,
1224
- {
1225
- isOpen,
1226
- showClose: true,
1227
- onClose,
1228
- zIndex,
1229
- title: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
1230
- "div",
1231
- {
1232
- className: "matchid-hashpanel-header",
1233
- style: {
1234
- color: statusValue.color
1235
- },
1236
- children: statusValue.text
1237
- }
1238
- ),
1239
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-hashpanel-box", children: [
1240
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-hashpanel-content", children: [
1241
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: `matchid-hashpanel-status`, style: {
1242
- color: statusValue.color
1243
- }, children: statusValue.text }),
1244
- statusValue.lottie && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
1245
- width: "96px",
1246
- height: "96px"
1247
- } }),
1248
- hash && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "matchid-hashpanel-hash", children: [
1249
- "Hash:",
1250
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("a", { href: link, target: "_blank", children: hash })
1251
- ] }),
1252
- error && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "matchid-hashpanel-text", children: error })
1253
- ] }),
1254
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Button, { onClick: onClose, size: "lg", block: true, children: "Back" })
1255
- ] })
1256
- }
1257
- );
1258
- }
1259
- function HashPanel_default(props) {
1260
- return props.isOpen && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(HashPanel, { ...props });
1261
- }
1262
-
1263
- // src/ui/Switch/index.tsx
1264
- var import_jsx_runtime75 = require("react/jsx-runtime");
1265
-
1266
- // src/ui/AlphaAvatar/index.tsx
1267
- var import_react14 = require("react");
1268
- var import_jsx_runtime76 = require("react/jsx-runtime");
1269
- function AlphaAvatar({
1270
- name,
1271
- size = "default",
1272
- className = "",
1273
- style
1274
- }) {
1275
- const avatar = (0, import_react14.useMemo)(() => {
1276
- if (name) {
1277
- const char = name[0].toUpperCase();
1278
- if (char.match(/[a-zA-Z0-9]/)) {
1279
- return char;
1280
- }
1281
- }
1282
- return "";
1283
- }, [name]);
1284
- const numberSize = typeof size === "number" ? size : size === "sm" ? 24 : size === "default" ? 40 : 64;
1285
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1286
- width: numberSize,
1287
- height: numberSize,
1288
- fontSize: Math.ceil(numberSize / 2),
1289
- ...style
1290
- }, children: avatar });
1291
- }
1292
-
1293
- // src/ui/Radio/index.tsx
1294
- var import_jsx_runtime77 = require("react/jsx-runtime");
1295
- function Radio({
1296
- checked = false,
1297
- onChange,
1298
- size = 24,
1299
- color = "#FC802D",
1300
- className = "",
1301
- style = {}
1302
- }) {
1303
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { onClick: onChange, className: `matchid-radio ${className} ${checked ? "matchid-radio-checked" : ""}`, style: {
1304
- width: size,
1305
- height: size,
1306
- ...style,
1307
- // @ts-ignore
1308
- "--matchid-radio-checked": color
1309
- }, children: checked && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: `matchid-radio-content`, style: {
1310
- width: Math.floor(size * 0.7),
1311
- height: Math.floor(size * 0.7)
1312
- } }) });
1313
- }
1314
-
1315
- // src/ui/Skeleton/index.tsx
1316
- var import_jsx_runtime78 = require("react/jsx-runtime");
1317
-
1318
- // src/ui/Tabs/index.tsx
1319
- var import_jsx_runtime79 = require("react/jsx-runtime");
1320
-
1321
- // src/ui/Lottie/index.tsx
1322
- var import_lottie_react = require("lottie-react");
1323
- var LazyLottie = (props) => {
1324
- const options = {
1325
- animationData: props.animationData,
1326
- loop: true,
1327
- autoplay: true
1328
- };
1329
- const { View } = (0, import_lottie_react.useLottie)(options, props.style);
1330
- return View;
1331
- };
1332
- var Lottie_default = LazyLottie;
1333
-
1334
- // src/ui/Checkbox/index.tsx
1335
- var import_jsx_runtime80 = require("react/jsx-runtime");
1336
-
1337
- // src/components/EVMModal/index.tsx
1338
- var import_react17 = require("react");
1339
-
1340
- // src/hooks/eventManager.ts
1341
- var EventManager = class {
1342
- constructor() {
1343
- this.listeners = {};
1344
- }
1345
- on(event, callback) {
1346
- if (!this.listeners[event]) {
1347
- this.listeners[event] = /* @__PURE__ */ new Set();
1348
- }
1349
- this.listeners[event].add(callback);
1350
- }
1351
- off(event, callback) {
1352
- if (this.listeners[event]) {
1353
- this.listeners[event].delete(callback);
1354
- if (this.listeners[event].size === 0) {
1355
- delete this.listeners[event];
1356
- }
1357
- }
1358
- }
1359
- emit(event, ...args) {
1360
- if (this.listeners[event]) {
1361
- this.listeners[event].forEach((callback) => callback(...args));
1362
- }
1363
- }
1364
- };
1365
- var eventManager = new EventManager();
1366
- var eventManager_default = eventManager;
1367
-
1368
- // src/components/EVMModal/index.tsx
1369
- var import_react_intl10 = require("react-intl");
1370
-
1371
- // src/components/WalletModalContent/index.tsx
1372
- var import_react15 = require("react");
1373
- var import_jsx_runtime81 = require("react/jsx-runtime");
1374
-
1375
- // src/components/EVMModal/index.tsx
1376
- var import_rainbowkit = require("@rainbow-me/rainbowkit");
1377
- var import_wagmi2 = require("wagmi");
1378
-
1379
- // src/hooks/useWalletBox.ts
1380
- var import_react16 = require("react");
1381
-
1382
- // src/hooks/useEthersSigner.ts
1383
- var React5 = __toESM(require("react"));
1384
- var import_wagmi = require("wagmi");
1385
- var import_ethers = require("ethers");
1386
-
1387
- // src/components/EVMModal/index.tsx
1388
- var import_siwe = require("siwe");
1389
- var import_styles = require("@rainbow-me/rainbowkit/styles.css");
1390
- var import_jsx_runtime82 = require("react/jsx-runtime");
1391
-
1392
- // src/components/TRONModal/index.tsx
1393
- var import_react19 = __toESM(require("react"));
1394
- var import_react_intl11 = require("react-intl");
1395
-
1396
- // src/hooks/useTRONWallet.ts
1397
- var import_react18 = require("react");
1398
-
1399
- // src/components/TRONModal/index.tsx
1400
- var import_jsx_runtime83 = require("react/jsx-runtime");
1401
-
1402
- // src/components/TONModal/index.tsx
1403
- var import_react20 = __toESM(require("react"));
1404
- var import_react_intl12 = require("react-intl");
1405
- var import_ui_react = require("@tonconnect/ui-react");
1406
- var import_jsx_runtime84 = require("react/jsx-runtime");
1407
-
1408
- // src/components/BTCModal/index.tsx
1409
- var import_react22 = __toESM(require("react"));
1410
- var import_react_intl13 = require("react-intl");
1411
-
1412
- // src/lib/btc/XverseAdapter.ts
1413
- var import_sats_connect = require("sats-connect");
1414
-
1415
- // src/hooks/useBTCWallet.ts
1416
- var import_react21 = require("react");
1417
-
1418
- // src/components/BTCModal/index.tsx
1419
- var import_jsx_runtime85 = require("react/jsx-runtime");
1420
-
1421
- // src/components/WalletModal/index.tsx
1422
- var import_react23 = require("react");
1423
- var import_react_intl14 = require("react-intl");
1424
- var import_jsx_runtime86 = require("react/jsx-runtime");
1425
-
1426
- // src/components/AlphaAvatar/index.tsx
1427
- var import_react24 = require("react");
1428
- var import_jsx_runtime87 = require("react/jsx-runtime");
1429
- function AlphaAvatar2({ name, size = 40, className = "" }) {
1430
- const [avatar, setAvatar] = (0, import_react24.useState)(void 0);
1431
- (0, import_react24.useEffect)(() => {
1432
- if (name) {
1433
- const char = name[0].toUpperCase();
1434
- setAvatar(char);
1435
- }
1436
- }, [name]);
1437
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: `matchid-alpha-avatar ${className}`, style: {
1438
- width: size,
1439
- height: size,
1440
- fontSize: Math.ceil(size / 2)
1441
- }, children: avatar });
1442
- }
1443
-
1444
- // src/components/WalletAsset/index.tsx
1445
- var import_jsx_runtime88 = require("react/jsx-runtime");
1446
-
1447
- // src/components/TokenSend/index.tsx
1448
- var import_react25 = require("react");
1449
- var import_viem2 = require("viem");
1450
- var import_react_intl15 = require("react-intl");
1451
- var import_jsx_runtime89 = require("react/jsx-runtime");
1452
- function Input2({
1453
- onChange,
1454
- placeholder,
1455
- value,
1456
- maxLength,
1457
- type,
1458
- error,
1459
- size = "df"
1460
- }) {
1461
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-input-box ${"matchid-token-input-" + size}`, children: [
1462
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
1463
- "input",
1464
- {
1465
- placeholder,
1466
- onChange,
1467
- maxLength,
1468
- type,
1469
- value,
1470
- className: `matchid-token-input ${error ? "matchid-token-input-error" : ""}`
1471
- }
1472
- ),
1473
- error && /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: "matchid-token-input-error-text", children: error })
1474
- ] });
1475
- }
1476
- function TokenSend({
1477
- onClose,
1478
- zIndex,
1479
- token,
1480
- onBack
1481
- }) {
1482
- const { list: chainList } = useMatchChain();
1483
- const intl = (0, import_react_intl15.useIntl)();
1484
- const { createWalletClient: createWalletClient2 } = useWallet();
1485
- const isNative = token.address.toLowerCase() == NATIVE_TOKEN_ADDRESS;
1486
- const chain = (0, import_react25.useMemo)(() => {
1487
- return chainList?.find((m) => m.id.toString() === token.chain_id);
1488
- }, [chainList, token.chain_id]);
1489
- const walletClient = (0, import_react25.useMemo)(() => {
1490
- return createWalletClient2({
1491
- // @ts-ignore
1492
- chain: (0, import_viem2.defineChain)(chain),
1493
- transport: (0, import_viem2.http)()
1494
- });
1495
- }, [chain]);
1496
- const [amount, setAmount] = (0, import_react25.useState)("");
1497
- const [address, setAddress] = (0, import_react25.useState)("");
1498
- const [loading, setLoading] = (0, import_react25.useState)(false);
1499
- const [sending, setSending] = (0, import_react25.useState)(false);
1500
- const [txError, setTxError] = (0, import_react25.useState)("");
1501
- const transaction = (0, import_react25.useMemo)(() => {
1502
- const reg = /^0x[a-fA-F0-9]{40}$/;
1503
- if (!amount || !address || !reg.test(address)) {
1504
- return;
1505
- }
1506
- const viemChain = (0, import_viem2.defineChain)(chain);
1507
- const to = isNative ? address : token.address;
1508
- const value = isNative ? (0, import_viem2.parseUnits)(amount, parseInt(token?.decimals || "18")) : BigInt(0);
1509
- const data = isNative ? "0x" : (0, import_viem2.encodeFunctionData)({
1510
- abi: import_viem2.erc20Abi,
1511
- functionName: "transfer",
1512
- args: [address, (0, import_viem2.parseUnits)(amount, parseInt(token?.decimals || "18"))]
1513
- });
1514
- return {
1515
- to,
1516
- value,
1517
- data,
1518
- chain: viemChain
1519
- };
1520
- }, [amount, address]);
1521
- const onCal = async () => {
1522
- try {
1523
- setLoading(true);
1524
- await walletClient?.prepareTransactionRequest(transaction);
1525
- } catch (error2) {
1526
- console.error(error2);
1527
- setTxError(error2.details || error2.message);
1528
- } finally {
1529
- setLoading(false);
1530
- }
1531
- };
1532
- const error = (0, import_react25.useMemo)(() => {
1533
- setTxError("");
1534
- let amountError = "";
1535
- let addressError = "";
1536
- if (amount) {
1537
- if (parseFloat(amount) <= 0) {
1538
- amountError = intl.formatMessage({
1539
- id: "tokenAmountMin"
1540
- });
1541
- } else if ("balance" in token && parseFloat(amount) > (token.balance || 0)) {
1542
- amountError = intl.formatMessage({
1543
- id: "tokenAmountMax"
1544
- });
1545
- }
1546
- }
1547
- if (address) {
1548
- if (address.length < 42) {
1549
- addressError = intl.formatMessage({
1550
- id: "tokenAddressError"
1551
- });
1552
- } else {
1553
- const reg = /^0x[a-fA-F0-9]{40}$/;
1554
- if (!reg.test(address)) {
1555
- addressError = intl.formatMessage({
1556
- id: "tokenAddressError"
1557
- });
1558
- }
1559
- }
1560
- }
1561
- if (amount && address && !amountError && !addressError && walletClient) {
1562
- onCal();
1563
- }
1564
- return {
1565
- amount: amountError,
1566
- address: addressError
1567
- };
1568
- }, [amount, token, chain, address, walletClient]);
1569
- const onChangeAmount = (e) => {
1570
- const value = e.target.value;
1571
- if (value.match(/^\d*\.?\d*$/)) {
1572
- setAmount(value);
1573
- }
1574
- };
1575
- const canSend = (0, import_react25.useMemo)(() => {
1576
- return !error.amount && !error.address && amount && address;
1577
- }, [error]);
1578
- const onNext = async () => {
1579
- setSending(true);
1580
- if (transaction) {
1581
- await walletClient?.sendTransaction(transaction);
1582
- }
1583
- onClose();
1584
- };
1585
- (0, import_react25.useEffect)(() => {
1586
- const receiveMessage = (event) => {
1587
- if (event.data) {
1588
- if (event.data.source == "match-wallet") {
1589
- if (event.data.method == "sendTransaction" && event.data.messageId == "openIframe") {
1590
- onBack();
1591
- setSending(false);
1592
- }
1593
- }
1594
- }
1595
- };
1596
- window.addEventListener("message", receiveMessage);
1597
- return () => {
1598
- window.removeEventListener("message", receiveMessage);
1599
- };
1600
- }, []);
1601
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ModalDrawer, { isOpen: true, onClose, zIndex, title: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "send" }), onBack, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-send-box`, children: [
1602
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "matchid-token-send-content", children: [
1603
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-content`, children: [
1604
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-header`, children: [
1605
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-token-amount-title`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "amount" }) }),
1606
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-chain`, children: [
1607
- token.icon ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
1608
- "img",
1609
- {
1610
- src: token?.icon,
1611
- alt: token?.symbol,
1612
- className: `matchid-token-amount-chain-icon`
1613
- }
1614
- ) : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(AlphaAvatar, { name: token.symbol || token.name || "", size: 16 }),
1615
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { children: token?.symbol })
1616
- ] })
1617
- ] }),
1618
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
1619
- Input2,
1620
- {
1621
- type: "text",
1622
- onChange: onChangeAmount,
1623
- placeholder: intl.formatMessage({
1624
- id: "amountPlaceholder"
1625
- }),
1626
- value: amount,
1627
- maxLength: 40,
1628
- error: error.amount || txError
1629
- }
1630
- ),
1631
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-footer`, children: [
1632
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-amount-title`, children: [
1633
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "balance" }),
1634
- ":"
1635
- ] }),
1636
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-token-amount-value`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(NumberFormatter, { value: token.balance, tFixNum: 10, suffix: " " + token.symbol }) })
1637
- ] }),
1638
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(TransferIcon, { className: "matchid-token-amount-transfer" })
1639
- ] }),
1640
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: `matchid-token-address-content`, children: [
1641
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-token-address-header`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { className: `matchid-token-address-title`, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "receiveTitle" }) }) }),
1642
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
1643
- Input2,
1644
- {
1645
- type: "text",
1646
- size: "sm",
1647
- onChange: (e) => setAddress(e.target.value),
1648
- placeholder: intl.formatMessage({
1649
- id: "receivePlaceholder"
1650
- }),
1651
- value: address,
1652
- maxLength: 42,
1653
- error: error.address
1654
- }
1655
- )
1656
- ] })
1657
- ] }),
1658
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
1659
- Button,
1660
- {
1661
- size: "lg",
1662
- block: true,
1663
- highlight: true,
1664
- disabled: !canSend || !!txError,
1665
- onClick: onNext,
1666
- loading: loading || sending,
1667
- children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(import_react_intl15.FormattedMessage, { id: "next" })
1668
- }
1669
- )
1670
- ] }) });
1671
- }
1672
-
1673
- // src/components/TokenDetail/index.tsx
1674
- var import_react_intl16 = require("react-intl");
1675
- var import_jsx_runtime90 = require("react/jsx-runtime");
1676
-
1677
- // src/components/TokenSendList/index.tsx
1678
- var import_react26 = require("react");
1679
- var import_react_intl17 = require("react-intl");
1680
- var import_jsx_runtime91 = require("react/jsx-runtime");
1681
- function TokenSendList({ close }) {
1682
- const isDownMd = useDownMd();
1683
- const walletAssets = useMatchWalletAssets();
1684
- const matchWalletAssetList = useMatchWalletAssetList({
1685
- list: walletAssets.mergedAssets
1686
- });
1687
- const { list } = useMatchChain();
1688
- const [checked, setChecked] = (0, import_react26.useState)();
1689
- const modal = useModal();
1690
- const onNext = () => {
1691
- checked && modal.show((props) => {
1692
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(TokenSend, { onClose: () => {
1693
- props.close();
1694
- close();
1695
- }, onBack: props.close, zIndex: props.zIndex, token: checked });
1696
- });
1697
- };
1698
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "matchid-token-send-list-box", children: [
1699
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "matchid-token-send-list", children: matchWalletAssetList.list.map((n, index) => {
1700
- const chain = list?.find((m) => m.id.toString() === n.chain_id);
1701
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
1702
- "div",
1703
- {
1704
- className: `matchid-token-send-item ${checked?.address == n.address ? "matchid-token-send-chekced" : ""}`,
1705
- onClick: () => {
1706
- setChecked(n);
1707
- },
1708
- children: [
1709
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Radio, { checked: checked?.address == n.address, size: isDownMd ? 18 : 24 }),
1710
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "matchid-token-send-content", children: [
1711
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "matchid-token-send-logo", children: [
1712
- n.icon ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("img", { src: n.icon, alt: n.symbol, className: `matchid-token-send-icon` }) : /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
1713
- AlphaAvatar2,
1714
- {
1715
- className: `matchid-token-send-icon`,
1716
- size: isDownMd ? 28 : 40,
1717
- name: n.symbol || n.name || ""
1718
- }
1719
- ),
1720
- chain?.iconUrl && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
1721
- "img",
1722
- {
1723
- src: chain.iconUrl,
1724
- alt: chain.name,
1725
- className: `matchid-token-send-chain`
1726
- }
1727
- )
1728
- ] }),
1729
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: `matchid-token-send-info`, children: [
1730
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-send-name`, children: n.symbol }),
1731
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: `matchid-token-send-balance`, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumberFormatter, { value: n.balance, tFixNum: 3 }) })
1732
- ] })
1733
- ] })
1734
- ]
1735
- },
1736
- index
1737
- );
1738
- }) }),
1739
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { size: "lg", highlight: true, block: true, disabled: !checked, onClick: onNext, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_react_intl17.FormattedMessage, { id: "next" }) })
1740
- ] });
1741
- }
1742
-
1743
- // src/components/TransactionList/index.tsx
1744
- var import_react_infinite_scroll_component = __toESM(require("react-infinite-scroll-component"));
1745
- var import_react27 = require("react");
1746
- var import_viem3 = require("viem");
1747
- var import_viem4 = require("viem");
1748
-
1749
- // src/store/useContractStore.ts
1750
- var import_zustand3 = require("zustand");
1751
- var import_middleware2 = require("zustand/middleware");
1752
- var persistedState2 = (0, import_middleware2.persist)(
1753
- (set, get) => ({
1754
- contracts: {},
1755
- getContract: (chainId, contractAddress) => {
1756
- const key = `${chainId}-${contractAddress.toLowerCase()}`;
1757
- return get().contracts[key];
1758
- },
1759
- setContractName: (chainId, contractAddress, name) => {
1760
- const key = `${chainId}-${contractAddress.toLowerCase()}`;
1761
- set((state) => {
1762
- const updatedContracts = {
1763
- ...state.contracts,
1764
- [key]: { ...state.contracts[key], name }
1765
- };
1766
- return { contracts: updatedContracts };
1767
- });
1768
- },
1769
- setContractSymbol: (chainId, contractAddress, symbol) => {
1770
- const key = `${chainId}-${contractAddress.toLowerCase()}`;
1771
- set((state) => {
1772
- const updatedContracts = {
1773
- ...state.contracts,
1774
- [key]: { ...state.contracts[key], symbol }
1775
- };
1776
- return { contracts: updatedContracts };
1777
- });
1778
- },
1779
- setContractDecimals: (chainId, contractAddress, decimals) => {
1780
- const key = `${chainId}-${contractAddress.toLowerCase()}`;
1781
- set((state) => {
1782
- const updatedContracts = {
1783
- ...state.contracts,
1784
- [key]: { ...state.contracts[key], decimals }
1785
- };
1786
- return { contracts: updatedContracts };
1787
- });
1788
- },
1789
- setContracts: (data) => {
1790
- set((state) => {
1791
- const newContracts = { ...state.contracts };
1792
- data.forEach(({ chainId, contractAddress, info }) => {
1793
- const key = `${chainId}-${contractAddress.toLowerCase()}`;
1794
- newContracts[key] = { ...newContracts[key], ...info };
1795
- });
1796
- return { contracts: newContracts };
1797
- });
1798
- }
1799
- }),
1800
- { name: "match-contract-local" }
1801
- );
1802
- var useContractStore = (0, import_zustand3.create)((0, import_middleware2.devtools)(persistedState2));
1803
- var useContractStore_default = useContractStore;
1804
-
1805
- // src/components/TransactionList/index.tsx
1806
- var import_react_intl18 = require("react-intl");
1807
- var import_jsx_runtime92 = require("react/jsx-runtime");
1808
-
1809
- // src/components/CEXBindModal/index.tsx
1810
- var import_react28 = require("react");
1811
- var import_react_intl19 = require("react-intl");
1812
- var import_jsx_runtime93 = require("react/jsx-runtime");
1813
-
1814
- // src/context/BusinessProvider.tsx
1815
- var import_react_query3 = require("@tanstack/react-query");
1816
-
1817
- // src/store/useStore.ts
1818
- var import_zustand4 = require("zustand");
1819
- var useStore = (0, import_zustand4.create)((set) => ({
1820
- walletReady: false,
1821
- setWalletReady: (inited) => set({ walletReady: inited }),
1822
- tgAppAuthCode: "",
1823
- setTgAppAuthCode: (code) => set({ tgAppAuthCode: code }),
1824
- emailLoginKey: "",
1825
- setEmailLoginKey: (key) => set({ emailLoginKey: key })
1826
- }));
1827
- var useStore_default = useStore;
1828
-
1829
- // src/context/BusinessProvider.tsx
1830
- var import_jsx_runtime94 = require("react/jsx-runtime");
1831
-
1832
- // src/context/ModalContext.tsx
1833
- var import_react29 = require("react");
1834
- var import_react_dom = require("react-dom");
1835
- var import_jsx_runtime95 = require("react/jsx-runtime");
1836
- var ModalContext = (0, import_react29.createContext)(null);
1837
- function useModal() {
1838
- const context = (0, import_react29.useContext)(ModalContext);
1839
- if (!context) {
1840
- throw new Error("useModal must be used within a ModalProvider");
1841
- }
1842
- return context;
1843
- }
1844
-
1845
- // src/context/ToastContext.tsx
1846
- var import_react30 = require("react");
1847
- var import_react_dom2 = require("react-dom");
1848
- var import_jsx_runtime96 = require("react/jsx-runtime");
1849
- var ToastContext = (0, import_react30.createContext)(null);
1850
- function useToast() {
1851
- const context = (0, import_react30.useContext)(ToastContext);
1852
- if (!context) {
1853
- throw new Error("useToast must be used within a ToastProvider");
1854
- }
1855
- return context;
1856
- }
1857
-
1858
- // src/context/index.tsx
1859
- var import_jsx_runtime97 = require("react/jsx-runtime");
1860
-
1861
- // src/hooks/useWalletInit.ts
1862
- var import_react31 = require("react");
1863
- var AppClientId = getAppClientId();
1864
-
1865
- // src/hooks/useInit.tsx
1866
- var import_react32 = require("react");
1867
-
1868
- // src/MatchContext.tsx
1869
- var import_react_query4 = require("@tanstack/react-query");
1870
- var import_react_intl20 = require("react-intl");
1871
- var import_rainbowkit2 = require("@rainbow-me/rainbowkit");
1872
- var import_wallets = require("@rainbow-me/rainbowkit/wallets");
1873
- var import_chains = require("wagmi/chains");
1874
-
1875
- // src/config/chains/MatchMain.ts
1876
- var import_viem5 = require("viem");
1877
- var matchMain = /* @__PURE__ */ (0, import_viem5.defineChain)({
1878
- //定义match链
1879
- id: 698,
1880
- name: "Matchain",
1881
- nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
1882
- rpcUrls: {
1883
- default: {
1884
- http: ["https://rpc.matchain.io"]
1885
- }
1886
- },
1887
- blockExplorers: {
1888
- default: {
1889
- name: "Matchscan",
1890
- url: "https://matchscan.io/",
1891
- apiUrl: "https://matchscan.io/api"
1892
- }
1893
- },
1894
- iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png",
1895
- contracts: {
1896
- multicall3: {
1897
- address: "0xca11bde05977b3631167028862be2a173976ca11"
1898
- }
1899
- }
1900
- // testnet: true,
1901
- });
1902
-
1903
- // src/config/chains/MatchTest.ts
1904
- var import_viem6 = require("viem");
1905
- var matchTest = /* @__PURE__ */ (0, import_viem6.defineChain)({
1906
- //定义matchTest链
1907
- id: 699,
1908
- name: "MatchTest",
1909
- nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
1910
- rpcUrls: {
1911
- default: {
1912
- http: ["https://testnet-rpc.matchain.io"]
1913
- }
1914
- },
1915
- blockExplorers: {
1916
- default: {
1917
- name: "Matchscan",
1918
- url: "https://testnet.matchscan.io/",
1919
- apiUrl: "https://testnet.matchscan.io/api"
1920
- }
1921
- },
1922
- iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png",
1923
- contracts: {
1924
- multicall3: {
1925
- address: "0xca11bde05977b3631167028862be2a173976ca11",
1926
- blockCreated: 751532
1927
- },
1928
- ensRegistry: { address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e" },
1929
- ensUniversalResolver: {
1930
- address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC",
1931
- blockCreated: 5317080
1932
- }
1933
- }
1934
- // testnet: true,
1935
- });
1936
-
1937
- // src/MatchContext.tsx
1938
- var import_wagmi3 = require("wagmi");
1939
- var import_jsx_runtime98 = require("react/jsx-runtime");
1940
- var queryClient = new import_react_query4.QueryClient();
1941
- var wagmiConfig = (0, import_rainbowkit2.getDefaultConfig)({
1942
- appName: "MatchID",
1943
- projectId: "9ac6ea7e07860f04616fb311b447dee9",
1944
- wallets: [
1945
- {
1946
- groupName: "Recommended",
1947
- wallets: [
1948
- import_wallets.metaMaskWallet,
1949
- import_wallets.walletConnectWallet,
1950
- import_wallets.okxWallet,
1951
- import_wallets.bitgetWallet,
1952
- import_wallets.injectedWallet
1953
- ]
1954
- }
1955
- ],
1956
- chains: [import_chains.mainnet, import_chains.polygon, import_chains.optimism, import_chains.arbitrum, import_chains.base, matchMain, matchTest, import_chains.bsc]
1957
- });
1958
- var MatchContext = (0, import_react33.createContext)(void 0);
1959
- var useMatch = () => {
1960
- const context = (0, import_react33.useContext)(MatchContext);
1961
- if (context === void 0) {
1962
- throw new Error("useMatch must be used within a MatchProvider");
1963
- }
1964
- return context;
1965
- };
1966
-
1967
- // src/hooks/useUserInfo.tsx
1968
- function useUserInfo() {
1969
- const {
1970
- appid,
1971
- token,
1972
- mid,
1973
- did,
1974
- logout: logoutStore,
1975
- setOverview,
1976
- overview,
1977
- address,
1978
- endpoints,
1979
- locale,
1980
- refreshOverview
1981
- } = useLocalStore_default();
1982
- const { setTgAppAuthCode, emailLoginKey, setEmailLoginKey } = useStore_default();
1983
- const isDownMd = useDownMd();
1984
- const { events, login } = useMatch();
1985
- const { open: EVMOpen } = useEVMModalStore();
1986
- const { open: TRONOpen } = useTRONModalStore();
1987
- const { open: TONOpen } = useTONModalStore();
1988
- const { open: BTCOpen } = useBTCModalStore();
1989
- const { open: CEXBindOpen } = useCEXBindModalStore();
1990
- const walletModalStore = useWalletModalStore();
1991
- const getRedirectUri = () => {
1992
- return encodeURIComponent(window.location.href);
1993
- };
1994
- const isLogin = (0, import_react34.useMemo)(() => !!token && !!overview, [token, overview]);
1995
- const logout = async () => {
1996
- try {
1997
- await toLogoutApi();
1998
- } catch (err) {
1999
- console.error("logout", err);
2000
- }
2001
- logoutStore();
2002
- events && events.onLogout && events.onLogout();
2003
- eventManager_default.emit("onLogout");
2004
- };
2005
- const loginByMethod = async (method) => {
2006
- 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" : ""}`;
2007
- matchlog_default.log("link", link);
2008
- return window.open(
2009
- link,
2010
- // Replace with the actual authorization URL
2011
- "authWindow",
2012
- "width=800,height=600"
2013
- );
2014
- };
2015
- const loginByTwitter = () => {
2016
- return loginByMethod("twitter");
2017
- };
2018
- const loginByGoogle = () => {
2019
- return loginByMethod("google");
2020
- };
2021
- const loginByWallet = async () => {
2022
- return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
2023
- };
2024
- const loginByTelegram = async () => {
2025
- if (isInTgApp()) {
2026
- try {
2027
- const res = await tgAppLoginInitApi();
2028
- if (!isSuccess(res)) {
2029
- throw new Error(res.message);
2030
- }
2031
- setTgAppAuthCode(res.data.code);
2032
- const link = res.data.login_url + `?startapp=${res.data.code}_${appid}_${locale}`;
2033
- console.log("tgAppLoginInitLink", link);
2034
- if (window.TelegramWebviewProxy) {
2035
- console.log("in telegram webview");
2036
- if (!window.Telegram) {
2037
- throw new Error("Please import telegram-web-app.js first");
2038
- }
2039
- window.Telegram.WebApp.openTelegramLink(link);
2040
- return;
2041
- }
2042
- console.log("not in telegram webview");
2043
- window.open(link);
2044
- return;
2045
- } catch (e) {
2046
- console.error("tgAppLoginInitApi", e);
2047
- throw e;
2048
- }
2049
- }
2050
- return window.open(
2051
- `${endpoints.auth}login/telegram?appid=${appid}&locale=${locale}`,
2052
- // Replace with the actual authorization URL
2053
- "authWindow",
2054
- "width=800,height=600"
2055
- );
2056
- };
2057
- const loginMethod = async (method, extra) => {
2058
- switch (method) {
2059
- case "wallet":
2060
- return walletModalStore.open("login", extra?.methods);
2061
- case "evm":
2062
- return EVMOpen("login");
2063
- // return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`)
2064
- case "sol":
2065
- if (isDownMd) {
2066
- return window.location.href = `${endpoints.auth}login/sol?appid=${appid}&locale=${locale}&redirect_uri=${getRedirectUri()}`;
2067
- }
2068
- return window.open(`${endpoints.auth}login/sol?appid=${appid}&locale=${locale}`);
2069
- case "tron":
2070
- return TRONOpen("login");
2071
- case "ton":
2072
- return TONOpen("login");
2073
- case "btc":
2074
- return BTCOpen("login");
2075
- case "telegram":
2076
- return await loginByTelegram();
2077
- case "youtube":
2078
- case "twitter":
2079
- case "google":
2080
- case "discord":
2081
- case "github":
2082
- case "linkedin":
2083
- case "facebook":
2084
- return await loginByMethod(method);
2085
- default:
2086
- throw new Error("unsupported method");
2087
- }
2088
- };
2089
- const getLoginEmailCode = async (email) => {
2090
- const res = await getEmailCodeApi(email);
2091
- if (isSuccess(res)) {
2092
- setEmailLoginKey(res.data.key);
2093
- return res.data.key;
2094
- }
2095
- throw new Error(res.message);
2096
- };
2097
- const loginByEmail = async ({
2098
- email,
2099
- code
2100
- }) => {
2101
- try {
2102
- const obj = {
2103
- email,
2104
- verification_key: emailLoginKey,
2105
- verification_code: code
2106
- };
2107
- const res = await verifyEmailCodeApi(obj);
2108
- if (res && res.data && isSuccess(res)) {
2109
- await login({
2110
- // mid: res.data.mid,
2111
- token: `${res.data.token_type} ${res.data.access_token}`
2112
- });
2113
- return true;
2114
- } else {
2115
- throw new Error(res.message);
2116
- }
2117
- } catch (error) {
2118
- console.error("loginByEmail", error);
2119
- throw error;
2120
- }
2121
- return false;
2122
- };
2123
- const bindWallet = async () => {
2124
- if (!token) {
2125
- throw new Error("You must login first");
2126
- }
2127
- return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
2128
- };
2129
- const bindTelegram = async () => {
2130
- if (!token) {
2131
- throw new Error("You must login first");
2132
- }
2133
- const authWindow = window.open(
2134
- `${endpoints.auth}bind/telegram?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)),
2135
- // Replace with the actual authorization URL
2136
- "authWindow",
2137
- "width=800,height=600"
2138
- );
2139
- };
2140
- const auth = async () => {
2141
- const res = await getAuthInfoApi();
2142
- if (isSuccess(res)) {
2143
- return res.data;
2144
- }
2145
- throw new Error(res.message);
2146
- };
2147
- const bind = async (method, extra) => {
2148
- if (!token) {
2149
- throw new Error("You must login first");
2150
- }
2151
- switch (method) {
2152
- case "wallet":
2153
- return walletModalStore.open("bind", extra?.methods);
2154
- case "evm":
2155
- return EVMOpen("bind");
2156
- // return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)))
2157
- case "sol":
2158
- if (isDownMd) {
2159
- return window.location.href = `${endpoints.auth}bind/sol?appid=${appid}&locale=${locale}&st=${encodeURIComponent(encodeBase64(token))}&redirect_uri=${getRedirectUri()}`;
2160
- }
2161
- return window.open(`${endpoints.auth}bind/sol?appid=${appid}&locale=${locale}&st=${encodeURIComponent(encodeBase64(token))}`);
2162
- case "tron":
2163
- return TRONOpen("bind");
2164
- case "ton":
2165
- return TONOpen("bind");
2166
- case "btc":
2167
- return BTCOpen("bind");
2168
- case "telegram":
2169
- return await bindTelegram();
2170
- case "twitter":
2171
- case "google":
2172
- case "discord":
2173
- case "github":
2174
- case "linkedin":
2175
- case "facebook":
2176
- case "youtube":
2177
- 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" : ""}`;
2178
- matchlog_default.log("link", link);
2179
- return window.open(
2180
- link,
2181
- "authWindow",
2182
- "width=800,height=600"
2183
- );
2184
- default:
2185
- throw new Error("unsupported method");
2186
- }
2187
- };
2188
- const bindCex = (type) => {
2189
- return CEXBindOpen(type);
2190
- };
2191
- const getAuthInfo = async (method) => {
2192
- const element_id = "auth_iframe";
2193
- if (document.getElementById(element_id)) {
2194
- document.getElementById(element_id).remove();
2195
- }
2196
- const iframe = document.createElement("iframe");
2197
- iframe.id = element_id;
2198
- iframe.src = `${endpoints.auth}auth?appid=${appid}&method=${method}&locale=${locale}&token=${encodeURIComponent(encodeBase64(token))}`;
2199
- iframe.style.width = "100vw";
2200
- iframe.style.height = "100vh";
2201
- iframe.style.position = "fixed";
2202
- iframe.style.top = "0";
2203
- iframe.style.left = "0";
2204
- iframe.style.zIndex = "9999";
2205
- iframe.style.border = "none";
2206
- iframe.allowTransparency = "true";
2207
- document.body.appendChild(iframe);
2208
- return new Promise((resolve, reject) => {
2209
- const authMessageHandle = (event) => {
2210
- if (endpoints.auth.includes(event.origin)) {
2211
- const res = event.data;
2212
- if (res.source == "match-auth") {
2213
- window.removeEventListener("message", authMessageHandle);
2214
- if (res.status == "success") {
2215
- resolve({
2216
- ...res.data,
2217
- method: res.method,
2218
- appid: res.appid,
2219
- did
2220
- });
2221
- } else {
2222
- reject(new Error(res.message));
2223
- }
2224
- iframe.remove();
2225
- }
2226
- }
2227
- };
2228
- window.addEventListener("message", authMessageHandle);
2229
- });
2230
- };
2231
- const invite = async (invite_code) => {
2232
- return await userInviteApi({
2233
- invite_code
2234
- });
2235
- };
2236
- return {
2237
- loginByMethod,
2238
- loginByTelegram,
2239
- loginByTwitter,
2240
- loginByGoogle,
2241
- loginByWallet,
2242
- loginByEmail,
2243
- bindWallet,
2244
- bindTelegram,
2245
- token,
2246
- mid,
2247
- did,
2248
- address,
2249
- isLogin,
2250
- logout,
2251
- getLoginEmailCode,
2252
- refreshOverview,
2253
- overview,
2254
- bindCex,
2255
- username: overview?.username || "",
2256
- auth,
2257
- login: loginMethod,
2258
- bind,
2259
- getAuthInfo,
2260
- invite
2261
- };
2262
- }
2263
-
2264
- // src/hooks/useMatchEvents.ts
2265
- var import_react35 = require("react");
2266
- function useMatchEvents(handlers) {
2267
- (0, import_react35.useEffect)(() => {
2268
- Object.entries(handlers).forEach(([event, handler2]) => {
2269
- if (handler2) {
2270
- eventManager_default.on(event, handler2);
2271
- }
2272
- });
2273
- return () => {
2274
- Object.entries(handlers).forEach(([event, handler2]) => {
2275
- if (handler2) {
2276
- eventManager_default.off(event, handler2);
2277
- }
2278
- });
2279
- };
2280
- }, [handlers]);
2281
- }
2282
-
2283
- // src/hooks/useWallet.tsx
2284
- var import_viem7 = require("viem");
2285
- var import_accounts = require("viem/accounts");
2286
- var import_viem8 = require("viem");
2287
- var import_react36 = require("react");
2288
- var import_viem9 = require("viem");
2289
-
2290
- // src/store/useTransactionStore.ts
2291
- var import_zustand5 = require("zustand");
2292
- var import_middleware3 = require("zustand/middleware");
2293
- var persistedState3 = (0, import_middleware3.persist)(
2294
- (set, get) => ({
2295
- transactions: {},
2296
- addTransaction: (data) => {
2297
- set((state) => {
2298
- const updatedTransactions = {
2299
- ...state.transactions,
2300
- [`${data.chainId}-${data.address}`]: [data.info, ...state.transactions[`${data.chainId}-${data.address}`] || []]
2301
- };
2302
- return { transactions: updatedTransactions };
2303
- });
2304
- },
2305
- removeTransaction: (data) => {
2306
- set((state) => {
2307
- const updatedTransactions = {
2308
- ...state.transactions,
2309
- [`${data.chainId}-${data.address}`]: (state.transactions[`${data.chainId}-${data.address}`] || []).filter((tx) => tx.hash !== data.hash)
2310
- };
2311
- return { transactions: updatedTransactions };
2312
- });
2313
- }
2314
- }),
2315
- { name: "match-transactions-local" }
2316
- );
2317
- var useTransactionStore = (0, import_zustand5.create)((0, import_middleware3.devtools)(persistedState3));
2318
- var useTransactionStore_default = useTransactionStore;
2319
-
2320
- // src/hooks/useWallet.tsx
2321
- var import_jsx_runtime99 = require("react/jsx-runtime");
2322
- var AppClientId2 = "react-sdk-" + getVersion();
2323
- function useWallet() {
2324
- const { address, wallet: walletConfig } = useLocalStore_default();
2325
- const { walletReady } = useStore_default();
2326
- const modal = useModal();
2327
- const { addTransaction } = useTransactionStore_default();
2328
- const isRecovered = async () => {
2329
- const res = await window.matchProvider.waitUntilWalletMessage({
2330
- method: "isRecovered"
2331
- });
2332
- return res.isRecovered;
2333
- };
2334
- const signMessage2 = async ({
2335
- message,
2336
- chainType = "ethereum" /* Ethereum */
2337
- }) => {
2338
- try {
2339
- const res = await window.matchProvider.waitUntilWalletMessage({
2340
- method: "signMessage",
2341
- data: {
2342
- message,
2343
- chainType
2344
- }
2345
- });
2346
- return res.message;
2347
- } catch (error) {
2348
- console.error("sdk.wallet.message", error);
2349
- throw error;
2350
- }
2351
- };
2352
- const signTransaction = async ({
2353
- transaction,
2354
- chainType = "ethereum" /* Ethereum */,
2355
- chain
2356
- }) => {
2357
- try {
2358
- const res = await window.matchProvider.waitUntilWalletMessage({
2359
- method: "signTransaction",
2360
- data: {
2361
- transaction,
2362
- chainType,
2363
- chain
2364
- }
2365
- });
2366
- return res.message;
2367
- } catch (error) {
2368
- console.error("sdk.wallet.transaction", error);
2369
- throw error;
2370
- }
2371
- };
2372
- const evmAccount = (0, import_react36.useMemo)(() => {
2373
- try {
2374
- return address ? (0, import_accounts.toAccount)({
2375
- address,
2376
- async signMessage({ message }) {
2377
- return await signMessage2({
2378
- message,
2379
- chainType: "ethereum" /* Ethereum */
2380
- });
2381
- },
2382
- async signTransaction(transaction, options) {
2383
- const { account, chain, ...restTransaction } = transaction;
2384
- console.log("qwe-sign-transaction", restTransaction, options);
2385
- return await signTransaction({
2386
- transaction: {
2387
- ...restTransaction
2388
- },
2389
- chainType: "ethereum" /* Ethereum */,
2390
- chain: {
2391
- id: chain?.id || restTransaction.chainId,
2392
- name: chain?.name,
2393
- nativeCurrency: {
2394
- name: chain?.nativeCurrency?.name || "ETH",
2395
- symbol: chain?.nativeCurrency?.symbol || "ETH",
2396
- decimals: chain?.nativeCurrency?.decimals || 18
2397
- },
2398
- rpcUrls: chain?.rpcUrls
2399
- }
2400
- });
2401
- },
2402
- async signTypedData(typedData) {
2403
- return "0x";
2404
- }
2405
- }) : void 0;
2406
- } catch (error) {
2407
- console.error(`qwe-evm-account-error ${address}`, error);
2408
- return void 0;
2409
- }
2410
- }, [address]);
2411
- (0, import_react36.useEffect)(() => {
2412
- matchlog_default.log("qwe-evmAccount", evmAccount);
2413
- }, [evmAccount]);
2414
- const realCreateWalletClient = (parameters) => {
2415
- if (!evmAccount) {
2416
- return;
2417
- }
2418
- const obj = (0, import_viem8.createWalletClient)({
2419
- ...parameters,
2420
- account: evmAccount
2421
- });
2422
- const sendTransaction = async (transaction) => {
2423
- const { chain, ...restTransaction } = transaction;
2424
- const chainId = chain ? chain.id : await obj.getChainId();
2425
- const _chain = chain || obj.chain;
2426
- const transactionId = Date.now().toString() + Math.random().toString().slice(6);
2427
- window.matchProvider.transactionMessageIntervalMap[transactionId] = {
2428
- transaction,
2429
- func: async () => {
2430
- try {
2431
- const {
2432
- chain: chain2,
2433
- account,
2434
- ...prepareTransactionRequest
2435
- // @ts-ignore
2436
- } = await obj.prepareTransactionRequest(window.matchProvider.transactionMessageIntervalMap[transactionId].transaction);
2437
- window.matchProvider.sendWalletMessage({
2438
- method: "prepareTransactionRequest",
2439
- data: {
2440
- prepareTransactionRequest,
2441
- transactionId
2442
- }
2443
- });
2444
- } catch (error) {
2445
- console.error(error);
2446
- }
2447
- },
2448
- interval: setInterval(() => {
2449
- window.matchProvider.transactionMessageIntervalMap[transactionId].func();
2450
- }, 1e4)
2451
- };
2452
- try {
2453
- const {
2454
- chain: chain2,
2455
- account,
2456
- ...prepareTransactionRequest
2457
- // @ts-ignore
2458
- } = await obj.prepareTransactionRequest(transaction);
2459
- const { serializedTransaction } = await window.matchProvider.waitUntilWalletMessage({
2460
- method: "sendTransaction",
2461
- data: {
2462
- transactionId,
2463
- transaction: {
2464
- ...restTransaction
2465
- },
2466
- chainType: "ethereum" /* Ethereum */,
2467
- chain: {
2468
- id: chainId,
2469
- name: _chain?.name,
2470
- nativeCurrency: _chain?.nativeCurrency,
2471
- rpcUrls: _chain?.rpcUrls
2472
- },
2473
- prepareTransactionRequest
2474
- }
2475
- });
2476
- try {
2477
- const txHash = await obj.sendRawTransaction({
2478
- serializedTransaction
2479
- });
2480
- addTransaction({
2481
- chainId,
2482
- hash: txHash,
2483
- info: {
2484
- from: evmAccount.address,
2485
- to: restTransaction.to,
2486
- value: (restTransaction.value || 0).toString(),
2487
- input: restTransaction.data,
2488
- timestamp: Math.floor(Date.now() / 1e3).toString(),
2489
- hash: txHash,
2490
- source: "local"
2491
- },
2492
- address: evmAccount.address
2493
- });
2494
- modal.show((props) => {
2495
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, hash: txHash, chain: _chain });
2496
- });
2497
- return txHash;
2498
- } catch (error) {
2499
- modal.show((props) => {
2500
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(HashPanel_default, { isOpen: true, onClose: props.close, zIndex: props.zIndex, error: typeof error == "string" ? error : error.details || error.message, chain: _chain });
2501
- });
2502
- throw error;
2503
- }
2504
- } catch (error) {
2505
- console.error("matchid-send-error", error);
2506
- throw error;
2507
- } finally {
2508
- clearInterval(window.matchProvider.transactionMessageIntervalMap[transactionId].interval);
2509
- delete window.matchProvider.transactionMessageIntervalMap[transactionId];
2510
- }
2511
- };
2512
- const deployContract = async (parameters2) => {
2513
- const { abi, args, bytecode, ...request3 } = parameters2;
2514
- const calldata = (0, import_viem9.encodeDeployData)({ abi, args, bytecode });
2515
- return await sendTransaction({
2516
- ...request3,
2517
- data: calldata
2518
- });
2519
- };
2520
- const writeContract = async (parameters2) => {
2521
- const { abi, address: address2, args, dataSuffix, functionName, ...request3 } = parameters2;
2522
- const data = (0, import_viem7.encodeFunctionData)({
2523
- abi,
2524
- args,
2525
- functionName
2526
- });
2527
- return await sendTransaction({
2528
- data: `${data}${dataSuffix ? dataSuffix.replace("0x", "") : ""}`,
2529
- to: address2,
2530
- ...request3
2531
- });
2532
- };
2533
- return {
2534
- ...obj,
2535
- sendTransaction,
2536
- deployContract,
2537
- writeContract
2538
- };
2539
- };
2540
- return {
2541
- walletReady,
2542
- evmAccount,
2543
- address,
2544
- signMessage: signMessage2,
2545
- signTransaction,
2546
- isRecovered,
2547
- createWalletClient: realCreateWalletClient
2548
- // exportWallet
2549
- };
2550
- }
2551
-
2552
- // src/hooks/useCopyClipboard.ts
2553
- var import_copy_to_clipboard = __toESM(require("copy-to-clipboard"));
2554
- var import_react37 = require("react");
2555
- function useCopyClipboard(timeout = 500) {
2556
- const [isCopied, setIsCopied] = (0, import_react37.useState)(false);
2557
- const staticCopy = (0, import_react37.useCallback)((text) => {
2558
- const didCopy = (0, import_copy_to_clipboard.default)(text);
2559
- setIsCopied(didCopy);
2560
- }, []);
2561
- (0, import_react37.useEffect)(() => {
2562
- if (isCopied) {
2563
- const hide = setTimeout(() => {
2564
- setIsCopied(false);
2565
- }, timeout);
2566
- return () => {
2567
- clearTimeout(hide);
2568
- };
2569
- }
2570
- return void 0;
2571
- }, [isCopied, setIsCopied, timeout]);
2572
- return [isCopied, staticCopy];
2573
- }
2574
-
2575
- // src/hooks/api/wallet.ts
2576
- var import_react_query5 = require("@tanstack/react-query");
2577
- function useChainListQuery(options) {
2578
- const { isLogin, token } = useUserInfo();
2579
- return (0, import_react_query5.useQuery)({
2580
- queryKey: ["match-user-chain-list", token],
2581
- queryFn: async () => {
2582
- const res = await getUserChainListApi();
2583
- if (!isSuccess(res)) {
2584
- return [];
2585
- }
2586
- return res.data;
2587
- },
2588
- enabled: isLogin,
2589
- ...options
2590
- });
2591
- }
2592
- function useAssetListQuery({
2593
- chainId,
2594
- ...options
2595
- }) {
2596
- const { isLogin, token } = useUserInfo();
2597
- return (0, import_react_query5.useQuery)({
2598
- queryKey: ["match-user-asset-list", token, chainId],
2599
- queryFn: async () => {
2600
- const res = await getUserWalletAssetApi({ chain_id: chainId.toString() });
2601
- if (!isSuccess(res)) {
2602
- return [];
2603
- }
2604
- return res.data || [];
2605
- },
2606
- enabled: isLogin,
2607
- ...options
2608
- });
2609
- }
2610
- var USER_IMPORT_TOKEN_LIST_KEY = "match-user-import-token-list";
2611
- function useImportTokenListQuery({
2612
- chainId,
2613
- ...options
2614
- }) {
2615
- const { isLogin, token } = useUserInfo();
2616
- return (0, import_react_query5.useQuery)({
2617
- queryKey: [USER_IMPORT_TOKEN_LIST_KEY, token, chainId],
2618
- queryFn: async () => {
2619
- const res = await getUserImportTokenListApi({ chain_id: chainId.toString() });
2620
- if (!isSuccess(res)) {
2621
- return [];
2622
- }
2623
- return res.data || [];
2624
- },
2625
- enabled: isLogin,
2626
- ...options
2627
- });
2628
- }
2629
-
2630
- // src/hooks/useMatchChain.tsx
2631
- var import_react38 = require("react");
2632
- var import_viem10 = require("viem");
2633
- var import_react_intl21 = require("react-intl");
2634
- var import_jsx_runtime100 = require("react/jsx-runtime");
2635
- function useMatchChain() {
2636
- const chainListQuery = useChainListQuery();
2637
- const modal = useModal();
2638
- const intl = (0, import_react_intl21.useIntl)();
2639
- const { chainId: storeChainId, setChainId } = useLocalStore_default();
2640
- const chainId = (0, import_react38.useMemo)(() => {
2641
- if (!chainListQuery.data || !chainListQuery.data.length) {
2642
- return null;
2643
- }
2644
- if (chainListQuery.data.find((item) => item.id === storeChainId)) {
2645
- return storeChainId;
2646
- }
2647
- return chainListQuery.data[0].id;
2648
- }, [storeChainId, chainListQuery.data]);
2649
- const chain = (0, import_react38.useMemo)(() => {
2650
- if (!chainListQuery.data || !chainListQuery.data.length) {
2651
- return null;
2652
- }
2653
- return chainListQuery.data.find((item) => item.id === chainId);
2654
- }, [chainId, chainListQuery.data]);
2655
- const explorerLink = (url) => {
2656
- const explorer = chain?.blockExplorers.default.url;
2657
- return explorer.lastIndexOf("/") === explorer.length - 1 ? explorer + url : explorer + "/" + url;
2658
- };
2659
- function ChangeNetwork({
2660
- close
2661
- }) {
2662
- const { chainId: storeChainId2, setChainId: setChainId2 } = useLocalStore_default();
2663
- const [selectedChainId, setSelectedChainId] = (0, import_react38.useState)(storeChainId2);
2664
- const isDownMd = useDownMd();
2665
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: `matchid-change-network-box`, children: [
2666
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: `matchid-change-network-list`, children: chainListQuery.data?.map((item, index) => {
2667
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
2668
- "div",
2669
- {
2670
- onClick: () => setSelectedChainId(item.id),
2671
- className: `matchid-change-network-item ${selectedChainId == item.id ? "matchid-change-network-selected" : ""}`,
2672
- children: [
2673
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: `matchid-change-network-item-content`, children: [
2674
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("img", { src: item.iconUrl, className: `matchid-change-network-item-icon` }),
2675
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("span", { className: "matchid-change-network-item-name", children: item.name })
2676
- ] }),
2677
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Radio, { checked: selectedChainId === item.id, size: isDownMd ? 18 : 24 })
2678
- ]
2679
- },
2680
- index
2681
- );
2682
- }) }),
2683
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { size: "lg", highlight: true, onClick: () => {
2684
- setChainId2(selectedChainId || 0);
2685
- close();
2686
- }, block: true, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(import_react_intl21.FormattedMessage, { id: "confirm" }) })
2687
- ] });
2688
- }
2689
- const showChangeNetwork = () => {
2690
- modal.open({
2691
- title: intl.formatMessage({ id: "changeNetwork" }),
2692
- content: ChangeNetwork
2693
- });
2694
- };
2695
- const publicClient = (0, import_react38.useMemo)(() => {
2696
- if (!chain) {
2697
- return null;
2698
- }
2699
- return (0, import_viem10.createPublicClient)({
2700
- chain,
2701
- transport: (0, import_viem10.http)()
2702
- });
2703
- }, [chain]);
2704
- return {
2705
- list: chainListQuery.data,
2706
- chainId,
2707
- setChainId,
2708
- chain,
2709
- explorerLink,
2710
- showChangeNetwork,
2711
- publicClient,
2712
- formatUnits: (value) => {
2713
- return (0, import_viem10.formatUnits)(value, chain?.nativeCurrency.decimals || 18);
2714
- },
2715
- parseUnits: (value) => {
2716
- return (0, import_viem10.parseUnits)(value, chain?.nativeCurrency.decimals || 18);
2717
- }
2718
- };
2719
- }
2720
-
2721
- // src/hooks/useMatchWallet.tsx
2722
- var import_react_qrcode = require("react-qrcode");
2723
- var import_react40 = require("react");
2724
- var import_react_query8 = require("@tanstack/react-query");
2725
- var import_viem13 = require("viem");
2726
- var import_react_intl23 = require("react-intl");
2727
-
2728
- // src/components/ImportToken/index.tsx
2729
- var import_react39 = require("react");
2730
- var import_react_intl22 = require("react-intl");
2731
- var import_react_query7 = require("@tanstack/react-query");
2732
- var import_viem12 = require("viem");
2733
-
2734
- // src/hooks/useIsContract.ts
2735
- var import_viem11 = require("viem");
2736
- var import_react_query6 = require("@tanstack/react-query");
2737
- function useIsContract({
2738
- address,
2739
- chain,
2740
- enabled
2741
- }) {
2742
- return (0, import_react_query6.useQuery)({
2743
- queryKey: ["is_contract", chain?.id, address],
2744
- queryFn: async () => {
2745
- if (!chain) return false;
2746
- if (!address) return false;
2747
- const publicClient = (0, import_viem11.createPublicClient)({
2748
- chain,
2749
- transport: (0, import_viem11.http)()
2750
- });
2751
- const res = await publicClient.getCode({ address });
2752
- return res !== null && res !== void 0;
2753
- },
2754
- enabled
2755
- });
2756
- }
2757
-
2758
- // src/components/ImportToken/index.tsx
2759
- var import_jsx_runtime101 = require("react/jsx-runtime");
2760
- function ImportToken({ close }) {
2761
- const [status, setStatus] = (0, import_react39.useState)("");
2762
- const { token } = useUserInfo();
2763
- const [address, setAddress] = (0, import_react39.useState)("");
2764
- const [symbol, setSymbol] = (0, import_react39.useState)("");
2765
- const [decimals, setDecimals] = (0, import_react39.useState)("");
2766
- const [error, setError] = (0, import_react39.useState)({});
2767
- const { publicClient, chainId, chain } = useMatchChain();
2768
- const getContractInfo = async () => {
2769
- if (!publicClient) return;
2770
- const calls = [
2771
- {
2772
- address,
2773
- abi: import_viem12.erc20Abi,
2774
- functionName: "symbol",
2775
- args: []
2776
- },
2777
- {
2778
- address,
2779
- abi: import_viem12.erc20Abi,
2780
- functionName: "decimals",
2781
- args: []
2782
- }
2783
- ];
2784
- try {
2785
- const results = await publicClient.multicall({ contracts: calls });
2786
- console.log("results", results);
2787
- if (!symbol && results[0]?.status == "success") {
2788
- setSymbol(results[0]?.result);
2789
- }
2790
- if (!decimals && results[1]?.status == "success") {
2791
- setDecimals((results[1]?.result).toString());
2792
- }
2793
- } catch (error2) {
2794
- setError({
2795
- address: error2.message
2796
- });
2797
- }
2798
- };
2799
- const intl = (0, import_react_intl22.useIntl)();
2800
- (0, import_react39.useEffect)(() => {
2801
- if (address.length === 42) {
2802
- const reg = /^0x[0-9a-fA-F]{40}$/;
2803
- if (!reg.test(address)) {
2804
- setError({
2805
- ...error,
2806
- address: intl.formatMessage({
2807
- id: "tokenAddressError"
2808
- })
2809
- });
2810
- } else {
2811
- setError({
2812
- ...error,
2813
- address: ""
2814
- });
2815
- publicClient && getContractInfo();
2816
- }
2817
- }
2818
- }, [address, publicClient]);
2819
- const [loading, setLoading] = (0, import_react39.useState)(false);
2820
- const toast = useToast();
2821
- const queryClient2 = (0, import_react_query7.useQueryClient)();
2822
- const onImport = async () => {
2823
- setLoading(true);
2824
- try {
2825
- const res = await userImportTokenApi({
2826
- chain_id: chainId?.toString() || "",
2827
- symbol,
2828
- address,
2829
- decimals
2830
- });
2831
- if (isSuccess(res)) {
2832
- setStatus("success");
2833
- queryClient2.invalidateQueries({
2834
- queryKey: [USER_IMPORT_TOKEN_LIST_KEY, token, chainId]
2835
- });
2836
- } else {
2837
- setStatus("fail");
2838
- toast.error(res.message);
2839
- }
2840
- } catch (error2) {
2841
- setStatus("fail");
2842
- toast.error(error2.message);
2843
- } finally {
2844
- setLoading(false);
2845
- }
2846
- };
2847
- const canImport = (0, import_react39.useMemo)(() => {
2848
- if (!address) {
2849
- return false;
2850
- }
2851
- if (!symbol) {
2852
- return false;
2853
- }
2854
- if (decimals.length === 0) {
2855
- return false;
2856
- }
2857
- const reg = /^0x[0-9a-fA-F]{40}$/;
2858
- if (!reg.test(address)) {
2859
- return false;
2860
- }
2861
- return true;
2862
- }, [error, address, symbol, decimals]);
2863
- const isContractQuery = useIsContract({
2864
- //@ts-ignore
2865
- chain: (0, import_viem12.defineChain)(chain),
2866
- address,
2867
- enabled: canImport
2868
- });
2869
- if (status == "success" || status == "fail") {
2870
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: `matchid-import-token-result matchid-flex`, children: [
2871
- /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: `matchid-import-token-result-box matchid-flex`, children: [
2872
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: `matchid-import-token-result-img`, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Lottie_default, { animationData: status == "success" ? success_default : fail_default, style: {
2873
- width: "96px",
2874
- height: "96px"
2875
- } }) }),
2876
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: `matchid-import-token-result-text matchid-import-token-result-text-${status}`, children: status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "importSuccess" }) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "importFail" }) })
2877
- ] }),
2878
- status == "success" ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Button, { size: "lg", onClick: close, block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "close" }) }) : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Button, { size: "lg", onClick: () => setStatus(""), block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "back" }) })
2879
- ] });
2880
- }
2881
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: `matchid-import-token`, children: [
2882
- /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: "matchid-import-token-form", children: [
2883
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Field, { label: intl.formatMessage({
2884
- id: "tokenSmartContract"
2885
- }), error: error.address ? error.address : isContractQuery.isFetched && !isContractQuery.isLoading && !isContractQuery.data && canImport ? "Address isn't a contract address" : "", children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
2886
- Input,
2887
- {
2888
- placeholder: intl.formatMessage({
2889
- id: "tokenSmartContractPlaceholder"
2890
- }),
2891
- value: address,
2892
- onChange: (e) => setAddress(e.target.value),
2893
- maxLength: 42
2894
- }
2895
- ) }),
2896
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Field, { label: intl.formatMessage({
2897
- id: "tokenSymbol"
2898
- }), error: error.symbol, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
2899
- Input,
2900
- {
2901
- placeholder: intl.formatMessage({
2902
- id: "tokenSymbolPlaceholder"
2903
- }),
2904
- value: symbol,
2905
- onChange: (e) => setSymbol(e.target.value),
2906
- maxLength: 16
2907
- }
2908
- ) }),
2909
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Field, { label: intl.formatMessage({
2910
- id: "tokenDecimals"
2911
- }), error: error.decimals, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
2912
- Input,
2913
- {
2914
- placeholder: intl.formatMessage({
2915
- id: "tokenDecimalsPlaceholder"
2916
- }),
2917
- type: "number",
2918
- value: decimals,
2919
- onChange: (e) => setDecimals(e.target.value)
2920
- }
2921
- ) })
2922
- ] }),
2923
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
2924
- Button,
2925
- {
2926
- size: "lg",
2927
- onClick: onImport,
2928
- block: true,
2929
- loading: loading || isContractQuery.isLoading,
2930
- disabled: !canImport || !isContractQuery.data,
2931
- highlight: true,
2932
- children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_react_intl22.FormattedMessage, { id: "import" })
2933
- }
2934
- )
2935
- ] });
2936
- }
2937
-
2938
- // src/hooks/useMatchWallet.tsx
2939
- var import_jsx_runtime102 = require("react/jsx-runtime");
2940
- var ReceiveModal = () => {
2941
- const chain = useMatchChain();
2942
- const { address } = useWallet();
2943
- const [copied, setCopied] = useCopyClipboard();
2944
- const toast = useToast();
2945
- const intl = (0, import_react_intl23.useIntl)();
2946
- const onCopy = () => {
2947
- setCopied(address);
2948
- toast.success(intl.formatMessage({
2949
- id: "copied"
2950
- }));
2951
- };
2952
- const chainLink = chain.explorerLink("address/" + address);
2953
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: `matchid-receive-modal`, children: [
2954
- /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { className: "matchid-receive-container", children: [
2955
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: `matchid-receive-text`, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_react_intl23.FormattedMessage, { id: "receiveQrcode" }) }),
2956
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { className: `matchid-qr-container`, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
2957
- import_react_qrcode.QRCode,
2958
- {
2959
- margin: "0",
2960
- className: `matchid-qr-code`,
2961
- value: address
2962
- }
2963
- ) }),
2964
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
2965
- "a",
2966
- {
2967
- href: chainLink,
2968
- target: "_blank",
2969
- className: `matchid-receive-link`,
2970
- children: address
2971
- }
2972
- )
2973
- ] }),
2974
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Button, { size: "lg", onClick: onCopy, block: true, highlight: true, disabled: copied, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
2975
- import_react_intl23.FormattedMessage,
2976
- {
2977
- id: "copyAddress"
2978
- }
2979
- ) })
2980
- ] });
2981
- };
2982
- function useMatchWallet() {
2983
- const modal = useModal();
2984
- const intl = (0, import_react_intl23.useIntl)();
2985
- const showReceiveModal = () => {
2986
- modal.open({
2987
- title: intl.formatMessage({
2988
- id: "receive"
2989
- }),
2990
- content: ReceiveModal
2991
- });
2992
- };
2993
- const showImportTokenModal = () => {
2994
- modal.open({
2995
- title: intl.formatMessage({
2996
- id: "customizedToken"
2997
- }),
2998
- content: ImportToken
2999
- });
3000
- };
3001
- const showSendListModal = () => {
3002
- modal.open({
3003
- title: intl.formatMessage({
3004
- id: "send"
3005
- }),
3006
- content: TokenSendList
3007
- });
3008
- };
3009
- return {
3010
- showReceiveModal,
3011
- showImportTokenModal,
3012
- showSendListModal
3013
- };
3014
- }
3015
- function useMatchWalletRecords() {
3016
- const [hasMore, setHasMore] = (0, import_react40.useState)(true);
3017
- const [items, setItems] = (0, import_react40.useState)([]);
3018
- const { chainId, publicClient } = useMatchChain();
3019
- const { address } = useWallet();
3020
- const hasMoreRef = (0, import_react40.useRef)(hasMore);
3021
- const nextPageParamsRef = (0, import_react40.useRef)(void 0);
3022
- const { contracts, setContracts } = useContractStore_default();
3023
- const fetchMoreData = async () => {
3024
- const chainIdStr = chainId ? chainId.toString() : "";
3025
- if (!hasMoreRef.current || !chainIdStr) {
3026
- return;
3027
- }
3028
- const res = await getUserWalletTransactionsApi({
3029
- chain_id: chainIdStr,
3030
- ...nextPageParamsRef.current
3031
- });
3032
- if (isSuccess(res)) {
3033
- if (res.data && res.data.transactions && res.data.transactions.length > 0) {
3034
- setItems(items.concat(res.data.transactions || []));
3035
- }
3036
- hasMoreRef.current = res.data && res.data.transactions && res.data.transactions.length >= 50;
3037
- setHasMore(hasMoreRef.current);
3038
- nextPageParamsRef.current = res.data?.next_page_params;
3039
- }
3040
- };
3041
- const onInit = async () => {
3042
- nextPageParamsRef.current = void 0;
3043
- setItems([]);
3044
- setHasMore(true);
3045
- hasMoreRef.current = true;
3046
- fetchMoreData();
3047
- };
3048
- (0, import_react40.useEffect)(() => {
3049
- if (chainId && address) {
3050
- onInit();
3051
- }
3052
- }, [chainId, address]);
3053
- const { transactions, removeTransaction } = useTransactionStore_default();
3054
- const getContractInfoList = async (contractList) => {
3055
- const contractUnique = Array.from(new Set(contractList)).filter((item) => {
3056
- const contract = contracts[`${chainId}-${item.toLowerCase()}`];
3057
- if (!contract) {
3058
- return true;
3059
- }
3060
- if (!contract.symbol && !contract.name) {
3061
- return true;
3062
- }
3063
- if (!contract.decimals) {
3064
- return true;
3065
- }
3066
- return false;
3067
- });
3068
- const calls = [];
3069
- for (const contract of contractUnique) {
3070
- calls.push({
3071
- address: contract,
3072
- abi: import_viem13.erc20Abi,
3073
- functionName: "symbol",
3074
- args: []
3075
- });
3076
- calls.push({
3077
- address: contract,
3078
- abi: import_viem13.erc20Abi,
3079
- functionName: "decimals",
3080
- args: []
3081
- });
3082
- }
3083
- const results = await publicClient?.multicall({ contracts: calls });
3084
- if (results) {
3085
- console.log("contract results", calls, results);
3086
- const contractMap = [];
3087
- for (let i = 0; i < contractUnique.length; i++) {
3088
- const info = {};
3089
- if (results[i * 2].status == "success") {
3090
- info.symbol = results[i * 2].result;
3091
- }
3092
- if (results[i * 2 + 1].status == "success") {
3093
- info.decimals = results[i * 2 + 1].result;
3094
- }
3095
- contractMap.push({
3096
- chainId: chainId || 0,
3097
- contractAddress: contractUnique[i],
3098
- info
3099
- });
3100
- }
3101
- setContracts(contractMap);
3102
- }
3103
- };
3104
- const list = (0, import_react40.useMemo)(() => {
3105
- const localTransactions = transactions[`${chainId}-${address}`] || [];
3106
- const removeList = localTransactions.filter((n) => items.findIndex((m) => m.hash == n.hash) >= 0);
3107
- removeList.forEach((item) => {
3108
- removeTransaction({
3109
- chainId: chainId || 0,
3110
- hash: item.hash,
3111
- address
3112
- });
3113
- });
3114
- const saveList = localTransactions.filter((n) => items.findIndex((m) => m.hash == n.hash) < 0);
3115
- const list2 = [
3116
- ...saveList,
3117
- ...items
3118
- ].sort((a, b) => {
3119
- const btimestamp = typeof b.timestamp === "string" ? parseInt(b.timestamp) : b.timestamp;
3120
- const atimestamp = typeof a.timestamp === "string" ? parseInt(a.timestamp) : a.timestamp;
3121
- return btimestamp - atimestamp;
3122
- });
3123
- const contractList = list2.filter((item) => item.input.toLowerCase().substring(0, 10) == "0xa9059cbb").map((item) => item.to);
3124
- getContractInfoList(contractList);
3125
- return list2;
3126
- }, [transactions, chainId, items, address]);
3127
- return {
3128
- items: list,
3129
- fetchMoreData,
3130
- hasMore
3131
- };
3132
- }
3133
- function useMatchWalletAssets({
3134
- importTokenOptions,
3135
- assetListOptions
3136
- } = {}) {
3137
- const { chainId, chain } = useMatchChain();
3138
- const importTokenQuery = useImportTokenListQuery({
3139
- chainId: chainId || 0,
3140
- ...importTokenOptions
3141
- });
3142
- const assetListQuery = useAssetListQuery({
3143
- chainId: chainId || 0,
3144
- ...assetListOptions
3145
- });
3146
- const mergedAssets = (0, import_react40.useMemo)(() => {
3147
- if (!assetListQuery.data && !importTokenQuery.data) return [];
3148
- const assetList = (assetListQuery.data || []).map((asset) => ({
3149
- ...asset,
3150
- isAuto: true
3151
- }));
3152
- const importTokens = (importTokenQuery.data || []).map((token) => ({
3153
- ...token,
3154
- isCustom: true
3155
- }));
3156
- const assetMap = /* @__PURE__ */ new Map();
3157
- assetList.forEach((asset) => {
3158
- const key = `${asset.chain_id}-${asset.address.toLowerCase()}`;
3159
- assetMap.set(key, asset);
3160
- });
3161
- importTokens.forEach((token) => {
3162
- const key = `${token.chain_id}-${token.address.toLowerCase()}`;
3163
- if (assetMap.has(key)) {
3164
- const existing = assetMap.get(key);
3165
- assetMap.set(key, {
3166
- ...existing,
3167
- symbol: token.symbol,
3168
- decimals: token.decimals,
3169
- isCustom: true,
3170
- isAuto: existing.isAuto ?? false
3171
- });
3172
- } else {
3173
- assetMap.set(key, token);
3174
- }
3175
- });
3176
- const list = Array.from(assetMap.values()).sort((a, b) => {
3177
- return (b.isAuto ? 1 : 0) - (a.isAuto ? 1 : 0);
3178
- });
3179
- const nativeToken = list.find((asset) => asset.address.toLowerCase() === NATIVE_TOKEN_ADDRESS.toLowerCase());
3180
- if (!nativeToken) {
3181
- list.unshift({
3182
- chain_id: chain?.id.toString() || "",
3183
- address: NATIVE_TOKEN_ADDRESS,
3184
- decimals: chain?.nativeCurrency.decimals || 18,
3185
- symbol: chain?.nativeCurrency.symbol,
3186
- name: chain?.nativeCurrency.name,
3187
- balance: 0,
3188
- icon: chain?.nativeCurrency.icon
3189
- });
3190
- }
3191
- return list;
3192
- }, [assetListQuery.data, importTokenQuery.data]);
3193
- return {
3194
- importTokenQuery,
3195
- assetListQuery,
3196
- mergedAssets
3197
- };
3198
- }
3199
- var MULTICALL_LIMIT = 100;
3200
- function useMatchWalletAssetList({
3201
- list
3202
- }) {
3203
- const { publicClient, chain } = useMatchChain();
3204
- const { address } = useWallet();
3205
- const { assets, setAssets } = useLocalStore_default();
3206
- const nativeToken = list.find((asset) => asset.address.toLowerCase() === NATIVE_TOKEN_ADDRESS.toLowerCase()) || {
3207
- chain_id: chain?.id || "",
3208
- address: NATIVE_TOKEN_ADDRESS,
3209
- decimals: 18,
3210
- symbol: chain?.nativeCurrency.symbol,
3211
- name: chain?.nativeCurrency.name,
3212
- balance: 0
3213
- };
3214
- const nativeBalanceQuery = (0, import_react_query8.useQuery)({
3215
- queryKey: ["nativeBalance", nativeToken?.chain_id],
3216
- queryFn: async () => {
3217
- if (!nativeToken || !publicClient) return null;
3218
- try {
3219
- return await publicClient.getBalance({
3220
- address
3221
- });
3222
- } catch (error) {
3223
- console.error("Native Token Balance Error:", error);
3224
- return null;
3225
- }
3226
- },
3227
- enabled: !!nativeToken && !!publicClient,
3228
- refetchInterval: 15e3,
3229
- // Refresh every 15 seconds
3230
- retry: 3
3231
- // Retry up to 3 times if failed
3232
- });
3233
- const erc20Tokens = (0, import_react40.useMemo)(() => list.filter((asset) => asset.address !== NATIVE_TOKEN_ADDRESS), [list]);
3234
- const erc20BalanceQuery = (0, import_react_query8.useQuery)({
3235
- queryKey: ["erc20Balances", erc20Tokens.map((token) => token.address)],
3236
- queryFn: async () => {
3237
- if (!erc20Tokens.length || !publicClient) return [];
3238
- const calls = erc20Tokens.map((token) => ({
3239
- address: token.address,
3240
- abi: import_viem13.erc20Abi,
3241
- functionName: "balanceOf",
3242
- args: [address]
3243
- }));
3244
- let balances = [];
3245
- for (let i = 0; i < calls.length; i += MULTICALL_LIMIT) {
3246
- const batchCalls = calls.slice(i, i + MULTICALL_LIMIT);
3247
- try {
3248
- const results = await publicClient.multicall({ contracts: batchCalls });
3249
- balances.push(...results);
3250
- } catch (error) {
3251
- console.error("MultiCall Error:", error);
3252
- }
3253
- }
3254
- return balances;
3255
- },
3256
- enabled: !!publicClient,
3257
- refetchInterval: 15e3,
3258
- // Refresh every 15 seconds
3259
- retry: 3
3260
- });
3261
- const enrichedAssets = (0, import_react40.useMemo)(() => {
3262
- if (!list) return [];
3263
- const erc20Balances = erc20BalanceQuery.data || [];
3264
- return list.map((asset) => {
3265
- let balanceValue = "0";
3266
- let balance = 0;
3267
- const decimals = typeof asset.decimals === "string" ? parseInt(asset.decimals) : asset.decimals;
3268
- const assetAddress = asset.address.toLowerCase();
3269
- if (assetAddress === NATIVE_TOKEN_ADDRESS) {
3270
- balanceValue = nativeBalanceQuery.data?.toString() || "0";
3271
- balance = nativeBalanceQuery.data ? Number((0, import_viem13.formatUnits)(nativeBalanceQuery.data, decimals)) : 0;
3272
- } else {
3273
- const index = erc20Tokens.findIndex((t) => t.address.toLowerCase() === assetAddress);
3274
- if (index !== -1 && erc20Balances[index] && erc20Balances[index].status === "success") {
3275
- balance = Number((0, import_viem13.formatUnits)(erc20Balances[index].result, decimals));
3276
- balanceValue = erc20Balances[index].result?.toString() || "0";
3277
- }
3278
- }
3279
- const value = asset.isAuto ? balance * (asset.price || 0) : 0;
3280
- return { ...asset, balance, value, balanceValue };
3281
- });
3282
- }, [list, nativeBalanceQuery.data, erc20BalanceQuery.data]);
3283
- (0, import_react40.useEffect)(() => {
3284
- const list2 = enrichedAssets.sort((a, b) => {
3285
- if (a.address === NATIVE_TOKEN_ADDRESS) return -1;
3286
- if (b.address === NATIVE_TOKEN_ADDRESS) return 1;
3287
- if (a.isAuto && b.isAuto) return b.value - a.value;
3288
- if (a.isAuto) return -1;
3289
- if (b.isAuto) return 1;
3290
- if (a.isCustom && !a.isAuto && a.balance > 0) return -1;
3291
- if (b.isCustom && !b.isAuto && b.balance > 0) return 1;
3292
- return 0;
3293
- });
3294
- setAssets(list2);
3295
- }, [enrichedAssets]);
3296
- return {
3297
- list: assets,
3298
- isLoading: nativeBalanceQuery.isLoading || erc20BalanceQuery.isLoading,
3299
- isFetched: nativeBalanceQuery.isFetched && erc20BalanceQuery.isFetched,
3300
- nativeBalanceQuery,
3301
- erc20BalanceQuery,
3302
- nativeBalance: nativeBalanceQuery.data,
3303
- erc20Balances: erc20BalanceQuery.data
3304
- };
3305
- }
3306
-
3307
- // src/hooks/useReceipt.tsx
3308
- var import_react41 = require("react");
3309
- var import_react_query9 = require("@tanstack/react-query");
3310
- var import_viem14 = require("viem");
3311
- var CACHE_TTL = 86400 * 30 * 1e3;
3312
- var MAX_CACHE_SIZE = 500;
3313
- var STORAGE_KEY = "match_receipt_logs";
3314
- function useReceiptCache() {
3315
- const [cache, setCache] = (0, import_react41.useState)(/* @__PURE__ */ new Map());
3316
- const isLocalStorageAvailable = (() => {
3317
- try {
3318
- const testKey = "__test__";
3319
- localStorage.setItem(testKey, "1");
3320
- localStorage.removeItem(testKey);
3321
- return true;
3322
- } catch (e) {
3323
- return false;
3324
- }
3325
- })();
3326
- (0, import_react41.useEffect)(() => {
3327
- if (isLocalStorageAvailable) {
3328
- try {
3329
- const storedData = localStorage.getItem(STORAGE_KEY);
3330
- if (storedData) {
3331
- try {
3332
- const parsed = JSON.parse(storedData);
3333
- const now = Date.now();
3334
- 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]);
3335
- setCache(new Map(validEntries));
3336
- } catch (e) {
3337
- console.error("Failed to parse cache from localStorage:", e);
3338
- }
3339
- }
3340
- } catch (e) {
3341
- console.error("Failed to load cache from localStorage:", e);
3342
- }
3343
- }
3344
- }, []);
3345
- const updateLocalStorage = (0, import_react41.useCallback)((updatedCache) => {
3346
- if (isLocalStorageAvailable) {
3347
- try {
3348
- const storedData = localStorage.getItem(STORAGE_KEY);
3349
- let parsed = {};
3350
- if (storedData) {
3351
- parsed = JSON.parse(storedData);
3352
- }
3353
- updatedCache.forEach((entry, key) => {
3354
- parsed[key] = entry;
3355
- });
3356
- localStorage.setItem(STORAGE_KEY, JSON.stringify(parsed));
3357
- } catch (e) {
3358
- console.error("Failed to update localStorage:", e);
3359
- }
3360
- }
3361
- }, []);
3362
- const set = (0, import_react41.useCallback)((key, value) => {
3363
- const now = Date.now();
3364
- const newCache = new Map(cache);
3365
- newCache.forEach((entry, k) => {
3366
- if (now - entry.timestamp > CACHE_TTL) {
3367
- newCache.delete(k);
3368
- }
3369
- });
3370
- if (newCache.size >= MAX_CACHE_SIZE) {
3371
- const firstKey = newCache.keys().next().value;
3372
- if (firstKey !== void 0) {
3373
- newCache.delete(firstKey);
3374
- }
3375
- }
3376
- newCache.set(key, { value, timestamp: now });
3377
- setCache(newCache);
3378
- updateLocalStorage(newCache);
3379
- }, [cache, updateLocalStorage]);
3380
- const get = (0, import_react41.useCallback)((key) => {
3381
- const entry = cache.get(key);
3382
- if (entry) {
3383
- if (Date.now() - entry.timestamp > CACHE_TTL) {
3384
- const newCache = new Map(cache);
3385
- newCache.delete(key);
3386
- setCache(newCache);
3387
- updateLocalStorage(newCache);
3388
- return void 0;
3389
- }
3390
- return entry.value;
3391
- }
3392
- return void 0;
3393
- }, [cache, updateLocalStorage]);
3394
- const del = (0, import_react41.useCallback)((key) => {
3395
- if (cache.has(key)) {
3396
- const newCache = new Map(cache);
3397
- newCache.delete(key);
3398
- setCache(newCache);
3399
- updateLocalStorage(newCache);
3400
- }
3401
- }, [cache, updateLocalStorage]);
3402
- const clear = (0, import_react41.useCallback)(() => {
3403
- setCache(/* @__PURE__ */ new Map());
3404
- if (isLocalStorageAvailable) {
3405
- localStorage.removeItem(STORAGE_KEY);
3406
- }
3407
- }, [isLocalStorageAvailable]);
3408
- return { set, get, del, clear };
3409
- }
3410
- function useReceipt2({
3411
- chainId,
3412
- hash
3413
- }) {
3414
- const { list } = useMatchChain();
3415
- const cache = useReceiptCache();
3416
- const chain = list?.find((item) => item.id === chainId);
3417
- const [shouldRefetch, setShouldRefetch] = (0, import_react41.useState)(true);
3418
- const query = (0, import_react_query9.useQuery)({
3419
- queryKey: ["match-tx-receipt", hash, chain],
3420
- queryFn: async () => {
3421
- if (!chain || !hash) return false;
3422
- const cacheKey = `${chain.id}-${hash}`;
3423
- if (cache.get(cacheKey)) {
3424
- return cache.get(cacheKey);
3425
- }
3426
- try {
3427
- const publicClient = (0, import_viem14.createPublicClient)({
3428
- chain: (0, import_viem14.defineChain)(chain),
3429
- transport: (0, import_viem14.http)()
3430
- });
3431
- const receipt = await publicClient.getTransactionReceipt({ hash });
3432
- if (!receipt) {
3433
- return false;
3434
- }
3435
- cache.set(cacheKey, receipt);
3436
- return receipt;
3437
- } catch (e) {
3438
- return false;
3439
- }
3440
- },
3441
- refetchInterval: shouldRefetch ? 1e4 : false
3442
- });
3443
- (0, import_react41.useEffect)(() => {
3444
- if (query.data) {
3445
- setShouldRefetch(false);
3446
- }
3447
- }, [query.data]);
3448
- return query;
3449
- }
3450
-
3451
- // src/hooks/useTransaction.tsx
3452
- var import_react42 = require("react");
3453
- var import_react_query10 = require("@tanstack/react-query");
3454
- var import_viem15 = require("viem");
3455
- var CACHE_TTL2 = 86400 * 30 * 1e3;
3456
- var MAX_CACHE_SIZE2 = 500;
3457
- var STORAGE_KEY2 = "match_transaction_logs";
3458
- function useTransactionCache() {
3459
- const [cache, setCache] = (0, import_react42.useState)(/* @__PURE__ */ new Map());
3460
- const isLocalStorageAvailable = (() => {
3461
- try {
3462
- const testKey = "__test__";
3463
- localStorage.setItem(testKey, "1");
3464
- localStorage.removeItem(testKey);
3465
- return true;
3466
- } catch (e) {
3467
- return false;
3468
- }
3469
- })();
3470
- (0, import_react42.useEffect)(() => {
3471
- if (isLocalStorageAvailable) {
3472
- try {
3473
- const storedData = localStorage.getItem(STORAGE_KEY2);
3474
- if (storedData) {
3475
- try {
3476
- const parsed = JSON.parse(storedData);
3477
- const now = Date.now();
3478
- 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]);
3479
- setCache(new Map(validEntries));
3480
- } catch (e) {
3481
- console.error("Failed to parse cache from localStorage:", e);
3482
- }
3483
- }
3484
- } catch (e) {
3485
- console.error("Failed to load cache from localStorage:", e);
3486
- }
3487
- }
3488
- }, []);
3489
- const updateLocalStorage = (0, import_react42.useCallback)((updatedCache) => {
3490
- if (isLocalStorageAvailable) {
3491
- try {
3492
- const storedData = localStorage.getItem(STORAGE_KEY2);
3493
- let parsed = {};
3494
- if (storedData) {
3495
- parsed = JSON.parse(storedData);
3496
- }
3497
- updatedCache.forEach((entry, key) => {
3498
- parsed[key] = entry;
3499
- });
3500
- localStorage.setItem(STORAGE_KEY2, JSON.stringify(parsed));
3501
- } catch (e) {
3502
- console.error("Failed to update localStorage:", e);
3503
- }
3504
- }
3505
- }, []);
3506
- const set = (0, import_react42.useCallback)((key, value) => {
3507
- const now = Date.now();
3508
- const newCache = new Map(cache);
3509
- newCache.forEach((entry, k) => {
3510
- if (now - entry.timestamp > CACHE_TTL2) {
3511
- newCache.delete(k);
3512
- }
3513
- });
3514
- if (newCache.size >= MAX_CACHE_SIZE2) {
3515
- const firstKey = newCache.keys().next().value;
3516
- if (firstKey !== void 0) {
3517
- newCache.delete(firstKey);
3518
- }
3519
- }
3520
- newCache.set(key, { value, timestamp: now });
3521
- setCache(newCache);
3522
- updateLocalStorage(newCache);
3523
- }, [cache, updateLocalStorage]);
3524
- const get = (0, import_react42.useCallback)((key) => {
3525
- const entry = cache.get(key);
3526
- if (entry) {
3527
- if (Date.now() - entry.timestamp > CACHE_TTL2) {
3528
- const newCache = new Map(cache);
3529
- newCache.delete(key);
3530
- setCache(newCache);
3531
- updateLocalStorage(newCache);
3532
- return void 0;
3533
- }
3534
- return entry.value;
3535
- }
3536
- return void 0;
3537
- }, [cache, updateLocalStorage]);
3538
- const del = (0, import_react42.useCallback)((key) => {
3539
- if (cache.has(key)) {
3540
- const newCache = new Map(cache);
3541
- newCache.delete(key);
3542
- setCache(newCache);
3543
- updateLocalStorage(newCache);
3544
- }
3545
- }, [cache, updateLocalStorage]);
3546
- const clear = (0, import_react42.useCallback)(() => {
3547
- setCache(/* @__PURE__ */ new Map());
3548
- if (isLocalStorageAvailable) {
3549
- localStorage.removeItem(STORAGE_KEY2);
3550
- }
3551
- }, [isLocalStorageAvailable]);
3552
- return { set, get, del, clear };
3553
- }
3554
- function useTransaction({
3555
- chainId,
3556
- hash
3557
- }) {
3558
- const { list } = useMatchChain();
3559
- const cache = useTransactionCache();
3560
- const chain = list?.find((item) => item.id === chainId);
3561
- const [shouldRefetch, setShouldRefetch] = (0, import_react42.useState)(true);
3562
- const query = (0, import_react_query10.useQuery)({
3563
- queryKey: ["match-tx-transaction", hash, chain],
3564
- queryFn: async () => {
3565
- if (!chain || !hash) return false;
3566
- const cacheKey = `${chain.id}-${hash}`;
3567
- if (cache.get(cacheKey)) {
3568
- return cache.get(cacheKey);
3569
- }
3570
- try {
3571
- const publicClient = (0, import_viem15.createPublicClient)({
3572
- chain: (0, import_viem15.defineChain)(chain),
3573
- transport: (0, import_viem15.http)()
3574
- });
3575
- const transaction = await publicClient.getTransaction({ hash });
3576
- if (!transaction) {
3577
- return false;
3578
- }
3579
- cache.set(cacheKey, transaction);
3580
- return transaction;
3581
- } catch (e) {
3582
- return false;
3583
- }
3584
- },
3585
- refetchInterval: shouldRefetch ? 1e4 : false
3586
- });
3587
- (0, import_react42.useEffect)(() => {
3588
- if (query.data) {
3589
- setShouldRefetch(false);
3590
- }
3591
- }, [query.data]);
3592
- return query;
3593
- }
3594
- // Annotate the CommonJS export names for ESM import in node:
3595
- 0 && (module.exports = {
3596
- useCopyClipboard,
3597
- useHash,
3598
- useLayout,
3599
- useMatchChain,
3600
- useMatchEvents,
3601
- useMatchWallet,
3602
- useMatchWalletAssetList,
3603
- useMatchWalletAssets,
3604
- useMatchWalletRecords,
3605
- useModal,
3606
- useReceipt,
3607
- useToast,
3608
- useTransaction,
3609
- useUserInfo,
3610
- useWallet
3611
- });
3612
- //# sourceMappingURL=hooks.js.map