@everymatrix/player-account-controller 1.92.1 → 1.92.3

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 (110) hide show
  1. package/components/{GeneralLogout-WQPZo1XA.js → GeneralLogout-BewfWDIc.js} +1 -1
  2. package/components/{GeneralLogout-DwUKWQEM.cjs → GeneralLogout-C2y7Y1dE.cjs} +1 -1
  3. package/components/{GeneralLogout-RtZ56Nn3.js → GeneralLogout-Czvcegs5.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-CvFZhJr5.js → PlayerAccountBettingHistory-CM97TaVJ.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-B73xqRDd.cjs → PlayerAccountBettingHistory-DLSYtCZp.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-CmbPT188.js → PlayerAccountBettingHistory-s5znvIxt.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-NfD7xlui.js → PlayerAccountBiometrics-BKYna6WA.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-8QlKdliQ.cjs → PlayerAccountBiometrics-Qoytvaxy.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-DPDH3rze.js → PlayerAccountBiometrics-h-dyAXxg.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-DfVIWqGO.js → PlayerAccountBiometricsAction-BqGYtfNg.js} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-oyPYqpGN.cjs → PlayerAccountBiometricsAction-ClGKS2gp.cjs} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-Cerl0hxM.js → PlayerAccountBiometricsAction-DDXu8QXv.js} +1 -1
  13. package/components/{PlayerAccountClosure-wcTZTC1v.cjs → PlayerAccountClosure-BGsdGJU3.cjs} +1 -1
  14. package/components/{PlayerAccountClosure-DNkokDK1.js → PlayerAccountClosure-BssaJEGB.js} +1 -1
  15. package/components/{PlayerAccountClosure-CaVbfY7o.js → PlayerAccountClosure-PwcGFe0J.js} +1 -1
  16. package/components/{PlayerAccountController-DErgObNK.cjs → PlayerAccountController-DLXlZ6SW.cjs} +1 -1
  17. package/components/{PlayerAccountController-DG3KbTWa.js → PlayerAccountController-DsJ74Us2.js} +22 -22
  18. package/components/{PlayerAccountController-DyqNYFxa.js → PlayerAccountController-SntRT_hM.js} +22 -22
  19. package/components/{PlayerAccountGamingLimits-Dr2DFwJy.js → PlayerAccountGamingLimits-BBI62m2M.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-C92dYqb3.js → PlayerAccountGamingLimits-CTGgeEPm.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-Ur_9kp2o.cjs → PlayerAccountGamingLimits-_RZx_m5W.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-BdKrgcP9.cjs → PlayerAccountGamingLimitsConfirmationModal-CE01pg7P.cjs} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-JoLpq5Qd.js → PlayerAccountGamingLimitsConfirmationModal-CKwFrXcz.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DzSs9Wlh.js → PlayerAccountGamingLimitsConfirmationModal-DFOcuwIh.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-C61nqLfa.js → PlayerAccountGamingLimitsGroupEdit-6y04dYzq.js} +5 -5
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-CQylV_LW.cjs → PlayerAccountGamingLimitsGroupEdit-CdkRwGIG.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-CGPf2GzC.js → PlayerAccountGamingLimitsGroupEdit-DWC376x3.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-DJ-Cjyp1.cjs → PlayerAccountGamingLimitsHistory2-BFKK_PHb.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-BntJofdm.js → PlayerAccountGamingLimitsHistory2-CBEGaMY3.js} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-CEqiSFnd.js → PlayerAccountGamingLimitsHistory2-ClfDvYz5.js} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-CZcelMtY.cjs → PlayerAccountGamingLimitsInfoCard-BhJtrPGf.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsInfoCard-Bzww1-RJ.js → PlayerAccountGamingLimitsInfoCard-CYBvAKAo.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-DnWRF2MA.js → PlayerAccountGamingLimitsInfoCard-DuAQqQMM.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-B-RLJAxy.js → PlayerAccountGamingLimitsPage2Gm16-BYzr5vwa.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-BIphnM6Y.js → PlayerAccountGamingLimitsPage2Gm16-C8uCJhKP.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-CNA7QruD.cjs → PlayerAccountGamingLimitsPage2Gm16-D7tAsvtX.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-CSLlyssM.js → PlayerAccountGamingLimitsPopup-B_ct-g3T.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-BdBRIFfU.js → PlayerAccountGamingLimitsPopup-CUDTCM1F.js} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-o3iv0A6x.cjs → PlayerAccountGamingLimitsPopup-D9_oGqEa.cjs} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-DcQHUkFT.cjs → PlayerAccountGamingLimitsWrapper2-BliP4ItH.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsWrapper2-DwZwd-hy.js → PlayerAccountGamingLimitsWrapper2-C2zg2CAI.js} +3 -3
  42. package/components/{PlayerAccountGamingLimitsWrapper2-05u-l372.js → PlayerAccountGamingLimitsWrapper2-D2BMF4mt.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-CjKLQaHH.js → PlayerAccountGeneralConfirmationModal-B_t7QPdS.js} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-BbGVvtLY.cjs → PlayerAccountGeneralConfirmationModal-BtbmIISI.cjs} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-Cst4rd-S.js → PlayerAccountGeneralConfirmationModal-CqON6ro1.js} +1 -1
  46. package/components/{PlayerAccountMenu-CdjH1gEW.js → PlayerAccountMenu-D8cVhd2H.js} +2 -2
  47. package/components/{PlayerAccountMenu-Cr_HRHLF.js → PlayerAccountMenu-DQCrC-4R.js} +2 -2
  48. package/components/{PlayerAccountMenu-C3slbiux.cjs → PlayerAccountMenu-DnRhW9pN.cjs} +1 -1
  49. package/components/{PlayerAccountModal-u6LegtfR.cjs → PlayerAccountModal-BLW1ybcK.cjs} +1 -1
  50. package/components/{PlayerAccountModal-C6p2KI7k.js → PlayerAccountModal-CeP6yj14.js} +1 -1
  51. package/components/{PlayerAccountModal-BRWjYAGu.js → PlayerAccountModal-DpJNoelk.js} +1 -1
  52. package/components/{PlayerAccountNotifications-tWE-aFjO.js → PlayerAccountNotifications-BFcCZ7Zu.js} +1 -1
  53. package/components/{PlayerAccountNotifications-C2A1_LCL.js → PlayerAccountNotifications-CxHtpdNr.js} +1 -1
  54. package/components/{PlayerAccountNotifications-QFoWBKny.cjs → PlayerAccountNotifications-DbQdy81X.cjs} +1 -1
  55. package/components/{PlayerAccountProductRestriction-DkDbBfka.js → PlayerAccountProductRestriction-CZ7EoRjk.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-B0Ri7MHw.js → PlayerAccountProductRestriction-LMRzxRV2.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-HHHbDtlq.cjs → PlayerAccountProductRestriction-ktMW-ZvT.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-DpI_eJta.js → PlayerAccountReviewFrequency-CfmK1Obu.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-CV609scj.js → PlayerAccountReviewFrequency-DlpnpwkB.js} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-D9TTXGcO.cjs → PlayerAccountReviewFrequency-DnabhObX.cjs} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-B9-rTgYV.cjs → PlayerAccountSelfExclusion-0v1N8elD.cjs} +1 -1
  62. package/components/{PlayerAccountSelfExclusion-DoGu-Fe9.js → PlayerAccountSelfExclusion-CtIgMC0t.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-B0jQ5C6c.js → PlayerAccountSelfExclusion-Jb_V4i6_.js} +2 -2
  64. package/components/{PlayerAccountTimeout-CJccgvCT.js → PlayerAccountTimeout-8fzk_RgK.js} +3 -3
  65. package/components/{PlayerAccountTimeout-ojIglJPR.js → PlayerAccountTimeout-B_rvinGm.js} +3 -3
  66. package/components/{PlayerAccountTimeout-Bi1R5_Rb.cjs → PlayerAccountTimeout-PUZUbjl5.cjs} +2 -2
  67. package/components/{PlayerAccountTransactionsHistory-Coa29LAd.js → PlayerAccountTransactionsHistory-Cmvap37J.js} +4 -4
  68. package/components/{PlayerAccountTransactionsHistory-DUwj5lNk.cjs → PlayerAccountTransactionsHistory-D4v46D-9.cjs} +1 -1
  69. package/components/{PlayerAccountTransactionsHistory-DjwLYkfj.js → PlayerAccountTransactionsHistory-DLu-55uY.js} +4 -4
  70. package/components/{PlayerActiveBonuses-BBeMkdSY.cjs → PlayerActiveBonuses-C1PpUxaU.cjs} +1 -1
  71. package/components/{PlayerActiveBonuses-Bx0uoqz4.js → PlayerActiveBonuses-DuONPq12.js} +2 -2
  72. package/components/{PlayerActiveBonuses-B65W7Wz0.js → PlayerActiveBonuses-xqjLxWxj.js} +2 -2
  73. package/components/{PlayerBonusCard-TMDOHvnL.cjs → PlayerBonusCard-BPekoz_J.cjs} +1 -1
  74. package/components/{PlayerBonusCard-CbkfDKjT.js → PlayerBonusCard-Cd4CFOvV.js} +2 -2
  75. package/components/{PlayerBonusCard-CqeLHQ0G.js → PlayerBonusCard-DjeuOIGK.js} +2 -2
  76. package/components/{PlayerBonusHistory-DwI1OKTw.js → PlayerBonusHistory-D--3LkB0.js} +2 -2
  77. package/components/{PlayerBonusHistory-7zvs9Ym9.js → PlayerBonusHistory-DU1SycKq.js} +2 -2
  78. package/components/{PlayerBonusHistory-Mjrhaj6a.cjs → PlayerBonusHistory-DgS2gdht.cjs} +1 -1
  79. package/components/{PlayerChangePassword-BmC4EyoL.cjs → PlayerChangePassword-B5XpvV9H.cjs} +1 -1
  80. package/components/{PlayerChangePassword-CfFZhaXQ.js → PlayerChangePassword-CLerFf5K.js} +1 -1
  81. package/components/{PlayerChangePassword-BqjLItv0.js → PlayerChangePassword-Dl-dCIpW.js} +1 -1
  82. package/components/{PlayerDeposit-Ba0qJRp2.js → PlayerDeposit-B-v03sTE.js} +1 -1
  83. package/components/{PlayerDeposit-o49phTHz.cjs → PlayerDeposit-b1W47bGW.cjs} +1 -1
  84. package/components/{PlayerDeposit-DP8bCOdN.js → PlayerDeposit-h04Mh6YW.js} +1 -1
  85. package/components/{PlayerGamingHistory-BgapmKYI.js → PlayerGamingHistory-Cv8-Rfzo.js} +3 -3
  86. package/components/{PlayerGamingHistory-DV6Slzt_.js → PlayerGamingHistory-DmKqCLau.js} +3 -3
  87. package/components/{PlayerGamingHistory-DvW-LsKl.cjs → PlayerGamingHistory-DsW9jT5y.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-HEjFhSrJ.cjs → PlayerPendingWithdrawals-DYzXY4hW.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-CedsWvDL.js → PlayerPendingWithdrawals-Dn8gpaSl.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-BZ62DYZ9.js → PlayerPendingWithdrawals-ZAMQ5qqB.js} +1 -1
  91. package/components/{PlayerProfileInfo-BDF3Bqtt.js → PlayerProfileInfo-B7dKfAe_.js} +3 -3
  92. package/components/{PlayerProfileInfo-DPDI61Mv.js → PlayerProfileInfo-BEMt39Gt.js} +3 -3
  93. package/components/{PlayerProfileInfo-DXVRL3lh.cjs → PlayerProfileInfo-DjD4E513.cjs} +1 -1
  94. package/components/{PlayerRealityCheck-DgPTeJe_.js → PlayerRealityCheck-B52w0x7t.js} +1 -1
  95. package/components/{PlayerRealityCheck-CMZtzPkR.cjs → PlayerRealityCheck-Bnyc-oHq.cjs} +1 -1
  96. package/components/{PlayerRealityCheck-CLVunEKT.js → PlayerRealityCheck-Dbzh832i.js} +1 -1
  97. package/components/{PlayerTransactionHistory-CHhOIZhh.js → PlayerTransactionHistory-B70UTWWR.js} +1 -1
  98. package/components/{PlayerTransactionHistory-S0lzcu95.js → PlayerTransactionHistory-C81SVMNQ.js} +1 -1
  99. package/components/{PlayerTransactionHistory-BEqLK737.cjs → PlayerTransactionHistory-D8Jy6PgB.cjs} +1 -1
  100. package/components/{PlayerWithdrawal-C46pCXyV.js → PlayerWithdrawal-C3SkDGS_.js} +1 -1
  101. package/components/{PlayerWithdrawal-DKCRQ9pT.cjs → PlayerWithdrawal-CJUkIcgA.cjs} +1 -1
  102. package/components/{PlayerWithdrawal-BqAC-Oq4.js → PlayerWithdrawal-DlCsEoDt.js} +1 -1
  103. package/components/{QrSessionGenerator-DgIh_dAl.js → QrSessionGenerator-BzNmvH-J.js} +463 -453
  104. package/components/QrSessionGenerator-DatUnp4r.cjs +8 -0
  105. package/components/{QrSessionGenerator-BkFSg0GV.js → QrSessionGenerator-hn3NvTO5.js} +441 -431
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/components/QrSessionGenerator--jEOQTub.cjs +0 -8
@@ -1,4 +1,4 @@
1
- var Et = (e, t, n) => new Promise((o, r) => {
1
+ var j = (e, t, n) => new Promise((o, r) => {
2
2
  var i = (a) => {
3
3
  try {
4
4
  l(n.next(a));
@@ -14,34 +14,36 @@ var Et = (e, t, n) => new Promise((o, r) => {
14
14
  }, l = (a) => a.done ? o(a.value) : Promise.resolve(a.value).then(i, s);
15
15
  l((n = n.apply(e, t)).next());
16
16
  });
17
- import { a as Jt, $ as jt, S as Gt, i as Yt, s as qt, f as z, b as Wt, n as lt, d as Z, t as ut, c as x, m as _, w as Xt, e as U, u as ct, p as Bt, r as L, g as Zt, o as xt, I as $t, j as te, y as bt, z as ee, A as ne, B as re, C as oe, D as ie } from "./PlayerAccountController-DyqNYFxa.js";
18
- function St(e, t) {
19
- Jt(e, t);
17
+ import { a as Wt, $ as Xt, S as Zt, i as xt, s as $t, f as F, b as te, n as ht, d as nt, t as mt, c as rt, m as P, w as ee, e as U, u as wt, p as It, r as _, g as ne, I as re, j as oe, y as Nt, z as ie, A as se, B as ae, C as le, D as ue } from "./PlayerAccountController-SntRT_hM.js";
18
+ function Rt(e, t) {
19
+ Wt(e, t);
20
20
  }
21
- function se(e) {
22
- jt.set(e);
21
+ function ce(e) {
22
+ Xt.set(e);
23
23
  }
24
- const At = {
24
+ const Mt = {
25
25
  en: {
26
26
  titleQRSessionGenerator: "Scan the QR Code to access your account on retail devices.",
27
27
  generateQRButton: "Generate QR",
28
28
  unauthorized: "Authentication failed.",
29
29
  failedToFetch: "Cannot generate QR, Please try again.",
30
- unexpectedError: "Unexpected error occurred. Please try again later."
30
+ unexpectedError: "Unexpected error occurred. Please try again later.",
31
+ second: "s"
31
32
  },
32
33
  fr: {
33
34
  titleQRSessionGenerator: "Scannez le code QR pour accéder à votre compte sur les appareils en magasin.",
34
35
  generateQRButton: "Générer des QR",
35
36
  unauthorized: "L'authentification a échoué.",
36
37
  failedToFetch: "Impossible de générer le code QR, veuillez réessayer.",
37
- unexpectedError: "Une erreur inattendue s'est produite. Veuillez réessayer plus tard."
38
+ unexpectedError: "Une erreur inattendue s'est produite. Veuillez réessayer plus tard.",
39
+ second: "s"
38
40
  }
39
41
  };
40
- var j = {}, ae = function() {
42
+ var q = {}, fe = function() {
41
43
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
42
- }, Rt = {}, N = {};
43
- let mt;
44
- const le = [
44
+ }, Ut = {}, I = {};
45
+ let Bt;
46
+ const de = [
45
47
  0,
46
48
  // Not used
47
49
  26,
@@ -85,34 +87,34 @@ const le = [
85
87
  3532,
86
88
  3706
87
89
  ];
88
- N.getSymbolSize = function(t) {
90
+ I.getSymbolSize = function(t) {
89
91
  if (!t)
90
92
  throw new Error('"version" cannot be null or undefined');
91
93
  if (t < 1 || t > 40)
92
94
  throw new Error('"version" should be in range from 1 to 40');
93
95
  return t * 4 + 17;
94
96
  };
95
- N.getSymbolTotalCodewords = function(t) {
96
- return le[t];
97
+ I.getSymbolTotalCodewords = function(t) {
98
+ return de[t];
97
99
  };
98
- N.getBCHDigit = function(e) {
100
+ I.getBCHDigit = function(e) {
99
101
  let t = 0;
100
102
  for (; e !== 0; )
101
103
  t++, e >>>= 1;
102
104
  return t;
103
105
  };
104
- N.setToSJISFunction = function(t) {
106
+ I.setToSJISFunction = function(t) {
105
107
  if (typeof t != "function")
106
108
  throw new Error('"toSJISFunc" is not a valid function.');
107
- mt = t;
109
+ Bt = t;
108
110
  };
109
- N.isKanjiModeEnabled = function() {
110
- return typeof mt != "undefined";
111
+ I.isKanjiModeEnabled = function() {
112
+ return typeof Bt != "undefined";
111
113
  };
112
- N.toSJIS = function(t) {
113
- return mt(t);
114
+ I.toSJIS = function(t) {
115
+ return Bt(t);
114
116
  };
115
- var $ = {};
117
+ var ot = {};
116
118
  (function(e) {
117
119
  e.L = { bit: 1 }, e.M = { bit: 0 }, e.Q = { bit: 3 }, e.H = { bit: 2 };
118
120
  function t(n) {
@@ -146,11 +148,11 @@ var $ = {};
146
148
  return r;
147
149
  }
148
150
  };
149
- })($);
150
- function Mt() {
151
+ })(ot);
152
+ function Dt() {
151
153
  this.buffer = [], this.length = 0;
152
154
  }
153
- Mt.prototype = {
155
+ Dt.prototype = {
154
156
  get: function(e) {
155
157
  const t = Math.floor(e / 8);
156
158
  return (this.buffer[t] >>> 7 - e % 8 & 1) === 1;
@@ -167,28 +169,28 @@ Mt.prototype = {
167
169
  this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
168
170
  }
169
171
  };
170
- var ue = Mt;
171
- function G(e) {
172
+ var ge = Dt;
173
+ function W(e) {
172
174
  if (!e || e < 1)
173
175
  throw new Error("BitMatrix size must be defined and greater than 0");
174
176
  this.size = e, this.data = new Uint8Array(e * e), this.reservedBit = new Uint8Array(e * e);
175
177
  }
176
- G.prototype.set = function(e, t, n, o) {
178
+ W.prototype.set = function(e, t, n, o) {
177
179
  const r = e * this.size + t;
178
180
  this.data[r] = n, o && (this.reservedBit[r] = !0);
179
181
  };
180
- G.prototype.get = function(e, t) {
182
+ W.prototype.get = function(e, t) {
181
183
  return this.data[e * this.size + t];
182
184
  };
183
- G.prototype.xor = function(e, t, n) {
185
+ W.prototype.xor = function(e, t, n) {
184
186
  this.data[e * this.size + t] ^= n;
185
187
  };
186
- G.prototype.isReserved = function(e, t) {
188
+ W.prototype.isReserved = function(e, t) {
187
189
  return this.reservedBit[e * this.size + t];
188
190
  };
189
- var ce = G, Pt = {};
191
+ var he = W, kt = {};
190
192
  (function(e) {
191
- const t = N.getSymbolSize;
193
+ const t = I.getSymbolSize;
192
194
  e.getRowColCoords = function(o) {
193
195
  if (o === 1)
194
196
  return [];
@@ -205,21 +207,21 @@ var ce = G, Pt = {};
205
207
  l === s - 1 && a === 0 || r.push([i[l], i[a]]);
206
208
  return r;
207
209
  };
208
- })(Pt);
209
- var _t = {};
210
- const fe = N.getSymbolSize, It = 7;
211
- _t.getPositions = function(t) {
212
- const n = fe(t);
210
+ })(kt);
211
+ var Ft = {};
212
+ const me = I.getSymbolSize, Pt = 7;
213
+ Ft.getPositions = function(t) {
214
+ const n = me(t);
213
215
  return [
214
216
  // top-left
215
217
  [0, 0],
216
218
  // top-right
217
- [n - It, 0],
219
+ [n - Pt, 0],
218
220
  // bottom-left
219
- [0, n - It]
221
+ [0, n - Pt]
220
222
  ];
221
223
  };
222
- var Lt = {};
224
+ var zt = {};
223
225
  (function(e) {
224
226
  e.Patterns = {
225
227
  PATTERN000: 0,
@@ -243,12 +245,12 @@ var Lt = {};
243
245
  return e.isValid(r) ? parseInt(r, 10) : void 0;
244
246
  }, e.getPenaltyN1 = function(r) {
245
247
  const i = r.size;
246
- let s = 0, l = 0, a = 0, u = null, c = null;
248
+ let s = 0, l = 0, a = 0, u = null, f = null;
247
249
  for (let B = 0; B < i; B++) {
248
- l = a = 0, u = c = null;
250
+ l = a = 0, u = f = null;
249
251
  for (let d = 0; d < i; d++) {
250
252
  let g = r.get(B, d);
251
- g === u ? l++ : (l >= 5 && (s += t.N1 + (l - 5)), u = g, l = 1), g = r.get(d, B), g === c ? a++ : (a >= 5 && (s += t.N1 + (a - 5)), c = g, a = 1);
253
+ g === u ? l++ : (l >= 5 && (s += t.N1 + (l - 5)), u = g, l = 1), g = r.get(d, B), g === f ? a++ : (a >= 5 && (s += t.N1 + (a - 5)), f = g, a = 1);
252
254
  }
253
255
  l >= 5 && (s += t.N1 + (l - 5)), a >= 5 && (s += t.N1 + (a - 5));
254
256
  }
@@ -267,8 +269,8 @@ var Lt = {};
267
269
  let s = 0, l = 0, a = 0;
268
270
  for (let u = 0; u < i; u++) {
269
271
  l = a = 0;
270
- for (let c = 0; c < i; c++)
271
- l = l << 1 & 2047 | r.get(u, c), c >= 10 && (l === 1488 || l === 93) && s++, a = a << 1 & 2047 | r.get(c, u), c >= 10 && (a === 1488 || a === 93) && s++;
272
+ for (let f = 0; f < i; f++)
273
+ l = l << 1 & 2047 | r.get(u, f), f >= 10 && (l === 1488 || l === 93) && s++, a = a << 1 & 2047 | r.get(f, u), f >= 10 && (a === 1488 || a === 93) && s++;
272
274
  }
273
275
  return s * t.N3;
274
276
  }, e.getPenaltyN4 = function(r) {
@@ -310,14 +312,14 @@ var Lt = {};
310
312
  let l = 0, a = 1 / 0;
311
313
  for (let u = 0; u < s; u++) {
312
314
  i(u), e.applyMask(u, r);
313
- const c = e.getPenaltyN1(r) + e.getPenaltyN2(r) + e.getPenaltyN3(r) + e.getPenaltyN4(r);
314
- e.applyMask(u, r), c < a && (a = c, l = u);
315
+ const f = e.getPenaltyN1(r) + e.getPenaltyN2(r) + e.getPenaltyN3(r) + e.getPenaltyN4(r);
316
+ e.applyMask(u, r), f < a && (a = f, l = u);
315
317
  }
316
318
  return l;
317
319
  };
318
- })(Lt);
319
- var tt = {};
320
- const D = $, Y = [
320
+ })(zt);
321
+ var it = {};
322
+ const D = ot, Z = [
321
323
  // L M Q H
322
324
  1,
323
325
  1,
@@ -479,7 +481,7 @@ const D = $, Y = [
479
481
  49,
480
482
  68,
481
483
  81
482
- ], q = [
484
+ ], x = [
483
485
  // L M Q H
484
486
  7,
485
487
  10,
@@ -642,56 +644,56 @@ const D = $, Y = [
642
644
  2040,
643
645
  2430
644
646
  ];
645
- tt.getBlocksCount = function(t, n) {
647
+ it.getBlocksCount = function(t, n) {
646
648
  switch (n) {
647
649
  case D.L:
648
- return Y[(t - 1) * 4 + 0];
650
+ return Z[(t - 1) * 4 + 0];
649
651
  case D.M:
650
- return Y[(t - 1) * 4 + 1];
652
+ return Z[(t - 1) * 4 + 1];
651
653
  case D.Q:
652
- return Y[(t - 1) * 4 + 2];
654
+ return Z[(t - 1) * 4 + 2];
653
655
  case D.H:
654
- return Y[(t - 1) * 4 + 3];
656
+ return Z[(t - 1) * 4 + 3];
655
657
  default:
656
658
  return;
657
659
  }
658
660
  };
659
- tt.getTotalCodewordsCount = function(t, n) {
661
+ it.getTotalCodewordsCount = function(t, n) {
660
662
  switch (n) {
661
663
  case D.L:
662
- return q[(t - 1) * 4 + 0];
664
+ return x[(t - 1) * 4 + 0];
663
665
  case D.M:
664
- return q[(t - 1) * 4 + 1];
666
+ return x[(t - 1) * 4 + 1];
665
667
  case D.Q:
666
- return q[(t - 1) * 4 + 2];
668
+ return x[(t - 1) * 4 + 2];
667
669
  case D.H:
668
- return q[(t - 1) * 4 + 3];
670
+ return x[(t - 1) * 4 + 3];
669
671
  default:
670
672
  return;
671
673
  }
672
674
  };
673
- var Ut = {}, et = {};
674
- const Q = new Uint8Array(512), W = new Uint8Array(256);
675
+ var vt = {}, st = {};
676
+ const G = new Uint8Array(512), tt = new Uint8Array(256);
675
677
  (function() {
676
678
  let t = 1;
677
679
  for (let n = 0; n < 255; n++)
678
- Q[n] = t, W[t] = n, t <<= 1, t & 256 && (t ^= 285);
680
+ G[n] = t, tt[t] = n, t <<= 1, t & 256 && (t ^= 285);
679
681
  for (let n = 255; n < 512; n++)
680
- Q[n] = Q[n - 255];
682
+ G[n] = G[n - 255];
681
683
  })();
682
- et.log = function(t) {
684
+ st.log = function(t) {
683
685
  if (t < 1)
684
686
  throw new Error("log(" + t + ")");
685
- return W[t];
687
+ return tt[t];
686
688
  };
687
- et.exp = function(t) {
688
- return Q[t];
689
+ st.exp = function(t) {
690
+ return G[t];
689
691
  };
690
- et.mul = function(t, n) {
691
- return t === 0 || n === 0 ? 0 : Q[W[t] + W[n]];
692
+ st.mul = function(t, n) {
693
+ return t === 0 || n === 0 ? 0 : G[tt[t] + tt[n]];
692
694
  };
693
695
  (function(e) {
694
- const t = et;
696
+ const t = st;
695
697
  e.mul = function(o, r) {
696
698
  const i = new Uint8Array(o.length + r.length - 1);
697
699
  for (let s = 0; s < o.length; s++)
@@ -716,53 +718,53 @@ et.mul = function(t, n) {
716
718
  r = e.mul(r, new Uint8Array([1, t.exp(i)]));
717
719
  return r;
718
720
  };
719
- })(Ut);
720
- const Dt = Ut;
721
- function wt(e) {
721
+ })(vt);
722
+ const Vt = vt;
723
+ function bt(e) {
722
724
  this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
723
725
  }
724
- wt.prototype.initialize = function(t) {
725
- this.degree = t, this.genPoly = Dt.generateECPolynomial(this.degree);
726
+ bt.prototype.initialize = function(t) {
727
+ this.degree = t, this.genPoly = Vt.generateECPolynomial(this.degree);
726
728
  };
727
- wt.prototype.encode = function(t) {
729
+ bt.prototype.encode = function(t) {
728
730
  if (!this.genPoly)
729
731
  throw new Error("Encoder not initialized");
730
732
  const n = new Uint8Array(t.length + this.degree);
731
733
  n.set(t);
732
- const o = Dt.mod(n, this.genPoly), r = this.degree - o.length;
734
+ const o = Vt.mod(n, this.genPoly), r = this.degree - o.length;
733
735
  if (r > 0) {
734
736
  const i = new Uint8Array(this.degree);
735
737
  return i.set(o, r), i;
736
738
  }
737
739
  return o;
738
740
  };
739
- var de = wt, kt = {}, k = {}, yt = {};
740
- yt.isValid = function(t) {
741
+ var we = bt, Ht = {}, k = {}, St = {};
742
+ St.isValid = function(t) {
741
743
  return !isNaN(t) && t >= 1 && t <= 40;
742
744
  };
743
- var P = {};
744
- const Ft = "[0-9]+", ge = "[A-Z $%*+\\-./:]+";
745
- let J = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
746
- J = J.replace(/u/g, "\\u");
747
- const he = "(?:(?![A-Z0-9 $%*+\\-./:]|" + J + `)(?:.|[\r
745
+ var M = {};
746
+ const Ot = "[0-9]+", ye = "[A-Z $%*+\\-./:]+";
747
+ let Y = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
748
+ Y = Y.replace(/u/g, "\\u");
749
+ const Ee = "(?:(?![A-Z0-9 $%*+\\-./:]|" + Y + `)(?:.|[\r
748
750
  ]))+`;
749
- P.KANJI = new RegExp(J, "g");
750
- P.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
751
- P.BYTE = new RegExp(he, "g");
752
- P.NUMERIC = new RegExp(Ft, "g");
753
- P.ALPHANUMERIC = new RegExp(ge, "g");
754
- const me = new RegExp("^" + J + "$"), we = new RegExp("^" + Ft + "$"), ye = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
755
- P.testKanji = function(t) {
756
- return me.test(t);
751
+ M.KANJI = new RegExp(Y, "g");
752
+ M.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
753
+ M.BYTE = new RegExp(Ee, "g");
754
+ M.NUMERIC = new RegExp(Ot, "g");
755
+ M.ALPHANUMERIC = new RegExp(ye, "g");
756
+ const pe = new RegExp("^" + Y + "$"), Ce = new RegExp("^" + Ot + "$"), Be = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
757
+ M.testKanji = function(t) {
758
+ return pe.test(t);
757
759
  };
758
- P.testNumeric = function(t) {
759
- return we.test(t);
760
+ M.testNumeric = function(t) {
761
+ return Ce.test(t);
760
762
  };
761
- P.testAlphanumeric = function(t) {
762
- return ye.test(t);
763
+ M.testAlphanumeric = function(t) {
764
+ return Be.test(t);
763
765
  };
764
766
  (function(e) {
765
- const t = yt, n = P;
767
+ const t = St, n = M;
766
768
  e.NUMERIC = {
767
769
  id: "Numeric",
768
770
  bit: 1,
@@ -823,101 +825,101 @@ P.testAlphanumeric = function(t) {
823
825
  };
824
826
  })(k);
825
827
  (function(e) {
826
- const t = N, n = tt, o = $, r = k, i = yt, s = 7973, l = t.getBCHDigit(s);
827
- function a(d, g, m) {
828
- for (let w = 1; w <= 40; w++)
829
- if (g <= e.getCapacity(w, m, d))
830
- return w;
828
+ const t = I, n = it, o = ot, r = k, i = St, s = 7973, l = t.getBCHDigit(s);
829
+ function a(d, g, h) {
830
+ for (let m = 1; m <= 40; m++)
831
+ if (g <= e.getCapacity(m, h, d))
832
+ return m;
831
833
  }
832
834
  function u(d, g) {
833
835
  return r.getCharCountIndicator(d, g) + 4;
834
836
  }
835
- function c(d, g) {
836
- let m = 0;
837
- return d.forEach(function(w) {
838
- const p = u(w.mode, g);
839
- m += p + w.getBitsLength();
840
- }), m;
837
+ function f(d, g) {
838
+ let h = 0;
839
+ return d.forEach(function(m) {
840
+ const C = u(m.mode, g);
841
+ h += C + m.getBitsLength();
842
+ }), h;
841
843
  }
842
844
  function B(d, g) {
843
- for (let m = 1; m <= 40; m++)
844
- if (c(d, m) <= e.getCapacity(m, g, r.MIXED))
845
- return m;
845
+ for (let h = 1; h <= 40; h++)
846
+ if (f(d, h) <= e.getCapacity(h, g, r.MIXED))
847
+ return h;
846
848
  }
847
- e.from = function(g, m) {
848
- return i.isValid(g) ? parseInt(g, 10) : m;
849
- }, e.getCapacity = function(g, m, w) {
849
+ e.from = function(g, h) {
850
+ return i.isValid(g) ? parseInt(g, 10) : h;
851
+ }, e.getCapacity = function(g, h, m) {
850
852
  if (!i.isValid(g))
851
853
  throw new Error("Invalid QR Code version");
852
- typeof w == "undefined" && (w = r.BYTE);
853
- const p = t.getSymbolTotalCodewords(g), f = n.getTotalCodewordsCount(g, m), h = (p - f) * 8;
854
- if (w === r.MIXED)
855
- return h;
856
- const C = h - u(w, g);
857
- switch (w) {
854
+ typeof m == "undefined" && (m = r.BYTE);
855
+ const C = t.getSymbolTotalCodewords(g), c = n.getTotalCodewordsCount(g, h), w = (C - c) * 8;
856
+ if (m === r.MIXED)
857
+ return w;
858
+ const E = w - u(m, g);
859
+ switch (m) {
858
860
  case r.NUMERIC:
859
- return Math.floor(C / 10 * 3);
861
+ return Math.floor(E / 10 * 3);
860
862
  case r.ALPHANUMERIC:
861
- return Math.floor(C / 11 * 2);
863
+ return Math.floor(E / 11 * 2);
862
864
  case r.KANJI:
863
- return Math.floor(C / 13);
865
+ return Math.floor(E / 13);
864
866
  case r.BYTE:
865
867
  default:
866
- return Math.floor(C / 8);
868
+ return Math.floor(E / 8);
867
869
  }
868
- }, e.getBestVersionForData = function(g, m) {
869
- let w;
870
- const p = o.from(m, o.M);
870
+ }, e.getBestVersionForData = function(g, h) {
871
+ let m;
872
+ const C = o.from(h, o.M);
871
873
  if (Array.isArray(g)) {
872
874
  if (g.length > 1)
873
- return B(g, p);
875
+ return B(g, C);
874
876
  if (g.length === 0)
875
877
  return 1;
876
- w = g[0];
878
+ m = g[0];
877
879
  } else
878
- w = g;
879
- return a(w.mode, w.getLength(), p);
880
+ m = g;
881
+ return a(m.mode, m.getLength(), C);
880
882
  }, e.getEncodedBits = function(g) {
881
883
  if (!i.isValid(g) || g < 7)
882
884
  throw new Error("Invalid QR Code version");
883
- let m = g << 12;
884
- for (; t.getBCHDigit(m) - l >= 0; )
885
- m ^= s << t.getBCHDigit(m) - l;
886
- return g << 12 | m;
885
+ let h = g << 12;
886
+ for (; t.getBCHDigit(h) - l >= 0; )
887
+ h ^= s << t.getBCHDigit(h) - l;
888
+ return g << 12 | h;
887
889
  };
888
- })(kt);
889
- var zt = {};
890
- const ft = N, vt = 1335, Ce = 21522, Tt = ft.getBCHDigit(vt);
891
- zt.getEncodedBits = function(t, n) {
890
+ })(Ht);
891
+ var Qt = {};
892
+ const yt = I, Kt = 1335, be = 21522, _t = yt.getBCHDigit(Kt);
893
+ Qt.getEncodedBits = function(t, n) {
892
894
  const o = t.bit << 3 | n;
893
895
  let r = o << 10;
894
- for (; ft.getBCHDigit(r) - Tt >= 0; )
895
- r ^= vt << ft.getBCHDigit(r) - Tt;
896
- return (o << 10 | r) ^ Ce;
896
+ for (; yt.getBCHDigit(r) - _t >= 0; )
897
+ r ^= Kt << yt.getBCHDigit(r) - _t;
898
+ return (o << 10 | r) ^ be;
897
899
  };
898
- var Vt = {};
899
- const pe = k;
900
- function v(e) {
901
- this.mode = pe.NUMERIC, this.data = e.toString();
900
+ var Jt = {};
901
+ const Se = k;
902
+ function z(e) {
903
+ this.mode = Se.NUMERIC, this.data = e.toString();
902
904
  }
903
- v.getBitsLength = function(t) {
905
+ z.getBitsLength = function(t) {
904
906
  return 10 * Math.floor(t / 3) + (t % 3 ? t % 3 * 3 + 1 : 0);
905
907
  };
906
- v.prototype.getLength = function() {
908
+ z.prototype.getLength = function() {
907
909
  return this.data.length;
908
910
  };
909
- v.prototype.getBitsLength = function() {
910
- return v.getBitsLength(this.data.length);
911
+ z.prototype.getBitsLength = function() {
912
+ return z.getBitsLength(this.data.length);
911
913
  };
912
- v.prototype.write = function(t) {
914
+ z.prototype.write = function(t) {
913
915
  let n, o, r;
914
916
  for (n = 0; n + 3 <= this.data.length; n += 3)
915
917
  o = this.data.substr(n, 3), r = parseInt(o, 10), t.put(r, 10);
916
918
  const i = this.data.length - n;
917
919
  i > 0 && (o = this.data.substr(n), r = parseInt(o, 10), t.put(r, i * 3 + 1));
918
920
  };
919
- var Ee = v;
920
- const Be = k, rt = [
921
+ var Ae = z;
922
+ const Te = k, ut = [
921
923
  "0",
922
924
  "1",
923
925
  "2",
@@ -964,62 +966,62 @@ const Be = k, rt = [
964
966
  "/",
965
967
  ":"
966
968
  ];
967
- function V(e) {
968
- this.mode = Be.ALPHANUMERIC, this.data = e;
969
+ function v(e) {
970
+ this.mode = Te.ALPHANUMERIC, this.data = e;
969
971
  }
970
- V.getBitsLength = function(t) {
972
+ v.getBitsLength = function(t) {
971
973
  return 11 * Math.floor(t / 2) + 6 * (t % 2);
972
974
  };
973
- V.prototype.getLength = function() {
975
+ v.prototype.getLength = function() {
974
976
  return this.data.length;
975
977
  };
976
- V.prototype.getBitsLength = function() {
977
- return V.getBitsLength(this.data.length);
978
+ v.prototype.getBitsLength = function() {
979
+ return v.getBitsLength(this.data.length);
978
980
  };
979
- V.prototype.write = function(t) {
981
+ v.prototype.write = function(t) {
980
982
  let n;
981
983
  for (n = 0; n + 2 <= this.data.length; n += 2) {
982
- let o = rt.indexOf(this.data[n]) * 45;
983
- o += rt.indexOf(this.data[n + 1]), t.put(o, 11);
984
+ let o = ut.indexOf(this.data[n]) * 45;
985
+ o += ut.indexOf(this.data[n + 1]), t.put(o, 11);
984
986
  }
985
- this.data.length % 2 && t.put(rt.indexOf(this.data[n]), 6);
987
+ this.data.length % 2 && t.put(ut.indexOf(this.data[n]), 6);
986
988
  };
987
- var be = V;
988
- const Se = k;
989
- function H(e) {
990
- this.mode = Se.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
989
+ var Ie = v;
990
+ const Ne = k;
991
+ function V(e) {
992
+ this.mode = Ne.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
991
993
  }
992
- H.getBitsLength = function(t) {
994
+ V.getBitsLength = function(t) {
993
995
  return t * 8;
994
996
  };
995
- H.prototype.getLength = function() {
997
+ V.prototype.getLength = function() {
996
998
  return this.data.length;
997
999
  };
998
- H.prototype.getBitsLength = function() {
999
- return H.getBitsLength(this.data.length);
1000
+ V.prototype.getBitsLength = function() {
1001
+ return V.getBitsLength(this.data.length);
1000
1002
  };
1001
- H.prototype.write = function(e) {
1003
+ V.prototype.write = function(e) {
1002
1004
  for (let t = 0, n = this.data.length; t < n; t++)
1003
1005
  e.put(this.data[t], 8);
1004
1006
  };
1005
- var Ae = H;
1006
- const Ie = k, Te = N;
1007
- function O(e) {
1008
- this.mode = Ie.KANJI, this.data = e;
1007
+ var Re = V;
1008
+ const Me = k, Pe = I;
1009
+ function H(e) {
1010
+ this.mode = Me.KANJI, this.data = e;
1009
1011
  }
1010
- O.getBitsLength = function(t) {
1012
+ H.getBitsLength = function(t) {
1011
1013
  return t * 13;
1012
1014
  };
1013
- O.prototype.getLength = function() {
1015
+ H.prototype.getLength = function() {
1014
1016
  return this.data.length;
1015
1017
  };
1016
- O.prototype.getBitsLength = function() {
1017
- return O.getBitsLength(this.data.length);
1018
+ H.prototype.getBitsLength = function() {
1019
+ return H.getBitsLength(this.data.length);
1018
1020
  };
1019
- O.prototype.write = function(e) {
1021
+ H.prototype.write = function(e) {
1020
1022
  let t;
1021
1023
  for (t = 0; t < this.data.length; t++) {
1022
- let n = Te.toSJIS(this.data[t]);
1024
+ let n = Pe.toSJIS(this.data[t]);
1023
1025
  if (n >= 33088 && n <= 40956)
1024
1026
  n -= 33088;
1025
1027
  else if (n >= 57408 && n <= 60351)
@@ -1032,7 +1034,7 @@ Make sure your charset is UTF-8`
1032
1034
  n = (n >>> 8 & 255) * 192 + (n & 255), e.put(n, 13);
1033
1035
  }
1034
1036
  };
1035
- var Ne = O, Ht = { exports: {} };
1037
+ var _e = H, jt = { exports: {} };
1036
1038
  (function(e) {
1037
1039
  var t = {
1038
1040
  single_source_shortest_paths: function(n, o, r) {
@@ -1040,14 +1042,14 @@ var Ne = O, Ht = { exports: {} };
1040
1042
  s[o] = 0;
1041
1043
  var l = t.PriorityQueue.make();
1042
1044
  l.push(o, 0);
1043
- for (var a, u, c, B, d, g, m, w, p; !l.empty(); ) {
1045
+ for (var a, u, f, B, d, g, h, m, C; !l.empty(); ) {
1044
1046
  a = l.pop(), u = a.value, B = a.cost, d = n[u] || {};
1045
- for (c in d)
1046
- d.hasOwnProperty(c) && (g = d[c], m = B + g, w = s[c], p = typeof s[c] == "undefined", (p || w > m) && (s[c] = m, l.push(c, m), i[c] = u));
1047
+ for (f in d)
1048
+ d.hasOwnProperty(f) && (g = d[f], h = B + g, m = s[f], C = typeof s[f] == "undefined", (C || m > h) && (s[f] = h, l.push(f, h), i[f] = u));
1047
1049
  }
1048
1050
  if (typeof r != "undefined" && typeof s[r] == "undefined") {
1049
- var f = ["Could not find a path from ", o, " to ", r, "."].join("");
1050
- throw new Error(f);
1051
+ var c = ["Could not find a path from ", o, " to ", r, "."].join("");
1052
+ throw new Error(c);
1051
1053
  }
1052
1054
  return i;
1053
1055
  },
@@ -1097,29 +1099,29 @@ var Ne = O, Ht = { exports: {} };
1097
1099
  }
1098
1100
  };
1099
1101
  e.exports = t;
1100
- })(Ht);
1101
- var Re = Ht.exports;
1102
+ })(jt);
1103
+ var Le = jt.exports;
1102
1104
  (function(e) {
1103
- const t = k, n = Ee, o = be, r = Ae, i = Ne, s = P, l = N, a = Re;
1104
- function u(f) {
1105
- return unescape(encodeURIComponent(f)).length;
1105
+ const t = k, n = Ae, o = Ie, r = Re, i = _e, s = M, l = I, a = Le;
1106
+ function u(c) {
1107
+ return unescape(encodeURIComponent(c)).length;
1106
1108
  }
1107
- function c(f, h, C) {
1109
+ function f(c, w, E) {
1108
1110
  const y = [];
1109
1111
  let b;
1110
- for (; (b = f.exec(C)) !== null; )
1112
+ for (; (b = c.exec(E)) !== null; )
1111
1113
  y.push({
1112
1114
  data: b[0],
1113
1115
  index: b.index,
1114
- mode: h,
1116
+ mode: w,
1115
1117
  length: b[0].length
1116
1118
  });
1117
1119
  return y;
1118
1120
  }
1119
- function B(f) {
1120
- const h = c(s.NUMERIC, t.NUMERIC, f), C = c(s.ALPHANUMERIC, t.ALPHANUMERIC, f);
1121
+ function B(c) {
1122
+ const w = f(s.NUMERIC, t.NUMERIC, c), E = f(s.ALPHANUMERIC, t.ALPHANUMERIC, c);
1121
1123
  let y, b;
1122
- return l.isKanjiModeEnabled() ? (y = c(s.BYTE, t.BYTE, f), b = c(s.KANJI, t.KANJI, f)) : (y = c(s.BYTE_KANJI, t.BYTE, f), b = []), h.concat(C, y, b).sort(function(A, T) {
1124
+ return l.isKanjiModeEnabled() ? (y = f(s.BYTE, t.BYTE, c), b = f(s.KANJI, t.KANJI, c)) : (y = f(s.BYTE_KANJI, t.BYTE, c), b = []), w.concat(E, y, b).sort(function(A, T) {
1123
1125
  return A.index - T.index;
1124
1126
  }).map(function(A) {
1125
1127
  return {
@@ -1129,110 +1131,110 @@ var Re = Ht.exports;
1129
1131
  };
1130
1132
  });
1131
1133
  }
1132
- function d(f, h) {
1133
- switch (h) {
1134
+ function d(c, w) {
1135
+ switch (w) {
1134
1136
  case t.NUMERIC:
1135
- return n.getBitsLength(f);
1137
+ return n.getBitsLength(c);
1136
1138
  case t.ALPHANUMERIC:
1137
- return o.getBitsLength(f);
1139
+ return o.getBitsLength(c);
1138
1140
  case t.KANJI:
1139
- return i.getBitsLength(f);
1141
+ return i.getBitsLength(c);
1140
1142
  case t.BYTE:
1141
- return r.getBitsLength(f);
1143
+ return r.getBitsLength(c);
1142
1144
  }
1143
1145
  }
1144
- function g(f) {
1145
- return f.reduce(function(h, C) {
1146
- const y = h.length - 1 >= 0 ? h[h.length - 1] : null;
1147
- return y && y.mode === C.mode ? (h[h.length - 1].data += C.data, h) : (h.push(C), h);
1146
+ function g(c) {
1147
+ return c.reduce(function(w, E) {
1148
+ const y = w.length - 1 >= 0 ? w[w.length - 1] : null;
1149
+ return y && y.mode === E.mode ? (w[w.length - 1].data += E.data, w) : (w.push(E), w);
1148
1150
  }, []);
1149
1151
  }
1150
- function m(f) {
1151
- const h = [];
1152
- for (let C = 0; C < f.length; C++) {
1153
- const y = f[C];
1152
+ function h(c) {
1153
+ const w = [];
1154
+ for (let E = 0; E < c.length; E++) {
1155
+ const y = c[E];
1154
1156
  switch (y.mode) {
1155
1157
  case t.NUMERIC:
1156
- h.push([
1158
+ w.push([
1157
1159
  y,
1158
1160
  { data: y.data, mode: t.ALPHANUMERIC, length: y.length },
1159
1161
  { data: y.data, mode: t.BYTE, length: y.length }
1160
1162
  ]);
1161
1163
  break;
1162
1164
  case t.ALPHANUMERIC:
1163
- h.push([
1165
+ w.push([
1164
1166
  y,
1165
1167
  { data: y.data, mode: t.BYTE, length: y.length }
1166
1168
  ]);
1167
1169
  break;
1168
1170
  case t.KANJI:
1169
- h.push([
1171
+ w.push([
1170
1172
  y,
1171
1173
  { data: y.data, mode: t.BYTE, length: u(y.data) }
1172
1174
  ]);
1173
1175
  break;
1174
1176
  case t.BYTE:
1175
- h.push([
1177
+ w.push([
1176
1178
  { data: y.data, mode: t.BYTE, length: u(y.data) }
1177
1179
  ]);
1178
1180
  }
1179
1181
  }
1180
- return h;
1182
+ return w;
1181
1183
  }
1182
- function w(f, h) {
1183
- const C = {}, y = { start: {} };
1184
+ function m(c, w) {
1185
+ const E = {}, y = { start: {} };
1184
1186
  let b = ["start"];
1185
- for (let S = 0; S < f.length; S++) {
1186
- const A = f[S], T = [];
1187
- for (let E = 0; E < A.length; E++) {
1188
- const I = A[E], M = "" + S + E;
1189
- T.push(M), C[M] = { node: I, lastCount: 0 }, y[M] = {};
1190
- for (let F = 0; F < b.length; F++) {
1191
- const R = b[F];
1192
- C[R] && C[R].node.mode === I.mode ? (y[R][M] = d(C[R].lastCount + I.length, I.mode) - d(C[R].lastCount, I.mode), C[R].lastCount += I.length) : (C[R] && (C[R].lastCount = I.length), y[R][M] = d(I.length, I.mode) + 4 + t.getCharCountIndicator(I.mode, h));
1187
+ for (let S = 0; S < c.length; S++) {
1188
+ const A = c[S], T = [];
1189
+ for (let N = 0; N < A.length; N++) {
1190
+ const R = A[N], L = "" + S + N;
1191
+ T.push(L), E[L] = { node: R, lastCount: 0 }, y[L] = {};
1192
+ for (let O = 0; O < b.length; O++) {
1193
+ const p = b[O];
1194
+ E[p] && E[p].node.mode === R.mode ? (y[p][L] = d(E[p].lastCount + R.length, R.mode) - d(E[p].lastCount, R.mode), E[p].lastCount += R.length) : (E[p] && (E[p].lastCount = R.length), y[p][L] = d(R.length, R.mode) + 4 + t.getCharCountIndicator(R.mode, w));
1193
1195
  }
1194
1196
  }
1195
1197
  b = T;
1196
1198
  }
1197
1199
  for (let S = 0; S < b.length; S++)
1198
1200
  y[b[S]].end = 0;
1199
- return { map: y, table: C };
1201
+ return { map: y, table: E };
1200
1202
  }
1201
- function p(f, h) {
1202
- let C;
1203
- const y = t.getBestModeForData(f);
1204
- if (C = t.from(h, y), C !== t.BYTE && C.bit < y.bit)
1205
- throw new Error('"' + f + '" cannot be encoded with mode ' + t.toString(C) + `.
1203
+ function C(c, w) {
1204
+ let E;
1205
+ const y = t.getBestModeForData(c);
1206
+ if (E = t.from(w, y), E !== t.BYTE && E.bit < y.bit)
1207
+ throw new Error('"' + c + '" cannot be encoded with mode ' + t.toString(E) + `.
1206
1208
  Suggested mode is: ` + t.toString(y));
1207
- switch (C === t.KANJI && !l.isKanjiModeEnabled() && (C = t.BYTE), C) {
1209
+ switch (E === t.KANJI && !l.isKanjiModeEnabled() && (E = t.BYTE), E) {
1208
1210
  case t.NUMERIC:
1209
- return new n(f);
1211
+ return new n(c);
1210
1212
  case t.ALPHANUMERIC:
1211
- return new o(f);
1213
+ return new o(c);
1212
1214
  case t.KANJI:
1213
- return new i(f);
1215
+ return new i(c);
1214
1216
  case t.BYTE:
1215
- return new r(f);
1217
+ return new r(c);
1216
1218
  }
1217
1219
  }
1218
- e.fromArray = function(h) {
1219
- return h.reduce(function(C, y) {
1220
- return typeof y == "string" ? C.push(p(y, null)) : y.data && C.push(p(y.data, y.mode)), C;
1220
+ e.fromArray = function(w) {
1221
+ return w.reduce(function(E, y) {
1222
+ return typeof y == "string" ? E.push(C(y, null)) : y.data && E.push(C(y.data, y.mode)), E;
1221
1223
  }, []);
1222
- }, e.fromString = function(h, C) {
1223
- const y = B(h, l.isKanjiModeEnabled()), b = m(y), S = w(b, C), A = a.find_path(S.map, "start", "end"), T = [];
1224
- for (let E = 1; E < A.length - 1; E++)
1225
- T.push(S.table[A[E]].node);
1224
+ }, e.fromString = function(w, E) {
1225
+ const y = B(w, l.isKanjiModeEnabled()), b = h(y), S = m(b, E), A = a.find_path(S.map, "start", "end"), T = [];
1226
+ for (let N = 1; N < A.length - 1; N++)
1227
+ T.push(S.table[A[N]].node);
1226
1228
  return e.fromArray(g(T));
1227
- }, e.rawSplit = function(h) {
1229
+ }, e.rawSplit = function(w) {
1228
1230
  return e.fromArray(
1229
- B(h, l.isKanjiModeEnabled())
1231
+ B(w, l.isKanjiModeEnabled())
1230
1232
  );
1231
1233
  };
1232
- })(Vt);
1233
- const nt = N, ot = $, Me = ue, Pe = ce, _e = Pt, Le = _t, dt = Lt, gt = tt, Ue = de, X = kt, De = zt, ke = k, it = Vt;
1234
- function Fe(e, t) {
1235
- const n = e.size, o = Le.getPositions(t);
1234
+ })(Jt);
1235
+ const at = I, ct = ot, Ue = ge, De = he, ke = kt, Fe = Ft, Et = zt, pt = it, ze = we, et = Ht, ve = Qt, Ve = k, ft = Jt;
1236
+ function He(e, t) {
1237
+ const n = e.size, o = Fe.getPositions(t);
1236
1238
  for (let r = 0; r < o.length; r++) {
1237
1239
  const i = o[r][0], s = o[r][1];
1238
1240
  for (let l = -1; l <= 7; l++)
@@ -1241,15 +1243,15 @@ function Fe(e, t) {
1241
1243
  s + a <= -1 || n <= s + a || (l >= 0 && l <= 6 && (a === 0 || a === 6) || a >= 0 && a <= 6 && (l === 0 || l === 6) || l >= 2 && l <= 4 && a >= 2 && a <= 4 ? e.set(i + l, s + a, !0, !0) : e.set(i + l, s + a, !1, !0));
1242
1244
  }
1243
1245
  }
1244
- function ze(e) {
1246
+ function Oe(e) {
1245
1247
  const t = e.size;
1246
1248
  for (let n = 8; n < t - 8; n++) {
1247
1249
  const o = n % 2 === 0;
1248
1250
  e.set(n, 6, o, !0), e.set(6, n, o, !0);
1249
1251
  }
1250
1252
  }
1251
- function ve(e, t) {
1252
- const n = _e.getPositions(t);
1253
+ function Qe(e, t) {
1254
+ const n = ke.getPositions(t);
1253
1255
  for (let o = 0; o < n.length; o++) {
1254
1256
  const r = n[o][0], i = n[o][1];
1255
1257
  for (let s = -2; s <= 2; s++)
@@ -1257,20 +1259,20 @@ function ve(e, t) {
1257
1259
  s === -2 || s === 2 || l === -2 || l === 2 || s === 0 && l === 0 ? e.set(r + s, i + l, !0, !0) : e.set(r + s, i + l, !1, !0);
1258
1260
  }
1259
1261
  }
1260
- function Ve(e, t) {
1261
- const n = e.size, o = X.getEncodedBits(t);
1262
+ function Ke(e, t) {
1263
+ const n = e.size, o = et.getEncodedBits(t);
1262
1264
  let r, i, s;
1263
1265
  for (let l = 0; l < 18; l++)
1264
1266
  r = Math.floor(l / 3), i = l % 3 + n - 8 - 3, s = (o >> l & 1) === 1, e.set(r, i, s, !0), e.set(i, r, s, !0);
1265
1267
  }
1266
- function st(e, t, n) {
1267
- const o = e.size, r = De.getEncodedBits(t, n);
1268
+ function dt(e, t, n) {
1269
+ const o = e.size, r = ve.getEncodedBits(t, n);
1268
1270
  let i, s;
1269
1271
  for (i = 0; i < 15; i++)
1270
1272
  s = (r >> i & 1) === 1, i < 6 ? e.set(i, 8, s, !0) : i < 8 ? e.set(i + 1, 8, s, !0) : e.set(o - 15 + i, 8, s, !0), i < 8 ? e.set(8, o - i - 1, s, !0) : i < 9 ? e.set(8, 15 - i - 1 + 1, s, !0) : e.set(8, 15 - i - 1, s, !0);
1271
1273
  e.set(o - 8, 8, 1, !0);
1272
1274
  }
1273
- function He(e, t) {
1275
+ function Je(e, t) {
1274
1276
  const n = e.size;
1275
1277
  let o = -1, r = n - 1, i = 7, s = 0;
1276
1278
  for (let l = n - 1; l > 0; l -= 2)
@@ -1286,53 +1288,53 @@ function He(e, t) {
1286
1288
  }
1287
1289
  }
1288
1290
  }
1289
- function Oe(e, t, n) {
1290
- const o = new Me();
1291
+ function je(e, t, n) {
1292
+ const o = new Ue();
1291
1293
  n.forEach(function(a) {
1292
- o.put(a.mode.bit, 4), o.put(a.getLength(), ke.getCharCountIndicator(a.mode, e)), a.write(o);
1294
+ o.put(a.mode.bit, 4), o.put(a.getLength(), Ve.getCharCountIndicator(a.mode, e)), a.write(o);
1293
1295
  });
1294
- const r = nt.getSymbolTotalCodewords(e), i = gt.getTotalCodewordsCount(e, t), s = (r - i) * 8;
1296
+ const r = at.getSymbolTotalCodewords(e), i = pt.getTotalCodewordsCount(e, t), s = (r - i) * 8;
1295
1297
  for (o.getLengthInBits() + 4 <= s && o.put(0, 4); o.getLengthInBits() % 8 !== 0; )
1296
1298
  o.putBit(0);
1297
1299
  const l = (s - o.getLengthInBits()) / 8;
1298
1300
  for (let a = 0; a < l; a++)
1299
1301
  o.put(a % 2 ? 17 : 236, 8);
1300
- return Ke(o, e, t);
1302
+ return Ge(o, e, t);
1301
1303
  }
1302
- function Ke(e, t, n) {
1303
- const o = nt.getSymbolTotalCodewords(t), r = gt.getTotalCodewordsCount(t, n), i = o - r, s = gt.getBlocksCount(t, n), l = o % s, a = s - l, u = Math.floor(o / s), c = Math.floor(i / s), B = c + 1, d = u - c, g = new Ue(d);
1304
- let m = 0;
1305
- const w = new Array(s), p = new Array(s);
1306
- let f = 0;
1307
- const h = new Uint8Array(e.buffer);
1304
+ function Ge(e, t, n) {
1305
+ const o = at.getSymbolTotalCodewords(t), r = pt.getTotalCodewordsCount(t, n), i = o - r, s = pt.getBlocksCount(t, n), l = o % s, a = s - l, u = Math.floor(o / s), f = Math.floor(i / s), B = f + 1, d = u - f, g = new ze(d);
1306
+ let h = 0;
1307
+ const m = new Array(s), C = new Array(s);
1308
+ let c = 0;
1309
+ const w = new Uint8Array(e.buffer);
1308
1310
  for (let A = 0; A < s; A++) {
1309
- const T = A < a ? c : B;
1310
- w[A] = h.slice(m, m + T), p[A] = g.encode(w[A]), m += T, f = Math.max(f, T);
1311
+ const T = A < a ? f : B;
1312
+ m[A] = w.slice(h, h + T), C[A] = g.encode(m[A]), h += T, c = Math.max(c, T);
1311
1313
  }
1312
- const C = new Uint8Array(o);
1314
+ const E = new Uint8Array(o);
1313
1315
  let y = 0, b, S;
1314
- for (b = 0; b < f; b++)
1316
+ for (b = 0; b < c; b++)
1315
1317
  for (S = 0; S < s; S++)
1316
- b < w[S].length && (C[y++] = w[S][b]);
1318
+ b < m[S].length && (E[y++] = m[S][b]);
1317
1319
  for (b = 0; b < d; b++)
1318
1320
  for (S = 0; S < s; S++)
1319
- C[y++] = p[S][b];
1320
- return C;
1321
+ E[y++] = C[S][b];
1322
+ return E;
1321
1323
  }
1322
- function Qe(e, t, n, o) {
1324
+ function Ye(e, t, n, o) {
1323
1325
  let r;
1324
1326
  if (Array.isArray(e))
1325
- r = it.fromArray(e);
1327
+ r = ft.fromArray(e);
1326
1328
  else if (typeof e == "string") {
1327
1329
  let u = t;
1328
1330
  if (!u) {
1329
- const c = it.rawSplit(e);
1330
- u = X.getBestVersionForData(c, n);
1331
+ const f = ft.rawSplit(e);
1332
+ u = et.getBestVersionForData(f, n);
1331
1333
  }
1332
- r = it.fromString(e, u || 40);
1334
+ r = ft.fromString(e, u || 40);
1333
1335
  } else
1334
1336
  throw new Error("Invalid data");
1335
- const i = X.getBestVersionForData(r, n);
1337
+ const i = et.getBestVersionForData(r, n);
1336
1338
  if (!i)
1337
1339
  throw new Error("The amount of data is too big to be stored in a QR Code");
1338
1340
  if (!t)
@@ -1344,11 +1346,11 @@ The chosen QR Code version cannot contain this amount of data.
1344
1346
  Minimum version required to store current data is: ` + i + `.
1345
1347
  `
1346
1348
  );
1347
- const s = Oe(t, n, r), l = nt.getSymbolSize(t), a = new Pe(l);
1348
- return Fe(a, t), ze(a), ve(a, t), st(a, n, 0), t >= 7 && Ve(a, t), He(a, s), isNaN(o) && (o = dt.getBestMask(
1349
+ const s = je(t, n, r), l = at.getSymbolSize(t), a = new De(l);
1350
+ return He(a, t), Oe(a), Qe(a, t), dt(a, n, 0), t >= 7 && Ke(a, t), Je(a, s), isNaN(o) && (o = Et.getBestMask(
1349
1351
  a,
1350
- st.bind(null, a, n)
1351
- )), dt.applyMask(o, a), st(a, n, o), {
1352
+ dt.bind(null, a, n)
1353
+ )), Et.applyMask(o, a), dt(a, n, o), {
1352
1354
  modules: a,
1353
1355
  version: t,
1354
1356
  errorCorrectionLevel: n,
@@ -1356,13 +1358,13 @@ Minimum version required to store current data is: ` + i + `.
1356
1358
  segments: r
1357
1359
  };
1358
1360
  }
1359
- Rt.create = function(t, n) {
1361
+ Ut.create = function(t, n) {
1360
1362
  if (typeof t == "undefined" || t === "")
1361
1363
  throw new Error("No input text");
1362
- let o = ot.M, r, i;
1363
- return typeof n != "undefined" && (o = ot.from(n.errorCorrectionLevel, ot.M), r = X.from(n.version), i = dt.from(n.maskPattern), n.toSJISFunc && nt.setToSJISFunction(n.toSJISFunc)), Qe(t, r, o, i);
1364
+ let o = ct.M, r, i;
1365
+ return typeof n != "undefined" && (o = ct.from(n.errorCorrectionLevel, ct.M), r = et.from(n.version), i = Et.from(n.maskPattern), n.toSJISFunc && at.setToSJISFunction(n.toSJISFunc)), Ye(t, r, o, i);
1364
1366
  };
1365
- var Ot = {}, Ct = {};
1367
+ var Gt = {}, At = {};
1366
1368
  (function(e) {
1367
1369
  function t(n) {
1368
1370
  if (typeof n == "number" && (n = n.toString()), typeof n != "string")
@@ -1402,20 +1404,20 @@ var Ot = {}, Ct = {};
1402
1404
  const i = e.getScale(o, r);
1403
1405
  return Math.floor((o + r.margin * 2) * i);
1404
1406
  }, e.qrToImageData = function(o, r, i) {
1405
- const s = r.modules.size, l = r.modules.data, a = e.getScale(s, i), u = Math.floor((s + i.margin * 2) * a), c = i.margin * a, B = [i.color.light, i.color.dark];
1407
+ const s = r.modules.size, l = r.modules.data, a = e.getScale(s, i), u = Math.floor((s + i.margin * 2) * a), f = i.margin * a, B = [i.color.light, i.color.dark];
1406
1408
  for (let d = 0; d < u; d++)
1407
1409
  for (let g = 0; g < u; g++) {
1408
- let m = (d * u + g) * 4, w = i.color.light;
1409
- if (d >= c && g >= c && d < u - c && g < u - c) {
1410
- const p = Math.floor((d - c) / a), f = Math.floor((g - c) / a);
1411
- w = B[l[p * s + f] ? 1 : 0];
1410
+ let h = (d * u + g) * 4, m = i.color.light;
1411
+ if (d >= f && g >= f && d < u - f && g < u - f) {
1412
+ const C = Math.floor((d - f) / a), c = Math.floor((g - f) / a);
1413
+ m = B[l[C * s + c] ? 1 : 0];
1412
1414
  }
1413
- o[m++] = w.r, o[m++] = w.g, o[m++] = w.b, o[m] = w.a;
1415
+ o[h++] = m.r, o[h++] = m.g, o[h++] = m.b, o[h] = m.a;
1414
1416
  }
1415
1417
  };
1416
- })(Ct);
1418
+ })(At);
1417
1419
  (function(e) {
1418
- const t = Ct;
1420
+ const t = At;
1419
1421
  function n(r, i, s) {
1420
1422
  r.clearRect(0, 0, i.width, i.height), i.style || (i.style = {}), i.height = s, i.width = s, i.style.height = s + "px", i.style.width = s + "px";
1421
1423
  }
@@ -1429,42 +1431,42 @@ var Ot = {}, Ct = {};
1429
1431
  e.render = function(i, s, l) {
1430
1432
  let a = l, u = s;
1431
1433
  typeof a == "undefined" && (!s || !s.getContext) && (a = s, s = void 0), s || (u = o()), a = t.getOptions(a);
1432
- const c = t.getImageWidth(i.modules.size, a), B = u.getContext("2d"), d = B.createImageData(c, c);
1433
- return t.qrToImageData(d.data, i, a), n(B, u, c), B.putImageData(d, 0, 0), u;
1434
+ const f = t.getImageWidth(i.modules.size, a), B = u.getContext("2d"), d = B.createImageData(f, f);
1435
+ return t.qrToImageData(d.data, i, a), n(B, u, f), B.putImageData(d, 0, 0), u;
1434
1436
  }, e.renderToDataURL = function(i, s, l) {
1435
1437
  let a = l;
1436
1438
  typeof a == "undefined" && (!s || !s.getContext) && (a = s, s = void 0), a || (a = {});
1437
- const u = e.render(i, s, a), c = a.type || "image/png", B = a.rendererOpts || {};
1438
- return u.toDataURL(c, B.quality);
1439
+ const u = e.render(i, s, a), f = a.type || "image/png", B = a.rendererOpts || {};
1440
+ return u.toDataURL(f, B.quality);
1439
1441
  };
1440
- })(Ot);
1441
- var Kt = {};
1442
- const Je = Ct;
1443
- function Nt(e, t) {
1442
+ })(Gt);
1443
+ var Yt = {};
1444
+ const qe = At;
1445
+ function Lt(e, t) {
1444
1446
  const n = e.a / 255, o = t + '="' + e.hex + '"';
1445
1447
  return n < 1 ? o + " " + t + '-opacity="' + n.toFixed(2).slice(1) + '"' : o;
1446
1448
  }
1447
- function at(e, t, n) {
1449
+ function gt(e, t, n) {
1448
1450
  let o = e + t;
1449
1451
  return typeof n != "undefined" && (o += " " + n), o;
1450
1452
  }
1451
- function je(e, t, n) {
1453
+ function We(e, t, n) {
1452
1454
  let o = "", r = 0, i = !1, s = 0;
1453
1455
  for (let l = 0; l < e.length; l++) {
1454
1456
  const a = Math.floor(l % t), u = Math.floor(l / t);
1455
- !a && !i && (i = !0), e[l] ? (s++, l > 0 && a > 0 && e[l - 1] || (o += i ? at("M", a + n, 0.5 + u + n) : at("m", r, 0), r = 0, i = !1), a + 1 < t && e[l + 1] || (o += at("h", s), s = 0)) : r++;
1457
+ !a && !i && (i = !0), e[l] ? (s++, l > 0 && a > 0 && e[l - 1] || (o += i ? gt("M", a + n, 0.5 + u + n) : gt("m", r, 0), r = 0, i = !1), a + 1 < t && e[l + 1] || (o += gt("h", s), s = 0)) : r++;
1456
1458
  }
1457
1459
  return o;
1458
1460
  }
1459
- Kt.render = function(t, n, o) {
1460
- const r = Je.getOptions(n), i = t.modules.size, s = t.modules.data, l = i + r.margin * 2, a = r.color.light.a ? "<path " + Nt(r.color.light, "fill") + ' d="M0 0h' + l + "v" + l + 'H0z"/>' : "", u = "<path " + Nt(r.color.dark, "stroke") + ' d="' + je(s, i, r.margin) + '"/>', c = 'viewBox="0 0 ' + l + " " + l + '"', d = '<svg xmlns="http://www.w3.org/2000/svg" ' + (r.width ? 'width="' + r.width + '" height="' + r.width + '" ' : "") + c + ' shape-rendering="crispEdges">' + a + u + `</svg>
1461
+ Yt.render = function(t, n, o) {
1462
+ const r = qe.getOptions(n), i = t.modules.size, s = t.modules.data, l = i + r.margin * 2, a = r.color.light.a ? "<path " + Lt(r.color.light, "fill") + ' d="M0 0h' + l + "v" + l + 'H0z"/>' : "", u = "<path " + Lt(r.color.dark, "stroke") + ' d="' + We(s, i, r.margin) + '"/>', f = 'viewBox="0 0 ' + l + " " + l + '"', d = '<svg xmlns="http://www.w3.org/2000/svg" ' + (r.width ? 'width="' + r.width + '" height="' + r.width + '" ' : "") + f + ' shape-rendering="crispEdges">' + a + u + `</svg>
1461
1463
  `;
1462
1464
  return typeof o == "function" && o(null, d), d;
1463
1465
  };
1464
- const Ge = ae, ht = Rt, Qt = Ot, Ye = Kt;
1465
- function pt(e, t, n, o, r) {
1466
+ const Xe = fe, Ct = Ut, qt = Gt, Ze = Yt;
1467
+ function Tt(e, t, n, o, r) {
1466
1468
  const i = [].slice.call(arguments, 1), s = i.length, l = typeof i[s - 1] == "function";
1467
- if (!l && !Ge())
1469
+ if (!l && !Xe())
1468
1470
  throw new Error("Callback required as last argument");
1469
1471
  if (l) {
1470
1472
  if (s < 2)
@@ -1475,65 +1477,66 @@ function pt(e, t, n, o, r) {
1475
1477
  throw new Error("Too few arguments provided");
1476
1478
  return s === 1 ? (n = t, t = o = void 0) : s === 2 && !t.getContext && (o = n, n = t, t = void 0), new Promise(function(a, u) {
1477
1479
  try {
1478
- const c = ht.create(n, o);
1479
- a(e(c, t, o));
1480
- } catch (c) {
1481
- u(c);
1480
+ const f = Ct.create(n, o);
1481
+ a(e(f, t, o));
1482
+ } catch (f) {
1483
+ u(f);
1482
1484
  }
1483
1485
  });
1484
1486
  }
1485
1487
  try {
1486
- const a = ht.create(n, o);
1488
+ const a = Ct.create(n, o);
1487
1489
  r(null, e(a, t, o));
1488
1490
  } catch (a) {
1489
1491
  r(a);
1490
1492
  }
1491
1493
  }
1492
- j.create = ht.create;
1493
- j.toCanvas = pt.bind(null, Qt.render);
1494
- j.toDataURL = pt.bind(null, Qt.renderToDataURL);
1495
- j.toString = pt.bind(null, function(e, t, n) {
1496
- return Ye.render(e, n);
1494
+ q.create = Ct.create;
1495
+ q.toCanvas = Tt.bind(null, qt.render);
1496
+ q.toDataURL = Tt.bind(null, qt.renderToDataURL);
1497
+ q.toString = Tt.bind(null, function(e, t, n) {
1498
+ return Ze.render(e, n);
1497
1499
  });
1498
- function qe(e) {
1499
- Wt(e, "svelte-ty0b2n", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto 0 0}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22b04e));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22b04e)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22b04e)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
1500
+ var $ = /* @__PURE__ */ ((e) => (e.unauthorizedError = "unauthorized", e.unexpectedError = "unexpectedError", e.failedToFetch = "failedToFetch", e))($ || {});
1501
+ function xe(e) {
1502
+ te(e, "svelte-ty0b2n", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto 0 0}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22b04e));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22b04e)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22b04e)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
1500
1503
  }
1501
- function We(e) {
1504
+ function $e(e) {
1502
1505
  let t, n, o;
1503
1506
  return {
1504
1507
  c() {
1505
- t = U("div"), n = U("img"), L(n, "class", "qr-image"), bt(n.src, o = /*qrImageUrl*/
1506
- e[3]) || L(n, "src", o), L(n, "alt", "qr-session-login"), L(t, "class", "qr-section");
1508
+ t = U("div"), n = U("img"), _(n, "class", "qr-image"), Nt(n.src, o = /*qrImageUrl*/
1509
+ e[3]) || _(n, "src", o), _(n, "alt", "qr-session-login"), _(t, "class", "qr-section");
1507
1510
  },
1508
1511
  m(r, i) {
1509
- x(r, t, i), _(t, n);
1512
+ rt(r, t, i), P(t, n);
1510
1513
  },
1511
1514
  p(r, i) {
1512
1515
  i & /*qrImageUrl*/
1513
- 8 && !bt(n.src, o = /*qrImageUrl*/
1514
- r[3]) && L(n, "src", o);
1516
+ 8 && !Nt(n.src, o = /*qrImageUrl*/
1517
+ r[3]) && _(n, "src", o);
1515
1518
  },
1516
1519
  d(r) {
1517
- r && Z(t);
1520
+ r && nt(t);
1518
1521
  }
1519
1522
  };
1520
1523
  }
1521
- function Xe(e) {
1524
+ function tn(e) {
1522
1525
  let t;
1523
1526
  return {
1524
1527
  c() {
1525
- t = U("div"), L(t, "class", "LoadingSpinner");
1528
+ t = U("div"), _(t, "class", "LoadingSpinner");
1526
1529
  },
1527
1530
  m(n, o) {
1528
- x(n, t, o);
1531
+ rt(n, t, o);
1529
1532
  },
1530
- p: lt,
1533
+ p: ht,
1531
1534
  d(n) {
1532
- n && Z(t);
1535
+ n && nt(t);
1533
1536
  }
1534
1537
  };
1535
1538
  }
1536
- function Ze(e) {
1539
+ function en(e) {
1537
1540
  let t, n = (
1538
1541
  /*$_*/
1539
1542
  e[5](
@@ -1543,10 +1546,10 @@ function Ze(e) {
1543
1546
  ), o;
1544
1547
  return {
1545
1548
  c() {
1546
- t = U("p"), o = ct(n), L(t, "class", "generate-qr-error-message");
1549
+ t = U("p"), o = wt(n), _(t, "class", "generate-qr-error-message");
1547
1550
  },
1548
1551
  m(r, i) {
1549
- x(r, t, i), _(t, o);
1552
+ rt(r, t, i), P(t, o);
1550
1553
  },
1551
1554
  p(r, i) {
1552
1555
  i & /*$_, errorCode*/
@@ -1554,181 +1557,188 @@ function Ze(e) {
1554
1557
  r[5](
1555
1558
  /*errorCode*/
1556
1559
  r[4]
1557
- ) + "") && ut(o, n);
1560
+ ) + "") && mt(o, n);
1558
1561
  },
1559
1562
  d(r) {
1560
- r && Z(t);
1563
+ r && nt(t);
1561
1564
  }
1562
1565
  };
1563
1566
  }
1564
- function xe(e) {
1567
+ function nn(e) {
1565
1568
  let t, n, o, r = (
1566
1569
  /*$_*/
1567
1570
  e[5]("titleQRSessionGenerator") + ""
1568
1571
  ), i, s, l, a = (
1569
1572
  /*remaining*/
1570
1573
  (e[1] > 0 ? `${/*remaining*/
1571
- e[1]}s` : (
1574
+ e[1]}${/*$_*/
1575
+ e[5]("second")}` : (
1572
1576
  /*$_*/
1573
1577
  e[5]("generateQRButton")
1574
1578
  )) + ""
1575
- ), u, c, B, d, g;
1576
- function m(f, h) {
1579
+ ), u, f, B, d, g;
1580
+ function h(c, w) {
1577
1581
  if (
1578
1582
  /*errorCode*/
1579
- f[4]
1583
+ c[4]
1580
1584
  )
1581
- return Ze;
1585
+ return en;
1582
1586
  if (
1583
1587
  /*isGenerating*/
1584
- f[2]
1588
+ c[2]
1585
1589
  )
1586
- return Xe;
1590
+ return tn;
1587
1591
  if (
1588
1592
  /*qrImageUrl*/
1589
- f[3]
1593
+ c[3]
1590
1594
  )
1591
- return We;
1595
+ return $e;
1592
1596
  }
1593
- let w = m(e), p = w && w(e);
1597
+ let m = h(e), C = m && m(e);
1594
1598
  return {
1595
1599
  c() {
1596
- t = U("div"), n = U("div"), o = U("p"), i = ct(r), s = Bt(), l = U("button"), u = ct(a), B = Bt(), p && p.c(), L(l, "class", "generate-qr-btn"), l.disabled = c = /*isGenerating*/
1600
+ t = U("div"), n = U("div"), o = U("p"), i = wt(r), s = It(), l = U("button"), u = wt(a), B = It(), C && C.c(), _(l, "class", "generate-qr-btn"), l.disabled = f = /*isGenerating*/
1597
1601
  e[2] || /*remaining*/
1598
- e[1] > 0, L(n, "class", "qr-session-generator");
1602
+ e[1] > 0, _(n, "class", "qr-session-generator");
1599
1603
  },
1600
- m(f, h) {
1601
- x(f, t, h), _(t, n), _(n, o), _(o, i), _(n, s), _(n, l), _(l, u), _(n, B), p && p.m(n, null), e[14](t), d || (g = Xt(
1604
+ m(c, w) {
1605
+ rt(c, t, w), P(t, n), P(n, o), P(o, i), P(n, s), P(n, l), P(l, u), P(n, B), C && C.m(n, null), e[14](t), d || (g = ee(
1602
1606
  l,
1603
1607
  "click",
1604
1608
  /*onGenerateQRClick*/
1605
1609
  e[6]
1606
1610
  ), d = !0);
1607
1611
  },
1608
- p(f, [h]) {
1609
- h & /*$_*/
1612
+ p(c, [w]) {
1613
+ w & /*$_*/
1610
1614
  32 && r !== (r = /*$_*/
1611
- f[5]("titleQRSessionGenerator") + "") && ut(i, r), h & /*remaining, $_*/
1615
+ c[5]("titleQRSessionGenerator") + "") && mt(i, r), w & /*remaining, $_*/
1612
1616
  34 && a !== (a = /*remaining*/
1613
- (f[1] > 0 ? `${/*remaining*/
1614
- f[1]}s` : (
1617
+ (c[1] > 0 ? `${/*remaining*/
1618
+ c[1]}${/*$_*/
1619
+ c[5]("second")}` : (
1615
1620
  /*$_*/
1616
- f[5]("generateQRButton")
1617
- )) + "") && ut(u, a), h & /*isGenerating, remaining*/
1618
- 6 && c !== (c = /*isGenerating*/
1619
- f[2] || /*remaining*/
1620
- f[1] > 0) && (l.disabled = c), w === (w = m(f)) && p ? p.p(f, h) : (p && p.d(1), p = w && w(f), p && (p.c(), p.m(n, null)));
1621
+ c[5]("generateQRButton")
1622
+ )) + "") && mt(u, a), w & /*isGenerating, remaining*/
1623
+ 6 && f !== (f = /*isGenerating*/
1624
+ c[2] || /*remaining*/
1625
+ c[1] > 0) && (l.disabled = f), m === (m = h(c)) && C ? C.p(c, w) : (C && C.d(1), C = m && m(c), C && (C.c(), C.m(n, null)));
1621
1626
  },
1622
- i: lt,
1623
- o: lt,
1624
- d(f) {
1625
- f && Z(t), p && p.d(), e[14](null), d = !1, g();
1627
+ i: ht,
1628
+ o: ht,
1629
+ d(c) {
1630
+ c && nt(t), C && C.d(), e[14](null), d = !1, g();
1626
1631
  }
1627
1632
  };
1628
1633
  }
1629
- const $e = 60;
1630
- function tn(e, t, n) {
1634
+ const rn = 60, on = 1e3;
1635
+ function sn(e, t, n) {
1631
1636
  let o;
1632
- Zt(e, ie, (E) => n(5, o = E));
1633
- let { clientstyling: r = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: s } = t, { lang: l = "en" } = t, { endpoint: a = "" } = t, { sessionid: u } = t, { translationurl: c } = t;
1637
+ ne(e, ue, (p) => n(5, o = p));
1638
+ let { clientstyling: r = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: s } = t, { lang: l = "en" } = t, { endpoint: a = "" } = t, { sessionid: u } = t, { translationurl: f } = t;
1634
1639
  const B = {
1635
- "gm.norway.unauthorized": "unauthorizedError"
1640
+ "gm.norway.unauthorized": $.unauthorizedError
1636
1641
  };
1637
- let d, g, m = 0, w = !1, p = null, f = null, h = null;
1638
- xt(() => () => {
1639
- });
1640
- const C = () => {
1641
- fetch(c).then((I) => I.json()).then((I) => {
1642
- Object.keys(I).forEach((M) => {
1643
- St(M, I[M]);
1642
+ let d, g, h = 0, m = !1, C = null, c = null, w = null;
1643
+ const E = () => j(this, null, function* () {
1644
+ const p = f;
1645
+ try {
1646
+ const X = yield (yield fetch(p)).json();
1647
+ Object.keys(X).forEach((K) => {
1648
+ Rt(K, X[K]);
1644
1649
  });
1645
- }).catch((I) => {
1646
- console.error(I);
1647
- });
1648
- };
1649
- Object.keys(At).forEach((E) => {
1650
- St(E, At[E]);
1650
+ } catch (Q) {
1651
+ console.error(Q);
1652
+ }
1653
+ });
1654
+ Object.keys(Mt).forEach((p) => {
1655
+ Rt(p, Mt[p]);
1651
1656
  });
1652
1657
  const y = () => {
1653
- se(l);
1654
- }, b = () => Et(this, null, function* () {
1655
- var R;
1656
- if (w || m > 0)
1657
- return;
1658
- n(2, w = !0), n(4, h = null), n(3, f = null), n(1, m = $e), S();
1659
- const E = new URL(`${a}/api/pam/v1/qr/authenticate`), I = new Headers();
1660
- I.append("X-SessionID", u);
1661
- const M = { method: "POST", headers: I };
1662
- n(4, h = null);
1663
- const F = yield fetch(E.href, M);
1658
+ ce(l);
1659
+ }, b = (p) => j(this, null, function* () {
1660
+ n(3, c = yield q.toDataURL(p));
1661
+ }), S = (p) => {
1662
+ n(4, w = p), L();
1663
+ }, A = () => j(this, null, function* () {
1664
+ var K;
1665
+ const p = new URL(`${a}/api/pam/v1/qr/authenticate`), Q = new Headers();
1666
+ Q.append("X-SessionID", u);
1667
+ const X = { method: "POST", headers: Q };
1664
1668
  try {
1665
- if (F.ok) {
1666
- const K = yield F.json();
1667
- n(3, f = yield j.toDataURL(JSON.stringify(K)));
1669
+ const J = yield fetch(p.href, X);
1670
+ if (J.ok) {
1671
+ const lt = yield J.json();
1672
+ yield b(JSON.stringify(lt));
1668
1673
  } else {
1669
- const K = yield F.json();
1670
- n(4, h = (R = B[K.Code]) != null ? R : "unexpectedError"), A();
1674
+ const lt = yield J.json();
1675
+ S((K = B[lt.Code]) != null ? K : $.unexpectedError);
1671
1676
  }
1672
- } catch (K) {
1673
- console.error(K), n(4, h = "failedToFetch"), A();
1677
+ } catch (J) {
1678
+ console.error(J), S($.failedToFetch);
1674
1679
  } finally {
1675
- n(2, w = !1);
1680
+ n(2, m = !1);
1676
1681
  }
1682
+ }), T = () => j(this, null, function* () {
1683
+ m || h > 0 || (n(2, m = !0), n(4, w = null), n(3, c = null), n(1, h = rn), R(), yield A());
1677
1684
  });
1678
- function S() {
1679
- p !== null && clearInterval(p), p = setInterval(
1685
+ function N() {
1686
+ C !== null && clearInterval(C);
1687
+ }
1688
+ function R() {
1689
+ N(), C = setInterval(
1680
1690
  () => {
1681
- m > 1 ? n(1, m -= 1) : (n(1, m = 0), n(2, w = !1), n(3, f = null), A());
1691
+ h > 1 ? n(1, h -= 1) : (n(1, h = 0), n(2, m = !1), n(3, c = null), L());
1682
1692
  },
1683
- 1e3
1693
+ on
1684
1694
  );
1685
1695
  }
1686
- function A() {
1687
- p !== null && (clearInterval(p), p = null), n(1, m = 0);
1696
+ function L() {
1697
+ N(), C = null, n(1, h = 0);
1688
1698
  }
1689
- $t(() => {
1690
- p !== null && clearInterval(p);
1699
+ re(() => {
1700
+ N();
1691
1701
  });
1692
- function T(E) {
1693
- te[E ? "unshift" : "push"](() => {
1694
- d = E, n(0, d);
1702
+ function O(p) {
1703
+ oe[p ? "unshift" : "push"](() => {
1704
+ d = p, n(0, d);
1695
1705
  });
1696
1706
  }
1697
- return e.$$set = (E) => {
1698
- "clientstyling" in E && n(7, r = E.clientstyling), "clientstylingurl" in E && n(8, i = E.clientstylingurl), "mbsource" in E && n(9, s = E.mbsource), "lang" in E && n(10, l = E.lang), "endpoint" in E && n(11, a = E.endpoint), "sessionid" in E && n(12, u = E.sessionid), "translationurl" in E && n(13, c = E.translationurl);
1707
+ return e.$$set = (p) => {
1708
+ "clientstyling" in p && n(7, r = p.clientstyling), "clientstylingurl" in p && n(8, i = p.clientstylingurl), "mbsource" in p && n(9, s = p.mbsource), "lang" in p && n(10, l = p.lang), "endpoint" in p && n(11, a = p.endpoint), "sessionid" in p && n(12, u = p.sessionid), "translationurl" in p && n(13, f = p.translationurl);
1699
1709
  }, e.$$.update = () => {
1700
1710
  e.$$.dirty & /*clientstyling, customStylingContainer*/
1701
- 129 && r && d && ee(d, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
1702
- 257 && i && d && ne(d, i), e.$$.dirty & /*mbsource, customStylingContainer*/
1703
- 513 && s && d && re(d, `${s}.Style`, g), e.$$.dirty & /*lang*/
1711
+ 129 && r && d && ie(d, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
1712
+ 257 && i && d && se(d, i), e.$$.dirty & /*mbsource, customStylingContainer*/
1713
+ 513 && s && d && ae(d, `${s}.Style`, g), e.$$.dirty & /*lang*/
1704
1714
  1024 && l && y(), e.$$.dirty & /*translationurl*/
1705
- 8192 && c && C();
1715
+ 8192 && f && E();
1706
1716
  }, [
1707
1717
  d,
1718
+ h,
1708
1719
  m,
1720
+ c,
1709
1721
  w,
1710
- f,
1711
- h,
1712
1722
  o,
1713
- b,
1723
+ T,
1714
1724
  r,
1715
1725
  i,
1716
1726
  s,
1717
1727
  l,
1718
1728
  a,
1719
1729
  u,
1720
- c,
1721
- T
1730
+ f,
1731
+ O
1722
1732
  ];
1723
1733
  }
1724
- class en extends Gt {
1734
+ class an extends Zt {
1725
1735
  constructor(t) {
1726
- super(), Yt(
1736
+ super(), xt(
1727
1737
  this,
1728
1738
  t,
1729
- tn,
1730
- xe,
1731
- qt,
1739
+ sn,
1740
+ nn,
1741
+ $t,
1732
1742
  {
1733
1743
  clientstyling: 7,
1734
1744
  clientstylingurl: 8,
@@ -1738,53 +1748,53 @@ class en extends Gt {
1738
1748
  sessionid: 12,
1739
1749
  translationurl: 13
1740
1750
  },
1741
- qe
1751
+ xe
1742
1752
  );
1743
1753
  }
1744
1754
  get clientstyling() {
1745
1755
  return this.$$.ctx[7];
1746
1756
  }
1747
1757
  set clientstyling(t) {
1748
- this.$$set({ clientstyling: t }), z();
1758
+ this.$$set({ clientstyling: t }), F();
1749
1759
  }
1750
1760
  get clientstylingurl() {
1751
1761
  return this.$$.ctx[8];
1752
1762
  }
1753
1763
  set clientstylingurl(t) {
1754
- this.$$set({ clientstylingurl: t }), z();
1764
+ this.$$set({ clientstylingurl: t }), F();
1755
1765
  }
1756
1766
  get mbsource() {
1757
1767
  return this.$$.ctx[9];
1758
1768
  }
1759
1769
  set mbsource(t) {
1760
- this.$$set({ mbsource: t }), z();
1770
+ this.$$set({ mbsource: t }), F();
1761
1771
  }
1762
1772
  get lang() {
1763
1773
  return this.$$.ctx[10];
1764
1774
  }
1765
1775
  set lang(t) {
1766
- this.$$set({ lang: t }), z();
1776
+ this.$$set({ lang: t }), F();
1767
1777
  }
1768
1778
  get endpoint() {
1769
1779
  return this.$$.ctx[11];
1770
1780
  }
1771
1781
  set endpoint(t) {
1772
- this.$$set({ endpoint: t }), z();
1782
+ this.$$set({ endpoint: t }), F();
1773
1783
  }
1774
1784
  get sessionid() {
1775
1785
  return this.$$.ctx[12];
1776
1786
  }
1777
1787
  set sessionid(t) {
1778
- this.$$set({ sessionid: t }), z();
1788
+ this.$$set({ sessionid: t }), F();
1779
1789
  }
1780
1790
  get translationurl() {
1781
1791
  return this.$$.ctx[13];
1782
1792
  }
1783
1793
  set translationurl(t) {
1784
- this.$$set({ translationurl: t }), z();
1794
+ this.$$set({ translationurl: t }), F();
1785
1795
  }
1786
1796
  }
1787
- oe(en, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, sessionid: {}, translationurl: {} }, [], [], !0);
1797
+ le(an, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, endpoint: {}, sessionid: {}, translationurl: {} }, [], [], !0);
1788
1798
  export {
1789
- en as default
1799
+ an as default
1790
1800
  };