@ranty/ranty-sdk 3.0.8-beta.2 → 3.0.8-beta.4

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.
@@ -916,7 +916,7 @@ function ie(t) {
916
916
  */
917
917
  var z1;
918
918
  ((z1 = window.HTMLSlotElement) === null || z1 === void 0 ? void 0 : z1.prototype.assignedElements) != null;
919
- const AS = "@ranty/ranty-sdk", cS = "3.0.8-beta.2", uS = "Ranty sdk", pS = "dist/index.js", hS = {
919
+ const AS = "@ranty/ranty-sdk", cS = "3.0.8-beta.4", uS = "Ranty sdk", pS = "dist/index.js", hS = {
920
920
  ".": "./dist/index.js"
921
921
  }, gS = "types/index.d.ts", fS = [
922
922
  "dist",
@@ -5704,7 +5704,7 @@ const g2 = (t) => ce(void 0, null, function* () {
5704
5704
  const i = jt.getConfig(), { id: o, additional_info: a, external_payment_id: d, flag: l } = t, { creditNumber: A, codSeg: u, expired: h, dni: p, passport: m, dateOfBirth: y, email: _, name: b } = e, B = yield lT(
5705
5705
  i.VITE_ENCRYPT_DIRECT_PUBLIC_KEY,
5706
5706
  `${A.replaceAll(" ", "")}:${u}:${h}`
5707
- ), I = p ? "DNI" : "PASAPORTE", L = p || m, V = (q = (H = _l.settings.customerProperties) == null ? void 0 : H.validate_card) != null ? q : !1;
5707
+ ), I = p ? "DNI" : "PASAPORTE", L = p || m || "", V = (q = (H = _l.settings.customerProperties) == null ? void 0 : H.validate_card) != null ? q : !1;
5708
5708
  return l && ((M = t.buyer) == null || delete M.callback_url), l && ((J = t.buyer) == null || delete J.callback_status), {
5709
5709
  platform: l ? t.additional_info.platform : t.platform,
5710
5710
  payment_type: l ? t.payment_type : t.payment_request.payment_type,
@@ -6128,7 +6128,7 @@ const hT = "card_on_file", zu = "Volver a la tienda", Wa = "https://ranty-sdk-js
6128
6128
  }
6129
6129
  throw new Qf("Get Bines", "666");
6130
6130
  }
6131
- }), xT = () => jt.getConfig().VITE_DATADOG_ENV !== "productions", fe = {
6131
+ }), xT = () => jt.getConfig().VITE_DATADOG_ENV !== "production", ue = {
6132
6132
  info: (t, e = {}) => {
6133
6133
  xT() && console.log(t, e), y_.logger.info(t, e);
6134
6134
  },
@@ -6143,11 +6143,11 @@ const hT = "card_on_file", zu = "Volver a la tienda", Wa = "https://ranty-sdk-js
6143
6143
  function BT(t, e) {
6144
6144
  return ce(this, null, function* () {
6145
6145
  try {
6146
- fe.info("init payload", { tag: "INIT_PAYLOAD", contextObject: e });
6146
+ ue.info("init payload", { tag: "INIT_PAYLOAD", contextObject: e });
6147
6147
  const r = yield t.init(e);
6148
- return fe.info("init result", { tag: "INIT_RESULT", contextObject: r }), r;
6148
+ return ue.info("init result", { tag: "INIT_RESULT", contextObject: r }), r;
6149
6149
  } catch (r) {
6150
- throw console.error(r.details), fe.error("initialize MC checkout service error", { tag: "INITIALIZE_MC_CHECKOUT_ERROR" }, r), r;
6150
+ throw console.error(r.details), ue.error("initialize MC checkout service error", { tag: "INITIALIZE_MC_CHECKOUT_ERROR" }, r), r;
6151
6151
  }
6152
6152
  });
6153
6153
  }
@@ -6155,9 +6155,9 @@ function CT(t) {
6155
6155
  return ce(this, null, function* () {
6156
6156
  try {
6157
6157
  const e = yield t.getCards();
6158
- return fe.info("getCards", { tag: "GET_CARDS", contextObject: e }), e;
6158
+ return ue.info("getCards", { tag: "GET_CARDS", contextObject: e }), e;
6159
6159
  } catch (e) {
6160
- throw fe.error("get card error", { tag: "GET_CARDS_ERROR" }, e), e;
6160
+ throw ue.error("get card error", { tag: "GET_CARDS_ERROR" }, e), e;
6161
6161
  }
6162
6162
  });
6163
6163
  }
@@ -6167,9 +6167,9 @@ function ET(t, e) {
6167
6167
  const r = yield t.idLookup({
6168
6168
  email: e
6169
6169
  });
6170
- return fe.info("idLookup", { tag: "ID_LOOKUP", contextObject: r }), r;
6170
+ return ue.info("idLookup", { tag: "ID_LOOKUP", contextObject: r }), r;
6171
6171
  } catch (r) {
6172
- throw fe.error("id lookup error", { tag: "ID_LOOKUP_ERROR" }, r), r;
6172
+ throw ue.error("id lookup error", { tag: "ID_LOOKUP_ERROR" }, r), r;
6173
6173
  }
6174
6174
  });
6175
6175
  }
@@ -6178,12 +6178,12 @@ function kT(t, e) {
6178
6178
  let r;
6179
6179
  e && (r = {
6180
6180
  requestedValidationChannelId: e
6181
- }), fe.info("requestedChannel", { tag: "REQUESTED_CHANNEL", contextObject: r });
6181
+ }), ue.info("requestedChannel", { tag: "REQUESTED_CHANNEL", contextObject: r });
6182
6182
  try {
6183
6183
  const n = yield t.initiateValidation(r);
6184
- return fe.info("initiateValidation", { tag: "INITIATE_VALIDATION", contextObject: n }), n;
6184
+ return ue.info("initiateValidation", { tag: "INITIATE_VALIDATION", contextObject: n }), n;
6185
6185
  } catch (n) {
6186
- throw fe.error("validation error", { tag: "INITIATE_VALIDATION_ERROR" }, n), n;
6186
+ throw ue.error("validation error", { tag: "INITIATE_VALIDATION_ERROR" }, n), n;
6187
6187
  }
6188
6188
  });
6189
6189
  }
@@ -6191,9 +6191,9 @@ function ST(t, e) {
6191
6191
  return ce(this, null, function* () {
6192
6192
  try {
6193
6193
  const r = yield t.encryptCard(e);
6194
- return fe.info("encryptCardHandler", { tag: "ENCRYPT_CARD_RESULT", contextObject: r }), r;
6194
+ return ue.info("encryptCardHandler", { tag: "ENCRYPT_CARD_RESULT", contextObject: r }), r;
6195
6195
  } catch (r) {
6196
- throw fe.error("encrypt card error", { tag: "ENCRYPT_CARD_ERROR" }, r), r;
6196
+ throw ue.error("encrypt card error", { tag: "ENCRYPT_CARD_ERROR" }, r), r;
6197
6197
  }
6198
6198
  });
6199
6199
  }
@@ -6201,18 +6201,18 @@ function IT(t, e) {
6201
6201
  return ce(this, null, function* () {
6202
6202
  try {
6203
6203
  const r = yield t.validate({ value: e });
6204
- return fe.info("validateHandler", { tag: "VALIDATE_RESULT", contextObject: r }), r;
6204
+ return ue.info("validateHandler", { tag: "VALIDATE_RESULT", contextObject: r }), r;
6205
6205
  } catch (r) {
6206
6206
  if (r.details)
6207
6207
  switch (r.details.reason) {
6208
6208
  case "LOCKED":
6209
6209
  case "ACCT_INACCESSIBLE":
6210
6210
  case "RETRIES_EXCEEDED":
6211
- throw fe.error("Retries exceeded", { tag: "OTP_RETRIES_EXCEEDED" }, r), new Error("OTP_RETRIES_EXCEEDED");
6211
+ throw ue.error("Retries exceeded", { tag: "OTP_RETRIES_EXCEEDED" }, r), new Error("OTP_RETRIES_EXCEEDED");
6212
6212
  case "CODE_INVALID":
6213
- throw fe.error("Code invalid", { tag: "OTP_CODE_INVALID" }, r), new Error("OTP_CODE_INVALID");
6213
+ throw ue.error("Code invalid", { tag: "OTP_CODE_INVALID" }, r), new Error("OTP_CODE_INVALID");
6214
6214
  }
6215
- throw fe.error("validateHandler error", { tag: "VALIDATE_HANDLER_ERROR" }, r), r;
6215
+ throw ue.error("validateHandler error", { tag: "VALIDATE_HANDLER_ERROR" }, r), r;
6216
6216
  }
6217
6217
  });
6218
6218
  }
@@ -6221,7 +6221,7 @@ function TT(t, e) {
6221
6221
  var r, n;
6222
6222
  try {
6223
6223
  const s = yield t.checkoutWithNewCard(e);
6224
- return fe.info("checkoutWithNewCardHandler response", {
6224
+ return ue.info("checkoutWithNewCardHandler response", {
6225
6225
  tag: "CHECKOUT_NEW_CARD_HANDLER",
6226
6226
  contextObject: {
6227
6227
  checkoutActionCode: s.checkoutActionCode,
@@ -6230,7 +6230,7 @@ function TT(t, e) {
6230
6230
  }
6231
6231
  }), s;
6232
6232
  } catch (s) {
6233
- throw fe.error("checkout with new card error", { tag: "CHECKOUT_NEW_CARD_ERROR" }, s), s;
6233
+ throw ue.error("checkout with new card error", { tag: "CHECKOUT_NEW_CARD_ERROR" }, s), s;
6234
6234
  }
6235
6235
  });
6236
6236
  }
@@ -6238,7 +6238,7 @@ function UT(t, e) {
6238
6238
  return ce(this, null, function* () {
6239
6239
  try {
6240
6240
  const r = yield t.checkoutWithCard(e);
6241
- return fe.info("checkoutWithCardHandler response", {
6241
+ return ue.info("checkoutWithCardHandler response", {
6242
6242
  tag: "CHECKOUT_CARD_HANDLER",
6243
6243
  contextObject: {
6244
6244
  checkoutActionCode: r.checkoutActionCode,
@@ -6247,16 +6247,16 @@ function UT(t, e) {
6247
6247
  }
6248
6248
  }), r;
6249
6249
  } catch (r) {
6250
- throw fe.error("checkout card error", { tag: "CHECKOUT_CARD_ERROR" }, r), r;
6250
+ throw ue.error("checkout card error", { tag: "CHECKOUT_CARD_ERROR" }, r), r;
6251
6251
  }
6252
6252
  });
6253
6253
  }
6254
6254
  const jT = (t) => ce(void 0, null, function* () {
6255
6255
  try {
6256
6256
  const e = yield jt.instance.post("sdk/click2pay/checkout", t, {});
6257
- return fe.info("makeC2PCheckout", { tag: "MAKE_C2P_CHECKOUT", contextObject: e }), e.data;
6257
+ return ue.info("makeC2PCheckout", { tag: "MAKE_C2P_CHECKOUT", contextObject: e }), e.data;
6258
6258
  } catch (e) {
6259
- throw fe.error("makeC2PCheckout error", { tag: "MAKE_C2P_CHECKOUT_ERROR" }, e), e;
6259
+ throw ue.error("makeC2PCheckout error", { tag: "MAKE_C2P_CHECKOUT_ERROR" }, e), e;
6260
6260
  }
6261
6261
  }), n_ = (t) => {
6262
6262
  t.dispatchEvent(
@@ -9381,10 +9381,10 @@ function k7(t, e, r, n) {
9381
9381
  }
9382
9382
  var up = $P(k7);
9383
9383
  Ej(Cl(), "DD_LOGS", up);
9384
- const S7 = "@ranty/ranty-sdk", I7 = "3.0.8-beta.2", T7 = 3, U7 = !0, j7 = {
9384
+ const S7 = "@ranty/ranty-sdk", I7 = "3.0.8-beta.4", T7 = 3, U7 = !0, j7 = {
9385
9385
  "": {
9386
9386
  name: "@ranty/ranty-sdk",
9387
- version: "3.0.8-beta.2",
9387
+ version: "3.0.8-beta.4",
9388
9388
  license: "ISC",
9389
9389
  dependencies: {
9390
9390
  "@datadog/browser-logs": "^5.35.1",
@@ -31922,13 +31922,13 @@ Fv.getInstallmentPlans = (t, e, r, n) => ce(void 0, null, function* () {
31922
31922
  return Fv.plans = s.response.data.plans.cards, s;
31923
31923
  } catch (s) {
31924
31924
  const i = "Error getting installment plans";
31925
- throw fe.error(i, { tag: "GET_INSTALLMENT_PLANS_ERROR" }, s), new Qf(i, "666");
31925
+ throw ue.error(i, { tag: "GET_INSTALLMENT_PLANS_ERROR" }, s), new Qf(i, "666");
31926
31926
  }
31927
31927
  });
31928
31928
  let $7 = Fv;
31929
31929
  const Aa = (t, e) => ce(void 0, null, function* () {
31930
31930
  const { order_id: r, platform: n } = t.additional_info, s = yield $7.getInstallmentPlans(r, t.id, n, e);
31931
- return fe.info("getInstallmentsData", { tag: "GET_INSTALLMENT_DATA", data: s.response.data }), s.response.data;
31931
+ return ue.info("getInstallmentsData", { tag: "GET_INSTALLMENT_DATA", data: s.response.data }), s.response.data;
31932
31932
  });
31933
31933
  var Te = /* @__PURE__ */ ((t) => (t.DEFAULT = "DEFAULT", t.CLICK_TO_PAY = "CLICK_TO_PAY", t.CARD_ON_FILE = "CARD_ON_FILE", t.ACCOUNT_TO_ACCOUNT = "ACCOUNT_TO_ACCOUNT", t.ACCOUNT_TO_ACCOUNT_FEEDBACK = "ACCOUNT_TO_ACCOUNT_FEEDBACK", t))(Te || {});
31934
31934
  const Fd = class extends EventTarget {
@@ -36566,9 +36566,9 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36566
36566
  throw new TypeError("Arguments must be Buffers");
36567
36567
  if (w === x)
36568
36568
  return 0;
36569
- for (var N = w.length, $ = x.length, ge = 0, xe = Math.min(N, $); ge < xe; ++ge)
36570
- if (w[ge] !== x[ge]) {
36571
- N = w[ge], $ = x[ge];
36569
+ for (var N = w.length, $ = x.length, fe = 0, xe = Math.min(N, $); fe < xe; ++fe)
36570
+ if (w[fe] !== x[fe]) {
36571
+ N = w[fe], $ = x[fe];
36572
36572
  break;
36573
36573
  }
36574
36574
  return N < $ ? -1 : $ < N ? 1 : 0;
@@ -36598,12 +36598,12 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36598
36598
  if (x === void 0)
36599
36599
  for (x = 0, N = 0; N < w.length; ++N)
36600
36600
  x += w[N].length;
36601
- var $ = a.allocUnsafe(x), ge = 0;
36601
+ var $ = a.allocUnsafe(x), fe = 0;
36602
36602
  for (N = 0; N < w.length; ++N) {
36603
36603
  var xe = w[N];
36604
36604
  if (!a.isBuffer(xe))
36605
36605
  throw new TypeError('"list" argument must be an Array of Buffers');
36606
- xe.copy($, ge), ge += xe.length;
36606
+ xe.copy($, fe), fe += xe.length;
36607
36607
  }
36608
36608
  return $;
36609
36609
  };
@@ -36657,7 +36657,7 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36657
36657
  return _e(this, w, x);
36658
36658
  case "latin1":
36659
36659
  case "binary":
36660
- return pe(this, w, x);
36660
+ return he(this, w, x);
36661
36661
  case "base64":
36662
36662
  return Y(this, w, x);
36663
36663
  case "ucs2":
@@ -36707,20 +36707,20 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36707
36707
  }, a.prototype.inspect = function() {
36708
36708
  var w = "", x = t.INSPECT_MAX_BYTES;
36709
36709
  return this.length > 0 && (w = this.toString("hex", 0, x).match(/.{2}/g).join(" "), this.length > x && (w += " ... ")), "<Buffer " + w + ">";
36710
- }, a.prototype.compare = function(w, x, N, $, ge) {
36710
+ }, a.prototype.compare = function(w, x, N, $, fe) {
36711
36711
  if (!a.isBuffer(w))
36712
36712
  throw new TypeError("Argument must be a Buffer");
36713
- if (x === void 0 && (x = 0), N === void 0 && (N = w ? w.length : 0), $ === void 0 && ($ = 0), ge === void 0 && (ge = this.length), x < 0 || N > w.length || $ < 0 || ge > this.length)
36713
+ if (x === void 0 && (x = 0), N === void 0 && (N = w ? w.length : 0), $ === void 0 && ($ = 0), fe === void 0 && (fe = this.length), x < 0 || N > w.length || $ < 0 || fe > this.length)
36714
36714
  throw new RangeError("out of range index");
36715
- if ($ >= ge && x >= N)
36715
+ if ($ >= fe && x >= N)
36716
36716
  return 0;
36717
- if ($ >= ge)
36717
+ if ($ >= fe)
36718
36718
  return -1;
36719
36719
  if (x >= N)
36720
36720
  return 1;
36721
- if (x >>>= 0, N >>>= 0, $ >>>= 0, ge >>>= 0, this === w)
36721
+ if (x >>>= 0, N >>>= 0, $ >>>= 0, fe >>>= 0, this === w)
36722
36722
  return 0;
36723
- for (var xe = ge - $, We = N - x, st = Math.min(xe, We), At = this.slice($, ge), vt = w.slice(x, N), et = 0; et < st; ++et)
36723
+ for (var xe = fe - $, We = N - x, st = Math.min(xe, We), At = this.slice($, fe), vt = w.slice(x, N), et = 0; et < st; ++et)
36724
36724
  if (At[et] !== vt[et]) {
36725
36725
  xe = At[et], We = vt[et];
36726
36726
  break;
@@ -36746,14 +36746,14 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36746
36746
  throw new TypeError("val must be string, number or Buffer");
36747
36747
  }
36748
36748
  function H(R, w, x, N, $) {
36749
- var ge = 1, xe = R.length, We = w.length;
36749
+ var fe = 1, xe = R.length, We = w.length;
36750
36750
  if (N !== void 0 && (N = String(N).toLowerCase(), N === "ucs2" || N === "ucs-2" || N === "utf16le" || N === "utf-16le")) {
36751
36751
  if (R.length < 2 || w.length < 2)
36752
36752
  return -1;
36753
- ge = 2, xe /= 2, We /= 2, x /= 2;
36753
+ fe = 2, xe /= 2, We /= 2, x /= 2;
36754
36754
  }
36755
36755
  function st(Ye, Wr) {
36756
- return ge === 1 ? Ye[Wr] : Ye.readUInt16BE(Wr * ge);
36756
+ return fe === 1 ? Ye[Wr] : Ye.readUInt16BE(Wr * fe);
36757
36757
  }
36758
36758
  var At;
36759
36759
  if ($) {
@@ -36761,7 +36761,7 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36761
36761
  for (At = x; At < xe; At++)
36762
36762
  if (st(R, At) === st(w, vt === -1 ? 0 : At - vt)) {
36763
36763
  if (vt === -1 && (vt = At), At - vt + 1 === We)
36764
- return vt * ge;
36764
+ return vt * fe;
36765
36765
  } else
36766
36766
  vt !== -1 && (At -= At - vt), vt = -1;
36767
36767
  } else
@@ -36787,10 +36787,10 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36787
36787
  x = Number(x) || 0;
36788
36788
  var $ = R.length - x;
36789
36789
  N ? (N = Number(N), N > $ && (N = $)) : N = $;
36790
- var ge = w.length;
36791
- if (ge % 2 !== 0)
36790
+ var fe = w.length;
36791
+ if (fe % 2 !== 0)
36792
36792
  throw new TypeError("Invalid hex string");
36793
- N > ge / 2 && (N = ge / 2);
36793
+ N > fe / 2 && (N = fe / 2);
36794
36794
  for (var xe = 0; xe < N; ++xe) {
36795
36795
  var We = parseInt(w.substr(xe * 2, 2), 16);
36796
36796
  if (isNaN(We))
@@ -36825,8 +36825,8 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36825
36825
  throw new Error(
36826
36826
  "Buffer.write(string, encoding, offset[, length]) is no longer supported"
36827
36827
  );
36828
- var ge = this.length - x;
36829
- if ((N === void 0 || N > ge) && (N = ge), w.length > 0 && (N < 0 || x < 0) || x > this.length)
36828
+ var fe = this.length - x;
36829
+ if ((N === void 0 || N > fe) && (N = fe), w.length > 0 && (N < 0 || x < 0) || x > this.length)
36830
36830
  throw new RangeError("Attempt to write outside buffer bounds");
36831
36831
  $ || ($ = "utf8");
36832
36832
  for (var xe = !1; ; )
@@ -36865,29 +36865,29 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36865
36865
  function Z(R, w, x) {
36866
36866
  x = Math.min(R.length, x);
36867
36867
  for (var N = [], $ = w; $ < x; ) {
36868
- var ge = R[$], xe = null, We = ge > 239 ? 4 : ge > 223 ? 3 : ge > 191 ? 2 : 1;
36868
+ var fe = R[$], xe = null, We = fe > 239 ? 4 : fe > 223 ? 3 : fe > 191 ? 2 : 1;
36869
36869
  if ($ + We <= x) {
36870
36870
  var st, At, vt, et;
36871
36871
  switch (We) {
36872
36872
  case 1:
36873
- ge < 128 && (xe = ge);
36873
+ fe < 128 && (xe = fe);
36874
36874
  break;
36875
36875
  case 2:
36876
- st = R[$ + 1], (st & 192) === 128 && (et = (ge & 31) << 6 | st & 63, et > 127 && (xe = et));
36876
+ st = R[$ + 1], (st & 192) === 128 && (et = (fe & 31) << 6 | st & 63, et > 127 && (xe = et));
36877
36877
  break;
36878
36878
  case 3:
36879
- st = R[$ + 1], At = R[$ + 2], (st & 192) === 128 && (At & 192) === 128 && (et = (ge & 15) << 12 | (st & 63) << 6 | At & 63, et > 2047 && (et < 55296 || et > 57343) && (xe = et));
36879
+ st = R[$ + 1], At = R[$ + 2], (st & 192) === 128 && (At & 192) === 128 && (et = (fe & 15) << 12 | (st & 63) << 6 | At & 63, et > 2047 && (et < 55296 || et > 57343) && (xe = et));
36880
36880
  break;
36881
36881
  case 4:
36882
- st = R[$ + 1], At = R[$ + 2], vt = R[$ + 3], (st & 192) === 128 && (At & 192) === 128 && (vt & 192) === 128 && (et = (ge & 15) << 18 | (st & 63) << 12 | (At & 63) << 6 | vt & 63, et > 65535 && et < 1114112 && (xe = et));
36882
+ st = R[$ + 1], At = R[$ + 2], vt = R[$ + 3], (st & 192) === 128 && (At & 192) === 128 && (vt & 192) === 128 && (et = (fe & 15) << 18 | (st & 63) << 12 | (At & 63) << 6 | vt & 63, et > 65535 && et < 1114112 && (xe = et));
36883
36883
  }
36884
36884
  }
36885
36885
  xe === null ? (xe = 65533, We = 1) : xe > 65535 && (xe -= 65536, N.push(xe >>> 10 & 1023 | 55296), xe = 56320 | xe & 1023), N.push(xe), $ += We;
36886
36886
  }
36887
- return he(N);
36887
+ return ge(N);
36888
36888
  }
36889
36889
  var be = 4096;
36890
- function he(R) {
36890
+ function ge(R) {
36891
36891
  var w = R.length;
36892
36892
  if (w <= be)
36893
36893
  return String.fromCharCode.apply(String, R);
@@ -36905,7 +36905,7 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36905
36905
  N += String.fromCharCode(R[$] & 127);
36906
36906
  return N;
36907
36907
  }
36908
- function pe(R, w, x) {
36908
+ function he(R, w, x) {
36909
36909
  var N = "";
36910
36910
  x = Math.min(R.length, x);
36911
36911
  for (var $ = w; $ < x; ++$)
@@ -36915,13 +36915,13 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36915
36915
  function Be(R, w, x) {
36916
36916
  var N = R.length;
36917
36917
  (!w || w < 0) && (w = 0), (!x || x < 0 || x > N) && (x = N);
36918
- for (var $ = "", ge = w; ge < x; ++ge)
36919
- $ += De(R[ge]);
36918
+ for (var $ = "", fe = w; fe < x; ++fe)
36919
+ $ += De(R[fe]);
36920
36920
  return $;
36921
36921
  }
36922
36922
  function oe(R, w, x) {
36923
- for (var N = R.slice(w, x), $ = "", ge = 0; ge < N.length; ge += 2)
36924
- $ += String.fromCharCode(N[ge] + N[ge + 1] * 256);
36923
+ for (var N = R.slice(w, x), $ = "", fe = 0; fe < N.length; fe += 2)
36924
+ $ += String.fromCharCode(N[fe] + N[fe + 1] * 256);
36925
36925
  return $;
36926
36926
  }
36927
36927
  a.prototype.slice = function(w, x) {
@@ -36931,9 +36931,9 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36931
36931
  if (a.TYPED_ARRAY_SUPPORT)
36932
36932
  $ = this.subarray(w, x), $.__proto__ = a.prototype;
36933
36933
  else {
36934
- var ge = x - w;
36935
- $ = new a(ge, void 0);
36936
- for (var xe = 0; xe < ge; ++xe)
36934
+ var fe = x - w;
36935
+ $ = new a(fe, void 0);
36936
+ for (var xe = 0; xe < fe; ++xe)
36937
36937
  $[xe] = this[xe + w];
36938
36938
  }
36939
36939
  return $;
@@ -36946,13 +36946,13 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36946
36946
  }
36947
36947
  a.prototype.readUIntLE = function(w, x, N) {
36948
36948
  w = w | 0, x = x | 0, N || Ce(w, x, this.length);
36949
- for (var $ = this[w], ge = 1, xe = 0; ++xe < x && (ge *= 256); )
36950
- $ += this[w + xe] * ge;
36949
+ for (var $ = this[w], fe = 1, xe = 0; ++xe < x && (fe *= 256); )
36950
+ $ += this[w + xe] * fe;
36951
36951
  return $;
36952
36952
  }, a.prototype.readUIntBE = function(w, x, N) {
36953
36953
  w = w | 0, x = x | 0, N || Ce(w, x, this.length);
36954
- for (var $ = this[w + --x], ge = 1; x > 0 && (ge *= 256); )
36955
- $ += this[w + --x] * ge;
36954
+ for (var $ = this[w + --x], fe = 1; x > 0 && (fe *= 256); )
36955
+ $ += this[w + --x] * fe;
36956
36956
  return $;
36957
36957
  }, a.prototype.readUInt8 = function(w, x) {
36958
36958
  return x || Ce(w, 1, this.length), this[w];
@@ -36966,14 +36966,14 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36966
36966
  return x || Ce(w, 4, this.length), this[w] * 16777216 + (this[w + 1] << 16 | this[w + 2] << 8 | this[w + 3]);
36967
36967
  }, a.prototype.readIntLE = function(w, x, N) {
36968
36968
  w = w | 0, x = x | 0, N || Ce(w, x, this.length);
36969
- for (var $ = this[w], ge = 1, xe = 0; ++xe < x && (ge *= 256); )
36970
- $ += this[w + xe] * ge;
36971
- return ge *= 128, $ >= ge && ($ -= Math.pow(2, 8 * x)), $;
36969
+ for (var $ = this[w], fe = 1, xe = 0; ++xe < x && (fe *= 256); )
36970
+ $ += this[w + xe] * fe;
36971
+ return fe *= 128, $ >= fe && ($ -= Math.pow(2, 8 * x)), $;
36972
36972
  }, a.prototype.readIntBE = function(w, x, N) {
36973
36973
  w = w | 0, x = x | 0, N || Ce(w, x, this.length);
36974
- for (var $ = x, ge = 1, xe = this[w + --$]; $ > 0 && (ge *= 256); )
36975
- xe += this[w + --$] * ge;
36976
- return ge *= 128, xe >= ge && (xe -= Math.pow(2, 8 * x)), xe;
36974
+ for (var $ = x, fe = 1, xe = this[w + --$]; $ > 0 && (fe *= 256); )
36975
+ xe += this[w + --$] * fe;
36976
+ return fe *= 128, xe >= fe && (xe -= Math.pow(2, 8 * x)), xe;
36977
36977
  }, a.prototype.readInt8 = function(w, x) {
36978
36978
  return x || Ce(w, 1, this.length), this[w] & 128 ? (255 - this[w] + 1) * -1 : this[w];
36979
36979
  }, a.prototype.readInt16LE = function(w, x) {
@@ -36997,18 +36997,18 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
36997
36997
  }, a.prototype.readDoubleBE = function(w, x) {
36998
36998
  return x || Ce(w, 8, this.length), r.read(this, w, !1, 52, 8);
36999
36999
  };
37000
- function S(R, w, x, N, $, ge) {
37000
+ function S(R, w, x, N, $, fe) {
37001
37001
  if (!a.isBuffer(R))
37002
37002
  throw new TypeError('"buffer" argument must be a Buffer instance');
37003
- if (w > $ || w < ge)
37003
+ if (w > $ || w < fe)
37004
37004
  throw new RangeError('"value" argument is out of bounds');
37005
37005
  if (x + N > R.length)
37006
37006
  throw new RangeError("Index out of range");
37007
37007
  }
37008
37008
  a.prototype.writeUIntLE = function(w, x, N, $) {
37009
37009
  if (w = +w, x = x | 0, N = N | 0, !$) {
37010
- var ge = Math.pow(2, 8 * N) - 1;
37011
- S(this, w, x, N, ge, 0);
37010
+ var fe = Math.pow(2, 8 * N) - 1;
37011
+ S(this, w, x, N, fe, 0);
37012
37012
  }
37013
37013
  var xe = 1, We = 0;
37014
37014
  for (this[x] = w & 255; ++We < N && (xe *= 256); )
@@ -37016,8 +37016,8 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37016
37016
  return x + N;
37017
37017
  }, a.prototype.writeUIntBE = function(w, x, N, $) {
37018
37018
  if (w = +w, x = x | 0, N = N | 0, !$) {
37019
- var ge = Math.pow(2, 8 * N) - 1;
37020
- S(this, w, x, N, ge, 0);
37019
+ var fe = Math.pow(2, 8 * N) - 1;
37020
+ S(this, w, x, N, fe, 0);
37021
37021
  }
37022
37022
  var xe = N - 1, We = 1;
37023
37023
  for (this[x + xe] = w & 255; --xe >= 0 && (We *= 256); )
@@ -37028,7 +37028,7 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37028
37028
  };
37029
37029
  function z(R, w, x, N) {
37030
37030
  w < 0 && (w = 65535 + w + 1);
37031
- for (var $ = 0, ge = Math.min(R.length - x, 2); $ < ge; ++$)
37031
+ for (var $ = 0, fe = Math.min(R.length - x, 2); $ < fe; ++$)
37032
37032
  R[x + $] = (w & 255 << 8 * (N ? $ : 1 - $)) >>> (N ? $ : 1 - $) * 8;
37033
37033
  }
37034
37034
  a.prototype.writeUInt16LE = function(w, x, N) {
@@ -37038,7 +37038,7 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37038
37038
  };
37039
37039
  function G(R, w, x, N) {
37040
37040
  w < 0 && (w = 4294967295 + w + 1);
37041
- for (var $ = 0, ge = Math.min(R.length - x, 4); $ < ge; ++$)
37041
+ for (var $ = 0, fe = Math.min(R.length - x, 4); $ < fe; ++$)
37042
37042
  R[x + $] = w >>> (N ? $ : 3 - $) * 8 & 255;
37043
37043
  }
37044
37044
  a.prototype.writeUInt32LE = function(w, x, N) {
@@ -37047,8 +37047,8 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37047
37047
  return w = +w, x = x | 0, N || S(this, w, x, 4, 4294967295, 0), a.TYPED_ARRAY_SUPPORT ? (this[x] = w >>> 24, this[x + 1] = w >>> 16, this[x + 2] = w >>> 8, this[x + 3] = w & 255) : G(this, w, x, !1), x + 4;
37048
37048
  }, a.prototype.writeIntLE = function(w, x, N, $) {
37049
37049
  if (w = +w, x = x | 0, !$) {
37050
- var ge = Math.pow(2, 8 * N - 1);
37051
- S(this, w, x, N, ge - 1, -ge);
37050
+ var fe = Math.pow(2, 8 * N - 1);
37051
+ S(this, w, x, N, fe - 1, -fe);
37052
37052
  }
37053
37053
  var xe = 0, We = 1, st = 0;
37054
37054
  for (this[x] = w & 255; ++xe < N && (We *= 256); )
@@ -37056,8 +37056,8 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37056
37056
  return x + N;
37057
37057
  }, a.prototype.writeIntBE = function(w, x, N, $) {
37058
37058
  if (w = +w, x = x | 0, !$) {
37059
- var ge = Math.pow(2, 8 * N - 1);
37060
- S(this, w, x, N, ge - 1, -ge);
37059
+ var fe = Math.pow(2, 8 * N - 1);
37060
+ S(this, w, x, N, fe - 1, -fe);
37061
37061
  }
37062
37062
  var xe = N - 1, We = 1, st = 0;
37063
37063
  for (this[x + xe] = w & 255; --xe >= 0 && (We *= 256); )
@@ -37074,7 +37074,7 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37074
37074
  }, a.prototype.writeInt32BE = function(w, x, N) {
37075
37075
  return w = +w, x = x | 0, N || S(this, w, x, 4, 2147483647, -2147483648), w < 0 && (w = 4294967295 + w + 1), a.TYPED_ARRAY_SUPPORT ? (this[x] = w >>> 24, this[x + 1] = w >>> 16, this[x + 2] = w >>> 8, this[x + 3] = w & 255) : G(this, w, x, !1), x + 4;
37076
37076
  };
37077
- function ee(R, w, x, N, $, ge) {
37077
+ function ee(R, w, x, N, $, fe) {
37078
37078
  if (x + N > R.length)
37079
37079
  throw new RangeError("Index out of range");
37080
37080
  if (x < 0)
@@ -37105,25 +37105,25 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37105
37105
  if ($ < 0)
37106
37106
  throw new RangeError("sourceEnd out of bounds");
37107
37107
  $ > this.length && ($ = this.length), w.length - x < $ - N && ($ = w.length - x + N);
37108
- var ge = $ - N, xe;
37108
+ var fe = $ - N, xe;
37109
37109
  if (this === w && N < x && x < $)
37110
- for (xe = ge - 1; xe >= 0; --xe)
37110
+ for (xe = fe - 1; xe >= 0; --xe)
37111
37111
  w[xe + x] = this[xe + N];
37112
- else if (ge < 1e3 || !a.TYPED_ARRAY_SUPPORT)
37113
- for (xe = 0; xe < ge; ++xe)
37112
+ else if (fe < 1e3 || !a.TYPED_ARRAY_SUPPORT)
37113
+ for (xe = 0; xe < fe; ++xe)
37114
37114
  w[xe + x] = this[xe + N];
37115
37115
  else
37116
37116
  Uint8Array.prototype.set.call(
37117
37117
  w,
37118
- this.subarray(N, N + ge),
37118
+ this.subarray(N, N + fe),
37119
37119
  x
37120
37120
  );
37121
- return ge;
37121
+ return fe;
37122
37122
  }, a.prototype.fill = function(w, x, N, $) {
37123
37123
  if (typeof w == "string") {
37124
37124
  if (typeof x == "string" ? ($ = x, x = 0, N = this.length) : typeof N == "string" && ($ = N, N = this.length), w.length === 1) {
37125
- var ge = w.charCodeAt(0);
37126
- ge < 256 && (w = ge);
37125
+ var fe = w.charCodeAt(0);
37126
+ fe < 256 && (w = fe);
37127
37127
  }
37128
37128
  if ($ !== void 0 && typeof $ != "string")
37129
37129
  throw new TypeError("encoding must be a string");
@@ -37163,41 +37163,41 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37163
37163
  }
37164
37164
  function Me(R, w) {
37165
37165
  w = w || 1 / 0;
37166
- for (var x, N = R.length, $ = null, ge = [], xe = 0; xe < N; ++xe) {
37166
+ for (var x, N = R.length, $ = null, fe = [], xe = 0; xe < N; ++xe) {
37167
37167
  if (x = R.charCodeAt(xe), x > 55295 && x < 57344) {
37168
37168
  if (!$) {
37169
37169
  if (x > 56319) {
37170
- (w -= 3) > -1 && ge.push(239, 191, 189);
37170
+ (w -= 3) > -1 && fe.push(239, 191, 189);
37171
37171
  continue;
37172
37172
  } else if (xe + 1 === N) {
37173
- (w -= 3) > -1 && ge.push(239, 191, 189);
37173
+ (w -= 3) > -1 && fe.push(239, 191, 189);
37174
37174
  continue;
37175
37175
  }
37176
37176
  $ = x;
37177
37177
  continue;
37178
37178
  }
37179
37179
  if (x < 56320) {
37180
- (w -= 3) > -1 && ge.push(239, 191, 189), $ = x;
37180
+ (w -= 3) > -1 && fe.push(239, 191, 189), $ = x;
37181
37181
  continue;
37182
37182
  }
37183
37183
  x = ($ - 55296 << 10 | x - 56320) + 65536;
37184
37184
  } else
37185
- $ && (w -= 3) > -1 && ge.push(239, 191, 189);
37185
+ $ && (w -= 3) > -1 && fe.push(239, 191, 189);
37186
37186
  if ($ = null, x < 128) {
37187
37187
  if ((w -= 1) < 0)
37188
37188
  break;
37189
- ge.push(x);
37189
+ fe.push(x);
37190
37190
  } else if (x < 2048) {
37191
37191
  if ((w -= 2) < 0)
37192
37192
  break;
37193
- ge.push(
37193
+ fe.push(
37194
37194
  x >> 6 | 192,
37195
37195
  x & 63 | 128
37196
37196
  );
37197
37197
  } else if (x < 65536) {
37198
37198
  if ((w -= 3) < 0)
37199
37199
  break;
37200
- ge.push(
37200
+ fe.push(
37201
37201
  x >> 12 | 224,
37202
37202
  x >> 6 & 63 | 128,
37203
37203
  x & 63 | 128
@@ -37205,7 +37205,7 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37205
37205
  } else if (x < 1114112) {
37206
37206
  if ((w -= 4) < 0)
37207
37207
  break;
37208
- ge.push(
37208
+ fe.push(
37209
37209
  x >> 18 | 240,
37210
37210
  x >> 12 & 63 | 128,
37211
37211
  x >> 6 & 63 | 128,
@@ -37214,7 +37214,7 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37214
37214
  } else
37215
37215
  throw new Error("Invalid code point");
37216
37216
  }
37217
- return ge;
37217
+ return fe;
37218
37218
  }
37219
37219
  function ze(R) {
37220
37220
  for (var w = [], x = 0; x < R.length; ++x)
@@ -37222,9 +37222,9 @@ var jO = {}.toString, PO = Array.isArray || function(t) {
37222
37222
  return w;
37223
37223
  }
37224
37224
  function dt(R, w) {
37225
- for (var x, N, $, ge = [], xe = 0; xe < R.length && !((w -= 2) < 0); ++xe)
37226
- x = R.charCodeAt(xe), N = x >> 8, $ = x % 256, ge.push($), ge.push(N);
37227
- return ge;
37225
+ for (var x, N, $, fe = [], xe = 0; xe < R.length && !((w -= 2) < 0); ++xe)
37226
+ x = R.charCodeAt(xe), N = x >> 8, $ = x % 256, fe.push($), fe.push(N);
37227
+ return fe;
37228
37228
  }
37229
37229
  function Ee(R) {
37230
37230
  return e.toByteArray(we(R));
@@ -37988,8 +37988,8 @@ var UN = typeof navigator != "undefined", Y_ = UN ? T6.isReactNative ? "react-na
37988
37988
  var q = H.digestSync(), M = sr.Buffer.from(q).toString("base64"), J = {};
37989
37989
  J.USERNAME = i.username, J.PASSWORD_CLAIM_SECRET_BLOCK = b.SECRET_BLOCK, J.TIMESTAMP = L, J.PASSWORD_CLAIM_SIGNATURE = M, i.deviceKey != null && (J.DEVICE_KEY = i.deviceKey);
37990
37990
  var de = function(Y, Z) {
37991
- return i.client.request("RespondToAuthChallenge", Y, function(be, he) {
37992
- return be && be.code === "ResourceNotFoundException" && be.message.toLowerCase().indexOf("device") !== -1 ? (J.DEVICE_KEY = null, i.deviceKey = null, i.randomPassword = null, i.deviceGroupKey = null, i.clearCachedDeviceKeyAndPassword(), de(Y, Z)) : Z(be, he);
37991
+ return i.client.request("RespondToAuthChallenge", Y, function(be, ge) {
37992
+ return be && be.code === "ResourceNotFoundException" && be.message.toLowerCase().indexOf("device") !== -1 ? (J.DEVICE_KEY = null, i.deviceKey = null, i.randomPassword = null, i.deviceGroupKey = null, i.clearCachedDeviceKeyAndPassword(), de(Y, Z)) : Z(be, ge);
37993
37993
  });
37994
37994
  }, D = {
37995
37995
  ChallengeName: "PASSWORD_VERIFIER",
@@ -39064,7 +39064,7 @@ cm.exports;
39064
39064
  oe = V(oe / L);
39065
39065
  return V(z + (L + 1) * oe / (oe + u));
39066
39066
  }
39067
- function he(oe) {
39067
+ function ge(oe) {
39068
39068
  var Ce = [], S = oe.length, z, G = 0, ee = m, re = p, Ae, ve, we, Qe, De, Me, ze, dt, Ee;
39069
39069
  for (Ae = oe.lastIndexOf(y), Ae < 0 && (Ae = 0), ve = 0; ve < Ae; ++ve)
39070
39070
  oe.charCodeAt(ve) >= 128 && M("not-basic"), Ce.push(oe.charCodeAt(ve));
@@ -39094,9 +39094,9 @@ cm.exports;
39094
39094
  }
39095
39095
  return Me.join("");
39096
39096
  }
39097
- function pe(oe) {
39097
+ function he(oe) {
39098
39098
  return de(oe, function(Ce) {
39099
- return _.test(Ce) ? he(Ce.slice(4).toLowerCase()) : Ce;
39099
+ return _.test(Ce) ? ge(Ce.slice(4).toLowerCase()) : Ce;
39100
39100
  });
39101
39101
  }
39102
39102
  function Be(oe) {
@@ -39122,10 +39122,10 @@ cm.exports;
39122
39122
  decode: D,
39123
39123
  encode: Q
39124
39124
  },
39125
- decode: he,
39125
+ decode: ge,
39126
39126
  encode: _e,
39127
39127
  toASCII: Be,
39128
- toUnicode: pe
39128
+ toUnicode: he
39129
39129
  }, n && s)
39130
39130
  if (t.exports == n)
39131
39131
  s.exports = o;
@@ -39280,8 +39280,8 @@ Vo.prototype.parse = function(t, e, r) {
39280
39280
  }
39281
39281
  var be = a.indexOf("#");
39282
39282
  be !== -1 && (this.hash = a.substr(be), a = a.slice(0, be));
39283
- var he = a.indexOf("?");
39284
- if (he !== -1 ? (this.search = a.substr(he), this.query = a.substr(he + 1), e && (this.query = rb.parse(this.query)), a = a.slice(0, he)) : e && (this.search = "", this.query = {}), a && (this.pathname = a), pc[A] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) {
39283
+ var ge = a.indexOf("?");
39284
+ if (ge !== -1 ? (this.search = a.substr(ge), this.query = a.substr(ge + 1), e && (this.query = rb.parse(this.query)), a = a.slice(0, ge)) : e && (this.search = "", this.query = {}), a && (this.pathname = a), pc[A] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) {
39285
39285
  var D = this.pathname || "", _e = this.search || "";
39286
39286
  this.path = D + _e;
39287
39287
  }
@@ -41382,7 +41382,7 @@ let Bi = class extends qe {
41382
41382
  i.length === 16 ? this.shouldValidateBin ? yield _T(i.slice(0, 6)).then((a) => {
41383
41383
  this.validCredit = a.response.data.bines, this.validCredit && this.validCredit.brand === "NARANJA" ? (this.isError = !1, this.isBrand = !0, this.isTouched = !0) : (this.isTouched = !0, this.isBrand = !1, this.isError = !0);
41384
41384
  }).catch((a) => {
41385
- fe.error("HANDLE-INPUT-ERROR", {}, a), this.serviceError();
41385
+ ue.error("HANDLE-INPUT-ERROR", {}, a), this.serviceError();
41386
41386
  }) : (this.isBrand = !0, this.isTouched = !0) : this.isError = !1;
41387
41387
  const o = new CustomEvent("onChange", {
41388
41388
  bubbles: !0,
@@ -42853,7 +42853,7 @@ let ul = class t extends qe {
42853
42853
  }
42854
42854
  this.payfacContext.isReady = !0, this.dispatchEvent(new CustomEvent("payfac-context-set", { bubbles: !0, composed: !0 }));
42855
42855
  } catch (e) {
42856
- throw nt("AUTH_ERROR", "Authentication failed."), this.payfacContext.isReady = !1, console.log(e), fe.error(
42856
+ throw nt("AUTH_ERROR", "Authentication failed."), this.payfacContext.isReady = !1, console.log(e), ue.error(
42857
42857
  "authorizationError",
42858
42858
  {
42859
42859
  context: Te.DEFAULT,
@@ -42886,7 +42886,7 @@ let ul = class t extends qe {
42886
42886
  const r = yield _i(this.paymentRequestId);
42887
42887
  this.payfacContext.paymentRequest = r.response;
42888
42888
  } catch (r) {
42889
- nt("AUTH_PAYMENT_REQUEST", "Payment request failed."), fe.error(
42889
+ nt("AUTH_PAYMENT_REQUEST", "Payment request failed."), ue.error(
42890
42890
  "getPaymentRequestError",
42891
42891
  {
42892
42892
  context: Te.DEFAULT,
@@ -43009,7 +43009,7 @@ let Ao = class t extends qe {
43009
43009
  paymentRequestId: this.paymentRequestId,
43010
43010
  publicKey: this.publicKey,
43011
43011
  publicKeyScof: null
43012
- }, this.requestUpdate(), fe.info("firstUpdated", {
43012
+ }, this.requestUpdate(), ue.info("firstUpdated", {
43013
43013
  context: Te.CARD_ON_FILE,
43014
43014
  tag: "CONTEXT_SCOF_INIT",
43015
43015
  is_embedded: this.payfacContext.isEmbedded,
@@ -43162,7 +43162,7 @@ let Ei = class t extends qe {
43162
43162
  yield this.getPaymentRequest(), this.stateStatus.isRetry = !1;
43163
43163
  return;
43164
43164
  }
43165
- this.stateStatus.isStart && (this.title = "Estamos procesando el pago", this.subtitle = "Puede tardar unos segundos.", yield this.initializatePayment()), fe.info("firstUpdated", {
43165
+ this.stateStatus.isStart && (this.title = "Estamos procesando el pago", this.subtitle = "Puede tardar unos segundos.", yield this.initializatePayment()), ue.info("firstUpdated", {
43166
43166
  context: Te.CARD_ON_FILE,
43167
43167
  tag: "LOADING",
43168
43168
  is_embedded: this.payfacContext.isEmbedded,
@@ -43177,7 +43177,7 @@ let Ei = class t extends qe {
43177
43177
  return ce(this, null, function* () {
43178
43178
  try {
43179
43179
  const e = yield eC(this.stateScofProps.paymentRequestId), r = e.payment_request, n = e.allowed_cards, s = [...new Set(n.map((d) => d.name))];
43180
- if (this.stateScof.statePaymentRequest = r, this.payfacContext.paymentRequest = r, this.payfacContext.context = Te.CARD_ON_FILE, fe.info("getPaymentRequest", {
43180
+ if (this.stateScof.statePaymentRequest = r, this.payfacContext.paymentRequest = r, this.payfacContext.context = Te.CARD_ON_FILE, ue.info("getPaymentRequest", {
43181
43181
  context: Te.CARD_ON_FILE,
43182
43182
  tag: "GET_PAYMENT_REQUEST",
43183
43183
  is_embedded: this.payfacContext.isEmbedded,
@@ -43204,7 +43204,7 @@ let Ei = class t extends qe {
43204
43204
  selected: null
43205
43205
  }, this.createEvent("button-pushed", this.stateScof.page), this.requestUpdate();
43206
43206
  } catch (e) {
43207
- nt("PAYMENT_REQUEST_ERROR", "Payment request failed."), this.stateStatus.title = "No pudimos cargar las opciones", this.stateStatus.subtitle = "Hubo un problema al intentar cargar las opciones de pago. Podés volver a intentarlo.", this.stateStatus.icon = "https://ranty-sdk-js.naranjax.com/images/error.svg", this.stateStatus.returnButton = !0, this.stateStatus.status = "ERROR_GET_PAYMENT", fe.error(
43207
+ nt("PAYMENT_REQUEST_ERROR", "Payment request failed."), this.stateStatus.title = "No pudimos cargar las opciones", this.stateStatus.subtitle = "Hubo un problema al intentar cargar las opciones de pago. Podés volver a intentarlo.", this.stateStatus.icon = "https://ranty-sdk-js.naranjax.com/images/error.svg", this.stateStatus.returnButton = !0, this.stateStatus.status = "ERROR_GET_PAYMENT", ue.error(
43208
43208
  "getPaymentRequest",
43209
43209
  {
43210
43210
  context: Te.CARD_ON_FILE,
@@ -43237,7 +43237,7 @@ let Ei = class t extends qe {
43237
43237
  !1
43238
43238
  );
43239
43239
  try {
43240
- yield g2(e), this.startPolling(), fe.info("directPaymentTransparent", {
43240
+ yield g2(e), this.startPolling(), ue.info("directPaymentTransparent", {
43241
43241
  context: Te.CARD_ON_FILE,
43242
43242
  tag: "POST_DIRECT_PAYMENT_TRANSPARENT",
43243
43243
  is_embedded: this.payfacContext.isEmbedded,
@@ -43248,7 +43248,7 @@ let Ei = class t extends qe {
43248
43248
  }
43249
43249
  });
43250
43250
  } catch (i) {
43251
- nt("DIRECT_PAYMENT_ERROR", "Direct payment failed."), this.defaultMessageError(), fe.error(
43251
+ nt("DIRECT_PAYMENT_ERROR", "Direct payment failed."), this.defaultMessageError(), ue.error(
43252
43252
  "directPaymentTransparent",
43253
43253
  {
43254
43254
  context: Te.CARD_ON_FILE,
@@ -43291,7 +43291,7 @@ let Ei = class t extends qe {
43291
43291
  }
43292
43292
  };
43293
43293
  try {
43294
- e = yield bT(r), this.startPolling(), fe.info("directPaymentTokenized", {
43294
+ e = yield bT(r), this.startPolling(), ue.info("directPaymentTokenized", {
43295
43295
  context: Te.CARD_ON_FILE,
43296
43296
  tag: "POST_DIRECT_PAYMENT_TOKENIZED",
43297
43297
  is_embedded: this.payfacContext.isEmbedded,
@@ -43303,7 +43303,7 @@ let Ei = class t extends qe {
43303
43303
  }
43304
43304
  });
43305
43305
  } catch (n) {
43306
- nt("DIRECT_PAYMENT_TOKENIZED_ERROR", "Direct payment tokenized failed."), this.defaultMessageError(), fe.error(
43306
+ nt("DIRECT_PAYMENT_TOKENIZED_ERROR", "Direct payment tokenized failed."), this.defaultMessageError(), ue.error(
43307
43307
  "directPaymentTokenized",
43308
43308
  {
43309
43309
  context: Te.CARD_ON_FILE,
@@ -43367,7 +43367,7 @@ let Ei = class t extends qe {
43367
43367
  });
43368
43368
  this.stateScof.walletPromotions = cl(e, "wallet"), this.stateScof.manualInputPromotions = cl(e, "manual_input");
43369
43369
  } catch (e) {
43370
- nt("PROMOTIONS_ERROR", "Promotions failed."), console.log(e), fe.error(
43370
+ nt("PROMOTIONS_ERROR", "Promotions failed."), console.log(e), ue.error(
43371
43371
  "getPromotionsError",
43372
43372
  {
43373
43373
  context: Te.CARD_ON_FILE,
@@ -43562,20 +43562,20 @@ const TQ = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointe
43562
43562
  }, FQ = (t, e) => {
43563
43563
  const r = PQ(t), n = jt.getConfig();
43564
43564
  if (r)
43565
- if (fe.info(`Loading ${r} fraud prevention tooling`, e), r === zf.SIFT) {
43565
+ if (ue.info(`Loading ${r} fraud prevention tooling`, e), r === zf.SIFT) {
43566
43566
  const s = {
43567
43567
  accountId: n.SIFT_FRAUD_PREVENTION.ACCOUNT_ID,
43568
43568
  sessionId: e.sessionId,
43569
43569
  userId: e.userId
43570
43570
  };
43571
- fe.info("Loading sift fraud prevention tooling", s), rC(s);
43571
+ ue.info("Loading sift fraud prevention tooling", s), rC(s);
43572
43572
  } else {
43573
43573
  const s = {
43574
43574
  merchantId: n.CYBERSOURCE_FRAUD_PREVENTION.MERCHANT_ID,
43575
43575
  orgId: n.CYBERSOURCE_FRAUD_PREVENTION.ORG_ID,
43576
43576
  sessionId: e.sessionId
43577
43577
  };
43578
- fe.info("Loading cybersource fraud prevention tooling", s);
43578
+ ue.info("Loading cybersource fraud prevention tooling", s);
43579
43579
  const i = nC(s);
43580
43580
  document.head.appendChild(i.script);
43581
43581
  const o = document.querySelector("noscript");
@@ -43641,7 +43641,7 @@ const LQ = (t, e = () => {
43641
43641
  }
43642
43642
  try {
43643
43643
  const h = yield Aa(t, l);
43644
- if (fe.info("getInstallments", {
43644
+ if (ue.info("getInstallments", {
43645
43645
  context: Te.CARD_ON_FILE,
43646
43646
  origin_sdk: fx,
43647
43647
  tag: "GET_INSTALLMENT_PLAN_BY_BINES",
@@ -43659,7 +43659,7 @@ const LQ = (t, e = () => {
43659
43659
  }
43660
43660
  n(h.plans.cards[0]), e(!1), d(!0);
43661
43661
  } catch (h) {
43662
- fe.error(
43662
+ ue.error(
43663
43663
  "getInstallments",
43664
43664
  {
43665
43665
  context: Te.CARD_ON_FILE,
@@ -44412,7 +44412,7 @@ let Si = class extends qe {
44412
44412
  }), (n = this.shadowRoot) == null || n.addEventListener("button-pushed", (s) => {
44413
44413
  this.stateScof.page = s.detail ? s.detail : at.MAIN, (s.detail === at.QR || s.detail === at.STATUS || s.detail === at.LOADING) && (this.isShowCardPayment = !1), s.detail === at.MAIN && (this.stateScof.isActiveWs || this.webSocket()), (this.stateScof.page === at.PLANS || this.stateScof.page === at.SUMMARY) && this.isShowToast === !0 && setTimeout(() => {
44414
44414
  this.isShowToast = !1;
44415
- }, 3e3), this.requestUpdate(), this.routerState(), this.stateScof.statePaymentRequest && fe.info("connectedCallback", {
44415
+ }, 3e3), this.requestUpdate(), this.routerState(), this.stateScof.statePaymentRequest && ue.info("connectedCallback", {
44416
44416
  context: Te.CARD_ON_FILE,
44417
44417
  tag: "APP_HOME_PAGES",
44418
44418
  is_embedded: this.payfacContext.isEmbedded,
@@ -44469,7 +44469,7 @@ let Si = class extends qe {
44469
44469
  }
44470
44470
  setDurationPayment(t) {
44471
44471
  var e;
44472
- Ut.getStartPaymentTime() && (fe.info("paymentDuration", {
44472
+ Ut.getStartPaymentTime() && (ue.info("paymentDuration", {
44473
44473
  context: Te.CARD_ON_FILE,
44474
44474
  origin_sdk: by,
44475
44475
  tag: "PAYMENT_DURATION",
@@ -44491,7 +44491,7 @@ let Si = class extends qe {
44491
44491
  const e = yield _i(this.stateScof.statePaymentRequest.id);
44492
44492
  this.stateScof.statePaymentRequest = e.response, this.statusMessage = e.response.status, this.setDurationPayment(e.response);
44493
44493
  } catch (e) {
44494
- fe.error(
44494
+ ue.error(
44495
44495
  "getPaymentRequestRedirectStatus",
44496
44496
  {
44497
44497
  context: Te.DEFAULT,
@@ -44884,7 +44884,7 @@ let ws = class extends qe {
44884
44884
  return e.value.substr(-4) || "";
44885
44885
  }
44886
44886
  firstUpdated() {
44887
- fe.info("firstUpdated", {
44887
+ ue.info("firstUpdated", {
44888
44888
  context: Te.CARD_ON_FILE,
44889
44889
  tag: "CARD_FORM",
44890
44890
  is_embedded: this.payfacContext.isEmbedded,
@@ -44940,7 +44940,7 @@ let ws = class extends qe {
44940
44940
  if ((s = this.stateScof.userCardData) == null ? void 0 : s.list.find(
44941
44941
  (b) => b.token_id === y.token_id
44942
44942
  )) {
44943
- this.isLoading = !1, this.isValidForm = !1, this.createEvent("duplicated-card", !0), fe.info("submit", {
44943
+ this.isLoading = !1, this.isValidForm = !1, this.createEvent("duplicated-card", !0), ue.info("submit", {
44944
44944
  context: Te.CARD_ON_FILE,
44945
44945
  tag: "SCOF_TOKEN_PROVISIONING_DUPLICATED",
44946
44946
  is_embedded: this.payfacContext.isEmbedded,
@@ -44956,7 +44956,7 @@ let ws = class extends qe {
44956
44956
  this.stateScof.userCardData = {
44957
44957
  list: [...this.stateScof.userCardData.list, y],
44958
44958
  selected: y
44959
- }, this.isLoading = !1, this.isRecieveData = !1, this.createEvent("tokenized-card", !0), fe.info("submit", {
44959
+ }, this.isLoading = !1, this.isRecieveData = !1, this.createEvent("tokenized-card", !0), ue.info("submit", {
44960
44960
  context: Te.CARD_ON_FILE,
44961
44961
  tag: "SCOF_TOKEN_PROVISIONING",
44962
44962
  is_embedded: this.payfacContext.isEmbedded,
@@ -44968,7 +44968,7 @@ let ws = class extends qe {
44968
44968
  }
44969
44969
  });
44970
44970
  } catch (m) {
44971
- console.log(m), nt("TOKENIZED_PROVISIONING_ERROR", "Tokenized provisioning failed."), this.isLoading = !1, this.stateScof.isAddCardConsent = !1, this.createEvent("tokenized-card", !1), fe.error(
44971
+ console.log(m), nt("TOKENIZED_PROVISIONING_ERROR", "Tokenized provisioning failed."), this.isLoading = !1, this.stateScof.isAddCardConsent = !1, this.createEvent("tokenized-card", !1), ue.error(
44972
44972
  "submit",
44973
44973
  {
44974
44974
  context: Te.CARD_ON_FILE,
@@ -44999,7 +44999,7 @@ let ws = class extends qe {
44999
44999
  codSeg: this.cardFormValue.cvv,
45000
45000
  expired: a
45001
45001
  }, Vc(this.stateScof.binData.installment)) {
45002
- this.installmentPlan && this.installmentPlan.installment_plans.length > 0 && (this.stateScof.installment = this.installmentPlan.installment_plans[0]), fe.info("submit", {
45002
+ this.installmentPlan && this.installmentPlan.installment_plans.length > 0 && (this.stateScof.installment = this.installmentPlan.installment_plans[0]), ue.info("submit", {
45003
45003
  context: Te.CARD_ON_FILE,
45004
45004
  tag: "CARD_SINGLE_INSTALLMENT",
45005
45005
  is_embedded: this.payfacContext.isEmbedded,
@@ -45016,7 +45016,7 @@ let ws = class extends qe {
45016
45016
  }), this.createEvent("button-pushed", at.SUMMARY);
45017
45017
  return;
45018
45018
  }
45019
- fe.info("submit", {
45019
+ ue.info("submit", {
45020
45020
  context: Te.CARD_ON_FILE,
45021
45021
  tag: "CARD_CREDIT",
45022
45022
  is_embedded: this.payfacContext.isEmbedded,
@@ -45034,7 +45034,7 @@ let ws = class extends qe {
45034
45034
  });
45035
45035
  }
45036
45036
  back() {
45037
- fe.info("back", {
45037
+ ue.info("back", {
45038
45038
  context: Te.CARD_ON_FILE,
45039
45039
  tag: "CARD_BACK",
45040
45040
  origin_sdk: td,
@@ -45262,7 +45262,7 @@ let Ii = class extends qe {
45262
45262
  firstUpdated() {
45263
45263
  var t, e;
45264
45264
  if ((t = this.stateScof.userCardData) != null && t.selected) {
45265
- this.cardSelected = this.stateScof.userCardData.selected, fe.info("firstUpdated", {
45265
+ this.cardSelected = this.stateScof.userCardData.selected, ue.info("firstUpdated", {
45266
45266
  context: Te.CARD_ON_FILE,
45267
45267
  tag: "CARD_LIST",
45268
45268
  is_embedded: this.payfacContext.isEmbedded,
@@ -45274,7 +45274,7 @@ let Ii = class extends qe {
45274
45274
  });
45275
45275
  return;
45276
45276
  }
45277
- (e = this.stateScof.userCardData) != null && e.list && this.stateScof.userCardData.list.length > 0 && (this.cardSelected = this.stateScof.userCardData.list[0], this.stateScof.userCardData.selected = this.cardSelected, fe.info("firstUpdated", {
45277
+ (e = this.stateScof.userCardData) != null && e.list && this.stateScof.userCardData.list.length > 0 && (this.cardSelected = this.stateScof.userCardData.list[0], this.stateScof.userCardData.selected = this.cardSelected, ue.info("firstUpdated", {
45278
45278
  context: Te.CARD_ON_FILE,
45279
45279
  tag: "CARD_LIST",
45280
45280
  is_embedded: this.payfacContext.isEmbedded,
@@ -45315,7 +45315,7 @@ let Ii = class extends qe {
45315
45315
  holder: (r = this.stateScof.statePaymentRequest) == null ? void 0 : r.buyer
45316
45316
  };
45317
45317
  if (this.stateScof.binData = i, Vc(s)) {
45318
- this.stateScof.installment = s.installment_plans[0], this.createEvent("button-pushed", at.SUMMARY), fe.info("submit", {
45318
+ this.stateScof.installment = s.installment_plans[0], this.createEvent("button-pushed", at.SUMMARY), ue.info("submit", {
45319
45319
  context: Te.CARD_ON_FILE,
45320
45320
  tag: "GET_INSTALLMENT_PLAN_SINGLE_INSTALLMENT",
45321
45321
  is_embedded: this.payfacContext.isEmbedded,
@@ -45328,7 +45328,7 @@ let Ii = class extends qe {
45328
45328
  });
45329
45329
  return;
45330
45330
  }
45331
- this.stateScof.userCardData.selected = this.cardSelected, fe.info("submit", {
45331
+ this.stateScof.userCardData.selected = this.cardSelected, ue.info("submit", {
45332
45332
  context: Te.CARD_ON_FILE,
45333
45333
  tag: "GET_INSTALLMENT_PLAN_CREDIT",
45334
45334
  is_embedded: this.payfacContext.isEmbedded,
@@ -45340,7 +45340,7 @@ let Ii = class extends qe {
45340
45340
  }
45341
45341
  }), this.createEvent("button-pushed", at.PLANS);
45342
45342
  } catch (n) {
45343
- nt("INSTALLMENT_PLAN_ERROR", "Installment plan failed."), this.isLoading = !1, this.isClickSubmit = !1, this.stateScof.isAddCardConsent = !1, fe.error(
45343
+ nt("INSTALLMENT_PLAN_ERROR", "Installment plan failed."), this.isLoading = !1, this.isClickSubmit = !1, this.stateScof.isAddCardConsent = !1, ue.error(
45344
45344
  "submit",
45345
45345
  {
45346
45346
  context: Te.CARD_ON_FILE,
@@ -45386,7 +45386,7 @@ let Ii = class extends qe {
45386
45386
  });
45387
45387
  }
45388
45388
  back() {
45389
- fe.info("back", {
45389
+ ue.info("back", {
45390
45390
  context: Te.CARD_ON_FILE,
45391
45391
  tag: "CARD_BACK",
45392
45392
  is_embedded: this.payfacContext.isEmbedded,
@@ -45531,7 +45531,7 @@ let $o = class extends qe {
45531
45531
  }
45532
45532
  firstUpdated(t) {
45533
45533
  var e, r;
45534
- super.firstUpdated(t), fe.info("firstUpdated", {
45534
+ super.firstUpdated(t), ue.info("firstUpdated", {
45535
45535
  context: Te.CARD_ON_FILE,
45536
45536
  tag: "HOLDER_FORM",
45537
45537
  is_embedded: this.payfacContext.isEmbedded,
@@ -45557,7 +45557,7 @@ let $o = class extends qe {
45557
45557
  doc_number: this.holder.doc_number.replace(/\D/g, ""),
45558
45558
  doc_type: this.holder.doc_type
45559
45559
  };
45560
- sessionStorage.setItem("holder", JSON.stringify(e)), this.stateHolderScof = e, fe.info("submit", {
45560
+ sessionStorage.setItem("holder", JSON.stringify(e)), this.stateHolderScof = e, ue.info("submit", {
45561
45561
  context: Te.CARD_ON_FILE,
45562
45562
  tag: "HOLDER_FORM",
45563
45563
  is_embedded: this.payfacContext.isEmbedded,
@@ -45572,7 +45572,7 @@ let $o = class extends qe {
45572
45572
  }
45573
45573
  back() {
45574
45574
  const t = this.hasTokenizedCards ? at.CARD_LIST : at.MAIN;
45575
- fe.info("back", {
45575
+ ue.info("back", {
45576
45576
  context: Te.CARD_ON_FILE,
45577
45577
  tag: "HOLDER_FORM",
45578
45578
  is_embedded: this.payfacContext.isEmbedded,
@@ -45737,7 +45737,7 @@ let Uc = class extends qe {
45737
45737
  return nw(this.stateScof.binData.installment.installment_plans);
45738
45738
  }
45739
45739
  firstUpdated() {
45740
- this.installmentSelected = this.plans[0], fe.info("firstUpdated", {
45740
+ this.installmentSelected = this.plans[0], ue.info("firstUpdated", {
45741
45741
  context: Te.CARD_ON_FILE,
45742
45742
  tag: "PLANS",
45743
45743
  is_embedded: this.payfacContext.isEmbedded,
@@ -45771,7 +45771,7 @@ let Uc = class extends qe {
45771
45771
  back() {
45772
45772
  var t, e;
45773
45773
  if (this.stateScof.userCardData && ((e = (t = this.stateScof.userCardData) == null ? void 0 : t.list) == null ? void 0 : e.length) > 0 && this.stateScof.isAddCardConsent) {
45774
- fe.info("back", {
45774
+ ue.info("back", {
45775
45775
  context: Te.CARD_ON_FILE,
45776
45776
  tag: "PLANS",
45777
45777
  is_embedded: this.payfacContext.isEmbedded,
@@ -45783,7 +45783,7 @@ let Uc = class extends qe {
45783
45783
  }), this.createEvent("button-pushed", at.CARD_LIST);
45784
45784
  return;
45785
45785
  }
45786
- fe.info("back", {
45786
+ ue.info("back", {
45787
45787
  context: Te.CARD_ON_FILE,
45788
45788
  tag: "PLANS",
45789
45789
  is_embedded: this.payfacContext.isEmbedded,
@@ -45795,7 +45795,7 @@ let Uc = class extends qe {
45795
45795
  }), this.createEvent("button-pushed", at.CARD_FORM);
45796
45796
  }
45797
45797
  submit() {
45798
- this.stateScof.installment = this.installmentSelected, fe.info("submit", {
45798
+ this.stateScof.installment = this.installmentSelected, ue.info("submit", {
45799
45799
  context: Te.CARD_ON_FILE,
45800
45800
  tag: "PLANS",
45801
45801
  is_embedded: this.payfacContext.isEmbedded,
@@ -45936,7 +45936,7 @@ let vn = class t extends qe {
45936
45936
  firstUpdated(e) {
45937
45937
  return ce(this, null, function* () {
45938
45938
  var r;
45939
- dr(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.title = this.stateScofStatus.title, this.message = this.stateScofStatus.subtitle, this.image = this.stateScofStatus.icon, this.returnButton = this.stateScofStatus.returnButton || !1, (r = this.stateScof.statePaymentRequest) != null && r.id && fe.info("firstUpdated", {
45939
+ dr(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.title = this.stateScofStatus.title, this.message = this.stateScofStatus.subtitle, this.image = this.stateScofStatus.icon, this.returnButton = this.stateScofStatus.returnButton || !1, (r = this.stateScof.statePaymentRequest) != null && r.id && ue.info("firstUpdated", {
45940
45940
  context: Te.CARD_ON_FILE,
45941
45941
  tag: "STATUS",
45942
45942
  is_embedded: this.payfacContext.isEmbedded,
@@ -45959,7 +45959,7 @@ let vn = class t extends qe {
45959
45959
  var s;
45960
45960
  const { statePaymentRequest: e } = this.stateScof, { status: r } = this.stateScofStatus, n = (s = e == null ? void 0 : e.additional_info) == null ? void 0 : s.callback_url;
45961
45961
  if (this.hasAllowedRetries && !bs(e) || r === "ERROR_TOKEN" || r === "ERROR_GET_PAYMENT") {
45962
- this.retryPayment(), fe.info("handleClick", {
45962
+ this.retryPayment(), ue.info("handleClick", {
45963
45963
  context: Te.CARD_ON_FILE,
45964
45964
  tag: "RETRY_PAYMENT",
45965
45965
  is_embedded: this.payfacContext.isEmbedded,
@@ -45972,7 +45972,7 @@ let vn = class t extends qe {
45972
45972
  return;
45973
45973
  }
45974
45974
  if (n !== "") {
45975
- fe.info("handleClick", {
45975
+ ue.info("handleClick", {
45976
45976
  context: Te.CARD_ON_FILE,
45977
45977
  tag: "REDIRECT_CALLBACK_URL",
45978
45978
  is_embedded: this.payfacContext.isEmbedded,
@@ -46135,7 +46135,7 @@ let ea = class extends qe {
46135
46135
  return qc(this.getHolder.doc_type, this.getHolder.doc_number);
46136
46136
  }
46137
46137
  firstUpdated(t) {
46138
- super.firstUpdated(t), fe.info("firstUpdated", {
46138
+ super.firstUpdated(t), ue.info("firstUpdated", {
46139
46139
  context: Te.CARD_ON_FILE,
46140
46140
  tag: "SUMMARY",
46141
46141
  is_embedded: this.payfacContext.isEmbedded,
@@ -46148,7 +46148,7 @@ let ea = class extends qe {
46148
46148
  back() {
46149
46149
  if (Vc(this.stateScof.binData.installment)) {
46150
46150
  if (this.stateScof.isAddCardConsent) {
46151
- fe.info("back", {
46151
+ ue.info("back", {
46152
46152
  context: Te.CARD_ON_FILE,
46153
46153
  tag: "SUMMARY",
46154
46154
  is_embedded: this.payfacContext.isEmbedded,
@@ -46160,7 +46160,7 @@ let ea = class extends qe {
46160
46160
  }), this.createEvent("button-pushed", at.CARD_LIST);
46161
46161
  return;
46162
46162
  }
46163
- fe.info("back", {
46163
+ ue.info("back", {
46164
46164
  context: Te.CARD_ON_FILE,
46165
46165
  tag: "SUMMARY",
46166
46166
  is_embedded: this.payfacContext.isEmbedded,
@@ -46172,7 +46172,7 @@ let ea = class extends qe {
46172
46172
  }), this.createEvent("button-pushed", at.CARD_FORM);
46173
46173
  return;
46174
46174
  }
46175
- fe.info("back", {
46175
+ ue.info("back", {
46176
46176
  context: Te.CARD_ON_FILE,
46177
46177
  tag: "SUMMARY",
46178
46178
  is_embedded: this.payfacContext.isEmbedded,
@@ -46188,7 +46188,7 @@ let ea = class extends qe {
46188
46188
  }
46189
46189
  submit() {
46190
46190
  var t;
46191
- this.isClickSubmit || (this.isLoading = !0, this.isClickSubmit = !0, this.stateScofStatus.isStart = !0, this.createEvent("button-pushed", at.LOADING), Ut.startPayment(), fe.info("submit", {
46191
+ this.isClickSubmit || (this.isLoading = !0, this.isClickSubmit = !0, this.stateScofStatus.isStart = !0, this.createEvent("button-pushed", at.LOADING), Ut.startPayment(), ue.info("submit", {
46192
46192
  context: Te.CARD_ON_FILE,
46193
46193
  tag: "SUMMARY",
46194
46194
  is_embedded: this.payfacContext.isEmbedded,
@@ -46334,7 +46334,7 @@ class ch extends qe {
46334
46334
  this.createEvent("button-pushed", e);
46335
46335
  }
46336
46336
  deepLinkModo(e) {
46337
- this.startPolling(), fe.info("deepLinkModoClicked", {
46337
+ this.startPolling(), ue.info("deepLinkModoClicked", {
46338
46338
  context: this.payfacContext.context,
46339
46339
  origin_sdk: e,
46340
46340
  tag: "MODO_CLICKED",
@@ -46453,14 +46453,14 @@ let hm = class t extends qe {
46453
46453
  sessionId: this.contextFraudPreventionData.config.sessionId,
46454
46454
  userId: this._payfacContext.paymentRequest.buyer.email
46455
46455
  };
46456
- fe.info("Loading sift fraud prevention tooling", r), rC(r);
46456
+ ue.info("Loading sift fraud prevention tooling", r), rC(r);
46457
46457
  } else {
46458
46458
  const r = {
46459
46459
  merchantId: e.CYBERSOURCE_FRAUD_PREVENTION.MERCHANT_ID,
46460
46460
  orgId: e.CYBERSOURCE_FRAUD_PREVENTION.ORG_ID,
46461
46461
  sessionId: this.contextFraudPreventionData.config.sessionId
46462
46462
  };
46463
- fe.info("Loading cybersource fraud prevention tooling", r);
46463
+ ue.info("Loading cybersource fraud prevention tooling", r);
46464
46464
  const n = nC(r);
46465
46465
  document.head.appendChild(n.script);
46466
46466
  const s = document.querySelector("noscript");
@@ -46478,7 +46478,7 @@ let hm = class t extends qe {
46478
46478
  ip: this.contextFraudPreventionData.config.ip
46479
46479
  }
46480
46480
  })
46481
- ), fe.info("FRAUD OBJECT LOADED", this.contextFraudPreventionData.config);
46481
+ ), ue.info("FRAUD OBJECT LOADED", this.contextFraudPreventionData.config);
46482
46482
  });
46483
46483
  }
46484
46484
  firstUpdated(e) {
@@ -46601,7 +46601,7 @@ let ta = class extends qe {
46601
46601
  const n = (yield Aa(this._statePaymentManualInput.statePaymentRequest)).plans.cards;
46602
46602
  if (n) {
46603
46603
  const s = [...new Set(n.map((i) => i.name))];
46604
- this._statePaymentManualInput.cardsAccepted = s, this._statePaymentManualInput.isCardPresent = !0, fe.info("getInstallments", {
46604
+ this._statePaymentManualInput.cardsAccepted = s, this._statePaymentManualInput.isCardPresent = !0, ue.info("getInstallments", {
46605
46605
  context: Te.DEFAULT,
46606
46606
  origin_sdk: Tg,
46607
46607
  tag: "GET_INSTALLMENT_PLAN_BY_PAYMENT_REQUEST",
@@ -46613,7 +46613,7 @@ let ta = class extends qe {
46613
46613
  });
46614
46614
  }
46615
46615
  } catch (r) {
46616
- fe.error(
46616
+ ue.error(
46617
46617
  "getInstallments",
46618
46618
  {
46619
46619
  context: Te.DEFAULT,
@@ -46675,7 +46675,7 @@ let ta = class extends qe {
46675
46675
  }
46676
46676
  setDurationPayment(t) {
46677
46677
  var e;
46678
- Ut.getStartPaymentTime() && (fe.info("paymentDuration", {
46678
+ Ut.getStartPaymentTime() && (ue.info("paymentDuration", {
46679
46679
  context: Te.DEFAULT,
46680
46680
  origin_sdk: Tg,
46681
46681
  tag: "PAYMENT_DURATION",
@@ -46697,7 +46697,7 @@ let ta = class extends qe {
46697
46697
  const e = yield _i(this._statePaymentManualInput.statePaymentRequest.id);
46698
46698
  this.setDurationPayment(e.response), this._statePaymentManualInput.statePaymentRequest = e.response, this.statusMessage = e.response.status;
46699
46699
  } catch (e) {
46700
- fe.error(
46700
+ ue.error(
46701
46701
  "getPaymentRequestRedirectStatus",
46702
46702
  {
46703
46703
  context: Te.DEFAULT,
@@ -46849,7 +46849,7 @@ const Z6 = (t, e = () => {
46849
46849
  }
46850
46850
  try {
46851
46851
  const u = yield Aa(t, d);
46852
- if (fe.info("getInstallments", {
46852
+ if (ue.info("getInstallments", {
46853
46853
  context: Te.DEFAULT,
46854
46854
  origin_sdk: vx,
46855
46855
  tag: "GET_INSTALLMENT_PLAN_BY_BINES",
@@ -46867,7 +46867,7 @@ const Z6 = (t, e = () => {
46867
46867
  }
46868
46868
  r(u.plans.cards[0]), e(!1), a(!0);
46869
46869
  } catch (u) {
46870
- fe.error(
46870
+ ue.error(
46871
46871
  "getInstallments",
46872
46872
  {
46873
46873
  context: Te.DEFAULT,
@@ -47192,7 +47192,7 @@ let uo = class extends qe {
47192
47192
  const r = [...new Set(e.map((n) => n.name))];
47193
47193
  this._statePaymentManualInput.cardsAccepted = r, this._statePaymentManualInput.isCardPresent = !0;
47194
47194
  }
47195
- fe.info("getInstallmentsData", {
47195
+ ue.info("getInstallmentsData", {
47196
47196
  context: Te.DEFAULT,
47197
47197
  origin_sdk: wx,
47198
47198
  tag: "GET_INSTALLMENT_PLAN_BY_PAYMENT_REQUEST",
@@ -47203,7 +47203,7 @@ let uo = class extends qe {
47203
47203
  }
47204
47204
  });
47205
47205
  } catch (t) {
47206
- fe.error(
47206
+ ue.error(
47207
47207
  "getInstallments",
47208
47208
  {
47209
47209
  context: Te.DEFAULT,
@@ -47541,7 +47541,7 @@ let bn = class t extends qe {
47541
47541
  return ce(this, null, function* () {
47542
47542
  var r, n, s;
47543
47543
  if (dr(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((r = this._statePaymentManualInput.statePaymentRequest) == null ? void 0 : r.payment_type) === Ks.ECOMMERCE ? this._statePaymentManualInput.statePaymentRequest.additional_info.callback_url : "", this.isStatusSuccess) {
47544
- fe.info("firstUpdatedStatus", {
47544
+ ue.info("firstUpdatedStatus", {
47545
47545
  context: Te.DEFAULT,
47546
47546
  origin_sdk: By,
47547
47547
  tag: "STATUS_SUCCESS_PROCESSED",
@@ -47581,7 +47581,7 @@ let bn = class t extends qe {
47581
47581
  }
47582
47582
  retryPayment() {
47583
47583
  var e;
47584
- this.createEvent("button-pushed", Tt.LOADING), fe.info("retryPayment", {
47584
+ this.createEvent("button-pushed", Tt.LOADING), ue.info("retryPayment", {
47585
47585
  context: Te.DEFAULT,
47586
47586
  origin_sdk: By,
47587
47587
  tag: "RETRY_PAYMENT",
@@ -47653,7 +47653,7 @@ let bn = class t extends qe {
47653
47653
  this._statePaymentManualInput.isExtendedWs = !1, this._stateStatus.isStart = !1, this.createEvent("button-pushed", Tt.LOADING);
47654
47654
  return;
47655
47655
  }
47656
- Ut.extendHeartbeat(this._statePaymentManualInput.statePaymentRequest.id), this._statePaymentManualInput.isExtendedWs = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", Tt.LOADING), fe.info("extendHeartBeat", {
47656
+ Ut.extendHeartbeat(this._statePaymentManualInput.statePaymentRequest.id), this._statePaymentManualInput.isExtendedWs = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", Tt.LOADING), ue.info("extendHeartBeat", {
47657
47657
  context: Te.DEFAULT,
47658
47658
  origin_sdk: By,
47659
47659
  tag: "EXTEND_HEART_BEAT",
@@ -47808,7 +47808,7 @@ let pl = class extends qe {
47808
47808
  }
47809
47809
  submit() {
47810
47810
  var t;
47811
- this.isLoading = !0, this._stateStatus.isStart = !0, Ut.startPayment(), Ut.wsIsRunning() && Ut.extendConnectionOnPayment(), this.createEvent("button-pushed", Tt.LOADING), fe.info("submit", {
47811
+ this.isLoading = !0, this._stateStatus.isStart = !0, Ut.startPayment(), Ut.wsIsRunning() && Ut.extendConnectionOnPayment(), this.createEvent("button-pushed", Tt.LOADING), ue.info("submit", {
47812
47812
  context: Te.DEFAULT,
47813
47813
  origin_sdk: s9,
47814
47814
  tag: "PAYMENT_SUBMITTED",
@@ -49435,7 +49435,7 @@ let mm = class extends qe {
49435
49435
  }
49436
49436
  get qrData() {
49437
49437
  var t, e, r, n, s;
49438
- return fe.info("qrOpen", {
49438
+ return ue.info("qrOpen", {
49439
49439
  context: (t = this.payfacContext) == null ? void 0 : t.context,
49440
49440
  origin_sdk: Cx,
49441
49441
  tag: "QR_OPEN",
@@ -49457,7 +49457,7 @@ let mm = class extends qe {
49457
49457
  }
49458
49458
  back() {
49459
49459
  var t, e, r;
49460
- fe.info("qrClose", {
49460
+ ue.info("qrClose", {
49461
49461
  context: (t = this.payfacContext) == null ? void 0 : t.context,
49462
49462
  origin_sdk: Cx,
49463
49463
  tag: "QR_CLOSE",
@@ -49554,7 +49554,7 @@ let po = class t extends qe {
49554
49554
  });
49555
49555
  this._statePaymentManualInput.walletPromotions = cl(s, "wallet"), this._statePaymentManualInput.manualInputPromotions = cl(s, "manual_input");
49556
49556
  } catch (s) {
49557
- nt("PROMOTIONS_ERROR", "Promotions failed."), fe.error(
49557
+ nt("PROMOTIONS_ERROR", "Promotions failed."), ue.error(
49558
49558
  "getPromotionsError",
49559
49559
  {
49560
49560
  context: Te.DEFAULT,
@@ -49609,7 +49609,7 @@ let po = class t extends qe {
49609
49609
  "seconds",
49610
49610
  l,
49611
49611
  "minutes"
49612
- ), fe.info("transparentPayment", {
49612
+ ), ue.info("transparentPayment", {
49613
49613
  context: Te.DEFAULT,
49614
49614
  origin_sdk: Ty,
49615
49615
  tag: "TRANSPARENT_PAYMENT",
@@ -49619,7 +49619,7 @@ let po = class t extends qe {
49619
49619
  }
49620
49620
  });
49621
49621
  } catch (l) {
49622
- fe.error(
49622
+ ue.error(
49623
49623
  "transparentPaymentError",
49624
49624
  {
49625
49625
  context: Te.DEFAULT,
@@ -54274,7 +54274,7 @@ var fr = function(t, e, r, n, s) {
54274
54274
  switch (l.label) {
54275
54275
  case 0:
54276
54276
  n = r.styles.backgroundImage.length - 1, s = function(A) {
54277
- var u, h, p, de, he, _e, Y, Z, M, m, de, he, _e, Y, Z, y, _, b, B, I, L, V, H, q, M, J, de, D, Q, Y, Z, be, he, _e, pe, Be, oe, Ce, S, z, G, ee;
54277
+ var u, h, p, de, ge, _e, Y, Z, M, m, de, ge, _e, Y, Z, y, _, b, B, I, L, V, H, q, M, J, de, D, Q, Y, Z, be, ge, _e, he, Be, oe, Ce, S, z, G, ee;
54278
54278
  return Tn(this, function(re) {
54279
54279
  switch (re.label) {
54280
54280
  case 0:
@@ -54292,15 +54292,15 @@ var fr = function(t, e, r, n, s) {
54292
54292
  u.width,
54293
54293
  u.height,
54294
54294
  u.width / u.height
54295
- ]), de = p[0], he = p[1], _e = p[2], Y = p[3], Z = p[4], M = i.ctx.createPattern(i.resizeImage(u, Y, Z), "repeat"), i.renderRepeat(de, M, he, _e)), [3, 6];
54295
+ ]), de = p[0], ge = p[1], _e = p[2], Y = p[3], Z = p[4], M = i.ctx.createPattern(i.resizeImage(u, Y, Z), "repeat"), i.renderRepeat(de, M, ge, _e)), [3, 6];
54296
54296
  case 5:
54297
- XH(A) ? (m = Xy(r, n, [null, null, null]), de = m[0], he = m[1], _e = m[2], Y = m[3], Z = m[4], y = KH(A.angle, Y, Z), _ = y[0], b = y[1], B = y[2], I = y[3], L = y[4], V = document.createElement("canvas"), V.width = Y, V.height = Z, H = V.getContext("2d"), q = H.createLinearGradient(b, I, B, L), Kx(A.stops, _).forEach(function(Ae) {
54297
+ XH(A) ? (m = Xy(r, n, [null, null, null]), de = m[0], ge = m[1], _e = m[2], Y = m[3], Z = m[4], y = KH(A.angle, Y, Z), _ = y[0], b = y[1], B = y[2], I = y[3], L = y[4], V = document.createElement("canvas"), V.width = Y, V.height = Z, H = V.getContext("2d"), q = H.createLinearGradient(b, I, B, L), Kx(A.stops, _).forEach(function(Ae) {
54298
54298
  return q.addColorStop(Ae.stop, nn(Ae.color));
54299
- }), H.fillStyle = q, H.fillRect(0, 0, Y, Z), Y > 0 && Z > 0 && (M = i.ctx.createPattern(V, "repeat"), i.renderRepeat(de, M, he, _e))) : ZH(A) && (J = Xy(r, n, [
54299
+ }), H.fillStyle = q, H.fillRect(0, 0, Y, Z), Y > 0 && Z > 0 && (M = i.ctx.createPattern(V, "repeat"), i.renderRepeat(de, M, ge, _e))) : ZH(A) && (J = Xy(r, n, [
54300
54300
  null,
54301
54301
  null,
54302
54302
  null
54303
- ]), de = J[0], D = J[1], Q = J[2], Y = J[3], Z = J[4], be = A.position.length === 0 ? [mw] : A.position, he = Ar(be[0], Y), _e = Ar(be[be.length - 1], Z), pe = GH(A, he, _e, Y, Z), Be = pe[0], oe = pe[1], Be > 0 && oe > 0 && (Ce = i.ctx.createRadialGradient(D + he, Q + _e, 0, D + he, Q + _e, Be), Kx(A.stops, Be * 2).forEach(function(Ae) {
54303
+ ]), de = J[0], D = J[1], Q = J[2], Y = J[3], Z = J[4], be = A.position.length === 0 ? [mw] : A.position, ge = Ar(be[0], Y), _e = Ar(be[be.length - 1], Z), he = GH(A, ge, _e, Y, Z), Be = he[0], oe = he[1], Be > 0 && oe > 0 && (Ce = i.ctx.createRadialGradient(D + ge, Q + _e, 0, D + ge, Q + _e, Be), Kx(A.stops, Be * 2).forEach(function(Ae) {
54304
54304
  return Ce.addColorStop(Ae.stop, nn(Ae.color));
54305
54305
  }), i.path(de), i.ctx.fillStyle = Ce, Be !== oe ? (S = r.bounds.left + 0.5 * r.bounds.width, z = r.bounds.top + 0.5 * r.bounds.height, G = oe / Be, ee = 1 / G, i.ctx.save(), i.ctx.translate(S, z), i.ctx.transform(1, 0, 0, G, 0, 0), i.ctx.translate(-S, -z), i.ctx.fillRect(D, ee * (Q - z) + z, Y, Z * ee), i.ctx.restore()) : i.ctx.fill())), re.label = 6;
54306
54306
  case 6:
@@ -54540,7 +54540,7 @@ var fr = function(t, e, r, n, s) {
54540
54540
  typeof window != "undefined" && hE.setContext(window);
54541
54541
  var wG = function(t, e) {
54542
54542
  return Hn(void 0, void 0, void 0, function() {
54543
- var r, n, s, i, o, a, d, l, A, u, h, p, m, y, _, b, B, I, L, V, q, H, q, M, J, de, D, Q, Y, Z, be, he, _e, pe, Be, oe, Ce, S, z, G;
54543
+ var r, n, s, i, o, a, d, l, A, u, h, p, m, y, _, b, B, I, L, V, q, H, q, M, J, de, D, Q, Y, Z, be, ge, _e, he, Be, oe, Ce, S, z, G;
54544
54544
  return Tn(this, function(ee) {
54545
54545
  switch (ee.label) {
54546
54546
  case 0:
@@ -54560,7 +54560,7 @@ var wG = function(t, e) {
54560
54560
  windowHeight: (Y = e.windowHeight) !== null && Y !== void 0 ? Y : n.innerHeight,
54561
54561
  scrollX: (Z = e.scrollX) !== null && Z !== void 0 ? Z : n.pageXOffset,
54562
54562
  scrollY: (be = e.scrollY) !== null && be !== void 0 ? be : n.pageYOffset
54563
- }, a = new ra(o.scrollX, o.scrollY, o.windowWidth, o.windowHeight), d = new bG(i, a), l = (he = e.foreignObjectRendering) !== null && he !== void 0 ? he : !1, A = {
54563
+ }, a = new ra(o.scrollX, o.scrollY, o.windowWidth, o.windowHeight), d = new bG(i, a), l = (ge = e.foreignObjectRendering) !== null && ge !== void 0 ? ge : !1, A = {
54564
54564
  allowTaint: (_e = e.allowTaint) !== null && _e !== void 0 ? _e : !1,
54565
54565
  onclone: e.onclone,
54566
54566
  ignoreElements: e.ignoreElements,
@@ -54571,7 +54571,7 @@ var wG = function(t, e) {
54571
54571
  return p = ee.sent(), m = _w(h) || xK(h) ? $9(h.ownerDocument) : k0(d, h), y = m.width, _ = m.height, b = m.left, B = m.top, I = _G(d, h, e.backgroundColor), L = {
54572
54572
  canvas: e.canvas,
54573
54573
  backgroundColor: I,
54574
- scale: (Be = (pe = e.scale) !== null && pe !== void 0 ? pe : n.devicePixelRatio) !== null && Be !== void 0 ? Be : 1,
54574
+ scale: (Be = (he = e.scale) !== null && he !== void 0 ? he : n.devicePixelRatio) !== null && Be !== void 0 ? Be : 1,
54575
54575
  x: ((oe = e.x) !== null && oe !== void 0 ? oe : 0) + b,
54576
54576
  y: ((Ce = e.y) !== null && Ce !== void 0 ? Ce : 0) + B,
54577
54577
  width: (S = e.width) !== null && S !== void 0 ? S : Math.ceil(y),
@@ -54785,13 +54785,13 @@ var CG = /* @__PURE__ */ oo(gl, 9, 0), EG = /* @__PURE__ */ oo(gl, 9, 1), kG = /
54785
54785
  if (I < 16)
54786
54786
  J[D++] = I;
54787
54787
  else {
54788
- var he = 0, _e = 0;
54789
- for (I == 16 ? (_e = 3 + ci(t, u, 3), u += 2, he = J[D - 1]) : I == 17 ? (_e = 3 + ci(t, u, 7), u += 3) : I == 18 && (_e = 11 + ci(t, u, 127), u += 7); _e--; )
54790
- J[D++] = he;
54788
+ var ge = 0, _e = 0;
54789
+ for (I == 16 ? (_e = 3 + ci(t, u, 3), u += 2, ge = J[D - 1]) : I == 17 ? (_e = 3 + ci(t, u, 7), u += 3) : I == 18 && (_e = 11 + ci(t, u, 127), u += 7); _e--; )
54790
+ J[D++] = ge;
54791
54791
  }
54792
54792
  }
54793
- var pe = J.subarray(0, H), Be = J.subarray(H);
54794
- y = Zy(pe), _ = Zy(Be), p = oo(pe, y, 1), m = oo(Be, _, 1);
54793
+ var he = J.subarray(0, H), Be = J.subarray(H);
54794
+ y = Zy(he), _ = Zy(Be), p = oo(he, y, 1), m = oo(Be, _, 1);
54795
54795
  } else
54796
54796
  gi(1);
54797
54797
  else {
@@ -54810,12 +54810,12 @@ var CG = /* @__PURE__ */ oo(gl, 9, 0), EG = /* @__PURE__ */ oo(gl, 9, 1), kG = /
54810
54810
  }
54811
54811
  a && l(h + 131072);
54812
54812
  for (var oe = (1 << y) - 1, Ce = (1 << _) - 1, S = u; ; S = u) {
54813
- var he = p[$y(t, u) & oe], z = he >> 4;
54814
- if (u += he & 15, u > b) {
54813
+ var ge = p[$y(t, u) & oe], z = ge >> 4;
54814
+ if (u += ge & 15, u > b) {
54815
54815
  d && gi(0);
54816
54816
  break;
54817
54817
  }
54818
- if (he || gi(2), z < 256)
54818
+ if (ge || gi(2), z < 256)
54819
54819
  r[h++] = z;
54820
54820
  else if (z == 256) {
54821
54821
  S = u, p = null;
@@ -54946,9 +54946,9 @@ var CG = /* @__PURE__ */ oo(gl, 9, 0), EG = /* @__PURE__ */ oo(gl, 9, 1), kG = /
54946
54946
  var Y = l + 5 << 3, Z = ep(s, gl) + ep(i, Vp) + o, be = ep(s, h) + ep(i, y) + o + 14 + 3 * Q + ep(q, de) + 2 * q[16] + 3 * q[17] + 7 * q[18];
54947
54947
  if (d >= 0 && Y <= Z && Y <= be)
54948
54948
  return EE(e, A, t.subarray(d, d + l));
54949
- var he, _e, pe, Be;
54949
+ var ge, _e, he, Be;
54950
54950
  if (Qo(e, A, 1 + (be < Z)), A += 2, be < Z) {
54951
- he = oo(h, p, 0), _e = h, pe = oo(y, _, 0), Be = y;
54951
+ ge = oo(h, p, 0), _e = h, he = oo(y, _, 0), Be = y;
54952
54952
  var oe = oo(de, D, 0);
54953
54953
  Qo(e, A, I - 257), Qo(e, A + 5, H - 1), Qo(e, A + 10, Q - 4), A += 14;
54954
54954
  for (var M = 0; M < Q; ++M)
@@ -54960,18 +54960,18 @@ var CG = /* @__PURE__ */ oo(gl, 9, 0), EG = /* @__PURE__ */ oo(gl, 9, 1), kG = /
54960
54960
  Qo(e, A, oe[G]), A += de[G], G > 15 && (Qo(e, A, z[M] >> 5 & 127), A += z[M] >> 12);
54961
54961
  }
54962
54962
  } else
54963
- he = CG, _e = gl, pe = kG, Be = Vp;
54963
+ ge = CG, _e = gl, he = kG, Be = Vp;
54964
54964
  for (var M = 0; M < a; ++M) {
54965
54965
  var ee = n[M];
54966
54966
  if (ee > 255) {
54967
54967
  var G = ee >> 18 & 31;
54968
- $u(e, A, he[G + 257]), A += _e[G + 257], G > 7 && (Qo(e, A, ee >> 23 & 31), A += N0[G]);
54968
+ $u(e, A, ge[G + 257]), A += _e[G + 257], G > 7 && (Qo(e, A, ee >> 23 & 31), A += N0[G]);
54969
54969
  var re = ee & 31;
54970
- $u(e, A, pe[re]), A += Be[re], re > 3 && ($u(e, A, ee >> 5 & 8191), A += L0[re]);
54970
+ $u(e, A, he[re]), A += Be[re], re > 3 && ($u(e, A, ee >> 5 & 8191), A += L0[re]);
54971
54971
  } else
54972
- $u(e, A, he[ee]), A += _e[ee];
54972
+ $u(e, A, ge[ee]), A += _e[ee];
54973
54973
  }
54974
- return $u(e, A, he[256]), A + _e[256];
54974
+ return $u(e, A, ge[256]), A + _e[256];
54975
54975
  }, UG = /* @__PURE__ */ new xw([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), kE = /* @__PURE__ */ new Pn(0), jG = function(t, e, r, n, s, i) {
54976
54976
  var o = i.z || t.length, a = new Pn(n + o + 5 * (1 + Math.ceil(o / 7e3)) + s), d = a.subarray(n, a.length - s), l = i.l, A = (i.r || 0) & 7;
54977
54977
  if (e) {
@@ -54981,22 +54981,22 @@ var CG = /* @__PURE__ */ oo(gl, 9, 0), EG = /* @__PURE__ */ oo(gl, 9, 1), kG = /
54981
54981
  }, L = new xw(25e3), V = new ms(288), H = new ms(32), q = 0, M = 0, J = i.i || 0, de = 0, D = i.w || 0, Q = 0; J + 2 < o; ++J) {
54982
54982
  var Y = I(J), Z = J & 32767, be = _[Y];
54983
54983
  if (y[Z] = be, _[Y] = Z, D <= J) {
54984
- var he = o - J;
54985
- if ((q > 7e3 || de > 24576) && (he > 423 || !l)) {
54984
+ var ge = o - J;
54985
+ if ((q > 7e3 || de > 24576) && (ge > 423 || !l)) {
54986
54986
  A = k3(t, d, 0, L, V, H, M, de, Q, J - Q, A), de = q = M = 0, Q = J;
54987
54987
  for (var _e = 0; _e < 286; ++_e)
54988
54988
  V[_e] = 0;
54989
54989
  for (var _e = 0; _e < 30; ++_e)
54990
54990
  H[_e] = 0;
54991
54991
  }
54992
- var pe = 2, Be = 0, oe = p, Ce = Z - be & 32767;
54993
- if (he > 2 && Y == I(J - Ce))
54994
- for (var S = Math.min(h, he) - 1, z = Math.min(32767, J), G = Math.min(258, he); Ce <= z && --oe && Z != be; ) {
54995
- if (t[J + pe] == t[J + pe - Ce]) {
54992
+ var he = 2, Be = 0, oe = p, Ce = Z - be & 32767;
54993
+ if (ge > 2 && Y == I(J - Ce))
54994
+ for (var S = Math.min(h, ge) - 1, z = Math.min(32767, J), G = Math.min(258, ge); Ce <= z && --oe && Z != be; ) {
54995
+ if (t[J + he] == t[J + he - Ce]) {
54996
54996
  for (var ee = 0; ee < G && t[J + ee] == t[J + ee - Ce]; ++ee)
54997
54997
  ;
54998
- if (ee > pe) {
54999
- if (pe = ee, Be = Ce, ee > S)
54998
+ if (ee > he) {
54999
+ if (he = ee, Be = Ce, ee > S)
55000
55000
  break;
55001
55001
  for (var re = Math.min(Ce, ee - 2), Ae = 0, _e = 0; _e < re; ++_e) {
55002
55002
  var ve = J - Ce + _e & 32767, we = y[ve], Qe = ve - we & 32767;
@@ -55007,9 +55007,9 @@ var CG = /* @__PURE__ */ oo(gl, 9, 0), EG = /* @__PURE__ */ oo(gl, 9, 1), kG = /
55007
55007
  Z = be, be = y[Z], Ce += Z - be & 32767;
55008
55008
  }
55009
55009
  if (Be) {
55010
- L[de++] = 268435456 | Lb[pe] << 18 | C3[Be];
55011
- var De = Lb[pe] & 31, Me = C3[Be] & 31;
55012
- M += N0[De] + L0[Me], ++V[257 + De], ++H[Me], D = J + pe, ++q;
55010
+ L[de++] = 268435456 | Lb[he] << 18 | C3[Be];
55011
+ var De = Lb[he] & 31, Me = C3[Be] & 31;
55012
+ M += N0[De] + L0[Me], ++V[257 + De], ++H[Me], D = J + he, ++q;
55013
55013
  } else
55014
55014
  L[de++] = t[J], ++V[t[J]];
55015
55015
  }
@@ -55489,24 +55489,24 @@ function gt(t) {
55489
55489
  p.__private__.setPrecision = p.setPrecision = function(f) {
55490
55490
  typeof parseInt(f, 10) == "number" && (e = parseInt(f, 10));
55491
55491
  };
55492
- var be, he = "00000000000000000000000000000000", _e = p.__private__.getFileId = function() {
55493
- return he;
55494
- }, pe = p.__private__.setFileId = function(f) {
55495
- return he = f !== void 0 && /^[a-fA-F0-9]{32}$/.test(f) ? f.toUpperCase() : he.split("").map(function() {
55492
+ var be, ge = "00000000000000000000000000000000", _e = p.__private__.getFileId = function() {
55493
+ return ge;
55494
+ }, he = p.__private__.setFileId = function(f) {
55495
+ return ge = f !== void 0 && /^[a-fA-F0-9]{32}$/.test(f) ? f.toUpperCase() : ge.split("").map(function() {
55496
55496
  return "ABCDEF0123456789".charAt(Math.floor(16 * Math.random()));
55497
- }).join(""), A !== null && (_n = new nc(A.userPermissions, A.userPassword, A.ownerPassword, he)), he;
55497
+ }).join(""), A !== null && (_n = new nc(A.userPermissions, A.userPassword, A.ownerPassword, ge)), ge;
55498
55498
  };
55499
55499
  p.setFileId = function(f) {
55500
- return pe(f), this;
55500
+ return he(f), this;
55501
55501
  }, p.getFileId = function() {
55502
55502
  return _e();
55503
55503
  };
55504
55504
  var Be = p.__private__.convertDateToPDFDate = function(f) {
55505
- var k = f.getTimezoneOffset(), W = k < 0 ? "+" : "-", te = Math.floor(Math.abs(k / 60)), ue = Math.abs(k % 60), Ie = [W, G(te), "'", G(ue), "'"].join("");
55505
+ var k = f.getTimezoneOffset(), W = k < 0 ? "+" : "-", te = Math.floor(Math.abs(k / 60)), pe = Math.abs(k % 60), Ie = [W, G(te), "'", G(pe), "'"].join("");
55506
55506
  return ["D:", f.getFullYear(), G(f.getMonth() + 1), G(f.getDate()), G(f.getHours()), G(f.getMinutes()), G(f.getSeconds()), Ie].join("");
55507
55507
  }, oe = p.__private__.convertPDFDateToDate = function(f) {
55508
- var k = parseInt(f.substr(2, 4), 10), W = parseInt(f.substr(6, 2), 10) - 1, te = parseInt(f.substr(8, 2), 10), ue = parseInt(f.substr(10, 2), 10), Ie = parseInt(f.substr(12, 2), 10), Le = parseInt(f.substr(14, 2), 10);
55509
- return new Date(k, W, te, ue, Ie, Le, 0);
55508
+ var k = parseInt(f.substr(2, 4), 10), W = parseInt(f.substr(6, 2), 10) - 1, te = parseInt(f.substr(8, 2), 10), pe = parseInt(f.substr(10, 2), 10), Ie = parseInt(f.substr(12, 2), 10), Le = parseInt(f.substr(14, 2), 10);
55509
+ return new Date(k, W, te, pe, Ie, Le, 0);
55510
55510
  }, Ce = p.__private__.setCreationDate = function(f) {
55511
55511
  var k;
55512
55512
  if (f === void 0 && (f = /* @__PURE__ */ new Date()), f instanceof Date)
@@ -55560,11 +55560,11 @@ function gt(t) {
55560
55560
  };
55561
55561
  var N, $ = p.__private__.getFontSize = p.getFontSize = function() {
55562
55562
  return I === B.COMPAT ? x : x * Ye;
55563
- }, ge = t.R2L || !1;
55563
+ }, fe = t.R2L || !1;
55564
55564
  p.__private__.setR2L = p.setR2L = function(f) {
55565
- return ge = f, this;
55565
+ return fe = f, this;
55566
55566
  }, p.__private__.getR2L = p.getR2L = function() {
55567
- return ge;
55567
+ return fe;
55568
55568
  };
55569
55569
  var xe, We = p.__private__.setZoomMode = function(f) {
55570
55570
  var k = [void 0, null, "fullwidth", "fullheight", "fullpage", "original"];
@@ -55614,10 +55614,10 @@ function gt(t) {
55614
55614
  throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
55615
55615
  return et[f] = k;
55616
55616
  };
55617
- var Ct, Ye, Wr, Qt, Zs, rr = {}, gr = {}, Hi = [], Kt = {}, Rl = {}, vr = {}, $s = {}, Eo = null, br = 0, wt = [], Gt = new U3(p), Ol = t.hotfixes || [], dn = {}, qi = {}, Vi = [], ft = function f(k, W, te, ue, Ie, Le) {
55617
+ var Ct, Ye, Wr, Qt, Zs, rr = {}, gr = {}, Hi = [], Kt = {}, Rl = {}, vr = {}, $s = {}, Eo = null, br = 0, wt = [], Gt = new U3(p), Ol = t.hotfixes || [], dn = {}, qi = {}, Vi = [], ft = function f(k, W, te, pe, Ie, Le) {
55618
55618
  if (!(this instanceof f))
55619
- return new f(k, W, te, ue, Ie, Le);
55620
- isNaN(k) && (k = 1), isNaN(W) && (W = 0), isNaN(te) && (te = 0), isNaN(ue) && (ue = 1), isNaN(Ie) && (Ie = 0), isNaN(Le) && (Le = 0), this._matrix = [k, W, te, ue, Ie, Le];
55619
+ return new f(k, W, te, pe, Ie, Le);
55620
+ isNaN(k) && (k = 1), isNaN(W) && (W = 0), isNaN(te) && (te = 0), isNaN(pe) && (pe = 1), isNaN(Ie) && (Ie = 0), isNaN(Le) && (Le = 0), this._matrix = [k, W, te, pe, Ie, Le];
55621
55621
  };
55622
55622
  Object.defineProperty(ft.prototype, "sx", { get: function() {
55623
55623
  return this._matrix[0];
@@ -55678,18 +55678,18 @@ function gt(t) {
55678
55678
  } }), ft.prototype.join = function(f) {
55679
55679
  return [this.sx, this.shy, this.shx, this.sy, this.tx, this.ty].map(q).join(f);
55680
55680
  }, ft.prototype.multiply = function(f) {
55681
- var k = f.sx * this.sx + f.shy * this.shx, W = f.sx * this.shy + f.shy * this.sy, te = f.shx * this.sx + f.sy * this.shx, ue = f.shx * this.shy + f.sy * this.sy, Ie = f.tx * this.sx + f.ty * this.shx + this.tx, Le = f.tx * this.shy + f.ty * this.sy + this.ty;
55682
- return new ft(k, W, te, ue, Ie, Le);
55681
+ var k = f.sx * this.sx + f.shy * this.shx, W = f.sx * this.shy + f.shy * this.sy, te = f.shx * this.sx + f.sy * this.shx, pe = f.shx * this.shy + f.sy * this.sy, Ie = f.tx * this.sx + f.ty * this.shx + this.tx, Le = f.tx * this.shy + f.ty * this.sy + this.ty;
55682
+ return new ft(k, W, te, pe, Ie, Le);
55683
55683
  }, ft.prototype.decompose = function() {
55684
- var f = this.sx, k = this.shy, W = this.shx, te = this.sy, ue = this.tx, Ie = this.ty, Le = Math.sqrt(f * f + k * k), $e = (f /= Le) * W + (k /= Le) * te;
55684
+ var f = this.sx, k = this.shy, W = this.shx, te = this.sy, pe = this.tx, Ie = this.ty, Le = Math.sqrt(f * f + k * k), $e = (f /= Le) * W + (k /= Le) * te;
55685
55685
  W -= f * $e, te -= k * $e;
55686
55686
  var ut = Math.sqrt(W * W + te * te);
55687
- return $e /= ut, f * (te /= ut) < k * (W /= ut) && (f = -f, k = -k, $e = -$e, Le = -Le), { scale: new ft(Le, 0, 0, ut, 0, 0), translate: new ft(1, 0, 0, 1, ue, Ie), rotate: new ft(f, k, -k, f, 0, 0), skew: new ft(1, 0, $e, 1, 0, 0) };
55687
+ return $e /= ut, f * (te /= ut) < k * (W /= ut) && (f = -f, k = -k, $e = -$e, Le = -Le), { scale: new ft(Le, 0, 0, ut, 0, 0), translate: new ft(1, 0, 0, 1, pe, Ie), rotate: new ft(f, k, -k, f, 0, 0), skew: new ft(1, 0, $e, 1, 0, 0) };
55688
55688
  }, ft.prototype.toString = function(f) {
55689
55689
  return this.join(" ");
55690
55690
  }, ft.prototype.inversed = function() {
55691
- var f = this.sx, k = this.shy, W = this.shx, te = this.sy, ue = this.tx, Ie = this.ty, Le = 1 / (f * te - k * W), $e = te * Le, ut = -k * Le, Bt = -W * Le, _t = f * Le;
55692
- return new ft($e, ut, Bt, _t, -$e * ue - Bt * Ie, -ut * ue - _t * Ie);
55691
+ var f = this.sx, k = this.shy, W = this.shx, te = this.sy, pe = this.tx, Ie = this.ty, Le = 1 / (f * te - k * W), $e = te * Le, ut = -k * Le, Bt = -W * Le, _t = f * Le;
55692
+ return new ft($e, ut, Bt, _t, -$e * pe - Bt * Ie, -ut * pe - _t * Ie);
55693
55693
  }, ft.prototype.applyToPoint = function(f) {
55694
55694
  var k = f.x * this.sx + f.y * this.shx + this.tx, W = f.x * this.shy + f.y * this.sy + this.ty;
55695
55695
  return new vA(k, W);
@@ -55697,8 +55697,8 @@ function gt(t) {
55697
55697
  var k = this.applyToPoint(f), W = this.applyToPoint(new vA(f.x + f.w, f.y + f.h));
55698
55698
  return new yu(k.x, k.y, W.x - k.x, W.y - k.y);
55699
55699
  }, ft.prototype.clone = function() {
55700
- var f = this.sx, k = this.shy, W = this.shx, te = this.sy, ue = this.tx, Ie = this.ty;
55701
- return new ft(f, k, W, te, ue, Ie);
55700
+ var f = this.sx, k = this.shy, W = this.shx, te = this.sy, pe = this.tx, Ie = this.ty;
55701
+ return new ft(f, k, W, te, pe, Ie);
55702
55702
  }, p.Matrix = ft;
55703
55703
  var ei = p.matrixMult = function(f, k) {
55704
55704
  return k.multiply(f);
@@ -55738,13 +55738,13 @@ function gt(t) {
55738
55738
  var W = parseFloat(k[0]);
55739
55739
  k = [W, W, W, "r"];
55740
55740
  }
55741
- for (var te = "#", ue = 0; ue < 3; ue++)
55742
- te += ("0" + Math.floor(255 * parseFloat(k[ue])).toString(16)).slice(-2);
55741
+ for (var te = "#", pe = 0; pe < 3; pe++)
55742
+ te += ("0" + Math.floor(255 * parseFloat(k[pe])).toString(16)).slice(-2);
55743
55743
  return te;
55744
55744
  }, ni = p.__private__.encodeColorString = function(f) {
55745
55745
  var k;
55746
55746
  typeof f == "string" && (f = { ch1: f });
55747
- var W = f.ch1, te = f.ch2, ue = f.ch3, Ie = f.ch4, Le = f.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
55747
+ var W = f.ch1, te = f.ch2, pe = f.ch3, Ie = f.ch4, Le = f.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
55748
55748
  if (typeof W == "string" && W.charAt(0) !== "#") {
55749
55749
  var $e = new TE(W);
55750
55750
  if ($e.ok)
@@ -55754,9 +55754,9 @@ function gt(t) {
55754
55754
  }
55755
55755
  if (typeof W == "string" && /^#[0-9A-Fa-f]{3}$/.test(W) && (W = "#" + W[1] + W[1] + W[2] + W[2] + W[3] + W[3]), typeof W == "string" && /^#[0-9A-Fa-f]{6}$/.test(W)) {
55756
55756
  var ut = parseInt(W.substr(1), 16);
55757
- W = ut >> 16 & 255, te = ut >> 8 & 255, ue = 255 & ut;
55757
+ W = ut >> 16 & 255, te = ut >> 8 & 255, pe = 255 & ut;
55758
55758
  }
55759
- if (te === void 0 || Ie === void 0 && W === te && te === ue)
55759
+ if (te === void 0 || Ie === void 0 && W === te && te === pe)
55760
55760
  if (typeof W == "string")
55761
55761
  k = W + " " + Le[0];
55762
55762
  else
@@ -55772,32 +55772,32 @@ function gt(t) {
55772
55772
  if (Ie && !isNaN(Ie.a) && Ie.a === 0)
55773
55773
  return k = ["1.", "1.", "1.", Le[1]].join(" ");
55774
55774
  if (typeof W == "string")
55775
- k = [W, te, ue, Le[1]].join(" ");
55775
+ k = [W, te, pe, Le[1]].join(" ");
55776
55776
  else
55777
55777
  switch (f.precision) {
55778
55778
  case 2:
55779
- k = [de(W / 255), de(te / 255), de(ue / 255), Le[1]].join(" ");
55779
+ k = [de(W / 255), de(te / 255), de(pe / 255), Le[1]].join(" ");
55780
55780
  break;
55781
55781
  default:
55782
55782
  case 3:
55783
- k = [D(W / 255), D(te / 255), D(ue / 255), Le[1]].join(" ");
55783
+ k = [D(W / 255), D(te / 255), D(pe / 255), Le[1]].join(" ");
55784
55784
  }
55785
55785
  } else if (typeof W == "string")
55786
- k = [W, te, ue, Ie, Le[2]].join(" ");
55786
+ k = [W, te, pe, Ie, Le[2]].join(" ");
55787
55787
  else
55788
55788
  switch (f.precision) {
55789
55789
  case 2:
55790
- k = [de(W), de(te), de(ue), de(Ie), Le[2]].join(" ");
55790
+ k = [de(W), de(te), de(pe), de(Ie), Le[2]].join(" ");
55791
55791
  break;
55792
55792
  case 3:
55793
55793
  default:
55794
- k = [D(W), D(te), D(ue), D(Ie), Le[2]].join(" ");
55794
+ k = [D(W), D(te), D(pe), D(Ie), Le[2]].join(" ");
55795
55795
  }
55796
55796
  return k;
55797
55797
  }, Gi = p.__private__.getFilters = function() {
55798
55798
  return o;
55799
55799
  }, Is = p.__private__.putStream = function(f) {
55800
- var k = (f = f || {}).data || "", W = f.filters || Gi(), te = f.alreadyAppliedFilters || [], ue = f.addLength1 || !1, Ie = k.length, Le = f.objectId, $e = function(xn) {
55800
+ var k = (f = f || {}).data || "", W = f.filters || Gi(), te = f.alreadyAppliedFilters || [], pe = f.addLength1 || !1, Ie = k.length, Le = f.objectId, $e = function(xn) {
55801
55801
  return xn;
55802
55802
  };
55803
55803
  if (A !== null && Le === void 0)
@@ -55806,7 +55806,7 @@ function gt(t) {
55806
55806
  var ut = {};
55807
55807
  W === !0 && (W = ["FlateEncode"]);
55808
55808
  var Bt = f.additionalKeyValues || [], _t = (ut = gt.API.processDataByFilters !== void 0 ? gt.API.processDataByFilters(k, W) : { data: k, reverseChain: [] }).reverseChain + (Array.isArray(te) ? te.join(" ") : te.toString());
55809
- if (ut.data.length !== 0 && (Bt.push({ key: "Length", value: ut.data.length }), ue === !0 && Bt.push({ key: "Length1", value: Ie })), _t.length != 0)
55809
+ if (ut.data.length !== 0 && (Bt.push({ key: "Length", value: ut.data.length }), pe === !0 && Bt.push({ key: "Length1", value: Ie })), _t.length != 0)
55810
55810
  if (_t.split("/").length - 1 == 1)
55811
55811
  Bt.push({ key: "Filter", value: _t });
55812
55812
  else {
@@ -55823,12 +55823,12 @@ function gt(t) {
55823
55823
  X("/" + Bt[Lr].key + " " + Bt[Lr].value);
55824
55824
  X(">>"), ut.data.length !== 0 && (X("stream"), X($e(ut.data)), X("endstream"));
55825
55825
  }, Wi = p.__private__.putPage = function(f) {
55826
- var k = f.number, W = f.data, te = f.objId, ue = f.contentsObjId;
55827
- As(te, !0), X("<</Type /Page"), X("/Parent " + f.rootDictionaryObjId + " 0 R"), X("/Resources " + f.resourceDictionaryObjId + " 0 R"), X("/MediaBox [" + parseFloat(q(f.mediaBox.bottomLeftX)) + " " + parseFloat(q(f.mediaBox.bottomLeftY)) + " " + q(f.mediaBox.topRightX) + " " + q(f.mediaBox.topRightY) + "]"), f.cropBox !== null && X("/CropBox [" + q(f.cropBox.bottomLeftX) + " " + q(f.cropBox.bottomLeftY) + " " + q(f.cropBox.topRightX) + " " + q(f.cropBox.topRightY) + "]"), f.bleedBox !== null && X("/BleedBox [" + q(f.bleedBox.bottomLeftX) + " " + q(f.bleedBox.bottomLeftY) + " " + q(f.bleedBox.topRightX) + " " + q(f.bleedBox.topRightY) + "]"), f.trimBox !== null && X("/TrimBox [" + q(f.trimBox.bottomLeftX) + " " + q(f.trimBox.bottomLeftY) + " " + q(f.trimBox.topRightX) + " " + q(f.trimBox.topRightY) + "]"), f.artBox !== null && X("/ArtBox [" + q(f.artBox.bottomLeftX) + " " + q(f.artBox.bottomLeftY) + " " + q(f.artBox.topRightX) + " " + q(f.artBox.topRightY) + "]"), typeof f.userUnit == "number" && f.userUnit !== 1 && X("/UserUnit " + f.userUnit), Gt.publish("putPage", { objId: te, pageContext: wt[k], pageNumber: k, page: W }), X("/Contents " + ue + " 0 R"), X(">>"), X("endobj");
55826
+ var k = f.number, W = f.data, te = f.objId, pe = f.contentsObjId;
55827
+ As(te, !0), X("<</Type /Page"), X("/Parent " + f.rootDictionaryObjId + " 0 R"), X("/Resources " + f.resourceDictionaryObjId + " 0 R"), X("/MediaBox [" + parseFloat(q(f.mediaBox.bottomLeftX)) + " " + parseFloat(q(f.mediaBox.bottomLeftY)) + " " + q(f.mediaBox.topRightX) + " " + q(f.mediaBox.topRightY) + "]"), f.cropBox !== null && X("/CropBox [" + q(f.cropBox.bottomLeftX) + " " + q(f.cropBox.bottomLeftY) + " " + q(f.cropBox.topRightX) + " " + q(f.cropBox.topRightY) + "]"), f.bleedBox !== null && X("/BleedBox [" + q(f.bleedBox.bottomLeftX) + " " + q(f.bleedBox.bottomLeftY) + " " + q(f.bleedBox.topRightX) + " " + q(f.bleedBox.topRightY) + "]"), f.trimBox !== null && X("/TrimBox [" + q(f.trimBox.bottomLeftX) + " " + q(f.trimBox.bottomLeftY) + " " + q(f.trimBox.topRightX) + " " + q(f.trimBox.topRightY) + "]"), f.artBox !== null && X("/ArtBox [" + q(f.artBox.bottomLeftX) + " " + q(f.artBox.bottomLeftY) + " " + q(f.artBox.topRightX) + " " + q(f.artBox.topRightY) + "]"), typeof f.userUnit == "number" && f.userUnit !== 1 && X("/UserUnit " + f.userUnit), Gt.publish("putPage", { objId: te, pageContext: wt[k], pageNumber: k, page: W }), X("/Contents " + pe + " 0 R"), X(">>"), X("endobj");
55828
55828
  var Ie = W.join(`
55829
55829
  `);
55830
55830
  return I === B.ADVANCED && (Ie += `
55831
- Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
55831
+ Q`), As(pe, !0), Is({ data: Ie, filters: Gi(), objectId: pe }), X("endobj"), te;
55832
55832
  }, Nl = p.__private__.putPages = function() {
55833
55833
  var f, k, W = [];
55834
55834
  for (f = 1; f <= br; f++)
@@ -55856,8 +55856,8 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
55856
55856
  for (var f in dn)
55857
55857
  dn.hasOwnProperty(f) && dA(dn[f]);
55858
55858
  }, vh = function(f, k) {
55859
- var W, te = [], ue = 1 / (k - 1);
55860
- for (W = 0; W < 1; W += ue)
55859
+ var W, te = [], pe = 1 / (k - 1);
55860
+ for (W = 0; W < 1; W += pe)
55861
55861
  te.push(W);
55862
55862
  if (te.push(1), f[0].offset != 0) {
55863
55863
  var Ie = { offset: 0, color: f[0].color };
@@ -55876,15 +55876,15 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
55876
55876
  return $e.trim();
55877
55877
  }, q0 = function(f, k) {
55878
55878
  k || (k = 21);
55879
- var W = Yr(), te = vh(f.colors, k), ue = [];
55880
- ue.push({ key: "FunctionType", value: "0" }), ue.push({ key: "Domain", value: "[0.0 1.0]" }), ue.push({ key: "Size", value: "[" + k + "]" }), ue.push({ key: "BitsPerSample", value: "8" }), ue.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), ue.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), Is({ data: te, additionalKeyValues: ue, alreadyAppliedFilters: ["/ASCIIHexDecode"], objectId: W }), X("endobj"), f.objectNumber = Yr(), X("<< /ShadingType " + f.type), X("/ColorSpace /DeviceRGB");
55879
+ var W = Yr(), te = vh(f.colors, k), pe = [];
55880
+ pe.push({ key: "FunctionType", value: "0" }), pe.push({ key: "Domain", value: "[0.0 1.0]" }), pe.push({ key: "Size", value: "[" + k + "]" }), pe.push({ key: "BitsPerSample", value: "8" }), pe.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), pe.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), Is({ data: te, additionalKeyValues: pe, alreadyAppliedFilters: ["/ASCIIHexDecode"], objectId: W }), X("endobj"), f.objectNumber = Yr(), X("<< /ShadingType " + f.type), X("/ColorSpace /DeviceRGB");
55881
55881
  var Ie = "/Coords [" + q(parseFloat(f.coords[0])) + " " + q(parseFloat(f.coords[1])) + " ";
55882
55882
  f.type === 2 ? Ie += q(parseFloat(f.coords[2])) + " " + q(parseFloat(f.coords[3])) : Ie += q(parseFloat(f.coords[2])) + " " + q(parseFloat(f.coords[3])) + " " + q(parseFloat(f.coords[4])) + " " + q(parseFloat(f.coords[5])), X(Ie += "]"), f.matrix && X("/Matrix [" + f.matrix.toString() + "]"), X("/Function " + W + " 0 R"), X("/Extend [true true]"), X(">>"), X("endobj");
55883
55883
  }, V0 = function(f, k) {
55884
55884
  var W = Nr(), te = Yr();
55885
55885
  k.push({ resourcesOid: W, objectOid: te }), f.objectNumber = te;
55886
- var ue = [];
55887
- ue.push({ key: "Type", value: "/Pattern" }), ue.push({ key: "PatternType", value: "1" }), ue.push({ key: "PaintType", value: "1" }), ue.push({ key: "TilingType", value: "1" }), ue.push({ key: "BBox", value: "[" + f.boundingBox.map(q).join(" ") + "]" }), ue.push({ key: "XStep", value: q(f.xStep) }), ue.push({ key: "YStep", value: q(f.yStep) }), ue.push({ key: "Resources", value: W + " 0 R" }), f.matrix && ue.push({ key: "Matrix", value: "[" + f.matrix.toString() + "]" }), Is({ data: f.stream, additionalKeyValues: ue, objectId: f.objectNumber }), X("endobj");
55886
+ var pe = [];
55887
+ pe.push({ key: "Type", value: "/Pattern" }), pe.push({ key: "PatternType", value: "1" }), pe.push({ key: "PaintType", value: "1" }), pe.push({ key: "TilingType", value: "1" }), pe.push({ key: "BBox", value: "[" + f.boundingBox.map(q).join(" ") + "]" }), pe.push({ key: "XStep", value: q(f.xStep) }), pe.push({ key: "YStep", value: q(f.yStep) }), pe.push({ key: "Resources", value: W + " 0 R" }), f.matrix && pe.push({ key: "Matrix", value: "[" + f.matrix.toString() + "]" }), Is({ data: f.stream, additionalKeyValues: pe, objectId: f.objectNumber }), X("endobj");
55888
55888
  }, cA = function(f) {
55889
55889
  var k;
55890
55890
  for (k in Kt)
@@ -55946,15 +55946,15 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
55946
55946
  Gt.publish("postPutAdditionalObjects");
55947
55947
  }, Bh = function(f) {
55948
55948
  gr[f.fontName] = gr[f.fontName] || {}, gr[f.fontName][f.fontStyle] = f.id;
55949
- }, du = function(f, k, W, te, ue) {
55950
- var Ie = { id: "F" + (Object.keys(rr).length + 1).toString(10), postScriptName: f, fontName: k, fontStyle: W, encoding: te, isStandardFont: ue || !1, metadata: {} };
55949
+ }, du = function(f, k, W, te, pe) {
55950
+ var Ie = { id: "F" + (Object.keys(rr).length + 1).toString(10), postScriptName: f, fontName: k, fontStyle: W, encoding: te, isStandardFont: pe || !1, metadata: {} };
55951
55951
  return Gt.publish("addFont", { font: Ie, instance: this }), rr[Ie.id] = Ie, Bh(Ie), Ie.id;
55952
55952
  }, J0 = function(f) {
55953
55953
  for (var k = 0, W = w.length; k < W; k++) {
55954
55954
  var te = du.call(this, f[k][0], f[k][1], f[k][2], w[k][3], !0);
55955
55955
  u === !1 && (h[te] = !0);
55956
- var ue = f[k][0].split("-");
55957
- Bh({ id: te, fontName: ue[0], fontStyle: ue[1] || "" });
55956
+ var pe = f[k][0].split("-");
55957
+ Bh({ id: te, fontName: pe[0], fontStyle: pe[1] || "" });
55958
55958
  }
55959
55959
  Gt.publish("addFonts", { fonts: rr, dictionary: gr });
55960
55960
  }, si = function(f) {
@@ -55972,8 +55972,8 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
55972
55972
  }
55973
55973
  }, f.foo.bar = f, f.foo;
55974
55974
  }, pA = function(f, k) {
55975
- var W, te, ue, Ie, Le, $e, ut, Bt, _t;
55976
- if (ue = (k = k || {}).sourceEncoding || "Unicode", Le = k.outputEncoding, (k.autoencode || Le) && rr[Ct].metadata && rr[Ct].metadata[ue] && rr[Ct].metadata[ue].encoding && (Ie = rr[Ct].metadata[ue].encoding, !Le && rr[Ct].encoding && (Le = rr[Ct].encoding), !Le && Ie.codePages && (Le = Ie.codePages[0]), typeof Le == "string" && (Le = Ie[Le]), Le)) {
55975
+ var W, te, pe, Ie, Le, $e, ut, Bt, _t;
55976
+ if (pe = (k = k || {}).sourceEncoding || "Unicode", Le = k.outputEncoding, (k.autoencode || Le) && rr[Ct].metadata && rr[Ct].metadata[pe] && rr[Ct].metadata[pe].encoding && (Ie = rr[Ct].metadata[pe].encoding, !Le && rr[Ct].encoding && (Le = rr[Ct].encoding), !Le && Ie.codePages && (Le = Ie.codePages[0]), typeof Le == "string" && (Le = Ie[Le]), Le)) {
55977
55977
  for (ut = !1, $e = [], W = 0, te = f.length; W < te; W++)
55978
55978
  (Bt = Le[f.charCodeAt(W)]) ? $e.push(String.fromCharCode(Bt)) : $e.push(f[W]), $e[W].charCodeAt(0) >> 8 && (ut = !0);
55979
55979
  f = $e.join("");
@@ -55993,13 +55993,13 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
55993
55993
  }, Au = p.__private__.beginPage = function(f) {
55994
55994
  De[++br] = [], wt[br] = { objId: 0, contentsObjId: 0, userUnit: Number(a), artBox: null, bleedBox: null, cropBox: null, trimBox: null, mediaBox: { bottomLeftX: 0, bottomLeftY: 0, topRightX: Number(f[0]), topRightY: Number(f[1]) } }, Eh(br), Ee(De[z]);
55995
55995
  }, Ch = function(f, k) {
55996
- var W, te, ue;
55997
- switch (r = k || r, typeof f == "string" && (W = b(f.toLowerCase()), Array.isArray(W) && (te = W[0], ue = W[1])), Array.isArray(f) && (te = f[0] * Ye, ue = f[1] * Ye), isNaN(te) && (te = s[0], ue = s[1]), (te > 14400 || ue > 14400) && (ir.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"), te = Math.min(14400, te), ue = Math.min(14400, ue)), s = [te, ue], r.substr(0, 1)) {
55996
+ var W, te, pe;
55997
+ switch (r = k || r, typeof f == "string" && (W = b(f.toLowerCase()), Array.isArray(W) && (te = W[0], pe = W[1])), Array.isArray(f) && (te = f[0] * Ye, pe = f[1] * Ye), isNaN(te) && (te = s[0], pe = s[1]), (te > 14400 || pe > 14400) && (ir.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"), te = Math.min(14400, te), pe = Math.min(14400, pe)), s = [te, pe], r.substr(0, 1)) {
55998
55998
  case "l":
55999
- ue > te && (s = [ue, te]);
55999
+ pe > te && (s = [pe, te]);
56000
56000
  break;
56001
56001
  case "p":
56002
- te > ue && (s = [ue, te]);
56002
+ te > pe && (s = [pe, te]);
56003
56003
  }
56004
56004
  Au(s), jh(hu), X(ii), fu !== 0 && X(fu + " J"), mu !== 0 && X(mu + " j"), Gt.publish("addPage", { pageNumber: br });
56005
56005
  }, X0 = function(f) {
@@ -56009,8 +56009,8 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
56009
56009
  }, Z0 = p.__private__.getNumberOfPages = p.getNumberOfPages = function() {
56010
56010
  return De.length - 1;
56011
56011
  }, kh = function(f, k, W) {
56012
- var te, ue = void 0;
56013
- return W = W || {}, f = f !== void 0 ? f : rr[Ct].fontName, k = k !== void 0 ? k : rr[Ct].fontStyle, te = f.toLowerCase(), gr[te] !== void 0 && gr[te][k] !== void 0 ? ue = gr[te][k] : gr[f] !== void 0 && gr[f][k] !== void 0 ? ue = gr[f][k] : W.disableWarning === !1 && ir.warn("Unable to look up font label for font '" + f + "', '" + k + "'. Refer to getFontList() for available fonts."), ue || W.noFallback || (ue = gr.times[k]) == null && (ue = gr.times.normal), ue;
56012
+ var te, pe = void 0;
56013
+ return W = W || {}, f = f !== void 0 ? f : rr[Ct].fontName, k = k !== void 0 ? k : rr[Ct].fontStyle, te = f.toLowerCase(), gr[te] !== void 0 && gr[te][k] !== void 0 ? pe = gr[te][k] : gr[f] !== void 0 && gr[f][k] !== void 0 ? pe = gr[f][k] : W.disableWarning === !1 && ir.warn("Unable to look up font label for font '" + f + "', '" + k + "'. Refer to getFontList() for available fonts."), pe || W.noFallback || (pe = gr.times[k]) == null && (pe = gr.times.normal), pe;
56014
56014
  }, $0 = p.__private__.putInfo = function() {
56015
56015
  var f = Yr(), k = function(te) {
56016
56016
  return te;
@@ -56053,7 +56053,7 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
56053
56053
  }
56054
56054
  xe && X("/PageMode /" + xe), Gt.publish("putCatalog"), X(">>"), X("endobj");
56055
56055
  }, e1 = p.__private__.putTrailer = function() {
56056
- X("trailer"), X("<<"), X("/Size " + (re + 1)), X("/Root " + re + " 0 R"), X("/Info " + (re - 1) + " 0 R"), A !== null && X("/Encrypt " + _n.oid + " 0 R"), X("/ID [ <" + he + "> <" + he + "> ]"), X(">>");
56056
+ X("trailer"), X("<<"), X("/Size " + (re + 1)), X("/Root " + re + " 0 R"), X("/Info " + (re - 1) + " 0 R"), A !== null && X("/Encrypt " + _n.oid + " 0 R"), X("/ID [ <" + ge + "> <" + ge + "> ]"), X(">>");
56057
56057
  }, t1 = p.__private__.putHeader = function() {
56058
56058
  X("%PDF-" + m), X("%ºß¬à");
56059
56059
  }, r1 = p.__private__.putXRef = function() {
@@ -56096,9 +56096,9 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
56096
56096
  return "data:application/pdf;filename=" + k.filename + ";base64," + W;
56097
56097
  case "pdfobjectnewwindow":
56098
56098
  if (Object.prototype.toString.call(mt) === "[object Window]") {
56099
- var ue = "https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js", Ie = ' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';
56100
- k.pdfObjectUrl && (ue = k.pdfObjectUrl, Ie = "");
56101
- var Le = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="' + ue + '"' + Ie + '><\/script><script >PDFObject.embed("' + this.output("dataurlstring") + '", ' + JSON.stringify(k) + ");<\/script></body></html>", $e = mt.open();
56099
+ var pe = "https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js", Ie = ' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';
56100
+ k.pdfObjectUrl && (pe = k.pdfObjectUrl, Ie = "");
56101
+ var Le = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="' + pe + '"' + Ie + '><\/script><script >PDFObject.embed("' + this.output("dataurlstring") + '", ' + JSON.stringify(k) + ");<\/script></body></html>", $e = mt.open();
56102
56102
  return $e !== null && $e.document.write(Le), $e;
56103
56103
  }
56104
56104
  throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");
@@ -56160,7 +56160,7 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
56160
56160
  Ye = n;
56161
56161
  }
56162
56162
  var _n = null;
56163
- Ce(), pe();
56163
+ Ce(), he();
56164
56164
  var n1 = function(f) {
56165
56165
  return A !== null ? _n.encryptor(f, 0) : function(k) {
56166
56166
  return k;
@@ -56189,8 +56189,8 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
56189
56189
  var W, te;
56190
56190
  if (f > k) {
56191
56191
  W = De[f], te = wt[f];
56192
- for (var ue = f; ue > k; ue--)
56193
- De[ue] = De[ue - 1], wt[ue] = wt[ue - 1];
56192
+ for (var pe = f; pe > k; pe--)
56193
+ De[pe] = De[pe - 1], wt[pe] = wt[pe - 1];
56194
56194
  De[k] = W, wt[k] = te, this.setPage(k);
56195
56195
  } else if (f < k) {
56196
56196
  W = De[f], te = wt[f];
@@ -56201,13 +56201,13 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
56201
56201
  return this;
56202
56202
  }, p.deletePage = function() {
56203
56203
  return X0.apply(this, arguments), this;
56204
- }, p.__private__.text = p.text = function(f, k, W, te, ue) {
56204
+ }, p.__private__.text = p.text = function(f, k, W, te, pe) {
56205
56205
  var Ie, Le, $e, ut, Bt, _t, Nt, mr, wr, Lr = (te = te || {}).scope || this;
56206
56206
  if (typeof f == "number" && typeof k == "number" && (typeof W == "string" || Array.isArray(W))) {
56207
56207
  var xn = W;
56208
56208
  W = k, k = f, f = xn;
56209
56209
  }
56210
- if (arguments[3] instanceof ft ? (M("The transform parameter of text() with a Matrix value"), wr = ue) : ($e = arguments[4], ut = arguments[5], Zt(Nt = arguments[3]) === "object" && Nt !== null || (typeof $e == "string" && (ut = $e, $e = null), typeof Nt == "string" && (ut = Nt, Nt = null), typeof Nt == "number" && ($e = Nt, Nt = null), te = { flags: Nt, angle: $e, align: ut })), isNaN(k) || isNaN(W) || f == null)
56210
+ if (arguments[3] instanceof ft ? (M("The transform parameter of text() with a Matrix value"), wr = pe) : ($e = arguments[4], ut = arguments[5], Zt(Nt = arguments[3]) === "object" && Nt !== null || (typeof $e == "string" && (ut = $e, $e = null), typeof Nt == "string" && (ut = Nt, Nt = null), typeof Nt == "number" && ($e = Nt, Nt = null), te = { flags: Nt, angle: $e, align: ut })), isNaN(k) || isNaN(W) || f == null)
56211
56211
  throw new Error("Invalid arguments passed to jsPDF.text");
56212
56212
  if (f.length === 0)
56213
56213
  return Lr;
@@ -56350,7 +56350,7 @@ Q`), As(ue, !0), Is({ data: Ie, filters: Gi(), objectId: ue }), X("endobj"), te;
56350
56350
  ts = Sr === 0 ? Io(W) : -EA, On = Sr === 0 ? Ji(k) : 0, Sr < An - 1 ? xa.push(q(Q((_t - Ts[Sr]) / (Le[Sr].split(" ").length - 1)))) : xa.push(0), f.push([Le[Sr], On, ts]);
56351
56351
  }
56352
56352
  }
56353
- var zh = typeof te.R2L == "boolean" ? te.R2L : ge;
56353
+ var zh = typeof te.R2L == "boolean" ? te.R2L : fe;
56354
56354
  zh === !0 && (f = xu(f, function(ar, lr, Ir) {
56355
56355
  return [ar.split("").reverse().join(""), lr, Ir];
56356
56356
  })), Ie = { text: f, x: k, y: W, options: te, mutex: { pdfEscape: $n, activeFontKey: Ct, fonts: rr, activeFontSize: x } }, Gt.publish("postProcessText", Ie), f = Ie.text, oi = Ie.mutex.isHex || !1;
@@ -56440,8 +56440,8 @@ T* `) : f.join(` Tj
56440
56440
  }, uu = function(f) {
56441
56441
  f === null || I === B.ADVANCED && f === void 0 || (f = Th(f), X(f));
56442
56442
  };
56443
- function o1(f, k, W, te, ue) {
56444
- var Ie = new lc(k || this.boundingBox, W || this.xStep, te || this.yStep, this.gState, ue || this.matrix);
56443
+ function o1(f, k, W, te, pe) {
56444
+ var Ie = new lc(k || this.boundingBox, W || this.xStep, te || this.yStep, this.gState, pe || this.matrix);
56445
56445
  Ie.stream = this.stream;
56446
56446
  var Le = f + "$$" + this.cloneIndex++ + "$$";
56447
56447
  return Zn(Le, Ie), Ie;
@@ -56451,8 +56451,8 @@ T* `) : f.join(` Tj
56451
56451
  if (te instanceof pd)
56452
56452
  X("q"), X(l1(k)), te.gState && p.setGState(te.gState), X(f.matrix.toString() + " cm"), X("/" + W + " sh"), X("Q");
56453
56453
  else if (te instanceof lc) {
56454
- var ue = new ft(1, 0, 0, -1, 0, _a());
56455
- f.matrix && (ue = ue.multiply(f.matrix || Ki), W = o1.call(te, f.key, f.boundingBox, f.xStep, f.yStep, ue).id), X("q"), X("/Pattern cs"), X("/" + W + " scn"), te.gState && p.setGState(te.gState), X(k), X("Q");
56454
+ var pe = new ft(1, 0, 0, -1, 0, _a());
56455
+ f.matrix && (pe = pe.multiply(f.matrix || Ki), W = o1.call(te, f.key, f.boundingBox, f.xStep, f.yStep, pe).id), X("q"), X("/Pattern cs"), X("/" + W + " scn"), te.gState && p.setGState(te.gState), X(k), X("Q");
56456
56456
  }
56457
56457
  }, l1 = function(f) {
56458
56458
  switch (f) {
@@ -56474,20 +56474,20 @@ T* `) : f.join(` Tj
56474
56474
  return X(q(Q(f)) + " " + q(Z(k)) + " m"), this;
56475
56475
  }, Ll = p.lineTo = function(f, k) {
56476
56476
  return X(q(Q(f)) + " " + q(Z(k)) + " l"), this;
56477
- }, ba = p.curveTo = function(f, k, W, te, ue, Ie) {
56478
- return X([q(Q(f)), q(Z(k)), q(Q(W)), q(Z(te)), q(Q(ue)), q(Z(Ie)), "c"].join(" ")), this;
56477
+ }, ba = p.curveTo = function(f, k, W, te, pe, Ie) {
56478
+ return X([q(Q(f)), q(Z(k)), q(Q(W)), q(Z(te)), q(Q(pe)), q(Z(Ie)), "c"].join(" ")), this;
56479
56479
  };
56480
- p.__private__.line = p.line = function(f, k, W, te, ue) {
56481
- if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || !Yi(ue))
56480
+ p.__private__.line = p.line = function(f, k, W, te, pe) {
56481
+ if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || !Yi(pe))
56482
56482
  throw new Error("Invalid arguments passed to jsPDF.line");
56483
- return I === B.COMPAT ? this.lines([[W - f, te - k]], f, k, [1, 1], ue || "S") : this.lines([[W - f, te - k]], f, k, [1, 1]).stroke();
56484
- }, p.__private__.lines = p.lines = function(f, k, W, te, ue, Ie) {
56483
+ return I === B.COMPAT ? this.lines([[W - f, te - k]], f, k, [1, 1], pe || "S") : this.lines([[W - f, te - k]], f, k, [1, 1]).stroke();
56484
+ }, p.__private__.lines = p.lines = function(f, k, W, te, pe, Ie) {
56485
56485
  var Le, $e, ut, Bt, _t, Nt, mr, wr, Lr, xn, en, oi;
56486
- if (typeof f == "number" && (oi = W, W = k, k = f, f = oi), te = te || [1, 1], Ie = Ie || !1, isNaN(k) || isNaN(W) || !Array.isArray(f) || !Array.isArray(te) || !Yi(ue) || typeof Ie != "boolean")
56486
+ if (typeof f == "number" && (oi = W, W = k, k = f, f = oi), te = te || [1, 1], Ie = Ie || !1, isNaN(k) || isNaN(W) || !Array.isArray(f) || !Array.isArray(te) || !Yi(pe) || typeof Ie != "boolean")
56487
56487
  throw new Error("Invalid arguments passed to jsPDF.lines");
56488
56488
  for (pu(k, W), Le = te[0], $e = te[1], Bt = f.length, xn = k, en = W, ut = 0; ut < Bt; ut++)
56489
56489
  (_t = f[ut]).length === 2 ? (xn = _t[0] * Le + xn, en = _t[1] * $e + en, Ll(xn, en)) : (Nt = _t[0] * Le + xn, mr = _t[1] * $e + en, wr = _t[2] * Le + xn, Lr = _t[3] * $e + en, xn = _t[4] * Le + xn, en = _t[5] * $e + en, ba(Nt, mr, wr, Lr, xn, en));
56490
- return Ie && Uh(), uu(ue), this;
56490
+ return Ie && Uh(), uu(pe), this;
56491
56491
  }, p.path = function(f) {
56492
56492
  for (var k = 0; k < f.length; k++) {
56493
56493
  var W = f[k], te = W.c;
@@ -56506,24 +56506,24 @@ T* `) : f.join(` Tj
56506
56506
  }
56507
56507
  }
56508
56508
  return this;
56509
- }, p.__private__.rect = p.rect = function(f, k, W, te, ue) {
56510
- if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || !Yi(ue))
56509
+ }, p.__private__.rect = p.rect = function(f, k, W, te, pe) {
56510
+ if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || !Yi(pe))
56511
56511
  throw new Error("Invalid arguments passed to jsPDF.rect");
56512
- return I === B.COMPAT && (te = -te), X([q(Q(f)), q(Z(k)), q(Q(W)), q(Q(te)), "re"].join(" ")), uu(ue), this;
56513
- }, p.__private__.triangle = p.triangle = function(f, k, W, te, ue, Ie, Le) {
56514
- if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || isNaN(ue) || isNaN(Ie) || !Yi(Le))
56512
+ return I === B.COMPAT && (te = -te), X([q(Q(f)), q(Z(k)), q(Q(W)), q(Q(te)), "re"].join(" ")), uu(pe), this;
56513
+ }, p.__private__.triangle = p.triangle = function(f, k, W, te, pe, Ie, Le) {
56514
+ if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || isNaN(pe) || isNaN(Ie) || !Yi(Le))
56515
56515
  throw new Error("Invalid arguments passed to jsPDF.triangle");
56516
- return this.lines([[W - f, te - k], [ue - W, Ie - te], [f - ue, k - Ie]], f, k, [1, 1], Le, !0), this;
56517
- }, p.__private__.roundedRect = p.roundedRect = function(f, k, W, te, ue, Ie, Le) {
56518
- if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || isNaN(ue) || isNaN(Ie) || !Yi(Le))
56516
+ return this.lines([[W - f, te - k], [pe - W, Ie - te], [f - pe, k - Ie]], f, k, [1, 1], Le, !0), this;
56517
+ }, p.__private__.roundedRect = p.roundedRect = function(f, k, W, te, pe, Ie, Le) {
56518
+ if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || isNaN(pe) || isNaN(Ie) || !Yi(Le))
56519
56519
  throw new Error("Invalid arguments passed to jsPDF.roundedRect");
56520
56520
  var $e = 4 / 3 * (Math.SQRT2 - 1);
56521
- return ue = Math.min(ue, 0.5 * W), Ie = Math.min(Ie, 0.5 * te), this.lines([[W - 2 * ue, 0], [ue * $e, 0, ue, Ie - Ie * $e, ue, Ie], [0, te - 2 * Ie], [0, Ie * $e, -ue * $e, Ie, -ue, Ie], [2 * ue - W, 0], [-ue * $e, 0, -ue, -Ie * $e, -ue, -Ie], [0, 2 * Ie - te], [0, -Ie * $e, ue * $e, -Ie, ue, -Ie]], f + ue, k, [1, 1], Le, !0), this;
56522
- }, p.__private__.ellipse = p.ellipse = function(f, k, W, te, ue) {
56523
- if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || !Yi(ue))
56521
+ return pe = Math.min(pe, 0.5 * W), Ie = Math.min(Ie, 0.5 * te), this.lines([[W - 2 * pe, 0], [pe * $e, 0, pe, Ie - Ie * $e, pe, Ie], [0, te - 2 * Ie], [0, Ie * $e, -pe * $e, Ie, -pe, Ie], [2 * pe - W, 0], [-pe * $e, 0, -pe, -Ie * $e, -pe, -Ie], [0, 2 * Ie - te], [0, -Ie * $e, pe * $e, -Ie, pe, -Ie]], f + pe, k, [1, 1], Le, !0), this;
56522
+ }, p.__private__.ellipse = p.ellipse = function(f, k, W, te, pe) {
56523
+ if (isNaN(f) || isNaN(k) || isNaN(W) || isNaN(te) || !Yi(pe))
56524
56524
  throw new Error("Invalid arguments passed to jsPDF.ellipse");
56525
56525
  var Ie = 4 / 3 * (Math.SQRT2 - 1) * W, Le = 4 / 3 * (Math.SQRT2 - 1) * te;
56526
- return pu(f + W, k), ba(f + W, k - Le, f + Ie, k - te, f, k - te), ba(f - Ie, k - te, f - W, k - Le, f - W, k), ba(f - W, k + Le, f - Ie, k + te, f, k + te), ba(f + Ie, k + te, f + W, k + Le, f + W, k), uu(ue), this;
56526
+ return pu(f + W, k), ba(f + W, k - Le, f + Ie, k - te, f, k - te), ba(f - Ie, k - te, f - W, k - Le, f - W, k), ba(f - W, k + Le, f - Ie, k + te, f, k + te), ba(f + Ie, k + te, f + W, k + Le, f + W, k), uu(pe), this;
56527
56527
  }, p.__private__.circle = p.circle = function(f, k, W, te) {
56528
56528
  if (isNaN(f) || isNaN(k) || isNaN(W) || !Yi(te))
56529
56529
  throw new Error("Invalid arguments passed to jsPDF.circle");
@@ -56541,9 +56541,9 @@ T* `) : f.join(` Tj
56541
56541
  for (k in W[f] = [], gr[f])
56542
56542
  gr[f].hasOwnProperty(k) && W[f].push(k);
56543
56543
  return W;
56544
- }, p.addFont = function(f, k, W, te, ue) {
56544
+ }, p.addFont = function(f, k, W, te, pe) {
56545
56545
  var Ie = ["StandardEncoding", "MacRomanEncoding", "Identity-H", "WinAnsiEncoding"];
56546
- return arguments[3] && Ie.indexOf(arguments[3]) !== -1 ? ue = arguments[3] : arguments[3] && Ie.indexOf(arguments[3]) == -1 && (W = H(W, te)), ue = ue || "Identity-H", du.call(this, f, k, W, ue);
56546
+ return arguments[3] && Ie.indexOf(arguments[3]) !== -1 ? pe = arguments[3] : arguments[3] && Ie.indexOf(arguments[3]) == -1 && (W = H(W, te)), pe = pe || "Identity-H", du.call(this, f, k, W, pe);
56547
56547
  };
56548
56548
  var Ql, hu = t.lineWidth || 0.200025, mA = p.__private__.getLineWidth = p.getLineWidth = function() {
56549
56549
  return hu;
@@ -56634,8 +56634,8 @@ T* `) : f.join(` Tj
56634
56634
  if (W)
56635
56635
  k = vr[te];
56636
56636
  else {
56637
- var ue = "GS" + (Object.keys(vr).length + 1).toString(10);
56638
- vr[ue] = k, k.id = ue;
56637
+ var pe = "GS" + (Object.keys(vr).length + 1).toString(10);
56638
+ vr[pe] = k, k.id = pe;
56639
56639
  }
56640
56640
  return f && ($s[f] = k.id), Gt.publish("addGState", k), k;
56641
56641
  }
@@ -56666,19 +56666,19 @@ T* `) : f.join(` Tj
56666
56666
  }, set: function(Ie) {
56667
56667
  isNaN(Ie) || (te = parseFloat(Ie));
56668
56668
  } });
56669
- var ue = "pt";
56669
+ var pe = "pt";
56670
56670
  return Object.defineProperty(this, "type", { enumerable: !0, get: function() {
56671
- return ue;
56671
+ return pe;
56672
56672
  }, set: function(Ie) {
56673
- ue = Ie.toString();
56673
+ pe = Ie.toString();
56674
56674
  } }), this;
56675
56675
  }, yu = function(f, k, W, te) {
56676
56676
  vA.call(this, f, k), this.type = "rect";
56677
- var ue = W || 0;
56677
+ var pe = W || 0;
56678
56678
  Object.defineProperty(this, "w", { enumerable: !0, get: function() {
56679
- return ue;
56679
+ return pe;
56680
56680
  }, set: function(Le) {
56681
- isNaN(Le) || (ue = parseFloat(Le));
56681
+ isNaN(Le) || (pe = parseFloat(Le));
56682
56682
  } });
56683
56683
  var Ie = te || 0;
56684
56684
  return Object.defineProperty(this, "h", { enumerable: !0, get: function() {
@@ -56692,8 +56692,8 @@ T* `) : f.join(` Tj
56692
56692
  vu.prototype.restore = function() {
56693
56693
  br = this.page, z = this.currentPage, wt = this.pagesContext, De = this.pages, Wr = this.x, Qt = this.y, Zs = this.matrix, bu(z, this.width), wu(z, this.height), ze = this.outputDestination;
56694
56694
  };
56695
- var Oh = function(f, k, W, te, ue) {
56696
- Vi.push(new vu()), br = z = 0, De = [], Wr = f, Qt = k, Zs = ue, Au([W, te]);
56695
+ var Oh = function(f, k, W, te, pe) {
56696
+ Vi.push(new vu()), br = z = 0, De = [], Wr = f, Qt = k, Zs = pe, Au([W, te]);
56697
56697
  }, p1 = function(f) {
56698
56698
  if (qi[f])
56699
56699
  Vi.pop().restore();
@@ -56702,8 +56702,8 @@ T* `) : f.join(` Tj
56702
56702
  k.id = W, qi[f] = W, dn[W] = k, Gt.publish("addFormObject", k), Vi.pop().restore();
56703
56703
  }
56704
56704
  };
56705
- for (var bA in p.beginFormObject = function(f, k, W, te, ue) {
56706
- return Oh(f, k, W, te, ue), this;
56705
+ for (var bA in p.beginFormObject = function(f, k, W, te, pe) {
56706
+ return Oh(f, k, W, te, pe), this;
56707
56707
  }, p.endFormObject = function(f) {
56708
56708
  return p1(f), this;
56709
56709
  }, p.doFormObject = function(f, k) {
@@ -56715,17 +56715,17 @@ T* `) : f.join(` Tj
56715
56715
  }, p.save = function(f, k) {
56716
56716
  return f = f || "generated.pdf", (k = k || {}).returnPromise = k.returnPromise || !1, k.returnPromise === !1 ? (ad(hA(So()), f), typeof ad.unload == "function" && mt.setTimeout && setTimeout(ad.unload, 911), this) : new Promise(function(W, te) {
56717
56717
  try {
56718
- var ue = ad(hA(So()), f);
56719
- typeof ad.unload == "function" && mt.setTimeout && setTimeout(ad.unload, 911), W(ue);
56718
+ var pe = ad(hA(So()), f);
56719
+ typeof ad.unload == "function" && mt.setTimeout && setTimeout(ad.unload, 911), W(pe);
56720
56720
  } catch (Ie) {
56721
56721
  te(Ie.message);
56722
56722
  }
56723
56723
  });
56724
56724
  }, gt.API)
56725
56725
  gt.API.hasOwnProperty(bA) && (bA === "events" && gt.API.events.length ? function(f, k) {
56726
- var W, te, ue;
56727
- for (ue = k.length - 1; ue !== -1; ue--)
56728
- W = k[ue][0], te = k[ue][1], f.subscribe.apply(f, [W].concat(typeof te == "function" ? [te] : te));
56726
+ var W, te, pe;
56727
+ for (pe = k.length - 1; pe !== -1; pe--)
56728
+ W = k[pe][0], te = k[pe][1], f.subscribe.apply(f, [W].concat(typeof te == "function" ? [te] : te));
56729
56729
  }(Gt, gt.API.events) : p[bA] = gt.API[bA]);
56730
56730
  var zl = p.getPageWidth = function(f) {
56731
56731
  return (wt[f = f || z].mediaBox.topRightX - wt[f].mediaBox.bottomLeftX) / Ye;
@@ -57630,49 +57630,49 @@ function RE(t) {
57630
57630
  (function(t) {
57631
57631
  t.__addimage__ = {};
57632
57632
  var e = "UNKNOWN", r = { PNG: [[137, 80, 78, 71]], TIFF: [[77, 77, 0, 42], [73, 73, 42, 0]], JPEG: [[255, 216, 255, 224, void 0, void 0, 74, 70, 73, 70, 0], [255, 216, 255, 225, void 0, void 0, 69, 120, 105, 102, 0, 0], [255, 216, 255, 219], [255, 216, 255, 238]], JPEG2000: [[0, 0, 0, 12, 106, 80, 32, 32]], GIF87a: [[71, 73, 70, 56, 55, 97]], GIF89a: [[71, 73, 70, 56, 57, 97]], WEBP: [[82, 73, 70, 70, void 0, void 0, void 0, void 0, 87, 69, 66, 80]], BMP: [[66, 77], [66, 65], [67, 73], [67, 80], [73, 67], [80, 84]] }, n = t.__addimage__.getImageFileTypeByImageData = function(D, Q) {
57633
- var Y, Z, be, he, _e, pe = e;
57633
+ var Y, Z, be, ge, _e, he = e;
57634
57634
  if ((Q = Q || e) === "RGBA" || D.data !== void 0 && D.data instanceof Uint8ClampedArray && "height" in D && "width" in D)
57635
57635
  return "RGBA";
57636
57636
  if (H(D))
57637
57637
  for (_e in r)
57638
57638
  for (be = r[_e], Y = 0; Y < be.length; Y += 1) {
57639
- for (he = !0, Z = 0; Z < be[Y].length; Z += 1)
57639
+ for (ge = !0, Z = 0; Z < be[Y].length; Z += 1)
57640
57640
  if (be[Y][Z] !== void 0 && be[Y][Z] !== D[Z]) {
57641
- he = !1;
57641
+ ge = !1;
57642
57642
  break;
57643
57643
  }
57644
- if (he === !0) {
57645
- pe = _e;
57644
+ if (ge === !0) {
57645
+ he = _e;
57646
57646
  break;
57647
57647
  }
57648
57648
  }
57649
57649
  else
57650
57650
  for (_e in r)
57651
57651
  for (be = r[_e], Y = 0; Y < be.length; Y += 1) {
57652
- for (he = !0, Z = 0; Z < be[Y].length; Z += 1)
57652
+ for (ge = !0, Z = 0; Z < be[Y].length; Z += 1)
57653
57653
  if (be[Y][Z] !== void 0 && be[Y][Z] !== D.charCodeAt(Z)) {
57654
- he = !1;
57654
+ ge = !1;
57655
57655
  break;
57656
57656
  }
57657
- if (he === !0) {
57658
- pe = _e;
57657
+ if (ge === !0) {
57658
+ he = _e;
57659
57659
  break;
57660
57660
  }
57661
57661
  }
57662
- return pe === e && Q !== e && (pe = Q), pe;
57662
+ return he === e && Q !== e && (he = Q), he;
57663
57663
  }, s = function D(Q) {
57664
57664
  for (var Y = this.internal.write, Z = this.internal.putStream, be = (0, this.internal.getFilters)(); be.indexOf("FlateEncode") !== -1; )
57665
57665
  be.splice(be.indexOf("FlateEncode"), 1);
57666
57666
  Q.objectId = this.internal.newObject();
57667
- var he = [];
57668
- if (he.push({ key: "Type", value: "/XObject" }), he.push({ key: "Subtype", value: "/Image" }), he.push({ key: "Width", value: Q.width }), he.push({ key: "Height", value: Q.height }), Q.colorSpace === _.INDEXED ? he.push({ key: "ColorSpace", value: "[/Indexed /DeviceRGB " + (Q.palette.length / 3 - 1) + " " + ("sMask" in Q && Q.sMask !== void 0 ? Q.objectId + 2 : Q.objectId + 1) + " 0 R]" }) : (he.push({ key: "ColorSpace", value: "/" + Q.colorSpace }), Q.colorSpace === _.DEVICE_CMYK && he.push({ key: "Decode", value: "[1 0 1 0 1 0 1 0]" })), he.push({ key: "BitsPerComponent", value: Q.bitsPerComponent }), "decodeParameters" in Q && Q.decodeParameters !== void 0 && he.push({ key: "DecodeParms", value: "<<" + Q.decodeParameters + ">>" }), "transparency" in Q && Array.isArray(Q.transparency)) {
57669
- for (var _e = "", pe = 0, Be = Q.transparency.length; pe < Be; pe++)
57670
- _e += Q.transparency[pe] + " " + Q.transparency[pe] + " ";
57671
- he.push({ key: "Mask", value: "[" + _e + "]" });
57667
+ var ge = [];
57668
+ if (ge.push({ key: "Type", value: "/XObject" }), ge.push({ key: "Subtype", value: "/Image" }), ge.push({ key: "Width", value: Q.width }), ge.push({ key: "Height", value: Q.height }), Q.colorSpace === _.INDEXED ? ge.push({ key: "ColorSpace", value: "[/Indexed /DeviceRGB " + (Q.palette.length / 3 - 1) + " " + ("sMask" in Q && Q.sMask !== void 0 ? Q.objectId + 2 : Q.objectId + 1) + " 0 R]" }) : (ge.push({ key: "ColorSpace", value: "/" + Q.colorSpace }), Q.colorSpace === _.DEVICE_CMYK && ge.push({ key: "Decode", value: "[1 0 1 0 1 0 1 0]" })), ge.push({ key: "BitsPerComponent", value: Q.bitsPerComponent }), "decodeParameters" in Q && Q.decodeParameters !== void 0 && ge.push({ key: "DecodeParms", value: "<<" + Q.decodeParameters + ">>" }), "transparency" in Q && Array.isArray(Q.transparency)) {
57669
+ for (var _e = "", he = 0, Be = Q.transparency.length; he < Be; he++)
57670
+ _e += Q.transparency[he] + " " + Q.transparency[he] + " ";
57671
+ ge.push({ key: "Mask", value: "[" + _e + "]" });
57672
57672
  }
57673
- Q.sMask !== void 0 && he.push({ key: "SMask", value: Q.objectId + 1 + " 0 R" });
57673
+ Q.sMask !== void 0 && ge.push({ key: "SMask", value: Q.objectId + 1 + " 0 R" });
57674
57674
  var oe = Q.filter !== void 0 ? ["/" + Q.filter] : void 0;
57675
- if (Z({ data: Q.data, additionalKeyValues: he, alreadyAppliedFilters: oe, objectId: Q.objectId }), Y("endobj"), "sMask" in Q && Q.sMask !== void 0) {
57675
+ if (Z({ data: Q.data, additionalKeyValues: ge, alreadyAppliedFilters: oe, objectId: Q.objectId }), Y("endobj"), "sMask" in Q && Q.sMask !== void 0) {
57676
57676
  var Ce = "/Predictor " + Q.predictor + " /Colors 1 /BitsPerComponent " + Q.bitsPerComponent + " /Columns " + Q.width, S = { width: Q.width, height: Q.height, colorSpace: "DeviceGray", bitsPerComponent: Q.bitsPerComponent, decodeParameters: Ce, data: Q.sMask };
57677
57677
  "filter" in Q && (S.filter = Q.filter), D.call(this, S);
57678
57678
  }
@@ -57735,15 +57735,15 @@ function RE(t) {
57735
57735
  }
57736
57736
  }, m = function(D, Q, Y) {
57737
57737
  return D || Q || (D = -96, Q = -96), D < 0 && (D = -1 * Y.width * 72 / D / this.internal.scaleFactor), Q < 0 && (Q = -1 * Y.height * 72 / Q / this.internal.scaleFactor), D === 0 && (D = Q * Y.width / Y.height), Q === 0 && (Q = D * Y.height / Y.width), [D, Q];
57738
- }, y = function(D, Q, Y, Z, be, he) {
57739
- var _e = m.call(this, Y, Z, be), pe = this.internal.getCoordinateString, Be = this.internal.getVerticalCoordinateString, oe = d.call(this);
57740
- if (Y = _e[0], Z = _e[1], oe[be.index] = be, he) {
57741
- he *= Math.PI / 180;
57742
- var Ce = Math.cos(he), S = Math.sin(he), z = function(ee) {
57738
+ }, y = function(D, Q, Y, Z, be, ge) {
57739
+ var _e = m.call(this, Y, Z, be), he = this.internal.getCoordinateString, Be = this.internal.getVerticalCoordinateString, oe = d.call(this);
57740
+ if (Y = _e[0], Z = _e[1], oe[be.index] = be, ge) {
57741
+ ge *= Math.PI / 180;
57742
+ var Ce = Math.cos(ge), S = Math.sin(ge), z = function(ee) {
57743
57743
  return ee.toFixed(4);
57744
57744
  }, G = [z(Ce), z(S), z(-1 * S), z(Ce), 0, 0, "cm"];
57745
57745
  }
57746
- this.internal.write("q"), he ? (this.internal.write([1, "0", "0", 1, pe(D), Be(Q + Z), "cm"].join(" ")), this.internal.write(G.join(" ")), this.internal.write([pe(Y), "0", "0", pe(Z), "0", "0", "cm"].join(" "))) : this.internal.write([pe(Y), "0", "0", pe(Z), pe(D), Be(Q + Z), "cm"].join(" ")), this.isAdvancedAPI() && this.internal.write([1, 0, 0, -1, 0, 0, "cm"].join(" ")), this.internal.write("/I" + be.index + " Do"), this.internal.write("Q");
57746
+ this.internal.write("q"), ge ? (this.internal.write([1, "0", "0", 1, he(D), Be(Q + Z), "cm"].join(" ")), this.internal.write(G.join(" ")), this.internal.write([he(Y), "0", "0", he(Z), "0", "0", "cm"].join(" "))) : this.internal.write([he(Y), "0", "0", he(Z), he(D), Be(Q + Z), "cm"].join(" ")), this.isAdvancedAPI() && this.internal.write([1, 0, 0, -1, 0, 0, "cm"].join(" ")), this.internal.write("/I" + be.index + " Do"), this.internal.write("Q");
57747
57747
  }, _ = t.color_spaces = { DEVICE_RGB: "DeviceRGB", DEVICE_GRAY: "DeviceGray", DEVICE_CMYK: "DeviceCMYK", CAL_GREY: "CalGray", CAL_RGB: "CalRGB", LAB: "Lab", ICC_BASED: "ICCBased", INDEXED: "Indexed", PATTERN: "Pattern", SEPARATION: "Separation", DEVICE_N: "DeviceN" };
57748
57748
  t.decode = { DCT_DECODE: "DCTDecode", FLATE_DECODE: "FlateDecode", LZW_DECODE: "LZWDecode", JPX_DECODE: "JPXDecode", JBIG2_DECODE: "JBIG2Decode", ASCII85_DECODE: "ASCII85Decode", ASCII_HEX_DECODE: "ASCIIHexDecode", RUN_LENGTH_DECODE: "RunLengthDecode", CCITT_FAX_DECODE: "CCITTFaxDecode" };
57749
57749
  var b = t.image_compression = { NONE: "NONE", FAST: "FAST", MEDIUM: "MEDIUM", SLOW: "SLOW" }, B = t.__addimage__.sHashCode = function(D) {
@@ -57782,32 +57782,32 @@ function RE(t) {
57782
57782
  return Q;
57783
57783
  };
57784
57784
  t.addImage = function() {
57785
- var D, Q, Y, Z, be, he, _e, pe, Be;
57786
- if (typeof arguments[1] == "number" ? (Q = e, Y = arguments[1], Z = arguments[2], be = arguments[3], he = arguments[4], _e = arguments[5], pe = arguments[6], Be = arguments[7]) : (Q = arguments[1], Y = arguments[2], Z = arguments[3], be = arguments[4], he = arguments[5], _e = arguments[6], pe = arguments[7], Be = arguments[8]), Zt(D = arguments[0]) === "object" && !u(D) && "imageData" in D) {
57785
+ var D, Q, Y, Z, be, ge, _e, he, Be;
57786
+ if (typeof arguments[1] == "number" ? (Q = e, Y = arguments[1], Z = arguments[2], be = arguments[3], ge = arguments[4], _e = arguments[5], he = arguments[6], Be = arguments[7]) : (Q = arguments[1], Y = arguments[2], Z = arguments[3], be = arguments[4], ge = arguments[5], _e = arguments[6], he = arguments[7], Be = arguments[8]), Zt(D = arguments[0]) === "object" && !u(D) && "imageData" in D) {
57787
57787
  var oe = D;
57788
- D = oe.imageData, Q = oe.format || Q || e, Y = oe.x || Y || 0, Z = oe.y || Z || 0, be = oe.w || oe.width || be, he = oe.h || oe.height || he, _e = oe.alias || _e, pe = oe.compression || pe, Be = oe.rotation || oe.angle || Be;
57788
+ D = oe.imageData, Q = oe.format || Q || e, Y = oe.x || Y || 0, Z = oe.y || Z || 0, be = oe.w || oe.width || be, ge = oe.h || oe.height || ge, _e = oe.alias || _e, he = oe.compression || he, Be = oe.rotation || oe.angle || Be;
57789
57789
  }
57790
57790
  var Ce = this.internal.getFilters();
57791
- if (pe === void 0 && Ce.indexOf("FlateEncode") !== -1 && (pe = "SLOW"), isNaN(Y) || isNaN(Z))
57791
+ if (he === void 0 && Ce.indexOf("FlateEncode") !== -1 && (he = "SLOW"), isNaN(Y) || isNaN(Z))
57792
57792
  throw new Error("Invalid coordinates passed to jsPDF.addImage");
57793
57793
  a.call(this);
57794
- var S = J.call(this, D, Q, _e, pe);
57795
- return y.call(this, Y, Z, be, he, S, Be), this;
57794
+ var S = J.call(this, D, Q, _e, he);
57795
+ return y.call(this, Y, Z, be, ge, S, Be), this;
57796
57796
  };
57797
57797
  var J = function(D, Q, Y, Z) {
57798
- var be, he, _e;
57798
+ var be, ge, _e;
57799
57799
  if (typeof D == "string" && n(D) === e) {
57800
57800
  D = unescape(D);
57801
- var pe = de(D, !1);
57802
- (pe !== "" || (pe = t.loadFile(D, !0)) !== void 0) && (D = pe);
57801
+ var he = de(D, !1);
57802
+ (he !== "" || (he = t.loadFile(D, !0)) !== void 0) && (D = he);
57803
57803
  }
57804
57804
  if (u(D) && (D = h(D, Q)), Q = n(D, Q), !A(Q))
57805
57805
  throw new Error("addImage does not support files of type '" + Q + "', please ensure that a plugin for '" + Q + "' support is added.");
57806
57806
  if (((_e = Y) == null || _e.length === 0) && (Y = function(Be) {
57807
57807
  return typeof Be == "string" || H(Be) ? B(Be) : H(Be.data) ? B(Be.data) : null;
57808
- }(D)), (be = p.call(this, Y)) || (V() && (D instanceof Uint8Array || Q === "RGBA" || (he = D, D = q(D))), be = this["process" + Q.toUpperCase()](D, l.call(this), Y, function(Be) {
57808
+ }(D)), (be = p.call(this, Y)) || (V() && (D instanceof Uint8Array || Q === "RGBA" || (ge = D, D = q(D))), be = this["process" + Q.toUpperCase()](D, l.call(this), Y, function(Be) {
57809
57809
  return Be && typeof Be == "string" && (Be = Be.toUpperCase()), Be in t.image_compression ? Be : b.NONE;
57810
- }(Z), he)), !be)
57810
+ }(Z), ge)), !be)
57811
57811
  throw new Error("An unknown error occurred whilst processing the image.");
57812
57812
  return be;
57813
57813
  }, de = t.__addimage__.convertBase64ToBinaryString = function(D, Q) {
@@ -57818,9 +57818,9 @@ function RE(t) {
57818
57818
  Y = (be = L(D)) !== null && be !== void 0 ? be : D;
57819
57819
  try {
57820
57820
  Z = Cp(Y);
57821
- } catch (he) {
57821
+ } catch (ge) {
57822
57822
  if (Q)
57823
- throw I(Y) ? new Error("atob-Error in jsPDF.convertBase64ToBinaryString " + he.message) : new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ");
57823
+ throw I(Y) ? new Error("atob-Error in jsPDF.convertBase64ToBinaryString " + ge.message) : new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ");
57824
57824
  }
57825
57825
  }
57826
57826
  return Z;
@@ -58175,9 +58175,9 @@ function(t) {
58175
58175
  var be = {};
58176
58176
  for (p = 0; p < b.length; p += 1)
58177
58177
  be[b[p]] = {}, be[b[p]].text = B[p], be[b[p]].align = I[p];
58178
- var he = a.call(this, be, V);
58178
+ var ge = a.call(this, be, V);
58179
58179
  q = b.map(function(oe) {
58180
- return new i(d, l, V[oe], he, be[oe].text, void 0, be[oe].align);
58180
+ return new i(d, l, V[oe], ge, be[oe].text, void 0, be[oe].align);
58181
58181
  }), this.setTableHeaderRow(q), this.printHeaderRow(1, !1);
58182
58182
  }
58183
58183
  var _e = u.reduce(function(oe, Ce) {
@@ -58185,10 +58185,10 @@ function(t) {
58185
58185
  }, {});
58186
58186
  for (p = 0; p < A.length; p += 1) {
58187
58187
  "rowStart" in h && h.rowStart instanceof Function && h.rowStart({ row: p, data: A[p] }, this);
58188
- var pe = a.call(this, A[p], V);
58188
+ var he = a.call(this, A[p], V);
58189
58189
  for (y = 0; y < b.length; y += 1) {
58190
58190
  var Be = A[p][b[y]];
58191
- "cellStart" in h && h.cellStart instanceof Function && h.cellStart({ row: p, col: y, data: Be }, this), o.call(this, new i(d, l, V[b[y]], pe, Be, p + 2, _e[b[y]]));
58191
+ "cellStart" in h && h.cellStart instanceof Function && h.cellStart({ row: p, col: y, data: Be }, this), o.call(this, new i(d, l, V[b[y]], he, Be, p + 2, _e[b[y]]));
58192
58192
  }
58193
58193
  }
58194
58194
  return this.internal.__cell__.table_x = d, this.internal.__cell__.table_y = l, this;
@@ -58450,8 +58450,8 @@ var sf, O3, N3, iv = ["times"];
58450
58450
  }(Ee.getFontList());
58451
58451
  Me = function(R) {
58452
58452
  for (var w = {}, x = 0; x < R.length; ++x) {
58453
- var N = Wb(R[x]), $ = N.family, ge = N.stretch, xe = N.style, We = N.weight;
58454
- w[$] = w[$] || {}, w[$][ge] = w[$][ge] || {}, w[$][ge][xe] = w[$][ge][xe] || {}, w[$][ge][xe][We] = N;
58453
+ var N = Wb(R[x]), $ = N.family, fe = N.stretch, xe = N.style, We = N.weight;
58454
+ w[$] = w[$] || {}, w[$][fe] = w[$][fe] || {}, w[$][fe][xe] = w[$][fe][xe] || {}, w[$][fe][xe][We] = N;
58455
58455
  }
58456
58456
  return w;
58457
58457
  }(yt.concat(X));
@@ -58496,10 +58496,10 @@ var sf, O3, N3, iv = ["times"];
58496
58496
  return Wr;
58497
58497
  }(x);
58498
58498
  if (this.fontFaces) {
58499
- var ge = tW(ze(this.pdf, this.fontFaces), $.map(function(et) {
58499
+ var fe = tW(ze(this.pdf, this.fontFaces), $.map(function(et) {
58500
58500
  return { family: et, stretch: "normal", weight: R, style: yt };
58501
58501
  }));
58502
- this.pdf.setFont(ge.ref.name, ge.ref.style);
58502
+ this.pdf.setFont(fe.ref.name, fe.ref.style);
58503
58503
  } else {
58504
58504
  var xe = "";
58505
58505
  (R === "bold" || parseInt(R, 10) >= 700 || yt === "bold") && (xe = "bold"), yt === "italic" && (xe += "italic"), xe.length === 0 && (xe = "normal");
@@ -58665,7 +58665,7 @@ var sf, O3, N3, iv = ["times"];
58665
58665
  if (isNaN(z) || isNaN(G) || typeof S != "string")
58666
58666
  throw ir.error("jsPDF.context2d.fillText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillText");
58667
58667
  if (ee = isNaN(ee) ? void 0 : ee, !p.call(this)) {
58668
- var re = pe(this.ctx.transform.rotation), Ae = this.ctx.transform.scaleX;
58668
+ var re = he(this.ctx.transform.rotation), Ae = this.ctx.transform.scaleX;
58669
58669
  Q.call(this, { text: S, x: z, y: G, scale: Ae, angle: re, align: this.textAlign, maxWidth: ee });
58670
58670
  }
58671
58671
  }, u.prototype.strokeText = function(S, z, G, ee) {
@@ -58673,7 +58673,7 @@ var sf, O3, N3, iv = ["times"];
58673
58673
  throw ir.error("jsPDF.context2d.strokeText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeText");
58674
58674
  if (!m.call(this)) {
58675
58675
  ee = isNaN(ee) ? void 0 : ee;
58676
- var re = pe(this.ctx.transform.rotation), Ae = this.ctx.transform.scaleX;
58676
+ var re = he(this.ctx.transform.rotation), Ae = this.ctx.transform.scaleX;
58677
58677
  Q.call(this, { text: S, x: z, y: G, scale: Ae, renderingMode: "stroke", angle: re, align: this.textAlign, maxWidth: ee });
58678
58678
  }
58679
58679
  }, u.prototype.measureText = function(S) {
@@ -58715,8 +58715,8 @@ var sf, O3, N3, iv = ["times"];
58715
58715
  u.prototype.drawImage = function(S, z, G, ee, re, Ae, ve, we, Qe) {
58716
58716
  var De = this.pdf.getImageProperties(S), Me = 1, ze = 1, dt = 1, Ee = 1;
58717
58717
  ee !== void 0 && we !== void 0 && (dt = we / ee, Ee = Qe / re, Me = De.width / ee * we / ee, ze = De.height / re * Qe / re), Ae === void 0 && (Ae = z, ve = G, z = 0, G = 0), ee !== void 0 && we === void 0 && (we = ee, Qe = re), ee === void 0 && we === void 0 && (we = De.width, Qe = De.height);
58718
- for (var X, yt = this.ctx.transform.decompose(), R = pe(yt.rotate.shx), w = new d(), x = (w = (w = (w = w.multiply(yt.translate)).multiply(yt.skew)).multiply(yt.scale)).applyToRectangle(new a(Ae - z * dt, ve - G * Ee, ee * Me, re * ze)), N = _.call(this, x), $ = [], ge = 0; ge < N.length; ge += 1)
58719
- $.indexOf(N[ge]) === -1 && $.push(N[ge]);
58718
+ for (var X, yt = this.ctx.transform.decompose(), R = he(yt.rotate.shx), w = new d(), x = (w = (w = (w = w.multiply(yt.translate)).multiply(yt.skew)).multiply(yt.scale)).applyToRectangle(new a(Ae - z * dt, ve - G * Ee, ee * Me, re * ze)), N = _.call(this, x), $ = [], fe = 0; fe < N.length; fe += 1)
58719
+ $.indexOf(N[fe]) === -1 && $.push(N[fe]);
58720
58720
  if (I($), this.autoPaging)
58721
58721
  for (var xe = $[0], We = $[$.length - 1], st = xe; st < We + 1; st++) {
58722
58722
  this.pdf.setPage(st);
@@ -58793,12 +58793,12 @@ var sf, O3, N3, iv = ["times"];
58793
58793
  if (I(dt), this.autoPaging)
58794
58794
  for (var w = dt[0], x = dt[dt.length - 1], N = w; N < x + 1; N++) {
58795
58795
  this.pdf.setPage(N), this.fillStyle = re, this.strokeStyle = Ae, this.lineCap = ve, this.lineWidth = Qe, this.lineJoin = De;
58796
- var $ = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], ge = N === 1 ? this.posY + this.margin[0] : this.margin[0], xe = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], We = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], st = N === 1 ? 0 : xe + (N - 2) * We;
58796
+ var $ = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], fe = N === 1 ? this.posY + this.margin[0] : this.margin[0], xe = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], We = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], st = N === 1 ? 0 : xe + (N - 2) * We;
58797
58797
  if (this.ctx.clip_path.length !== 0) {
58798
58798
  var At = this.path;
58799
- G = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = B(G, this.posX + this.margin[3], -st + ge + this.ctx.prevPageLastElemOffset), V.call(this, S, !0), this.path = At;
58799
+ G = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = B(G, this.posX + this.margin[3], -st + fe + this.ctx.prevPageLastElemOffset), V.call(this, S, !0), this.path = At;
58800
58800
  }
58801
- if (ee = JSON.parse(JSON.stringify(Me)), this.path = B(ee, this.posX + this.margin[3], -st + ge + this.ctx.prevPageLastElemOffset), z === !1 || N === 0) {
58801
+ if (ee = JSON.parse(JSON.stringify(Me)), this.path = B(ee, this.posX + this.margin[3], -st + fe + this.ctx.prevPageLastElemOffset), z === !1 || N === 0) {
58802
58802
  var vt = (N > w || N < x) && y.call(this);
58803
58803
  vt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], $, We, null).clip().discardPath()), V.call(this, S, z), vt && this.pdf.restoreGraphicsState();
58804
58804
  }
@@ -58852,8 +58852,8 @@ var sf, O3, N3, iv = ["times"];
58852
58852
  else if (re[R].close === !0)
58853
58853
  this.pdf.internal.out("h"), yt = !1;
58854
58854
  else if (re[R].begin !== !0) {
58855
- var $ = re[R].start.x, ge = re[R].start.y;
58856
- Z.call(this, re[R].deltas, $, ge), yt = !0;
58855
+ var $ = re[R].start.x, fe = re[R].start.y;
58856
+ Z.call(this, re[R].deltas, $, fe), yt = !0;
58857
58857
  }
58858
58858
  ee && J.call(this, ee), z && de.call(this);
58859
58859
  }
@@ -58891,7 +58891,7 @@ var sf, O3, N3, iv = ["times"];
58891
58891
  return this.createLinearGradient();
58892
58892
  };
58893
58893
  var M = function(S, z, G, ee, re, Ae, ve, we, Qe) {
58894
- for (var De = he.call(this, G, ee, re, Ae), Me = 0; Me < De.length; Me++) {
58894
+ for (var De = ge.call(this, G, ee, re, Ae), Me = 0; Me < De.length; Me++) {
58895
58895
  var ze = De[Me];
58896
58896
  Me === 0 && (Qe ? D.call(this, ze.x1 + S, ze.y1 + z) : Y.call(this, ze.x1 + S, ze.y1 + z)), be.call(this, S, z, ze.x2, ze.y2, ze.x3, ze.y3, ze.x4, ze.y4);
58897
58897
  }
@@ -58930,7 +58930,7 @@ var sf, O3, N3, iv = ["times"];
58930
58930
  if (I(X), this.autoPaging)
58931
58931
  for (var R = X[0], w = X[X.length - 1], x = R; x < w + 1; x++) {
58932
58932
  this.pdf.setPage(x);
58933
- var N = x === 1 ? this.posY + this.margin[0] : this.margin[0], $ = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], ge = this.pdf.internal.pageSize.height - this.margin[2], xe = ge - this.margin[0], We = this.pdf.internal.pageSize.width - this.margin[1], st = We - this.margin[3], At = x === 1 ? 0 : $ + (x - 2) * xe;
58933
+ var N = x === 1 ? this.posY + this.margin[0] : this.margin[0], $ = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], fe = this.pdf.internal.pageSize.height - this.margin[2], xe = fe - this.margin[0], We = this.pdf.internal.pageSize.width - this.margin[1], st = We - this.margin[3], At = x === 1 ? 0 : $ + (x - 2) * xe;
58934
58934
  if (this.ctx.clip_path.length !== 0) {
58935
58935
  var vt = this.path;
58936
58936
  Qe = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = B(Qe, this.posX + this.margin[3], -1 * At + N), V.call(this, "fill", !0), this.path = vt;
@@ -58938,13 +58938,13 @@ var sf, O3, N3, iv = ["times"];
58938
58938
  var et = B([JSON.parse(JSON.stringify(dt))], this.posX + this.margin[3], -At + N + this.ctx.prevPageLastElemOffset)[0];
58939
58939
  S.scale >= 0.01 && (De = this.pdf.internal.getFontSize(), this.pdf.setFontSize(De * S.scale), Me = this.lineWidth, this.lineWidth = Me * S.scale);
58940
58940
  var Ct = this.autoPaging !== "text";
58941
- if (Ct || et.y + et.h <= ge) {
58941
+ if (Ct || et.y + et.h <= fe) {
58942
58942
  if (Ct || et.y >= N && et.x <= We) {
58943
58943
  var Ye = Ct ? S.text : this.pdf.splitTextToSize(S.text, S.maxWidth || We - et.x)[0], Wr = B([JSON.parse(JSON.stringify(ze))], this.posX + this.margin[3], -At + N + this.ctx.prevPageLastElemOffset)[0], Qt = Ct && (x > R || x < w) && y.call(this);
58944
58944
  Qt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], st, xe, null).clip().discardPath()), this.pdf.text(Ye, Wr.x, Wr.y, { angle: S.angle, align: z, renderingMode: S.renderingMode }), Qt && this.pdf.restoreGraphicsState();
58945
58945
  }
58946
58946
  } else
58947
- et.y < ge && (this.ctx.prevPageLastElemOffset += ge - et.y);
58947
+ et.y < fe && (this.ctx.prevPageLastElemOffset += fe - et.y);
58948
58948
  S.scale >= 0.01 && (this.pdf.setFontSize(De), this.lineWidth = Me);
58949
58949
  }
58950
58950
  else
@@ -58955,7 +58955,7 @@ var sf, O3, N3, iv = ["times"];
58955
58955
  return this.pdf.lines(S, z, G, null, null);
58956
58956
  }, be = function(S, z, G, ee, re, Ae, ve, we) {
58957
58957
  this.pdf.internal.out([e(s(G + S)), e(i(ee + z)), e(s(re + S)), e(i(Ae + z)), e(s(ve + S)), e(i(we + z)), "c"].join(" "));
58958
- }, he = function(S, z, G, ee) {
58958
+ }, ge = function(S, z, G, ee) {
58959
58959
  for (var re = 2 * Math.PI, Ae = Math.PI / 2; z > G; )
58960
58960
  z -= re;
58961
58961
  var ve = Math.abs(G - z);
@@ -58968,16 +58968,16 @@ var sf, O3, N3, iv = ["times"];
58968
58968
  }, _e = function(S, z, G) {
58969
58969
  var ee = (G - z) / 2, re = S * Math.cos(ee), Ae = S * Math.sin(ee), ve = re, we = -Ae, Qe = ve * ve + we * we, De = Qe + ve * re + we * Ae, Me = 4 / 3 * (Math.sqrt(2 * Qe * De) - De) / (ve * Ae - we * re), ze = ve - Me * we, dt = we + Me * ve, Ee = ze, X = -dt, yt = ee + z, R = Math.cos(yt), w = Math.sin(yt);
58970
58970
  return { x1: S * Math.cos(z), y1: S * Math.sin(z), x2: ze * R - dt * w, y2: ze * w + dt * R, x3: Ee * R - X * w, y3: Ee * w + X * R, x4: S * Math.cos(G), y4: S * Math.sin(G) };
58971
- }, pe = function(S) {
58971
+ }, he = function(S) {
58972
58972
  return 180 * S / Math.PI;
58973
58973
  }, Be = function(S, z, G, ee, re, Ae) {
58974
58974
  var ve = S + 0.5 * (G - S), we = z + 0.5 * (ee - z), Qe = re + 0.5 * (G - re), De = Ae + 0.5 * (ee - Ae), Me = Math.min(S, re, ve, Qe), ze = Math.max(S, re, ve, Qe), dt = Math.min(z, Ae, we, De), Ee = Math.max(z, Ae, we, De);
58975
58975
  return new a(Me, dt, ze - Me, Ee - dt);
58976
58976
  }, oe = function(S, z, G, ee, re, Ae, ve, we) {
58977
- var Qe, De, Me, ze, dt, Ee, X, yt, R, w, x, N, $, ge, xe = G - S, We = ee - z, st = re - G, At = Ae - ee, vt = ve - re, et = we - Ae;
58977
+ var Qe, De, Me, ze, dt, Ee, X, yt, R, w, x, N, $, fe, xe = G - S, We = ee - z, st = re - G, At = Ae - ee, vt = ve - re, et = we - Ae;
58978
58978
  for (De = 0; De < 41; De++)
58979
- R = (X = (Me = S + (Qe = De / 40) * xe) + Qe * ((dt = G + Qe * st) - Me)) + Qe * (dt + Qe * (re + Qe * vt - dt) - X), w = (yt = (ze = z + Qe * We) + Qe * ((Ee = ee + Qe * At) - ze)) + Qe * (Ee + Qe * (Ae + Qe * et - Ee) - yt), De == 0 ? (x = R, N = w, $ = R, ge = w) : (x = Math.min(x, R), N = Math.min(N, w), $ = Math.max($, R), ge = Math.max(ge, w));
58980
- return new a(Math.round(x), Math.round(N), Math.round($ - x), Math.round(ge - N));
58979
+ R = (X = (Me = S + (Qe = De / 40) * xe) + Qe * ((dt = G + Qe * st) - Me)) + Qe * (dt + Qe * (re + Qe * vt - dt) - X), w = (yt = (ze = z + Qe * We) + Qe * ((Ee = ee + Qe * At) - ze)) + Qe * (Ee + Qe * (Ae + Qe * et - Ee) - yt), De == 0 ? (x = R, N = w, $ = R, fe = w) : (x = Math.min(x, R), N = Math.min(N, w), $ = Math.max($, R), fe = Math.max(fe, w));
58980
+ return new a(Math.round(x), Math.round(N), Math.round($ - x), Math.round(fe - N));
58981
58981
  }, Ce = function() {
58982
58982
  if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
58983
58983
  var S, z, G = (S = this.ctx.lineDash, z = this.ctx.lineDashOffset, JSON.stringify({ lineDash: S, lineDashOffset: z }));
@@ -59602,7 +59602,7 @@ var JA, of, L3, Q3, M3, sW = function() {
59602
59602
  if (i == null && (i = this.imgData), i.length === 0)
59603
59603
  return new Uint8Array(0);
59604
59604
  function A(u, h, p, m) {
59605
- var y, _, b, B, I, L, V, H, q, M, J, de, D, Q, Y, Z, be, he, _e, pe, Be, oe = Math.ceil((l.width - u) / p), Ce = Math.ceil((l.height - h) / m), S = l.width == oe && l.height == Ce;
59605
+ var y, _, b, B, I, L, V, H, q, M, J, de, D, Q, Y, Z, be, ge, _e, he, Be, oe = Math.ceil((l.width - u) / p), Ce = Math.ceil((l.height - h) / m), S = l.width == oe && l.height == Ce;
59606
59606
  for (Q = o * oe, de = S ? a : new Uint8Array(Q * Ce), L = i.length, D = 0, _ = 0; D < Ce && d < L; ) {
59607
59607
  switch (i[d++]) {
59608
59608
  case 0:
@@ -59610,7 +59610,7 @@ var JA, of, L3, Q3, M3, sW = function() {
59610
59610
  de[_++] = i[d++];
59611
59611
  break;
59612
59612
  case 1:
59613
- for (B = he = 0; he < Q; B = he += 1)
59613
+ for (B = ge = 0; ge < Q; B = ge += 1)
59614
59614
  y = i[d++], I = B < o ? 0 : de[_ - o], de[_++] = (y + I) % 256;
59615
59615
  break;
59616
59616
  case 2:
@@ -59618,7 +59618,7 @@ var JA, of, L3, Q3, M3, sW = function() {
59618
59618
  y = i[d++], b = (B - B % o) / o, Y = D && de[(D - 1) * Q + b * o + B % o], de[_++] = (Y + y) % 256;
59619
59619
  break;
59620
59620
  case 3:
59621
- for (B = pe = 0; pe < Q; B = pe += 1)
59621
+ for (B = he = 0; he < Q; B = he += 1)
59622
59622
  y = i[d++], b = (B - B % o) / o, I = B < o ? 0 : de[_ - o], Y = D && de[(D - 1) * Q + b * o + B % o], de[_++] = (y + Math.floor((I + Y) / 2)) % 256;
59623
59623
  break;
59624
59624
  case 4:
@@ -59824,15 +59824,15 @@ function iW(t) {
59824
59824
  throw new Error("Frame index out of range.");
59825
59825
  return A[Q];
59826
59826
  }, this.decodeAndBlitFrameBGRA = function(Q, Y) {
59827
- var Z = this.frameInfo(Q), be = Z.width * Z.height, he = new Uint8Array(be);
59828
- z3(t, Z.data_offset, he, be);
59829
- var _e = Z.palette_offset, pe = Z.transparent_index;
59830
- pe === null && (pe = 256);
59827
+ var Z = this.frameInfo(Q), be = Z.width * Z.height, ge = new Uint8Array(be);
59828
+ z3(t, Z.data_offset, ge, be);
59829
+ var _e = Z.palette_offset, he = Z.transparent_index;
59830
+ he === null && (he = 256);
59831
59831
  var Be = Z.width, oe = r - Be, Ce = Be, S = 4 * (Z.y * r + Z.x), z = 4 * ((Z.y + Z.height) * r + Z.x), G = S, ee = 4 * oe;
59832
59832
  Z.interlaced === !0 && (ee += 4 * r * 7);
59833
- for (var re = 8, Ae = 0, ve = he.length; Ae < ve; ++Ae) {
59834
- var we = he[Ae];
59835
- if (Ce === 0 && (Ce = Be, (G += ee) >= z && (ee = 4 * oe + 4 * r * (re - 1), G = S + (Be + oe) * (re << 1), re >>= 1)), we === pe)
59833
+ for (var re = 8, Ae = 0, ve = ge.length; Ae < ve; ++Ae) {
59834
+ var we = ge[Ae];
59835
+ if (Ce === 0 && (Ce = Be, (G += ee) >= z && (ee = 4 * oe + 4 * r * (re - 1), G = S + (Be + oe) * (re << 1), re >>= 1)), we === he)
59836
59836
  G += 4;
59837
59837
  else {
59838
59838
  var Qe = t[_e + 3 * we], De = t[_e + 3 * we + 1], Me = t[_e + 3 * we + 2];
@@ -59841,15 +59841,15 @@ function iW(t) {
59841
59841
  --Ce;
59842
59842
  }
59843
59843
  }, this.decodeAndBlitFrameRGBA = function(Q, Y) {
59844
- var Z = this.frameInfo(Q), be = Z.width * Z.height, he = new Uint8Array(be);
59845
- z3(t, Z.data_offset, he, be);
59846
- var _e = Z.palette_offset, pe = Z.transparent_index;
59847
- pe === null && (pe = 256);
59844
+ var Z = this.frameInfo(Q), be = Z.width * Z.height, ge = new Uint8Array(be);
59845
+ z3(t, Z.data_offset, ge, be);
59846
+ var _e = Z.palette_offset, he = Z.transparent_index;
59847
+ he === null && (he = 256);
59848
59848
  var Be = Z.width, oe = r - Be, Ce = Be, S = 4 * (Z.y * r + Z.x), z = 4 * ((Z.y + Z.height) * r + Z.x), G = S, ee = 4 * oe;
59849
59849
  Z.interlaced === !0 && (ee += 4 * r * 7);
59850
- for (var re = 8, Ae = 0, ve = he.length; Ae < ve; ++Ae) {
59851
- var we = he[Ae];
59852
- if (Ce === 0 && (Ce = Be, (G += ee) >= z && (ee = 4 * oe + 4 * r * (re - 1), G = S + (Be + oe) * (re << 1), re >>= 1)), we === pe)
59850
+ for (var re = 8, Ae = 0, ve = ge.length; Ae < ve; ++Ae) {
59851
+ var we = ge[Ae];
59852
+ if (Ce === 0 && (Ce = Be, (G += ee) >= z && (ee = 4 * oe + 4 * r * (re - 1), G = S + (Be + oe) * (re << 1), re >>= 1)), we === he)
59853
59853
  G += 4;
59854
59854
  else {
59855
59855
  var Qe = t[_e + 3 * we], De = t[_e + 3 * we + 1], Me = t[_e + 3 * we + 2];
@@ -59918,7 +59918,7 @@ function z3(t, e, r, n) {
59918
59918
  */
59919
59919
  function ov(t) {
59920
59920
  var e, r, n, s, i, o = Math.floor, a = new Array(64), d = new Array(64), l = new Array(64), A = new Array(64), u = new Array(65535), h = new Array(65535), p = new Array(64), m = new Array(64), y = [], _ = 0, b = 7, B = new Array(64), I = new Array(64), L = new Array(64), V = new Array(256), H = new Array(2048), q = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], M = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], J = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], de = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], D = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], Q = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], Y = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], Z = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], be = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
59921
- function he(S, z) {
59921
+ function ge(S, z) {
59922
59922
  for (var G = 0, ee = 0, re = new Array(), Ae = 1; Ae <= 16; Ae++) {
59923
59923
  for (var ve = 1; ve <= S[Ae]; ve++)
59924
59924
  re[z[ee]] = [], re[z[ee]][0] = G, re[z[ee]][1] = Ae, ee++, G++;
@@ -59928,20 +59928,20 @@ function ov(t) {
59928
59928
  }
59929
59929
  function _e(S) {
59930
59930
  for (var z = S[0], G = S[1] - 1; G >= 0; )
59931
- z & 1 << G && (_ |= 1 << b), G--, --b < 0 && (_ == 255 ? (pe(255), pe(0)) : pe(_), b = 7, _ = 0);
59931
+ z & 1 << G && (_ |= 1 << b), G--, --b < 0 && (_ == 255 ? (he(255), he(0)) : he(_), b = 7, _ = 0);
59932
59932
  }
59933
- function pe(S) {
59933
+ function he(S) {
59934
59934
  y.push(S);
59935
59935
  }
59936
59936
  function Be(S) {
59937
- pe(S >> 8 & 255), pe(255 & S);
59937
+ he(S >> 8 & 255), he(255 & S);
59938
59938
  }
59939
59939
  function oe(S, z, G, ee, re) {
59940
59940
  for (var Ae, ve = re[0], we = re[240], Qe = function(w, x) {
59941
- var N, $, ge, xe, We, st, At, vt, et, Ct, Ye = 0;
59941
+ var N, $, fe, xe, We, st, At, vt, et, Ct, Ye = 0;
59942
59942
  for (et = 0; et < 8; ++et) {
59943
- N = w[Ye], $ = w[Ye + 1], ge = w[Ye + 2], xe = w[Ye + 3], We = w[Ye + 4], st = w[Ye + 5], At = w[Ye + 6];
59944
- var Wr = N + (vt = w[Ye + 7]), Qt = N - vt, Zs = $ + At, rr = $ - At, gr = ge + st, Hi = ge - st, Kt = xe + We, Rl = xe - We, vr = Wr + Kt, $s = Wr - Kt, Eo = Zs + gr, br = Zs - gr;
59943
+ N = w[Ye], $ = w[Ye + 1], fe = w[Ye + 2], xe = w[Ye + 3], We = w[Ye + 4], st = w[Ye + 5], At = w[Ye + 6];
59944
+ var Wr = N + (vt = w[Ye + 7]), Qt = N - vt, Zs = $ + At, rr = $ - At, gr = fe + st, Hi = fe - st, Kt = xe + We, Rl = xe - We, vr = Wr + Kt, $s = Wr - Kt, Eo = Zs + gr, br = Zs - gr;
59945
59945
  w[Ye] = vr + Eo, w[Ye + 4] = vr - Eo;
59946
59946
  var wt = 0.707106781 * (br + $s);
59947
59947
  w[Ye + 2] = $s + wt, w[Ye + 6] = $s - wt;
@@ -59949,8 +59949,8 @@ function ov(t) {
59949
59949
  w[Ye + 5] = ft + Ol, w[Ye + 3] = ft - Ol, w[Ye + 1] = Vi + dn, w[Ye + 7] = Vi - dn, Ye += 8;
59950
59950
  }
59951
59951
  for (Ye = 0, et = 0; et < 8; ++et) {
59952
- N = w[Ye], $ = w[Ye + 8], ge = w[Ye + 16], xe = w[Ye + 24], We = w[Ye + 32], st = w[Ye + 40], At = w[Ye + 48];
59953
- var ei = N + (vt = w[Ye + 56]), Ki = N - vt, Zn = $ + At, Yr = $ - At, Nr = ge + st, As = ge - st, oA = xe + We, ko = xe - We, ti = ei + oA, ri = ei - oA, ni = Zn + Nr, Gi = Zn - Nr;
59952
+ N = w[Ye], $ = w[Ye + 8], fe = w[Ye + 16], xe = w[Ye + 24], We = w[Ye + 32], st = w[Ye + 40], At = w[Ye + 48];
59953
+ var ei = N + (vt = w[Ye + 56]), Ki = N - vt, Zn = $ + At, Yr = $ - At, Nr = fe + st, As = fe - st, oA = xe + We, ko = xe - We, ti = ei + oA, ri = ei - oA, ni = Zn + Nr, Gi = Zn - Nr;
59954
59954
  w[Ye] = ti + ni, w[Ye + 32] = ti - ni;
59955
59955
  var Is = 0.707106781 * (Gi + ri);
59956
59956
  w[Ye + 16] = ri + Is, w[Ye + 48] = ri - Is;
@@ -59998,37 +59998,37 @@ function ov(t) {
59998
59998
  }(S < 50 ? Math.floor(5e3 / S) : Math.floor(200 - 2 * S)), i = S);
59999
59999
  }
60000
60000
  this.encode = function(S, z) {
60001
- z && Ce(z), y = new Array(), _ = 0, b = 7, Be(65496), Be(65504), Be(16), pe(74), pe(70), pe(73), pe(70), pe(0), pe(1), pe(1), pe(0), Be(1), Be(1), pe(0), pe(0), function() {
60002
- Be(65499), Be(132), pe(0);
60001
+ z && Ce(z), y = new Array(), _ = 0, b = 7, Be(65496), Be(65504), Be(16), he(74), he(70), he(73), he(70), he(0), he(1), he(1), he(0), Be(1), Be(1), he(0), he(0), function() {
60002
+ Be(65499), Be(132), he(0);
60003
60003
  for (var $ = 0; $ < 64; $++)
60004
- pe(a[$]);
60005
- pe(1);
60006
- for (var ge = 0; ge < 64; ge++)
60007
- pe(d[ge]);
60008
- }(), function($, ge) {
60009
- Be(65472), Be(17), pe(8), Be(ge), Be($), pe(3), pe(1), pe(17), pe(0), pe(2), pe(17), pe(1), pe(3), pe(17), pe(1);
60004
+ he(a[$]);
60005
+ he(1);
60006
+ for (var fe = 0; fe < 64; fe++)
60007
+ he(d[fe]);
60008
+ }(), function($, fe) {
60009
+ Be(65472), Be(17), he(8), Be(fe), Be($), he(3), he(1), he(17), he(0), he(2), he(17), he(1), he(3), he(17), he(1);
60010
60010
  }(S.width, S.height), function() {
60011
- Be(65476), Be(418), pe(0);
60011
+ Be(65476), Be(418), he(0);
60012
60012
  for (var $ = 0; $ < 16; $++)
60013
- pe(M[$ + 1]);
60014
- for (var ge = 0; ge <= 11; ge++)
60015
- pe(J[ge]);
60016
- pe(16);
60013
+ he(M[$ + 1]);
60014
+ for (var fe = 0; fe <= 11; fe++)
60015
+ he(J[fe]);
60016
+ he(16);
60017
60017
  for (var xe = 0; xe < 16; xe++)
60018
- pe(de[xe + 1]);
60018
+ he(de[xe + 1]);
60019
60019
  for (var We = 0; We <= 161; We++)
60020
- pe(D[We]);
60021
- pe(1);
60020
+ he(D[We]);
60021
+ he(1);
60022
60022
  for (var st = 0; st < 16; st++)
60023
- pe(Q[st + 1]);
60023
+ he(Q[st + 1]);
60024
60024
  for (var At = 0; At <= 11; At++)
60025
- pe(Y[At]);
60026
- pe(17);
60025
+ he(Y[At]);
60026
+ he(17);
60027
60027
  for (var vt = 0; vt < 16; vt++)
60028
- pe(Z[vt + 1]);
60028
+ he(Z[vt + 1]);
60029
60029
  for (var et = 0; et <= 161; et++)
60030
- pe(be[et]);
60031
- }(), Be(65498), Be(12), pe(3), pe(1), pe(0), pe(2), pe(17), pe(3), pe(17), pe(0), pe(63), pe(0);
60030
+ he(be[et]);
60031
+ }(), Be(65498), Be(12), he(3), he(1), he(0), he(2), he(17), he(3), he(17), he(0), he(63), he(0);
60032
60032
  var G = 0, ee = 0, re = 0;
60033
60033
  _ = 0, b = 7, this.encode.displayName = "_encode_";
60034
60034
  for (var Ae, ve, we, Qe, De, Me, ze, dt, Ee, X = S.data, yt = S.width, R = S.height, w = 4 * yt, x = 0; x < R; ) {
@@ -60047,7 +60047,7 @@ function ov(t) {
60047
60047
  }, t = t || 50, function() {
60048
60048
  for (var S = String.fromCharCode, z = 0; z < 256; z++)
60049
60049
  V[z] = S(z);
60050
- }(), e = he(M, J), r = he(Q, Y), n = he(de, D), s = he(Z, be), function() {
60050
+ }(), e = ge(M, J), r = ge(Q, Y), n = ge(de, D), s = ge(Z, be), function() {
60051
60051
  for (var S = 1, z = 2, G = 1; G <= 15; G++) {
60052
60052
  for (var ee = S; ee < z; ee++)
60053
60053
  h[32767 + ee] = G, u[32767 + ee] = [], u[32767 + ee][1] = G, u[32767 + ee][0] = ee;
@@ -60102,8 +60102,8 @@ function H3(t) {
60102
60102
  function a(M, J) {
60103
60103
  var de = [];
60104
60104
  return function D(Q, Y, Z) {
60105
- for (var be = Z[Y], he = 0; he < be && (Q.push(Z.length > Y + 1 ? [] : new J()), !(Z.length < Y + 1)); he++)
60106
- D(Q[he], Y + 1, Z);
60105
+ for (var be = Z[Y], ge = 0; ge < be && (Q.push(Z.length > Y + 1 ? [] : new J()), !(Z.length < Y + 1)); ge++)
60106
+ D(Q[ge], Y + 1, Z);
60107
60107
  }(de, 0, M), de;
60108
60108
  }
60109
60109
  var d = function() {
@@ -60176,16 +60176,16 @@ function H3(t) {
60176
60176
  function be(c, g, v, C) {
60177
60177
  e(c != null), e(g != null), e(2147483648 > C), c.Ca = 254, c.I = 0, c.b = -8, c.Ka = 0, c.oa = g, c.pa = v, c.Jd = g, c.Yc = v + C, c.Zc = 4 <= C ? v + C - 4 + 1 : v, Ae(c);
60178
60178
  }
60179
- function he(c, g) {
60179
+ function ge(c, g) {
60180
60180
  for (var v = 0; 0 < g--; )
60181
60181
  v |= we(c, 128) << g;
60182
60182
  return v;
60183
60183
  }
60184
60184
  function _e(c, g) {
60185
- var v = he(c, g);
60185
+ var v = ge(c, g);
60186
60186
  return ve(c) ? -v : v;
60187
60187
  }
60188
- function pe(c, g, v, C) {
60188
+ function he(c, g, v, C) {
60189
60189
  var E, T = 0;
60190
60190
  for (e(c != null), e(g != null), e(4294967288 > C), c.Sb = C, c.Ra = 0, c.u = 0, c.h = 0, 4 < C && (C = 4), E = 0; E < C; ++E)
60191
60191
  T += g[v + E] << 8 * E;
@@ -60225,7 +60225,7 @@ function H3(t) {
60225
60225
  e(c != null && c.oa != null), c.pa < c.Zc ? (c.I = (c.oa[c.pa++] | c.I << 8) >>> 0, c.b += 8) : (e(c != null && c.oa != null), c.pa < c.Yc ? (c.b += 8, c.I = c.oa[c.pa++] | c.I << 8) : c.Ka ? c.b = 0 : (c.I <<= 8, c.b += 8, c.Ka = 1));
60226
60226
  }
60227
60227
  function ve(c) {
60228
- return he(c, 1);
60228
+ return ge(c, 1);
60229
60229
  }
60230
60230
  function we(c, g) {
60231
60231
  var v = c.Ca;
@@ -60283,11 +60283,11 @@ function H3(t) {
60283
60283
  function $(c, g) {
60284
60284
  return ((4278124286 & (c ^ g)) >>> 1) + (c & g) >>> 0;
60285
60285
  }
60286
- function ge(c) {
60286
+ function fe(c) {
60287
60287
  return 0 <= c && 256 > c ? c : 0 > c ? 0 : 255 < c ? 255 : void 0;
60288
60288
  }
60289
60289
  function xe(c, g) {
60290
- return ge(c + (c - g + 0.5 >> 1));
60290
+ return fe(c + (c - g + 0.5 >> 1));
60291
60291
  }
60292
60292
  function We(c, g, v) {
60293
60293
  return Math.abs(g - v) - Math.abs(c - v);
@@ -60424,7 +60424,7 @@ function H3(t) {
60424
60424
  }
60425
60425
  } else
60426
60426
  alert("todo:EmitYUV");
60427
- E && (g.Jb = Ol, C && ue());
60427
+ E && (g.Jb = Ol, C && pe());
60428
60428
  }
60429
60429
  if (C && !Qw) {
60430
60430
  for (c = 0; 256 > c; ++c)
@@ -60951,12 +60951,12 @@ function H3(t) {
60951
60951
  }
60952
60952
  if (F.Bb)
60953
60953
  for (O = 0; 3 > O; ++O)
60954
- K.jb[O] = ve(T) ? he(T, 8) : 255;
60954
+ K.jb[O] = ve(T) ? ge(T, 8) : 255;
60955
60955
  } else
60956
60956
  F.Bb = 0;
60957
60957
  if (T.Ka)
60958
60958
  return kr(c, 3, "cannot parse segment header");
60959
- if ((F = c.ed).zd = ve(T), F.Tb = he(T, 6), F.wb = he(T, 3), F.Pc = ve(T), F.Pc && ve(T)) {
60959
+ if ((F = c.ed).zd = ve(T), F.Tb = ge(T, 6), F.wb = ge(T, 3), F.Pc = ve(T), F.Pc && ve(T)) {
60960
60960
  for (K = 0; 4 > K; ++K)
60961
60961
  ve(T) && (F.vd[K] = _e(T, 6));
60962
60962
  for (K = 0; 4 > K; ++K)
@@ -60965,7 +60965,7 @@ function H3(t) {
60965
60965
  if (c.L = F.Tb == 0 ? 0 : F.zd ? 1 : 2, T.Ka)
60966
60966
  return kr(c, 3, "cannot parse filter header");
60967
60967
  var ne = E;
60968
- if (E = O = C, C = O + ne, F = ne, c.Xb = (1 << he(c.m, 2)) - 1, ne < 3 * (K = c.Xb))
60968
+ if (E = O = C, C = O + ne, F = ne, c.Xb = (1 << ge(c.m, 2)) - 1, ne < 3 * (K = c.Xb))
60969
60969
  v = 7;
60970
60970
  else {
60971
60971
  for (O += 3 * K, F -= 3 * K, ne = 0; ne < K; ++ne) {
@@ -60976,7 +60976,7 @@ function H3(t) {
60976
60976
  }
60977
60977
  if (v != 0)
60978
60978
  return kr(c, v, "cannot parse partitions");
60979
- for (v = he(O = c.m, 7), E = ve(O) ? _e(O, 4) : 0, C = ve(O) ? _e(O, 4) : 0, F = ve(O) ? _e(O, 4) : 0, K = ve(O) ? _e(O, 4) : 0, O = ve(O) ? _e(O, 4) : 0, ne = c.Qa, me = 0; 4 > me; ++me) {
60979
+ for (v = ge(O = c.m, 7), E = ve(O) ? _e(O, 4) : 0, C = ve(O) ? _e(O, 4) : 0, F = ve(O) ? _e(O, 4) : 0, K = ve(O) ? _e(O, 4) : 0, O = ve(O) ? _e(O, 4) : 0, ne = c.Qa, me = 0; 4 > me; ++me) {
60980
60980
  if (ne.Cb) {
60981
60981
  var ye = ne.Zb[me];
60982
60982
  ne.Fb || (ye += v);
@@ -60996,11 +60996,11 @@ function H3(t) {
60996
60996
  for (E = 0; 8 > E; ++E)
60997
60997
  for (C = 0; 3 > C; ++C)
60998
60998
  for (F = 0; 11 > F; ++F)
60999
- K = we(T, uk[v][E][C][F]) ? he(T, 8) : Ak[v][E][C][F], j.Wc[v][E].Yb[C][F] = K;
60999
+ K = we(T, uk[v][E][C][F]) ? ge(T, 8) : Ak[v][E][C][F], j.Wc[v][E].Yb[C][F] = K;
61000
61000
  for (E = 0; 17 > E; ++E)
61001
61001
  j.Xc[v][E] = j.Wc[v][pk[E]];
61002
61002
  }
61003
- return c.kc = ve(T), c.kc && (c.Bd = he(T, 8)), c.cb = 1;
61003
+ return c.kc = ve(T), c.kc && (c.Bd = ge(T, 8)), c.cb = 1;
61004
61004
  }
61005
61005
  function Bh(c, g, v, C, E, T, j) {
61006
61006
  var F = g[E].Yb[v];
@@ -61526,7 +61526,7 @@ function H3(t) {
61526
61526
  g = 0;
61527
61527
  break e;
61528
61528
  }
61529
- if (e(j != null), j.mc = g, g.c = j.c, g.i = j.i, g.l = j.l, g.l.ma = j, g.l.width = j.c, g.l.height = j.i, g.a = 0, pe(g.m, F, ye, le), !Wi(j.c, j.i, 1, g, null) || (g.ab == 1 && g.gc[0].hc == 3 && ko(g.s) ? (j.ic = 1, F = g.c * g.i, g.Ta = null, g.Ua = 0, g.V = i(F), g.Ba = 0, g.V == null ? (g.a = 1, g = 0) : g = 1) : (j.ic = 0, g = Nl(g, j.c)), !g))
61529
+ if (e(j != null), j.mc = g, g.c = j.c, g.i = j.i, g.l = j.l, g.l.ma = j, g.l.width = j.c, g.l.height = j.i, g.a = 0, he(g.m, F, ye, le), !Wi(j.c, j.i, 1, g, null) || (g.ab == 1 && g.gc[0].hc == 3 && ko(g.s) ? (j.ic = 1, F = g.c * g.i, g.Ta = null, g.Ua = 0, g.V = i(F), g.Ba = 0, g.V == null ? (g.a = 1, g = 0) : g = 1) : (j.ic = 0, g = Nl(g, j.c)), !g))
61530
61530
  break t;
61531
61531
  g = 1;
61532
61532
  break e;
@@ -61554,7 +61554,7 @@ function H3(t) {
61554
61554
  } else {
61555
61555
  if (e(F.mc != null), g = v + C, e((j = F.mc) != null), e(g <= j.i), j.C >= g)
61556
61556
  g = 1;
61557
- else if (F.ic || ue(), F.ic) {
61557
+ else if (F.ic || pe(), F.ic) {
61558
61558
  F = j.V, ye = j.Ba, le = j.c;
61559
61559
  var ke = j.i, se = (Fe = 1, O = j.$ / le, K = j.$ % le, ne = j.m, me = j.s, j.$), ae = le * ke, je = le * g, Oe = me.wc, Pe = se < je ? Nr(me, K, O) : null;
61560
61560
  e(se <= ae), e(g <= ke), e(ko(me));
@@ -61638,7 +61638,7 @@ function H3(t) {
61638
61638
  for (T = 0; T < E; ++T)
61639
61639
  v[C + T] = c[g + T] >> 8;
61640
61640
  }
61641
- function ue() {
61641
+ function pe() {
61642
61642
  Ps = f, ar = k, lr = W, Ir = te;
61643
61643
  }
61644
61644
  function Ie(c, g, v) {
@@ -61876,7 +61876,7 @@ function H3(t) {
61876
61876
  se = 7;
61877
61877
  break;
61878
61878
  }
61879
- F = j, ye = Fe, ke = T, c == null || 5 > v ? c = 0 : 5 <= v && c[g + 0] == 47 && !(c[g + 4] >> 5) ? (ae = [0], Ge = [0], Oe = [0], pe(Pe = new S(), c, g, v), ft(Pe, ae, Ge, Oe) ? (F != null && (F[0] = ae[0]), ye != null && (ye[0] = Ge[0]), ke != null && (ke[0] = Oe[0]), c = 1) : c = 0) : c = 0;
61879
+ F = j, ye = Fe, ke = T, c == null || 5 > v ? c = 0 : 5 <= v && c[g + 0] == 47 && !(c[g + 4] >> 5) ? (ae = [0], Ge = [0], Oe = [0], he(Pe = new S(), c, g, v), ft(Pe, ae, Ge, Oe) ? (F != null && (F[0] = ae[0]), ye != null && (ye[0] = Ge[0]), ke != null && (ke[0] = Oe[0]), c = 1) : c = 0) : c = 0;
61880
61880
  } else {
61881
61881
  if (10 > v) {
61882
61882
  se = 7;
@@ -61986,7 +61986,7 @@ function H3(t) {
61986
61986
  return 0 >= We(C >> 24 & 255, c >> 24 & 255, (g = g[v - 1]) >> 24 & 255) + We(C >> 16 & 255, c >> 16 & 255, g >> 16 & 255) + We(C >> 8 & 255, c >> 8 & 255, g >> 8 & 255) + We(255 & C, 255 & c, 255 & g) ? C : c;
61987
61987
  }, M.Predictor12 = function(c, g, v) {
61988
61988
  var C = g[v + 0];
61989
- return (ge((c >> 24 & 255) + (C >> 24 & 255) - ((g = g[v - 1]) >> 24 & 255)) << 24 | ge((c >> 16 & 255) + (C >> 16 & 255) - (g >> 16 & 255)) << 16 | ge((c >> 8 & 255) + (C >> 8 & 255) - (g >> 8 & 255)) << 8 | ge((255 & c) + (255 & C) - (255 & g))) >>> 0;
61989
+ return (fe((c >> 24 & 255) + (C >> 24 & 255) - ((g = g[v - 1]) >> 24 & 255)) << 24 | fe((c >> 16 & 255) + (C >> 16 & 255) - (g >> 16 & 255)) << 16 | fe((c >> 8 & 255) + (C >> 8 & 255) - (g >> 8 & 255)) << 8 | fe((255 & c) + (255 & C) - (255 & g))) >>> 0;
61990
61990
  }, M.Predictor13 = function(c, g, v) {
61991
61991
  var C = g[v - 1];
61992
61992
  return (xe((c = $(c, g[v + 0])) >> 24 & 255, C >> 24 & 255) << 24 | xe(c >> 16 & 255, C >> 16 & 255) << 16 | xe(c >> 8 & 255, C >> 8 & 255) << 8 | xe(c >> 0 & 255, C >> 0 & 255)) >>> 0;
@@ -62035,7 +62035,7 @@ function H3(t) {
62035
62035
  return 0;
62036
62036
  if (le == null)
62037
62037
  return ye.a = 2, 0;
62038
- if (ye.l = le, ye.a = 0, pe(ye.m, le.data, le.w, le.ha), !ft(ye.m, Fe, ke, se)) {
62038
+ if (ye.l = le, ye.a = 0, he(ye.m, le.data, le.w, le.ha), !ft(ye.m, Fe, ke, se)) {
62039
62039
  ye.a = 3;
62040
62040
  break t;
62041
62041
  }
@@ -62061,7 +62061,7 @@ function H3(t) {
62061
62061
  }
62062
62062
  if (!Nl(C, v.width) || v.da)
62063
62063
  break r;
62064
- if ((v.da || Kt(C.ca.S)) && ue(), 11 > C.ca.S || (alert("todo:WebPInitConvertARGBToYUV"), C.ca.f.kb.F != null && ue()), C.Pb && 0 < C.s.ua && C.s.vb.X == null && !dt(C.s.vb, C.s.Wa.Xa)) {
62064
+ if ((v.da || Kt(C.ca.S)) && pe(), 11 > C.ca.S || (alert("todo:WebPInitConvertARGBToYUV"), C.ca.f.kb.F != null && pe()), C.Pb && 0 < C.s.ua && C.s.vb.X == null && !dt(C.s.vb, C.s.Wa.Xa)) {
62065
62065
  C.a = 1;
62066
62066
  break r;
62067
62067
  }
@@ -62139,24 +62139,24 @@ function H3(t) {
62139
62139
  return !1;
62140
62140
  }(M, J, "RIFF", 4)) {
62141
62141
  for (u(M, J += 4), J += 8; J < M.length; ) {
62142
- var be = l(M, J), he = u(M, J += 4);
62142
+ var be = l(M, J), ge = u(M, J += 4);
62143
62143
  J += 4;
62144
- var _e = he + (1 & he);
62144
+ var _e = ge + (1 & ge);
62145
62145
  switch (be) {
62146
62146
  case "VP8 ":
62147
62147
  case "VP8L":
62148
- de.frames[D] === void 0 && (de.frames[D] = {}), (oe = de.frames[D]).src_off = Q ? Z : J - 8, oe.src_size = Y + he + 8, D++, Q && (Q = !1, Y = 0, Z = 0);
62148
+ de.frames[D] === void 0 && (de.frames[D] = {}), (oe = de.frames[D]).src_off = Q ? Z : J - 8, oe.src_size = Y + ge + 8, D++, Q && (Q = !1, Y = 0, Z = 0);
62149
62149
  break;
62150
62150
  case "VP8X":
62151
62151
  (oe = de.header = {}).feature_flags = M[J];
62152
- var pe = J + 4;
62153
- oe.canvas_width = 1 + A(M, pe), pe += 3, oe.canvas_height = 1 + A(M, pe), pe += 3;
62152
+ var he = J + 4;
62153
+ oe.canvas_width = 1 + A(M, he), he += 3, oe.canvas_height = 1 + A(M, he), he += 3;
62154
62154
  break;
62155
62155
  case "ALPH":
62156
62156
  Q = !0, Y = _e + 8, Z = J - 8;
62157
62157
  break;
62158
62158
  case "ANIM":
62159
- (oe = de.header).bgcolor = u(M, J), pe = J + 4, oe.loop_count = (Ce = M)[(S = pe) + 0] << 0 | Ce[S + 1] << 8, pe += 2;
62159
+ (oe = de.header).bgcolor = u(M, J), he = J + 4, oe.loop_count = (Ce = M)[(S = he) + 0] << 0 | Ce[S + 1] << 8, he += 2;
62160
62160
  break;
62161
62161
  case "ANMF":
62162
62162
  var Be, oe;
@@ -62255,14 +62255,14 @@ function H3(t) {
62255
62255
  return p.indexOf(Math.min.apply(null, p));
62256
62256
  };
62257
62257
  t.processPNG = function(h, p, m, y) {
62258
- var _, b, B, I, L, V, H, q, M, J, de, D, Q, Y, Z, be = this.decode.FLATE_DECODE, he = "";
62258
+ var _, b, B, I, L, V, H, q, M, J, de, D, Q, Y, Z, be = this.decode.FLATE_DECODE, ge = "";
62259
62259
  if (this.__addimage__.isArrayBuffer(h) && (h = new Uint8Array(h)), this.__addimage__.isArrayBufferView(h)) {
62260
62260
  if (h = (B = new sW(h)).imgData, b = B.bits, _ = B.colorSpace, L = B.colors, [4, 6].indexOf(B.colorType) !== -1) {
62261
62261
  if (B.bits === 8) {
62262
62262
  M = (q = B.pixelBitlength == 32 ? new Uint32Array(B.decodePixels().buffer) : B.pixelBitlength == 16 ? new Uint16Array(B.decodePixels().buffer) : new Uint8Array(B.decodePixels().buffer)).length, de = new Uint8Array(M * B.colors), J = new Uint8Array(M);
62263
- var _e, pe = B.pixelBitlength - B.bits;
62263
+ var _e, he = B.pixelBitlength - B.bits;
62264
62264
  for (Y = 0, Z = 0; Y < M; Y++) {
62265
- for (Q = q[Y], _e = 0; _e < pe; )
62265
+ for (Q = q[Y], _e = 0; _e < he; )
62266
62266
  de[Z++] = Q >>> _e & 255, _e += B.bits;
62267
62267
  J[Y] = Q >>> _e & 255;
62268
62268
  }
@@ -62304,7 +62304,7 @@ function H3(t) {
62304
62304
  }
62305
62305
  return G;
62306
62306
  }(y);
62307
- return be === this.decode.FLATE_DECODE && (he = "/Predictor " + S + " "), he += "/Colors " + L + " /BitsPerComponent " + b + " /Columns " + B.width, (this.__addimage__.isArrayBuffer(h) || this.__addimage__.isArrayBufferView(h)) && (h = this.__addimage__.arrayBufferToBinaryString(h)), (H && this.__addimage__.isArrayBuffer(H) || this.__addimage__.isArrayBufferView(H)) && (H = this.__addimage__.arrayBufferToBinaryString(H)), { alias: m, data: h, index: p, filter: be, decodeParameters: he, transparency: I, palette: V, sMask: H, predictor: S, width: B.width, height: B.height, bitsPerComponent: b, colorSpace: _ };
62307
+ return be === this.decode.FLATE_DECODE && (ge = "/Predictor " + S + " "), ge += "/Colors " + L + " /BitsPerComponent " + b + " /Columns " + B.width, (this.__addimage__.isArrayBuffer(h) || this.__addimage__.isArrayBufferView(h)) && (h = this.__addimage__.arrayBufferToBinaryString(h)), (H && this.__addimage__.isArrayBuffer(H) || this.__addimage__.isArrayBufferView(H)) && (H = this.__addimage__.arrayBufferToBinaryString(H)), { alias: m, data: h, index: p, filter: be, decodeParameters: ge, transparency: I, palette: V, sMask: H, predictor: S, width: B.width, height: B.height, bitsPerComponent: b, colorSpace: _ };
62308
62308
  }
62309
62309
  };
62310
62310
  })(gt.API), function(t) {
@@ -62584,7 +62584,7 @@ function(t) {
62584
62584
  */
62585
62585
  function(t) {
62586
62586
  function e() {
62587
- return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-383d0109.js")).catch(function(r) {
62587
+ return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-65d9a57e.js")).catch(function(r) {
62588
62588
  return Promise.reject(new Error("Could not load canvg: " + r));
62589
62589
  }).then(function(r) {
62590
62590
  return r.default ? r.default : r;
@@ -62835,7 +62835,7 @@ function(t) {
62835
62835
  }
62836
62836
  return !1;
62837
62837
  }, H = function(D, Q, Y, Z) {
62838
- var be, he, _e, pe, Be = Q[Z];
62838
+ var be, ge, _e, he, Be = Q[Z];
62839
62839
  switch (Be) {
62840
62840
  case "L":
62841
62841
  case "R":
@@ -62854,7 +62854,7 @@ function(t) {
62854
62854
  Be = "N";
62855
62855
  break;
62856
62856
  case "CS":
62857
- Z < 1 || Z + 1 >= Q.length || (be = Y[Z - 1]) !== "EN" && be !== "AN" || (he = Q[Z + 1]) !== "EN" && he !== "AN" ? Be = "N" : B && (he = "AN"), Be = he === be ? he : "N";
62857
+ Z < 1 || Z + 1 >= Q.length || (be = Y[Z - 1]) !== "EN" && be !== "AN" || (ge = Q[Z + 1]) !== "EN" && ge !== "AN" ? Be = "N" : B && (ge = "AN"), Be = ge === be ? ge : "N";
62858
62858
  break;
62859
62859
  case "ES":
62860
62860
  Be = (be = Z > 0 ? Y[Z - 1] : "B") === "EN" && Z + 1 < Q.length && Q[Z + 1] === "EN" ? "EN" : "N";
@@ -62868,15 +62868,15 @@ function(t) {
62868
62868
  Be = "N";
62869
62869
  break;
62870
62870
  }
62871
- for (_e = Z + 1, pe = Q.length; _e < pe && Q[_e] === "ET"; )
62871
+ for (_e = Z + 1, he = Q.length; _e < he && Q[_e] === "ET"; )
62872
62872
  _e++;
62873
- Be = _e < pe && Q[_e] === "EN" ? "EN" : "N";
62873
+ Be = _e < he && Q[_e] === "EN" ? "EN" : "N";
62874
62874
  break;
62875
62875
  case "NSM":
62876
62876
  if (o && !a) {
62877
- for (pe = Q.length, _e = Z + 1; _e < pe && Q[_e] === "NSM"; )
62877
+ for (he = Q.length, _e = Z + 1; _e < he && Q[_e] === "NSM"; )
62878
62878
  _e++;
62879
- if (_e < pe) {
62879
+ if (_e < he) {
62880
62880
  var oe = D[Z], Ce = oe >= 1425 && oe <= 2303 || oe === 64286;
62881
62881
  if (be = Q[_e], Ce && (be === "R" || be === "AL")) {
62882
62882
  Be = "R";
@@ -62907,25 +62907,25 @@ function(t) {
62907
62907
  var Z = D.split("");
62908
62908
  return Y && M(Z, Y, { hiLevel: I }), Z.reverse(), Q && Q.reverse(), Z.join("");
62909
62909
  }, M = function(D, Q, Y) {
62910
- var Z, be, he, _e, pe, Be = -1, oe = D.length, Ce = 0, S = [], z = I ? p : h, G = [];
62910
+ var Z, be, ge, _e, he, Be = -1, oe = D.length, Ce = 0, S = [], z = I ? p : h, G = [];
62911
62911
  for (B = !1, s = !1, i = !1, be = 0; be < oe; be++)
62912
62912
  G[be] = L(D[be]);
62913
- for (he = 0; he < oe; he++) {
62914
- if (pe = Ce, S[he] = H(D, G, S, he), Z = 240 & (Ce = z[pe][m[S[he]]]), Ce &= 15, Q[he] = _e = z[Ce][5], Z > 0)
62913
+ for (ge = 0; ge < oe; ge++) {
62914
+ if (he = Ce, S[ge] = H(D, G, S, ge), Z = 240 & (Ce = z[he][m[S[ge]]]), Ce &= 15, Q[ge] = _e = z[Ce][5], Z > 0)
62915
62915
  if (Z === 16) {
62916
- for (be = Be; be < he; be++)
62916
+ for (be = Be; be < ge; be++)
62917
62917
  Q[be] = 1;
62918
62918
  Be = -1;
62919
62919
  } else
62920
62920
  Be = -1;
62921
62921
  if (z[Ce][6])
62922
- Be === -1 && (Be = he);
62922
+ Be === -1 && (Be = ge);
62923
62923
  else if (Be > -1) {
62924
- for (be = Be; be < he; be++)
62924
+ for (be = Be; be < ge; be++)
62925
62925
  Q[be] = _e;
62926
62926
  Be = -1;
62927
62927
  }
62928
- G[he] === "B" && (Q[he] = 0), Y.hiLevel |= _e;
62928
+ G[ge] === "B" && (Q[ge] = 0), Y.hiLevel |= _e;
62929
62929
  }
62930
62930
  i && function(ee, re, Ae) {
62931
62931
  for (var ve = 0; ve < Ae; ve++)
@@ -62939,30 +62939,30 @@ function(t) {
62939
62939
  if (!(be.hiLevel < D)) {
62940
62940
  if (D === 1 && I === 1 && !s)
62941
62941
  return Q.reverse(), void (Y && Y.reverse());
62942
- for (var he, _e, pe, Be, oe = Q.length, Ce = 0; Ce < oe; ) {
62942
+ for (var ge, _e, he, Be, oe = Q.length, Ce = 0; Ce < oe; ) {
62943
62943
  if (Z[Ce] >= D) {
62944
- for (pe = Ce + 1; pe < oe && Z[pe] >= D; )
62945
- pe++;
62946
- for (Be = Ce, _e = pe - 1; Be < _e; Be++, _e--)
62947
- he = Q[Be], Q[Be] = Q[_e], Q[_e] = he, Y && (he = Y[Be], Y[Be] = Y[_e], Y[_e] = he);
62948
- Ce = pe;
62944
+ for (he = Ce + 1; he < oe && Z[he] >= D; )
62945
+ he++;
62946
+ for (Be = Ce, _e = he - 1; Be < _e; Be++, _e--)
62947
+ ge = Q[Be], Q[Be] = Q[_e], Q[_e] = ge, Y && (ge = Y[Be], Y[Be] = Y[_e], Y[_e] = ge);
62948
+ Ce = he;
62949
62949
  }
62950
62950
  Ce++;
62951
62951
  }
62952
62952
  }
62953
62953
  }, de = function(D, Q, Y) {
62954
62954
  var Z = D.split(""), be = { hiLevel: I };
62955
- return Y || (Y = []), M(Z, Y, be), function(he, _e, pe) {
62956
- if (pe.hiLevel !== 0 && A)
62957
- for (var Be, oe = 0; oe < he.length; oe++)
62958
- _e[oe] === 1 && (Be = _.indexOf(he[oe])) >= 0 && (he[oe] = _[Be + 1]);
62955
+ return Y || (Y = []), M(Z, Y, be), function(ge, _e, he) {
62956
+ if (he.hiLevel !== 0 && A)
62957
+ for (var Be, oe = 0; oe < ge.length; oe++)
62958
+ _e[oe] === 1 && (Be = _.indexOf(ge[oe])) >= 0 && (ge[oe] = _[Be + 1]);
62959
62959
  }(Z, Y, be), J(2, Z, Q, Y, be), J(1, Z, Q, Y, be), Z.join("");
62960
62960
  };
62961
62961
  return this.__bidiEngine__.doBidiReorder = function(D, Q, Y) {
62962
- if (function(be, he) {
62963
- if (he)
62962
+ if (function(be, ge) {
62963
+ if (ge)
62964
62964
  for (var _e = 0; _e < be.length; _e++)
62965
- he[_e] = _e;
62965
+ ge[_e] = _e;
62966
62966
  a === void 0 && (a = V(be)), l === void 0 && (l = V(be));
62967
62967
  }(D, Q), o || !d || l)
62968
62968
  if (o && d && a ^ l)
@@ -63191,7 +63191,7 @@ var lW = function(t) {
63191
63191
  e.pos = u;
63192
63192
  }
63193
63193
  return t.encode = function(e, r) {
63194
- var n, s, i, o, a, d, l, A, u, h, p, m, y, _, b, B, I, L, V, H, q, M, J, de, D, Q, Y, Z, be, he, _e, pe, Be, oe, Ce, S, z, G, ee, re, Ae, ve, we, Qe, De, Me;
63194
+ var n, s, i, o, a, d, l, A, u, h, p, m, y, _, b, B, I, L, V, H, q, M, J, de, D, Q, Y, Z, be, ge, _e, he, Be, oe, Ce, S, z, G, ee, re, Ae, ve, we, Qe, De, Me;
63195
63195
  switch (Z = new fl(), o = Object.keys(e).sort(function(ze, dt) {
63196
63196
  return ze - dt;
63197
63197
  }), r) {
@@ -63205,15 +63205,15 @@ var lW = function(t) {
63205
63205
  B[we = e[s = o[be]]] == null && (B[we] = ++y), i[s] = { old: e[s], new: B[e[s]] }, _[s] = B[e[s]];
63206
63206
  return Z.writeUInt16(1), Z.writeUInt16(0), Z.writeUInt32(12), Z.writeUInt16(0), Z.writeUInt16(262), Z.writeUInt16(0), Z.write(_), { charMap: i, subtable: Z.data, maxGlyphID: y + 1 };
63207
63207
  case "unicode":
63208
- for (Q = [], u = [], I = 0, B = {}, n = {}, b = l = null, he = 0, oe = o.length; he < oe; he++)
63209
- B[V = e[s = o[he]]] == null && (B[V] = ++I), n[s] = { old: V, new: B[V] }, a = B[V] - s, b != null && a === l || (b && u.push(b), Q.push(s), l = a), b = s;
63208
+ for (Q = [], u = [], I = 0, B = {}, n = {}, b = l = null, ge = 0, oe = o.length; ge < oe; ge++)
63209
+ B[V = e[s = o[ge]]] == null && (B[V] = ++I), n[s] = { old: V, new: B[V] }, a = B[V] - s, b != null && a === l || (b && u.push(b), Q.push(s), l = a), b = s;
63210
63210
  for (b && u.push(b), u.push(65535), Q.push(65535), de = 2 * (J = Q.length), M = 2 * Math.pow(Math.log(J) / Math.LN2, 2), h = Math.log(M / 2) / Math.LN2, q = 2 * J - M, d = [], H = [], p = [], m = _e = 0, Ce = Q.length; _e < Ce; m = ++_e) {
63211
63211
  if (D = Q[m], A = u[m], D === 65535) {
63212
63212
  d.push(0), H.push(0);
63213
63213
  break;
63214
63214
  }
63215
63215
  if (D - (Y = n[D].new) >= 32768)
63216
- for (d.push(0), H.push(2 * (p.length + J - m)), s = pe = D; D <= A ? pe <= A : pe >= A; s = D <= A ? ++pe : --pe)
63216
+ for (d.push(0), H.push(2 * (p.length + J - m)), s = he = D; D <= A ? he <= A : he >= A; s = D <= A ? ++he : --he)
63217
63217
  p.push(n[s].new);
63218
63218
  else
63219
63219
  d.push(Y - D), H.push(0);
@@ -64103,7 +64103,7 @@ let Dr = class t extends qe {
64103
64103
  }
64104
64104
  connectedCallback() {
64105
64105
  super.connectedCallback(), this.addEventListener("click2payNotAvailable", () => {
64106
- fe.info("click2payNotAvailable", {
64106
+ ue.info("click2payNotAvailable", {
64107
64107
  context: Te.CLICK_TO_PAY,
64108
64108
  tag: "CLICK_TO_PAY_NOT_AVAILABLE",
64109
64109
  origin_sdk: nd,
@@ -64113,7 +64113,7 @@ let Dr = class t extends qe {
64113
64113
  }), this.stateC2p.isC2pAvailable = !1;
64114
64114
  }), this.addEventListener("click2payInitialized", (e) => {
64115
64115
  const r = e;
64116
- fe.info("c2pInitialized", {
64116
+ ue.info("c2pInitialized", {
64117
64117
  context: Te.CLICK_TO_PAY,
64118
64118
  tag: "C2P_INITIALIZED_CONTEXT",
64119
64119
  origin_sdk: nd,
@@ -64126,7 +64126,7 @@ let Dr = class t extends qe {
64126
64126
  ), this.stateC2p.isC2pAvailable = !0;
64127
64127
  }), this.addEventListener("userRecognized", (e) => {
64128
64128
  const r = e;
64129
- this.stateC2p.userRecognized = r.detail.userRecognized, fe.info("c2pUserRecognized", {
64129
+ this.stateC2p.userRecognized = r.detail.userRecognized, ue.info("c2pUserRecognized", {
64130
64130
  context: Te.CLICK_TO_PAY,
64131
64131
  tag: "C2P_USER_RECOGNIZED_CONTEXT",
64132
64132
  origin_sdk: nd,
@@ -64141,7 +64141,7 @@ let Dr = class t extends qe {
64141
64141
  }), this.addEventListener("newCardSelected", (e) => ce(this, null, function* () {
64142
64142
  var n;
64143
64143
  const r = e;
64144
- if (fe.info("newCardSelected", {
64144
+ if (ue.info("newCardSelected", {
64145
64145
  context: Te.CLICK_TO_PAY,
64146
64146
  tag: "NEW_CARD_SELECTED_CONTEXT",
64147
64147
  origin_sdk: nd,
@@ -64167,13 +64167,13 @@ let Dr = class t extends qe {
64167
64167
  try {
64168
64168
  this.stateC2p.encryptedCardData = yield ST(this.stateC2p.mcService, o);
64169
64169
  } catch (a) {
64170
- fe.error("error handling new card", { tag: "ERROR_NEW_CARD" }, a);
64170
+ ue.error("error handling new card", { tag: "ERROR_NEW_CARD" }, a);
64171
64171
  return;
64172
64172
  }
64173
64173
  }
64174
64174
  })), this.addEventListener("defaultCardSelected", (e) => {
64175
64175
  const r = e;
64176
- this.stateC2p.cardBrand = r.detail.cardBrand, this.stateC2p.cardType = r.detail.cardType, this.stateC2p.bines = r.detail.bin, this.stateC2p.creditNumber = r.detail.creditNumber, this.stateC2p.codSeg = r.detail.codSeg, this.stateC2p.expired = r.detail.expired, fe.info("defaultCardSelected", {
64176
+ this.stateC2p.cardBrand = r.detail.cardBrand, this.stateC2p.cardType = r.detail.cardType, this.stateC2p.bines = r.detail.bin, this.stateC2p.creditNumber = r.detail.creditNumber, this.stateC2p.codSeg = r.detail.codSeg, this.stateC2p.expired = r.detail.expired, ue.info("defaultCardSelected", {
64177
64177
  context: Te.CLICK_TO_PAY,
64178
64178
  tag: "DEFAULT_MANUAL_CARD_SELECTED_CONTEXT",
64179
64179
  origin_sdk: nd,
@@ -64184,7 +64184,7 @@ let Dr = class t extends qe {
64184
64184
  });
64185
64185
  }), this.addEventListener("selectedInstallment", (e) => {
64186
64186
  const r = e;
64187
- this.stateC2p.selectedInstallment = r.detail.selectedInstallment, fe.info("selectedInstallment", {
64187
+ this.stateC2p.selectedInstallment = r.detail.selectedInstallment, ue.info("selectedInstallment", {
64188
64188
  context: Te.CLICK_TO_PAY,
64189
64189
  tag: "SELECTED_INSTALLMENT_CONTEXT",
64190
64190
  origin_sdk: nd,
@@ -64195,7 +64195,7 @@ let Dr = class t extends qe {
64195
64195
  });
64196
64196
  }), this.addEventListener("checkoutCompleted", (e) => {
64197
64197
  const r = e;
64198
- fe.info("checkoutCompleted", {
64198
+ ue.info("checkoutCompleted", {
64199
64199
  context: Te.CLICK_TO_PAY,
64200
64200
  tag: "CHECKOUT_COMPLETED_CONTEXT",
64201
64201
  origin_sdk: nd,
@@ -64412,10 +64412,13 @@ let Gn = class extends qe {
64412
64412
  }
64413
64413
  connectedCallback() {
64414
64414
  super.connectedCallback(), this.addEventListener("button-pushed", (t) => ce(this, null, function* () {
64415
- this._isShowCardPayment = !0, this._stateC2p.page = t.detail ? t.detail : pt.C2P_INPUT, fe.info("current-page-c2p", { page: this._stateC2p.page }), this._updateCustomerProperties(t.detail), this._shouldHideCardPayment(t.detail) && (this._isShowCardPayment = !1), t.detail === pt.C2P_INPUT && (yield this._loadClick2paySDK(), this._isLoading && (this._isLoading = !1), this._stateC2p.isActiveWs || (yield this.webSocket())), this.requestUpdate();
64415
+ this._isShowCardPayment = !0;
64416
+ const e = t.detail ? t.detail : pt.C2P_INPUT;
64417
+ ue.info("current-page-c2p", { page: this._stateC2p.page, stateStatus: this._stateStatus }), this._updateCustomerProperties(t.detail), this._shouldHideCardPayment(t.detail) && (this._isShowCardPayment = !1), t.detail === pt.C2P_INPUT && (yield this._loadClick2paySDK(), this._stateC2p.isActiveWs || this.webSocket()), this._stateC2p.page = e, this._isLoading && (this._isLoading = !1), ue.info("next-page-c2p", { page: this._stateC2p.page, stateStatus: this._stateStatus }), this.requestUpdate();
64416
64418
  }));
64417
64419
  }
64418
64420
  _updateCustomerProperties(t) {
64421
+ ue.info("app-home::_updateCustomerProperties");
64419
64422
  const { OTP_INPUT: e, LOADING: r, STATUS: n, QR: s } = pt;
64420
64423
  this._settings.customerProperties.show_subtitle = ![e, r, n, s].includes(t), this._settings.customerProperties.show_title = ![r, n, s].includes(t);
64421
64424
  }
@@ -64429,7 +64432,7 @@ let Gn = class extends qe {
64429
64432
  return ce(this, null, function* () {
64430
64433
  let t = Object.keys(this._stateC2p.mcService).length > 0;
64431
64434
  if (!t)
64432
- for (fe.info("waitingMcService", {
64435
+ for (ue.info("waitingMcService", {
64433
64436
  context: Te.CLICK_TO_PAY,
64434
64437
  tag: "WAITING_MC_SERVICE_HOLDER_FORM",
64435
64438
  origin_sdk: av,
@@ -64496,6 +64499,7 @@ let Gn = class extends qe {
64496
64499
  webSocket() {
64497
64500
  return ce(this, null, function* () {
64498
64501
  var t;
64502
+ ue.info("app-home::webSocket");
64499
64503
  try {
64500
64504
  const e = yield Ut.connect(this._stateC2p.statePaymentRequest.id);
64501
64505
  if (this._stateC2p.isActiveWs = Ut.wsIsRunning(), e.status === "WS_DISCONNECTED") {
@@ -64517,7 +64521,7 @@ let Gn = class extends qe {
64517
64521
  }
64518
64522
  setDurationPayment(t) {
64519
64523
  var e;
64520
- Ut.getStartPaymentTime() && (fe.info("paymentDuration", {
64524
+ Ut.getStartPaymentTime() && (ue.info("paymentDuration", {
64521
64525
  context: Te.CLICK_TO_PAY,
64522
64526
  origin_sdk: av,
64523
64527
  tag: "PAYMENT_DURATION",
@@ -64535,11 +64539,11 @@ let Gn = class extends qe {
64535
64539
  getPaymentRequestAndRedirectToStatus() {
64536
64540
  return ce(this, null, function* () {
64537
64541
  try {
64538
- fe.info("app-home::getPaymentRequestAndRedirectToStatus");
64542
+ ue.info("app-home::getPaymentRequestAndRedirectToStatus");
64539
64543
  const t = yield _i(this._stateC2p.statePaymentRequest.id);
64540
64544
  this.setDurationPayment(t.response), this._stateC2p.statePaymentRequest = t.response, this._statusMessage = t.response.status;
64541
64545
  } catch (t) {
64542
- fe.error(
64546
+ ue.error(
64543
64547
  "getPaymentRequestRedirectStatus",
64544
64548
  {
64545
64549
  context: Te.CLICK_TO_PAY,
@@ -64684,7 +64688,7 @@ let Ti = class extends qe {
64684
64688
  }
64685
64689
  _deepLinkModo() {
64686
64690
  var r, n, s, i;
64687
- this._startPolling(), fe.info("deepLinkModoClicked", {
64691
+ this._startPolling(), ue.info("deepLinkModoClicked", {
64688
64692
  context: Te.CLICK_TO_PAY,
64689
64693
  origin_sdk: qW,
64690
64694
  tag: "MODO_CLICKED",
@@ -65218,7 +65222,7 @@ let or = class t extends qe {
65218
65222
  return;
65219
65223
  yield this._triggerCheckout();
65220
65224
  }
65221
- fe.info("c2pModalLoading", {
65225
+ ue.info("c2pModalLoading", {
65222
65226
  context: Te.CLICK_TO_PAY,
65223
65227
  tag: "LOADING",
65224
65228
  is_embedded: this._payfacContext.isEmbedded,
@@ -65239,7 +65243,7 @@ let or = class t extends qe {
65239
65243
  _triggerCheckoutTask() {
65240
65244
  return ce(this, null, function* () {
65241
65245
  var d, l, A, u, h, p, m, y, _;
65242
- this._checkoutResponse = this._c2pState.checkoutResponse, fe.info("C2PCheckoutTask", {
65246
+ this._checkoutResponse = this._c2pState.checkoutResponse, ue.info("C2PCheckoutTask", {
65243
65247
  context: Te.CLICK_TO_PAY,
65244
65248
  tag: "TRIGGER_CHECKOUT_TAG",
65245
65249
  origin_sdk: sd,
@@ -65279,7 +65283,7 @@ let or = class t extends qe {
65279
65283
  }
65280
65284
  };
65281
65285
  try {
65282
- (yield jT(a)).cvvRequired && this._lastStepCvv.length < 3 ? (this._c2pState.cvcRequired = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", pt.SUMMARY), fe.info("cardRequiresCVV", {
65286
+ (yield jT(a)).cvvRequired && this._lastStepCvv.length < 3 ? (this._c2pState.cvcRequired = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", pt.SUMMARY), ue.info("cardRequiresCVV", {
65283
65287
  context: Te.CLICK_TO_PAY,
65284
65288
  tag: "CARD_CVV_REQUIRED",
65285
65289
  origin_sdk: sd,
@@ -65289,7 +65293,7 @@ let or = class t extends qe {
65289
65293
  }
65290
65294
  })) : (this._c2pState.cvcRequired = !1, this._stateStatus.isStart = !0);
65291
65295
  } catch (b) {
65292
- fe.error("Trigger checkout error", { tag: "TRIGGER_CHECKOUT_TASK_ERROR" }, b), nt("TRIGGER_CHECKOUT_TASK_ERROR", "Direct payment tokenized failed."), this.defaultMessageError(), fe.error(
65296
+ ue.error("Trigger checkout error", { tag: "TRIGGER_CHECKOUT_TASK_ERROR" }, b), nt("TRIGGER_CHECKOUT_TASK_ERROR", "Direct payment tokenized failed."), this.defaultMessageError(), ue.error(
65293
65297
  "paymentTokenized",
65294
65298
  {
65295
65299
  context: Te.CLICK_TO_PAY,
@@ -65308,7 +65312,7 @@ let or = class t extends qe {
65308
65312
  _triggerCheckout() {
65309
65313
  return ce(this, null, function* () {
65310
65314
  var e, r;
65311
- fe.info("triggerCheckout", {
65315
+ ue.info("triggerCheckout", {
65312
65316
  context: Te.CLICK_TO_PAY,
65313
65317
  tag: "TRIGGER_CHECKOUT_MODAL",
65314
65318
  origin_sdk: sd,
@@ -65319,20 +65323,20 @@ let or = class t extends qe {
65319
65323
  try {
65320
65324
  this._c2pState.useC2P && ((r = this._c2pState.availableNetworks) != null && r.includes(this._c2pState.cardBrand)) ? yield this._triggerCheckoutTask() : yield this.directPaymentTransparent();
65321
65325
  } catch (n) {
65322
- fe.error("trigger checkout error", { tag: "TRIGGER_CHECKOUT_ERROR" }, n), this.defaultMessageError(), this.createEvent("button-pushed", pt.STATUS);
65326
+ ue.error("trigger checkout error", { tag: "TRIGGER_CHECKOUT_ERROR" }, n), this.defaultMessageError(), this.createEvent("button-pushed", pt.STATUS);
65323
65327
  }
65324
65328
  });
65325
65329
  }
65326
65330
  getPaymentRequest() {
65327
65331
  return ce(this, null, function* () {
65328
- fe.info("click2pay-modal::getPaymentRequest");
65332
+ ue.info("click2pay-modal::getPaymentRequest");
65329
65333
  try {
65330
65334
  this._payfacContext.context = Te.CLICK_TO_PAY;
65331
65335
  const e = this._payfacContext.paymentRequest;
65332
65336
  this._c2pState.statePaymentRequest = e, this._c2pState.click2PayPaymentInput = this._payfacContext.paymentRequest.payment_inputs.click_to_pay;
65333
65337
  const r = yield N2(e);
65334
65338
  if (r.error) {
65335
- this._stateStatus.title = r.message.title, this._stateStatus.subtitle = r.message.subtitle, this._stateStatus.icon = r.message.icon, this._stateStatus.status = r.status, this._stateStatus.nameReturnButton = r.message.nameReturnButton || "", this._stateStatus.returnButton = r.message.returnButton || !1, this._stateStatus.hasDownloadPDF = r.message.hasDownloadPDF || !1, this.createEvent("button-pushed", pt.STATUS);
65339
+ this._stateStatus.title = r.message.title, this._stateStatus.subtitle = r.message.subtitle, this._stateStatus.icon = r.message.icon, this._stateStatus.status = r.status, this._stateStatus.nameReturnButton = r.message.nameReturnButton || "", this._stateStatus.returnButton = r.message.returnButton || !1, this._stateStatus.hasDownloadPDF = r.message.hasDownloadPDF || !1, this.createEvent("button-pushed", pt.STATUS), ue.info("click2pay-modal::responseValidateStatus has error", { responseValidateStatus: r });
65336
65340
  return;
65337
65341
  }
65338
65342
  this._setDpaInfo(), yield this.validateCircuitBreaker(), yield this.getPromotions(), this._c2pState.statePaymentRequest = e, this._c2pState.page = pt.C2P_INPUT, this._c2pProps = Ve({}, this._c2pProps), this.createEvent("button-pushed", this._c2pState.page);
@@ -65389,7 +65393,7 @@ let or = class t extends qe {
65389
65393
  );
65390
65394
  try {
65391
65395
  const i = yield g2(r);
65392
- fe.info("directPaymentTransparent", {
65396
+ ue.info("directPaymentTransparent", {
65393
65397
  context: Te.CLICK_TO_PAY,
65394
65398
  tag: "POST_DIRECT_PAYMENT_TRANSPARENT",
65395
65399
  origin_sdk: sd,
@@ -65400,7 +65404,7 @@ let or = class t extends qe {
65400
65404
  }
65401
65405
  });
65402
65406
  } catch (i) {
65403
- nt("DIRECT_PAYMENT_ERROR", "Direct payment failed."), this.defaultMessageError(), fe.error(
65407
+ nt("DIRECT_PAYMENT_ERROR", "Direct payment failed."), this.defaultMessageError(), ue.error(
65404
65408
  "directPaymentTransparent",
65405
65409
  {
65406
65410
  context: Te.CLICK_TO_PAY,
@@ -65438,10 +65442,10 @@ let or = class t extends qe {
65438
65442
  const e = yield _i(this._c2pState.statePaymentRequest.id);
65439
65443
  if (this._c2pState.statePaymentRequest = e.response, e.response.status === yi.SUCCESS_PROCESSED) {
65440
65444
  const r = Pf(e.response.payment_type);
65441
- nt(r.status, ""), r && (this._stateStatus.title = r.title, this._stateStatus.subtitle = r.subtitle, this._stateStatus.icon = r.icon, this._stateStatus.status = r.status, this._stateStatus.name = r.name, this._stateStatus.returnButton = r.returnButton, this._stateStatus.nameReturnButton = r.nameReturnButton, this._c2pState.isActiveWs = !1, this._c2pState.isExtendedWs = !1, this.createEvent("button-pushed", pt.STATUS));
65445
+ nt(r.status, ""), r && (this._stateStatus.title = r.title, this._stateStatus.subtitle = r.subtitle, this._stateStatus.icon = r.icon, this._stateStatus.status = r.status, this._stateStatus.name = r.name, this._stateStatus.returnButton = r.returnButton, this._stateStatus.nameReturnButton = r.nameReturnButton, this._c2pState.isActiveWs = !1, this._c2pState.isExtendedWs = !1, ue.info("click2pay-modal::status::extendedWs -> CLICK_TO_PAY_PAGES.STATUS"), this.createEvent("button-pushed", pt.STATUS));
65442
65446
  return;
65443
65447
  }
65444
- this.createEvent("button-pushed", pt.C2P_INPUT);
65448
+ ue.info("click2pay-modal::status::extendedWs -> CLICK_TO_PAY_PAGES.C2P_INPUT"), this.createEvent("button-pushed", pt.C2P_INPUT);
65445
65449
  } catch (e) {
65446
65450
  console.log(e), nt("PAYMENT_REQUEST_EXTENDED_WS_ERROR", "Payment request in the extended web socket failed.");
65447
65451
  }
@@ -65603,7 +65607,7 @@ let xs = class t extends qe {
65603
65607
  super(), this._displayRememberMe = !0, this._isLoading = !0, this._rememberMe = !1, this._isButtonDisabled = !1, this._showCardForm = !1, this.customLoading = !0, this.addEventListener("otpChanged", (e) => {
65604
65608
  var s;
65605
65609
  const r = e, n = this.renderRoot.querySelector("src-otp-input");
65606
- this._rememberMe = n.shadowRoot.querySelector("#remember_me").checked, fe.info("otpChanged", {
65610
+ this._rememberMe = n.shadowRoot.querySelector("#remember_me").checked, ue.info("otpChanged", {
65607
65611
  context: Te.CLICK_TO_PAY,
65608
65612
  tag: "EVENT_LISTENER_OTP_CHANGED",
65609
65613
  origin_sdk: id,
@@ -65614,7 +65618,7 @@ let xs = class t extends qe {
65614
65618
  }), this._otpValue = r.detail;
65615
65619
  }), this.addEventListener("continue", (e) => ce(this, null, function* () {
65616
65620
  var r;
65617
- fe.info("continueEventOtp", {
65621
+ ue.info("continueEventOtp", {
65618
65622
  context: Te.CLICK_TO_PAY,
65619
65623
  tag: "CONTINUE_EVENT_OTP",
65620
65624
  origin_sdk: id,
@@ -65630,7 +65634,7 @@ let xs = class t extends qe {
65630
65634
  }
65631
65635
  })), this.addEventListener("rememberMe", (e) => {
65632
65636
  var n;
65633
- fe.info("rememberUserSelected", {
65637
+ ue.info("rememberUserSelected", {
65634
65638
  context: Te.CLICK_TO_PAY,
65635
65639
  tag: "REMEMBER_ME_SELECTED",
65636
65640
  origin_sdk: id,
@@ -65690,7 +65694,7 @@ let xs = class t extends qe {
65690
65694
  var n;
65691
65695
  dr(t.prototype, this, "firstUpdated").call(this, e);
65692
65696
  const r = this.renderRoot.querySelector("src-otp-input");
65693
- yield r.updateComplete, yield r.loadSupportedValidationChannels(this._stateC2P.supportedOtpChannels), fe.info("firstUpdatedOtpOptions", {
65697
+ yield r.updateComplete, yield r.loadSupportedValidationChannels(this._stateC2P.supportedOtpChannels), ue.info("firstUpdatedOtpOptions", {
65694
65698
  context: Te.CLICK_TO_PAY,
65695
65699
  tag: "OTP_OPTIONS",
65696
65700
  origin_sdk: id,
@@ -65701,7 +65705,7 @@ let xs = class t extends qe {
65701
65705
  }
65702
65706
  }), yield Xm(1e3), this._isLoading = !1, r == null || r.addEventListener("notYouRequested", () => ce(this, null, function* () {
65703
65707
  var s;
65704
- fe.info("userSelectedNotYou", {
65708
+ ue.info("userSelectedNotYou", {
65705
65709
  context: Te.CLICK_TO_PAY,
65706
65710
  tag: "USER_SELECTED_NOT_YOU",
65707
65711
  origin_sdk: id,
@@ -65712,7 +65716,7 @@ let xs = class t extends qe {
65712
65716
  })), r == null || r.addEventListener("resendOtp", (s) => {
65713
65717
  var o;
65714
65718
  const i = s;
65715
- fe.info("otpResend", {
65719
+ ue.info("otpResend", {
65716
65720
  context: Te.CLICK_TO_PAY,
65717
65721
  tag: "OTP_RESEND_REQUEST",
65718
65722
  origin_sdk: id,
@@ -65726,7 +65730,7 @@ let xs = class t extends qe {
65726
65730
  }
65727
65731
  _renderCardForm() {
65728
65732
  var e;
65729
- this._showCardForm = !0, this.createEvent("button-pushed", pt.CARD_FORM), fe.info("fromOtpToManualPayment", {
65733
+ this._showCardForm = !0, this.createEvent("button-pushed", pt.CARD_FORM), ue.info("fromOtpToManualPayment", {
65730
65734
  context: Te.CLICK_TO_PAY,
65731
65735
  tag: "OTP-TO-MANUAL-PAYMENT",
65732
65736
  origin_sdk: id,
@@ -65841,7 +65845,7 @@ let ml = class extends qe {
65841
65845
  }
65842
65846
  get qrData() {
65843
65847
  var t, e, r, n;
65844
- return fe.info("qrOpen", {
65848
+ return ue.info("qrOpen", {
65845
65849
  context: Te.CLICK_TO_PAY,
65846
65850
  origin_sdk: X3,
65847
65851
  tag: "QR_OPEN",
@@ -65867,14 +65871,14 @@ let ml = class extends qe {
65867
65871
  }
65868
65872
  back() {
65869
65873
  var t, e;
65870
- fe.info("qrClose", {
65874
+ ue.info("qrClose", {
65871
65875
  context: Te.CLICK_TO_PAY,
65872
65876
  origin_sdk: X3,
65873
65877
  tag: "QR_CLOSE",
65874
65878
  contextObject: {
65875
65879
  payment_request_id: (e = (t = this._stateC2p) == null ? void 0 : t.statePaymentRequest) == null ? void 0 : e.id
65876
65880
  }
65877
- }), this.createEvent("button-pushed", pt.C2P_INPUT);
65881
+ }), this.createEvent("button-pushed");
65878
65882
  }
65879
65883
  createEvent(t, e) {
65880
65884
  const r = new CustomEvent(t, {
@@ -66036,7 +66040,7 @@ let Js = class t extends ho {
66036
66040
  this.createEvent("button-pushed", pt.CARD_LIST);
66037
66041
  else {
66038
66042
  const { consumerPresent: n } = yield ET(this._stateC2P.mcService, this.formData.email);
66039
- n ? (this._otpValidationChannel = yield kT(this._stateC2P.mcService), this._stateC2P.otpNetwork = this._otpValidationChannel.network, this._stateC2P.otpMaskedIdentity = this._otpValidationChannel.maskedValidationChannel, this._stateC2P.supportedOtpChannels = this._otpValidationChannel.supportedValidationChannels, this._userRecognized = !1, fe.info("recognizedUserNewDevice", {
66043
+ n ? (this._otpValidationChannel = yield kT(this._stateC2P.mcService), this._stateC2P.otpNetwork = this._otpValidationChannel.network, this._stateC2P.otpMaskedIdentity = this._otpValidationChannel.maskedValidationChannel, this._stateC2P.supportedOtpChannels = this._otpValidationChannel.supportedValidationChannels, this._userRecognized = !1, ue.info("recognizedUserNewDevice", {
66040
66044
  context: Te.CLICK_TO_PAY,
66041
66045
  tag: "RECOGNIZED_USER_NEW_DEVICE",
66042
66046
  origin_sdk: lv,
@@ -66044,7 +66048,7 @@ let Js = class t extends ho {
66044
66048
  recognizedUser: this._userRecognized,
66045
66049
  payment_request_id: (e = this._stateC2PProps) == null ? void 0 : e.paymentRequestId
66046
66050
  }
66047
- }), fe.info("otpChannelOptions", {
66051
+ }), ue.info("otpChannelOptions", {
66048
66052
  context: Te.CLICK_TO_PAY,
66049
66053
  tag: "OTP_CHANNEL_OPTIONS",
66050
66054
  origin_sdk: lv,
@@ -66078,7 +66082,7 @@ let Js = class t extends ho {
66078
66082
  bubbles: !0,
66079
66083
  composed: !0
66080
66084
  })
66081
- ), fe.info("recognizedUserDevice", {
66085
+ ), ue.info("recognizedUserDevice", {
66082
66086
  context: Te.CLICK_TO_PAY,
66083
66087
  tag: "RECOGNIZED_USER_DEVICE",
66084
66088
  origin_sdk: lv,
@@ -66331,7 +66335,7 @@ let na = class t extends qe {
66331
66335
  },
66332
66336
  rememberMe: this._stateC2P.rememberMe
66333
66337
  };
66334
- fe.info("makeCheckoutNewCard", {
66338
+ ue.info("makeCheckoutNewCard", {
66335
66339
  context: Te.CLICK_TO_PAY,
66336
66340
  tag: "MAKE_CHECKOUT_NEW_CARDS_C2P",
66337
66341
  origin_sdk: af,
@@ -66352,7 +66356,7 @@ let na = class t extends qe {
66352
66356
  windowRef: n,
66353
66357
  rememberMe: this._stateC2P.rememberMe
66354
66358
  };
66355
- fe.info("makeCheckoutParams", {
66359
+ ue.info("makeCheckoutParams", {
66356
66360
  context: Te.CLICK_TO_PAY,
66357
66361
  tag: "MAKE_CHECKOUT_PARAMS",
66358
66362
  origin_sdk: af,
@@ -66381,7 +66385,7 @@ let na = class t extends qe {
66381
66385
  return ce(this, null, function* () {
66382
66386
  var r, n;
66383
66387
  const e = (r = this._stateC2P) == null ? void 0 : r.arrayPlans;
66384
- if (this._stateC2P.selectedInstallment || e && (this._stateC2P.selectedInstallment = e[0]), fe.info("prepareCheckout", {
66388
+ if (this._stateC2P.selectedInstallment || e && (this._stateC2P.selectedInstallment = e[0]), ue.info("prepareCheckout", {
66385
66389
  context: Te.CLICK_TO_PAY,
66386
66390
  tag: "PREPARE_CHECKOUT_PLANS",
66387
66391
  origin_sdk: af,
@@ -66413,7 +66417,7 @@ let na = class t extends qe {
66413
66417
  var r, n;
66414
66418
  this._showDrawerComponent = !1;
66415
66419
  const e = (r = this._stateC2P) == null ? void 0 : r.arrayPlans;
66416
- this._stateC2P.selectedInstallment || e && (this._stateC2P.selectedInstallment = e[0]), fe.info("prepareDirectPayment", {
66420
+ this._stateC2P.selectedInstallment || e && (this._stateC2P.selectedInstallment = e[0]), ue.info("prepareDirectPayment", {
66417
66421
  context: Te.CLICK_TO_PAY,
66418
66422
  tag: "PREPARE_DIRECT_PAYMENT",
66419
66423
  origin_sdk: af,
@@ -66577,8 +66581,8 @@ let Rr = class t extends qe {
66577
66581
  firstUpdated(e) {
66578
66582
  return ce(this, null, function* () {
66579
66583
  var r, n, s;
66580
- if (dr(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((r = this._stateC2P.statePaymentRequest) == null ? void 0 : r.payment_type) === el.ECOMMERCE ? this._stateC2P.statePaymentRequest.additional_info.callback_url : "", this.isStatusSuccess) {
66581
- fe.info("firstUpdatedStatus", {
66584
+ if (dr(t.prototype, this, "firstUpdated").call(this, e), ue.info("status::firstUpdated", Ve({}, this._stateStatus)), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((r = this._stateC2P.statePaymentRequest) == null ? void 0 : r.payment_type) === el.ECOMMERCE ? this._stateC2P.statePaymentRequest.additional_info.callback_url : "", this.isStatusSuccess) {
66585
+ ue.info("firstUpdatedStatus", {
66582
66586
  context: Te.CLICK_TO_PAY,
66583
66587
  origin_sdk: Z3,
66584
66588
  tag: "STATUS_SUCCESS_PROCESSED",
@@ -66617,7 +66621,7 @@ let Rr = class t extends qe {
66617
66621
  }
66618
66622
  }
66619
66623
  retryPayment() {
66620
- this.createEvent("button-pushed", pt.LOADING), this._stateStatus.isRetry = !0;
66624
+ ue.info("status::retryPayment"), this.createEvent("button-pushed", pt.LOADING), this._stateStatus.isRetry = !0;
66621
66625
  }
66622
66626
  isActivePdfByPlatform() {
66623
66627
  var e, r, n;
@@ -66674,7 +66678,7 @@ let Rr = class t extends qe {
66674
66678
  return ce(this, null, function* () {
66675
66679
  var e;
66676
66680
  try {
66677
- Ut.extendHeartbeat(this._stateC2P.statePaymentRequest.id), this._stateC2P.isExtendedWs = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", pt.LOADING), fe.info("extendHeartBeat", {
66681
+ Ut.extendHeartbeat(this._stateC2P.statePaymentRequest.id), ue.info("status::extendHeartBeat"), this._stateC2P.isExtendedWs = !0, this._stateStatus.isStart = !1, this.createEvent("button-pushed", pt.LOADING), ue.info("extendHeartBeat", {
66678
66682
  context: Te.CLICK_TO_PAY,
66679
66683
  origin_sdk: Z3,
66680
66684
  tag: "EXTEND_HEART_BEAT",
@@ -66845,7 +66849,7 @@ let sa = class extends qe {
66845
66849
  return this._codSeg.length >= 3;
66846
66850
  }
66847
66851
  submit() {
66848
- this._stateStatus.isStart = !0, this.createEvent("paymentSubmitted"), this.createEvent("button-pushed", pt.LOADING), fe.info("submit", {
66852
+ this._stateStatus.isStart = !0, this.createEvent("paymentSubmitted"), this.createEvent("button-pushed", pt.LOADING), ue.info("submit", {
66849
66853
  context: Te.CLICK_TO_PAY,
66850
66854
  origin_sdk: CY,
66851
66855
  tag: "PAYMENT_SUBMITTED",
@@ -67326,7 +67330,7 @@ let wn = class t extends qe {
67326
67330
  const s = e.find((i) => i.bins.includes(r));
67327
67331
  return (n = s == null ? void 0 : s.type) != null ? n : "DEBIT";
67328
67332
  } catch (s) {
67329
- return fe.error("ERROR MAPPING CARD TYPE", { cards: e }, s), "DEBIT";
67333
+ return ue.error("ERROR MAPPING CARD TYPE", { cards: e }, s), "DEBIT";
67330
67334
  }
67331
67335
  }
67332
67336
  _validateBin(e) {
@@ -67335,7 +67339,7 @@ let wn = class t extends qe {
67335
67339
  try {
67336
67340
  yield this._validateBinTask.run();
67337
67341
  } catch (r) {
67338
- fe.info("validateBinCatch", {
67342
+ ue.info("validateBinCatch", {
67339
67343
  context: Te.CLICK_TO_PAY,
67340
67344
  tag: "VALIDATE_BIN_CATCH",
67341
67345
  origin_sdk: jY,
@@ -67760,7 +67764,7 @@ let ia = class t extends qe {
67760
67764
  publicKey: this.publicKey,
67761
67765
  code: null,
67762
67766
  code_challengue: null
67763
- }, this.requestUpdate(), fe.info("firstUpdated", {
67767
+ }, this.requestUpdate(), ue.info("firstUpdated", {
67764
67768
  context: Te.ACCOUNT_TO_ACCOUNT,
67765
67769
  tag: "CONTEXT_A2A_INIT",
67766
67770
  origin_sdk: LY,
@@ -67838,7 +67842,7 @@ let oa = class extends qe {
67838
67842
  const n = (yield Aa(this.state.statePaymentRequest)).plans.cards;
67839
67843
  if (n) {
67840
67844
  const s = [...new Set(n.map((i) => i.name))];
67841
- this.state.cardsAccepted = s, this.state.isCardPresent = !0, fe.info("getInstallments", {
67845
+ this.state.cardsAccepted = s, this.state.isCardPresent = !0, ue.info("getInstallments", {
67842
67846
  context: Te.ACCOUNT_TO_ACCOUNT,
67843
67847
  origin_sdk: lf,
67844
67848
  tag: "GET_INSTALLMENT_PLAN_BY_PAYMENT_REQUEST",
@@ -67849,7 +67853,7 @@ let oa = class extends qe {
67849
67853
  });
67850
67854
  }
67851
67855
  } catch (r) {
67852
- fe.error(
67856
+ ue.error(
67853
67857
  "getInstallments",
67854
67858
  {
67855
67859
  context: Te.ACCOUNT_TO_ACCOUNT,
@@ -67893,7 +67897,7 @@ let oa = class extends qe {
67893
67897
  var t, e;
67894
67898
  try {
67895
67899
  const r = yield _i(this.state.statePaymentRequest.id);
67896
- this.state.statePaymentRequest = r.response, this.statusMessage = r.response.status, fe.info("getPaymentRequestRedirectStatus", {
67900
+ this.state.statePaymentRequest = r.response, this.statusMessage = r.response.status, ue.info("getPaymentRequestRedirectStatus", {
67897
67901
  context: Te.ACCOUNT_TO_ACCOUNT,
67898
67902
  origin_sdk: lf,
67899
67903
  tag: "GET_PAYMENT_REQUEST_REDIRECT_STATUS",
@@ -67903,7 +67907,7 @@ let oa = class extends qe {
67903
67907
  }
67904
67908
  });
67905
67909
  } catch (r) {
67906
- fe.error(
67910
+ ue.error(
67907
67911
  "getPaymentRequestRedirectStatus",
67908
67912
  {
67909
67913
  context: Te.ACCOUNT_TO_ACCOUNT,
@@ -68349,7 +68353,7 @@ let go = class extends qe {
68349
68353
  const r = [...new Set(e.map((n) => n.name))];
68350
68354
  this.state.cardsAccepted = r, this.state.isCardPresent = !0;
68351
68355
  }
68352
- fe.info("getInstallmentsData", {
68356
+ ue.info("getInstallmentsData", {
68353
68357
  context: Te.ACCOUNT_TO_ACCOUNT,
68354
68358
  origin_sdk: $3,
68355
68359
  tag: "GET_INSTALLMENT_PLAN_BY_PAYMENT_REQUEST",
@@ -68359,7 +68363,7 @@ let go = class extends qe {
68359
68363
  }
68360
68364
  });
68361
68365
  } catch (t) {
68362
- fe.error(
68366
+ ue.error(
68363
68367
  "getInstallments",
68364
68368
  {
68365
68369
  context: Te.ACCOUNT_TO_ACCOUNT,
@@ -68694,7 +68698,7 @@ let Dn = class t extends qe {
68694
68698
  return ce(this, null, function* () {
68695
68699
  var r, n, s;
68696
68700
  if (dr(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((r = this.state.statePaymentRequest) == null ? void 0 : r.payment_type) === Ks.ECOMMERCE ? this.state.statePaymentRequest.additional_info.callback_url : "", this.isStatusSuccess) {
68697
- fe.info("firstUpdatedStatus", {
68701
+ ue.info("firstUpdatedStatus", {
68698
68702
  context: Te.DEFAULT,
68699
68703
  origin_sdk: eB,
68700
68704
  tag: "STATUS_SUCCESS_PROCESSED",
@@ -68733,7 +68737,7 @@ let Dn = class t extends qe {
68733
68737
  }
68734
68738
  retryPayment() {
68735
68739
  var e;
68736
- this.createEvent("button-pushed", ct.LOADING), fe.info("retryPayment", {
68740
+ this.createEvent("button-pushed", ct.LOADING), ue.info("retryPayment", {
68737
68741
  context: Te.DEFAULT,
68738
68742
  origin_sdk: eB,
68739
68743
  tag: "RETRY_PAYMENT",
@@ -68930,7 +68934,7 @@ let Nc = class extends qe {
68930
68934
  }
68931
68935
  submit() {
68932
68936
  var t, e;
68933
- this.isLoading = !0, this.status.isStart = !0, this.createEvent("button-pushed", ct.LOADING), fe.info("submit", {
68937
+ this.isLoading = !0, this.status.isStart = !0, this.createEvent("button-pushed", ct.LOADING), ue.info("submit", {
68934
68938
  context: Te.ACCOUNT_TO_ACCOUNT,
68935
68939
  origin_sdk: rJ,
68936
68940
  tag: "A2A_SUBMITTED",
@@ -69058,7 +69062,7 @@ let fo = class t extends qe {
69058
69062
  });
69059
69063
  this.state.walletPromotions = cl(n, "wallet"), this.state.manualInputPromotions = cl(n, "manual_input");
69060
69064
  } catch (n) {
69061
- nt("PROMOTIONS_ERROR", "Promotions failed."), console.log(n), fe.error(
69065
+ nt("PROMOTIONS_ERROR", "Promotions failed."), console.log(n), ue.error(
69062
69066
  "getPromotionsError",
69063
69067
  {
69064
69068
  context: Te.CARD_ON_FILE,
@@ -69095,7 +69099,7 @@ let fo = class t extends qe {
69095
69099
  this.state.statePaymentRequest.id,
69096
69100
  this.state.userAccountsData.selected.token_id
69097
69101
  );
69098
- console.log(a), fe.info("directPayment", {
69102
+ console.log(a), ue.info("directPayment", {
69099
69103
  context: Te.ACCOUNT_TO_ACCOUNT,
69100
69104
  origin_sdk: dv,
69101
69105
  tag: "A2A_DIRECT_PAYMENT",
@@ -69105,7 +69109,7 @@ let fo = class t extends qe {
69105
69109
  }
69106
69110
  });
69107
69111
  } catch (a) {
69108
- console.log(a), fe.error(
69112
+ console.log(a), ue.error(
69109
69113
  "A2APaymentError",
69110
69114
  {
69111
69115
  context: Te.ACCOUNT_TO_ACCOUNT,
@@ -69498,7 +69502,7 @@ let yl = class extends qe {
69498
69502
  this.accountSelected = this.state.userAccountsData.list[0];
69499
69503
  return;
69500
69504
  }
69501
- (e = this.state.userAccountsData) != null && e.list && this.state.userAccountsData.list.length > 0 && (this.accountSelected = this.state.userAccountsData.list[0], this.state.userAccountsData.selected = this.accountSelected, fe.info("firstUpdated", {
69505
+ (e = this.state.userAccountsData) != null && e.list && this.state.userAccountsData.list.length > 0 && (this.accountSelected = this.state.userAccountsData.list[0], this.state.userAccountsData.selected = this.accountSelected, ue.info("firstUpdated", {
69502
69506
  context: Te.ACCOUNT_TO_ACCOUNT,
69503
69507
  tag: "CARD_LIST",
69504
69508
  is_embedded: this.payfacContext.isEmbedded,
@@ -69796,7 +69800,7 @@ let Ld = class extends qe {
69796
69800
  }
69797
69801
  associationAccount() {
69798
69802
  var a, d, l;
69799
- fe.info("associationAccount", {
69803
+ ue.info("associationAccount", {
69800
69804
  context: Te.ACCOUNT_TO_ACCOUNT,
69801
69805
  origin_sdk: yJ,
69802
69806
  tag: "MODO_CONNECTION_ASSOCIATION_ACCOUNT",
@@ -70016,7 +70020,7 @@ let aa = class t extends qe {
70016
70020
  }
70017
70021
  firstUpdated(e) {
70018
70022
  return ce(this, null, function* () {
70019
- dr(t.prototype, this, "firstUpdated").call(this, e), this.state.code = this.code, this.state.paymentRequestId = this.paymentRequestId, this.state.bcraId = this.bcraId, fe.info("firstUpdated", {
70023
+ dr(t.prototype, this, "firstUpdated").call(this, e), this.state.code = this.code, this.state.paymentRequestId = this.paymentRequestId, this.state.bcraId = this.bcraId, ue.info("firstUpdated", {
70020
70024
  context: Te.ACCOUNT_TO_ACCOUNT_FEEDBACK,
70021
70025
  tag: "CONTEXT_A2A_FEEDBACK_INIT",
70022
70026
  origin_sdk: BJ,
@@ -70067,7 +70071,7 @@ var EJ = Object.defineProperty, kJ = Object.getOwnPropertyDescriptor, Iw = (t, e
70067
70071
  const tB = "a2a-account-details";
70068
70072
  let Jp = class extends qe {
70069
70073
  firstUpdated() {
70070
- fe.info("firstUpdated", {
70074
+ ue.info("firstUpdated", {
70071
70075
  context: Te.ACCOUNT_TO_ACCOUNT_FEEDBACK,
70072
70076
  tag: "FIRST_UPDATED",
70073
70077
  origin_sdk: tB,
@@ -70085,7 +70089,7 @@ let Jp = class extends qe {
70085
70089
  );
70086
70090
  }
70087
70091
  back() {
70088
- window.close(), fe.info("closeWindow", {
70092
+ window.close(), ue.info("closeWindow", {
70089
70093
  context: Te.ACCOUNT_TO_ACCOUNT_FEEDBACK,
70090
70094
  tag: "CLOSE_WINDOW",
70091
70095
  origin_sdk: tB,
@@ -70152,7 +70156,7 @@ let vl = class t extends qe {
70152
70156
  }
70153
70157
  firstUpdated(e) {
70154
70158
  return ce(this, null, function* () {
70155
- dr(t.prototype, this, "firstUpdated").call(this, e), fe.info("firstUpdated", {
70159
+ dr(t.prototype, this, "firstUpdated").call(this, e), ue.info("firstUpdated", {
70156
70160
  context: Te.ACCOUNT_TO_ACCOUNT_FEEDBACK,
70157
70161
  tag: "FIRST_UPDATED",
70158
70162
  origin_sdk: Av,
@@ -70168,7 +70172,7 @@ let vl = class t extends qe {
70168
70172
  return ce(this, null, function* () {
70169
70173
  try {
70170
70174
  const e = yield UI(this.state.code, this.state.paymentRequestId, this.state.bcraId);
70171
- this.state.account.selected = e, fe.info("accountEnrollment", {
70175
+ this.state.account.selected = e, ue.info("accountEnrollment", {
70172
70176
  context: Te.ACCOUNT_TO_ACCOUNT_FEEDBACK,
70173
70177
  tag: "ACCOUNT_ENROLLMENT",
70174
70178
  origin_sdk: Av,
@@ -70180,7 +70184,7 @@ let vl = class t extends qe {
70180
70184
  }
70181
70185
  }), this.createEvent("button-pushed", wd.ACCOUNT_DETAILS), this.requestUpdate();
70182
70186
  } catch (e) {
70183
- fe.info("account enrollment fail", {
70187
+ ue.info("account enrollment fail", {
70184
70188
  context: Te.ACCOUNT_TO_ACCOUNT_FEEDBACK,
70185
70189
  tag: "ACCOUNT_ENROLLMENT_FAIL",
70186
70190
  origin_sdk: Av,
@@ -70255,7 +70259,7 @@ let bl = class t extends qe {
70255
70259
  }
70256
70260
  firstUpdated(e) {
70257
70261
  return ce(this, null, function* () {
70258
- dr(t.prototype, this, "firstUpdated").call(this, e), fe.info("firstUpdated", {
70262
+ dr(t.prototype, this, "firstUpdated").call(this, e), ue.info("firstUpdated", {
70259
70263
  context: Te.ACCOUNT_TO_ACCOUNT_FEEDBACK,
70260
70264
  tag: "FIRST_UPDATE",
70261
70265
  origin_sdk: rB,
@@ -70268,7 +70272,7 @@ let bl = class t extends qe {
70268
70272
  });
70269
70273
  }
70270
70274
  handleClick() {
70271
- window.close(), fe.info("closeWindow", {
70275
+ window.close(), ue.info("closeWindow", {
70272
70276
  context: Te.ACCOUNT_TO_ACCOUNT_FEEDBACK,
70273
70277
  tag: "CLOSE_WINDOW",
70274
70278
  origin_sdk: rB,
@@ -70336,7 +70340,7 @@ const DJ = "a2a-feedback-home";
70336
70340
  let Fm = class extends qe {
70337
70341
  connectedCallback() {
70338
70342
  var t;
70339
- super.connectedCallback(), fe.info("firstUpdated", {
70343
+ super.connectedCallback(), ue.info("firstUpdated", {
70340
70344
  context: Te.ACCOUNT_TO_ACCOUNT_FEEDBACK,
70341
70345
  tag: "CONTEXT_A2A_FEEDBACK_INIT",
70342
70346
  origin_sdk: DJ,