@invoice-sdk/widget 1.125.14 → 1.126.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.
@@ -1,5 +1,5 @@
1
- import { c as O, f as G, e as te, b as ne, p as re, q as ie, s as ae, r as oe } from "./loading-DGpagwve.js";
2
- import { t, c as Q, k as se } from "./index-2t2xdEQC.js";
1
+ import { c as O, f as G, e as te, b as ne, o as re, p as ie, s as ae, q as oe } from "./loading-Bs9il-yL.js";
2
+ import { t, c as Q, k as se } from "./index-CpTaTzi5.js";
3
3
  function B(i) {
4
4
  const n = i.trim();
5
5
  return n ? n.length < 2 || n.length > 250 ? { valid: !1, error: t("length_2_250") } : /[<>:"\/\\|?*@#$%!^]/.test(n) ? { valid: !1, error: t("invalid_characters") } : { valid: !0 } : { valid: !1, error: t("required_name") };
@@ -623,7 +623,9 @@ function me({
623
623
  hideOkButton: !0,
624
624
  theme: r,
625
625
  closeOnClickOutside: !1
626
- }).open();
626
+ }).open(), setTimeout(() => {
627
+ window.location.href = "https://landing-staging.1invoice.vn/";
628
+ }, 5e3);
627
629
  return;
628
630
  }
629
631
  if (I === "failed") {