@directcryptopay/sdk 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/README.md +51 -87
  2. package/dist/core/config.d.ts +9 -46
  3. package/dist/core/iframe.d.ts +16 -0
  4. package/dist/dcp-sdk.umd.js +1 -12811
  5. package/dist/dcp.d.ts +12 -5
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +219 -2
  8. package/dist/types.d.ts +26 -164
  9. package/package.json +3 -13
  10. package/dist/ExchangeController-CPMQq6Q-.js +0 -217
  11. package/dist/HelpersUtil-DfMFC7Bf.js +0 -120
  12. package/dist/NavigationUtil-kj9LEOOd.js +0 -8
  13. package/dist/PhArrowCircleDown-lsK25DCk.js +0 -73
  14. package/dist/PhArrowClockwise-NeKHZ1co.js +0 -73
  15. package/dist/PhArrowDown-C9AkNvLs.js +0 -73
  16. package/dist/PhArrowLeft-RNfIQP1X.js +0 -73
  17. package/dist/PhArrowRight-DM1tna0G.js +0 -73
  18. package/dist/PhArrowSquareOut-S5XYbAZj.js +0 -73
  19. package/dist/PhArrowUp-DmktzOWy.js +0 -73
  20. package/dist/PhArrowUpRight-BkNeW_5i.js +0 -73
  21. package/dist/PhArrowsClockwise-CQ4pG76b.js +0 -73
  22. package/dist/PhArrowsDownUp-H6gxaNM6.js +0 -73
  23. package/dist/PhArrowsLeftRight-DZSsfMR6.js +0 -73
  24. package/dist/PhBank-4_9QzqIB.js +0 -73
  25. package/dist/PhBrowser-B-JSznId.js +0 -73
  26. package/dist/PhCaretDown-vV5oHMNi.js +0 -73
  27. package/dist/PhCaretLeft-BLo6Y_f4.js +0 -73
  28. package/dist/PhCaretRight-CqQN4TT3.js +0 -73
  29. package/dist/PhCaretUp-Df7UCAHy.js +0 -73
  30. package/dist/PhCheck-gtpfK4ed.js +0 -73
  31. package/dist/PhCircleHalf-Uq7dwDYw.js +0 -73
  32. package/dist/PhClock-SDCW-NmF.js +0 -73
  33. package/dist/PhCompass-B7hgtdx-.js +0 -73
  34. package/dist/PhCopy-BcnhyXCy.js +0 -73
  35. package/dist/PhCreditCard-BJjByVgu.js +0 -73
  36. package/dist/PhCurrencyDollar-B7ZXqXBy.js +0 -73
  37. package/dist/PhDesktop-B3VKPuJx.js +0 -73
  38. package/dist/PhDeviceMobile-Bnd0TYEH.js +0 -73
  39. package/dist/PhDotsThree-yyMWyZ-R.js +0 -73
  40. package/dist/PhEnvelope-67uzHbI9.js +0 -73
  41. package/dist/PhFunnelSimple-B-DCsloI.js +0 -73
  42. package/dist/PhGlobe-TMm_6qGk.js +0 -73
  43. package/dist/PhIdentificationCard-CePPD2xc.js +0 -73
  44. package/dist/PhImage-gY96WtHR.js +0 -73
  45. package/dist/PhInfo-DRQM_ZDP.js +0 -73
  46. package/dist/PhLightbulb-B0TxPfZ1.js +0 -73
  47. package/dist/PhMagnifyingGlass-B8si5_6W.js +0 -73
  48. package/dist/PhPaperPlaneRight-DVu5PLYd.js +0 -73
  49. package/dist/PhPlus-BfTsQnUz.js +0 -73
  50. package/dist/PhPower-CxYUGOWn.js +0 -73
  51. package/dist/PhPuzzlePiece-CQ4wh0gV.js +0 -73
  52. package/dist/PhQrCode-BuJ97NYJ.js +0 -73
  53. package/dist/PhQuestion-kJoP8Mja.js +0 -73
  54. package/dist/PhQuestionMark-C46ZkFpu.js +0 -73
  55. package/dist/PhSealCheck-Eh8jVqSN.js +0 -73
  56. package/dist/PhSignOut-jk97OSVt.js +0 -73
  57. package/dist/PhSpinner-CiYOhwMg.js +0 -73
  58. package/dist/PhTrash-pxerMqzd.js +0 -73
  59. package/dist/PhUser-BMg0VV4A.js +0 -73
  60. package/dist/PhVault-DYQvx5A-.js +0 -73
  61. package/dist/PhWarning-NLC5Mj87.js +0 -73
  62. package/dist/PhWarningCircle-Ch2jU9fA.js +0 -73
  63. package/dist/PhX-Bx4wpwm3.js +0 -73
  64. package/dist/SwapController-Cti0Cyxa.js +0 -457
  65. package/dist/ccip-CKZd2XJ7.js +0 -150
  66. package/dist/core/api.d.ts +0 -39
  67. package/dist/core/logic.d.ts +0 -2
  68. package/dist/core/wallet.d.ts +0 -55
  69. package/dist/data-capture-7D5CL385.js +0 -490
  70. package/dist/email-AmK0INbZ.js +0 -344
  71. package/dist/embedded-wallet-Pn0I_XLn.js +0 -820
  72. package/dist/features-x8XNprEe.js +0 -274
  73. package/dist/hashTypedData-B50-z0AA.js +0 -197
  74. package/dist/if-defined-CdZSZ6UL.js +0 -10
  75. package/dist/index-4ewUtPPp.js +0 -7981
  76. package/dist/index-51l86yqx.js +0 -276
  77. package/dist/index-B6K56LF_.js +0 -85
  78. package/dist/index-BAmv9PxJ.js +0 -257
  79. package/dist/index-BEswjY9r.js +0 -117
  80. package/dist/index-BSKRq56S.js +0 -355
  81. package/dist/index-BaygXQxx.js +0 -172
  82. package/dist/index-BcPxaHr5.js +0 -118
  83. package/dist/index-Bjt7nGaJ.js +0 -199
  84. package/dist/index-BkTSyAJb.js +0 -21991
  85. package/dist/index-Bmnl7l2U.js +0 -555
  86. package/dist/index-BvPvouSq.js +0 -56
  87. package/dist/index-C-6iznUO.js +0 -174
  88. package/dist/index-C1QEJL-2.js +0 -572
  89. package/dist/index-C4M5s_AM.js +0 -228
  90. package/dist/index-CEqcN8QP.js +0 -1175
  91. package/dist/index-CM3YaYca.js +0 -8189
  92. package/dist/index-CclBLA5r.js +0 -517
  93. package/dist/index-ChTxJOiF.js +0 -46
  94. package/dist/index-CmAv0Tzr.js +0 -86
  95. package/dist/index-CmvoKY4x.js +0 -125
  96. package/dist/index-D7PmdQ9B.js +0 -1750
  97. package/dist/index-D7k2Pc4e.js +0 -1083
  98. package/dist/index-D7lmgqUR.js +0 -153
  99. package/dist/index-DG_-qYze.js +0 -107
  100. package/dist/index-DHot9Fdb.js +0 -218
  101. package/dist/index-DV2LrPtU.js +0 -123
  102. package/dist/index-DYBaJQ2W.js +0 -65
  103. package/dist/index-D_8VUmn1.js +0 -41543
  104. package/dist/index-D_gLn3rT.js +0 -100
  105. package/dist/index-DqcVUSC9.js +0 -62
  106. package/dist/index-I7VDqINw.js +0 -128
  107. package/dist/index-Oz72I9VP.js +0 -209
  108. package/dist/index-UclsHkJ0.js +0 -118
  109. package/dist/index-X8zir_1j.js +0 -110
  110. package/dist/index-XvlWKGCu.js +0 -1281
  111. package/dist/index-dO97xPlt.js +0 -171
  112. package/dist/index-uBeF6OAB.js +0 -387
  113. package/dist/index-zeA_RiCV.js +0 -159
  114. package/dist/localBatchGatewayRequest-BUZHGdjw.js +0 -91
  115. package/dist/onramp-CdnBuF0r.js +0 -855
  116. package/dist/parseSignature-CcyTNGr4.js +0 -3304
  117. package/dist/pay-with-exchange-CSM6WCOV.js +0 -525
  118. package/dist/property-Bd8U3_QP.js +0 -618
  119. package/dist/receive-DooMu4Dx.js +0 -232
  120. package/dist/ref-CpgjXAw7.js +0 -107
  121. package/dist/send-3T7CyYic.js +0 -1166
  122. package/dist/socials-Dt-iHL17.js +0 -620
  123. package/dist/swaps-CjA9Es42.js +0 -1760
  124. package/dist/transactions-nRm9DVzn.js +0 -37
  125. package/dist/ui/Modal.d.ts +0 -9
  126. package/dist/ui/index.d.ts +0 -6
  127. package/dist/w3m-modal-NV25AXhM.js +0 -1706
@@ -1,1750 +0,0 @@
1
- import { dN as he, dp as x, cU as de, cV as ge, cX as me, cY as j } from "./index-D_8VUmn1.js";
2
- import { n as z, c as we } from "./index-CEqcN8QP.js";
3
- import "./index-I7VDqINw.js";
4
- var O = {}, tt, Tt;
5
- function ye() {
6
- return Tt || (Tt = 1, tt = function() {
7
- return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
8
- }), tt;
9
- }
10
- var et = {}, k = {}, Pt;
11
- function $() {
12
- if (Pt) return k;
13
- Pt = 1;
14
- let r;
15
- const o = [
16
- 0,
17
- // Not used
18
- 26,
19
- 44,
20
- 70,
21
- 100,
22
- 134,
23
- 172,
24
- 196,
25
- 242,
26
- 292,
27
- 346,
28
- 404,
29
- 466,
30
- 532,
31
- 581,
32
- 655,
33
- 733,
34
- 815,
35
- 901,
36
- 991,
37
- 1085,
38
- 1156,
39
- 1258,
40
- 1364,
41
- 1474,
42
- 1588,
43
- 1706,
44
- 1828,
45
- 1921,
46
- 2051,
47
- 2185,
48
- 2323,
49
- 2465,
50
- 2611,
51
- 2761,
52
- 2876,
53
- 3034,
54
- 3196,
55
- 3362,
56
- 3532,
57
- 3706
58
- ];
59
- return k.getSymbolSize = function(n) {
60
- if (!n) throw new Error('"version" cannot be null or undefined');
61
- if (n < 1 || n > 40) throw new Error('"version" should be in range from 1 to 40');
62
- return n * 4 + 17;
63
- }, k.getSymbolTotalCodewords = function(n) {
64
- return o[n];
65
- }, k.getBCHDigit = function(i) {
66
- let n = 0;
67
- for (; i !== 0; )
68
- n++, i >>>= 1;
69
- return n;
70
- }, k.setToSJISFunction = function(n) {
71
- if (typeof n != "function")
72
- throw new Error('"toSJISFunc" is not a valid function.');
73
- r = n;
74
- }, k.isKanjiModeEnabled = function() {
75
- return typeof r < "u";
76
- }, k.toSJIS = function(n) {
77
- return r(n);
78
- }, k;
79
- }
80
- var nt = {}, vt;
81
- function It() {
82
- return vt || (vt = 1, (function(r) {
83
- r.L = { bit: 1 }, r.M = { bit: 0 }, r.Q = { bit: 3 }, r.H = { bit: 2 };
84
- function o(i) {
85
- if (typeof i != "string")
86
- throw new Error("Param is not a string");
87
- switch (i.toLowerCase()) {
88
- case "l":
89
- case "low":
90
- return r.L;
91
- case "m":
92
- case "medium":
93
- return r.M;
94
- case "q":
95
- case "quartile":
96
- return r.Q;
97
- case "h":
98
- case "high":
99
- return r.H;
100
- default:
101
- throw new Error("Unknown EC Level: " + i);
102
- }
103
- }
104
- r.isValid = function(n) {
105
- return n && typeof n.bit < "u" && n.bit >= 0 && n.bit < 4;
106
- }, r.from = function(n, t) {
107
- if (r.isValid(n))
108
- return n;
109
- try {
110
- return o(n);
111
- } catch {
112
- return t;
113
- }
114
- };
115
- })(nt)), nt;
116
- }
117
- var rt, Lt;
118
- function Ce() {
119
- if (Lt) return rt;
120
- Lt = 1;
121
- function r() {
122
- this.buffer = [], this.length = 0;
123
- }
124
- return r.prototype = {
125
- get: function(o) {
126
- const i = Math.floor(o / 8);
127
- return (this.buffer[i] >>> 7 - o % 8 & 1) === 1;
128
- },
129
- put: function(o, i) {
130
- for (let n = 0; n < i; n++)
131
- this.putBit((o >>> i - n - 1 & 1) === 1);
132
- },
133
- getLengthInBits: function() {
134
- return this.length;
135
- },
136
- putBit: function(o) {
137
- const i = Math.floor(this.length / 8);
138
- this.buffer.length <= i && this.buffer.push(0), o && (this.buffer[i] |= 128 >>> this.length % 8), this.length++;
139
- }
140
- }, rt = r, rt;
141
- }
142
- var ot, Dt;
143
- function Ee() {
144
- if (Dt) return ot;
145
- Dt = 1;
146
- function r(o) {
147
- if (!o || o < 1)
148
- throw new Error("BitMatrix size must be defined and greater than 0");
149
- this.size = o, this.data = new Uint8Array(o * o), this.reservedBit = new Uint8Array(o * o);
150
- }
151
- return r.prototype.set = function(o, i, n, t) {
152
- const e = o * this.size + i;
153
- this.data[e] = n, t && (this.reservedBit[e] = !0);
154
- }, r.prototype.get = function(o, i) {
155
- return this.data[o * this.size + i];
156
- }, r.prototype.xor = function(o, i, n) {
157
- this.data[o * this.size + i] ^= n;
158
- }, r.prototype.isReserved = function(o, i) {
159
- return this.reservedBit[o * this.size + i];
160
- }, ot = r, ot;
161
- }
162
- var it = {}, qt;
163
- function pe() {
164
- return qt || (qt = 1, (function(r) {
165
- const o = $().getSymbolSize;
166
- r.getRowColCoords = function(n) {
167
- if (n === 1) return [];
168
- const t = Math.floor(n / 7) + 2, e = o(n), s = e === 145 ? 26 : Math.ceil((e - 13) / (2 * t - 2)) * 2, a = [e - 7];
169
- for (let u = 1; u < t - 1; u++)
170
- a[u] = a[u - 1] - s;
171
- return a.push(6), a.reverse();
172
- }, r.getPositions = function(n) {
173
- const t = [], e = r.getRowColCoords(n), s = e.length;
174
- for (let a = 0; a < s; a++)
175
- for (let u = 0; u < s; u++)
176
- a === 0 && u === 0 || // top-left
177
- a === 0 && u === s - 1 || // bottom-left
178
- a === s - 1 && u === 0 || t.push([e[a], e[u]]);
179
- return t;
180
- };
181
- })(it)), it;
182
- }
183
- var st = {}, _t;
184
- function Be() {
185
- if (_t) return st;
186
- _t = 1;
187
- const r = $().getSymbolSize, o = 7;
188
- return st.getPositions = function(n) {
189
- const t = r(n);
190
- return [
191
- // top-left
192
- [0, 0],
193
- // top-right
194
- [t - o, 0],
195
- // bottom-left
196
- [0, t - o]
197
- ];
198
- }, st;
199
- }
200
- var ut = {}, Ut;
201
- function Re() {
202
- return Ut || (Ut = 1, (function(r) {
203
- r.Patterns = {
204
- PATTERN000: 0,
205
- PATTERN001: 1,
206
- PATTERN010: 2,
207
- PATTERN011: 3,
208
- PATTERN100: 4,
209
- PATTERN101: 5,
210
- PATTERN110: 6,
211
- PATTERN111: 7
212
- };
213
- const o = {
214
- N1: 3,
215
- N2: 3,
216
- N3: 40,
217
- N4: 10
218
- };
219
- r.isValid = function(t) {
220
- return t != null && t !== "" && !isNaN(t) && t >= 0 && t <= 7;
221
- }, r.from = function(t) {
222
- return r.isValid(t) ? parseInt(t, 10) : void 0;
223
- }, r.getPenaltyN1 = function(t) {
224
- const e = t.size;
225
- let s = 0, a = 0, u = 0, c = null, m = null;
226
- for (let A = 0; A < e; A++) {
227
- a = u = 0, c = m = null;
228
- for (let E = 0; E < e; E++) {
229
- let d = t.get(A, E);
230
- d === c ? a++ : (a >= 5 && (s += o.N1 + (a - 5)), c = d, a = 1), d = t.get(E, A), d === m ? u++ : (u >= 5 && (s += o.N1 + (u - 5)), m = d, u = 1);
231
- }
232
- a >= 5 && (s += o.N1 + (a - 5)), u >= 5 && (s += o.N1 + (u - 5));
233
- }
234
- return s;
235
- }, r.getPenaltyN2 = function(t) {
236
- const e = t.size;
237
- let s = 0;
238
- for (let a = 0; a < e - 1; a++)
239
- for (let u = 0; u < e - 1; u++) {
240
- const c = t.get(a, u) + t.get(a, u + 1) + t.get(a + 1, u) + t.get(a + 1, u + 1);
241
- (c === 4 || c === 0) && s++;
242
- }
243
- return s * o.N2;
244
- }, r.getPenaltyN3 = function(t) {
245
- const e = t.size;
246
- let s = 0, a = 0, u = 0;
247
- for (let c = 0; c < e; c++) {
248
- a = u = 0;
249
- for (let m = 0; m < e; m++)
250
- a = a << 1 & 2047 | t.get(c, m), m >= 10 && (a === 1488 || a === 93) && s++, u = u << 1 & 2047 | t.get(m, c), m >= 10 && (u === 1488 || u === 93) && s++;
251
- }
252
- return s * o.N3;
253
- }, r.getPenaltyN4 = function(t) {
254
- let e = 0;
255
- const s = t.data.length;
256
- for (let u = 0; u < s; u++) e += t.data[u];
257
- return Math.abs(Math.ceil(e * 100 / s / 5) - 10) * o.N4;
258
- };
259
- function i(n, t, e) {
260
- switch (n) {
261
- case r.Patterns.PATTERN000:
262
- return (t + e) % 2 === 0;
263
- case r.Patterns.PATTERN001:
264
- return t % 2 === 0;
265
- case r.Patterns.PATTERN010:
266
- return e % 3 === 0;
267
- case r.Patterns.PATTERN011:
268
- return (t + e) % 3 === 0;
269
- case r.Patterns.PATTERN100:
270
- return (Math.floor(t / 2) + Math.floor(e / 3)) % 2 === 0;
271
- case r.Patterns.PATTERN101:
272
- return t * e % 2 + t * e % 3 === 0;
273
- case r.Patterns.PATTERN110:
274
- return (t * e % 2 + t * e % 3) % 2 === 0;
275
- case r.Patterns.PATTERN111:
276
- return (t * e % 3 + (t + e) % 2) % 2 === 0;
277
- default:
278
- throw new Error("bad maskPattern:" + n);
279
- }
280
- }
281
- r.applyMask = function(t, e) {
282
- const s = e.size;
283
- for (let a = 0; a < s; a++)
284
- for (let u = 0; u < s; u++)
285
- e.isReserved(u, a) || e.xor(u, a, i(t, u, a));
286
- }, r.getBestMask = function(t, e) {
287
- const s = Object.keys(r.Patterns).length;
288
- let a = 0, u = 1 / 0;
289
- for (let c = 0; c < s; c++) {
290
- e(c), r.applyMask(c, t);
291
- const m = r.getPenaltyN1(t) + r.getPenaltyN2(t) + r.getPenaltyN3(t) + r.getPenaltyN4(t);
292
- r.applyMask(c, t), m < u && (u = m, a = c);
293
- }
294
- return a;
295
- };
296
- })(ut)), ut;
297
- }
298
- var Q = {}, kt;
299
- function ie() {
300
- if (kt) return Q;
301
- kt = 1;
302
- const r = It(), o = [
303
- // L M Q H
304
- 1,
305
- 1,
306
- 1,
307
- 1,
308
- 1,
309
- 1,
310
- 1,
311
- 1,
312
- 1,
313
- 1,
314
- 2,
315
- 2,
316
- 1,
317
- 2,
318
- 2,
319
- 4,
320
- 1,
321
- 2,
322
- 4,
323
- 4,
324
- 2,
325
- 4,
326
- 4,
327
- 4,
328
- 2,
329
- 4,
330
- 6,
331
- 5,
332
- 2,
333
- 4,
334
- 6,
335
- 6,
336
- 2,
337
- 5,
338
- 8,
339
- 8,
340
- 4,
341
- 5,
342
- 8,
343
- 8,
344
- 4,
345
- 5,
346
- 8,
347
- 11,
348
- 4,
349
- 8,
350
- 10,
351
- 11,
352
- 4,
353
- 9,
354
- 12,
355
- 16,
356
- 4,
357
- 9,
358
- 16,
359
- 16,
360
- 6,
361
- 10,
362
- 12,
363
- 18,
364
- 6,
365
- 10,
366
- 17,
367
- 16,
368
- 6,
369
- 11,
370
- 16,
371
- 19,
372
- 6,
373
- 13,
374
- 18,
375
- 21,
376
- 7,
377
- 14,
378
- 21,
379
- 25,
380
- 8,
381
- 16,
382
- 20,
383
- 25,
384
- 8,
385
- 17,
386
- 23,
387
- 25,
388
- 9,
389
- 17,
390
- 23,
391
- 34,
392
- 9,
393
- 18,
394
- 25,
395
- 30,
396
- 10,
397
- 20,
398
- 27,
399
- 32,
400
- 12,
401
- 21,
402
- 29,
403
- 35,
404
- 12,
405
- 23,
406
- 34,
407
- 37,
408
- 12,
409
- 25,
410
- 34,
411
- 40,
412
- 13,
413
- 26,
414
- 35,
415
- 42,
416
- 14,
417
- 28,
418
- 38,
419
- 45,
420
- 15,
421
- 29,
422
- 40,
423
- 48,
424
- 16,
425
- 31,
426
- 43,
427
- 51,
428
- 17,
429
- 33,
430
- 45,
431
- 54,
432
- 18,
433
- 35,
434
- 48,
435
- 57,
436
- 19,
437
- 37,
438
- 51,
439
- 60,
440
- 19,
441
- 38,
442
- 53,
443
- 63,
444
- 20,
445
- 40,
446
- 56,
447
- 66,
448
- 21,
449
- 43,
450
- 59,
451
- 70,
452
- 22,
453
- 45,
454
- 62,
455
- 74,
456
- 24,
457
- 47,
458
- 65,
459
- 77,
460
- 25,
461
- 49,
462
- 68,
463
- 81
464
- ], i = [
465
- // L M Q H
466
- 7,
467
- 10,
468
- 13,
469
- 17,
470
- 10,
471
- 16,
472
- 22,
473
- 28,
474
- 15,
475
- 26,
476
- 36,
477
- 44,
478
- 20,
479
- 36,
480
- 52,
481
- 64,
482
- 26,
483
- 48,
484
- 72,
485
- 88,
486
- 36,
487
- 64,
488
- 96,
489
- 112,
490
- 40,
491
- 72,
492
- 108,
493
- 130,
494
- 48,
495
- 88,
496
- 132,
497
- 156,
498
- 60,
499
- 110,
500
- 160,
501
- 192,
502
- 72,
503
- 130,
504
- 192,
505
- 224,
506
- 80,
507
- 150,
508
- 224,
509
- 264,
510
- 96,
511
- 176,
512
- 260,
513
- 308,
514
- 104,
515
- 198,
516
- 288,
517
- 352,
518
- 120,
519
- 216,
520
- 320,
521
- 384,
522
- 132,
523
- 240,
524
- 360,
525
- 432,
526
- 144,
527
- 280,
528
- 408,
529
- 480,
530
- 168,
531
- 308,
532
- 448,
533
- 532,
534
- 180,
535
- 338,
536
- 504,
537
- 588,
538
- 196,
539
- 364,
540
- 546,
541
- 650,
542
- 224,
543
- 416,
544
- 600,
545
- 700,
546
- 224,
547
- 442,
548
- 644,
549
- 750,
550
- 252,
551
- 476,
552
- 690,
553
- 816,
554
- 270,
555
- 504,
556
- 750,
557
- 900,
558
- 300,
559
- 560,
560
- 810,
561
- 960,
562
- 312,
563
- 588,
564
- 870,
565
- 1050,
566
- 336,
567
- 644,
568
- 952,
569
- 1110,
570
- 360,
571
- 700,
572
- 1020,
573
- 1200,
574
- 390,
575
- 728,
576
- 1050,
577
- 1260,
578
- 420,
579
- 784,
580
- 1140,
581
- 1350,
582
- 450,
583
- 812,
584
- 1200,
585
- 1440,
586
- 480,
587
- 868,
588
- 1290,
589
- 1530,
590
- 510,
591
- 924,
592
- 1350,
593
- 1620,
594
- 540,
595
- 980,
596
- 1440,
597
- 1710,
598
- 570,
599
- 1036,
600
- 1530,
601
- 1800,
602
- 570,
603
- 1064,
604
- 1590,
605
- 1890,
606
- 600,
607
- 1120,
608
- 1680,
609
- 1980,
610
- 630,
611
- 1204,
612
- 1770,
613
- 2100,
614
- 660,
615
- 1260,
616
- 1860,
617
- 2220,
618
- 720,
619
- 1316,
620
- 1950,
621
- 2310,
622
- 750,
623
- 1372,
624
- 2040,
625
- 2430
626
- ];
627
- return Q.getBlocksCount = function(t, e) {
628
- switch (e) {
629
- case r.L:
630
- return o[(t - 1) * 4 + 0];
631
- case r.M:
632
- return o[(t - 1) * 4 + 1];
633
- case r.Q:
634
- return o[(t - 1) * 4 + 2];
635
- case r.H:
636
- return o[(t - 1) * 4 + 3];
637
- default:
638
- return;
639
- }
640
- }, Q.getTotalCodewordsCount = function(t, e) {
641
- switch (e) {
642
- case r.L:
643
- return i[(t - 1) * 4 + 0];
644
- case r.M:
645
- return i[(t - 1) * 4 + 1];
646
- case r.Q:
647
- return i[(t - 1) * 4 + 2];
648
- case r.H:
649
- return i[(t - 1) * 4 + 3];
650
- default:
651
- return;
652
- }
653
- }, Q;
654
- }
655
- var at = {}, J = {}, Ft;
656
- function Ae() {
657
- if (Ft) return J;
658
- Ft = 1;
659
- const r = new Uint8Array(512), o = new Uint8Array(256);
660
- return (function() {
661
- let n = 1;
662
- for (let t = 0; t < 255; t++)
663
- r[t] = n, o[n] = t, n <<= 1, n & 256 && (n ^= 285);
664
- for (let t = 255; t < 512; t++)
665
- r[t] = r[t - 255];
666
- })(), J.log = function(n) {
667
- if (n < 1) throw new Error("log(" + n + ")");
668
- return o[n];
669
- }, J.exp = function(n) {
670
- return r[n];
671
- }, J.mul = function(n, t) {
672
- return n === 0 || t === 0 ? 0 : r[o[n] + o[t]];
673
- }, J;
674
- }
675
- var zt;
676
- function be() {
677
- return zt || (zt = 1, (function(r) {
678
- const o = Ae();
679
- r.mul = function(n, t) {
680
- const e = new Uint8Array(n.length + t.length - 1);
681
- for (let s = 0; s < n.length; s++)
682
- for (let a = 0; a < t.length; a++)
683
- e[s + a] ^= o.mul(n[s], t[a]);
684
- return e;
685
- }, r.mod = function(n, t) {
686
- let e = new Uint8Array(n);
687
- for (; e.length - t.length >= 0; ) {
688
- const s = e[0];
689
- for (let u = 0; u < t.length; u++)
690
- e[u] ^= o.mul(t[u], s);
691
- let a = 0;
692
- for (; a < e.length && e[a] === 0; ) a++;
693
- e = e.slice(a);
694
- }
695
- return e;
696
- }, r.generateECPolynomial = function(n) {
697
- let t = new Uint8Array([1]);
698
- for (let e = 0; e < n; e++)
699
- t = r.mul(t, new Uint8Array([1, o.exp(e)]));
700
- return t;
701
- };
702
- })(at)), at;
703
- }
704
- var ct, $t;
705
- function Ie() {
706
- if ($t) return ct;
707
- $t = 1;
708
- const r = be();
709
- function o(i) {
710
- this.genPoly = void 0, this.degree = i, this.degree && this.initialize(this.degree);
711
- }
712
- return o.prototype.initialize = function(n) {
713
- this.degree = n, this.genPoly = r.generateECPolynomial(this.degree);
714
- }, o.prototype.encode = function(n) {
715
- if (!this.genPoly)
716
- throw new Error("Encoder not initialized");
717
- const t = new Uint8Array(n.length + this.degree);
718
- t.set(n);
719
- const e = r.mod(t, this.genPoly), s = this.degree - e.length;
720
- if (s > 0) {
721
- const a = new Uint8Array(this.degree);
722
- return a.set(e, s), a;
723
- }
724
- return e;
725
- }, ct = o, ct;
726
- }
727
- var lt = {}, ft = {}, ht = {}, Vt;
728
- function se() {
729
- return Vt || (Vt = 1, ht.isValid = function(o) {
730
- return !isNaN(o) && o >= 1 && o <= 40;
731
- }), ht;
732
- }
733
- var v = {}, Kt;
734
- function ue() {
735
- if (Kt) return v;
736
- Kt = 1;
737
- const r = "[0-9]+", o = "[A-Z $%*+\\-./:]+";
738
- let i = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
739
- i = i.replace(/u/g, "\\u");
740
- const n = "(?:(?![A-Z0-9 $%*+\\-./:]|" + i + `)(?:.|[\r
741
- ]))+`;
742
- v.KANJI = new RegExp(i, "g"), v.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g"), v.BYTE = new RegExp(n, "g"), v.NUMERIC = new RegExp(r, "g"), v.ALPHANUMERIC = new RegExp(o, "g");
743
- const t = new RegExp("^" + i + "$"), e = new RegExp("^" + r + "$"), s = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
744
- return v.testKanji = function(u) {
745
- return t.test(u);
746
- }, v.testNumeric = function(u) {
747
- return e.test(u);
748
- }, v.testAlphanumeric = function(u) {
749
- return s.test(u);
750
- }, v;
751
- }
752
- var Ot;
753
- function V() {
754
- return Ot || (Ot = 1, (function(r) {
755
- const o = se(), i = ue();
756
- r.NUMERIC = {
757
- id: "Numeric",
758
- bit: 1,
759
- ccBits: [10, 12, 14]
760
- }, r.ALPHANUMERIC = {
761
- id: "Alphanumeric",
762
- bit: 2,
763
- ccBits: [9, 11, 13]
764
- }, r.BYTE = {
765
- id: "Byte",
766
- bit: 4,
767
- ccBits: [8, 16, 16]
768
- }, r.KANJI = {
769
- id: "Kanji",
770
- bit: 8,
771
- ccBits: [8, 10, 12]
772
- }, r.MIXED = {
773
- bit: -1
774
- }, r.getCharCountIndicator = function(e, s) {
775
- if (!e.ccBits) throw new Error("Invalid mode: " + e);
776
- if (!o.isValid(s))
777
- throw new Error("Invalid version: " + s);
778
- return s >= 1 && s < 10 ? e.ccBits[0] : s < 27 ? e.ccBits[1] : e.ccBits[2];
779
- }, r.getBestModeForData = function(e) {
780
- return i.testNumeric(e) ? r.NUMERIC : i.testAlphanumeric(e) ? r.ALPHANUMERIC : i.testKanji(e) ? r.KANJI : r.BYTE;
781
- }, r.toString = function(e) {
782
- if (e && e.id) return e.id;
783
- throw new Error("Invalid mode");
784
- }, r.isValid = function(e) {
785
- return e && e.bit && e.ccBits;
786
- };
787
- function n(t) {
788
- if (typeof t != "string")
789
- throw new Error("Param is not a string");
790
- switch (t.toLowerCase()) {
791
- case "numeric":
792
- return r.NUMERIC;
793
- case "alphanumeric":
794
- return r.ALPHANUMERIC;
795
- case "kanji":
796
- return r.KANJI;
797
- case "byte":
798
- return r.BYTE;
799
- default:
800
- throw new Error("Unknown mode: " + t);
801
- }
802
- }
803
- r.from = function(e, s) {
804
- if (r.isValid(e))
805
- return e;
806
- try {
807
- return n(e);
808
- } catch {
809
- return s;
810
- }
811
- };
812
- })(ft)), ft;
813
- }
814
- var Ht;
815
- function Ne() {
816
- return Ht || (Ht = 1, (function(r) {
817
- const o = $(), i = ie(), n = It(), t = V(), e = se(), s = 7973, a = o.getBCHDigit(s);
818
- function u(E, d, S) {
819
- for (let w = 1; w <= 40; w++)
820
- if (d <= r.getCapacity(w, S, E))
821
- return w;
822
- }
823
- function c(E, d) {
824
- return t.getCharCountIndicator(E, d) + 4;
825
- }
826
- function m(E, d) {
827
- let S = 0;
828
- return E.forEach(function(w) {
829
- const b = c(w.mode, d);
830
- S += b + w.getBitsLength();
831
- }), S;
832
- }
833
- function A(E, d) {
834
- for (let S = 1; S <= 40; S++)
835
- if (m(E, S) <= r.getCapacity(S, d, t.MIXED))
836
- return S;
837
- }
838
- r.from = function(d, S) {
839
- return e.isValid(d) ? parseInt(d, 10) : S;
840
- }, r.getCapacity = function(d, S, w) {
841
- if (!e.isValid(d))
842
- throw new Error("Invalid QR Code version");
843
- typeof w > "u" && (w = t.BYTE);
844
- const b = o.getSymbolTotalCodewords(d), h = i.getTotalCodewordsCount(d, S), f = (b - h) * 8;
845
- if (w === t.MIXED) return f;
846
- const g = f - c(w, d);
847
- switch (w) {
848
- case t.NUMERIC:
849
- return Math.floor(g / 10 * 3);
850
- case t.ALPHANUMERIC:
851
- return Math.floor(g / 11 * 2);
852
- case t.KANJI:
853
- return Math.floor(g / 13);
854
- case t.BYTE:
855
- default:
856
- return Math.floor(g / 8);
857
- }
858
- }, r.getBestVersionForData = function(d, S) {
859
- let w;
860
- const b = n.from(S, n.M);
861
- if (Array.isArray(d)) {
862
- if (d.length > 1)
863
- return A(d, b);
864
- if (d.length === 0)
865
- return 1;
866
- w = d[0];
867
- } else
868
- w = d;
869
- return u(w.mode, w.getLength(), b);
870
- }, r.getEncodedBits = function(d) {
871
- if (!e.isValid(d) || d < 7)
872
- throw new Error("Invalid QR Code version");
873
- let S = d << 12;
874
- for (; o.getBCHDigit(S) - a >= 0; )
875
- S ^= s << o.getBCHDigit(S) - a;
876
- return d << 12 | S;
877
- };
878
- })(lt)), lt;
879
- }
880
- var dt = {}, Jt;
881
- function Se() {
882
- if (Jt) return dt;
883
- Jt = 1;
884
- const r = $(), o = 1335, i = 21522, n = r.getBCHDigit(o);
885
- return dt.getEncodedBits = function(e, s) {
886
- const a = e.bit << 3 | s;
887
- let u = a << 10;
888
- for (; r.getBCHDigit(u) - n >= 0; )
889
- u ^= o << r.getBCHDigit(u) - n;
890
- return (a << 10 | u) ^ i;
891
- }, dt;
892
- }
893
- var gt = {}, mt, Yt;
894
- function Me() {
895
- if (Yt) return mt;
896
- Yt = 1;
897
- const r = V();
898
- function o(i) {
899
- this.mode = r.NUMERIC, this.data = i.toString();
900
- }
901
- return o.getBitsLength = function(n) {
902
- return 10 * Math.floor(n / 3) + (n % 3 ? n % 3 * 3 + 1 : 0);
903
- }, o.prototype.getLength = function() {
904
- return this.data.length;
905
- }, o.prototype.getBitsLength = function() {
906
- return o.getBitsLength(this.data.length);
907
- }, o.prototype.write = function(n) {
908
- let t, e, s;
909
- for (t = 0; t + 3 <= this.data.length; t += 3)
910
- e = this.data.substr(t, 3), s = parseInt(e, 10), n.put(s, 10);
911
- const a = this.data.length - t;
912
- a > 0 && (e = this.data.substr(t), s = parseInt(e, 10), n.put(s, a * 3 + 1));
913
- }, mt = o, mt;
914
- }
915
- var wt, jt;
916
- function Te() {
917
- if (jt) return wt;
918
- jt = 1;
919
- const r = V(), o = [
920
- "0",
921
- "1",
922
- "2",
923
- "3",
924
- "4",
925
- "5",
926
- "6",
927
- "7",
928
- "8",
929
- "9",
930
- "A",
931
- "B",
932
- "C",
933
- "D",
934
- "E",
935
- "F",
936
- "G",
937
- "H",
938
- "I",
939
- "J",
940
- "K",
941
- "L",
942
- "M",
943
- "N",
944
- "O",
945
- "P",
946
- "Q",
947
- "R",
948
- "S",
949
- "T",
950
- "U",
951
- "V",
952
- "W",
953
- "X",
954
- "Y",
955
- "Z",
956
- " ",
957
- "$",
958
- "%",
959
- "*",
960
- "+",
961
- "-",
962
- ".",
963
- "/",
964
- ":"
965
- ];
966
- function i(n) {
967
- this.mode = r.ALPHANUMERIC, this.data = n;
968
- }
969
- return i.getBitsLength = function(t) {
970
- return 11 * Math.floor(t / 2) + 6 * (t % 2);
971
- }, i.prototype.getLength = function() {
972
- return this.data.length;
973
- }, i.prototype.getBitsLength = function() {
974
- return i.getBitsLength(this.data.length);
975
- }, i.prototype.write = function(t) {
976
- let e;
977
- for (e = 0; e + 2 <= this.data.length; e += 2) {
978
- let s = o.indexOf(this.data[e]) * 45;
979
- s += o.indexOf(this.data[e + 1]), t.put(s, 11);
980
- }
981
- this.data.length % 2 && t.put(o.indexOf(this.data[e]), 6);
982
- }, wt = i, wt;
983
- }
984
- var yt, Qt;
985
- function Pe() {
986
- return Qt || (Qt = 1, yt = function(o) {
987
- for (var i = [], n = o.length, t = 0; t < n; t++) {
988
- var e = o.charCodeAt(t);
989
- if (e >= 55296 && e <= 56319 && n > t + 1) {
990
- var s = o.charCodeAt(t + 1);
991
- s >= 56320 && s <= 57343 && (e = (e - 55296) * 1024 + s - 56320 + 65536, t += 1);
992
- }
993
- if (e < 128) {
994
- i.push(e);
995
- continue;
996
- }
997
- if (e < 2048) {
998
- i.push(e >> 6 | 192), i.push(e & 63 | 128);
999
- continue;
1000
- }
1001
- if (e < 55296 || e >= 57344 && e < 65536) {
1002
- i.push(e >> 12 | 224), i.push(e >> 6 & 63 | 128), i.push(e & 63 | 128);
1003
- continue;
1004
- }
1005
- if (e >= 65536 && e <= 1114111) {
1006
- i.push(e >> 18 | 240), i.push(e >> 12 & 63 | 128), i.push(e >> 6 & 63 | 128), i.push(e & 63 | 128);
1007
- continue;
1008
- }
1009
- i.push(239, 191, 189);
1010
- }
1011
- return new Uint8Array(i).buffer;
1012
- }), yt;
1013
- }
1014
- var Ct, xt;
1015
- function ve() {
1016
- if (xt) return Ct;
1017
- xt = 1;
1018
- const r = Pe(), o = V();
1019
- function i(n) {
1020
- this.mode = o.BYTE, typeof n == "string" && (n = r(n)), this.data = new Uint8Array(n);
1021
- }
1022
- return i.getBitsLength = function(t) {
1023
- return t * 8;
1024
- }, i.prototype.getLength = function() {
1025
- return this.data.length;
1026
- }, i.prototype.getBitsLength = function() {
1027
- return i.getBitsLength(this.data.length);
1028
- }, i.prototype.write = function(n) {
1029
- for (let t = 0, e = this.data.length; t < e; t++)
1030
- n.put(this.data[t], 8);
1031
- }, Ct = i, Ct;
1032
- }
1033
- var Et, Gt;
1034
- function Le() {
1035
- if (Gt) return Et;
1036
- Gt = 1;
1037
- const r = V(), o = $();
1038
- function i(n) {
1039
- this.mode = r.KANJI, this.data = n;
1040
- }
1041
- return i.getBitsLength = function(t) {
1042
- return t * 13;
1043
- }, i.prototype.getLength = function() {
1044
- return this.data.length;
1045
- }, i.prototype.getBitsLength = function() {
1046
- return i.getBitsLength(this.data.length);
1047
- }, i.prototype.write = function(n) {
1048
- let t;
1049
- for (t = 0; t < this.data.length; t++) {
1050
- let e = o.toSJIS(this.data[t]);
1051
- if (e >= 33088 && e <= 40956)
1052
- e -= 33088;
1053
- else if (e >= 57408 && e <= 60351)
1054
- e -= 49472;
1055
- else
1056
- throw new Error(
1057
- "Invalid SJIS character: " + this.data[t] + `
1058
- Make sure your charset is UTF-8`
1059
- );
1060
- e = (e >>> 8 & 255) * 192 + (e & 255), n.put(e, 13);
1061
- }
1062
- }, Et = i, Et;
1063
- }
1064
- var pt = { exports: {} }, Wt;
1065
- function De() {
1066
- return Wt || (Wt = 1, (function(r) {
1067
- var o = {
1068
- single_source_shortest_paths: function(i, n, t) {
1069
- var e = {}, s = {};
1070
- s[n] = 0;
1071
- var a = o.PriorityQueue.make();
1072
- a.push(n, 0);
1073
- for (var u, c, m, A, E, d, S, w, b; !a.empty(); ) {
1074
- u = a.pop(), c = u.value, A = u.cost, E = i[c] || {};
1075
- for (m in E)
1076
- E.hasOwnProperty(m) && (d = E[m], S = A + d, w = s[m], b = typeof s[m] > "u", (b || w > S) && (s[m] = S, a.push(m, S), e[m] = c));
1077
- }
1078
- if (typeof t < "u" && typeof s[t] > "u") {
1079
- var h = ["Could not find a path from ", n, " to ", t, "."].join("");
1080
- throw new Error(h);
1081
- }
1082
- return e;
1083
- },
1084
- extract_shortest_path_from_predecessor_list: function(i, n) {
1085
- for (var t = [], e = n; e; )
1086
- t.push(e), i[e], e = i[e];
1087
- return t.reverse(), t;
1088
- },
1089
- find_path: function(i, n, t) {
1090
- var e = o.single_source_shortest_paths(i, n, t);
1091
- return o.extract_shortest_path_from_predecessor_list(
1092
- e,
1093
- t
1094
- );
1095
- },
1096
- /**
1097
- * A very naive priority queue implementation.
1098
- */
1099
- PriorityQueue: {
1100
- make: function(i) {
1101
- var n = o.PriorityQueue, t = {}, e;
1102
- i = i || {};
1103
- for (e in n)
1104
- n.hasOwnProperty(e) && (t[e] = n[e]);
1105
- return t.queue = [], t.sorter = i.sorter || n.default_sorter, t;
1106
- },
1107
- default_sorter: function(i, n) {
1108
- return i.cost - n.cost;
1109
- },
1110
- /**
1111
- * Add a new item to the queue and ensure the highest priority element
1112
- * is at the front of the queue.
1113
- */
1114
- push: function(i, n) {
1115
- var t = { value: i, cost: n };
1116
- this.queue.push(t), this.queue.sort(this.sorter);
1117
- },
1118
- /**
1119
- * Return the highest priority element in the queue.
1120
- */
1121
- pop: function() {
1122
- return this.queue.shift();
1123
- },
1124
- empty: function() {
1125
- return this.queue.length === 0;
1126
- }
1127
- }
1128
- };
1129
- r.exports = o;
1130
- })(pt)), pt.exports;
1131
- }
1132
- var Xt;
1133
- function qe() {
1134
- return Xt || (Xt = 1, (function(r) {
1135
- const o = V(), i = Me(), n = Te(), t = ve(), e = Le(), s = ue(), a = $(), u = De();
1136
- function c(h) {
1137
- return unescape(encodeURIComponent(h)).length;
1138
- }
1139
- function m(h, f, g) {
1140
- const l = [];
1141
- let P;
1142
- for (; (P = h.exec(g)) !== null; )
1143
- l.push({
1144
- data: P[0],
1145
- index: P.index,
1146
- mode: f,
1147
- length: P[0].length
1148
- });
1149
- return l;
1150
- }
1151
- function A(h) {
1152
- const f = m(s.NUMERIC, o.NUMERIC, h), g = m(s.ALPHANUMERIC, o.ALPHANUMERIC, h);
1153
- let l, P;
1154
- return a.isKanjiModeEnabled() ? (l = m(s.BYTE, o.BYTE, h), P = m(s.KANJI, o.KANJI, h)) : (l = m(s.BYTE_KANJI, o.BYTE, h), P = []), f.concat(g, l, P).sort(function(I, R) {
1155
- return I.index - R.index;
1156
- }).map(function(I) {
1157
- return {
1158
- data: I.data,
1159
- mode: I.mode,
1160
- length: I.length
1161
- };
1162
- });
1163
- }
1164
- function E(h, f) {
1165
- switch (f) {
1166
- case o.NUMERIC:
1167
- return i.getBitsLength(h);
1168
- case o.ALPHANUMERIC:
1169
- return n.getBitsLength(h);
1170
- case o.KANJI:
1171
- return e.getBitsLength(h);
1172
- case o.BYTE:
1173
- return t.getBitsLength(h);
1174
- }
1175
- }
1176
- function d(h) {
1177
- return h.reduce(function(f, g) {
1178
- const l = f.length - 1 >= 0 ? f[f.length - 1] : null;
1179
- return l && l.mode === g.mode ? (f[f.length - 1].data += g.data, f) : (f.push(g), f);
1180
- }, []);
1181
- }
1182
- function S(h) {
1183
- const f = [];
1184
- for (let g = 0; g < h.length; g++) {
1185
- const l = h[g];
1186
- switch (l.mode) {
1187
- case o.NUMERIC:
1188
- f.push([
1189
- l,
1190
- { data: l.data, mode: o.ALPHANUMERIC, length: l.length },
1191
- { data: l.data, mode: o.BYTE, length: l.length }
1192
- ]);
1193
- break;
1194
- case o.ALPHANUMERIC:
1195
- f.push([
1196
- l,
1197
- { data: l.data, mode: o.BYTE, length: l.length }
1198
- ]);
1199
- break;
1200
- case o.KANJI:
1201
- f.push([
1202
- l,
1203
- { data: l.data, mode: o.BYTE, length: c(l.data) }
1204
- ]);
1205
- break;
1206
- case o.BYTE:
1207
- f.push([
1208
- { data: l.data, mode: o.BYTE, length: c(l.data) }
1209
- ]);
1210
- }
1211
- }
1212
- return f;
1213
- }
1214
- function w(h, f) {
1215
- const g = {}, l = { start: {} };
1216
- let P = ["start"];
1217
- for (let C = 0; C < h.length; C++) {
1218
- const I = h[C], R = [];
1219
- for (let y = 0; y < I.length; y++) {
1220
- const M = I[y], p = "" + C + y;
1221
- R.push(p), g[p] = { node: M, lastCount: 0 }, l[p] = {};
1222
- for (let N = 0; N < P.length; N++) {
1223
- const B = P[N];
1224
- g[B] && g[B].node.mode === M.mode ? (l[B][p] = E(g[B].lastCount + M.length, M.mode) - E(g[B].lastCount, M.mode), g[B].lastCount += M.length) : (g[B] && (g[B].lastCount = M.length), l[B][p] = E(M.length, M.mode) + 4 + o.getCharCountIndicator(M.mode, f));
1225
- }
1226
- }
1227
- P = R;
1228
- }
1229
- for (let C = 0; C < P.length; C++)
1230
- l[P[C]].end = 0;
1231
- return { map: l, table: g };
1232
- }
1233
- function b(h, f) {
1234
- let g;
1235
- const l = o.getBestModeForData(h);
1236
- if (g = o.from(f, l), g !== o.BYTE && g.bit < l.bit)
1237
- throw new Error('"' + h + '" cannot be encoded with mode ' + o.toString(g) + `.
1238
- Suggested mode is: ` + o.toString(l));
1239
- switch (g === o.KANJI && !a.isKanjiModeEnabled() && (g = o.BYTE), g) {
1240
- case o.NUMERIC:
1241
- return new i(h);
1242
- case o.ALPHANUMERIC:
1243
- return new n(h);
1244
- case o.KANJI:
1245
- return new e(h);
1246
- case o.BYTE:
1247
- return new t(h);
1248
- }
1249
- }
1250
- r.fromArray = function(f) {
1251
- return f.reduce(function(g, l) {
1252
- return typeof l == "string" ? g.push(b(l, null)) : l.data && g.push(b(l.data, l.mode)), g;
1253
- }, []);
1254
- }, r.fromString = function(f, g) {
1255
- const l = A(f, a.isKanjiModeEnabled()), P = S(l), C = w(P, g), I = u.find_path(C.map, "start", "end"), R = [];
1256
- for (let y = 1; y < I.length - 1; y++)
1257
- R.push(C.table[I[y]].node);
1258
- return r.fromArray(d(R));
1259
- }, r.rawSplit = function(f) {
1260
- return r.fromArray(
1261
- A(f, a.isKanjiModeEnabled())
1262
- );
1263
- };
1264
- })(gt)), gt;
1265
- }
1266
- var Zt;
1267
- function _e() {
1268
- if (Zt) return et;
1269
- Zt = 1;
1270
- const r = $(), o = It(), i = Ce(), n = Ee(), t = pe(), e = Be(), s = Re(), a = ie(), u = Ie(), c = Ne(), m = Se(), A = V(), E = qe();
1271
- function d(C, I) {
1272
- const R = C.size, y = e.getPositions(I);
1273
- for (let M = 0; M < y.length; M++) {
1274
- const p = y[M][0], N = y[M][1];
1275
- for (let B = -1; B <= 7; B++)
1276
- if (!(p + B <= -1 || R <= p + B))
1277
- for (let T = -1; T <= 7; T++)
1278
- N + T <= -1 || R <= N + T || (B >= 0 && B <= 6 && (T === 0 || T === 6) || T >= 0 && T <= 6 && (B === 0 || B === 6) || B >= 2 && B <= 4 && T >= 2 && T <= 4 ? C.set(p + B, N + T, !0, !0) : C.set(p + B, N + T, !1, !0));
1279
- }
1280
- }
1281
- function S(C) {
1282
- const I = C.size;
1283
- for (let R = 8; R < I - 8; R++) {
1284
- const y = R % 2 === 0;
1285
- C.set(R, 6, y, !0), C.set(6, R, y, !0);
1286
- }
1287
- }
1288
- function w(C, I) {
1289
- const R = t.getPositions(I);
1290
- for (let y = 0; y < R.length; y++) {
1291
- const M = R[y][0], p = R[y][1];
1292
- for (let N = -2; N <= 2; N++)
1293
- for (let B = -2; B <= 2; B++)
1294
- N === -2 || N === 2 || B === -2 || B === 2 || N === 0 && B === 0 ? C.set(M + N, p + B, !0, !0) : C.set(M + N, p + B, !1, !0);
1295
- }
1296
- }
1297
- function b(C, I) {
1298
- const R = C.size, y = c.getEncodedBits(I);
1299
- let M, p, N;
1300
- for (let B = 0; B < 18; B++)
1301
- M = Math.floor(B / 3), p = B % 3 + R - 8 - 3, N = (y >> B & 1) === 1, C.set(M, p, N, !0), C.set(p, M, N, !0);
1302
- }
1303
- function h(C, I, R) {
1304
- const y = C.size, M = m.getEncodedBits(I, R);
1305
- let p, N;
1306
- for (p = 0; p < 15; p++)
1307
- N = (M >> p & 1) === 1, p < 6 ? C.set(p, 8, N, !0) : p < 8 ? C.set(p + 1, 8, N, !0) : C.set(y - 15 + p, 8, N, !0), p < 8 ? C.set(8, y - p - 1, N, !0) : p < 9 ? C.set(8, 15 - p - 1 + 1, N, !0) : C.set(8, 15 - p - 1, N, !0);
1308
- C.set(y - 8, 8, 1, !0);
1309
- }
1310
- function f(C, I) {
1311
- const R = C.size;
1312
- let y = -1, M = R - 1, p = 7, N = 0;
1313
- for (let B = R - 1; B > 0; B -= 2)
1314
- for (B === 6 && B--; ; ) {
1315
- for (let T = 0; T < 2; T++)
1316
- if (!C.isReserved(M, B - T)) {
1317
- let U = !1;
1318
- N < I.length && (U = (I[N] >>> p & 1) === 1), C.set(M, B - T, U), p--, p === -1 && (N++, p = 7);
1319
- }
1320
- if (M += y, M < 0 || R <= M) {
1321
- M -= y, y = -y;
1322
- break;
1323
- }
1324
- }
1325
- }
1326
- function g(C, I, R) {
1327
- const y = new i();
1328
- R.forEach(function(T) {
1329
- y.put(T.mode.bit, 4), y.put(T.getLength(), A.getCharCountIndicator(T.mode, C)), T.write(y);
1330
- });
1331
- const M = r.getSymbolTotalCodewords(C), p = a.getTotalCodewordsCount(C, I), N = (M - p) * 8;
1332
- for (y.getLengthInBits() + 4 <= N && y.put(0, 4); y.getLengthInBits() % 8 !== 0; )
1333
- y.putBit(0);
1334
- const B = (N - y.getLengthInBits()) / 8;
1335
- for (let T = 0; T < B; T++)
1336
- y.put(T % 2 ? 17 : 236, 8);
1337
- return l(y, C, I);
1338
- }
1339
- function l(C, I, R) {
1340
- const y = r.getSymbolTotalCodewords(I), M = a.getTotalCodewordsCount(I, R), p = y - M, N = a.getBlocksCount(I, R), B = y % N, T = N - B, U = Math.floor(y / N), H = Math.floor(p / N), ce = H + 1, Nt = U - H, le = new u(Nt);
1341
- let G = 0;
1342
- const Y = new Array(N), St = new Array(N);
1343
- let W = 0;
1344
- const fe = new Uint8Array(C.buffer);
1345
- for (let K = 0; K < N; K++) {
1346
- const Z = K < T ? H : ce;
1347
- Y[K] = fe.slice(G, G + Z), St[K] = le.encode(Y[K]), G += Z, W = Math.max(W, Z);
1348
- }
1349
- const X = new Uint8Array(y);
1350
- let Mt = 0, D, q;
1351
- for (D = 0; D < W; D++)
1352
- for (q = 0; q < N; q++)
1353
- D < Y[q].length && (X[Mt++] = Y[q][D]);
1354
- for (D = 0; D < Nt; D++)
1355
- for (q = 0; q < N; q++)
1356
- X[Mt++] = St[q][D];
1357
- return X;
1358
- }
1359
- function P(C, I, R, y) {
1360
- let M;
1361
- if (Array.isArray(C))
1362
- M = E.fromArray(C);
1363
- else if (typeof C == "string") {
1364
- let U = I;
1365
- if (!U) {
1366
- const H = E.rawSplit(C);
1367
- U = c.getBestVersionForData(H, R);
1368
- }
1369
- M = E.fromString(C, U || 40);
1370
- } else
1371
- throw new Error("Invalid data");
1372
- const p = c.getBestVersionForData(M, R);
1373
- if (!p)
1374
- throw new Error("The amount of data is too big to be stored in a QR Code");
1375
- if (!I)
1376
- I = p;
1377
- else if (I < p)
1378
- throw new Error(
1379
- `
1380
- The chosen QR Code version cannot contain this amount of data.
1381
- Minimum version required to store current data is: ` + p + `.
1382
- `
1383
- );
1384
- const N = g(I, R, M), B = r.getSymbolSize(I), T = new n(B);
1385
- return d(T, I), S(T), w(T, I), h(T, R, 0), I >= 7 && b(T, I), f(T, N), isNaN(y) && (y = s.getBestMask(
1386
- T,
1387
- h.bind(null, T, R)
1388
- )), s.applyMask(y, T), h(T, R, y), {
1389
- modules: T,
1390
- version: I,
1391
- errorCorrectionLevel: R,
1392
- maskPattern: y,
1393
- segments: M
1394
- };
1395
- }
1396
- return et.create = function(I, R) {
1397
- if (typeof I > "u" || I === "")
1398
- throw new Error("No input text");
1399
- let y = o.M, M, p;
1400
- return typeof R < "u" && (y = o.from(R.errorCorrectionLevel, o.M), M = c.from(R.version), p = s.from(R.maskPattern), R.toSJISFunc && r.setToSJISFunction(R.toSJISFunc)), P(I, M, y, p);
1401
- }, et;
1402
- }
1403
- var Bt = {}, Rt = {}, te;
1404
- function ae() {
1405
- return te || (te = 1, (function(r) {
1406
- function o(i) {
1407
- if (typeof i == "number" && (i = i.toString()), typeof i != "string")
1408
- throw new Error("Color should be defined as hex string");
1409
- let n = i.slice().replace("#", "").split("");
1410
- if (n.length < 3 || n.length === 5 || n.length > 8)
1411
- throw new Error("Invalid hex color: " + i);
1412
- (n.length === 3 || n.length === 4) && (n = Array.prototype.concat.apply([], n.map(function(e) {
1413
- return [e, e];
1414
- }))), n.length === 6 && n.push("F", "F");
1415
- const t = parseInt(n.join(""), 16);
1416
- return {
1417
- r: t >> 24 & 255,
1418
- g: t >> 16 & 255,
1419
- b: t >> 8 & 255,
1420
- a: t & 255,
1421
- hex: "#" + n.slice(0, 6).join("")
1422
- };
1423
- }
1424
- r.getOptions = function(n) {
1425
- n || (n = {}), n.color || (n.color = {});
1426
- const t = typeof n.margin > "u" || n.margin === null || n.margin < 0 ? 4 : n.margin, e = n.width && n.width >= 21 ? n.width : void 0, s = n.scale || 4;
1427
- return {
1428
- width: e,
1429
- scale: e ? 4 : s,
1430
- margin: t,
1431
- color: {
1432
- dark: o(n.color.dark || "#000000ff"),
1433
- light: o(n.color.light || "#ffffffff")
1434
- },
1435
- type: n.type,
1436
- rendererOpts: n.rendererOpts || {}
1437
- };
1438
- }, r.getScale = function(n, t) {
1439
- return t.width && t.width >= n + t.margin * 2 ? t.width / (n + t.margin * 2) : t.scale;
1440
- }, r.getImageWidth = function(n, t) {
1441
- const e = r.getScale(n, t);
1442
- return Math.floor((n + t.margin * 2) * e);
1443
- }, r.qrToImageData = function(n, t, e) {
1444
- const s = t.modules.size, a = t.modules.data, u = r.getScale(s, e), c = Math.floor((s + e.margin * 2) * u), m = e.margin * u, A = [e.color.light, e.color.dark];
1445
- for (let E = 0; E < c; E++)
1446
- for (let d = 0; d < c; d++) {
1447
- let S = (E * c + d) * 4, w = e.color.light;
1448
- if (E >= m && d >= m && E < c - m && d < c - m) {
1449
- const b = Math.floor((E - m) / u), h = Math.floor((d - m) / u);
1450
- w = A[a[b * s + h] ? 1 : 0];
1451
- }
1452
- n[S++] = w.r, n[S++] = w.g, n[S++] = w.b, n[S] = w.a;
1453
- }
1454
- };
1455
- })(Rt)), Rt;
1456
- }
1457
- var ee;
1458
- function Ue() {
1459
- return ee || (ee = 1, (function(r) {
1460
- const o = ae();
1461
- function i(t, e, s) {
1462
- t.clearRect(0, 0, e.width, e.height), e.style || (e.style = {}), e.height = s, e.width = s, e.style.height = s + "px", e.style.width = s + "px";
1463
- }
1464
- function n() {
1465
- try {
1466
- return document.createElement("canvas");
1467
- } catch {
1468
- throw new Error("You need to specify a canvas element");
1469
- }
1470
- }
1471
- r.render = function(e, s, a) {
1472
- let u = a, c = s;
1473
- typeof u > "u" && (!s || !s.getContext) && (u = s, s = void 0), s || (c = n()), u = o.getOptions(u);
1474
- const m = o.getImageWidth(e.modules.size, u), A = c.getContext("2d"), E = A.createImageData(m, m);
1475
- return o.qrToImageData(E.data, e, u), i(A, c, m), A.putImageData(E, 0, 0), c;
1476
- }, r.renderToDataURL = function(e, s, a) {
1477
- let u = a;
1478
- typeof u > "u" && (!s || !s.getContext) && (u = s, s = void 0), u || (u = {});
1479
- const c = r.render(e, s, u), m = u.type || "image/png", A = u.rendererOpts || {};
1480
- return c.toDataURL(m, A.quality);
1481
- };
1482
- })(Bt)), Bt;
1483
- }
1484
- var At = {}, ne;
1485
- function ke() {
1486
- if (ne) return At;
1487
- ne = 1;
1488
- const r = ae();
1489
- function o(t, e) {
1490
- const s = t.a / 255, a = e + '="' + t.hex + '"';
1491
- return s < 1 ? a + " " + e + '-opacity="' + s.toFixed(2).slice(1) + '"' : a;
1492
- }
1493
- function i(t, e, s) {
1494
- let a = t + e;
1495
- return typeof s < "u" && (a += " " + s), a;
1496
- }
1497
- function n(t, e, s) {
1498
- let a = "", u = 0, c = !1, m = 0;
1499
- for (let A = 0; A < t.length; A++) {
1500
- const E = Math.floor(A % e), d = Math.floor(A / e);
1501
- !E && !c && (c = !0), t[A] ? (m++, A > 0 && E > 0 && t[A - 1] || (a += c ? i("M", E + s, 0.5 + d + s) : i("m", u, 0), u = 0, c = !1), E + 1 < e && t[A + 1] || (a += i("h", m), m = 0)) : u++;
1502
- }
1503
- return a;
1504
- }
1505
- return At.render = function(e, s, a) {
1506
- const u = r.getOptions(s), c = e.modules.size, m = e.modules.data, A = c + u.margin * 2, E = u.color.light.a ? "<path " + o(u.color.light, "fill") + ' d="M0 0h' + A + "v" + A + 'H0z"/>' : "", d = "<path " + o(u.color.dark, "stroke") + ' d="' + n(m, c, u.margin) + '"/>', S = 'viewBox="0 0 ' + A + " " + A + '"', b = '<svg xmlns="http://www.w3.org/2000/svg" ' + (u.width ? 'width="' + u.width + '" height="' + u.width + '" ' : "") + S + ' shape-rendering="crispEdges">' + E + d + `</svg>
1507
- `;
1508
- return typeof a == "function" && a(null, b), b;
1509
- }, At;
1510
- }
1511
- var re;
1512
- function Fe() {
1513
- if (re) return O;
1514
- re = 1;
1515
- const r = ye(), o = _e(), i = Ue(), n = ke();
1516
- function t(e, s, a, u, c) {
1517
- const m = [].slice.call(arguments, 1), A = m.length, E = typeof m[A - 1] == "function";
1518
- if (!E && !r())
1519
- throw new Error("Callback required as last argument");
1520
- if (E) {
1521
- if (A < 2)
1522
- throw new Error("Too few arguments provided");
1523
- A === 2 ? (c = a, a = s, s = u = void 0) : A === 3 && (s.getContext && typeof c > "u" ? (c = u, u = void 0) : (c = u, u = a, a = s, s = void 0));
1524
- } else {
1525
- if (A < 1)
1526
- throw new Error("Too few arguments provided");
1527
- return A === 1 ? (a = s, s = u = void 0) : A === 2 && !s.getContext && (u = a, a = s, s = void 0), new Promise(function(d, S) {
1528
- try {
1529
- const w = o.create(a, u);
1530
- d(e(w, s, u));
1531
- } catch (w) {
1532
- S(w);
1533
- }
1534
- });
1535
- }
1536
- try {
1537
- const d = o.create(a, u);
1538
- c(null, e(d, s, u));
1539
- } catch (d) {
1540
- c(d);
1541
- }
1542
- }
1543
- return O.create = o.create, O.toCanvas = t.bind(null, i.render), O.toDataURL = t.bind(null, i.renderToDataURL), O.toString = t.bind(null, function(e, s, a) {
1544
- return n.render(e, a);
1545
- }), O;
1546
- }
1547
- var ze = Fe();
1548
- const $e = /* @__PURE__ */ he(ze), Ve = 0.1, oe = 2.5, _ = 7;
1549
- function bt(r, o, i) {
1550
- return r === o ? !1 : (r - o < 0 ? o - r : r - o) <= i + Ve;
1551
- }
1552
- function Ke(r, o) {
1553
- const i = Array.prototype.slice.call($e.create(r, { errorCorrectionLevel: o }).modules.data, 0), n = Math.sqrt(i.length);
1554
- return i.reduce((t, e, s) => (s % n === 0 ? t.push([e]) : t[t.length - 1].push(e)) && t, []);
1555
- }
1556
- const Oe = {
1557
- generate({ uri: r, size: o, logoSize: i, padding: n = 8, dotColor: t = "var(--apkt-colors-black)" }) {
1558
- const s = [], a = Ke(r, "Q"), u = (o - 2 * n) / a.length, c = [
1559
- { x: 0, y: 0 },
1560
- { x: 1, y: 0 },
1561
- { x: 0, y: 1 }
1562
- ];
1563
- c.forEach(({ x: w, y: b }) => {
1564
- const h = (a.length - _) * u * w + n, f = (a.length - _) * u * b + n, g = 0.45;
1565
- for (let l = 0; l < c.length; l += 1) {
1566
- const P = u * (_ - l * 2);
1567
- s.push(x`
1568
- <rect
1569
- fill=${l === 2 ? "var(--apkt-colors-black)" : "var(--apkt-colors-white)"}
1570
- width=${l === 0 ? P - 10 : P}
1571
- rx= ${l === 0 ? (P - 10) * g : P * g}
1572
- ry= ${l === 0 ? (P - 10) * g : P * g}
1573
- stroke=${t}
1574
- stroke-width=${l === 0 ? 10 : 0}
1575
- height=${l === 0 ? P - 10 : P}
1576
- x= ${l === 0 ? f + u * l + 10 / 2 : f + u * l}
1577
- y= ${l === 0 ? h + u * l + 10 / 2 : h + u * l}
1578
- />
1579
- `);
1580
- }
1581
- });
1582
- const m = Math.floor((i + 25) / u), A = a.length / 2 - m / 2, E = a.length / 2 + m / 2 - 1, d = [];
1583
- a.forEach((w, b) => {
1584
- w.forEach((h, f) => {
1585
- if (a[b][f] && !(b < _ && f < _ || b > a.length - (_ + 1) && f < _ || b < _ && f > a.length - (_ + 1)) && !(b > A && b < E && f > A && f < E)) {
1586
- const g = b * u + u / 2 + n, l = f * u + u / 2 + n;
1587
- d.push([g, l]);
1588
- }
1589
- });
1590
- });
1591
- const S = {};
1592
- return d.forEach(([w, b]) => {
1593
- var h;
1594
- S[w] ? (h = S[w]) == null || h.push(b) : S[w] = [b];
1595
- }), Object.entries(S).map(([w, b]) => {
1596
- const h = b.filter((f) => b.every((g) => !bt(f, g, u)));
1597
- return [Number(w), h];
1598
- }).forEach(([w, b]) => {
1599
- b.forEach((h) => {
1600
- s.push(x`<circle cx=${w} cy=${h} fill=${t} r=${u / oe} />`);
1601
- });
1602
- }), Object.entries(S).filter(([w, b]) => b.length > 1).map(([w, b]) => {
1603
- const h = b.filter((f) => b.some((g) => bt(f, g, u)));
1604
- return [Number(w), h];
1605
- }).map(([w, b]) => {
1606
- b.sort((f, g) => f < g ? -1 : 1);
1607
- const h = [];
1608
- for (const f of b) {
1609
- const g = h.find((l) => l.some((P) => bt(f, P, u)));
1610
- g ? g.push(f) : h.push([f]);
1611
- }
1612
- return [w, h.map((f) => [f[0], f[f.length - 1]])];
1613
- }).forEach(([w, b]) => {
1614
- b.forEach(([h, f]) => {
1615
- s.push(x`
1616
- <line
1617
- x1=${w}
1618
- x2=${w}
1619
- y1=${h}
1620
- y2=${f}
1621
- stroke=${t}
1622
- stroke-width=${u / (oe / 2)}
1623
- stroke-linecap="round"
1624
- />
1625
- `);
1626
- });
1627
- }), s;
1628
- }
1629
- }, He = de`
1630
- :host {
1631
- position: relative;
1632
- user-select: none;
1633
- display: block;
1634
- overflow: hidden;
1635
- aspect-ratio: 1 / 1;
1636
- width: 100%;
1637
- height: 100%;
1638
- background-color: ${({ colors: r }) => r.white};
1639
- border: 1px solid ${({ tokens: r }) => r.theme.borderPrimary};
1640
- }
1641
-
1642
- :host {
1643
- border-radius: ${({ borderRadius: r }) => r[4]};
1644
- display: flex;
1645
- align-items: center;
1646
- justify-content: center;
1647
- }
1648
-
1649
- :host([data-clear='true']) > wui-icon {
1650
- display: none;
1651
- }
1652
-
1653
- svg:first-child,
1654
- wui-image,
1655
- wui-icon {
1656
- position: absolute;
1657
- top: 50%;
1658
- left: 50%;
1659
- transform: translateY(-50%) translateX(-50%);
1660
- background-color: ${({ tokens: r }) => r.theme.backgroundPrimary};
1661
- box-shadow: inset 0 0 0 4px ${({ tokens: r }) => r.theme.backgroundPrimary};
1662
- border-radius: ${({ borderRadius: r }) => r[6]};
1663
- }
1664
-
1665
- wui-image {
1666
- width: 25%;
1667
- height: 25%;
1668
- border-radius: ${({ borderRadius: r }) => r[2]};
1669
- }
1670
-
1671
- wui-icon {
1672
- width: 100%;
1673
- height: 100%;
1674
- color: #3396ff !important;
1675
- transform: translateY(-50%) translateX(-50%) scale(0.25);
1676
- }
1677
-
1678
- wui-icon > svg {
1679
- width: inherit;
1680
- height: inherit;
1681
- }
1682
- `;
1683
- var F = function(r, o, i, n) {
1684
- var t = arguments.length, e = t < 3 ? o : n === null ? n = Object.getOwnPropertyDescriptor(o, i) : n, s;
1685
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") e = Reflect.decorate(r, o, i, n);
1686
- else for (var a = r.length - 1; a >= 0; a--) (s = r[a]) && (e = (t < 3 ? s(e) : t > 3 ? s(o, i, e) : s(o, i)) || e);
1687
- return t > 3 && e && Object.defineProperty(o, i, e), e;
1688
- };
1689
- let L = class extends me {
1690
- constructor() {
1691
- super(...arguments), this.uri = "", this.size = 500, this.theme = "dark", this.imageSrc = void 0, this.alt = void 0, this.arenaClear = void 0, this.farcaster = void 0;
1692
- }
1693
- render() {
1694
- return this.dataset.theme = this.theme, this.dataset.clear = String(this.arenaClear), j`<wui-flex
1695
- alignItems="center"
1696
- justifyContent="center"
1697
- class="wui-qr-code"
1698
- direction="column"
1699
- gap="4"
1700
- width="100%"
1701
- style="height: 100%"
1702
- >
1703
- ${this.templateVisual()} ${this.templateSvg()}
1704
- </wui-flex>`;
1705
- }
1706
- templateSvg() {
1707
- return x`
1708
- <svg viewBox="0 0 ${this.size} ${this.size}" width="100%" height="100%">
1709
- ${Oe.generate({
1710
- uri: this.uri,
1711
- size: this.size,
1712
- logoSize: this.arenaClear ? 0 : this.size / 4
1713
- })}
1714
- </svg>
1715
- `;
1716
- }
1717
- templateVisual() {
1718
- return this.imageSrc ? j`<wui-image src=${this.imageSrc} alt=${this.alt ?? "logo"}></wui-image>` : this.farcaster ? j`<wui-icon
1719
- class="farcaster"
1720
- size="inherit"
1721
- color="inherit"
1722
- name="farcaster"
1723
- ></wui-icon>` : j`<wui-icon size="inherit" color="inherit" name="walletConnect"></wui-icon>`;
1724
- }
1725
- };
1726
- L.styles = [ge, He];
1727
- F([
1728
- z()
1729
- ], L.prototype, "uri", void 0);
1730
- F([
1731
- z({ type: Number })
1732
- ], L.prototype, "size", void 0);
1733
- F([
1734
- z()
1735
- ], L.prototype, "theme", void 0);
1736
- F([
1737
- z()
1738
- ], L.prototype, "imageSrc", void 0);
1739
- F([
1740
- z()
1741
- ], L.prototype, "alt", void 0);
1742
- F([
1743
- z({ type: Boolean })
1744
- ], L.prototype, "arenaClear", void 0);
1745
- F([
1746
- z({ type: Boolean })
1747
- ], L.prototype, "farcaster", void 0);
1748
- L = F([
1749
- we("wui-qr-code")
1750
- ], L);