@invoice-sdk/widget 1.123.0 → 1.124.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.
@@ -1,32 +1,32 @@
1
- var re = Object.defineProperty;
1
+ var ae = Object.defineProperty;
2
2
  var _ = Object.getOwnPropertySymbols;
3
- var ae = Object.prototype.hasOwnProperty, se = Object.prototype.propertyIsEnumerable;
4
- var $ = (r, e, t) => e in r ? re(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, O = (r, e) => {
3
+ var se = Object.prototype.hasOwnProperty, oe = Object.prototype.propertyIsEnumerable;
4
+ var $ = (r, e, t) => e in r ? ae(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, O = (r, e) => {
5
5
  for (var t in e || (e = {}))
6
- ae.call(e, t) && $(r, t, e[t]);
6
+ se.call(e, t) && $(r, t, e[t]);
7
7
  if (_)
8
8
  for (var t of _(e))
9
- se.call(e, t) && $(r, t, e[t]);
9
+ oe.call(e, t) && $(r, t, e[t]);
10
10
  return r;
11
11
  };
12
- var W = (r, e, t) => new Promise((n, l) => {
13
- var d = (c) => {
12
+ var W = (r, e, t) => new Promise((n, d) => {
13
+ var c = (l) => {
14
14
  try {
15
- g(t.next(c));
15
+ g(t.next(l));
16
16
  } catch (v) {
17
- l(v);
17
+ d(v);
18
18
  }
19
- }, s = (c) => {
19
+ }, s = (l) => {
20
20
  try {
21
- g(t.throw(c));
21
+ g(t.throw(l));
22
22
  } catch (v) {
23
- l(v);
23
+ d(v);
24
24
  }
25
- }, g = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(d, s);
25
+ }, g = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(c, s);
26
26
  g((t = t.apply(r, e)).next());
27
27
  });
28
- import { c as I, f as te, e as oe, b as le, o as ne, s as de } from "./loading-COG4W_q5.js";
29
- import { t as i, c as J, j as ce } from "./index-BfJuM4Fb.js";
28
+ import { c as U, f as te, e as le, b as de, o as ce, p as ge, s as ue, q as pe } from "./loading-ScYkk6KA.js";
29
+ import { t as i, c as J, j as we } from "./index-CFPN9ZW0.js";
30
30
  function D(r) {
31
31
  const e = r.trim();
32
32
  return e ? e.length < 2 || e.length > 250 ? { valid: !1, error: i("length_2_250") } : /[<>:"\/\\|?*@#$%!^]/.test(e) ? { valid: !1, error: i("invalid_characters") } : { valid: !0 } : { valid: !1, error: i("required_name") };
@@ -46,8 +46,8 @@ function ee(r, e = !1) {
46
46
  const n = t.replace(/\s/g, "");
47
47
  if (/[<>:"\/\\|?*@#$%!A-Za-z]/.test(n))
48
48
  return { valid: !1, error: i("phone_invalid") };
49
- const d = /^0\d{9}$/, s = /^\+84\d{9}$/;
50
- return !d.test(n) && !s.test(n) ? { valid: !1, error: i("phone_invalid_format") } : { valid: !0 };
49
+ const c = /^0\d{9}$/, s = /^\+84\d{9}$/;
50
+ return !c.test(n) && !s.test(n) ? { valid: !1, error: i("phone_invalid_format") } : { valid: !0 };
51
51
  }
52
52
  function G(r) {
53
53
  const e = r.trim();
@@ -57,64 +57,64 @@ function G(r) {
57
57
  return { valid: !1, error: i("tax_code_invalid") };
58
58
  if ((t.match(/-/g) || []).length > 1)
59
59
  return { valid: !1, error: i("tax_code_invalid_format") };
60
- const d = /^\d{10}$/, s = /^\d{10}-\d{3}$/;
61
- return !d.test(t) && !s.test(t) ? { valid: !1, error: i("tax_code_invalid_format") } : { valid: !0 };
60
+ const c = /^\d{10}$/, s = /^\d{10}-\d{3}$/;
61
+ return !c.test(t) && !s.test(t) ? { valid: !1, error: i("tax_code_invalid_format") } : { valid: !0 };
62
62
  }
63
- function ge({ defaultValues: r = {}, onChange: e } = {}) {
63
+ function me({ defaultValues: r = {}, onChange: e } = {}) {
64
64
  const t = {
65
65
  representativeName: r.representativeName || "",
66
66
  buyerAddress: r.buyerAddress || "",
67
- email: r.email || ""
68
- // phone: defaultValues.phone || '',
67
+ email: r.email || "",
68
+ phone: r.phone || ""
69
69
  }, n = document.createElement("div");
70
70
  n.className = "wgt:space-y-2";
71
- function l() {
71
+ function d() {
72
72
  typeof e == "function" && e(O({}, t));
73
73
  }
74
- function d({ label: P, required: o, name: a, type: m = "text", placeholder: C }) {
74
+ function c({ label: P, required: o, name: a, type: m = "text", placeholder: h }) {
75
75
  const V = document.createElement("div");
76
76
  V.className = "";
77
- const H = document.createElement("label");
78
- H.className = "wgt:text-sm wgt:font-medium wgt:text-strong-950", H.htmlFor = a, H.innerHTML = o ? `${P} <span class="wgt:text-semantic-error wgt:text-[#ED1C24]">*</span>` : P;
79
- const u = document.createElement("input");
80
- u.id = a, u.name = a, u.type = m, u.placeholder = C || "", u.className = "wgt:w-full wgt:rounded-lg wgt:border wgt:border-[#E4E7EC] wgt:mt-2 wgt:bg-white wgt:px-3 wgt:py-2.5 wgt:text-sm wgt:text-strong-950 focus:wgt:outline-none focus:wgt:border-primary focus:wgt:ring-1 focus:wgt:ring-primary", u.value = t[a] || "";
77
+ const A = document.createElement("label");
78
+ A.className = "wgt:text-sm wgt:font-medium wgt:text-strong-950", A.htmlFor = a, A.innerHTML = o ? `${P} <span class="wgt:text-semantic-error wgt:text-[#ED1C24]">*</span>` : P;
79
+ const w = document.createElement("input");
80
+ w.id = a, w.name = a, w.type = m, w.placeholder = h || "", w.className = "wgt:w-full wgt:rounded-lg wgt:border wgt:border-[#E4E7EC] wgt:mt-2 wgt:bg-white wgt:px-3 wgt:py-2.5 wgt:text-sm wgt:text-strong-950 focus:wgt:outline-none focus:wgt:border-primary focus:wgt:ring-1 focus:wgt:ring-primary", w.value = t[a] || "";
81
81
  const T = document.createElement("div");
82
- return T.className = "wgt:text-xs wgt:text-[#ED1C24] wgt:mt-1 wgt:hidden", T.setAttribute("data-error-for", a), u.addEventListener("input", () => {
83
- t[a] = u.value, u.classList.remove(
82
+ return T.className = "wgt:text-xs wgt:text-[#ED1C24] wgt:mt-1 wgt:hidden", T.setAttribute("data-error-for", a), w.addEventListener("input", () => {
83
+ t[a] = w.value, w.classList.remove(
84
84
  "wgt:border-semantic-error",
85
85
  "wgt:bg-semantic-error-50"
86
- ), T.classList.add("wgt:hidden"), l();
87
- }), u.addEventListener("blur", () => {
88
- let A;
86
+ ), T.classList.add("wgt:hidden"), d();
87
+ }), w.addEventListener("blur", () => {
88
+ let H;
89
89
  switch (a) {
90
90
  case "representativeName":
91
- A = D(u.value);
91
+ H = D(w.value);
92
92
  break;
93
93
  case "buyerAddress":
94
- A = Q(u.value);
94
+ H = Q(w.value);
95
95
  break;
96
96
  case "email":
97
- A = z(u.value);
97
+ H = z(w.value);
98
98
  break;
99
99
  default:
100
100
  return;
101
101
  }
102
- !A.valid && A.error && (u.classList.add(
102
+ !H.valid && H.error && (w.classList.add(
103
103
  "wgt:border-semantic-error",
104
104
  "wgt:bg-semantic-error-50"
105
- ), T.textContent = A.error, T.classList.remove("wgt:hidden"));
106
- }), V.appendChild(H), V.appendChild(u), V.appendChild(T), { field: V, input: u, errorEl: T };
105
+ ), T.textContent = H.error, T.classList.remove("wgt:hidden"));
106
+ }), V.appendChild(A), V.appendChild(w), V.appendChild(T), { field: V, input: w, errorEl: T };
107
107
  }
108
108
  const {
109
109
  field: s,
110
110
  input: g,
111
- errorEl: c
112
- } = d({
111
+ errorEl: l
112
+ } = c({
113
113
  label: i("representativeName"),
114
114
  required: !0,
115
115
  name: "representativeName",
116
116
  placeholder: i("representativeName_input")
117
- }), { field: v, errorEl: x } = d({
117
+ }), { field: v, errorEl: C } = c({
118
118
  label: i("buyerAddress"),
119
119
  required: !1,
120
120
  name: "buyerAddress",
@@ -122,8 +122,8 @@ function ge({ defaultValues: r = {}, onChange: e } = {}) {
122
122
  }), {
123
123
  field: M,
124
124
  input: b,
125
- errorEl: w
126
- } = d({
125
+ errorEl: u
126
+ } = c({
127
127
  label: i("email"),
128
128
  required: !0,
129
129
  name: "email",
@@ -133,30 +133,30 @@ function ge({ defaultValues: r = {}, onChange: e } = {}) {
133
133
  n.appendChild(s), n.appendChild(v), n.appendChild(M);
134
134
  function p() {
135
135
  let P = !0;
136
- function o(C, V, H) {
137
- C.classList.add(
136
+ function o(h, V, A) {
137
+ h.classList.add(
138
138
  "wgt:border-semantic-error",
139
139
  "wgt:bg-semantic-error-50"
140
- ), H && V && (V.textContent = H, V.classList.remove("wgt:hidden")), P = !1;
140
+ ), A && V && (V.textContent = A, V.classList.remove("wgt:hidden")), P = !1;
141
141
  }
142
142
  const a = D(t.representativeName);
143
- if (a.valid || o(g, c, a.error), t.buyerAddress.trim()) {
144
- const C = Q(t.buyerAddress);
145
- C.valid || o(
143
+ if (a.valid || o(g, l, a.error), t.buyerAddress.trim()) {
144
+ const h = Q(t.buyerAddress);
145
+ h.valid || o(
146
146
  document.querySelector('input[name="buyerAddress"]'),
147
- x,
148
- C.error
147
+ C,
148
+ h.error
149
149
  );
150
150
  }
151
151
  const m = z(t.email);
152
- return m.valid || o(b, w, m.error), P;
152
+ return m.valid || o(b, u, m.error), P;
153
153
  }
154
154
  function k() {
155
155
  return O({}, t);
156
156
  }
157
157
  return { container: n, getValues: k, validate: p };
158
158
  }
159
- function we({
159
+ function Ce({
160
160
  defaultValues: r = {},
161
161
  onChange: e,
162
162
  onFetchByTaxCode: t
@@ -170,101 +170,101 @@ function we({
170
170
  // performerName: defaultValues.performerName || '',
171
171
  email: r.email || "",
172
172
  phone: r.phone || ""
173
- }, l = document.createElement("div");
174
- l.className = "wgt:space-y-2";
175
- function d() {
173
+ }, d = document.createElement("div");
174
+ d.className = "wgt:space-y-2";
175
+ function c() {
176
176
  typeof e == "function" && e(O({}, n));
177
177
  }
178
- function s({ label: h, required: L, name: f, type: K = "text", placeholder: U }) {
179
- const X = document.createElement("div");
180
- X.className = "";
181
- const j = document.createElement("label");
182
- j.className = "wgt:text-sm wgt:font-medium wgt:text-strong-950", j.htmlFor = f, j.innerHTML = L ? `${h} <span class="wgt:text-[#ED1C24]">*</span>` : h;
178
+ function s({ label: f, required: L, name: x, type: K = "text", placeholder: I }) {
179
+ const q = document.createElement("div");
180
+ q.className = "";
181
+ const B = document.createElement("label");
182
+ B.className = "wgt:text-sm wgt:font-medium wgt:text-strong-950", B.htmlFor = x, B.innerHTML = L ? `${f} <span class="wgt:text-[#ED1C24]">*</span>` : f;
183
183
  const N = document.createElement("input");
184
- N.id = f, N.name = f, N.type = K, N.placeholder = U || "", N.className = "wgt:w-full wgt:rounded-lg wgt:border wgt:border-[#E4E7EC] wgt:mt-2 wgt:bg-white wgt:px-3 wgt:py-2.5 wgt:text-sm wgt:text-strong-950 focus:wgt:outline-none focus:wgt:border-primary focus:wgt:ring-1 focus:wgt:ring-primary", N.value = n[f] || "";
185
- const B = document.createElement("div");
186
- return B.className = "wgt:text-xs wgt:text-[#ED1C24] wgt:mt-1 wgt:hidden", B.setAttribute("data-error-for", f), N.addEventListener("input", () => {
187
- n[f] = N.value, N.classList.remove(
184
+ N.id = x, N.name = x, N.type = K, N.placeholder = I || "", N.className = "wgt:w-full wgt:rounded-lg wgt:border wgt:border-[#E4E7EC] wgt:mt-2 wgt:bg-white wgt:px-3 wgt:py-2.5 wgt:text-sm wgt:text-strong-950 focus:wgt:outline-none focus:wgt:border-primary focus:wgt:ring-1 focus:wgt:ring-primary", N.value = n[x] || "";
185
+ const R = document.createElement("div");
186
+ return R.className = "wgt:text-xs wgt:text-[#ED1C24] wgt:mt-1 wgt:hidden", R.setAttribute("data-error-for", x), N.addEventListener("input", () => {
187
+ n[x] = N.value, N.classList.remove(
188
188
  "wgt:border-semantic-error",
189
189
  "wgt:bg-semantic-error-50"
190
- ), B.classList.add("wgt:hidden"), d();
190
+ ), R.classList.add("wgt:hidden"), c();
191
191
  }), N.addEventListener("blur", () => {
192
192
  if (!N.value.trim() && !L) return;
193
- let R;
194
- switch (f) {
193
+ let j;
194
+ switch (x) {
195
195
  case "businesName":
196
196
  case "representativeName":
197
- R = D(N.value);
197
+ j = D(N.value);
198
198
  break;
199
199
  case "buyerAddress":
200
- R = Q(N.value);
200
+ j = Q(N.value);
201
201
  break;
202
202
  case "email":
203
- R = z(N.value);
203
+ j = z(N.value);
204
204
  break;
205
205
  case "phone":
206
- R = ee(N.value, !0);
206
+ j = ee(N.value, !0);
207
207
  break;
208
208
  default:
209
209
  return;
210
210
  }
211
- !R.valid && R.error && (N.classList.add(
211
+ !j.valid && j.error && (N.classList.add(
212
212
  "wgt:border-semantic-error",
213
213
  "wgt:bg-semantic-error-50"
214
- ), B.textContent = R.error, B.classList.remove("wgt:hidden"));
215
- }), X.appendChild(j), X.appendChild(N), X.appendChild(B), { field: X, input: N, errorEl: B };
214
+ ), R.textContent = j.error, R.classList.remove("wgt:hidden"));
215
+ }), q.appendChild(B), q.appendChild(N), q.appendChild(R), { field: q, input: N, errorEl: R };
216
216
  }
217
217
  const g = document.createElement("label");
218
218
  g.className = "wgt:flex wgt:items-center wgt:gap-2 wgt:font-medium wgt:text-strong-950 wgt:text-sm";
219
- const c = document.createElement("input");
220
- c.type = "checkbox", c.className = "wgt:h-4 wgt:w-4 wgt:rounded wgt:border-[#E4E7EC] focus:wgt:outline-none focus:wgt:ring-primary", c.checked = n.noTaxCode;
219
+ const l = document.createElement("input");
220
+ l.type = "checkbox", l.className = "wgt:h-4 wgt:w-4 wgt:rounded wgt:border-[#E4E7EC] focus:wgt:outline-none focus:wgt:ring-primary", l.checked = n.noTaxCode;
221
221
  const v = document.createElement("span");
222
- v.textContent = i("business_noTaxCode"), v.className = "wgt:italic wgt:font-normal wgt:text-[14px] wgt:leading-[20px] wgt:tracking-[0px] wgt:align-middle wgt:text-[#525866]", v.style.fontFamily = "Inter, sans-serif", c.addEventListener("change", () => {
223
- n.noTaxCode = c.checked, w.disabled = n.noTaxCode, k.disabled = n.noTaxCode, w.classList.remove(
222
+ v.textContent = i("business_noTaxCode"), v.className = "wgt:italic wgt:font-normal wgt:text-[14px] wgt:leading-[20px] wgt:tracking-[0px] wgt:align-middle wgt:text-[#525866]", v.style.fontFamily = "Inter, sans-serif", l.addEventListener("change", () => {
223
+ n.noTaxCode = l.checked, u.disabled = n.noTaxCode, k.disabled = n.noTaxCode, u.classList.remove(
224
224
  "wgt:border-semantic-error",
225
225
  "wgt:bg-semantic-error-50"
226
- ), p.classList.add("wgt:hidden"), d();
227
- }), g.appendChild(c), g.appendChild(v);
228
- const x = document.createElement("div");
229
- x.className = "wgt:space-y-2";
226
+ ), p.classList.add("wgt:hidden"), c();
227
+ }), g.appendChild(l), g.appendChild(v);
228
+ const C = document.createElement("div");
229
+ C.className = "wgt:space-y-2";
230
230
  const M = document.createElement("label");
231
231
  M.className = "wgt:text-sm wgt:font-medium wgt:text-strong-950 ", M.innerHTML = i("confirmation_popup_taxCode") + '<span class="wgt:text-[#ED1C24]">*</span>';
232
232
  const b = document.createElement("div");
233
233
  b.className = "wgt:flex wgt:gap-2 wgt:mt-2";
234
- const w = document.createElement("input");
235
- w.type = "text", w.name = "taxCode", w.placeholder = i("taxCode_input"), w.value = n.taxCode, w.className = "wgt:flex-1 wgt:rounded-lg wgt:border wgt:border-[#E4E7EC] wgt:bg-white wgt:px-3 wgt:py-2.5 wgt:text-sm wgt:text-strong-950 focus:wgt:outline-none focus:wgt:border-primary focus:wgt:ring-1 focus:wgt:ring-primary";
234
+ const u = document.createElement("input");
235
+ u.type = "text", u.name = "taxCode", u.placeholder = i("taxCode_input"), u.value = n.taxCode, u.className = "wgt:flex-1 wgt:rounded-lg wgt:border wgt:border-[#E4E7EC] wgt:bg-white wgt:px-3 wgt:py-2.5 wgt:text-sm wgt:text-strong-950 focus:wgt:outline-none focus:wgt:border-primary focus:wgt:ring-1 focus:wgt:ring-primary";
236
236
  const p = document.createElement("div");
237
- p.className = "wgt:text-xs wgt:text-[#ED1C24] wgt:mt-1 wgt:hidden", w.addEventListener("input", () => {
238
- n.taxCode = w.value, w.classList.remove(
237
+ p.className = "wgt:text-xs wgt:text-[#ED1C24] wgt:mt-1 wgt:hidden", u.addEventListener("input", () => {
238
+ n.taxCode = u.value, u.classList.remove(
239
239
  "wgt:border-semantic-error",
240
240
  "wgt:bg-semantic-error-50"
241
- ), p.classList.add("wgt:hidden"), d();
242
- }), w.addEventListener("blur", () => {
243
- if (n.noTaxCode || !w.value.trim()) return;
244
- const h = G(w.value);
245
- h.valid || (w.classList.add(
241
+ ), p.classList.add("wgt:hidden"), c();
242
+ }), u.addEventListener("blur", () => {
243
+ if (n.noTaxCode || !u.value.trim()) return;
244
+ const f = G(u.value);
245
+ f.valid || (u.classList.add(
246
246
  "wgt:border-semantic-error",
247
247
  "wgt:bg-semantic-error-50"
248
- ), p.textContent = h.error, p.classList.remove("wgt:hidden"));
248
+ ), p.textContent = f.error, p.classList.remove("wgt:hidden"));
249
249
  });
250
- const k = I({
250
+ const k = U({
251
251
  type: "button",
252
252
  title: i("fetch_info"),
253
253
  className: "wgt:px-3 wgt:py-2.5 wgt:text-sm wgt:font-semibold wgt:rounded-lg wgt:flex-shrink-0 wgt:text-primary wgt:bg-white wgt:border wgt:border-primary",
254
254
  handleClick: () => W(null, null, function* () {
255
255
  if (n.noTaxCode || typeof t != "function")
256
256
  return;
257
- const h = String(n.taxCode || "").trim();
258
- if (!h) {
259
- w.classList.add(
257
+ const f = String(n.taxCode || "").trim();
258
+ if (!f) {
259
+ u.classList.add(
260
260
  "wgt:border-semantic-error",
261
261
  "wgt:bg-semantic-error-50"
262
262
  ), p.textContent = "Vui lòng nhập MST", p.classList.remove("wgt:hidden");
263
263
  return;
264
264
  }
265
- const L = G(h);
265
+ const L = G(f);
266
266
  if (!L.valid) {
267
- w.classList.add(
267
+ u.classList.add(
268
268
  "wgt:border-semantic-error",
269
269
  "wgt:bg-semantic-error-50"
270
270
  ), p.textContent = L.error, p.classList.remove("wgt:hidden");
@@ -272,11 +272,11 @@ function we({
272
272
  }
273
273
  try {
274
274
  k.disabled = !0;
275
- const f = yield t(h, O({}, n));
276
- if (!f || typeof f != "object") return;
277
- f.businessName != null && (n.businessName = String(f.businessName || ""), o.value = n.businessName), f.representativeName != null && (n.representativeName = String(f.representativeName || ""), C.value = n.representativeName), f.buyerAddress != null && (n.buyerAddress = String(f.buyerAddress || ""), u.value = n.buyerAddress), d();
278
- } catch (f) {
279
- w.classList.add(
275
+ const x = yield t(f, O({}, n));
276
+ if (!x || typeof x != "object") return;
277
+ x.businessName != null && (n.businessName = String(x.businessName || ""), o.value = n.businessName), x.representativeName != null && (n.representativeName = String(x.representativeName || ""), h.value = n.representativeName), x.buyerAddress != null && (n.buyerAddress = String(x.buyerAddress || ""), w.value = n.buyerAddress), c();
278
+ } catch (x) {
279
+ u.classList.add(
280
280
  "wgt:border-semantic-error",
281
281
  "wgt:bg-semantic-error-50"
282
282
  ), p.textContent = "Không tìm thấy thông tin MST", p.classList.remove("wgt:hidden");
@@ -285,7 +285,7 @@ function we({
285
285
  }
286
286
  })
287
287
  });
288
- b.appendChild(w), b.appendChild(k), x.appendChild(M), x.appendChild(b), x.appendChild(p);
288
+ b.appendChild(u), b.appendChild(k), C.appendChild(M), C.appendChild(b), C.appendChild(p);
289
289
  const {
290
290
  field: P,
291
291
  input: o,
@@ -297,7 +297,7 @@ function we({
297
297
  placeholder: i("businessName_input")
298
298
  }), {
299
299
  field: m,
300
- input: C,
300
+ input: h,
301
301
  errorEl: V
302
302
  } = s({
303
303
  label: i("representativeName"),
@@ -305,8 +305,8 @@ function we({
305
305
  name: "representativeName",
306
306
  placeholder: i("representativeName_input")
307
307
  }), {
308
- field: H,
309
- input: u,
308
+ field: A,
309
+ input: w,
310
310
  errorEl: T
311
311
  } = s({
312
312
  label: i("buyerAddress"),
@@ -314,8 +314,8 @@ function we({
314
314
  name: "buyerAddress",
315
315
  placeholder: i("buyerAddress_input")
316
316
  }), {
317
- field: A,
318
- input: Z,
317
+ field: H,
318
+ input: X,
319
319
  errorEl: F
320
320
  } = s({
321
321
  label: i("email"),
@@ -334,46 +334,46 @@ function we({
334
334
  type: "tel",
335
335
  placeholder: i("phone_input")
336
336
  });
337
- l.appendChild(g), l.appendChild(x), l.appendChild(P), l.appendChild(m), l.appendChild(H), l.appendChild(A), l.appendChild(y), w.disabled = n.noTaxCode, k.disabled = n.noTaxCode;
338
- function q() {
339
- let h = !0;
340
- function L(X, j, N) {
341
- X.classList.add(
337
+ d.appendChild(g), d.appendChild(C), d.appendChild(P), d.appendChild(m), d.appendChild(A), d.appendChild(H), d.appendChild(y), u.disabled = n.noTaxCode, k.disabled = n.noTaxCode;
338
+ function Z() {
339
+ let f = !0;
340
+ function L(q, B, N) {
341
+ q.classList.add(
342
342
  "wgt:border-semantic-error",
343
343
  "wgt:bg-semantic-error-50",
344
344
  "wgt:mt-2"
345
- ), N && j && (j.textContent = N, j.classList.remove("wgt:hidden")), h = !1;
345
+ ), N && B && (B.textContent = N, B.classList.remove("wgt:hidden")), f = !1;
346
346
  }
347
347
  if (!n.noTaxCode) {
348
- const X = G(n.taxCode);
349
- X.valid || L(w, p, X.error);
348
+ const q = G(n.taxCode);
349
+ q.valid || L(u, p, q.error);
350
350
  }
351
- const f = D(n.businessName);
352
- f.valid || L(o, a, f.error);
351
+ const x = D(n.businessName);
352
+ x.valid || L(o, a, x.error);
353
353
  const K = D(n.representativeName);
354
- if (K.valid || L(C, V, K.error), n.buyerAddress.trim()) {
355
- const X = Q(n.buyerAddress);
356
- X.valid || L(u, T, X.error);
354
+ if (K.valid || L(h, V, K.error), n.buyerAddress.trim()) {
355
+ const q = Q(n.buyerAddress);
356
+ q.valid || L(w, T, q.error);
357
357
  }
358
- const U = z(n.email);
359
- if (U.valid || L(Z, F, U.error), n.phone.trim()) {
360
- const X = ee(n.phone, !0);
361
- X.valid || L(E, S, X.error);
358
+ const I = z(n.email);
359
+ if (I.valid || L(X, F, I.error), n.phone.trim()) {
360
+ const q = ee(n.phone, !0);
361
+ q.valid || L(E, S, q.error);
362
362
  }
363
- return h;
363
+ return f;
364
364
  }
365
365
  function Y() {
366
366
  return O({}, n);
367
367
  }
368
- return { container: l, getValues: Y, validate: q };
368
+ return { container: d, getValues: Y, validate: Z };
369
369
  }
370
- function pe({
370
+ function he({
371
371
  type: r,
372
372
  data: e,
373
373
  orderInfo: t,
374
374
  theme: n,
375
- onClose: l,
376
- onConfirm: d
375
+ onClose: d,
376
+ onConfirm: c
377
377
  }) {
378
378
  const s = document.createElement("div");
379
379
  s.className = "wgt:fixed wgt:inset-0 wgt:flex wgt:items-center wgt:justify-center wgt:z-50 wgt:p-4", s.style.cssText = `
@@ -382,43 +382,43 @@ function pe({
382
382
  `, n && s.setAttribute("data-theme", n);
383
383
  const g = document.createElement("div");
384
384
  g.className = "wgt:w-full wgt:max-w-md wgt:bg-white wgt:rounded-2xl wgt:shadow-xl wgt:max-h-[90vh] wgt:overflow-y-auto";
385
- const c = document.createElement("div");
386
- c.className = "wgt:px-6 wgt:pt-6 wgt:pb-4 wgt:space-y-2";
385
+ const l = document.createElement("div");
386
+ l.className = "wgt:px-6 wgt:pt-6 wgt:pb-4 wgt:space-y-2";
387
387
  const v = document.createElement("h3");
388
388
  v.className = "wgt:text-xl wgt:font-semibold wgt:text-center wgt:text-strong-950", v.textContent = i("confirmation_popup_title");
389
- const x = document.createElement("p");
390
- x.className = "wgt:text-sm wgt:text-center wgt:text-[#525866]", x.textContent = i("confirmation_popup_subtitle"), c.appendChild(v), c.appendChild(x), g.appendChild(c);
389
+ const C = document.createElement("p");
390
+ C.className = "wgt:text-sm wgt:text-center wgt:text-[#525866]", C.textContent = i("confirmation_popup_subtitle"), l.appendChild(v), l.appendChild(C), g.appendChild(l);
391
391
  const M = document.createElement("div");
392
392
  M.className = "wgt:px-6 wgt:pb-4";
393
393
  const b = document.createElement("div");
394
394
  b.className = "wgt:space-y-3 wgt:rounded-xl wgt:bg-weak-50 wgt:px-4 wgt:py-3";
395
- function w(u, T, A) {
396
- const Z = document.createElement("div");
397
- Z.className = "wgt:flex wgt:items-start wgt:gap-3";
395
+ function u(w, T, H) {
396
+ const X = document.createElement("div");
397
+ X.className = "wgt:flex wgt:items-start wgt:gap-3";
398
398
  const F = document.createElement("span");
399
- F.className = "wgt:text-primary wgt:flex-shrink-0", F.innerHTML = u;
399
+ F.className = "wgt:text-primary wgt:flex-shrink-0", F.innerHTML = w;
400
400
  const y = document.createElement("div");
401
401
  y.className = "wgt:flex wgt:items-start wgt:justify-between wgt:flex-1 wgt:gap-2";
402
402
  const E = document.createElement("span");
403
403
  E.className = "wgt:text-sm wgt:text-[#525866] wgt:w-1/3", E.textContent = T;
404
404
  const S = document.createElement("span");
405
- return S.className = "wgt:text-sm wgt:font-semibold wgt:text-strong-950 wgt:text-right wgt:w-2/3", S.textContent = A || "-", y.appendChild(E), y.appendChild(S), Z.appendChild(F), Z.appendChild(y), Z;
405
+ return S.className = "wgt:text-sm wgt:font-semibold wgt:text-strong-950 wgt:text-right wgt:w-2/3", S.textContent = H || "-", y.appendChild(E), y.appendChild(S), X.appendChild(F), X.appendChild(y), X;
406
406
  }
407
407
  const p = '<svg class="wgt:w-4 wgt:h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" /></svg>', k = '<svg class="wgt:w-4 wgt:h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" /></svg>', P = '<svg class="wgt:w-4 wgt:h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg>';
408
408
  b.appendChild(
409
- w(
409
+ u(
410
410
  p,
411
411
  i("confirmation_popup_orderCode"),
412
412
  t == null ? void 0 : t.billNo
413
413
  )
414
414
  ), b.appendChild(
415
- w(
415
+ u(
416
416
  k,
417
417
  i("confirmation_popup_address"),
418
- t == null ? void 0 : t.merchantAddress
418
+ t == null ? void 0 : t.address
419
419
  )
420
420
  ), b.appendChild(
421
- w(
421
+ u(
422
422
  P,
423
423
  i("confirmation_popup_totalAmount"),
424
424
  te(t == null ? void 0 : t.amount) + " VND"
@@ -428,19 +428,17 @@ function pe({
428
428
  o.className = "wgt:px-6 wgt:pb-6";
429
429
  const a = document.createElement("div");
430
430
  a.className = "wgt:space-y-3 wgt:rounded-xl wgt:border wgt:border-[#E1E4EA] wgt:px-4 wgt:py-4";
431
- function m(u, T) {
432
- const A = document.createElement("div");
433
- A.className = "wgt:flex wgt:items-start wgt:justify-between wgt:gap-4";
434
- const Z = document.createElement("span");
435
- Z.className = "wgt:text-sm wgt:text-[#0E121B] wgt:w-1/3", Z.textContent = u;
431
+ function m(w, T) {
432
+ const H = document.createElement("div");
433
+ H.className = "wgt:flex wgt:items-start wgt:justify-between wgt:gap-4";
434
+ const X = document.createElement("span");
435
+ X.className = "wgt:text-sm wgt:text-[#0E121B] wgt:w-1/3", X.textContent = w;
436
436
  const F = document.createElement("span");
437
- return F.className = "wgt:text-sm wgt:font-semibold wgt:text-strong-950 wgt:text-right wgt:w-2/3", F.textContent = T || "-", A.appendChild(Z), A.appendChild(F), A;
437
+ return F.className = "wgt:text-sm wgt:font-semibold wgt:text-strong-950 wgt:text-right wgt:w-2/3", F.textContent = T || "-", H.appendChild(X), H.appendChild(F), H;
438
438
  }
439
439
  r === "business" ? (a.appendChild(
440
440
  m(i("confirmation_popup_taxCode"), e.taxCode)
441
- ), a.appendChild(
442
- m(i("businessName"), e.businessName)
443
- ), a.appendChild(
441
+ ), a.appendChild(m(i("businessName"), e.businessName)), a.appendChild(
444
442
  m(
445
443
  i("confirmation_popup_representativeName"),
446
444
  e.representativeName
@@ -461,118 +459,118 @@ function pe({
461
459
  ), a.appendChild(
462
460
  m(i("confirmation_popup_email"), e.email)
463
461
  )), o.appendChild(a), g.appendChild(o);
464
- const C = document.createElement("div");
465
- C.className = "wgt:px-6 wgt:pb-6 wgt:flex wgt:gap-3";
466
- const V = I({
462
+ const h = document.createElement("div");
463
+ h.className = "wgt:px-6 wgt:pb-6 wgt:flex wgt:gap-3";
464
+ const V = U({
467
465
  type: "button",
468
466
  title: "Đóng",
469
467
  className: "wgt:flex-1 wgt:py-3 wgt:text-sm wgt:font-semibold wgt:rounded-[8px] wgt:bg-white wgt:text-primary wgt:border wgt:border-primary",
470
468
  handleClick: () => {
471
- typeof l == "function" && l(), s.remove();
469
+ typeof d == "function" && d(), s.remove();
472
470
  }
473
- }), H = I({
471
+ }), A = U({
474
472
  type: "button",
475
473
  title: "Xác nhận",
476
474
  className: "wgt:flex-1 wgt:py-3 wgt:text-sm wgt:font-semibold wgt:rounded-[8px] wgt:bg-primary wgt:text-white",
477
475
  handleClick: () => {
478
- typeof d == "function" && d({ type: r, data: e }), s.remove();
476
+ typeof c == "function" && c({ type: r, data: e }), s.remove();
479
477
  }
480
478
  });
481
- return C.appendChild(V), C.appendChild(H), g.appendChild(C), s.appendChild(g), s.addEventListener("click", (u) => {
482
- u.target === s && (typeof l == "function" && l(), s.remove());
479
+ return h.appendChild(V), h.appendChild(A), g.appendChild(h), s.appendChild(g), s.addEventListener("click", (w) => {
480
+ w.target === s && (typeof d == "function" && d(), s.remove());
483
481
  }), { overlay: s };
484
482
  }
485
- const ue = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALYAAABICAYAAABbaA9tAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAKz9JREFUeAHtXQd4HNW1PlO3aqVdrVaymiVZso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wx95WLUu91ufkIdpEnx8q307BriRsBPNVb8cKkKVG1WIB6CWK4aF5PjwBaFABPcDh+VVE0/ur59PdZwy/ZW7n1i/h282tc/gGsKsJG49OUt9Ixv4S4My9wKBrhRqklMpHA6WH4bVnissOAY6v4Sw7gAWeh9b+rkfh282pc/iGsKsJWyfKd6XogywrKpb1h+0l1o65eT50GeN/Kni4J6X7KXTOrBIHoYeIL88llD9by8khh9FidyzxeiB/c0XdE4UMc3ZM1eNY8exrfUNDHi9s6pflGtD/VYe+y0V1sxwbVlNPVzRvOhN2/D8Q5PA9xC4XRcBUCJ7qS17h5B14Pog+mYhXE/fwqgZR62EexsZhkpy8AHf1RK+C9PafHHIYE3YHYev1XB/Z0tMJyo1+TkAP5OB/CjM/dWLHCFM//iP1lHLjHwc62mH3tS+H7xh2p7VBF0ni1XuskFV5miQT4mas//mAkfGAGx/HruAa182A0e9FzCGHbbA7OaIeL3JWw5ofeBnfRgevoW9Xt33iJ54LWODNa1r4wxn03JIccvjWYNBj1VZR+1etag/0Qmpa9YxUV0XdY1qaoL+v/5slh52Eb4IzDp6FUV9U5M3TtNIirrTlrPavBmDb47ZyyOFbh5y4kUMOOeQwFvw/nuqxEggnLfAAAAAASUVORK5CYII=";
486
- function me({ theme: r, assets: e = {}, year: t } = {}) {
487
- const n = t != null ? t : (/* @__PURE__ */ new Date()).getFullYear(), l = document.createElement("div");
488
- l.className = "wgt:w-full wgt:bg-white", r && l.setAttribute("data-theme", r);
489
- const d = document.createElement("div");
490
- d.className = "wgt:w-full wgt:border-t wgt:border-[#E5E7EB]", l.appendChild(d);
483
+ const fe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALYAAABICAYAAABbaA9tAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAKz9JREFUeAHtXQd4HNW1PlO3aqVdrVaymiVZso0bocR54AAGQu/F5BkI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x8q307BriRsBPNVb8cKkKVG1WIB6CWK4aF5PjwBaFABPcDh+VVE0/ur59PdZwy/ZW7n1i/h282tc/gGsKsJG49OUt9Ixv4S4My9wKBrhRqklMpHA6WH4bVnissOAY6v4Sw7gAWeh9b+rkfh282pc/iGsKsJWyfKd6XogywrKpb1h+0l1o65eT50GeN/Kni4J6X7KXTOrBIHoYeIL88llD9by8khh9FidyzxeiB/c0XdE4UMc3ZM1eNY8exrfUNDHi9s6pflGtD/VYe+y0V1sxwbVlNPVzRvOhN2/D8Q5PA9xC4XRcBUCJ7qS17h5B14Pog+mYhXE/fwqgZR62EexsZhkpy8AHf1RK+C9PafHHIYE3YHYev1XB/Z0tMJyo1+TkAP5OB/CjM/dWLHCFM//iP1lHLjHwc62mH3tS+H7xh2p7VBF0ni1XuskFV5miQT4mas//mAkfGAGx/HruAa182A0e9FzCGHbbA7OaIeL3JWw5ofeBnfRgevoW9Xt33iJ54LWODNa1r4wxn03JIccvjWYNBj1VZR+1etag/0Qmpa9YxUV0XdY1qaoL+v/5slh52Eb4IzDp6FUV9U5M3TtNIirrTlrPavBmDb47ZyyOFbh5y4kUMOOeQwFvw/nuqxEggnLfAAAAAASUVORK5CYII=";
484
+ function xe({ theme: r, assets: e = {}, year: t } = {}) {
485
+ const n = t != null ? t : (/* @__PURE__ */ new Date()).getFullYear(), d = document.createElement("div");
486
+ d.className = "wgt:w-full wgt:bg-white", r && d.setAttribute("data-theme", r);
487
+ const c = document.createElement("div");
488
+ c.className = "wgt:w-full wgt:border-t wgt:border-[#E5E7EB]", d.appendChild(c);
491
489
  const s = document.createElement("div");
492
- s.className = "wgt:w-full wgt:max-w-md wgt:mx-auto wgt:px-4 wgt:py-4", l.appendChild(s);
490
+ s.className = "wgt:w-full wgt:max-w-md wgt:mx-auto wgt:px-4 wgt:py-4", d.appendChild(s);
493
491
  const g = document.createElement("div");
494
492
  g.className = "wgt:flex wgt:items-center wgt:justify-center wgt:gap-2 wgt:mb-3 wgt:flex-wrap";
495
- const c = document.createElement("div");
496
- c.className = "wgt:text-base wgt:font-semibold wgt:text-strong-950", c.textContent = "Giải pháp thanh toán được cung cấp bởi";
493
+ const l = document.createElement("div");
494
+ l.className = "wgt:text-base wgt:font-semibold wgt:text-strong-950", l.textContent = "Giải pháp thanh toán được cung cấp bởi";
497
495
  const v = document.createElement("div");
498
496
  v.className = "wgt:flex wgt:items-center wgt:justify-center wgt:shrink-0";
499
- const x = document.createElement("img");
500
- if (x.src = ue, x.alt = "ATOM", x.className = "wgt:h-6 wgt:w-auto", x.loading = "lazy", v.appendChild(x), g.appendChild(c), g.appendChild(v), s.appendChild(g), e.cyberSourceLogo || e.pciLogo) {
501
- const w = document.createElement("div");
502
- if (w.className = "wgt:flex wgt:items-center wgt:justify-center wgt:gap-6 wgt:py-2", e.cyberSourceLogo) {
497
+ const C = document.createElement("img");
498
+ if (C.src = fe, C.alt = "ATOM", C.className = "wgt:h-6 wgt:w-auto", C.loading = "lazy", v.appendChild(C), g.appendChild(l), g.appendChild(v), s.appendChild(g), e.cyberSourceLogo || e.pciLogo) {
499
+ const u = document.createElement("div");
500
+ if (u.className = "wgt:flex wgt:items-center wgt:justify-center wgt:gap-6 wgt:py-2", e.cyberSourceLogo) {
503
501
  const p = document.createElement("img");
504
- p.src = e.cyberSourceLogo, p.alt = "CyberSource", p.className = "wgt:h-10 wgt:w-auto", p.loading = "lazy", w.appendChild(p);
502
+ p.src = e.cyberSourceLogo, p.alt = "CyberSource", p.className = "wgt:h-10 wgt:w-auto", p.loading = "lazy", u.appendChild(p);
505
503
  }
506
504
  if (e.pciLogo) {
507
505
  const p = document.createElement("img");
508
- p.src = e.pciLogo, p.alt = "PCI DSS", p.className = "wgt:h-10 wgt:w-auto", p.loading = "lazy", w.appendChild(p);
506
+ p.src = e.pciLogo, p.alt = "PCI DSS", p.className = "wgt:h-10 wgt:w-auto", p.loading = "lazy", u.appendChild(p);
509
507
  }
510
- s.appendChild(w);
508
+ s.appendChild(u);
511
509
  }
512
510
  const M = document.createElement("div");
513
- M.className = "wgt:w-full wgt:border-t wgt:border-[#E5E7EB]", l.appendChild(M);
511
+ M.className = "wgt:w-full wgt:border-t wgt:border-[#E5E7EB]", d.appendChild(M);
514
512
  const b = document.createElement("div");
515
- return b.className = "wgt:w-full wgt:max-w-md wgt:mx-auto wgt:px-4 wgt:py-3 wgt:text-center wgt:text-sm wgt:text-[#9CA3AF]", b.textContent = `© ${n} Bản quyền thuộc về ATOM`, l.appendChild(b), { container: l };
513
+ return b.className = "wgt:w-full wgt:max-w-md wgt:mx-auto wgt:px-4 wgt:py-3 wgt:text-center wgt:text-sm wgt:text-[#9CA3AF]", b.textContent = `© ${n} Bản quyền thuộc về ATOM`, d.appendChild(b), { container: d };
516
514
  }
517
- function Ce({
515
+ function ve({
518
516
  orderInfo: r,
519
517
  onPreview: e,
520
518
  theme: t,
521
519
  onSubmit: n,
522
- taxCode: l = ""
520
+ taxCode: d = ""
523
521
  }) {
524
- const d = document.createElement("div");
525
- d.className = "wgt:flex wgt:flex-col wgt:items-center wgt:justify-between wgt:h-full wgt:shadow wgt:rounded-xl", t && d.setAttribute("data-theme", t);
522
+ const c = document.createElement("div");
523
+ c.className = "wgt:flex wgt:flex-col wgt:items-center wgt:justify-between wgt:h-full wgt:shadow wgt:rounded-xl", t && c.setAttribute("data-theme", t);
526
524
  const s = document.createElement("div");
527
- s.className = "wgt:w-full wgt:max-w-md wgt:space-y-4 wgt:rounded-xl wgt:bg-white wgt:p-4", d.appendChild(s);
525
+ s.className = "wgt:w-full wgt:max-w-md wgt:space-y-4 wgt:rounded-xl wgt:bg-white wgt:p-4", c.appendChild(s);
528
526
  const {
529
527
  container: g,
530
- open: c,
528
+ open: l,
531
529
  close: v
532
- } = oe();
533
- d.style.position = d.style.position || "relative", d.appendChild(g);
534
- const x = document.createElement("div");
535
- x.className = "wgt:space-y-1";
530
+ } = le();
531
+ c.style.position = c.style.position || "relative", c.appendChild(g);
532
+ const C = document.createElement("div");
533
+ C.className = "wgt:space-y-1";
536
534
  const M = document.createElement("h3");
537
535
  M.className = "wgt:text-2xl wgt:font-semibold wgt:text-text-black wgt:text-center wgt:justify-center", M.textContent = i("invoiceform_title");
538
536
  const b = document.createElement("p");
539
- b.className = "wgt:text-sm wgt:text-weak-700 wgt:text-center wgt:justify-center", b.textContent = i("invoiceform_subtitle"), x.appendChild(M), x.appendChild(b), s.appendChild(x);
540
- const w = document.createElement("div");
541
- w.className = "wgt:mt-2 wgt:space-y-3 wgt:rounded-xl wgt:bg-weak-50 wgt:px-6 wgt:py-6";
537
+ b.className = "wgt:text-sm wgt:text-weak-700 wgt:text-center wgt:justify-center", b.textContent = i("invoiceform_subtitle"), C.appendChild(M), C.appendChild(b), s.appendChild(C);
538
+ const u = document.createElement("div");
539
+ u.className = "wgt:mt-2 wgt:space-y-3 wgt:rounded-xl wgt:bg-weak-50 wgt:px-6 wgt:py-6";
542
540
  function p(y, E) {
543
541
  const S = document.createElement("div");
544
542
  S.className = "wgt:flex wgt:items-start";
545
- const q = document.createElement("div");
546
- q.className = "wgt:flex wgt:items-center wgt:gap-2 wgt:w-1/3";
543
+ const Z = document.createElement("div");
544
+ Z.className = "wgt:flex wgt:items-center wgt:gap-2 wgt:w-1/3";
547
545
  const Y = document.createElement("span");
548
546
  Y.className = "wgt:inline-flex wgt:items-center wgt:justify-center wgt:w-4 wgt:h-4 wgt:text-icon-primary";
549
- let h = "";
550
- y === i("invoice_number") ? h = `
547
+ let f = "";
548
+ y === i("invoice_number") ? f = `
551
549
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
552
550
  <path d="M12.7996 14H3.19961C3.04048 14 2.88787 13.9368 2.77535 13.8243C2.66282 13.7117 2.59961 13.5591 2.59961 13.4V2.6C2.59961 2.44087 2.66282 2.28826 2.77535 2.17574C2.88787 2.06321 3.04048 2 3.19961 2H12.7996C12.9587 2 13.1114 2.06321 13.2239 2.17574C13.3364 2.28826 13.3996 2.44087 13.3996 2.6V13.4C13.3996 13.5591 13.3364 13.7117 13.2239 13.8243C13.1114 13.9368 12.9587 14 12.7996 14ZM12.1996 12.8V3.2H3.79961V12.8H12.1996ZM5.59961 6.2H10.3996V7.4H5.59961V6.2ZM5.59961 8.6H10.3996V9.8H5.59961V8.6Z" fill="currentColor"/>
553
551
  </svg>
554
- ` : y === i("address_form") ? h = `
552
+ ` : y === i("address_form") ? f = `
555
553
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
556
554
  <path d="M7.99961 13.34L10.9696 10.37C11.557 9.78256 11.9569 9.03419 12.1189 8.21948C12.281 7.40477 12.1978 6.56031 11.8799 5.79289C11.562 5.02546 11.0236 4.36954 10.333 3.90805C9.64229 3.44657 8.83028 3.20026 7.99961 3.20026C7.16895 3.20026 6.35694 3.44657 5.66626 3.90805C4.97558 4.36954 4.43726 5.02546 4.11936 5.79289C3.80146 6.56031 3.71826 7.40477 3.88028 8.21948C4.04231 9.03419 4.44227 9.78256 5.02961 10.37L7.99961 13.34ZM7.99961 15.0368L4.18121 11.2184C3.42602 10.4631 2.91172 9.50096 2.70337 8.45346C2.49501 7.40597 2.60195 6.32021 3.01067 5.33349C3.41938 4.34678 4.11152 3.50342 4.99954 2.91006C5.88756 2.3167 6.9316 2 7.99961 2C9.06763 2 10.1117 2.3167 10.9997 2.91006C11.8877 3.50342 12.5798 4.34678 12.9886 5.33349C13.3973 6.32021 13.5042 7.40597 13.2959 8.45346C13.0875 9.50096 12.5732 10.4631 11.818 11.2184L7.99961 15.0368ZM7.99961 8.59995C8.31787 8.59995 8.6231 8.47353 8.84814 8.24848C9.07318 8.02344 9.19961 7.71821 9.19961 7.39995C9.19961 7.08169 9.07318 6.77647 8.84814 6.55143C8.6231 6.32638 8.31787 6.19995 7.99961 6.19995C7.68135 6.19995 7.37613 6.32638 7.15108 6.55143C6.92604 6.77647 6.79961 7.08169 6.79961 7.39995C6.79961 7.71821 6.92604 8.02344 7.15108 8.24848C7.37613 8.47353 7.68135 8.59995 7.99961 8.59995ZM7.99961 9.79995C7.36309 9.79995 6.75264 9.5471 6.30256 9.09701C5.85247 8.64692 5.59961 8.03647 5.59961 7.39995C5.59961 6.76343 5.85247 6.15298 6.30256 5.7029C6.75264 5.25281 7.36309 4.99995 7.99961 4.99995C8.63613 4.99995 9.24658 5.25281 9.69667 5.7029C10.1468 6.15298 10.3996 6.76343 10.3996 7.39995C10.3996 8.03647 10.1468 8.64692 9.69667 9.09701C9.24658 9.5471 8.63613 9.79995 7.99961 9.79995Z" fill="currentColor"/>
557
555
  </svg>
558
- ` : y === i("total_amount") && (h = `
556
+ ` : y === i("total_amount") && (f = `
559
557
  <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
560
558
  <path d="M8 14C4.6862 14 2 11.3138 2 8C2 4.6862 4.6862 2 8 2C11.3138 2 14 4.6862 14 8C14 11.3138 11.3138 14 8 14ZM8 12.8C9.27304 12.8 10.4939 12.2943 11.3941 11.3941C12.2943 10.4939 12.8 9.27304 12.8 8C12.8 6.72696 12.2943 5.50606 11.3941 4.60589C10.4939 3.70571 9.27304 3.2 8 3.2C6.72696 3.2 5.50606 3.70571 4.60589 4.60589C3.70571 5.50606 3.2 6.72696 3.2 8C3.2 9.27304 3.70571 10.4939 4.60589 11.3941C5.50606 12.2943 6.72696 12.8 8 12.8V12.8ZM5.9 9.2H9.2C9.27957 9.2 9.35587 9.16839 9.41213 9.11213C9.46839 9.05587 9.5 8.97957 9.5 8.9C9.5 8.82044 9.46839 8.74413 9.41213 8.68787C9.35587 8.63161 9.27957 8.6 9.2 8.6H6.8C6.40218 8.6 6.02064 8.44197 5.73934 8.16066C5.45804 7.87936 5.3 7.49783 5.3 7.1C5.3 6.70218 5.45804 6.32065 5.73934 6.03934C6.02064 5.75804 6.40218 5.6 6.8 5.6H7.4V4.4H8.6V5.6H10.1V6.8H6.8C6.72044 6.8 6.64413 6.83161 6.58787 6.88787C6.53161 6.94413 6.5 7.02044 6.5 7.1C6.5 7.17957 6.53161 7.25587 6.58787 7.31213C6.64413 7.36839 6.72044 7.4 6.8 7.4H9.2C9.59783 7.4 9.97936 7.55804 10.2607 7.83934C10.542 8.12065 10.7 8.50218 10.7 8.9C10.7 9.29783 10.542 9.67936 10.2607 9.96066C9.97936 10.242 9.59783 10.4 9.2 10.4H8.6V11.6H7.4V10.4H5.9V9.2Z" fill="currentColor"/>
561
559
  </svg>
562
- `), Y.innerHTML = h;
560
+ `), Y.innerHTML = f;
563
561
  const L = document.createElement("span");
564
- L.className = "wgt:text-sm wgt:text-weak-700", L.textContent = y, q.appendChild(Y), q.appendChild(L);
565
- const f = document.createElement("span");
566
- return f.className = "wgt:text-sm wgt:font-semibold wgt:text-strong-950 wgt:w-2/3 wgt:text-right", f.textContent = E != null ? E : "", S.appendChild(q), S.appendChild(f), S;
562
+ L.className = "wgt:text-sm wgt:text-weak-700", L.textContent = y, Z.appendChild(Y), Z.appendChild(L);
563
+ const x = document.createElement("span");
564
+ return x.className = "wgt:text-sm wgt:font-semibold wgt:text-strong-950 wgt:w-2/3 wgt:text-right", x.textContent = E != null ? E : "", S.appendChild(Z), S.appendChild(x), S;
567
565
  }
568
- w.appendChild(p(i("invoice_number"), r == null ? void 0 : r.billNo)), w.appendChild(
569
- p(i("address_form"), r == null ? void 0 : r.merchantAddress)
570
- ), w.appendChild(
566
+ u.appendChild(p(i("invoice_number"), r == null ? void 0 : r.billNo)), u.appendChild(
567
+ p(i("address_form"), r == null ? void 0 : r.address)
568
+ ), u.appendChild(
571
569
  p(
572
570
  i("total_amount"),
573
571
  `${te(r == null ? void 0 : r.amount)} VND`
574
572
  )
575
- ), s.appendChild(w);
573
+ ), s.appendChild(u);
576
574
  const k = document.createElement("div");
577
575
  k.className = "wgt:mt-4 wgt:rounded-xl wgt:border wgt:border-[#E1E4EA] wgt:bg-white wgt:pb-6", s.appendChild(k);
578
576
  const P = document.createElement("div");
@@ -597,39 +595,39 @@ function Ce({
597
595
  `, P.appendChild(o), P.appendChild(a);
598
596
  const m = document.createElement("div");
599
597
  m.className = "wgt:mt-4 wgt:px-4", k.appendChild(m);
600
- const C = ge(), V = we({
601
- defaultValues: { taxCode: l || "" },
598
+ const h = me(), V = Ce({
599
+ defaultValues: { taxCode: d || "" },
602
600
  onFetchByTaxCode: (y) => W(null, null, function* () {
603
- var S, q, Y;
604
- const E = yield le(y);
601
+ var S, Z, Y;
602
+ const E = yield de(y);
605
603
  return {
606
604
  representativeName: (S = E.nguoi_dai_dien) != null ? S : "",
607
- buyerAddress: (q = E.dia_chi) != null ? q : "",
605
+ buyerAddress: (Z = E.dia_chi) != null ? Z : "",
608
606
  businessName: (Y = E.ten_cty) != null ? Y : ""
609
607
  };
610
608
  })
611
609
  });
612
- let H = "individual", u = C;
610
+ let A = "individual", w = h;
613
611
  function T(y) {
614
- H = y, o.style.borderBottom = "none", a.style.borderBottom = "none";
612
+ A = y, o.style.borderBottom = "none", a.style.borderBottom = "none";
615
613
  const E = "wgt:relative wgt:flex-1 wgt:py-4 wgt:text-sm wgt:font-semibold";
616
- y === "individual" ? (o.className = `${E} wgt:text-strong-950`, o.style.borderBottom = "2px solid var(--primary)", a.className = `${E} wgt:text-soft-400`, m.innerHTML = "", m.appendChild(C.container), u = C) : (a.className = `${E} wgt:text-strong-950`, a.style.borderBottom = "2px solid var(--primary)", o.className = `${E} wgt:text-soft-400`, m.innerHTML = "", m.appendChild(V.container), u = V);
614
+ y === "individual" ? (o.className = `${E} wgt:text-strong-950`, o.style.borderBottom = "2px solid var(--primary)", a.className = `${E} wgt:text-soft-400`, m.innerHTML = "", m.appendChild(h.container), w = h) : (a.className = `${E} wgt:text-strong-950`, a.style.borderBottom = "2px solid var(--primary)", o.className = `${E} wgt:text-soft-400`, m.innerHTML = "", m.appendChild(V.container), w = V);
617
615
  }
618
616
  o.addEventListener("click", () => T("individual")), a.addEventListener("click", () => T("business")), T("individual");
619
- const A = document.createElement("p");
620
- A.className = "wgt:mt-2 wgt:text-xs wgt:text-[#FF8447] wgt:text-left wgt:justify-center", A.textContent = i("invoiceform_note"), s.appendChild(A);
621
- const Z = document.createElement("div");
622
- Z.className = "wgt:mt-6 wgt:w-full wgt:flex wgt:justify-center wgt:items-center";
623
- const F = I({
617
+ const H = document.createElement("p");
618
+ H.className = "wgt:mt-2 wgt:text-xs wgt:text-[#FF8447] wgt:text-left wgt:justify-center", H.textContent = i("invoiceform_note"), s.appendChild(H);
619
+ const X = document.createElement("div");
620
+ X.className = "wgt:mt-6 wgt:w-full wgt:flex wgt:justify-center wgt:items-center";
621
+ const F = U({
624
622
  type: "button",
625
623
  title: i("btn_preview"),
626
624
  className: "wgt:min-w-[163px] wgt:text-white",
627
625
  handleClick: () => {
628
- if (!u.validate()) return;
626
+ if (!w.validate()) return;
629
627
  const y = {
630
- type: H,
631
- data: u.getValues()
632
- }, { overlay: E } = pe({
628
+ type: A,
629
+ data: w.getValues()
630
+ }, { overlay: E } = he({
633
631
  type: y.type,
634
632
  data: y.data,
635
633
  orderInfo: r,
@@ -638,15 +636,15 @@ function Ce({
638
636
  console.log("Popup closed");
639
637
  },
640
638
  onConfirm: () => W(null, null, function* () {
641
- var S, q, Y;
642
- E.remove(), c();
639
+ var S, Z, Y;
640
+ E.remove(), l();
643
641
  try {
644
642
  if (typeof n != "function") return;
645
- const h = yield n({
643
+ const f = yield n({
646
644
  type: y.type,
647
645
  data: y.data
648
- }), L = (Y = (q = (S = h == null ? void 0 : h.finalData) != null ? S : h == null ? void 0 : h.data) != null ? q : h) != null ? Y : {}, f = String((L == null ? void 0 : L.status) || "").trim().toLowerCase();
649
- if (v(), f === "invoiced") {
646
+ }), L = (Y = (Z = (S = f == null ? void 0 : f.finalData) != null ? S : f == null ? void 0 : f.data) != null ? Z : f) != null ? Y : {}, x = String((L == null ? void 0 : L.status) || "").trim().toLowerCase();
647
+ if (v(), x === "invoiced") {
650
648
  J({
651
649
  message: i("invoice_success"),
652
650
  description: i("invoice_description"),
@@ -657,7 +655,7 @@ function Ce({
657
655
  }).open();
658
656
  return;
659
657
  }
660
- if (f === "failed") {
658
+ if (x === "failed") {
661
659
  J({
662
660
  message: i("invoice_failed"),
663
661
  description: i("invoice_description_failed"),
@@ -669,7 +667,7 @@ function Ce({
669
667
  }).open();
670
668
  return;
671
669
  }
672
- } catch (h) {
670
+ } catch (f) {
673
671
  v(), J({
674
672
  message: i("invoice_failed"),
675
673
  description: i("invoice_description_failed"),
@@ -678,43 +676,43 @@ function Ce({
678
676
  hideOkButton: !1,
679
677
  closeOnClickOutside: !1,
680
678
  theme: t
681
- }).open(), console.error(h);
679
+ }).open(), console.error(f);
682
680
  }
683
681
  })
684
682
  });
685
683
  document.body.appendChild(E);
686
684
  }
687
685
  });
688
- return Z.appendChild(F), s.appendChild(Z), { container: d };
686
+ return X.appendChild(F), s.appendChild(X), { container: c };
689
687
  }
690
- function he({ theme: r, onClose: e } = {}) {
688
+ function be({ theme: r, onClose: e } = {}) {
691
689
  const t = document.createElement("div");
692
690
  t.className = " wgt:flex wgt:h-screen wgt:bg-[#F3F4F6] wgt:p-4", r && t.setAttribute("data-theme", r);
693
691
  const n = document.createElement("div");
694
692
  n.className = "wgt:w-full wgt:max-w-md wgt:max-h-[208px] wgt:bg-white wgt:rounded-2xl wgt:shadow-sm wgt:p-8 wgt:text-center";
695
- const l = document.createElement("div");
696
- l.className = "wgt:flex wgt:justify-center wgt:mb-4";
697
693
  const d = document.createElement("div");
698
- d.className = "wgt:w-12 wgt:h-12 wgt:rounded-full wgt:flex wgt:items-center wgt:justify-center", d.style.backgroundColor = "#335CFF", d.innerHTML = `
694
+ d.className = "wgt:flex wgt:justify-center wgt:mb-4";
695
+ const c = document.createElement("div");
696
+ c.className = "wgt:w-12 wgt:h-12 wgt:rounded-full wgt:flex wgt:items-center wgt:justify-center", c.style.backgroundColor = "#335CFF", c.innerHTML = `
699
697
  <svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
700
698
  <path d="M20.7996 22.75H5.19961C4.94102 22.75 4.69303 22.6473 4.51018 22.4644C4.32733 22.2816 4.22461 22.0336 4.22461 21.775V4.225C4.22461 3.96641 4.32733 3.71842 4.51018 3.53557C4.69303 3.35272 4.94102 3.25 5.19961 3.25H20.7996C21.0582 3.25 21.3062 3.35272 21.489 3.53557C21.6719 3.71842 21.7746 3.96641 21.7746 4.225V21.775C21.7746 22.0336 21.6719 22.2816 21.489 22.4644C21.3062 22.6473 21.0582 22.75 20.7996 22.75ZM9.09961 10.075V12.025H16.8996V10.075H9.09961ZM9.09961 13.975V15.925H16.8996V13.975H9.09961Z" fill="white"/>
701
699
  </svg>
702
700
 
703
- `, l.appendChild(d), n.appendChild(l);
701
+ `, d.appendChild(c), n.appendChild(d);
704
702
  const s = document.createElement("h2");
705
703
  s.className = "wgt:text-base wgt:font-semibold wgt:text-[#0E121B] wgt:mb-2", s.textContent = i("invoiceCheckout_title"), n.appendChild(s);
706
704
  const g = document.createElement("p");
707
705
  return g.className = "wgt:text-sm wgt:text-[#525866] wgt:leading-relaxed", g.textContent = i("invoiceCheckout_description"), n.appendChild(g), t.appendChild(n), { container: t };
708
706
  }
709
- function fe({ theme: r, onClose: e } = {}) {
707
+ function ye({ theme: r, onClose: e } = {}) {
710
708
  const t = document.createElement("div");
711
709
  t.className = "wgt:min-h-screen wgt:flex wgt:bg-[#F3F4F6] wgt:p-4", r && t.setAttribute("data-theme", r);
712
710
  const n = document.createElement("div");
713
711
  n.className = "wgt:w-full wgt:max-w-md wgt:max-h-[252px] wgt:bg-white wgt:rounded-2xl wgt:shadow-sm wgt:px-4 wgt:py-5 wgt:text-center";
714
- const l = document.createElement("div");
715
- l.className = "wgt:flex wgt:justify-center wgt:mb-2";
716
712
  const d = document.createElement("div");
717
- d.innerHTML = `
713
+ d.className = "wgt:flex wgt:justify-center wgt:mb-2";
714
+ const c = document.createElement("div");
715
+ c.innerHTML = `
718
716
  <svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
719
717
  <path fill-rule="evenodd" clip-rule="evenodd" d="M54.1342 21.7247L55.1467 20.5742C56.1143 19.4756 55.9467 17.7277 54.7361 16.6283C53.5262 15.5258 51.7494 15.5022 50.7825 16.6009L49.7715 17.7521L54.1342 21.7247Z" fill="#525866"/>
720
718
  <path fill-rule="evenodd" clip-rule="evenodd" d="M36.6582 10.4023H40.9028V14.1966H36.6582V10.4023Z" fill="#99A0AE"/>
@@ -732,66 +730,79 @@ function fe({ theme: r, onClose: e } = {}) {
732
730
  <path fill-rule="evenodd" clip-rule="evenodd" d="M38.7788 33.9142C39.4439 33.9142 39.9696 34.4369 39.9696 35.1051C39.9696 35.7748 39.4447 36.2959 38.7788 36.2959C38.1144 36.2959 37.5879 35.7748 37.5879 35.1051C37.5879 34.4361 38.1144 33.9142 38.7788 33.9142ZM44.1494 28.6799C43.9468 28.6837 43.7479 28.7675 43.6039 28.9146L39.9376 32.59C39.5826 32.4232 39.1925 32.3234 38.7788 32.3234C37.2542 32.3234 36.0039 33.5813 36.0039 35.1051C36.0039 36.6296 37.2542 37.8891 38.7788 37.8891C40.3033 37.8891 41.5544 36.6296 41.5544 35.1051C41.5544 34.5679 41.3944 34.0712 41.1285 33.6445L44.727 30.0376C45.2367 29.5317 44.8702 28.6632 44.1494 28.6799Z" fill="#808080"/>
733
731
  </svg>
734
732
 
735
- `, l.appendChild(d), n.appendChild(l);
733
+ `, d.appendChild(c), n.appendChild(d);
736
734
  const s = document.createElement("h2");
737
735
  s.className = "wgt:text-base wgt:font-semibold wgt:text-[#0E121B] wgt:mb-2", s.textContent = i("invoiceExpired_title"), n.appendChild(s);
738
736
  const g = document.createElement("p");
739
737
  g.className = "wgt:text-sm wgt:text-[#525866] wgt:leading-relaxed wgt:px-2 wgt:mb-3", g.textContent = i("invoiceExpired_description"), n.appendChild(g);
740
- const c = document.createElement("p");
741
- return c.className = "wgt:text-sm wgt:text-[#99A0AE] wgt:italic wgt:leading-relaxed wgt:px-4", c.textContent = i("invoiceExpired_note"), n.appendChild(c), t.appendChild(n), { container: t };
738
+ const l = document.createElement("p");
739
+ return l.className = "wgt:text-sm wgt:text-[#99A0AE] wgt:italic wgt:leading-relaxed wgt:px-4", l.textContent = i("invoiceExpired_note"), n.appendChild(l), t.appendChild(n), { container: t };
742
740
  }
743
- function ie(r) {
741
+ function ne(r) {
744
742
  return String(r || "").trim().toLowerCase();
745
743
  }
746
- function Me({ uuid: r, orderInfo: e, theme: t }) {
744
+ function ie(r) {
745
+ return String(r || "").trim().toLowerCase() === "1invoice";
746
+ }
747
+ function re(r, e) {
748
+ return W(this, null, function* () {
749
+ return ie(r) ? ce(e) : ge(e);
750
+ });
751
+ }
752
+ function Ee(r, e, t) {
753
+ return W(this, null, function* () {
754
+ return ie(r) ? ue(e, t) : pe(e, t);
755
+ });
756
+ }
757
+ function Pe({ uuid: r, orderInfo: e, theme: t }) {
747
758
  const n = document.createElement("div");
748
759
  n.className = "wgt:w-full wgt:min-h-screen wgt:flex wgt:flex-col wgt:bg-[#F3F4F6]";
749
- let l = !1;
750
- const d = document.createElement("div");
751
- d.className = "wgt:flex-1 wgt:w-full", n.appendChild(d);
752
- const s = me({
760
+ let d = !1;
761
+ const c = document.createElement("div");
762
+ c.className = "wgt:w-full", n.appendChild(c);
763
+ const s = xe({
753
764
  theme: t,
754
765
  year: 2025
755
766
  });
756
- n.appendChild(s.container);
767
+ s.container.classList.add("wgt:mt-1"), n.appendChild(s.container);
757
768
  function g(o) {
758
- l || (d.innerHTML = "", o && d.appendChild(o));
769
+ d || (c.innerHTML = "", o && c.appendChild(o));
759
770
  }
760
- function c(o) {
771
+ function l(o) {
761
772
  o && console.log("[DEBUG] renderFailedPage:", o);
762
- const a = ce({
773
+ const a = we({
763
774
  theme: t,
764
- onClose: w
775
+ onClose: u
765
776
  });
766
777
  g(a.container);
767
778
  }
768
779
  function v() {
769
- const o = fe({
780
+ const o = ye({
770
781
  theme: t
771
782
  });
772
783
  g(o.container);
773
784
  }
774
- function x(o) {
775
- const a = he({
785
+ function C(o) {
786
+ const a = be({
776
787
  theme: t
777
788
  });
778
789
  g(a.container);
779
790
  }
780
791
  function M(o) {
781
- const a = Ce({
792
+ const a = ve({
782
793
  orderInfo: o || {},
783
794
  theme: t,
784
- onSubmit: (V) => W(null, [V], function* ({ type: m, data: C }) {
785
- const H = b();
786
- if (!H)
787
- return c({ reason: "MISSING_UUID_ON_SUBMIT" }), { ok: !1 };
788
- const u = ve(m, C);
789
- return yield de(H, u), { ok: !0, finalData: yield be(H, {
795
+ onSubmit: (V) => W(null, [V], function* ({ type: m, data: h }) {
796
+ const A = b();
797
+ if (!A)
798
+ return l({ reason: "MISSING_UUID_ON_SUBMIT" }), { ok: !1 };
799
+ const w = Le(m, h);
800
+ return yield Ee(t, A, w), { ok: !0, finalData: yield Me(A, t, {
790
801
  maxTries: 20,
791
802
  intervalMs: 1500
792
803
  }) };
793
804
  }),
794
- onBack: w
805
+ onBack: u
795
806
  });
796
807
  g(a.container);
797
808
  }
@@ -800,7 +811,7 @@ function Me({ uuid: r, orderInfo: e, theme: t }) {
800
811
  const o = new URLSearchParams(window.location.search || "");
801
812
  return String((m = o.get("uuid")) != null ? m : "").trim() || String(r || "").trim() || String((e == null ? void 0 : e.uuid) || "").trim();
802
813
  }
803
- function w() {
814
+ function u() {
804
815
  return W(this, null, function* () {
805
816
  yield p();
806
817
  });
@@ -810,24 +821,24 @@ function Me({ uuid: r, orderInfo: e, theme: t }) {
810
821
  try {
811
822
  const o = b();
812
823
  if (!o)
813
- return c({ reason: "EMPTY_UUID_NO_API_CALL" });
814
- const a = yield ne(o), m = String((a == null ? void 0 : a.message) || "").trim();
824
+ return l({ reason: "EMPTY_UUID_NO_API_CALL" });
825
+ const a = yield re(t, o), m = String((a == null ? void 0 : a.message) || "").trim();
815
826
  if (m)
816
- return c({ reason: "API_MESSAGE", apiMsg: m, res: a });
817
- const C = ie(a == null ? void 0 : a.status);
818
- return C === "expired" ? v() : C === "invoiced" ? x(a) : C === "pending" || C === "waiting" ? M(a || e || {}) : C === "" && a && Object.keys(a).length > 0 ? M(a) : c({ reason: "UNKNOWN_STATUS", status: C, res: a });
827
+ return l({ reason: "API_MESSAGE", apiMsg: m, res: a });
828
+ const h = ne(a == null ? void 0 : a.status);
829
+ return h === "expired" ? v() : h === "invoiced" ? C(a) : h === "pending" || h === "waiting" ? M(a || e || {}) : h === "" && a && Object.keys(a).length > 0 ? M(a) : l({ reason: "UNKNOWN_STATUS", status: h, res: a });
819
830
  } catch (o) {
820
- return console.log("[DEBUG] loadAndRender error:", o), c({ reason: "EXCEPTION", error: (o == null ? void 0 : o.message) || o });
831
+ return console.log("[DEBUG] loadAndRender error:", o), l({ reason: "EXCEPTION", error: (o == null ? void 0 : o.message) || o });
821
832
  }
822
833
  });
823
834
  }
824
835
  function k() {
825
836
  return W(this, null, function* () {
826
- c({ reason: "INIT_DEFAULT_RENDER" });
837
+ l({ reason: "INIT_DEFAULT_RENDER" });
827
838
  try {
828
839
  yield p();
829
840
  } catch (o) {
830
- return c({
841
+ return l({
831
842
  reason: "INIT_EXCEPTION",
832
843
  error: (o == null ? void 0 : o.message) || o
833
844
  });
@@ -835,15 +846,15 @@ function Me({ uuid: r, orderInfo: e, theme: t }) {
835
846
  });
836
847
  }
837
848
  function P() {
838
- l = !0, n.innerHTML = "";
849
+ d = !0, n.innerHTML = "";
839
850
  }
840
851
  return { container: n, init: k, destroy: P };
841
852
  }
842
- function xe(r) {
853
+ function Ne(r) {
843
854
  return String(r || "").trim().toLowerCase() === "business" ? "enterprise" : "individual";
844
855
  }
845
- function ve(r, e) {
846
- const t = xe(r), n = {
856
+ function Le(r, e) {
857
+ const t = Ne(r), n = {
847
858
  invoiceType: t,
848
859
  buyerName: (e == null ? void 0 : e.representativeName) || "",
849
860
  address: (e == null ? void 0 : e.buyerAddress) || "",
@@ -851,24 +862,24 @@ function ve(r, e) {
851
862
  };
852
863
  return t === "enterprise" && (n.taxCode = e != null && e.noTaxCode ? "" : (e == null ? void 0 : e.taxCode) || "", n.businessName = (e == null ? void 0 : e.businessName) || ""), n;
853
864
  }
854
- function be(n) {
855
- return W(this, arguments, function* (r, { maxTries: e = 20, intervalMs: t = 1500 } = {}) {
856
- for (let d = 0; d < e; d++) {
857
- yield ye(t);
858
- const s = yield ne(r), g = ie(s == null ? void 0 : s.status);
859
- if (g === "invoiced") return s;
860
- if (g === "expired") {
861
- const c = new Error("Invoice request expired while polling");
862
- throw c.code = "EXPIRED", c.data = s, c;
865
+ function Me(d, c) {
866
+ return W(this, arguments, function* (r, e, { maxTries: t = 20, intervalMs: n = 1500 } = {}) {
867
+ for (let g = 0; g < t; g++) {
868
+ yield He(n);
869
+ const l = yield re(e, r), v = ne(l == null ? void 0 : l.status);
870
+ if (v === "invoiced") return l;
871
+ if (v === "expired") {
872
+ const C = new Error("Invoice request expired while polling");
873
+ throw C.code = "EXPIRED", C.data = l, C;
863
874
  }
864
875
  }
865
- const l = new Error("Polling timeout: status not invoiced");
866
- throw l.code = "POLL_TIMEOUT", l;
876
+ const s = new Error("Polling timeout: status not invoiced");
877
+ throw s.code = "POLL_TIMEOUT", s;
867
878
  });
868
879
  }
869
- function ye(r) {
880
+ function He(r) {
870
881
  return new Promise((e) => setTimeout(e, r));
871
882
  }
872
883
  export {
873
- Me as createInvoiceRequestFlow
884
+ Pe as createInvoiceRequestFlow
874
885
  };