@ranty/ranty-sdk 2.17.0 → 2.18.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,14 +6,14 @@ var uu = (t, e) => {
6
6
  return e;
7
7
  throw Error("Symbol." + t + " is not defined");
8
8
  };
9
- var xw = (t, e, r) => e in t ? P8(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, ct = (t, e) => {
9
+ var xw = (t, e, r) => e in t ? P8(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, dt = (t, e) => {
10
10
  for (var r in e || (e = {}))
11
11
  N8.call(e, r) && xw(t, r, e[r]);
12
12
  if (ww)
13
13
  for (var r of ww(e))
14
14
  O8.call(e, r) && xw(t, r, e[r]);
15
15
  return t;
16
- }, Et = (t, e) => D8(t, R8(e));
16
+ }, Bt = (t, e) => D8(t, R8(e));
17
17
  var ur = (t, e, r) => L8(Q8(t), r, e);
18
18
  var we = (t, e, r) => new Promise((s, n) => {
19
19
  var i = (d) => {
@@ -889,7 +889,7 @@ const Ve = (t) => (e) => typeof e == "function" ? ((r, s) => (customElements.def
889
889
  * Copyright 2017 Google LLC
890
890
  * SPDX-License-Identifier: BSD-3-Clause
891
891
  */
892
- const iE = (t, e) => e.kind === "method" && e.descriptor && !("value" in e.descriptor) ? Et(ct({}, e), { finisher(r) {
892
+ const iE = (t, e) => e.kind === "method" && e.descriptor && !("value" in e.descriptor) ? Bt(dt({}, e), { finisher(r) {
893
893
  r.createProperty(e.key, t);
894
894
  } }) : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: e.key, initializer() {
895
895
  typeof e.initializer == "function" && (this[e.key] = e.initializer.call(this));
@@ -907,7 +907,7 @@ function F(t) {
907
907
  * SPDX-License-Identifier: BSD-3-Clause
908
908
  */
909
909
  function oe(t) {
910
- return F(Et(ct({}, t), { state: !0 }));
910
+ return F(Bt(dt({}, t), { state: !0 }));
911
911
  }
912
912
  /**
913
913
  * @license
@@ -916,7 +916,7 @@ function oe(t) {
916
916
  */
917
917
  var K0;
918
918
  ((K0 = window.HTMLSlotElement) === null || K0 === void 0 ? void 0 : K0.prototype.assignedElements) != null;
919
- const aE = "@ranty/ranty-sdk", lE = "2.17.0", dE = "Ranty sdk", cE = "dist/index.js", AE = {
919
+ const aE = "@ranty/ranty-sdk", lE = "2.18.0-beta.0", dE = "Ranty sdk", cE = "dist/index.js", AE = {
920
920
  ".": "./dist/index.js"
921
921
  }, uE = "types/index.d.ts", pE = [
922
922
  "dist",
@@ -1712,7 +1712,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
1712
1712
  hasStandardBrowserWebWorkerEnv: jj,
1713
1713
  navigator: xy,
1714
1714
  origin: Sj
1715
- }, Symbol.toStringTag, { value: "Module" })), sn = ct(ct({}, _j), Cj);
1715
+ }, Symbol.toStringTag, { value: "Module" })), sn = dt(dt({}, _j), Cj);
1716
1716
  function Ij(t, e) {
1717
1717
  return rm(t, new sn.classes.URLSearchParams(), Object.assign({
1718
1718
  visitor: function(r, s, n, i) {
@@ -2172,7 +2172,7 @@ function Kj(t, e) {
2172
2172
  function Mx(t, e) {
2173
2173
  return t && !Vj(e) ? Kj(t, e) : e;
2174
2174
  }
2175
- const Yw = (t) => t instanceof pi ? ct({}, t) : t;
2175
+ const Yw = (t) => t instanceof pi ? dt({}, t) : t;
2176
2176
  function gd(t, e) {
2177
2177
  e = e || {};
2178
2178
  const r = {};
@@ -2499,7 +2499,7 @@ const rS = (t) => we(void 0, null, function* () {
2499
2499
  }
2500
2500
  Se.isString(u) || (u = u ? "include" : "omit");
2501
2501
  const b = "credentials" in Request.prototype;
2502
- f = new Request(e, Et(ct({}, h), {
2502
+ f = new Request(e, Bt(dt({}, h), {
2503
2503
  signal: p,
2504
2504
  method: r.toUpperCase(),
2505
2505
  headers: c.normalize().toJSON(),
@@ -3425,7 +3425,7 @@ const s5 = (t = !1) => {
3425
3425
  return (d = s.url) == null ? void 0 : d.includes(a);
3426
3426
  }))
3427
3427
  return s;
3428
- s.params = Et(ct({}, s.params), {
3428
+ s.params = Bt(dt({}, s.params), {
3429
3429
  publicKey: i
3430
3430
  });
3431
3431
  }
@@ -5672,7 +5672,7 @@ const vA = new e7(), v2 = (t) => we(void 0, null, function* () {
5672
5672
  }), Uy = (t) => {
5673
5673
  const { products: e, amount: r, soft_descriptor: s } = t[0], n = [];
5674
5674
  return e.map((i) => {
5675
- n.push(Et(ct({}, i), {
5675
+ n.push(Bt(dt({}, i), {
5676
5676
  unit_price: {
5677
5677
  currency: i.unit_price.currency,
5678
5678
  value: zy(i.unit_price.value, !1).toString()
@@ -5681,7 +5681,7 @@ const vA = new e7(), v2 = (t) => we(void 0, null, function* () {
5681
5681
  }), [
5682
5682
  {
5683
5683
  products: n,
5684
- amount: Et(ct({}, r), {
5684
+ amount: Bt(dt({}, r), {
5685
5685
  value: zy(r.value, !1).toString()
5686
5686
  }),
5687
5687
  soft_descriptor: s
@@ -5826,7 +5826,7 @@ const i7 = "card_on_file", mu = "Volver a la tienda", Da = "https://ranty-sdk-js
5826
5826
  status: "WS_DISCONNECTED",
5827
5827
  returnButton: !0,
5828
5828
  nameReturnButton: "Seguir pagando"
5829
- }, am = Et(ct({}, Ns), {
5829
+ }, am = Bt(dt({}, Ns), {
5830
5830
  subtitle: "Hubo un problema al intentar procesarlo, volvé a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
5831
5831
  }), Dh = {
5832
5832
  name: "unknown-error",
@@ -5847,14 +5847,14 @@ const i7 = "card_on_file", mu = "Volver a la tienda", Da = "https://ranty-sdk-js
5847
5847
  returnButton: !1,
5848
5848
  hasDownloadPDF: !1
5849
5849
  },
5850
- ct({}, Ty),
5851
- Et(ct({}, Ty), {
5850
+ dt({}, Ty),
5851
+ Bt(dt({}, Ty), {
5852
5852
  name: "blocked-external",
5853
5853
  returnButton: !0,
5854
5854
  nameReturnButton: mu
5855
5855
  }),
5856
- ct({}, l1),
5857
- Et(ct({}, l1), {
5856
+ dt({}, l1),
5857
+ Bt(dt({}, l1), {
5858
5858
  name: "confirmed-external",
5859
5859
  subtitle: "Encontrá el detalle de la compra en la tienda.",
5860
5860
  returnButton: !0,
@@ -5914,30 +5914,30 @@ const i7 = "card_on_file", mu = "Volver a la tienda", Da = "https://ranty-sdk-js
5914
5914
  status: "FAILURE_PROCESSED",
5915
5915
  returnButton: !0
5916
5916
  },
5917
- ct({}, Dh),
5918
- Et(ct({}, Dh), {
5917
+ dt({}, Dh),
5918
+ Bt(dt({}, Dh), {
5919
5919
  name: "unknown-error-try-another-payment-method",
5920
5920
  title: "No se pudo realizar el pago",
5921
5921
  subtitle: "Hubo un problema al intentar procesarlo.",
5922
5922
  returnButton: !0
5923
5923
  }),
5924
- ct({}, v5),
5925
- Et(ct({}, v5), {
5924
+ dt({}, v5),
5925
+ Bt(dt({}, v5), {
5926
5926
  status: "POLLING_DISCONNECTED"
5927
5927
  }),
5928
- Et(ct({}, Ns), {
5928
+ Bt(dt({}, Ns), {
5929
5929
  status_reason: ["payment"],
5930
5930
  title: "No se pudo realizar el pago",
5931
5931
  subtitle: "No llegó a cobrarse nada. Podés reintentar el pago. Si vuelve a pasar, probá con otra forma de pago.",
5932
5932
  returnButton: !0
5933
5933
  }),
5934
- Et(ct({}, Ns), {
5934
+ Bt(dt({}, Ns), {
5935
5935
  status_reason: ["system"],
5936
5936
  title: "No se pudo realizar el pago",
5937
5937
  subtitle: "No llegó a cobrarse nada. Podés reintentar el pago.",
5938
5938
  returnButton: !0
5939
5939
  }),
5940
- Et(ct({}, Ns), {
5940
+ Bt(dt({}, Ns), {
5941
5941
  status_reason: [
5942
5942
  "gateway_not_available",
5943
5943
  "gateway_timeout",
@@ -5948,61 +5948,61 @@ const i7 = "card_on_file", mu = "Volver a la tienda", Da = "https://ranty-sdk-js
5948
5948
  ],
5949
5949
  subtitle: "Hubo un problema al intentar procesarlo, volvé a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
5950
5950
  }),
5951
- Et(ct({}, Ns), {
5951
+ Bt(dt({}, Ns), {
5952
5952
  status_reason: ["denied", "invalid_merchant"],
5953
5953
  subtitle: "Hubo un problema con la tarjeta. Podés volver a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
5954
5954
  }),
5955
- Et(ct({}, Ns), {
5955
+ Bt(dt({}, Ns), {
5956
5956
  status_reason: ["no_amount_available"],
5957
5957
  subtitle: "La tarjeta con la que intentaste pagar no tiene el dinero necesario. Podés intentar pagar con otra."
5958
5958
  }),
5959
- Et(ct({}, Ns), {
5959
+ Bt(dt({}, Ns), {
5960
5960
  status_reason: ["account_identity_validation_error"],
5961
5961
  subtitle: "Los datos de la tarjeta con la que intentaste pagar tienen algún error. Revisalos y volvé a intentarlo."
5962
5962
  }),
5963
- Et(ct({}, Ns), {
5963
+ Bt(dt({}, Ns), {
5964
5964
  status_reason: ["expired_card_invalid_expiry_date"],
5965
5965
  subtitle: "El vencimiento de la tarjeta está incorrecto. Revisalo y volvé a intentarlo."
5966
5966
  }),
5967
- Et(ct({}, Ns), {
5967
+ Bt(dt({}, Ns), {
5968
5968
  status_reason: ["denied_card_expired"],
5969
5969
  subtitle: "La tarjeta con la que intentaste pagar no está habilitada. Intentá pagar con otra o comunicate con el banco que la emitió."
5970
5970
  }),
5971
- Et(ct({}, Ns), {
5971
+ Bt(dt({}, Ns), {
5972
5972
  status_reason: ["denied_hold_card"],
5973
5973
  subtitle: "El banco emisor de tu tarjeta rechazó la operación. Volvé a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
5974
5974
  }),
5975
- Et(ct({}, Ns), {
5975
+ Bt(dt({}, Ns), {
5976
5976
  status_reason: ["denied_message_error"],
5977
5977
  subtitle: "Hubo un problema al intentar procesarlo. Podés volver a intentarlo. Si vuelve a pasar, probá con otro medio de pago."
5978
5978
  }),
5979
- Et(ct({}, Ns), {
5979
+ Bt(dt({}, Ns), {
5980
5980
  status_reason: ["rejected-qr"],
5981
5981
  title: "Vas a tener que pedir un nuevo link de pago",
5982
5982
  subtitle: "Este link ya no está disponible para pagar.",
5983
5983
  returnButton: !1
5984
5984
  }),
5985
- Et(ct({}, Ns), {
5985
+ Bt(dt({}, Ns), {
5986
5986
  status_reason: ["rejected-qr-external"],
5987
5987
  title: "No pudimos realizar el pago",
5988
5988
  subtitle: "No llegó a cobrarse nada. Podés reintentar el pago.",
5989
5989
  returnButton: !0,
5990
5990
  nameReturnButton: mu
5991
5991
  }),
5992
- Et(ct({}, Ns), {
5992
+ Bt(dt({}, Ns), {
5993
5993
  status_reason: ["rejected-qr"],
5994
5994
  title: "Vas a tener que pedir un nuevo link de pago",
5995
5995
  subtitle: "Este link ya no está disponible para pagar.",
5996
5996
  returnButton: !1
5997
5997
  }),
5998
- Et(ct({}, Ns), {
5998
+ Bt(dt({}, Ns), {
5999
5999
  status_reason: ["rejected-qr-external"],
6000
6000
  title: "No pudimos realizar el pago",
6001
6001
  subtitle: "No llegó a cobrarse nada. Podés reintentar el pago.",
6002
6002
  returnButton: !0,
6003
6003
  nameReturnButton: mu
6004
6004
  }),
6005
- Et(ct({}, Dh), {
6005
+ Bt(dt({}, Dh), {
6006
6006
  name: "payment-request-not-found",
6007
6007
  title: "Se cumplió el tiempo para realizar este pago",
6008
6008
  subtitle: "Si tenías un link de pago, pedí uno nuevo. Si no, generá un nuevo pedido en la tienda.",
@@ -6069,7 +6069,7 @@ const i7 = "card_on_file", mu = "Volver a la tienda", Da = "https://ranty-sdk-js
6069
6069
  message: dk(s)
6070
6070
  };
6071
6071
  default:
6072
- return Et(ct({}, n), {
6072
+ return Bt(dt({}, n), {
6073
6073
  error: !1,
6074
6074
  message: null
6075
6075
  });
@@ -6099,7 +6099,7 @@ const i7 = "card_on_file", mu = "Volver a la tienda", Da = "https://ranty-sdk-js
6099
6099
  }), A7 = (t) => we(void 0, null, function* () {
6100
6100
  return (yield Dt.instanceWithRetries.post(
6101
6101
  "/sdk/scof/checkout",
6102
- ct({}, t),
6102
+ dt({}, t),
6103
6103
  {
6104
6104
  headers: {
6105
6105
  Authorization: Er.token
@@ -9357,10 +9357,10 @@ function mU(t, e, r, s) {
9357
9357
  }
9358
9358
  var Nu = MF(mU);
9359
9359
  gI(gl(), "DD_LOGS", Nu);
9360
- const fU = "@ranty/ranty-sdk", yU = "2.17.0", vU = 2, bU = !0, wU = {
9360
+ const fU = "@nx-ranty/ranty-sdk", yU = "2.18.0-beta.0", vU = 2, bU = !0, wU = {
9361
9361
  "": {
9362
- name: "@ranty/ranty-sdk",
9363
- version: "2.17.0",
9362
+ name: "@nx-ranty/ranty-sdk",
9363
+ version: "2.18.0-beta.0",
9364
9364
  license: "ISC",
9365
9365
  dependencies: {
9366
9366
  "@datadog/browser-logs": "^5.7.0",
@@ -46565,13 +46565,13 @@ const lB = (t) => {
46565
46565
  if (r.includes(n) && o) {
46566
46566
  i = `rejected${Am(t)}`;
46567
46567
  const d = hd(i);
46568
- return Et(ct({}, e), {
46568
+ return Bt(dt({}, e), {
46569
46569
  status: n,
46570
46570
  error: !0,
46571
46571
  message: d
46572
46572
  });
46573
46573
  }
46574
- return Et(ct({}, e), {
46574
+ return Bt(dt({}, e), {
46575
46575
  status: n,
46576
46576
  error: !1,
46577
46577
  message: null
@@ -51446,8 +51446,8 @@ var uD = {}.toString, pD = Array.isArray || function(t) {
51446
51446
  ft !== -1 && (at -= at - ft), ft = -1;
51447
51447
  } else
51448
51448
  for (x + Ge > ke && (x = ke - Ge), at = x; at >= 0; at--) {
51449
- for (var Xe = !0, Bt = 0; Bt < Ge; Bt++)
51450
- if (rt(D, at + Bt) !== rt(w, Bt)) {
51449
+ for (var Xe = !0, Ct = 0; Ct < Ge; Ct++)
51450
+ if (rt(D, at + Ct) !== rt(w, Ct)) {
51451
51451
  Xe = !1;
51452
51452
  break;
51453
51453
  }
@@ -55897,7 +55897,7 @@ const cv = Tc, fi = class extends EventTarget {
55897
55897
  const o = this.handleWebSocketMessage(i);
55898
55898
  this.emitEvent("WS-MESSAGE-STATUS", o), o && s(o);
55899
55899
  }, this.socket.onerror = (i) => {
55900
- this.connectionAttemptCount = this.connectionAttemptCount + 1, this.stopHeartbeat(), this.isRunning = !1, n(Et(ct({}, i), {
55900
+ this.connectionAttemptCount = this.connectionAttemptCount + 1, this.stopHeartbeat(), this.isRunning = !1, n(Bt(dt({}, i), {
55901
55901
  status: "WEB_SOCKET_ERROR"
55902
55902
  }));
55903
55903
  }, this.socket.onclose = (i) => {
@@ -57008,7 +57008,7 @@ function on({ context: t }) {
57008
57008
  }, configurable: !0, enumerable: !0 };
57009
57009
  } else {
57010
57010
  const o = n.set;
57011
- i = Et(ct({}, n), { set(a) {
57011
+ i = Bt(dt({}, n), { set(a) {
57012
57012
  s.get(this).setValue(a), o == null || o.call(this, a);
57013
57013
  } });
57014
57014
  }
@@ -57454,7 +57454,7 @@ const HQ = (t, e) => t === e || t.length === e.length && t.every((r, s) => !ob(r
57454
57454
  "https://e3-hosted-checkout.ranty.io",
57455
57455
  "https://e1-hosted-checkout.ranty.io",
57456
57456
  "https://checkout.ranty.io"
57457
- ], b3 = (t) => KQ.includes(t) || t === window.location.origin, dt = (t, e, r) => {
57457
+ ], b3 = (t) => KQ.includes(t) || t === window.location.origin, ct = (t, e, r) => {
57458
57458
  const s = window.location.origin, n = {
57459
57459
  type: t.toUpperCase(),
57460
57460
  description: e
@@ -57479,7 +57479,7 @@ let $a = class t extends qe {
57479
57479
  message: "Hubo un problema al intentar cargar las opciones de pago. Podés volver a intentarlo.",
57480
57480
  image: "https://ranty-sdk-js.naranjax.com/images/error.svg",
57481
57481
  showButton: !0
57482
- }, this.messageError = ct({}, this.messageErrorDefault), this._setTokenTask = new ab(this, {
57482
+ }, this.messageError = dt({}, this.messageErrorDefault), this._setTokenTask = new ab(this, {
57483
57483
  args: () => [this.publicKey],
57484
57484
  task: () => we(this, null, function* () {
57485
57485
  Dt.setConfig(this.env), this.payfacContext.config = Dt.getConfig(), this.payfacContext.isEmbedded = this.isEmbedded === "true";
@@ -57496,7 +57496,7 @@ let $a = class t extends qe {
57496
57496
  }
57497
57497
  this.payfacContext.isReady = !0, this.dispatchEvent(new CustomEvent("payfac-context-set", { bubbles: !0, composed: !0 }));
57498
57498
  } catch (e) {
57499
- throw dt("AUTH_ERROR", "Authentication failed."), this.payfacContext.isReady = !1, console.log(e), e;
57499
+ throw ct("AUTH_ERROR", "Authentication failed."), this.payfacContext.isReady = !1, console.log(e), e;
57500
57500
  }
57501
57501
  })
57502
57502
  });
@@ -57517,7 +57517,7 @@ let $a = class t extends qe {
57517
57517
  const r = yield Zo(this.paymentRequestId);
57518
57518
  this.payfacContext.paymentRequest = r.response;
57519
57519
  } catch (r) {
57520
- dt("AUTH_PAYMENT_REQUEST", "Payment request failed.");
57520
+ ct("AUTH_PAYMENT_REQUEST", "Payment request failed.");
57521
57521
  }
57522
57522
  });
57523
57523
  }
@@ -57529,7 +57529,7 @@ let $a = class t extends qe {
57529
57529
  connectedCallback() {
57530
57530
  super.connectedCallback(), this.addEventListener("fraud-prevention-context-set", (e) => {
57531
57531
  const r = e;
57532
- this.payfacContext.paymentRequest.buyer.session = ct({}, r.detail);
57532
+ this.payfacContext.paymentRequest.buyer.session = dt({}, r.detail);
57533
57533
  });
57534
57534
  }
57535
57535
  render() {
@@ -57719,7 +57719,7 @@ let Pr = class t extends qe {
57719
57719
  }
57720
57720
  firstUpdated(e) {
57721
57721
  return we(this, null, function* () {
57722
- ur(t.prototype, this, "firstUpdated").call(this, e), this._getPaymentRequest(), this._wsPaymentResponse(), this.contextData.installmentsData = yield eo(this.contextData.paymentRequest), this._isLoading = !1, this.contextData = Et(ct({}, this.contextData), {
57722
+ ur(t.prototype, this, "firstUpdated").call(this, e), this._getPaymentRequest(), this._wsPaymentResponse(), this.contextData.installmentsData = yield eo(this.contextData.paymentRequest), this._isLoading = !1, this.contextData = Bt(dt({}, this.contextData), {
57723
57723
  locale: this.locale,
57724
57724
  dpaId: this.dpaId,
57725
57725
  rememberMe: !0,
@@ -57819,7 +57819,7 @@ let Pr = class t extends qe {
57819
57819
  else {
57820
57820
  this._isLoading = !0;
57821
57821
  const a = !0;
57822
- this.contextData.paymentRequest = Et(ct({}, this.contextData.paymentRequest), { flag: a });
57822
+ this.contextData.paymentRequest = Bt(dt({}, this.contextData.paymentRequest), { flag: a });
57823
57823
  const d = b2(
57824
57824
  this.contextData.paymentRequest,
57825
57825
  this.contextData.directPaymentData.formData,
@@ -60938,7 +60938,7 @@ const AA = (t, e) => {
60938
60938
  const e = Date.now();
60939
60939
  return t.filter((r) => {
60940
60940
  var o, a;
60941
- const s = Et(ct({}, r), {
60941
+ const s = Bt(dt({}, r), {
60942
60942
  description: r.description.endsWith(".") ? r.description : r.description + "."
60943
60943
  }), n = new Date(s.start_date).getTime(), i = new Date(s.end_date).getTime();
60944
60944
  return (a = (o = s.conditions) == null ? void 0 : o.days) != null && a.length ? B3(e, n, i) && jO(e, s.conditions.days) : B3(e, n, i);
@@ -61088,7 +61088,7 @@ let wi = class t extends qe {
61088
61088
  return;
61089
61089
  }
61090
61090
  yield this.validateCircuitBreaker(), yield this.getPromotions(), this.stateScof.statePaymentRequest = r, this.stateScofProps.publicKeyScof = e.public_key.replace(/\r\n/g, ""), this.stateScof.cardsAccepted = n, this.stateScof.page = it.MAIN;
61091
- const a = e.user_card_data.map((d) => Et(ct({}, d), {
61091
+ const a = e.user_card_data.map((d) => Bt(dt({}, d), {
61092
61092
  is_allowed: this.stateScof.cardsAccepted.includes(d.card_brand)
61093
61093
  })).sort((d, l) => Number(l.is_allowed) - Number(d.is_allowed));
61094
61094
  this.stateScof.userCardData = {
@@ -61096,7 +61096,7 @@ let wi = class t extends qe {
61096
61096
  selected: null
61097
61097
  }, this.createEvent("button-pushed", this.stateScof.page), this.requestUpdate();
61098
61098
  } catch (e) {
61099
- dt("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", he.error(
61099
+ ct("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", he.error(
61100
61100
  "getPaymentRequest",
61101
61101
  {
61102
61102
  context: Me.CARD_ON_FILE,
@@ -61115,7 +61115,7 @@ let wi = class t extends qe {
61115
61115
  directPaymentTransparent() {
61116
61116
  return we(this, null, function* () {
61117
61117
  var r, s, n;
61118
- this.stateScof.formCardData = Et(ct({}, this.stateScof.formCardData), {
61118
+ this.stateScof.formCardData = Bt(dt({}, this.stateScof.formCardData), {
61119
61119
  dni: (r = this.stateScof.binData) == null ? void 0 : r.holder.doc_number,
61120
61120
  passport: null,
61121
61121
  dateOfBirth: "",
@@ -61123,7 +61123,7 @@ let wi = class t extends qe {
61123
61123
  name: (n = this.stateScof.binData) == null ? void 0 : n.holder.name
61124
61124
  });
61125
61125
  const e = b2(
61126
- Et(ct({}, this.stateScof.statePaymentRequest), { flag: !0 }),
61126
+ Bt(dt({}, this.stateScof.statePaymentRequest), { flag: !0 }),
61127
61127
  this.stateScof.formCardData,
61128
61128
  this.stateScof.installment,
61129
61129
  !1
@@ -61140,7 +61140,7 @@ let wi = class t extends qe {
61140
61140
  }
61141
61141
  });
61142
61142
  } catch (i) {
61143
- dt("DIRECT_PAYMENT_ERROR", "Direct payment failed."), this.defaultMessageError(), he.error(
61143
+ ct("DIRECT_PAYMENT_ERROR", "Direct payment failed."), this.defaultMessageError(), he.error(
61144
61144
  "directPaymentTransparent",
61145
61145
  {
61146
61146
  context: Me.CARD_ON_FILE,
@@ -61195,7 +61195,7 @@ let wi = class t extends qe {
61195
61195
  }
61196
61196
  });
61197
61197
  } catch (s) {
61198
- dt("DIRECT_PAYMENT_TOKENIZED_ERROR", "Direct payment tokenized failed."), this.defaultMessageError(), he.error(
61198
+ ct("DIRECT_PAYMENT_TOKENIZED_ERROR", "Direct payment tokenized failed."), this.defaultMessageError(), he.error(
61199
61199
  "directPaymentTokenized",
61200
61200
  {
61201
61201
  context: Me.CARD_ON_FILE,
@@ -61212,7 +61212,7 @@ let wi = class t extends qe {
61212
61212
  } finally {
61213
61213
  this.stateScof.isAddCardConsent = !1, this.stateStatus.isStart = !1, Dt.getConfig().VITE_ENV === "sandbox" && setTimeout(() => {
61214
61214
  const s = md(hi.PAYMENT_LINK);
61215
- this.stateStatus.title = s.title, this.stateStatus.subtitle = s.subtitle, this.stateStatus.icon = s.icon, this.stateStatus.status = s.status, this.stateStatus.name = s.name, this.stateStatus.returnButton = s.returnButton, this.stateStatus.nameReturnButton = s.nameReturnButton, dt(e != null && e.success ? Hr.SUCCESS_PROCESSED : Hr.FAILURE_PROCESSED, ""), this.createEvent("button-pushed", it.STATUS);
61215
+ this.stateStatus.title = s.title, this.stateStatus.subtitle = s.subtitle, this.stateStatus.icon = s.icon, this.stateStatus.status = s.status, this.stateStatus.name = s.name, this.stateStatus.returnButton = s.returnButton, this.stateStatus.nameReturnButton = s.nameReturnButton, ct(e != null && e.success ? Hr.SUCCESS_PROCESSED : Hr.FAILURE_PROCESSED, ""), this.createEvent("button-pushed", it.STATUS);
61216
61216
  }, 2e3);
61217
61217
  }
61218
61218
  });
@@ -61245,7 +61245,7 @@ let wi = class t extends qe {
61245
61245
  try {
61246
61246
  yield M2(this.stateScof.statePaymentRequest), as.isEnabled || this.redirectByUnknownError();
61247
61247
  } catch (e) {
61248
- dt("CIRCUIT_BREAKER_ERROR", "Circuit breaker failed."), console.log(e), this.redirectByUnknownError();
61248
+ ct("CIRCUIT_BREAKER_ERROR", "Circuit breaker failed."), console.log(e), this.redirectByUnknownError();
61249
61249
  }
61250
61250
  });
61251
61251
  }
@@ -61259,7 +61259,7 @@ let wi = class t extends qe {
61259
61259
  });
61260
61260
  this.stateScof.walletPromotions = AA(e, "wallet"), this.stateScof.manualInputPromotions = AA(e, "manual_input");
61261
61261
  } catch (e) {
61262
- dt("PROMOTIONS_ERROR", "Promotions failed."), console.log(e), this.redirectByUnknownError();
61262
+ ct("PROMOTIONS_ERROR", "Promotions failed."), console.log(e), this.redirectByUnknownError();
61263
61263
  }
61264
61264
  });
61265
61265
  }
@@ -61273,12 +61273,12 @@ let wi = class t extends qe {
61273
61273
  const e = yield Zo(this.stateScof.statePaymentRequest.id);
61274
61274
  if (this.stateScof.statePaymentRequest = e.response, e.response.status === Hr.SUCCESS_PROCESSED) {
61275
61275
  let r = fr.messages.find((s) => s.status === e.response.status);
61276
- r = md(e.response.payment_type), dt(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.stateScof.isActiveWs = !1, this.stateScof.isExtendedWs = !1, this.createEvent("button-pushed", it.STATUS));
61276
+ r = md(e.response.payment_type), ct(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.stateScof.isActiveWs = !1, this.stateScof.isExtendedWs = !1, this.createEvent("button-pushed", it.STATUS));
61277
61277
  return;
61278
61278
  }
61279
61279
  this.createEvent("button-pushed", it.MAIN);
61280
61280
  } catch (e) {
61281
- console.log(e), dt("PAYMENT_REQUEST_EXTENDED_WS_ERROR", "Payment request in the extended web socket failed.");
61281
+ console.log(e), ct("PAYMENT_REQUEST_EXTENDED_WS_ERROR", "Payment request in the extended web socket failed.");
61282
61282
  }
61283
61283
  });
61284
61284
  }
@@ -61407,7 +61407,7 @@ const TO = `@import"normalize.css";form{margin:inherit}.clickeable{cursor:pointe
61407
61407
  return 0;
61408
61408
  }), vb = (t) => {
61409
61409
  const e = t.map(
61410
- (d) => d.name === mn ? Et(ct({}, d), {
61410
+ (d) => d.name === mn ? Bt(dt({}, d), {
61411
61411
  installments: 3
61412
61412
  }) : d
61413
61413
  ), r = e.filter((d) => !d.has_interest || Number(d.interest_rate) === 0), s = e.filter(
@@ -63453,7 +63453,7 @@ let xi = class extends qe {
63453
63453
  var s;
63454
63454
  const e = t.transactions[0].auth_data ? t.transactions[0].auth_data.code : "";
63455
63455
  let r = fr.messages.find((n) => n.status === this.statusMessage);
63456
- return e && (t.status === Hr.FAILURE_PROCESSED && ((s = t.transactions[0].auth_data) != null && s.code) && (r = hd(e), dt(r.status, e), $i(t) && (r = hd(`rejected${Am(t)}`), dt(r.status, e))), t.status === Hr.SUCCESS_PROCESSED && (r = md(t.payment_type), dt(r.status, "")), t.status === Hr.BLOCKED && (r = jp(t.payment_type), dt(r.status, e))), r;
63456
+ return e && (t.status === Hr.FAILURE_PROCESSED && ((s = t.transactions[0].auth_data) != null && s.code) && (r = hd(e), ct(r.status, e), $i(t) && (r = hd(`rejected${Am(t)}`), ct(r.status, e))), t.status === Hr.SUCCESS_PROCESSED && (r = md(t.payment_type), ct(r.status, "")), t.status === Hr.BLOCKED && (r = jp(t.payment_type), ct(r.status, e))), r;
63457
63457
  }
63458
63458
  webSocket() {
63459
63459
  return we(this, null, function* () {
@@ -63466,7 +63466,7 @@ let xi = class extends qe {
63466
63466
  }
63467
63467
  yield this.getPaymentRequestAndRedirectToStatus();
63468
63468
  } catch (t) {
63469
- dt("WEB_SOCKET_ERROR", "Web socket connection failed."), console.log(t), this.statusMessage = t.status || "WS_DISCONNECTED";
63469
+ ct("WEB_SOCKET_ERROR", "Web socket connection failed."), console.log(t), this.statusMessage = t.status || "WS_DISCONNECTED";
63470
63470
  } finally {
63471
63471
  let t = fr.messages.find((e) => e.status === this.statusMessage);
63472
63472
  if (this.isShowCardPayment = this.statusMessage === "WEB_SOCKET_ERROR", this.statusMessage !== "WS_DISCONNECTED") {
@@ -63514,7 +63514,7 @@ let xi = class extends qe {
63514
63514
  }
63515
63515
  },
63516
63516
  e
63517
- ), dt("PAYMENT_REQUEST_ERROR", "Payment request failed."), this.statusMessage = "UNKNOWN_ERROR";
63517
+ ), ct("PAYMENT_REQUEST_ERROR", "Payment request failed."), this.statusMessage = "UNKNOWN_ERROR";
63518
63518
  } finally {
63519
63519
  this.stateScofStatus.isStart = !1;
63520
63520
  }
@@ -63921,7 +63921,7 @@ let bn = class extends qe {
63921
63921
  docType: this.stateScof.binData.holder.doc_type.toLowerCase(),
63922
63922
  docNumber: this.stateScof.binData.holder.doc_number,
63923
63923
  cardBrand: this.stateScof.binData.installment.name
63924
- }, f = Et(ct({}, p), {
63924
+ }, f = Bt(dt({}, p), {
63925
63925
  encPaymentInstrument: "*** MASKED ***"
63926
63926
  });
63927
63927
  try {
@@ -63957,7 +63957,7 @@ let bn = class extends qe {
63957
63957
  }
63958
63958
  });
63959
63959
  } catch (y) {
63960
- console.log(y), dt("TOKENIZED_PROVISIONING_ERROR", "Tokenized provisioning failed."), this.isLoading = !1, this.stateScof.isAddCardConsent = !1, this.createEvent("tokenized-card", !1), he.error(
63960
+ console.log(y), ct("TOKENIZED_PROVISIONING_ERROR", "Tokenized provisioning failed."), this.isLoading = !1, this.stateScof.isAddCardConsent = !1, this.createEvent("tokenized-card", !1), he.error(
63961
63961
  "submit",
63962
63962
  {
63963
63963
  context: Me.CARD_ON_FILE,
@@ -64229,7 +64229,9 @@ let el = class extends qe {
64229
64229
  }
64230
64230
  get cards() {
64231
64231
  var t;
64232
- return (t = this.stateScof.userCardData) == null ? void 0 : t.list;
64232
+ return (t = this.stateScof.userCardData) == null ? void 0 : t.list.map((e) => Bt(dt({}, e), {
64233
+ is_allowed: this.stateScof.cardsAccepted.includes(e.card_brand)
64234
+ })).sort((e, r) => Number(r.is_allowed) - Number(e.is_allowed));
64233
64235
  }
64234
64236
  get isCardSelected() {
64235
64237
  var t;
@@ -64320,7 +64322,7 @@ let el = class extends qe {
64320
64322
  }
64321
64323
  }), this.createEvent("button-pushed", it.PLANS);
64322
64324
  } catch (s) {
64323
- dt("INSTALLMENT_PLAN_ERROR", "Installment plan failed."), this.isLoading = !1, this.isClickSubmit = !1, this.stateScof.isAddCardConsent = !1, he.error(
64325
+ ct("INSTALLMENT_PLAN_ERROR", "Installment plan failed."), this.isLoading = !1, this.isClickSubmit = !1, this.stateScof.isAddCardConsent = !1, he.error(
64324
64326
  "submit",
64325
64327
  {
64326
64328
  context: Me.CARD_ON_FILE,
@@ -64358,7 +64360,7 @@ let el = class extends qe {
64358
64360
  this.stateScof.userCardData.list = ((r = this.stateScof.userCardData) == null ? void 0 : r.list.filter((o) => o.token_id !== t)) || [], i && this.stateScof.userCardData.selected === i && (this.stateScof.userCardData.selected = null, this.cardSelected = null);
64359
64361
  }
64360
64362
  } catch (n) {
64361
- dt("DELETE_CARD_ERROR", "Card deleted failed."), this.createEvent("deleted-card", !1);
64363
+ ct("DELETE_CARD_ERROR", "Card deleted failed."), this.createEvent("deleted-card", !1);
64362
64364
  } finally {
64363
64365
  const n = document.querySelector("confirmation-modal");
64364
64366
  n == null || n.remove(), ((s = this.stateScof.userCardData) == null ? void 0 : s.list.length) === 0 && this.createEvent("button-pushed", it.HOLDER_FORM), this.requestUpdate();
@@ -65585,7 +65587,7 @@ let Ho = class extends qe {
65585
65587
  }
65586
65588
  },
65587
65589
  r
65588
- ), dt("INSTALLMENT_PLAN_ERROR", "Installment plan failed."), this._statePaymentManualInput.isCardPresent = !1;
65590
+ ), ct("INSTALLMENT_PLAN_ERROR", "Installment plan failed."), this._statePaymentManualInput.isCardPresent = !1;
65589
65591
  } finally {
65590
65592
  this._statePaymentManualInput.isActiveInstallment = !1, this._statePaymentManualInput.isCardPresent = !0;
65591
65593
  }
@@ -65609,7 +65611,7 @@ let Ho = class extends qe {
65609
65611
  var s;
65610
65612
  const e = t.transactions[0].auth_data ? t.transactions[0].auth_data.code : "";
65611
65613
  let r = fr.messages.find((n) => n.status === this.statusMessage);
65612
- return e && (t.status === Hr.FAILURE_PROCESSED && ((s = t.transactions[0].auth_data) != null && s.code) && (r = hd(e), dt(r.status, e), $i(t) && (r = hd(`rejected${Am(t)}`), dt(r.status, e))), t.status === Hr.SUCCESS_PROCESSED && (r = md(t.payment_type), dt(r.status, "")), t.status === Hr.BLOCKED && (r = jp(t.payment_type), dt(r.status, e))), r;
65614
+ return e && (t.status === Hr.FAILURE_PROCESSED && ((s = t.transactions[0].auth_data) != null && s.code) && (r = hd(e), ct(r.status, e), $i(t) && (r = hd(`rejected${Am(t)}`), ct(r.status, e))), t.status === Hr.SUCCESS_PROCESSED && (r = md(t.payment_type), ct(r.status, "")), t.status === Hr.BLOCKED && (r = jp(t.payment_type), ct(r.status, e))), r;
65613
65615
  }
65614
65616
  webSocket() {
65615
65617
  return we(this, null, function* () {
@@ -65622,7 +65624,7 @@ let Ho = class extends qe {
65622
65624
  }
65623
65625
  yield this.getPaymentRequestAndRedirectToStatus();
65624
65626
  } catch (t) {
65625
- dt("WEB_SOCKET_ERROR", "Web socket connection failed."), this.statusMessage = t.status || "WS_DISCONNECTED", console.log(t);
65627
+ ct("WEB_SOCKET_ERROR", "Web socket connection failed."), this.statusMessage = t.status || "WS_DISCONNECTED", console.log(t);
65626
65628
  } finally {
65627
65629
  let t = fr.messages.find((e) => e.status === this.statusMessage);
65628
65630
  if (this.isShowCardPayment = this.statusMessage === "WEB_SOCKET_ERROR", this.statusMessage !== "WS_DISCONNECTED") {
@@ -65669,7 +65671,7 @@ let Ho = class extends qe {
65669
65671
  }
65670
65672
  },
65671
65673
  e
65672
- ), dt("PAYMENT_REQUEST_ERROR", "Payment request failed."), this.statusMessage = "UNKNOWN_ERROR";
65674
+ ), ct("PAYMENT_REQUEST_ERROR", "Payment request failed."), this.statusMessage = "UNKNOWN_ERROR";
65673
65675
  } finally {
65674
65676
  this.stateStatus.isStart = !1;
65675
65677
  }
@@ -66146,7 +66148,7 @@ let so = class extends qe {
66146
66148
  }
66147
66149
  },
66148
66150
  t
66149
- ), dt("INSTALLMENT_PLAN_ERROR", "Installment plan in the holder form failed."), this._statePaymentManualInput.isCardPresent = !1;
66151
+ ), ct("INSTALLMENT_PLAN_ERROR", "Installment plan in the holder form failed."), this._statePaymentManualInput.isCardPresent = !1;
66150
66152
  } finally {
66151
66153
  this._statePaymentManualInput.isActiveInstallment = !1, this._statePaymentManualInput.isCardPresent = !0, this.isLoading = !1;
66152
66154
  }
@@ -66542,7 +66544,7 @@ let xs = class t extends qe {
66542
66544
  const e = yield om(this._statePaymentManualInput.statePaymentRequest.payment_id);
66543
66545
  this._statePaymentManualInput.payment = e;
66544
66546
  } catch (e) {
66545
- console.log(e), dt("PAYMENT_ERROR", "Payment failed.");
66547
+ console.log(e), ct("PAYMENT_ERROR", "Payment failed.");
66546
66548
  }
66547
66549
  setTimeout(() => {
66548
66550
  this.isLoadingDownloadPDF = !1, this.hideDownloadButton();
@@ -66590,7 +66592,7 @@ let xs = class t extends qe {
66590
66592
  }
66591
66593
  });
66592
66594
  } catch (r) {
66593
- console.error(r), dt("EXTEND_HEART_BEAT_ERROR", "Extend heart beat failed.");
66595
+ console.error(r), ct("EXTEND_HEART_BEAT_ERROR", "Extend heart beat failed.");
66594
66596
  }
66595
66597
  });
66596
66598
  }
@@ -67066,9 +67068,9 @@ let ki = class t extends qe {
67066
67068
  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", It.STATUS);
67067
67069
  return;
67068
67070
  }
67069
- yield this.validateCircuitBreaker(), yield this.getPromotions(), this._statePaymentManualInput.page = It.MANUAL_INPUT, this.stateManualInputProps = ct({}, this.stateManualInputProps), this.createEvent("button-pushed", this._statePaymentManualInput.page), this.requestUpdate();
67071
+ yield this.validateCircuitBreaker(), yield this.getPromotions(), this._statePaymentManualInput.page = It.MANUAL_INPUT, this.stateManualInputProps = dt({}, this.stateManualInputProps), this.createEvent("button-pushed", this._statePaymentManualInput.page), this.requestUpdate();
67070
67072
  } catch (e) {
67071
- dt("LOAD_DATA_ERROR", "Load data failed."), console.log(e), this.redirectByUnknownError();
67073
+ ct("LOAD_DATA_ERROR", "Load data failed."), console.log(e), this.redirectByUnknownError();
67072
67074
  }
67073
67075
  });
67074
67076
  }
@@ -67082,7 +67084,7 @@ let ki = class t extends qe {
67082
67084
  });
67083
67085
  this._statePaymentManualInput.walletPromotions = AA(e, "wallet"), this._statePaymentManualInput.manualInputPromotions = AA(e, "manual_input");
67084
67086
  } catch (e) {
67085
- dt("PROMOTIONS_ERROR", "Promotions failed."), console.log(e), this.redirectByUnknownError();
67087
+ ct("PROMOTIONS_ERROR", "Promotions failed."), console.log(e), this.redirectByUnknownError();
67086
67088
  }
67087
67089
  });
67088
67090
  }
@@ -67091,7 +67093,7 @@ let ki = class t extends qe {
67091
67093
  try {
67092
67094
  yield M2(this._statePaymentManualInput.statePaymentRequest), as.isEnabled || this.redirectByUnknownError();
67093
67095
  } catch (e) {
67094
- dt("CIRCUIT_BREAKER_ERROR", "Circuit breaker failed."), console.log(e), this.redirectByUnknownError();
67096
+ ct("CIRCUIT_BREAKER_ERROR", "Circuit breaker failed."), console.log(e), this.redirectByUnknownError();
67095
67097
  }
67096
67098
  });
67097
67099
  }
@@ -67102,7 +67104,7 @@ let ki = class t extends qe {
67102
67104
  directPaymentTransparent() {
67103
67105
  return we(this, null, function* () {
67104
67106
  var r, s, n, i, o, a, d;
67105
- this._statePaymentManualInput.formCardData = Et(ct({}, this._statePaymentManualInput.formCardData), {
67107
+ this._statePaymentManualInput.formCardData = Bt(dt({}, this._statePaymentManualInput.formCardData), {
67106
67108
  dni: (r = this._statePaymentManualInput.binData) == null ? void 0 : r.holder.doc_number,
67107
67109
  passport: null,
67108
67110
  dateOfBirth: "",
@@ -67110,7 +67112,7 @@ let ki = class t extends qe {
67110
67112
  name: (n = this._statePaymentManualInput.binData) == null ? void 0 : n.holder.name
67111
67113
  });
67112
67114
  const e = b2(
67113
- Et(ct({}, this._statePaymentManualInput.statePaymentRequest), { flag: !0 }),
67115
+ Bt(dt({}, this._statePaymentManualInput.statePaymentRequest), { flag: !0 }),
67114
67116
  this._statePaymentManualInput.formCardData,
67115
67117
  this._statePaymentManualInput.installment,
67116
67118
  !1
@@ -67147,7 +67149,7 @@ let ki = class t extends qe {
67147
67149
  }
67148
67150
  },
67149
67151
  l
67150
- ), dt("DIRECT_PAYMENT_ERROR", "Direct payment failed.");
67152
+ ), ct("DIRECT_PAYMENT_ERROR", "Direct payment failed.");
67151
67153
  const c = am;
67152
67154
  this.stateStatus.title = c.title, this.stateStatus.subtitle = c.subtitle, this.stateStatus.icon = c.icon, this.stateStatus.status = c.status, this.stateStatus.name = c.name, this.stateStatus.returnButton = c.returnButton, this.stateStatus.nameReturnButton = c.nameReturnButton, this.createEvent("button-pushed", It.STATUS);
67153
67155
  } finally {
@@ -67161,12 +67163,12 @@ let ki = class t extends qe {
67161
67163
  const e = yield Zo(this._statePaymentManualInput.statePaymentRequest.id);
67162
67164
  if (this._statePaymentManualInput.statePaymentRequest = e.response, e.response.status === Hr.SUCCESS_PROCESSED) {
67163
67165
  let r = fr.messages.find((s) => s.status === e.response.status);
67164
- r = md(e.response.payment_type), dt(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._statePaymentManualInput.isActiveWs = !1, this._statePaymentManualInput.isExtendedWs = !1, this.createEvent("button-pushed", It.STATUS));
67166
+ r = md(e.response.payment_type), ct(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._statePaymentManualInput.isActiveWs = !1, this._statePaymentManualInput.isExtendedWs = !1, this.createEvent("button-pushed", It.STATUS));
67165
67167
  return;
67166
67168
  }
67167
67169
  this.createEvent("button-pushed", It.MANUAL_INPUT);
67168
67170
  } catch (e) {
67169
- console.log(e), dt("PAYMENT_REQUEST_EXTENDED_WS_ERROR", "Payment request in the extended web socket failed.");
67171
+ console.log(e), ct("PAYMENT_REQUEST_EXTENDED_WS_ERROR", "Payment request in the extended web socket failed.");
67170
67172
  }
67171
67173
  });
67172
67174
  }
@@ -73134,7 +73136,7 @@ function pt(t) {
73134
73136
  throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
73135
73137
  return Xe[m] = S;
73136
73138
  };
73137
- var Bt, Ye, Gr, Lt, Yn, sr = {}, gr = {}, Di = [], Kt = {}, xl = {}, yr = {}, Wn = {}, po = null, vr = 0, vt = [], Gt = new V6(p), kl = t.hotfixes || [], ds = {}, Ri = {}, Qi = [], ut = function m(S, Y, te, Ae, _e, Re) {
73139
+ var Ct, Ye, Gr, Lt, Yn, sr = {}, gr = {}, Di = [], Kt = {}, xl = {}, yr = {}, Wn = {}, po = null, vr = 0, vt = [], Gt = new V6(p), kl = t.hotfixes || [], ds = {}, Ri = {}, Qi = [], ut = function m(S, Y, te, Ae, _e, Re) {
73138
73140
  if (!(this instanceof m))
73139
73141
  return new m(S, Y, te, Ae, _e, Re);
73140
73142
  isNaN(S) && (S = 1), isNaN(Y) && (Y = 0), isNaN(te) && (te = 0), isNaN(Ae) && (Ae = 1), isNaN(_e) && (_e = 0), isNaN(Re) && (Re = 0), this._matrix = [S, Y, te, Ae, _e, Re];
@@ -73493,7 +73495,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
73493
73495
  }, m.foo.bar = m, m.foo;
73494
73496
  }, Gd = function(m, S) {
73495
73497
  var Y, te, Ae, _e, Re, Je, lt, kt, bt;
73496
- if (Ae = (S = S || {}).sourceEncoding || "Unicode", Re = S.outputEncoding, (S.autoencode || Re) && sr[Bt].metadata && sr[Bt].metadata[Ae] && sr[Bt].metadata[Ae].encoding && (_e = sr[Bt].metadata[Ae].encoding, !Re && sr[Bt].encoding && (Re = sr[Bt].encoding), !Re && _e.codePages && (Re = _e.codePages[0]), typeof Re == "string" && (Re = _e[Re]), Re)) {
73498
+ if (Ae = (S = S || {}).sourceEncoding || "Unicode", Re = S.outputEncoding, (S.autoencode || Re) && sr[Ct].metadata && sr[Ct].metadata[Ae] && sr[Ct].metadata[Ae].encoding && (_e = sr[Ct].metadata[Ae].encoding, !Re && sr[Ct].encoding && (Re = sr[Ct].encoding), !Re && _e.codePages && (Re = _e.codePages[0]), typeof Re == "string" && (Re = _e[Re]), Re)) {
73497
73499
  for (lt = !1, Je = [], Y = 0, te = m.length; Y < te; Y++)
73498
73500
  (kt = Re[m.charCodeAt(Y)]) ? Je.push(String.fromCharCode(kt)) : Je.push(m[Y]), Je[Y].charCodeAt(0) >> 8 && (lt = !0);
73499
73501
  m = Je.join("");
@@ -73530,7 +73532,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
73530
73532
  return ze.length - 1;
73531
73533
  }, Jp = function(m, S, Y) {
73532
73534
  var te, Ae = void 0;
73533
- return Y = Y || {}, m = m !== void 0 ? m : sr[Bt].fontName, S = S !== void 0 ? S : sr[Bt].fontStyle, te = m.toLowerCase(), gr[te] !== void 0 && gr[te][S] !== void 0 ? Ae = gr[te][S] : gr[m] !== void 0 && gr[m][S] !== void 0 ? Ae = gr[m][S] : Y.disableWarning === !1 && or.warn("Unable to look up font label for font '" + m + "', '" + S + "'. Refer to getFontList() for available fonts."), Ae || Y.noFallback || (Ae = gr.times[S]) == null && (Ae = gr.times.normal), Ae;
73535
+ return Y = Y || {}, m = m !== void 0 ? m : sr[Ct].fontName, S = S !== void 0 ? S : sr[Ct].fontStyle, te = m.toLowerCase(), gr[te] !== void 0 && gr[te][S] !== void 0 ? Ae = gr[te][S] : gr[m] !== void 0 && gr[m][S] !== void 0 ? Ae = gr[m][S] : Y.disableWarning === !1 && or.warn("Unable to look up font label for font '" + m + "', '" + S + "'. Refer to getFontList() for available fonts."), Ae || Y.noFallback || (Ae = gr.times[S]) == null && (Ae = gr.times.normal), Ae;
73534
73536
  }, s0 = p.__private__.putInfo = function() {
73535
73537
  var m = Yr(), S = function(te) {
73536
73538
  return te;
@@ -73780,7 +73782,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
73780
73782
  }
73781
73783
  if ((bt = te.maxWidth || 0) > 0 && (typeof m == "string" ? m = Nr.splitTextToSize(m, bt) : Object.prototype.toString.call(m) === "[object Array]" && (m = m.reduce(function(ar, lr) {
73782
73784
  return ar.concat(Nr.splitTextToSize(lr, bt));
73783
- }, []))), _e = { text: m, x: S, y: Y, options: te, mutex: { pdfEscape: Xs, activeFontKey: Bt, fonts: sr, activeFontSize: x } }, Gt.publish("preProcessText", _e), m = _e.text, Je = (te = _e.options).angle, !(br instanceof ut) && Je && typeof Je == "number") {
73785
+ }, []))), _e = { text: m, x: S, y: Y, options: te, mutex: { pdfEscape: Xs, activeFontKey: Ct, fonts: sr, activeFontSize: x } }, Gt.publish("preProcessText", _e), m = _e.text, Je = (te = _e.options).angle, !(br instanceof ut) && Je && typeof Je == "number") {
73784
73786
  Je *= Math.PI / 180, te.rotationDirection === 0 && (Je = -Je), _ === k.ADVANCED && (Je = -Je);
73785
73787
  var ic = Math.cos(Je), eu = Math.sin(Je);
73786
73788
  br = new ut(ic, eu, -eu, ic, 0, 0);
@@ -73829,7 +73831,7 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
73829
73831
  Zs !== -1 ? ts += Zs + ` Tr
73830
73832
  ` : lg !== -1 && (ts += `0 Tr
73831
73833
  `), Zs !== -1 && (tu.usedRenderingMode = Zs), lt = te.align || "left";
73832
- var Sn, oc = x * cn, dg = Nr.internal.pageSize.getWidth(), cg = sr[Bt];
73834
+ var Sn, oc = x * cn, dg = Nr.internal.pageSize.getWidth(), cg = sr[Ct];
73833
73835
  kt = te.charSpace || Zd, bt = te.maxWidth || 0, Nt = Object.assign({ autoencode: !0, noBOM: !0 }, te.flags);
73834
73836
  var Aa = [], _l = function(ar) {
73835
73837
  return Nr.getStringUnitWidth(ar, { font: cg, charSpace: kt, fontSize: x, doKerning: !1 }) * x / Hi;
@@ -73873,8 +73875,8 @@ Q`), dn(Ae, !0), jn({ data: _e, filters: Oi(), objectId: Ae }), X("endobj"), te;
73873
73875
  var Ag = typeof te.R2L == "boolean" ? te.R2L : ge;
73874
73876
  Ag === !0 && (m = XA(m, function(ar, lr, _r) {
73875
73877
  return [ar.split("").reverse().join(""), lr, _r];
73876
- })), _e = { text: m, x: S, y: Y, options: te, mutex: { pdfEscape: Xs, activeFontKey: Bt, fonts: sr, activeFontSize: x } }, Gt.publish("postProcessText", _e), m = _e.text, ri = _e.mutex.isHex || !1;
73877
- var su = sr[Bt].encoding;
73878
+ })), _e = { text: m, x: S, y: Y, options: te, mutex: { pdfEscape: Xs, activeFontKey: Ct, fonts: sr, activeFontSize: x } }, Gt.publish("postProcessText", _e), m = _e.text, ri = _e.mutex.isHex || !1;
73879
+ var su = sr[Ct].encoding;
73878
73880
  su !== "WinAnsiEncoding" && su !== "StandardEncoding" || (m = XA(m, function(ar, lr, _r) {
73879
73881
  return [ag(ar), lr, _r];
73880
73882
  })), Re = JA(m), m = [];
@@ -73900,10 +73902,10 @@ T* `) : m.join(` Tj
73900
73902
  `;
73901
73903
  var Fn = `BT
73902
73904
  /`;
73903
- return Fn += Bt + " " + x + ` Tf
73905
+ return Fn += Ct + " " + x + ` Tf
73904
73906
  `, Fn += q(x * cn) + ` TL
73905
73907
  `, Fn += jl + `
73906
- `, Fn += ts, Fn += m, X(Fn += "ET"), h[Bt] = !0, Nr;
73908
+ `, Fn += ts, Fn += m, X(Fn += "ET"), h[Ct] = !0, Nr;
73907
73909
  };
73908
73910
  var d0 = p.__private__.clip = p.clip = function(m) {
73909
73911
  return X(m === "evenodd" ? "W*" : "W"), this;
@@ -74049,7 +74051,7 @@ T* `) : m.join(` Tj
74049
74051
  throw new Error("Invalid arguments passed to jsPDF.circle");
74050
74052
  return this.ellipse(m, S, Y, Y, te);
74051
74053
  }, p.setFont = function(m, S, Y) {
74052
- return Y && (S = H(S, Y)), Bt = Jp(m, S, { disableWarning: !1 }), this;
74054
+ return Y && (S = H(S, Y)), Ct = Jp(m, S, { disableWarning: !1 }), this;
74053
74055
  };
74054
74056
  var p0 = p.__private__.getFont = p.getFont = function() {
74055
74057
  return sr[Jp.apply(p, arguments)];
@@ -74163,11 +74165,11 @@ T* `) : m.join(` Tj
74163
74165
  p.addGState = function(m, S) {
74164
74166
  return ig(m, S), this;
74165
74167
  }, p.saveGraphicsState = function() {
74166
- return X("q"), Di.push({ key: Bt, size: x, color: jl }), this;
74168
+ return X("q"), Di.push({ key: Ct, size: x, color: jl }), this;
74167
74169
  }, p.restoreGraphicsState = function() {
74168
74170
  X("Q");
74169
74171
  var m = Di.pop();
74170
- return Bt = m.key, x = m.size, jl = m.color, po = null, this;
74172
+ return Ct = m.key, x = m.size, jl = m.color, po = null, this;
74171
74173
  }, p.setCurrentTransformationMatrix = function(m) {
74172
74174
  return X(m.toString() + " cm"), this;
74173
74175
  }, p.comment = function(m) {
@@ -74272,7 +74274,7 @@ T* `) : m.join(` Tj
74272
74274
  return ca(M);
74273
74275
  }, set: function(m) {
74274
74276
  WA(M, m);
74275
- }, enumerable: !0, configurable: !0 }), e0.call(p, w), Bt = "F1", Yp(n, r), Gt.publish("initialized"), p;
74277
+ }, enumerable: !0, configurable: !0 }), e0.call(p, w), Ct = "F1", Yp(n, r), Gt.publish("initialized"), p;
74276
74278
  }
74277
74279
  Rc.prototype.lsbFirstWord = function(t) {
74278
74280
  return String.fromCharCode(t >> 0 & 255, t >> 8 & 255, t >> 16 & 255, t >> 24 & 255);
@@ -75993,16 +75995,16 @@ var jh, X6, Z6, Ay = ["times"];
75993
75995
  var mt = X[1], D = (X[2], X[3]), w = X[4], x = (X[5], X[6]), Q = /^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(w)[2];
75994
75996
  w = Math.floor(Q === "px" ? parseFloat(w) * this.pdf.internal.scaleFactor : Q === "em" ? parseFloat(w) * this.pdf.getFontSize() : parseFloat(w) * this.pdf.internal.scaleFactor), this.pdf.setFontSize(w);
75995
75997
  var $ = function(Xe) {
75996
- var Bt, Ye, Gr = [], Lt = Xe.trim();
75998
+ var Ct, Ye, Gr = [], Lt = Xe.trim();
75997
75999
  if (Lt === "")
75998
76000
  return Ay;
75999
76001
  if (Lt in Y6)
76000
76002
  return [Y6[Lt]];
76001
76003
  for (; Lt !== ""; ) {
76002
- switch (Ye = null, Bt = (Lt = J6(Lt)).charAt(0)) {
76004
+ switch (Ye = null, Ct = (Lt = J6(Lt)).charAt(0)) {
76003
76005
  case '"':
76004
76006
  case "'":
76005
- Ye = SG(Lt.substring(1), Bt);
76007
+ Ye = SG(Lt.substring(1), Ct);
76006
76008
  break;
76007
76009
  default:
76008
76010
  Ye = _G(Lt);
@@ -76238,7 +76240,7 @@ var jh, X6, Z6, Ay = ["times"];
76238
76240
  if (_($), this.autoPaging)
76239
76241
  for (var ke = $[0], Ge = $[$.length - 1], rt = ke; rt < Ge + 1; rt++) {
76240
76242
  this.pdf.setPage(rt);
76241
- var at = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], ft = rt === 1 ? this.posY + this.margin[0] : this.margin[0], Xe = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Bt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ye = rt === 1 ? 0 : Xe + (rt - 2) * Bt;
76243
+ var at = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], ft = rt === 1 ? this.posY + this.margin[0] : this.margin[0], Xe = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Ct = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ye = rt === 1 ? 0 : Xe + (rt - 2) * Ct;
76242
76244
  if (this.ctx.clip_path.length !== 0) {
76243
76245
  var Gr = this.path;
76244
76246
  X = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = k(X, this.posX + this.margin[3], -Ye + ft + this.ctx.prevPageLastElemOffset), K.call(this, "fill", !0), this.path = Gr;
@@ -76246,7 +76248,7 @@ var jh, X6, Z6, Ay = ["times"];
76246
76248
  var Lt = JSON.parse(JSON.stringify(x));
76247
76249
  Lt = k([Lt], this.posX + this.margin[3], -Ye + ft + this.ctx.prevPageLastElemOffset)[0];
76248
76250
  var Yn = (rt > ke || rt < Ge) && y.call(this);
76249
- Yn && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], at, Bt, null).clip().discardPath()), this.pdf.addImage(E, "JPEG", Lt.x, Lt.y, Lt.w, Lt.h, null, null, D), Yn && this.pdf.restoreGraphicsState();
76251
+ Yn && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], at, Ct, null).clip().discardPath()), this.pdf.addImage(E, "JPEG", Lt.x, Lt.y, Lt.w, Lt.h, null, null, D), Yn && this.pdf.restoreGraphicsState();
76250
76252
  }
76251
76253
  else
76252
76254
  this.pdf.addImage(E, "JPEG", x.x, x.y, x.w, x.h, null, null, D);
@@ -76455,10 +76457,10 @@ var jh, X6, Z6, Ay = ["times"];
76455
76457
  }
76456
76458
  var Xe = k([JSON.parse(JSON.stringify(ot))], this.posX + this.margin[3], -at + Q + this.ctx.prevPageLastElemOffset)[0];
76457
76459
  E.scale >= 0.01 && (ze = this.pdf.internal.getFontSize(), this.pdf.setFontSize(ze * E.scale), Oe = this.lineWidth, this.lineWidth = Oe * E.scale);
76458
- var Bt = this.autoPaging !== "text";
76459
- if (Bt || Xe.y + Xe.h <= ge) {
76460
- if (Bt || Xe.y >= Q && Xe.x <= Ge) {
76461
- var Ye = Bt ? E.text : this.pdf.splitTextToSize(E.text, E.maxWidth || Ge - Xe.x)[0], Gr = k([JSON.parse(JSON.stringify(Le))], this.posX + this.margin[3], -at + Q + this.ctx.prevPageLastElemOffset)[0], Lt = Bt && (x > D || x < w) && y.call(this);
76460
+ var Ct = this.autoPaging !== "text";
76461
+ if (Ct || Xe.y + Xe.h <= ge) {
76462
+ if (Ct || Xe.y >= Q && Xe.x <= Ge) {
76463
+ var Ye = Ct ? E.text : this.pdf.splitTextToSize(E.text, E.maxWidth || Ge - Xe.x)[0], Gr = k([JSON.parse(JSON.stringify(Le))], this.posX + this.margin[3], -at + Q + this.ctx.prevPageLastElemOffset)[0], Lt = Ct && (x > D || x < w) && y.call(this);
76462
76464
  Lt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], rt, ke, null).clip().discardPath()), this.pdf.text(Ye, Gr.x, Gr.y, { angle: E.angle, align: M, renderingMode: E.renderingMode }), Lt && this.pdf.restoreGraphicsState();
76463
76465
  }
76464
76466
  } else
@@ -77456,7 +77458,7 @@ function uy(t) {
77456
77458
  }
77457
77459
  function ae(E, M, G, ee, re) {
77458
77460
  for (var ce, ye = re[0], ve = re[240], Qe = function(w, x) {
77459
- var Q, $, ge, ke, Ge, rt, at, ft, Xe, Bt, Ye = 0;
77461
+ var Q, $, ge, ke, Ge, rt, at, ft, Xe, Ct, Ye = 0;
77460
77462
  for (Xe = 0; Xe < 8; ++Xe) {
77461
77463
  Q = w[Ye], $ = w[Ye + 1], ge = w[Ye + 2], ke = w[Ye + 3], Ge = w[Ye + 4], rt = w[Ye + 5], at = w[Ye + 6];
77462
77464
  var Gr = Q + (ft = w[Ye + 7]), Lt = Q - ft, Yn = $ + at, sr = $ - at, gr = ge + rt, Di = ge - rt, Kt = ke + Ge, xl = ke - Ge, yr = Gr + Kt, Wn = Gr - Kt, po = Yn + gr, vr = Yn - gr;
@@ -77476,7 +77478,7 @@ function uy(t) {
77476
77478
  w[Ye + 40] = Hd + Bl, w[Ye + 24] = Hd - Bl, w[Ye + 8] = qd + Ld, w[Ye + 56] = qd - Ld, Ye++;
77477
77479
  }
77478
77480
  for (Xe = 0; Xe < 64; ++Xe)
77479
- Bt = w[Xe] * x[Xe], p[Xe] = Bt > 0 ? Bt + 0.5 | 0 : Bt - 0.5 | 0;
77481
+ Ct = w[Xe] * x[Xe], p[Xe] = Ct > 0 ? Ct + 0.5 | 0 : Ct - 0.5 | 0;
77480
77482
  return p;
77481
77483
  }(E, M), ze = 0; ze < 64; ++ze)
77482
77484
  f[q[ze]] = Qe[ze];
@@ -77831,7 +77833,7 @@ function sx(t) {
77831
77833
  V = 255 & (V = (V = V + ((A.hd << 24 >> 24) * (R << 24 >> 24) >>> 5)) + ((A.ud << 24 >> 24) * (se << 24 >> 24) >>> 5)), j[I + U] = (4278255360 & z) + (se << 16) + V;
77832
77834
  }
77833
77835
  }
77834
- function Bt(A, g, v, B, j) {
77836
+ function Ct(A, g, v, B, j) {
77835
77837
  L[g] = function(I, U, z, R, V, se, me, fe, le) {
77836
77838
  for (R = me; R < fe; ++R)
77837
77839
  for (me = 0; me < le; ++me)
@@ -78238,7 +78240,7 @@ function sx(t) {
78238
78240
  var nr;
78239
78241
  if (nr = I)
78240
78242
  t: {
78241
- var $t, Ct, Or, en = B, Lr = U, tn = z, Jt = me, un = v, pn = en.m, rs = en.s, As = [null], Qs = 1, Tn = 0, Vi = s8[Jt];
78243
+ var $t, Et, Or, en = B, Lr = U, tn = z, Jt = me, un = v, pn = en.m, rs = en.s, As = [null], Qs = 1, Tn = 0, Vi = s8[Jt];
78242
78244
  r:
78243
78245
  for (; ; ) {
78244
78246
  if (un && ae(pn, 1)) {
@@ -78252,9 +78254,9 @@ function sx(t) {
78252
78254
  }
78253
78255
  if (pn.h)
78254
78256
  break r;
78255
- for (Ct = 0; 5 > Ct; ++Ct) {
78256
- var wr = Wb[Ct];
78257
- !Ct && 0 < Jt && (wr += 1 << Jt), Tn < wr && (Tn = wr);
78257
+ for (Et = 0; 5 > Et; ++Et) {
78258
+ var wr = Wb[Et];
78259
+ !Et && 0 < Jt && (wr += 1 << Jt), Tn < wr && (Tn = wr);
78258
78260
  }
78259
78261
  var j0 = o(Qs * Vi, N), ow = Qs, aw = o(ow, J);
78260
78262
  if (aw == null)
@@ -78269,8 +78271,8 @@ function sx(t) {
78269
78271
  var kg = j0;
78270
78272
  for ($t = Or = 0; $t < Qs; ++$t) {
78271
78273
  var ni = xg[$t], uc = ni.G, pc = ni.H, lw = 0, Bg = 1, dw = 0;
78272
- for (Ct = 0; 5 > Ct; ++Ct) {
78273
- wr = Wb[Ct], uc[Ct] = kg, pc[Ct] = Or, !Ct && 0 < Jt && (wr += 1 << Jt);
78274
+ for (Et = 0; 5 > Et; ++Et) {
78275
+ wr = Wb[Et], uc[Et] = kg, pc[Et] = Or, !Et && 0 < Jt && (wr += 1 << Jt);
78274
78276
  n: {
78275
78277
  var Cg, S0 = wr, Eg = en, du = lu, B8 = kg, C8 = Or, _0 = 0, ya = Eg.m, E8 = ae(ya, 1);
78276
78278
  if (n(du, 0, 0, S0), E8) {
@@ -78319,7 +78321,7 @@ function sx(t) {
78319
78321
  }
78320
78322
  if (Sg == 0)
78321
78323
  break r;
78322
- if (Bg && e8[Ct] == 1 && (Bg = kg[Or].g == 0), lw += kg[Or].g, Or += Sg, 3 >= Ct) {
78324
+ if (Bg && e8[Et] == 1 && (Bg = kg[Or].g == 0), lw += kg[Or].g, Or += Sg, 3 >= Et) {
78323
78325
  var Au, U0 = lu[0];
78324
78326
  for (Au = 1; Au < wr; ++Au)
78325
78327
  lu[Au] > U0 && (U0 = lu[Au]);
@@ -78648,7 +78650,7 @@ function sx(t) {
78648
78650
  if (Ie = ne, Pe = (ie = le).rb[ie.sb - 1], Ze = ie.rb[ie.sb + ie.ja], je = ie.ya[ie.aa + ie.ja], He = ie.kc ? je.Ad : 0)
78649
78651
  Pe.la = Ze.la = 0, je.Za || (Pe.Na = Ze.Na = 0), je.Hc = 0, je.Gc = 0, je.ia = 0;
78650
78652
  else {
78651
- var $t, Ct;
78653
+ var $t, Et;
78652
78654
  if (Pe = Ze, Ze = Ie, He = ie.Pa.Xc, At = ie.ya[ie.aa + ie.ja], Ke = ie.pb[At.$b], Fe = At.ad, Ht = 0, Wt = ie.rb[ie.sb - 1], Tt = Ot = 0, n(Fe, Ht, 0, 384), At.Za)
78653
78655
  var Or = 0, en = He[3];
78654
78656
  else {
@@ -78666,17 +78668,17 @@ function sx(t) {
78666
78668
  var Jt = 15 & Pe.la, un = 15 & Wt.la;
78667
78669
  for (nr = 0; 4 > nr; ++nr) {
78668
78670
  var pn = 1 & un;
78669
- for (tn = Ct = 0; 4 > tn; ++tn)
78670
- Jt = Jt >> 1 | (pn = (Lr = ou(Ze, en, Lr = pn + (1 & Jt), Ke.Sc, Or, Fe, Ht)) > Or) << 7, Ct = Ct << 2 | (3 < Lr ? 3 : 1 < Lr ? 2 : Fe[Ht + 0] != 0), Ht += 16;
78671
- Jt >>= 4, un = un >> 1 | pn << 7, Ot = (Ot << 8 | Ct) >>> 0;
78671
+ for (tn = Et = 0; 4 > tn; ++tn)
78672
+ Jt = Jt >> 1 | (pn = (Lr = ou(Ze, en, Lr = pn + (1 & Jt), Ke.Sc, Or, Fe, Ht)) > Or) << 7, Et = Et << 2 | (3 < Lr ? 3 : 1 < Lr ? 2 : Fe[Ht + 0] != 0), Ht += 16;
78673
+ Jt >>= 4, un = un >> 1 | pn << 7, Ot = (Ot << 8 | Et) >>> 0;
78672
78674
  }
78673
78675
  for (en = Jt, Or = un >> 4, $t = 0; 4 > $t; $t += 2) {
78674
- for (Ct = 0, Jt = Pe.la >> 4 + $t, un = Wt.la >> 4 + $t, nr = 0; 2 > nr; ++nr) {
78676
+ for (Et = 0, Jt = Pe.la >> 4 + $t, un = Wt.la >> 4 + $t, nr = 0; 2 > nr; ++nr) {
78675
78677
  for (pn = 1 & un, tn = 0; 2 > tn; ++tn)
78676
- Lr = pn + (1 & Jt), Jt = Jt >> 1 | (pn = 0 < (Lr = ou(Ze, He[2], Lr, Ke.Qc, 0, Fe, Ht))) << 3, Ct = Ct << 2 | (3 < Lr ? 3 : 1 < Lr ? 2 : Fe[Ht + 0] != 0), Ht += 16;
78678
+ Lr = pn + (1 & Jt), Jt = Jt >> 1 | (pn = 0 < (Lr = ou(Ze, He[2], Lr, Ke.Qc, 0, Fe, Ht))) << 3, Et = Et << 2 | (3 < Lr ? 3 : 1 < Lr ? 2 : Fe[Ht + 0] != 0), Ht += 16;
78677
78679
  Jt >>= 2, un = un >> 1 | pn << 5;
78678
78680
  }
78679
- Tt |= Ct << 4 * $t, en |= Jt << 4 << $t, Or |= (240 & un) << $t;
78681
+ Tt |= Et << 4 * $t, en |= Jt << 4 << $t, Or |= (240 & un) << $t;
78680
78682
  }
78681
78683
  Pe.la = en, Wt.la = Or, At.Hc = Ot, At.Gc = Tt, At.ia = 43690 & Tt ? 0 : Ke.ia, He = !(Ot | Tt);
78682
78684
  }
@@ -78685,9 +78687,9 @@ function sx(t) {
78685
78687
  }
78686
78688
  if (RA(le), ie = Ue, Ie = 1, je = (ne = le).D, Pe = 0 < ne.L && ne.M >= ne.zb && ne.M <= ne.Va, ne.Aa == 0)
78687
78689
  e: {
78688
- if (je.M = ne.M, je.uc = Pe, XA(ne, je), Ie = 1, je = (Ct = ne.D).Nb, Pe = (Tt = wg[ne.L]) * ne.R, Ze = Tt / 2 * ne.B, nr = 16 * je * ne.R, tn = 8 * je * ne.B, He = ne.sa, At = ne.ta - Pe + nr, Ke = ne.qa, Fe = ne.ra - Ze + tn, Ht = ne.Ha, Wt = ne.Ia - Ze + tn, un = (Jt = Ct.M) == 0, Ot = Jt >= ne.Va - 1, ne.Aa == 2 && XA(ne, Ct), Ct.uc)
78689
- for (pn = (Lr = ne).D.M, e(Lr.D.uc), Ct = Lr.yb; Ct < Lr.Hb; ++Ct) {
78690
- Or = Ct, en = pn;
78690
+ if (je.M = ne.M, je.uc = Pe, XA(ne, je), Ie = 1, je = (Et = ne.D).Nb, Pe = (Tt = wg[ne.L]) * ne.R, Ze = Tt / 2 * ne.B, nr = 16 * je * ne.R, tn = 8 * je * ne.B, He = ne.sa, At = ne.ta - Pe + nr, Ke = ne.qa, Fe = ne.ra - Ze + tn, Ht = ne.Ha, Wt = ne.Ia - Ze + tn, un = (Jt = Et.M) == 0, Ot = Jt >= ne.Va - 1, ne.Aa == 2 && XA(ne, Et), Et.uc)
78691
+ for (pn = (Lr = ne).D.M, e(Lr.D.uc), Et = Lr.yb; Et < Lr.Hb; ++Et) {
78692
+ Or = Et, en = pn;
78691
78693
  var rs = (As = (wr = Lr).D).Nb;
78692
78694
  $t = wr.R;
78693
78695
  var As = As.wa[As.Y + Or], Qs = wr.sa, Tn = wr.ta + 16 * rs * $t + 16 * Or, Vi = As.dd, ss = As.tc;
@@ -78700,11 +78702,11 @@ function sx(t) {
78700
78702
  }
78701
78703
  }
78702
78704
  if (ne.ia && alert("todo:DitherRow"), ie.put != null) {
78703
- if (Ct = 16 * Jt, Jt = 16 * (Jt + 1), un ? (ie.y = ne.sa, ie.O = ne.ta + nr, ie.f = ne.qa, ie.N = ne.ra + tn, ie.ea = ne.Ha, ie.W = ne.Ia + tn) : (Ct -= Tt, ie.y = He, ie.O = At, ie.f = Ke, ie.N = Fe, ie.ea = Ht, ie.W = Wt), Ot || (Jt -= Tt), Jt > ie.o && (Jt = ie.o), ie.F = null, ie.J = null, ne.Fa != null && 0 < ne.Fa.length && Ct < Jt && (ie.J = WA(ne, ie, Ct, Jt - Ct), ie.F = ne.mb, ie.F == null && ie.F.length == 0)) {
78705
+ if (Et = 16 * Jt, Jt = 16 * (Jt + 1), un ? (ie.y = ne.sa, ie.O = ne.ta + nr, ie.f = ne.qa, ie.N = ne.ra + tn, ie.ea = ne.Ha, ie.W = ne.Ia + tn) : (Et -= Tt, ie.y = He, ie.O = At, ie.f = Ke, ie.N = Fe, ie.ea = Ht, ie.W = Wt), Ot || (Jt -= Tt), Jt > ie.o && (Jt = ie.o), ie.F = null, ie.J = null, ne.Fa != null && 0 < ne.Fa.length && Et < Jt && (ie.J = WA(ne, ie, Et, Jt - Et), ie.F = ne.mb, ie.F == null && ie.F.length == 0)) {
78704
78706
  Ie = jr(ne, 3, "Could not decode alpha data.");
78705
78707
  break e;
78706
78708
  }
78707
- Ct < ie.j && (Tt = ie.j - Ct, Ct = ie.j, e(!(1 & Tt)), ie.O += ne.R * Tt, ie.N += ne.B * (Tt >> 1), ie.W += ne.B * (Tt >> 1), ie.F != null && (ie.J += ie.width * Tt)), Ct < Jt && (ie.O += ie.v, ie.N += ie.v >> 1, ie.W += ie.v >> 1, ie.F != null && (ie.J += ie.v), ie.ka = Ct - ie.j, ie.U = ie.va - ie.v, ie.T = Jt - Ct, Ie = ie.put(ie));
78709
+ Et < ie.j && (Tt = ie.j - Et, Et = ie.j, e(!(1 & Tt)), ie.O += ne.R * Tt, ie.N += ne.B * (Tt >> 1), ie.W += ne.B * (Tt >> 1), ie.F != null && (ie.J += ie.width * Tt)), Et < Jt && (ie.O += ie.v, ie.N += ie.v >> 1, ie.W += ie.v >> 1, ie.F != null && (ie.J += ie.v), ie.ka = Et - ie.j, ie.U = ie.va - ie.v, ie.T = Jt - Et, Ie = ie.put(ie));
78708
78710
  }
78709
78711
  je + 1 != ne.Ic || Ot || (s(ne.sa, ne.ta - Pe, He, At + 16 * ne.R, Pe), s(ne.qa, ne.ra - Ze, Ke, Fe + 8 * ne.B, Ze), s(ne.Ha, ne.Ia - Ze, Ht, Wt + 8 * ne.B, Ze));
78710
78712
  }
@@ -79512,11 +79514,11 @@ function sx(t) {
79512
79514
  var y0 = L.PredictorAdd0;
79513
79515
  L.PredictorAdd1 = rt, x("Predictor2", "PredictorAdd2"), x("Predictor3", "PredictorAdd3"), x("Predictor4", "PredictorAdd4"), x("Predictor5", "PredictorAdd5"), x("Predictor6", "PredictorAdd6"), x("Predictor7", "PredictorAdd7"), x("Predictor8", "PredictorAdd8"), x("Predictor9", "PredictorAdd9"), x("Predictor10", "PredictorAdd10"), x("Predictor11", "PredictorAdd11"), x("Predictor12", "PredictorAdd12"), x("Predictor13", "PredictorAdd13");
79514
79516
  var tu = L.PredictorAdd2;
79515
- Bt("ColorIndexInverseTransform", "MapARGB", "32b", function(A) {
79517
+ Ct("ColorIndexInverseTransform", "MapARGB", "32b", function(A) {
79516
79518
  return A >> 8 & 255;
79517
79519
  }, function(A) {
79518
79520
  return A;
79519
- }), Bt("VP8LColorIndexInverseTransformAlpha", "MapAlpha", "8b", function(A) {
79521
+ }), Ct("VP8LColorIndexInverseTransformAlpha", "MapAlpha", "8b", function(A) {
79520
79522
  return A;
79521
79523
  }, function(A) {
79522
79524
  return A >> 8 & 255;
@@ -80102,7 +80104,7 @@ function(t) {
80102
80104
  */
80103
80105
  function(t) {
80104
80106
  function e() {
80105
- return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-0aa0a7d2.js")).catch(function(r) {
80107
+ return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-b1f13e38.js")).catch(function(r) {
80106
80108
  return Promise.reject(new Error("Could not load canvg: " + r));
80107
80109
  }).then(function(r) {
80108
80110
  return r.default ? r.default : r;
@@ -81102,7 +81104,7 @@ let Y1 = class extends qe {
81102
81104
  try {
81103
81105
  yield new Promise((t) => setTimeout(t, 500)), this.openPDF();
81104
81106
  } catch (t) {
81105
- dt("INVOICE_ERROR", "Open invoice failed."), console.error(t);
81107
+ ct("INVOICE_ERROR", "Open invoice failed."), console.error(t);
81106
81108
  }
81107
81109
  });
81108
81110
  }
@@ -81433,7 +81435,7 @@ let Yo = class extends qe {
81433
81435
  }
81434
81436
  },
81435
81437
  r
81436
- ), dt("INSTALLMENT_PLAN_ERROR", "Installment plan failed."), this.state.isCardPresent = !1;
81438
+ ), ct("INSTALLMENT_PLAN_ERROR", "Installment plan failed."), this.state.isCardPresent = !1;
81437
81439
  } finally {
81438
81440
  this.state.isActiveInstallment = !1, this.state.isCardPresent = !0;
81439
81441
  }
@@ -81450,12 +81452,12 @@ let Yo = class extends qe {
81450
81452
  }
81451
81453
  yield this.getPaymentRequestAndRedirectToStatus();
81452
81454
  } catch (e) {
81453
- dt("WEB_SOCKET_ERROR", "Web socket connection failed."), console.log(e), this.statusMessage = "UNKNOWN_ERROR";
81455
+ ct("WEB_SOCKET_ERROR", "Web socket connection failed."), console.log(e), this.statusMessage = "UNKNOWN_ERROR";
81454
81456
  } finally {
81455
81457
  let e = fr.messages.find((r) => r.status === this.statusMessage);
81456
81458
  if (this.isShowCardPayment = !1, this.statusMessage !== "WS_DISCONNECTED") {
81457
81459
  const r = this.state.statePaymentRequest, s = r.transactions[0].auth_data.code;
81458
- r.status === Hr.FAILURE_PROCESSED && ((t = r.transactions[0].auth_data) != null && t.code) && (e = hd(s), dt(e.status, s), $i(r) && (e = hd(`rejected${Am(r)}`), dt(e.status, s))), r.status === Hr.SUCCESS_PROCESSED && (e = md(r.payment_type), dt(e.status, "")), r.status === Hr.BLOCKED && (e = jp(r.payment_type), dt(e.status, s));
81460
+ r.status === Hr.FAILURE_PROCESSED && ((t = r.transactions[0].auth_data) != null && t.code) && (e = hd(s), ct(e.status, s), $i(r) && (e = hd(`rejected${Am(r)}`), ct(e.status, s))), r.status === Hr.SUCCESS_PROCESSED && (e = md(r.payment_type), ct(e.status, "")), r.status === Hr.BLOCKED && (e = jp(r.payment_type), ct(e.status, s));
81459
81461
  }
81460
81462
  e && (this.status.title = e.title, this.status.subtitle = e.subtitle, this.status.icon = e.icon, this.status.status = e.status, this.status.name = e.name, this.status.returnButton = e.returnButton, this.status.nameReturnButton = e.nameReturnButton), this.state.page = Ft.STATUS, this.requestUpdate(), this.routerState(), this.state.isActiveWs = !1;
81461
81463
  }
@@ -81487,7 +81489,7 @@ let Yo = class extends qe {
81487
81489
  }
81488
81490
  },
81489
81491
  r
81490
- ), dt("PAYMENT_REQUEST_ERROR", "Payment request failed."), this.statusMessage = "UNKNOWN_ERROR";
81492
+ ), ct("PAYMENT_REQUEST_ERROR", "Payment request failed."), this.statusMessage = "UNKNOWN_ERROR";
81491
81493
  } finally {
81492
81494
  this.status.isStart = !1;
81493
81495
  }
@@ -82001,7 +82003,7 @@ let io = class extends qe {
82001
82003
  }
82002
82004
  },
82003
82005
  t
82004
- ), dt("INSTALLMENT_PLAN_ERROR", "Installment plan in the holder form failed."), this.state.isCardPresent = !1;
82006
+ ), ct("INSTALLMENT_PLAN_ERROR", "Installment plan in the holder form failed."), this.state.isCardPresent = !1;
82005
82007
  } finally {
82006
82008
  this.state.isActiveInstallment = !1, this.state.isCardPresent = !0, this.isLoading = !1;
82007
82009
  }
@@ -82395,7 +82397,7 @@ let Ps = class t extends qe {
82395
82397
  const e = yield om(this.state.statePaymentRequest.payment_id);
82396
82398
  this.state.payment = e;
82397
82399
  } catch (e) {
82398
- console.log(e), dt("PAYMENT_ERROR", "Payment failed.");
82400
+ console.log(e), ct("PAYMENT_ERROR", "Payment failed.");
82399
82401
  }
82400
82402
  setTimeout(() => {
82401
82403
  this.isLoadingDownloadPDF = !1, this.hideDownloadButton();
@@ -82430,7 +82432,7 @@ let Ps = class t extends qe {
82430
82432
  try {
82431
82433
  Qt.extendHeartbeat(this.state.statePaymentRequest.id), this.state.isExtendedWs = !0, this.createEvent("button-pushed", Ft.LOADING);
82432
82434
  } catch (e) {
82433
- console.error(e), dt("EXTEND_HEART_BEAT_ERROR", "Extend heart beat failed.");
82435
+ console.error(e), ct("EXTEND_HEART_BEAT_ERROR", "Extend heart beat failed.");
82434
82436
  }
82435
82437
  });
82436
82438
  }
@@ -82674,7 +82676,7 @@ let Bi = class t extends qe {
82674
82676
  selected: e.user_accounts_data[0]
82675
82677
  }, this.state.page = Ft.MAIN, this.props.code = e.code, this.props.code_challengue = e.code_challenge, this.props.publicKey = e.public_key, this.createEvent("button-pushed", this.state.page), this.requestUpdate();
82676
82678
  } catch (e) {
82677
- dt("LOAD_DATA_ERROR", "Load data failed."), console.log(e), this.redirectByUnknownError();
82679
+ ct("LOAD_DATA_ERROR", "Load data failed."), console.log(e), this.redirectByUnknownError();
82678
82680
  }
82679
82681
  });
82680
82682
  }
@@ -82688,7 +82690,7 @@ let Bi = class t extends qe {
82688
82690
  });
82689
82691
  this.state.walletPromotions = AA(e, "wallet"), this.state.manualInputPromotions = AA(e, "manual_input");
82690
82692
  } catch (e) {
82691
- dt("PROMOTIONS_ERROR", "Promotions failed."), console.log(e), this.redirectByUnknownError();
82693
+ ct("PROMOTIONS_ERROR", "Promotions failed."), console.log(e), this.redirectByUnknownError();
82692
82694
  }
82693
82695
  });
82694
82696
  }
@@ -82697,7 +82699,7 @@ let Bi = class t extends qe {
82697
82699
  try {
82698
82700
  yield M2(this.state.statePaymentRequest), as.isEnabled || this.redirectByUnknownError();
82699
82701
  } catch (e) {
82700
- dt("CIRCUIT_BREAKER_ERROR", "Circuit breaker failed."), console.log(e), this.redirectByUnknownError();
82702
+ ct("CIRCUIT_BREAKER_ERROR", "Circuit breaker failed."), console.log(e), this.redirectByUnknownError();
82701
82703
  }
82702
82704
  });
82703
82705
  }
@@ -82735,7 +82737,7 @@ let Bi = class t extends qe {
82735
82737
  }
82736
82738
  },
82737
82739
  a
82738
- ), dt("DIRECT_PAYMENT_ERROR", "Direct payment failed.");
82740
+ ), ct("DIRECT_PAYMENT_ERROR", "Direct payment failed.");
82739
82741
  const d = am;
82740
82742
  this.status.title = d.title, this.status.subtitle = d.subtitle, this.status.icon = d.icon, this.status.status = d.status, this.status.name = d.name, this.status.returnButton = d.returnButton, this.status.nameReturnButton = d.nameReturnButton, this.createEvent("button-pushed", Ft.STATUS);
82741
82743
  } finally {
@@ -82749,12 +82751,12 @@ let Bi = class t extends qe {
82749
82751
  const e = yield Zo(this.state.statePaymentRequest.id);
82750
82752
  if (this.state.statePaymentRequest = e.response, e.response.status === Hr.SUCCESS_PROCESSED) {
82751
82753
  let r = fr.messages.find((s) => s.status === e.response.status);
82752
- r = md(e.response.payment_type), dt(r.status, ""), r && (this.status.title = r.title, this.status.subtitle = r.subtitle, this.status.icon = r.icon, this.status.status = r.status, this.status.name = r.name, this.status.returnButton = r.returnButton, this.status.nameReturnButton = r.nameReturnButton, this.state.isActiveWs = !1, this.state.isExtendedWs = !1, this.createEvent("button-pushed", Ft.STATUS));
82754
+ r = md(e.response.payment_type), ct(r.status, ""), r && (this.status.title = r.title, this.status.subtitle = r.subtitle, this.status.icon = r.icon, this.status.status = r.status, this.status.name = r.name, this.status.returnButton = r.returnButton, this.status.nameReturnButton = r.nameReturnButton, this.state.isActiveWs = !1, this.state.isExtendedWs = !1, this.createEvent("button-pushed", Ft.STATUS));
82753
82755
  return;
82754
82756
  }
82755
82757
  this.createEvent("button-pushed", Ft.MAIN);
82756
82758
  } catch (e) {
82757
- console.log(e), dt("PAYMENT_REQUEST_EXTENDED_WS_ERROR", "Payment request in the extended web socket failed.");
82759
+ console.log(e), ct("PAYMENT_REQUEST_EXTENDED_WS_ERROR", "Payment request in the extended web socket failed.");
82758
82760
  }
82759
82761
  });
82760
82762
  }
@@ -82915,7 +82917,7 @@ let W1 = class extends qe {
82915
82917
  try {
82916
82918
  yield new Promise((t) => setTimeout(t, 500)), this.openPDF();
82917
82919
  } catch (t) {
82918
- dt("INVOICE_ERROR", "Open invoice failed."), console.error(t);
82920
+ ct("INVOICE_ERROR", "Open invoice failed."), console.error(t);
82919
82921
  }
82920
82922
  });
82921
82923
  }
@@ -83538,7 +83540,7 @@ let dl = class t extends qe {
83538
83540
  code: this.state.code,
83539
83541
  error: e
83540
83542
  }
83541
- }), this.createEvent("button-pushed", id.STATUS), dt("ACCOUNT_ENRROLLMENT_FAIL", "account enrollment failed"), console.log(e);
83543
+ }), this.createEvent("button-pushed", id.STATUS), ct("ACCOUNT_ENRROLLMENT_FAIL", "account enrollment failed"), console.log(e);
83542
83544
  }
83543
83545
  });
83544
83546
  }
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-eff0d9cf.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-281f9eff.js";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, V = (
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-eff0d9cf.js";
1
+ import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-281f9eff.js";
2
2
  export {
3
3
  n as A2AAccountDetails,
4
4
  e as A2AAccountList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "2.17.0",
3
+ "version": "2.18.0-beta.0",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {