@invoice-sdk/widget 1.96.0 → 1.96.1

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.
@@ -35,7 +35,7 @@ var W = (g, A, E) => new Promise((B, C) => {
35
35
  }, n = (I) => I.done ? B(I.value) : Promise.resolve(I.value).then(Q, t);
36
36
  n((E = E.apply(g, A)).next());
37
37
  });
38
- import { t as o, g as mB, a as hQ, b as cQ, C as wQ, G as eQ, c as aQ, d as rB, e as og, f as oQ, h as DQ, i as zg, O as UC, s as ag, j as PB, k as uQ, l as iQ, m as sQ, n as fQ, o as mQ, p as rQ, v as PQ } from "./index-DzdVIF5D.js";
38
+ import { t as o, g as mB, a as hQ, b as cQ, C as wQ, G as eQ, c as aQ, d as rB, e as og, f as oQ, h as DQ, i as zg, O as UC, s as ag, j as PB, k as uQ, l as iQ, m as sQ, n as fQ, o as mQ, p as rQ, v as PQ } from "./index-CKLRSbqb.js";
39
39
  import { g as SC } from "./_commonjsHelpers-bAxELxBV.js";
40
40
  function tC({ steps: g = [], currentStep: A = 1 } = {}) {
41
41
  const E = document.createElement("div");
@@ -1175,7 +1175,7 @@ function XQ() {
1175
1175
  return (uA + b - 1) % b;
1176
1176
  };
1177
1177
  w.setDate(r + L - y(T));
1178
- var AA = new Date(w.getFullYear(), 0, N), S = 1440 * 60 * 1e3, EA = (w.getTime() - AA.getTime()) / S, nA = 1 + Math.round((EA - L + y(AA.getDay())) / b);
1178
+ var AA = new Date(w.getFullYear(), 0, N), S = 1440 * 60 * 1e3, IA = (w.getTime() - AA.getTime()) / S, nA = 1 + Math.round((IA - L + y(AA.getDay())) / b);
1179
1179
  return nA;
1180
1180
  }, x = function(w, h, r, T) {
1181
1181
  var N = new Date(r, h, w), L = B ? E(N).isoWeek() : d(N, T);
@@ -1190,12 +1190,12 @@ function XQ() {
1190
1190
  r.push('<th scope="col"><abbr title="' + i(w, h) + '">' + i(w, h, !0) + "</abbr></th>");
1191
1191
  return "<thead><tr>" + (w.isRTL ? r.reverse() : r).join("") + "</tr></thead>";
1192
1192
  }, U = function(w, h, r, T, N, L) {
1193
- var b, y, AA, S = w._o, EA = r === S.minYear, nA = r === S.maxYear, uA = '<div id="' + L + '" class="pika-title" role="heading" aria-live="assertive">', LA, HA, kA = !0, mA = !0;
1193
+ var b, y, AA, S = w._o, IA = r === S.minYear, nA = r === S.maxYear, uA = '<div id="' + L + '" class="pika-title" role="heading" aria-live="assertive">', LA, HA, kA = !0, mA = !0;
1194
1194
  for (AA = [], b = 0; b < 12; b++)
1195
- AA.push('<option value="' + (r === N ? b - h : 12 + b - h) + '"' + (b === T ? ' selected="selected"' : "") + (EA && b < S.minMonth || nA && b > S.maxMonth ? ' disabled="disabled"' : "") + ">" + S.i18n.months[b] + "</option>");
1195
+ AA.push('<option value="' + (r === N ? b - h : 12 + b - h) + '"' + (b === T ? ' selected="selected"' : "") + (IA && b < S.minMonth || nA && b > S.maxMonth ? ' disabled="disabled"' : "") + ">" + S.i18n.months[b] + "</option>");
1196
1196
  for (LA = '<div class="pika-label">' + S.i18n.months[T] + '<select class="pika-select pika-select-month" tabindex="-1">' + AA.join("") + "</select></div>", e(S.yearRange) ? (b = S.yearRange[0], y = S.yearRange[1] + 1) : (b = r - S.yearRange, y = 1 + r + S.yearRange), AA = []; b < y && b <= S.maxYear; b++)
1197
1197
  b >= S.minYear && AA.push('<option value="' + b + '"' + (b === r ? ' selected="selected"' : "") + ">" + b + "</option>");
1198
- return HA = '<div class="pika-label">' + r + S.yearSuffix + '<select class="pika-select pika-select-year" tabindex="-1">' + AA.join("") + "</select></div>", S.showMonthAfterYear ? uA += HA + LA : uA += LA + HA, EA && (T === 0 || S.minMonth >= T) && (kA = !1), nA && (T === 11 || S.maxMonth <= T) && (mA = !1), h === 0 && (uA += '<button class="pika-prev' + (kA ? "" : " is-disabled") + '" type="button">' + S.i18n.previousMonth + "</button>"), h === w._o.numberOfMonths - 1 && (uA += '<button class="pika-next' + (mA ? "" : " is-disabled") + '" type="button">' + S.i18n.nextMonth + "</button>"), uA += "</div>";
1198
+ return HA = '<div class="pika-label">' + r + S.yearSuffix + '<select class="pika-select pika-select-year" tabindex="-1">' + AA.join("") + "</select></div>", S.showMonthAfterYear ? uA += HA + LA : uA += LA + HA, IA && (T === 0 || S.minMonth >= T) && (kA = !1), nA && (T === 11 || S.maxMonth <= T) && (mA = !1), h === 0 && (uA += '<button class="pika-prev' + (kA ? "" : " is-disabled") + '" type="button">' + S.i18n.previousMonth + "</button>"), h === w._o.numberOfMonths - 1 && (uA += '<button class="pika-next' + (mA ? "" : " is-disabled") + '" type="button">' + S.i18n.nextMonth + "</button>"), uA += "</div>";
1199
1199
  }, j = function(w, h, r) {
1200
1200
  return '<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="' + r + '">' + X(w) + k(h) + "</table>";
1201
1201
  }, F = function(w) {
@@ -1421,14 +1421,14 @@ function XQ() {
1421
1421
  }
1422
1422
  },
1423
1423
  adjustPosition: function() {
1424
- var w, h, r, T, N, L, b, y, AA, S, EA, nA;
1424
+ var w, h, r, T, N, L, b, y, AA, S, IA, nA;
1425
1425
  if (!this._o.container) {
1426
- if (this.el.style.position = "absolute", w = this._o.trigger, h = w, r = this.el.offsetWidth, T = this.el.offsetHeight, N = window.innerWidth || Q.documentElement.clientWidth, L = window.innerHeight || Q.documentElement.clientHeight, b = window.pageYOffset || Q.body.scrollTop || Q.documentElement.scrollTop, EA = !0, nA = !0, typeof w.getBoundingClientRect == "function")
1426
+ if (this.el.style.position = "absolute", w = this._o.trigger, h = w, r = this.el.offsetWidth, T = this.el.offsetHeight, N = window.innerWidth || Q.documentElement.clientWidth, L = window.innerHeight || Q.documentElement.clientHeight, b = window.pageYOffset || Q.body.scrollTop || Q.documentElement.scrollTop, IA = !0, nA = !0, typeof w.getBoundingClientRect == "function")
1427
1427
  S = w.getBoundingClientRect(), y = S.left + window.pageXOffset, AA = S.bottom + window.pageYOffset;
1428
1428
  else
1429
1429
  for (y = h.offsetLeft, AA = h.offsetTop + h.offsetHeight; h = h.offsetParent; )
1430
1430
  y += h.offsetLeft, AA += h.offsetTop;
1431
- (this._o.reposition && y + r > N || this._o.position.indexOf("right") > -1 && y - r + w.offsetWidth > 0) && (y = y - r + w.offsetWidth, EA = !1), (this._o.reposition && AA + T > L + b || this._o.position.indexOf("top") > -1 && AA - T - w.offsetHeight > 0) && (AA = AA - T - w.offsetHeight, nA = !1), this.el.style.left = y + "px", this.el.style.top = AA + "px", s(this.el, EA ? "left-aligned" : "right-aligned"), s(this.el, nA ? "bottom-aligned" : "top-aligned"), D(this.el, EA ? "right-aligned" : "left-aligned"), D(this.el, nA ? "top-aligned" : "bottom-aligned");
1431
+ (this._o.reposition && y + r > N || this._o.position.indexOf("right") > -1 && y - r + w.offsetWidth > 0) && (y = y - r + w.offsetWidth, IA = !1), (this._o.reposition && AA + T > L + b || this._o.position.indexOf("top") > -1 && AA - T - w.offsetHeight > 0) && (AA = AA - T - w.offsetHeight, nA = !1), this.el.style.left = y + "px", this.el.style.top = AA + "px", s(this.el, IA ? "left-aligned" : "right-aligned"), s(this.el, nA ? "bottom-aligned" : "top-aligned"), D(this.el, IA ? "right-aligned" : "left-aligned"), D(this.el, nA ? "top-aligned" : "bottom-aligned");
1432
1432
  }
1433
1433
  },
1434
1434
  /**
@@ -1437,12 +1437,12 @@ function XQ() {
1437
1437
  render: function(w, h, r) {
1438
1438
  var T = this._o, N = /* @__PURE__ */ new Date(), L = H(w, h), b = new Date(w, h, 1).getDay(), y = [], AA = [];
1439
1439
  l(N), T.firstDay > 0 && (b -= T.firstDay, b < 0 && (b += 7));
1440
- for (var S = h === 0 ? 11 : h - 1, EA = h === 11 ? 0 : h + 1, nA = h === 0 ? w - 1 : w, uA = h === 11 ? w + 1 : w, LA = H(nA, S), HA = L + b, kA = HA; kA > 7; )
1440
+ for (var S = h === 0 ? 11 : h - 1, IA = h === 11 ? 0 : h + 1, nA = h === 0 ? w - 1 : w, uA = h === 11 ? w + 1 : w, LA = H(nA, S), HA = L + b, kA = HA; kA > 7; )
1441
1441
  kA -= 7;
1442
1442
  HA += 7 - kA;
1443
1443
  for (var mA = !1, RA = 0, VA = 0; RA < HA; RA++) {
1444
1444
  var tA = new Date(w, h, 1 + (RA - b)), YA = f(this._d) ? P(tA, this._d) : !1, bA = P(tA, N), zA = T.events.indexOf(tA.toDateString()) !== -1, yA = RA < b || RA >= L + b, KA = 1 + (RA - b), gg = h, WA = w, ng = T.startRange && P(T.startRange, tA), tg = T.endRange && P(T.endRange, tA), sg = T.startRange && T.endRange && T.startRange < tA && tA < T.endRange, _A = T.minDate && tA < T.minDate || T.maxDate && tA > T.maxDate || T.disableWeekends && u(tA) || T.disableDayFn && T.disableDayFn(tA);
1445
- yA && (RA < b ? (KA = LA + KA, gg = S, WA = nA) : (KA = KA - L, gg = EA, WA = uA));
1445
+ yA && (RA < b ? (KA = LA + KA, gg = S, WA = nA) : (KA = KA - L, gg = IA, WA = uA));
1446
1446
  var fg = {
1447
1447
  day: KA,
1448
1448
  month: gg,
@@ -2011,13 +2011,14 @@ function hE(D) {
2011
2011
  yield a(
2012
2012
  A == null ? void 0 : A.provider,
2013
2013
  O,
2014
- ($, IA) => W(null, null, function* () {
2014
+ ($, EA) => W(null, null, function* () {
2015
2015
  if ($) {
2016
2016
  const DA = yield nA(O);
2017
- c(IA, DA);
2017
+ c(EA, DA);
2018
2018
  } else
2019
- c(IA);
2020
- })
2019
+ c(EA);
2020
+ }),
2021
+ !I
2021
2022
  );
2022
2023
  } catch ($) {
2023
2024
  console.error($);
@@ -2112,8 +2113,8 @@ function hE(D) {
2112
2113
  field: i.inputEl,
2113
2114
  format: "DD/MM/YYYY",
2114
2115
  toString(z) {
2115
- const O = String(z.getMonth() + 1).padStart(2, "0"), $ = String(z.getDate()).padStart(2, "0"), IA = z.getFullYear();
2116
- return `${$}/${O}/${IA}`;
2116
+ const O = String(z.getMonth() + 1).padStart(2, "0"), $ = String(z.getDate()).padStart(2, "0"), EA = z.getFullYear();
2117
+ return `${$}/${O}/${EA}`;
2117
2118
  },
2118
2119
  onSelect: (z) => {
2119
2120
  i.setError(null), R();
@@ -2177,12 +2178,12 @@ function hE(D) {
2177
2178
  value: ((JB = (YB = A == null ? void 0 : A.eInvoiceRegistration) == null ? void 0 : YB.legalRepresentative) == null ? void 0 : JB.phone) || "",
2178
2179
  onInput: (z) => {
2179
2180
  let O = z.target.value;
2180
- const $ = O.replace(/[^\d+().\-\s]/g, ""), IA = $.replace(/[\s.\-()]/g, "");
2181
- if ($ !== O && (z.target.value = $, O = $), IA.trim() === "") {
2181
+ const $ = O.replace(/[^\d+().\-\s]/g, ""), EA = $.replace(/[\s.\-()]/g, "");
2182
+ if ($ !== O && (z.target.value = $, O = $), EA.trim() === "") {
2182
2183
  d.setError(o("errorRequired", "Số điện thoại bắt buộc"));
2183
2184
  return;
2184
2185
  }
2185
- /^(?:\+84|0)(?:2\d|3\d|5\d|7\d|8\d|9\d)\d{7}$/.test(IA) ? d.setError(null) : d.setError(
2186
+ /^(?:\+84|0)(?:2\d|3\d|5\d|7\d|8\d|9\d)\d{7}$/.test(EA) ? d.setError(null) : d.setError(
2186
2187
  o("errorInvalidPhone", "Số điện thoại không hợp lệ.")
2187
2188
  );
2188
2189
  }
@@ -2285,14 +2286,14 @@ function hE(D) {
2285
2286
  value: ((yB = (jB = A == null ? void 0 : A.eInvoiceRegistration) == null ? void 0 : jB.contactPerson) == null ? void 0 : yB.phone) || "",
2286
2287
  onInput: (z) => {
2287
2288
  let O = z.target.value;
2288
- const $ = O.replace(/[^\d+().\-\s]/g, ""), IA = $.replace(/[\s.\-()]/g, "");
2289
- if ($ !== O && (z.target.value = $, O = $), IA.trim() === "") {
2289
+ const $ = O.replace(/[^\d+().\-\s]/g, ""), EA = $.replace(/[\s.\-()]/g, "");
2290
+ if ($ !== O && (z.target.value = $, O = $), EA.trim() === "") {
2290
2291
  J.setError(
2291
2292
  o("errorRequired", "Số điện thoại bắt buộc")
2292
2293
  );
2293
2294
  return;
2294
2295
  }
2295
- /^(?:\+84|0)(?:2\d|3\d|5\d|7\d|8\d|9\d)\d{7}$/.test(IA) ? J.setError(null) : J.setError(
2296
+ /^(?:\+84|0)(?:2\d|3\d|5\d|7\d|8\d|9\d)\d{7}$/.test(EA) ? J.setError(null) : J.setError(
2296
2297
  o("errorInvalidPhone", "Số điện thoại Việt Nam không hợp lệ.")
2297
2298
  );
2298
2299
  }
@@ -2390,40 +2391,38 @@ function hE(D) {
2390
2391
  );
2391
2392
  }
2392
2393
  });
2393
- let EA = 0;
2394
+ let IA = 0;
2394
2395
  function nA(z) {
2395
2396
  return W(this, null, function* () {
2396
- const O = ++EA;
2397
+ const O = ++IA;
2397
2398
  u.setError(null);
2398
2399
  try {
2399
2400
  const $ = yield dQ(z);
2400
- let IA = {
2401
+ let EA = {
2401
2402
  name: "",
2402
2403
  address: "",
2403
2404
  taxAuthority: "",
2404
2405
  taxCode: z
2405
2406
  };
2406
- if (O !== EA)
2407
+ if (O !== IA)
2407
2408
  return;
2408
2409
  if ($.error)
2409
- Y.inputEl.value = "", H.inputEl.value = "", l.setValue && l.setValue("", "", ""), l.setDisabled(!1);
2410
- else {
2411
- if (Y.inputEl.value = $.ten_cty || "", H.inputEl.value = $.dia_chi || "", $.cqthue_ql) {
2412
- const DA = (FA) => FA.toLowerCase().replace(/phường\s+/i, "").replace(/xã\s+/i, "").replace(/quận\s+/i, "").trim(), xA = DA($.cqthue_ql), JA = y.find((FA) => {
2413
- const SA = DA(FA.label);
2414
- return SA.includes(xA) || xA.includes(SA);
2415
- });
2416
- JA && (l.setValue && l.setValue(
2417
- JA.value,
2418
- JA.label,
2419
- JA.id
2420
- ), IA.taxAuthority = JA.id || "", l.setDisabled(!1));
2421
- } else
2422
- l.setValue && l.setValue("", "", ""), l.setDisabled(!1);
2423
- return IA.name = $.ten_cty || "", IA.address = $.dia_chi || "", IA.taxCode = z, u.setError(null), IA;
2424
- }
2410
+ return Y.inputEl.value = "", H.inputEl.value = "", l.setValue && l.setValue("", "", ""), l.setDisabled(!1), u.setError(o("errorInvalidTaxCode", "Mã số thuế không hợp lệ")), EA;
2411
+ if (u.setError(null), Y.inputEl.value = $.ten_cty || "", H.inputEl.value = $.dia_chi || "", $.cqthue_ql) {
2412
+ const DA = (FA) => FA.toLowerCase().replace(/phường\s+/i, "").replace(/xã\s+/i, "").replace(/quận\s+/i, "").trim(), xA = DA($.cqthue_ql), JA = y.find((FA) => {
2413
+ const SA = DA(FA.label);
2414
+ return SA.includes(xA) || xA.includes(SA);
2415
+ });
2416
+ JA && (l.setValue && l.setValue(
2417
+ JA.value,
2418
+ JA.label,
2419
+ JA.id
2420
+ ), EA.taxAuthority = JA.id || "", l.setDisabled(!1));
2421
+ } else
2422
+ l.setValue && l.setValue("", "", ""), l.setDisabled(!1);
2423
+ return EA.name = $.ten_cty || "", EA.address = $.dia_chi || "", EA.taxCode = z, u.setError(null), EA;
2425
2424
  } catch ($) {
2426
- O === EA && (Tg.error(
2425
+ O === IA && (Tg.error(
2427
2426
  o("errorFetchTaxInfo", "Lỗi khi lấy thông tin mã số thuế."),
2428
2427
  {
2429
2428
  autoClose: 5e3,
@@ -2434,7 +2433,7 @@ function hE(D) {
2434
2433
  o("errorFetchTaxInfo", "Lỗi khi lấy thông tin mã số thuế.")
2435
2434
  ));
2436
2435
  } finally {
2437
- O === EA && R();
2436
+ O === IA && R();
2438
2437
  }
2439
2438
  });
2440
2439
  }
@@ -2480,10 +2479,10 @@ function hE(D) {
2480
2479
  if (isNaN(SA)) return "";
2481
2480
  const bg = String(SA.getDate()).padStart(2, "0"), Hg = String(SA.getMonth() + 1).padStart(2, "0"), Yg = SA.getFullYear();
2482
2481
  return `${bg}/${Hg}/${Yg}`;
2483
- }, IA = new Image();
2484
- IA.src = URL.createObjectURL(z), IA.onload = () => W(null, null, function* () {
2482
+ }, EA = new Image();
2483
+ EA.src = URL.createObjectURL(z), EA.onload = () => W(null, null, function* () {
2485
2484
  try {
2486
- const DA = yield nE(IA).then((xA) => JSON.parse(xA).status !== "success" ? (tA = !0, YA = !1, O(), zA(), null) : JSON.parse(xA).data);
2485
+ const DA = yield nE(EA).then((xA) => JSON.parse(xA).status !== "success" ? (tA = !0, YA = !1, O(), zA(), null) : JSON.parse(xA).data);
2487
2486
  if (DA) {
2488
2487
  tA = !1, YA = !0, zA();
2489
2488
  const JA = Object.values(DA).every((eg) => !eg);
@@ -2511,9 +2510,9 @@ function hE(D) {
2511
2510
  });
2512
2511
  }
2513
2512
  function KA(z, O, $) {
2514
- const IA = new Image();
2515
- IA.src = URL.createObjectURL(z), IA.onload = () => W(null, null, function* () {
2516
- yield gE(IA).then((DA) => {
2513
+ const EA = new Image();
2514
+ EA.src = URL.createObjectURL(z), EA.onload = () => W(null, null, function* () {
2515
+ yield gE(EA).then((DA) => {
2517
2516
  var JA, FA;
2518
2517
  const xA = JSON.parse(DA);
2519
2518
  O && !((JA = xA == null ? void 0 : xA.data) != null && JA.isFront) ? tg(
@@ -2536,24 +2535,24 @@ function hE(D) {
2536
2535
  frontFile: A == null ? void 0 : A.idCard,
2537
2536
  backFile: A == null ? void 0 : A.idCardBack,
2538
2537
  onFrontChange: (z) => W(null, null, function* () {
2539
- var $, IA;
2538
+ var $, EA;
2540
2539
  if (N = z, KA(z, !0, !1), WA() || ng() || !fg()) {
2541
2540
  tA = !1, YA = !1, zA(), R();
2542
2541
  return;
2543
2542
  }
2544
- if ((IA = ($ = A == null ? void 0 : A.eInvoiceRegistration) == null ? void 0 : $.legalRepresentative) == null ? void 0 : IA.idCard) {
2543
+ if ((EA = ($ = A == null ? void 0 : A.eInvoiceRegistration) == null ? void 0 : $.legalRepresentative) == null ? void 0 : EA.idCard) {
2545
2544
  R();
2546
2545
  return;
2547
2546
  }
2548
2547
  yA(z);
2549
2548
  }),
2550
2549
  onBackChange: (z) => W(null, null, function* () {
2551
- var $, IA;
2550
+ var $, EA;
2552
2551
  if (L = z, KA(z, !1, !0), WA() || ng() || !_A()) {
2553
2552
  tA = !1, YA = !1, zA(), R();
2554
2553
  return;
2555
2554
  }
2556
- if ((IA = ($ = A == null ? void 0 : A.eInvoiceRegistration) == null ? void 0 : $.legalRepresentative) == null ? void 0 : IA.idCardBack) {
2555
+ if ((EA = ($ = A == null ? void 0 : A.eInvoiceRegistration) == null ? void 0 : $.legalRepresentative) == null ? void 0 : EA.idCardBack) {
2557
2556
  R();
2558
2557
  return;
2559
2558
  }
@@ -2908,7 +2907,7 @@ function aC({
2908
2907
  }
2909
2908
  };
2910
2909
  }
2911
- const aE = "1.96.0";
2910
+ const aE = "1.96.1";
2912
2911
  function oE(E) {
2913
2912
  return W(this, arguments, function* ({ search: g, bank: A }) {
2914
2913
  return (yield GA.get(`${zg}`, {
@@ -3313,7 +3312,7 @@ function lE(q) {
3313
3312
  invoiceSelectorWrapper: y,
3314
3313
  setInvoicePackages: AA,
3315
3314
  getInvoicePackages: S,
3316
- getFilteredInvoiceOptions: EA,
3315
+ getFilteredInvoiceOptions: IA,
3317
3316
  setFilteredInvoiceOptions: nA,
3318
3317
  findInvoiceById: uA,
3319
3318
  removeLoading: LA
@@ -3524,10 +3523,10 @@ function lE(q) {
3524
3523
  }
3525
3524
  let _A = null;
3526
3525
  function fg() {
3527
- if (y.innerHTML = "", EA().length > 0)
3526
+ if (y.innerHTML = "", IA().length > 0)
3528
3527
  _A = aC({
3529
3528
  type: "service",
3530
- packageOptions: EA(),
3529
+ packageOptions: IA(),
3531
3530
  disCountedPackages: G,
3532
3531
  promotion: o("discount"),
3533
3532
  selectedPackageId: M,
@@ -5467,13 +5466,13 @@ function pE() {
5467
5466
  T[nA] = b.slice(r, r + uA), N[nA] = h.encode(T[nA]), r += uA, L = Math.max(L, uA);
5468
5467
  }
5469
5468
  const y = new Uint8Array(v);
5470
- let AA = 0, S, EA;
5469
+ let AA = 0, S, IA;
5471
5470
  for (S = 0; S < L; S++)
5472
- for (EA = 0; EA < G; EA++)
5473
- S < T[EA].length && (y[AA++] = T[EA][S]);
5471
+ for (IA = 0; IA < G; IA++)
5472
+ S < T[IA].length && (y[AA++] = T[IA][S]);
5474
5473
  for (S = 0; S < w; S++)
5475
- for (EA = 0; EA < G; EA++)
5476
- y[AA++] = N[EA][S];
5474
+ for (IA = 0; IA < G; IA++)
5475
+ y[AA++] = N[IA][S];
5477
5476
  return y;
5478
5477
  }
5479
5478
  function J(M, m, i, v) {
@@ -6329,8 +6328,8 @@ function DI(g, A, E, B, C, Q) {
6329
6328
  f = y, yield uB(
6330
6329
  y.route,
6331
6330
  (S = (AA = u == null ? void 0 : u.eInvoiceRegistration) == null ? void 0 : AA.organization) == null ? void 0 : S.taxCode,
6332
- (EA, nA) => {
6333
- H = EA, U(nA);
6331
+ (IA, nA) => {
6332
+ H = IA, U(nA);
6334
6333
  },
6335
6334
  Q
6336
6335
  );
package/package.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "prepare": "npm run build"
47
47
  },
48
48
  "type": "module",
49
- "version": "1.96.0",
49
+ "version": "1.96.1",
50
50
  "repository": {},
51
51
  "dependencies": {
52
52
  "@invoice-sdk/id_extraction_qr": "^1.8.2",