useblocks 1.1.53 → 1.1.60

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 (68) hide show
  1. package/iframe/js/amp.BP7EklKo.js +1 -1
  2. package/iframe/js/iframe-eblock.js +1 -1
  3. package/iframe/js/iframe.js +1 -1
  4. package/iframe/js/rules.4N5s3OV-.js +1 -1
  5. package/npm-publish.manifest.json +7 -7
  6. package/package.json +1 -7
  7. package/runtime/THIRD_PARTY_LICENSES.txt +0 -235
  8. package/runtime/index.js +0 -2
  9. package/runtime/package.json +0 -6
  10. package/runtime/plugin-dev-manifest.json +0 -4
  11. package/singlepage_headless_plugin.html +1 -1
  12. package/static/core/{5318562c.js → 161d1254.js} +268 -257
  13. package/static/core/{b9f47840.js → 17d3ee0b.js} +8 -8
  14. package/static/core/{6895dd352.js → 195ca4a32.js} +15 -15
  15. package/static/core/{dc1f9e4f.js → 2569fac8.js} +26 -26
  16. package/static/core/{4ca527032.js → 26ddf93e2.js} +2 -2
  17. package/static/core/{9929a348.js → 30c5fe5f.js} +90 -90
  18. package/static/core/{e93d55b92.js → 3af8f3592.js} +4 -4
  19. package/static/core/{ebd852b6.js → 40f73dfb.js} +1019 -1032
  20. package/static/core/{c3058168.js → 43c3f160.js} +3283 -3189
  21. package/static/core/{542ea53f2.js → 4a27bba92.js} +8 -8
  22. package/static/core/4c39852e.js +3150 -0
  23. package/static/core/{e5e07f1d.js → 4e75b331.js} +13 -13
  24. package/static/core/{e1d239ab.js → 5345bef8.js} +42 -42
  25. package/static/core/{31e98e6e.js → 53463a60.js} +707 -712
  26. package/static/core/{27544e7e.js → 581ce428.js} +37 -19
  27. package/static/core/{d8daf1142.js → 6156301b2.js} +3 -3
  28. package/static/core/{c3849484.js → 64bea1a9.js} +5 -5
  29. package/static/core/{ce4fc17f2.js → 680236f4.js} +1 -1
  30. package/static/core/{4b75d16c2.js → 687795b52.js} +4 -4
  31. package/static/core/{70407ac0.js → 72f86b2d.js} +3 -3
  32. package/static/core/{139e4380.js → 7a15fa8b.js} +3 -3
  33. package/static/core/{b77f0769.js → 8432f11e.js} +5 -5
  34. package/static/core/{d1eb3c68.js → 8815eb5b.js} +15670 -15289
  35. package/static/core/{f3cff4c9.js → 8a496b64.js} +158 -158
  36. package/static/core/{4e1b970f.js → 8ba13f332.js} +1 -1
  37. package/static/core/{75737a9d.js → 951903fb.js} +9096 -9074
  38. package/static/core/{a95c02bb.js → a1355a35.js} +5 -5
  39. package/static/core/{7c6fb2162.js → a36c3ab62.js} +3 -3
  40. package/static/core/{2da1d66b.js → abd3f34c.js} +5 -5
  41. package/static/core/{528ad9282.js → ae20f0992.js} +16 -16
  42. package/static/core/ba6c356e.js +466 -0
  43. package/static/core/{ee0ddb51.js → c9e59b34.js} +6884 -4960
  44. package/static/core/{f96d2049.js → d1a1d4902.js} +1 -1
  45. package/static/core/{5b48fd69.js → d8d6485e.js} +5 -5
  46. package/static/core/{59e92cc3.js → d9398296.js} +5 -5
  47. package/static/core/{b408f33a.js → d9baa55e.js} +25 -25
  48. package/static/core/dbf19c2e.js +811 -0
  49. package/static/core/{bc7e3d2b.js → f953827c.js} +10 -10
  50. package/static/core/{1e5bf73c.js → ffee9a77.js} +7 -7
  51. package/static/esm/2474de05.js +131 -0
  52. package/static/esm/{d180c108.js → 53b688bd.js} +66 -85
  53. package/two_step_headless_plugin.html +1 -1
  54. package/useblocks-core.f6bb8947.js +673 -0
  55. package/useblocks-esm.js +875 -552
  56. package/useblocks.d.ts +8 -0
  57. package/useblocks.js +691 -408
  58. package/runtime/prop-types/index.js +0 -4
  59. package/runtime/react-router-dom/index.js +0 -2
  60. package/static/core/1995fb0a2.js +0 -602
  61. package/static/core/1f5e1fc9.js +0 -3097
  62. package/static/core/ce0410b1.js +0 -467
  63. package/static/esm/448d4bb0.js +0 -127
  64. package/static/runtime/dom-export-CHgQ7Ws9.js +0 -8069
  65. package/static/runtime/prop-types-p_yYKrF7.js +0 -47
  66. package/useblocks-core.2a5dade1.js +0 -643
  67. /package/iframe/{iframe-eblock.2a5dade1.html → iframe-eblock.f6bb8947.html} +0 -0
  68. /package/iframe/{iframe.2a5dade1.html → iframe.f6bb8947.html} +0 -0
@@ -1,12 +1,12 @@
1
- __useblocks__.define("static/core/f3cff4c9.js", [
1
+ __useblocks__.define("static/core/8a496b64.js", [
2
2
  "require",
3
3
  "exports",
4
4
  "module",
5
5
  "static/core/bd36b180.js",
6
- "static/core/75737a9d.js"
6
+ "static/core/951903fb.js"
7
7
  ], function(tt, te, ge) {
8
8
  tt("./bd36b180.js");
9
- const ee = tt("./75737a9d.js");
9
+ const ee = tt("./951903fb.js");
10
10
  var et, nt, H = {};
11
11
  function ne() {
12
12
  return nt ? et : (nt = 1, et = function() {
@@ -16,7 +16,7 @@ __useblocks__.define("static/core/f3cff4c9.js", [
16
16
  var rt, q = {}, z = {};
17
17
  function F() {
18
18
  if (rt) return z;
19
- let s;
19
+ let a;
20
20
  rt = 1;
21
21
  const u = [
22
22
  0,
@@ -73,31 +73,31 @@ __useblocks__.define("static/core/f3cff4c9.js", [
73
73
  return t;
74
74
  }, z.setToSJISFunction = function(n) {
75
75
  if (typeof n != "function") throw new Error("\"toSJISFunc\" is not a valid function.");
76
- s = n;
76
+ a = n;
77
77
  }, z.isKanjiModeEnabled = function() {
78
- return s !== void 0;
78
+ return a !== void 0;
79
79
  }, z.toSJIS = function(n) {
80
- return s(n);
80
+ return a(n);
81
81
  }, z;
82
82
  }
83
- var ot, it, st, at, ut, ct = {};
83
+ var ot, it, at, st, ut, ct = {};
84
84
  function O() {
85
- return ot || (ot = 1, (s = ct).L = { bit: 1 }, s.M = { bit: 0 }, s.Q = { bit: 3 }, s.H = { bit: 2 }, s.isValid = function(u) {
85
+ return ot || (ot = 1, (a = ct).L = { bit: 1 }, a.M = { bit: 0 }, a.Q = { bit: 3 }, a.H = { bit: 2 }, a.isValid = function(u) {
86
86
  return u && u.bit !== void 0 && u.bit >= 0 && u.bit < 4;
87
- }, s.from = function(u, n) {
88
- if (s.isValid(u)) return u;
87
+ }, a.from = function(u, n) {
88
+ if (a.isValid(u)) return u;
89
89
  try {
90
90
  return (function(t) {
91
91
  if (typeof t != "string") throw new Error("Param is not a string");
92
92
  switch (t.toLowerCase()) {
93
93
  case "l":
94
- case "low": return s.L;
94
+ case "low": return a.L;
95
95
  case "m":
96
- case "medium": return s.M;
96
+ case "medium": return a.M;
97
97
  case "q":
98
- case "quartile": return s.Q;
98
+ case "quartile": return a.Q;
99
99
  case "h":
100
- case "high": return s.H;
100
+ case "high": return a.H;
101
101
  default: throw new Error("Unknown EC Level: " + t);
102
102
  }
103
103
  })(u);
@@ -105,13 +105,13 @@ __useblocks__.define("static/core/f3cff4c9.js", [
105
105
  return n;
106
106
  }
107
107
  }), ct;
108
- var s;
108
+ var a;
109
109
  }
110
110
  var ft, lt = {}, ht, Q = {}, gt, dt = {}, pt, j = {};
111
111
  function wt() {
112
112
  if (pt) return j;
113
113
  pt = 1;
114
- const s = O(), u = [
114
+ const a = O(), u = [
115
115
  1,
116
116
  1,
117
117
  1,
@@ -436,92 +436,92 @@ __useblocks__.define("static/core/f3cff4c9.js", [
436
436
  ];
437
437
  return j.getBlocksCount = function(t, r) {
438
438
  switch (r) {
439
- case s.L: return u[4 * (t - 1) + 0];
440
- case s.M: return u[4 * (t - 1) + 1];
441
- case s.Q: return u[4 * (t - 1) + 2];
442
- case s.H: return u[4 * (t - 1) + 3];
439
+ case a.L: return u[4 * (t - 1) + 0];
440
+ case a.M: return u[4 * (t - 1) + 1];
441
+ case a.Q: return u[4 * (t - 1) + 2];
442
+ case a.H: return u[4 * (t - 1) + 3];
443
443
  default: return;
444
444
  }
445
445
  }, j.getTotalCodewordsCount = function(t, r) {
446
446
  switch (r) {
447
- case s.L: return n[4 * (t - 1) + 0];
448
- case s.M: return n[4 * (t - 1) + 1];
449
- case s.Q: return n[4 * (t - 1) + 2];
450
- case s.H: return n[4 * (t - 1) + 3];
447
+ case a.L: return n[4 * (t - 1) + 0];
448
+ case a.M: return n[4 * (t - 1) + 1];
449
+ case a.Q: return n[4 * (t - 1) + 2];
450
+ case a.H: return n[4 * (t - 1) + 3];
451
451
  default: return;
452
452
  }
453
453
  }, j;
454
454
  }
455
- var mt, vt, Et, yt, At = {}, K = {};
455
+ var mt, vt, Et, yt, At = {}, Y = {};
456
456
  function re() {
457
- return vt || (vt = 1, (function(s) {
457
+ return vt || (vt = 1, (function(a) {
458
458
  const u = (function() {
459
- if (mt) return K;
459
+ if (mt) return Y;
460
460
  mt = 1;
461
461
  const n = new Uint8Array(512), t = new Uint8Array(256);
462
462
  return (function() {
463
463
  let r = 1;
464
- for (let a = 0; a < 255; a++) n[a] = r, t[r] = a, r <<= 1, 256 & r && (r ^= 285);
465
- for (let a = 255; a < 512; a++) n[a] = n[a - 255];
466
- })(), K.log = function(r) {
464
+ for (let s = 0; s < 255; s++) n[s] = r, t[r] = s, r <<= 1, 256 & r && (r ^= 285);
465
+ for (let s = 255; s < 512; s++) n[s] = n[s - 255];
466
+ })(), Y.log = function(r) {
467
467
  if (r < 1) throw new Error("log(" + r + ")");
468
468
  return t[r];
469
- }, K.exp = function(r) {
469
+ }, Y.exp = function(r) {
470
470
  return n[r];
471
- }, K.mul = function(r, a) {
472
- return r === 0 || a === 0 ? 0 : n[t[r] + t[a]];
473
- }, K;
471
+ }, Y.mul = function(r, s) {
472
+ return r === 0 || s === 0 ? 0 : n[t[r] + t[s]];
473
+ }, Y;
474
474
  })();
475
- s.mul = function(n, t) {
475
+ a.mul = function(n, t) {
476
476
  const r = new Uint8Array(n.length + t.length - 1);
477
- for (let a = 0; a < n.length; a++) for (let l = 0; l < t.length; l++) r[a + l] ^= u.mul(n[a], t[l]);
477
+ for (let s = 0; s < n.length; s++) for (let l = 0; l < t.length; l++) r[s + l] ^= u.mul(n[s], t[l]);
478
478
  return r;
479
- }, s.mod = function(n, t) {
479
+ }, a.mod = function(n, t) {
480
480
  let r = new Uint8Array(n);
481
481
  for (; r.length - t.length >= 0;) {
482
- const a = r[0];
483
- for (let B = 0; B < t.length; B++) r[B] ^= u.mul(t[B], a);
482
+ const s = r[0];
483
+ for (let B = 0; B < t.length; B++) r[B] ^= u.mul(t[B], s);
484
484
  let l = 0;
485
485
  for (; l < r.length && r[l] === 0;) l++;
486
486
  r = r.slice(l);
487
487
  }
488
488
  return r;
489
- }, s.generateECPolynomial = function(n) {
489
+ }, a.generateECPolynomial = function(n) {
490
490
  let t = new Uint8Array([1]);
491
- for (let r = 0; r < n; r++) t = s.mul(t, new Uint8Array([1, u.exp(r)]));
491
+ for (let r = 0; r < n; r++) t = a.mul(t, new Uint8Array([1, u.exp(r)]));
492
492
  return t;
493
493
  };
494
494
  })(At)), At;
495
495
  }
496
496
  var Ct, Bt = {}, It = {}, Mt = {};
497
497
  function Tt() {
498
- return Ct || (Ct = 1, Mt.isValid = function(s) {
499
- return !isNaN(s) && s >= 1 && s <= 40;
498
+ return Ct || (Ct = 1, Mt.isValid = function(a) {
499
+ return !isNaN(a) && a >= 1 && a <= 40;
500
500
  }), Mt;
501
501
  }
502
502
  var Nt, Pt, bt, S = {};
503
503
  function Rt() {
504
504
  if (Nt) return S;
505
505
  Nt = 1;
506
- const s = "[0-9]+";
506
+ const a = "[0-9]+";
507
507
  let u = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
508
508
  u = u.replace(/u/g, "\\u");
509
509
  const n = "(?:(?![A-Z0-9 $%*+\\-./:]|" + u + `)(?:.|[\r
510
510
  ]))+`;
511
- S.KANJI = new RegExp(u, "g"), S.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g"), S.BYTE = new RegExp(n, "g"), S.NUMERIC = new RegExp(s, "g"), S.ALPHANUMERIC = new RegExp("[A-Z $%*+\\-./:]+", "g");
512
- const t = new RegExp("^" + u + "$"), r = new RegExp("^[0-9]+$"), a = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
511
+ S.KANJI = new RegExp(u, "g"), S.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g"), S.BYTE = new RegExp(n, "g"), S.NUMERIC = new RegExp(a, "g"), S.ALPHANUMERIC = new RegExp("[A-Z $%*+\\-./:]+", "g");
512
+ const t = new RegExp("^" + u + "$"), r = new RegExp("^[0-9]+$"), s = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
513
513
  return S.testKanji = function(l) {
514
514
  return t.test(l);
515
515
  }, S.testNumeric = function(l) {
516
516
  return r.test(l);
517
517
  }, S.testAlphanumeric = function(l) {
518
- return a.test(l);
518
+ return s.test(l);
519
519
  }, S;
520
520
  }
521
521
  function D() {
522
- return Pt || (Pt = 1, (function(s) {
522
+ return Pt || (Pt = 1, (function(a) {
523
523
  const u = Tt(), n = Rt();
524
- s.NUMERIC = {
524
+ a.NUMERIC = {
525
525
  id: "Numeric",
526
526
  bit: 1,
527
527
  ccBits: [
@@ -529,7 +529,7 @@ __useblocks__.define("static/core/f3cff4c9.js", [
529
529
  12,
530
530
  14
531
531
  ]
532
- }, s.ALPHANUMERIC = {
532
+ }, a.ALPHANUMERIC = {
533
533
  id: "Alphanumeric",
534
534
  bit: 2,
535
535
  ccBits: [
@@ -537,7 +537,7 @@ __useblocks__.define("static/core/f3cff4c9.js", [
537
537
  11,
538
538
  13
539
539
  ]
540
- }, s.BYTE = {
540
+ }, a.BYTE = {
541
541
  id: "Byte",
542
542
  bit: 4,
543
543
  ccBits: [
@@ -545,7 +545,7 @@ __useblocks__.define("static/core/f3cff4c9.js", [
545
545
  16,
546
546
  16
547
547
  ]
548
- }, s.KANJI = {
548
+ }, a.KANJI = {
549
549
  id: "Kanji",
550
550
  bit: 8,
551
551
  ccBits: [
@@ -553,28 +553,28 @@ __useblocks__.define("static/core/f3cff4c9.js", [
553
553
  10,
554
554
  12
555
555
  ]
556
- }, s.MIXED = { bit: -1 }, s.getCharCountIndicator = function(t, r) {
556
+ }, a.MIXED = { bit: -1 }, a.getCharCountIndicator = function(t, r) {
557
557
  if (!t.ccBits) throw new Error("Invalid mode: " + t);
558
558
  if (!u.isValid(r)) throw new Error("Invalid version: " + r);
559
559
  return r >= 1 && r < 10 ? t.ccBits[0] : r < 27 ? t.ccBits[1] : t.ccBits[2];
560
- }, s.getBestModeForData = function(t) {
561
- return n.testNumeric(t) ? s.NUMERIC : n.testAlphanumeric(t) ? s.ALPHANUMERIC : n.testKanji(t) ? s.KANJI : s.BYTE;
562
- }, s.toString = function(t) {
560
+ }, a.getBestModeForData = function(t) {
561
+ return n.testNumeric(t) ? a.NUMERIC : n.testAlphanumeric(t) ? a.ALPHANUMERIC : n.testKanji(t) ? a.KANJI : a.BYTE;
562
+ }, a.toString = function(t) {
563
563
  if (t && t.id) return t.id;
564
564
  throw new Error("Invalid mode");
565
- }, s.isValid = function(t) {
565
+ }, a.isValid = function(t) {
566
566
  return t && t.bit && t.ccBits;
567
- }, s.from = function(t, r) {
568
- if (s.isValid(t)) return t;
567
+ }, a.from = function(t, r) {
568
+ if (a.isValid(t)) return t;
569
569
  try {
570
- return (function(a) {
571
- if (typeof a != "string") throw new Error("Param is not a string");
572
- switch (a.toLowerCase()) {
573
- case "numeric": return s.NUMERIC;
574
- case "alphanumeric": return s.ALPHANUMERIC;
575
- case "kanji": return s.KANJI;
576
- case "byte": return s.BYTE;
577
- default: throw new Error("Unknown mode: " + a);
570
+ return (function(s) {
571
+ if (typeof s != "string") throw new Error("Param is not a string");
572
+ switch (s.toLowerCase()) {
573
+ case "numeric": return a.NUMERIC;
574
+ case "alphanumeric": return a.ALPHANUMERIC;
575
+ case "kanji": return a.KANJI;
576
+ case "byte": return a.BYTE;
577
+ default: throw new Error("Unknown mode: " + s);
578
578
  }
579
579
  })(t);
580
580
  } catch {
@@ -584,8 +584,8 @@ __useblocks__.define("static/core/f3cff4c9.js", [
584
584
  })(It)), It;
585
585
  }
586
586
  function oe() {
587
- return bt || (bt = 1, (function(s) {
588
- const u = F(), n = wt(), t = O(), r = D(), a = Tt(), l = u.getBCHDigit(7973);
587
+ return bt || (bt = 1, (function(a) {
588
+ const u = F(), n = wt(), t = O(), r = D(), s = Tt(), l = u.getBCHDigit(7973);
589
589
  function B(d, b) {
590
590
  return r.getCharCountIndicator(d, b) + 4;
591
591
  }
@@ -596,10 +596,10 @@ __useblocks__.define("static/core/f3cff4c9.js", [
596
596
  A += R + M.getBitsLength();
597
597
  }), A;
598
598
  }
599
- s.from = function(d, b) {
600
- return a.isValid(d) ? parseInt(d, 10) : b;
601
- }, s.getCapacity = function(d, b, A) {
602
- if (!a.isValid(d)) throw new Error("Invalid QR Code version");
599
+ a.from = function(d, b) {
600
+ return s.isValid(d) ? parseInt(d, 10) : b;
601
+ }, a.getCapacity = function(d, b, A) {
602
+ if (!s.isValid(d)) throw new Error("Invalid QR Code version");
603
603
  A === void 0 && (A = r.BYTE);
604
604
  const M = 8 * (u.getSymbolTotalCodewords(d) - n.getTotalCodewordsCount(d, b));
605
605
  if (A === r.MIXED) return M;
@@ -611,36 +611,36 @@ __useblocks__.define("static/core/f3cff4c9.js", [
611
611
  case r.BYTE:
612
612
  default: return Math.floor(R / 8);
613
613
  }
614
- }, s.getBestVersionForData = function(d, b) {
614
+ }, a.getBestVersionForData = function(d, b) {
615
615
  let A;
616
616
  const M = t.from(b, t.M);
617
617
  if (Array.isArray(d)) {
618
618
  if (d.length > 1) return (function(R, p) {
619
- for (let y = 1; y <= 40; y++) if (P(R, y) <= s.getCapacity(y, p, r.MIXED)) return y;
619
+ for (let y = 1; y <= 40; y++) if (P(R, y) <= a.getCapacity(y, p, r.MIXED)) return y;
620
620
  })(d, M);
621
621
  if (d.length === 0) return 1;
622
622
  A = d[0];
623
623
  } else A = d;
624
624
  return (function(R, p, y) {
625
- for (let e = 1; e <= 40; e++) if (p <= s.getCapacity(e, y, R)) return e;
625
+ for (let e = 1; e <= 40; e++) if (p <= a.getCapacity(e, y, R)) return e;
626
626
  })(A.mode, A.getLength(), M);
627
- }, s.getEncodedBits = function(d) {
628
- if (!a.isValid(d) || d < 7) throw new Error("Invalid QR Code version");
627
+ }, a.getEncodedBits = function(d) {
628
+ if (!s.isValid(d) || d < 7) throw new Error("Invalid QR Code version");
629
629
  let b = d << 12;
630
630
  for (; u.getBCHDigit(b) - l >= 0;) b ^= 7973 << u.getBCHDigit(b) - l;
631
631
  return d << 12 | b;
632
632
  };
633
633
  })(Bt)), Bt;
634
634
  }
635
- var Lt, $ = {}, xt, Ut, St, _t, kt, zt, Ft, Dt, Ht = {}, Yt, Jt, Kt, jt = { exports: {} };
635
+ var Lt, $ = {}, xt, Ut, St, _t, kt, zt, Ft, Dt, Ht = {}, Kt, Jt, Yt, jt = { exports: {} };
636
636
  function ie() {
637
- return Yt || (Yt = 1, (function(s) {
637
+ return Kt || (Kt = 1, (function(a) {
638
638
  var u = {
639
639
  single_source_shortest_paths: function(n, t, r) {
640
- var a = {}, l = {};
640
+ var s = {}, l = {};
641
641
  l[t] = 0;
642
642
  var B, P, d, b, A, M, R, p = u.PriorityQueue.make();
643
- for (p.push(t, 0); !p.empty();) for (d in P = (B = p.pop()).value, b = B.cost, A = n[P] || {}) A.hasOwnProperty(d) && (M = b + A[d], R = l[d], (l[d] === void 0 || R > M) && (l[d] = M, p.push(d, M), a[d] = P));
643
+ for (p.push(t, 0); !p.empty();) for (d in P = (B = p.pop()).value, b = B.cost, A = n[P] || {}) A.hasOwnProperty(d) && (M = b + A[d], R = l[d], (l[d] === void 0 || R > M) && (l[d] = M, p.push(d, M), s[d] = P));
644
644
  if (r !== void 0 && l[r] === void 0) {
645
645
  var y = [
646
646
  "Could not find a path from ",
@@ -651,21 +651,21 @@ __useblocks__.define("static/core/f3cff4c9.js", [
651
651
  ].join("");
652
652
  throw new Error(y);
653
653
  }
654
- return a;
654
+ return s;
655
655
  },
656
656
  extract_shortest_path_from_predecessor_list: function(n, t) {
657
- for (var r = [], a = t; a;) r.push(a), n[a], a = n[a];
657
+ for (var r = [], s = t; s;) r.push(s), n[s], s = n[s];
658
658
  return r.reverse(), r;
659
659
  },
660
660
  find_path: function(n, t, r) {
661
- var a = u.single_source_shortest_paths(n, t, r);
662
- return u.extract_shortest_path_from_predecessor_list(a, r);
661
+ var s = u.single_source_shortest_paths(n, t, r);
662
+ return u.extract_shortest_path_from_predecessor_list(s, r);
663
663
  },
664
664
  PriorityQueue: {
665
665
  make: function(n) {
666
- var t, r = u.PriorityQueue, a = {};
667
- for (t in n = n || {}, r) r.hasOwnProperty(t) && (a[t] = r[t]);
668
- return a.queue = [], a.sorter = n.sorter || r.default_sorter, a;
666
+ var t, r = u.PriorityQueue, s = {};
667
+ for (t in n = n || {}, r) r.hasOwnProperty(t) && (s[t] = r[t]);
668
+ return s.queue = [], s.sorter = n.sorter || r.default_sorter, s;
669
669
  },
670
670
  default_sorter: function(n, t) {
671
671
  return n.cost - t.cost;
@@ -685,11 +685,11 @@ __useblocks__.define("static/core/f3cff4c9.js", [
685
685
  }
686
686
  }
687
687
  };
688
- s.exports = u;
688
+ a.exports = u;
689
689
  })(jt)), jt.exports;
690
690
  }
691
- function se() {
692
- return Jt || (Jt = 1, (function(s) {
691
+ function ae() {
692
+ return Jt || (Jt = 1, (function(a) {
693
693
  const u = D(), n = (function() {
694
694
  if (Ut) return xt;
695
695
  Ut = 1;
@@ -792,7 +792,7 @@ __useblocks__.define("static/core/f3cff4c9.js", [
792
792
  }, y.prototype.write = function(e) {
793
793
  for (let o = 0, c = this.data.length; o < c; o++) e.put(this.data[o], 8);
794
794
  }, kt = y;
795
- })(), a = (function() {
795
+ })(), s = (function() {
796
796
  if (Dt) return Ft;
797
797
  Dt = 1;
798
798
  const p = D(), y = F();
@@ -850,7 +850,7 @@ Make sure your charset is UTF-8`);
850
850
  switch (y) {
851
851
  case u.NUMERIC: return n.getBitsLength(p);
852
852
  case u.ALPHANUMERIC: return t.getBitsLength(p);
853
- case u.KANJI: return a.getBitsLength(p);
853
+ case u.KANJI: return s.getBitsLength(p);
854
854
  case u.BYTE: return r.getBitsLength(p);
855
855
  }
856
856
  }
@@ -862,15 +862,15 @@ Make sure your charset is UTF-8`);
862
862
  switch (e !== u.KANJI || B.isKanjiModeEnabled() || (e = u.BYTE), e) {
863
863
  case u.NUMERIC: return new n(p);
864
864
  case u.ALPHANUMERIC: return new t(p);
865
- case u.KANJI: return new a(p);
865
+ case u.KANJI: return new s(p);
866
866
  case u.BYTE: return new r(p);
867
867
  }
868
868
  }
869
- s.fromArray = function(p) {
869
+ a.fromArray = function(p) {
870
870
  return p.reduce(function(y, e) {
871
871
  return typeof e == "string" ? y.push(R(e, null)) : e.data && y.push(R(e.data, e.mode)), y;
872
872
  }, []);
873
- }, s.fromString = function(p, y) {
873
+ }, a.fromString = function(p, y) {
874
874
  const e = (function(f, w) {
875
875
  const h = {}, i = { start: {} };
876
876
  let v = ["start"];
@@ -938,26 +938,26 @@ Make sure your charset is UTF-8`);
938
938
  return w;
939
939
  })(A(p, B.isKanjiModeEnabled())), y), o = P.find_path(e.map, "start", "end"), c = [];
940
940
  for (let f = 1; f < o.length - 1; f++) c.push(e.table[o[f]].node);
941
- return s.fromArray((function(f) {
941
+ return a.fromArray((function(f) {
942
942
  return f.reduce(function(w, h) {
943
943
  const i = w.length - 1 >= 0 ? w[w.length - 1] : null;
944
944
  return i && i.mode === h.mode ? (w[w.length - 1].data += h.data, w) : (w.push(h), w);
945
945
  }, []);
946
946
  })(c));
947
- }, s.rawSplit = function(p) {
948
- return s.fromArray(A(p, B.isKanjiModeEnabled()));
947
+ }, a.rawSplit = function(p) {
948
+ return a.fromArray(A(p, B.isKanjiModeEnabled()));
949
949
  };
950
950
  })(Ht)), Ht;
951
951
  }
952
- function ae() {
953
- if (Kt) return q;
954
- Kt = 1;
955
- const s = F(), u = O(), n = (function() {
956
- if (st) return it;
952
+ function se() {
953
+ if (Yt) return q;
954
+ Yt = 1;
955
+ const a = F(), u = O(), n = (function() {
956
+ if (at) return it;
957
957
  function e() {
958
958
  this.buffer = [], this.length = 0;
959
959
  }
960
- return st = 1, e.prototype = {
960
+ return at = 1, e.prototype = {
961
961
  get: function(o) {
962
962
  const c = Math.floor(o / 8);
963
963
  return (this.buffer[c] >>> 7 - o % 8 & 1) == 1;
@@ -974,7 +974,7 @@ Make sure your charset is UTF-8`);
974
974
  }
975
975
  }, it = e;
976
976
  })(), t = (function() {
977
- if (ut) return at;
977
+ if (ut) return st;
978
978
  function e(o) {
979
979
  if (!o || o < 1) throw new Error("BitMatrix size must be defined and greater than 0");
980
980
  this.size = o, this.data = new Uint8Array(o * o), this.reservedBit = new Uint8Array(o * o);
@@ -988,7 +988,7 @@ Make sure your charset is UTF-8`);
988
988
  this.data[o * this.size + c] ^= f;
989
989
  }, e.prototype.isReserved = function(o, c) {
990
990
  return this.reservedBit[o * this.size + c];
991
- }, at = e;
991
+ }, st = e;
992
992
  })(), r = (ft || (ft = 1, (function(e) {
993
993
  const o = F().getSymbolSize;
994
994
  e.getRowColCoords = function(c) {
@@ -1001,7 +1001,7 @@ Make sure your charset is UTF-8`);
1001
1001
  for (let i = 0; i < h; i++) for (let v = 0; v < h; v++) i === 0 && v === 0 || i === 0 && v === h - 1 || i === h - 1 && v === 0 || f.push([w[i], w[v]]);
1002
1002
  return f;
1003
1003
  };
1004
- })(lt)), lt), a = (function() {
1004
+ })(lt)), lt), s = (function() {
1005
1005
  if (ht) return Q;
1006
1006
  ht = 1;
1007
1007
  const e = F().getSymbolSize;
@@ -1118,7 +1118,7 @@ Make sure your charset is UTF-8`);
1118
1118
  for (; e.getBCHDigit(h) - o >= 0;) h ^= 1335 << e.getBCHDigit(h) - o;
1119
1119
  return 21522 ^ (w << 10 | h);
1120
1120
  }, $;
1121
- })(), A = D(), M = se();
1121
+ })(), A = D(), M = ae();
1122
1122
  function R(e, o, c) {
1123
1123
  const f = e.size, w = b.getEncodedBits(o, c);
1124
1124
  let h, i;
@@ -1130,19 +1130,19 @@ Make sure your charset is UTF-8`);
1130
1130
  c.forEach(function(i) {
1131
1131
  f.put(i.mode.bit, 4), f.put(i.getLength(), A.getCharCountIndicator(i.mode, e)), i.write(f);
1132
1132
  });
1133
- const w = 8 * (s.getSymbolTotalCodewords(e) - B.getTotalCodewordsCount(e, o));
1133
+ const w = 8 * (a.getSymbolTotalCodewords(e) - B.getTotalCodewordsCount(e, o));
1134
1134
  for (f.getLengthInBits() + 4 <= w && f.put(0, 4); f.getLengthInBits() % 8 != 0;) f.putBit(0);
1135
1135
  const h = (w - f.getLengthInBits()) / 8;
1136
1136
  for (let i = 0; i < h; i++) f.put(i % 2 ? 17 : 236, 8);
1137
1137
  return (function(i, v, m) {
1138
- const g = s.getSymbolTotalCodewords(v), C = g - B.getTotalCodewordsCount(v, m), E = B.getBlocksCount(v, m), I = E - g % E, L = Math.floor(g / E), x = Math.floor(C / E), T = x + 1, N = L - x, U = new P(N);
1139
- let Y = 0;
1138
+ const g = a.getSymbolTotalCodewords(v), C = g - B.getTotalCodewordsCount(v, m), E = B.getBlocksCount(v, m), I = E - g % E, L = Math.floor(g / E), x = Math.floor(C / E), T = x + 1, N = L - x, U = new P(N);
1139
+ let K = 0;
1140
1140
  const V = new Array(E), Wt = new Array(E);
1141
1141
  let X = 0;
1142
1142
  const he = new Uint8Array(i.buffer);
1143
1143
  for (let J = 0; J < E; J++) {
1144
1144
  const G = J < I ? x : T;
1145
- V[J] = he.slice(Y, Y + G), Wt[J] = U.encode(V[J]), Y += G, X = Math.max(X, G);
1145
+ V[J] = he.slice(K, K + G), Wt[J] = U.encode(V[J]), K += G, X = Math.max(X, G);
1146
1146
  }
1147
1147
  const W = new Uint8Array(g);
1148
1148
  let _, k, Gt = 0;
@@ -1173,9 +1173,9 @@ The chosen QR Code version cannot contain this amount of data.
1173
1173
  Minimum version required to store current data is: ` + h + `.
1174
1174
  `);
1175
1175
  } else o = h;
1176
- const i = p(o, c, w), v = s.getSymbolSize(o), m = new t(v);
1176
+ const i = p(o, c, w), v = a.getSymbolSize(o), m = new t(v);
1177
1177
  return (function(g, C) {
1178
- const E = g.size, I = a.getPositions(C);
1178
+ const E = g.size, I = s.getPositions(C);
1179
1179
  for (let L = 0; L < I.length; L++) {
1180
1180
  const x = I[L][0], T = I[L][1];
1181
1181
  for (let N = -1; N <= 7; N++) if (!(x + N <= -1 || E <= x + N)) for (let U = -1; U <= 7; U++) T + U <= -1 || E <= T + U || (N >= 0 && N <= 6 && (U === 0 || U === 6) || U >= 0 && U <= 6 && (N === 0 || N === 6) || N >= 2 && N <= 4 && U >= 2 && U <= 4 ? g.set(x + N, T + U, !0, !0) : g.set(x + N, T + U, !1, !0));
@@ -1201,8 +1201,8 @@ Minimum version required to store current data is: ` + h + `.
1201
1201
  let I = -1, L = E - 1, x = 7, T = 0;
1202
1202
  for (let N = E - 1; N > 0; N -= 2) for (N === 6 && N--;;) {
1203
1203
  for (let U = 0; U < 2; U++) if (!g.isReserved(L, N - U)) {
1204
- let Y = !1;
1205
- T < C.length && (Y = (C[T] >>> x & 1) == 1), g.set(L, N - U, Y), x--, x === -1 && (T++, x = 7);
1204
+ let K = !1;
1205
+ T < C.length && (K = (C[T] >>> x & 1) == 1), g.set(L, N - U, K), x--, x === -1 && (T++, x = 7);
1206
1206
  }
1207
1207
  if (L += I, L < 0 || E <= L) {
1208
1208
  L -= I, I = -I;
@@ -1220,18 +1220,18 @@ Minimum version required to store current data is: ` + h + `.
1220
1220
  return q.create = function(e, o) {
1221
1221
  if (e === void 0 || e === "") throw new Error("No input text");
1222
1222
  let c, f, w = u.M;
1223
- return o !== void 0 && (w = u.from(o.errorCorrectionLevel, u.M), c = d.from(o.version), f = l.from(o.maskPattern), o.toSJISFunc && s.setToSJISFunction(o.toSJISFunc)), y(e, c, w, f);
1223
+ return o !== void 0 && (w = u.from(o.errorCorrectionLevel, u.M), c = d.from(o.version), f = l.from(o.maskPattern), o.toSJISFunc && a.setToSJISFunction(o.toSJISFunc)), y(e, c, w, f);
1224
1224
  }, q;
1225
1225
  }
1226
1226
  var Vt, qt, Ot = {}, Qt = {};
1227
1227
  function $t() {
1228
- return Vt || (Vt = 1, (function(s) {
1228
+ return Vt || (Vt = 1, (function(a) {
1229
1229
  function u(n) {
1230
1230
  if (typeof n == "number" && (n = n.toString()), typeof n != "string") throw new Error("Color should be defined as hex string");
1231
1231
  let t = n.slice().replace("#", "").split("");
1232
1232
  if (t.length < 3 || t.length === 5 || t.length > 8) throw new Error("Invalid hex color: " + n);
1233
- t.length !== 3 && t.length !== 4 || (t = Array.prototype.concat.apply([], t.map(function(a) {
1234
- return [a, a];
1233
+ t.length !== 3 && t.length !== 4 || (t = Array.prototype.concat.apply([], t.map(function(s) {
1234
+ return [s, s];
1235
1235
  }))), t.length === 6 && t.push("F", "F");
1236
1236
  const r = parseInt(t.join(""), 16);
1237
1237
  return {
@@ -1242,12 +1242,12 @@ Minimum version required to store current data is: ` + h + `.
1242
1242
  hex: "#" + t.slice(0, 6).join("")
1243
1243
  };
1244
1244
  }
1245
- s.getOptions = function(n) {
1245
+ a.getOptions = function(n) {
1246
1246
  n || (n = {}), n.color || (n.color = {});
1247
- const t = n.margin === void 0 || n.margin === null || n.margin < 0 ? 4 : n.margin, r = n.width && n.width >= 21 ? n.width : void 0, a = n.scale || 4;
1247
+ const t = n.margin === void 0 || n.margin === null || n.margin < 0 ? 4 : n.margin, r = n.width && n.width >= 21 ? n.width : void 0, s = n.scale || 4;
1248
1248
  return {
1249
1249
  width: r,
1250
- scale: r ? 4 : a,
1250
+ scale: r ? 4 : s,
1251
1251
  margin: t,
1252
1252
  color: {
1253
1253
  dark: u(n.color.dark || "#000000ff"),
@@ -1256,40 +1256,40 @@ Minimum version required to store current data is: ` + h + `.
1256
1256
  type: n.type,
1257
1257
  rendererOpts: n.rendererOpts || {}
1258
1258
  };
1259
- }, s.getScale = function(n, t) {
1259
+ }, a.getScale = function(n, t) {
1260
1260
  return t.width && t.width >= n + 2 * t.margin ? t.width / (n + 2 * t.margin) : t.scale;
1261
- }, s.getImageWidth = function(n, t) {
1262
- const r = s.getScale(n, t);
1261
+ }, a.getImageWidth = function(n, t) {
1262
+ const r = a.getScale(n, t);
1263
1263
  return Math.floor((n + 2 * t.margin) * r);
1264
- }, s.qrToImageData = function(n, t, r) {
1265
- const a = t.modules.size, l = t.modules.data, B = s.getScale(a, r), P = Math.floor((a + 2 * r.margin) * B), d = r.margin * B, b = [r.color.light, r.color.dark];
1264
+ }, a.qrToImageData = function(n, t, r) {
1265
+ const s = t.modules.size, l = t.modules.data, B = a.getScale(s, r), P = Math.floor((s + 2 * r.margin) * B), d = r.margin * B, b = [r.color.light, r.color.dark];
1266
1266
  for (let A = 0; A < P; A++) for (let M = 0; M < P; M++) {
1267
1267
  let R = 4 * (A * P + M), p = r.color.light;
1268
- A >= d && M >= d && A < P - d && M < P - d && (p = b[l[Math.floor((A - d) / B) * a + Math.floor((M - d) / B)] ? 1 : 0]), n[R++] = p.r, n[R++] = p.g, n[R++] = p.b, n[R] = p.a;
1268
+ A >= d && M >= d && A < P - d && M < P - d && (p = b[l[Math.floor((A - d) / B) * s + Math.floor((M - d) / B)] ? 1 : 0]), n[R++] = p.r, n[R++] = p.g, n[R++] = p.b, n[R] = p.a;
1269
1269
  }
1270
1270
  };
1271
1271
  })(Qt)), Qt;
1272
1272
  }
1273
1273
  function ue() {
1274
- return qt || (qt = 1, (function(s) {
1274
+ return qt || (qt = 1, (function(a) {
1275
1275
  const u = $t();
1276
- s.render = function(n, t, r) {
1277
- let a = r, l = t;
1278
- a !== void 0 || t && t.getContext || (a = t, t = void 0), t || (l = (function() {
1276
+ a.render = function(n, t, r) {
1277
+ let s = r, l = t;
1278
+ s !== void 0 || t && t.getContext || (s = t, t = void 0), t || (l = (function() {
1279
1279
  try {
1280
1280
  return document.createElement("canvas");
1281
1281
  } catch {
1282
1282
  throw new Error("You need to specify a canvas element");
1283
1283
  }
1284
- })()), a = u.getOptions(a);
1285
- const B = u.getImageWidth(n.modules.size, a), P = l.getContext("2d"), d = P.createImageData(B, B);
1286
- return u.qrToImageData(d.data, n, a), (function(b, A, M) {
1284
+ })()), s = u.getOptions(s);
1285
+ const B = u.getImageWidth(n.modules.size, s), P = l.getContext("2d"), d = P.createImageData(B, B);
1286
+ return u.qrToImageData(d.data, n, s), (function(b, A, M) {
1287
1287
  b.clearRect(0, 0, A.width, A.height), A.style || (A.style = {}), A.height = M, A.width = M, A.style.height = M + "px", A.style.width = M + "px";
1288
1288
  })(P, l, B), P.putImageData(d, 0, 0), l;
1289
- }, s.renderToDataURL = function(n, t, r) {
1290
- let a = r;
1291
- a !== void 0 || t && t.getContext || (a = t, t = void 0), a || (a = {});
1292
- const l = s.render(n, t, a), B = a.type || "image/png", P = a.rendererOpts || {};
1289
+ }, a.renderToDataURL = function(n, t, r) {
1290
+ let s = r;
1291
+ s !== void 0 || t && t.getContext || (s = t, t = void 0), s || (s = {});
1292
+ const l = a.render(n, t, s), B = s.type || "image/png", P = s.rendererOpts || {};
1293
1293
  return l.toDataURL(B, P.quality);
1294
1294
  };
1295
1295
  })(Ot)), Ot;
@@ -1298,17 +1298,17 @@ Minimum version required to store current data is: ` + h + `.
1298
1298
  function ce() {
1299
1299
  if (Zt) return Z;
1300
1300
  Zt = 1;
1301
- const s = $t();
1301
+ const a = $t();
1302
1302
  function u(t, r) {
1303
- const a = t.a / 255, l = r + "=\"" + t.hex + "\"";
1304
- return a < 1 ? l + " " + r + "-opacity=\"" + a.toFixed(2).slice(1) + "\"" : l;
1303
+ const s = t.a / 255, l = r + "=\"" + t.hex + "\"";
1304
+ return s < 1 ? l + " " + r + "-opacity=\"" + s.toFixed(2).slice(1) + "\"" : l;
1305
1305
  }
1306
- function n(t, r, a) {
1306
+ function n(t, r, s) {
1307
1307
  let l = t + r;
1308
- return a !== void 0 && (l += " " + a), l;
1308
+ return s !== void 0 && (l += " " + s), l;
1309
1309
  }
1310
- return Z.render = function(t, r, a) {
1311
- const l = s.getOptions(r), B = t.modules.size, P = t.modules.data, d = B + 2 * l.margin, b = l.color.light.a ? "<path " + u(l.color.light, "fill") + " d=\"M0 0h" + d + "v" + d + "H0z\"/>" : "", A = "<path " + u(l.color.dark, "stroke") + " d=\"" + (function(p, y, e) {
1310
+ return Z.render = function(t, r, s) {
1311
+ const l = a.getOptions(r), B = t.modules.size, P = t.modules.data, d = B + 2 * l.margin, b = l.color.light.a ? "<path " + u(l.color.light, "fill") + " d=\"M0 0h" + d + "v" + d + "H0z\"/>" : "", A = "<path " + u(l.color.dark, "stroke") + " d=\"" + (function(p, y, e) {
1312
1312
  let o = "", c = 0, f = !1, w = 0;
1313
1313
  for (let h = 0; h < p.length; h++) {
1314
1314
  const i = Math.floor(h % y), v = Math.floor(h / y);
@@ -1317,21 +1317,21 @@ Minimum version required to store current data is: ` + h + `.
1317
1317
  return o;
1318
1318
  })(P, B, l.margin) + "\"/>", M = "viewBox=\"0 0 " + d + " " + d + "\"", R = "<svg xmlns=\"http://www.w3.org/2000/svg\" " + (l.width ? "width=\"" + l.width + "\" height=\"" + l.width + "\" " : "") + M + " shape-rendering=\"crispEdges\">" + b + A + `</svg>
1319
1319
  `;
1320
- return typeof a == "function" && a(null, R), R;
1320
+ return typeof s == "function" && s(null, R), R;
1321
1321
  }, Z;
1322
1322
  }
1323
1323
  var fe = ee.$o((function() {
1324
1324
  if (Xt) return H;
1325
1325
  Xt = 1;
1326
- const s = ne(), u = ae(), n = ue(), t = ce();
1327
- function r(a, l, B, P, d) {
1326
+ const a = ne(), u = se(), n = ue(), t = ce();
1327
+ function r(s, l, B, P, d) {
1328
1328
  const b = [].slice.call(arguments, 1), A = b.length, M = typeof b[A - 1] == "function";
1329
- if (!M && !s()) throw new Error("Callback required as last argument");
1329
+ if (!M && !a()) throw new Error("Callback required as last argument");
1330
1330
  if (!M) {
1331
1331
  if (A < 1) throw new Error("Too few arguments provided");
1332
1332
  return A === 1 ? (B = l, l = P = void 0) : A !== 2 || l.getContext || (P = B, B = l, l = void 0), new Promise(function(R, p) {
1333
1333
  try {
1334
- R(a(u.create(B, P), l, P));
1334
+ R(s(u.create(B, P), l, P));
1335
1335
  } catch (y) {
1336
1336
  p(y);
1337
1337
  }
@@ -1341,13 +1341,13 @@ Minimum version required to store current data is: ` + h + `.
1341
1341
  A === 2 ? (d = B, B = l, l = P = void 0) : A === 3 && (l.getContext && d === void 0 ? (d = P, P = void 0) : (d = P, P = B, B = l, l = void 0));
1342
1342
  try {
1343
1343
  const R = u.create(B, P);
1344
- d(null, a(R, l, P));
1344
+ d(null, s(R, l, P));
1345
1345
  } catch (R) {
1346
1346
  d(R);
1347
1347
  }
1348
1348
  }
1349
- return H.create = u.create, H.toCanvas = r.bind(null, n.render), H.toDataURL = r.bind(null, n.renderToDataURL), H.toString = r.bind(null, function(a, l, B) {
1350
- return t.render(a, B);
1349
+ return H.create = u.create, H.toCanvas = r.bind(null, n.render), H.toDataURL = r.bind(null, n.renderToDataURL), H.toString = r.bind(null, function(s, l, B) {
1350
+ return t.render(s, B);
1351
1351
  }), H;
1352
1352
  })());
1353
1353
  te.b = Object.freeze({