intl-tel-input 24.4.0 → 24.5.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,5 +1,5 @@
1
- import { mergeModels as e2, useModel as T2, ref as _1, onMounted as L2, watch as N2, onUnmounted as E2, withDirectives as D2, openBlock as M2, createElementBlock as P2, mergeProps as x2, vModelText as R2 } from "vue";
2
- const $2 = [
1
+ import { mergeModels as $2, useModel as A2, ref as I1, onMounted as T2, watch as L2, onUnmounted as E2, withDirectives as D2, openBlock as M2, createElementBlock as P2, mergeProps as x2, vModelText as R2 } from "vue";
2
+ const n2 = [
3
3
  [
4
4
  "af",
5
5
  // Afghanistan
@@ -1306,8 +1306,8 @@ const $2 = [
1306
1306
  "263"
1307
1307
  ]
1308
1308
  ], H = [];
1309
- for (let y = 0; y < $2.length; y++) {
1310
- const e = $2[y];
1309
+ for (let y = 0; y < n2.length; y++) {
1310
+ const e = n2[y];
1311
1311
  H[y] = {
1312
1312
  name: "",
1313
1313
  // this is now populated in the plugin
@@ -1572,11 +1572,11 @@ const B2 = {
1572
1572
  // additional countries (not supported by country-list library)
1573
1573
  ac: "Ascension Island",
1574
1574
  xk: "Kosovo"
1575
- }, s2 = { ...B2, ...k2 };
1575
+ }, r2 = { ...B2, ...k2 };
1576
1576
  for (let y = 0; y < H.length; y++)
1577
- H[y].name = s2[H[y].iso2];
1577
+ H[y].name = r2[H[y].iso2];
1578
1578
  let O2 = 0;
1579
- const r2 = {
1579
+ const o2 = {
1580
1580
  //* Whether or not to allow the dropdown.
1581
1581
  allowDropdown: !0,
1582
1582
  //* Add a placeholder in the input with an example number for the selected country.
@@ -1649,46 +1649,46 @@ const r2 = {
1649
1649
  "887",
1650
1650
  "888",
1651
1651
  "889"
1652
- ], c1 = (y) => y.replace(/\D/g, ""), i2 = (y = "") => y.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), n2 = (y) => {
1652
+ ], c1 = (y) => y.replace(/\D/g, ""), i2 = (y = "") => y.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), s2 = (y) => {
1653
1653
  const e = c1(y);
1654
1654
  if (e.charAt(0) === "1") {
1655
- const i = e.substr(1, 3);
1656
- return G2.indexOf(i) !== -1;
1655
+ const n = e.substr(1, 3);
1656
+ return G2.indexOf(n) !== -1;
1657
1657
  }
1658
1658
  return !1;
1659
- }, U2 = (y, e, i, s) => {
1660
- if (i === 0 && !s)
1659
+ }, F2 = (y, e, n, i) => {
1660
+ if (n === 0 && !i)
1661
1661
  return 0;
1662
1662
  let u = 0;
1663
1663
  for (let a = 0; a < e.length; a++) {
1664
- if (/[+0-9]/.test(e[a]) && u++, u === y && !s)
1664
+ if (/[+0-9]/.test(e[a]) && u++, u === y && !i)
1665
1665
  return a + 1;
1666
- if (s && u === y + 1)
1666
+ if (i && u === y + 1)
1667
1667
  return a;
1668
1668
  }
1669
1669
  return e.length;
1670
- }, N = (y, e, i) => {
1671
- const s = document.createElement(y);
1672
- return e && Object.entries(e).forEach(([u, a]) => s.setAttribute(u, a)), i && i.appendChild(s), s;
1670
+ }, L = (y, e, n) => {
1671
+ const i = document.createElement(y);
1672
+ return e && Object.entries(e).forEach(([u, a]) => i.setAttribute(u, a)), n && n.appendChild(i), i;
1673
1673
  }, $1 = (y) => {
1674
1674
  const { instances: e } = C;
1675
- Object.values(e).forEach((i) => i[y]());
1675
+ Object.values(e).forEach((n) => n[y]());
1676
1676
  };
1677
- class F2 {
1678
- constructor(e, i = {}) {
1679
- this.id = O2++, this.telInput = e, this.highlightedItem = null, this.options = Object.assign({}, r2, i), this.hadInitialPlaceholder = !!e.getAttribute("placeholder");
1677
+ class U2 {
1678
+ constructor(e, n = {}) {
1679
+ this.id = O2++, this.telInput = e, this.highlightedItem = null, this.options = Object.assign({}, o2, n), this.hadInitialPlaceholder = !!e.getAttribute("placeholder");
1680
1680
  }
1681
1681
  //* Can't be private as it's called from intlTelInput convenience wrapper.
1682
1682
  _init() {
1683
1683
  this.options.useFullscreenPopup && (this.options.fixDropdownWidth = !1), this.options.onlyCountries.length === 1 && (this.options.initialCountry = this.options.onlyCountries[0]), this.options.separateDialCode && (this.options.nationalMode = !1), this.options.allowDropdown && !this.options.showFlags && !this.options.separateDialCode && (this.options.nationalMode = !1), this.options.useFullscreenPopup && !this.options.dropdownContainer && (this.options.dropdownContainer = document.body), this.isAndroid = typeof navigator < "u" ? /Android/i.test(navigator.userAgent) : !1, this.isRTL = !!this.telInput.closest("[dir=rtl]");
1684
1684
  const e = this.options.allowDropdown || this.options.separateDialCode;
1685
- this.showSelectedCountryOnLeft = this.isRTL ? !e : e, this.options.separateDialCode && (this.isRTL ? this.originalPaddingRight = this.telInput.style.paddingRight : this.originalPaddingLeft = this.telInput.style.paddingLeft), this.options.i18n = { ...s2, ...this.options.i18n };
1686
- const i = new Promise((u, a) => {
1685
+ this.showSelectedCountryOnLeft = this.isRTL ? !e : e, this.options.separateDialCode && (this.isRTL ? this.originalPaddingRight = this.telInput.style.paddingRight : this.originalPaddingLeft = this.telInput.style.paddingLeft), this.options.i18n = { ...r2, ...this.options.i18n };
1686
+ const n = new Promise((u, a) => {
1687
1687
  this.resolveAutoCountryPromise = u, this.rejectAutoCountryPromise = a;
1688
- }), s = new Promise((u, a) => {
1688
+ }), i = new Promise((u, a) => {
1689
1689
  this.resolveUtilsScriptPromise = u, this.rejectUtilsScriptPromise = a;
1690
1690
  });
1691
- this.promise = Promise.all([i, s]), this.selectedCountryData = {}, this._processCountryData(), this._generateMarkup(), this._setInitialState(), this._initListeners(), this._initRequests();
1691
+ this.promise = Promise.all([n, i]), this.selectedCountryData = {}, this._processCountryData(), this._generateMarkup(), this._setInitialState(), this._initListeners(), this._initRequests();
1692
1692
  }
1693
1693
  //********************
1694
1694
  //* PRIVATE METHODS
@@ -1699,41 +1699,41 @@ class F2 {
1699
1699
  }
1700
1700
  //* Sort countries by countryOrder option (if present), then name.
1701
1701
  _sortCountries() {
1702
- this.options.countryOrder && (this.options.countryOrder = this.options.countryOrder.map((e) => e.toLowerCase())), this.countries.sort((e, i) => {
1703
- const { countryOrder: s } = this.options;
1704
- if (s) {
1705
- const u = s.indexOf(e.iso2), a = s.indexOf(i.iso2), c = u > -1, p = a > -1;
1702
+ this.options.countryOrder && (this.options.countryOrder = this.options.countryOrder.map((e) => e.toLowerCase())), this.countries.sort((e, n) => {
1703
+ const { countryOrder: i } = this.options;
1704
+ if (i) {
1705
+ const u = i.indexOf(e.iso2), a = i.indexOf(n.iso2), c = u > -1, p = a > -1;
1706
1706
  if (c || p)
1707
1707
  return c && p ? u - a : c ? -1 : 1;
1708
1708
  }
1709
- return e.name.localeCompare(i.name);
1709
+ return e.name.localeCompare(n.name);
1710
1710
  });
1711
1711
  }
1712
1712
  //* Add a dial code to this.dialCodeToIso2Map.
1713
- _addToDialCodeMap(e, i, s) {
1714
- i.length > this.dialCodeMaxLen && (this.dialCodeMaxLen = i.length), this.dialCodeToIso2Map.hasOwnProperty(i) || (this.dialCodeToIso2Map[i] = []);
1715
- for (let a = 0; a < this.dialCodeToIso2Map[i].length; a++)
1716
- if (this.dialCodeToIso2Map[i][a] === e)
1713
+ _addToDialCodeMap(e, n, i) {
1714
+ n.length > this.dialCodeMaxLen && (this.dialCodeMaxLen = n.length), this.dialCodeToIso2Map.hasOwnProperty(n) || (this.dialCodeToIso2Map[n] = []);
1715
+ for (let a = 0; a < this.dialCodeToIso2Map[n].length; a++)
1716
+ if (this.dialCodeToIso2Map[n][a] === e)
1717
1717
  return;
1718
- const u = s !== void 0 ? s : this.dialCodeToIso2Map[i].length;
1719
- this.dialCodeToIso2Map[i][u] = e;
1718
+ const u = i !== void 0 ? i : this.dialCodeToIso2Map[n].length;
1719
+ this.dialCodeToIso2Map[n][u] = e;
1720
1720
  }
1721
1721
  //* Process onlyCountries or excludeCountries array if present.
1722
1722
  _processAllCountries() {
1723
- const { onlyCountries: e, excludeCountries: i } = this.options;
1723
+ const { onlyCountries: e, excludeCountries: n } = this.options;
1724
1724
  if (e.length) {
1725
- const s = e.map(
1725
+ const i = e.map(
1726
1726
  (u) => u.toLowerCase()
1727
1727
  );
1728
1728
  this.countries = H.filter(
1729
- (u) => s.indexOf(u.iso2) > -1
1729
+ (u) => i.indexOf(u.iso2) > -1
1730
1730
  );
1731
- } else if (i.length) {
1732
- const s = i.map(
1731
+ } else if (n.length) {
1732
+ const i = n.map(
1733
1733
  (u) => u.toLowerCase()
1734
1734
  );
1735
1735
  this.countries = H.filter(
1736
- (u) => s.indexOf(u.iso2) === -1
1736
+ (u) => i.indexOf(u.iso2) === -1
1737
1737
  );
1738
1738
  } else
1739
1739
  this.countries = H;
@@ -1741,28 +1741,28 @@ class F2 {
1741
1741
  //* Translate Countries by object literal provided on config.
1742
1742
  _translateCountryNames() {
1743
1743
  for (let e = 0; e < this.countries.length; e++) {
1744
- const i = this.countries[e].iso2.toLowerCase();
1745
- this.options.i18n.hasOwnProperty(i) && (this.countries[e].name = this.options.i18n[i]);
1744
+ const n = this.countries[e].iso2.toLowerCase();
1745
+ this.options.i18n.hasOwnProperty(n) && (this.countries[e].name = this.options.i18n[n]);
1746
1746
  }
1747
1747
  }
1748
1748
  //* Generate this.dialCodes and this.dialCodeToIso2Map.
1749
1749
  _processDialCodes() {
1750
1750
  this.dialCodes = {}, this.dialCodeMaxLen = 0, this.dialCodeToIso2Map = {};
1751
1751
  for (let e = 0; e < this.countries.length; e++) {
1752
- const i = this.countries[e];
1753
- this.dialCodes[i.dialCode] || (this.dialCodes[i.dialCode] = !0), this._addToDialCodeMap(i.iso2, i.dialCode, i.priority);
1752
+ const n = this.countries[e];
1753
+ this.dialCodes[n.dialCode] || (this.dialCodes[n.dialCode] = !0), this._addToDialCodeMap(n.iso2, n.dialCode, n.priority);
1754
1754
  }
1755
1755
  for (let e = 0; e < this.countries.length; e++) {
1756
- const i = this.countries[e];
1757
- if (i.areaCodes) {
1758
- const s = this.dialCodeToIso2Map[i.dialCode][0];
1759
- for (let u = 0; u < i.areaCodes.length; u++) {
1760
- const a = i.areaCodes[u];
1756
+ const n = this.countries[e];
1757
+ if (n.areaCodes) {
1758
+ const i = this.dialCodeToIso2Map[n.dialCode][0];
1759
+ for (let u = 0; u < n.areaCodes.length; u++) {
1760
+ const a = n.areaCodes[u];
1761
1761
  for (let c = 1; c < a.length; c++) {
1762
- const p = i.dialCode + a.substr(0, c);
1763
- this._addToDialCodeMap(s, p), this._addToDialCodeMap(i.iso2, p);
1762
+ const p = n.dialCode + a.substr(0, c);
1763
+ this._addToDialCodeMap(i, p), this._addToDialCodeMap(n.iso2, p);
1764
1764
  }
1765
- this._addToDialCodeMap(i.iso2, i.dialCode + a);
1765
+ this._addToDialCodeMap(n.iso2, n.dialCode + a);
1766
1766
  }
1767
1767
  }
1768
1768
  }
@@ -1773,25 +1773,25 @@ class F2 {
1773
1773
  this.telInput.classList.add("iti__tel-input"), !this.telInput.hasAttribute("autocomplete") && !(this.telInput.form && this.telInput.form.hasAttribute("autocomplete")) && this.telInput.setAttribute("autocomplete", "off");
1774
1774
  const {
1775
1775
  allowDropdown: e,
1776
- separateDialCode: i,
1777
- showFlags: s,
1776
+ separateDialCode: n,
1777
+ showFlags: i,
1778
1778
  containerClass: u,
1779
1779
  hiddenInput: a,
1780
1780
  dropdownContainer: c,
1781
1781
  fixDropdownWidth: p,
1782
1782
  useFullscreenPopup: g,
1783
1783
  countrySearch: b,
1784
- i18n: _
1784
+ i18n: S
1785
1785
  } = this.options;
1786
- let A = "iti";
1787
- e && (A += " iti--allow-dropdown"), s && (A += " iti--show-flags"), u && (A += ` ${u}`), g || (A += " iti--inline-dropdown");
1788
- const S = N("div", { class: A });
1789
- if ((I = this.telInput.parentNode) == null || I.insertBefore(S, this.telInput), e || s || i) {
1790
- this.countryContainer = N(
1786
+ let _ = "iti";
1787
+ e && (_ += " iti--allow-dropdown"), i && (_ += " iti--show-flags"), u && (_ += ` ${u}`), g || (_ += " iti--inline-dropdown");
1788
+ const N = L("div", { class: _ });
1789
+ if ((I = this.telInput.parentNode) == null || I.insertBefore(N, this.telInput), e || i || n) {
1790
+ this.countryContainer = L(
1791
1791
  "div",
1792
1792
  { class: "iti__country-container" },
1793
- S
1794
- ), this.showSelectedCountryOnLeft ? this.countryContainer.style.left = "0px" : this.countryContainer.style.right = "0px", e ? (this.selectedCountry = N(
1793
+ N
1794
+ ), this.showSelectedCountryOnLeft ? this.countryContainer.style.left = "0px" : this.countryContainer.style.right = "0px", e ? (this.selectedCountry = L(
1795
1795
  "button",
1796
1796
  {
1797
1797
  type: "button",
@@ -1803,105 +1803,105 @@ class F2 {
1803
1803
  role: "combobox"
1804
1804
  },
1805
1805
  this.countryContainer
1806
- ), this.telInput.disabled && this.selectedCountry.setAttribute("disabled", "true")) : this.selectedCountry = N(
1806
+ ), this.telInput.disabled && this.selectedCountry.setAttribute("disabled", "true")) : this.selectedCountry = L(
1807
1807
  "div",
1808
1808
  { class: "iti__selected-country" },
1809
1809
  this.countryContainer
1810
1810
  );
1811
- const T = N("div", { class: "iti__selected-country-primary" }, this.selectedCountry);
1812
- if (this.selectedCountryInner = N("div", { class: "iti__flag" }, T), this.selectedCountryA11yText = N(
1811
+ const A = L("div", { class: "iti__selected-country-primary" }, this.selectedCountry);
1812
+ if (this.selectedCountryInner = L("div", { class: "iti__flag" }, A), this.selectedCountryA11yText = L(
1813
1813
  "span",
1814
1814
  { class: "iti__a11y-text" },
1815
1815
  this.selectedCountryInner
1816
- ), e && (this.dropdownArrow = N(
1816
+ ), e && (this.dropdownArrow = L(
1817
1817
  "div",
1818
1818
  { class: "iti__arrow", "aria-hidden": "true" },
1819
- T
1820
- )), i && (this.selectedDialCode = N(
1819
+ A
1820
+ )), n && (this.selectedDialCode = L(
1821
1821
  "div",
1822
1822
  { class: "iti__selected-dial-code" },
1823
1823
  this.selectedCountry
1824
1824
  )), e) {
1825
1825
  const P = p ? "" : "iti--flexible-dropdown-width";
1826
- if (this.dropdownContent = N("div", {
1826
+ if (this.dropdownContent = L("div", {
1827
1827
  id: `iti-${this.id}__dropdown-content`,
1828
1828
  class: `iti__dropdown-content iti__hide ${P}`
1829
- }), b && (this.searchInput = N(
1829
+ }), b && (this.searchInput = L(
1830
1830
  "input",
1831
1831
  {
1832
1832
  type: "text",
1833
1833
  class: "iti__search-input",
1834
- placeholder: _.searchPlaceholder,
1834
+ placeholder: S.searchPlaceholder,
1835
1835
  role: "combobox",
1836
1836
  "aria-expanded": "true",
1837
- "aria-label": _.searchPlaceholder,
1837
+ "aria-label": S.searchPlaceholder,
1838
1838
  "aria-controls": `iti-${this.id}__country-listbox`,
1839
1839
  "aria-autocomplete": "list",
1840
1840
  autocomplete: "off"
1841
1841
  },
1842
1842
  this.dropdownContent
1843
- ), this.searchResultsA11yText = N(
1843
+ ), this.searchResultsA11yText = L(
1844
1844
  "span",
1845
1845
  { class: "iti__a11y-text" },
1846
1846
  this.dropdownContent
1847
- )), this.countryList = N(
1847
+ )), this.countryList = L(
1848
1848
  "ul",
1849
1849
  {
1850
1850
  class: "iti__country-list",
1851
1851
  id: `iti-${this.id}__country-listbox`,
1852
1852
  role: "listbox",
1853
- "aria-label": _.countryListAriaLabel
1853
+ "aria-label": S.countryListAriaLabel
1854
1854
  },
1855
1855
  this.dropdownContent
1856
1856
  ), this._appendListItems(), b && this._updateSearchResultsText(), c) {
1857
1857
  let O = "iti iti--container";
1858
- g ? O += " iti--fullscreen-popup" : O += " iti--inline-dropdown", this.dropdown = N("div", { class: O }), this.dropdown.appendChild(this.dropdownContent);
1858
+ g ? O += " iti--fullscreen-popup" : O += " iti--inline-dropdown", this.dropdown = L("div", { class: O }), this.dropdown.appendChild(this.dropdownContent);
1859
1859
  } else
1860
1860
  this.countryContainer.appendChild(this.dropdownContent);
1861
1861
  }
1862
1862
  }
1863
- if (S.appendChild(this.telInput), this._updateInputPadding(), a) {
1864
- const T = this.telInput.getAttribute("name") || "", P = a(T);
1865
- P.phone && (this.hiddenInput = N("input", {
1863
+ if (N.appendChild(this.telInput), this._updateInputPadding(), a) {
1864
+ const A = this.telInput.getAttribute("name") || "", P = a(A);
1865
+ P.phone && (this.hiddenInput = L("input", {
1866
1866
  type: "hidden",
1867
1867
  name: P.phone
1868
- }), S.appendChild(this.hiddenInput)), P.country && (this.hiddenInputCountry = N("input", {
1868
+ }), N.appendChild(this.hiddenInput)), P.country && (this.hiddenInputCountry = L("input", {
1869
1869
  type: "hidden",
1870
1870
  name: P.country
1871
- }), S.appendChild(this.hiddenInputCountry));
1871
+ }), N.appendChild(this.hiddenInputCountry));
1872
1872
  }
1873
1873
  }
1874
1874
  //* For each country: add a country list item <li> to the countryList <ul> container.
1875
1875
  _appendListItems() {
1876
1876
  for (let e = 0; e < this.countries.length; e++) {
1877
- const i = this.countries[e], s = e === 0 ? "iti__highlight" : "", u = N(
1877
+ const n = this.countries[e], i = e === 0 ? "iti__highlight" : "", u = L(
1878
1878
  "li",
1879
1879
  {
1880
- id: `iti-${this.id}__item-${i.iso2}`,
1881
- class: `iti__country ${s}`,
1880
+ id: `iti-${this.id}__item-${n.iso2}`,
1881
+ class: `iti__country ${i}`,
1882
1882
  tabindex: "-1",
1883
1883
  role: "option",
1884
- "data-dial-code": i.dialCode,
1885
- "data-country-code": i.iso2,
1884
+ "data-dial-code": n.dialCode,
1885
+ "data-country-code": n.iso2,
1886
1886
  "aria-selected": "false"
1887
1887
  },
1888
1888
  this.countryList
1889
1889
  );
1890
- i.nodeById[this.id] = u;
1890
+ n.nodeById[this.id] = u;
1891
1891
  let a = "";
1892
- this.options.showFlags && (a += `<div class='iti__flag iti__${i.iso2}'></div>`), a += `<span class='iti__country-name'>${i.name}</span>`, a += `<span class='iti__dial-code'>+${i.dialCode}</span>`, u.insertAdjacentHTML("beforeend", a);
1892
+ this.options.showFlags && (a += `<div class='iti__flag iti__${n.iso2}'></div>`), a += `<span class='iti__country-name'>${n.name}</span>`, a += `<span class='iti__dial-code'>+${n.dialCode}</span>`, u.insertAdjacentHTML("beforeend", a);
1893
1893
  }
1894
1894
  }
1895
1895
  //* Set the initial state of the input value and the selected country by:
1896
1896
  //* 1. Extracting a dial code from the given number
1897
1897
  //* 2. Using explicit initialCountry
1898
1898
  _setInitialState(e = !1) {
1899
- const i = this.telInput.getAttribute("value"), s = this.telInput.value, a = i && i.charAt(0) === "+" && (!s || s.charAt(0) !== "+") ? i : s, c = this._getDialCode(a), p = n2(a), { initialCountry: g, geoIpLookup: b } = this.options, _ = g === "auto" && b;
1899
+ const n = this.telInput.getAttribute("value"), i = this.telInput.value, a = n && n.charAt(0) === "+" && (!i || i.charAt(0) !== "+") ? n : i, c = this._getDialCode(a), p = s2(a), { initialCountry: g, geoIpLookup: b } = this.options, S = g === "auto" && b;
1900
1900
  if (c && !p)
1901
1901
  this._updateCountryFromNumber(a);
1902
- else if (!_ || e) {
1903
- const A = g ? g.toLowerCase() : "";
1904
- A && this._getCountryData(A, !0) ? this._setCountry(A) : c && p ? this._setCountry("us") : this._setCountry();
1902
+ else if (!S || e) {
1903
+ const _ = g ? g.toLowerCase() : "";
1904
+ _ && this._getCountryData(_, !0) ? this._setCountry(_) : c && p ? this._setCountry("us") : this._setCountry();
1905
1905
  }
1906
1906
  a && this._updateValFromNumber(a);
1907
1907
  }
@@ -1921,14 +1921,14 @@ class F2 {
1921
1921
  }
1922
1922
  //* initialise the dropdown listeners.
1923
1923
  _initDropdownListeners() {
1924
- this._handleLabelClick = (i) => {
1925
- this.dropdownContent.classList.contains("iti__hide") ? this.telInput.focus() : i.preventDefault();
1924
+ this._handleLabelClick = (n) => {
1925
+ this.dropdownContent.classList.contains("iti__hide") ? this.telInput.focus() : n.preventDefault();
1926
1926
  };
1927
1927
  const e = this.telInput.closest("label");
1928
1928
  e && e.addEventListener("click", this._handleLabelClick), this._handleClickSelectedCountry = () => {
1929
1929
  this.dropdownContent.classList.contains("iti__hide") && !this.telInput.disabled && !this.telInput.readOnly && this._openDropdown();
1930
- }, this.selectedCountry.addEventListener("click", this._handleClickSelectedCountry), this._handleCountryContainerKeydown = (i) => {
1931
- this.dropdownContent.classList.contains("iti__hide") && ["ArrowUp", "ArrowDown", " ", "Enter"].includes(i.key) && (i.preventDefault(), i.stopPropagation(), this._openDropdown()), i.key === "Tab" && this._closeDropdown();
1930
+ }, this.selectedCountry.addEventListener("click", this._handleClickSelectedCountry), this._handleCountryContainerKeydown = (n) => {
1931
+ this.dropdownContent.classList.contains("iti__hide") && ["ArrowUp", "ArrowDown", " ", "Enter"].includes(n.key) && (n.preventDefault(), n.stopPropagation(), this._openDropdown()), n.key === "Tab" && this._closeDropdown();
1932
1932
  }, this.countryContainer.addEventListener(
1933
1933
  "keydown",
1934
1934
  this._handleCountryContainerKeydown
@@ -1936,17 +1936,17 @@ class F2 {
1936
1936
  }
1937
1937
  //* Init many requests: utils script / geo ip lookup.
1938
1938
  _initRequests() {
1939
- const { utilsScript: e, initialCountry: i, geoIpLookup: s } = this.options;
1939
+ const { utilsScript: e, initialCountry: n, geoIpLookup: i } = this.options;
1940
1940
  e && !C.utils ? C.documentReady() ? C.loadUtils(e) : window.addEventListener("load", () => {
1941
1941
  C.loadUtils(e);
1942
- }) : this.resolveUtilsScriptPromise(), i === "auto" && s && !this.selectedCountryData.iso2 ? this._loadAutoCountry() : this.resolveAutoCountryPromise();
1942
+ }) : this.resolveUtilsScriptPromise(), n === "auto" && i && !this.selectedCountryData.iso2 ? this._loadAutoCountry() : this.resolveAutoCountryPromise();
1943
1943
  }
1944
1944
  //* Perform the geo ip lookup.
1945
1945
  _loadAutoCountry() {
1946
1946
  C.autoCountry ? this.handleAutoCountry() : C.startedLoadingAutoCountry || (C.startedLoadingAutoCountry = !0, typeof this.options.geoIpLookup == "function" && this.options.geoIpLookup(
1947
1947
  (e = "") => {
1948
- const i = e.toLowerCase();
1949
- i && this._getCountryData(i, !0) ? (C.autoCountry = i, setTimeout(() => $1("handleAutoCountry"))) : (this._setInitialState(!0), $1("rejectAutoCountryPromise"));
1948
+ const n = e.toLowerCase();
1949
+ n && this._getCountryData(n, !0) ? (C.autoCountry = n, setTimeout(() => $1("handleAutoCountry"))) : (this._setInitialState(!0), $1("rejectAutoCountryPromise"));
1950
1950
  },
1951
1951
  () => {
1952
1952
  this._setInitialState(!0), $1("rejectAutoCountryPromise");
@@ -1958,63 +1958,71 @@ class F2 {
1958
1958
  }
1959
1959
  //* Initialize the tel input listeners.
1960
1960
  _initTelInputListeners() {
1961
- const { strictMode: e, formatAsYouType: i, separateDialCode: s, formatOnDisplay: u, allowDropdown: a, countrySearch: c } = this.options;
1961
+ const { strictMode: e, formatAsYouType: n, separateDialCode: i, formatOnDisplay: u, allowDropdown: a, countrySearch: c } = this.options;
1962
1962
  let p = !1;
1963
1963
  new RegExp("\\p{L}", "u").test(this.telInput.value) && (p = !0), this._handleInputEvent = (g) => {
1964
- if (this.isAndroid && (g == null ? void 0 : g.data) === "+" && s && a && c) {
1965
- const S = this.telInput.selectionStart || 0, I = this.telInput.value.substring(0, S - 1), T = this.telInput.value.substring(S);
1966
- this.telInput.value = I + T, this._openDropdownWithPlus();
1964
+ if (this.isAndroid && (g == null ? void 0 : g.data) === "+" && i && a && c) {
1965
+ const N = this.telInput.selectionStart || 0, I = this.telInput.value.substring(0, N - 1), A = this.telInput.value.substring(N);
1966
+ this.telInput.value = I + A, this._openDropdownWithPlus();
1967
1967
  return;
1968
1968
  }
1969
1969
  this._updateCountryFromNumber(this.telInput.value) && this._triggerCountryChange();
1970
- const b = (g == null ? void 0 : g.data) && /[^+0-9]/.test(g.data), _ = (g == null ? void 0 : g.inputType) === "insertFromPaste" && this.telInput.value;
1971
- b || _ && !e ? p = !0 : /[^+0-9]/.test(this.telInput.value) || (p = !1);
1972
- const A = (g == null ? void 0 : g.detail) && g.detail.isSetNumber && !u;
1973
- if (i && !p && !A) {
1974
- const S = this.telInput.selectionStart || 0, T = this.telInput.value.substring(0, S).replace(/[^+0-9]/g, "").length, P = (g == null ? void 0 : g.inputType) === "deleteContentForward", O = this._formatNumberAsYouType(), J = U2(T, O, S, P);
1975
- this.telInput.value = O, this.telInput.setSelectionRange(J, J);
1970
+ const b = (g == null ? void 0 : g.data) && /[^+0-9]/.test(g.data), S = (g == null ? void 0 : g.inputType) === "insertFromPaste" && this.telInput.value;
1971
+ b || S && !e ? p = !0 : /[^+0-9]/.test(this.telInput.value) || (p = !1);
1972
+ const _ = (g == null ? void 0 : g.detail) && g.detail.isSetNumber && !u;
1973
+ if (n && !p && !_) {
1974
+ const N = this.telInput.selectionStart || 0, A = this.telInput.value.substring(0, N).replace(/[^+0-9]/g, "").length, P = (g == null ? void 0 : g.inputType) === "deleteContentForward", O = this._formatNumberAsYouType(), Z = F2(A, O, N, P);
1975
+ this.telInput.value = O, this.telInput.setSelectionRange(Z, Z);
1976
1976
  }
1977
- }, this.telInput.addEventListener("input", this._handleInputEvent), (e || s) && (this._handleKeydownEvent = (g) => {
1977
+ }, this.telInput.addEventListener("input", this._handleInputEvent), (e || i) && (this._handleKeydownEvent = (g) => {
1978
1978
  if (g.key && g.key.length === 1 && !g.altKey && !g.ctrlKey && !g.metaKey) {
1979
- if (s && a && c && g.key === "+") {
1979
+ if (i && a && c && g.key === "+") {
1980
1980
  g.preventDefault(), this._openDropdownWithPlus();
1981
1981
  return;
1982
1982
  }
1983
1983
  if (e) {
1984
- const b = this.telInput.selectionStart === 0 && g.key === "+", _ = /^[0-9]$/.test(g.key), A = s ? _ : b || _, S = this._getFullNumber(), I = C.utils.getCoreNumber(S, this.selectedCountryData.iso2), T = this.maxCoreNumberLength && I.length >= this.maxCoreNumberLength, P = this.telInput.value.substring(this.telInput.selectionStart, this.telInput.selectionEnd), O = /\d/.test(P), f1 = (this.telInput.selectionStart || 0) === this.telInput.value.length;
1985
- (!A || T && !O && f1) && g.preventDefault();
1984
+ const b = this.telInput.value, _ = !(b.charAt(0) === "+") && this.telInput.selectionStart === 0 && g.key === "+", N = /^[0-9]$/.test(g.key), I = i ? N : _ || N, A = this._getFullNumber(), P = C.utils.getCoreNumber(A, this.selectedCountryData.iso2), O = this.maxCoreNumberLength && P.length >= this.maxCoreNumberLength, Z = b.substring(this.telInput.selectionStart, this.telInput.selectionEnd), f1 = /\d/.test(Z), p1 = _ ? !0 : this._isChangingDialCode(g.key);
1985
+ (!I || O && !f1 && !p1) && g.preventDefault();
1986
1986
  }
1987
1987
  }
1988
1988
  }, this.telInput.addEventListener("keydown", this._handleKeydownEvent));
1989
1989
  }
1990
+ _isChangingDialCode(e) {
1991
+ const n = this.telInput.value;
1992
+ if (n.charAt(0) === "+") {
1993
+ const i = this.selectedCountryData.iso2, u = n.slice(0, this.telInput.selectionStart) + e + n.slice(this.telInput.selectionEnd), a = this._getFullNumber(u);
1994
+ return this._getCountryFromNumber(a) !== i;
1995
+ }
1996
+ return !1;
1997
+ }
1990
1998
  //* Adhere to the input's maxlength attr.
1991
1999
  _cap(e) {
1992
- const i = parseInt(this.telInput.getAttribute("maxlength") || "", 10);
1993
- return i && e.length > i ? e.substr(0, i) : e;
2000
+ const n = parseInt(this.telInput.getAttribute("maxlength") || "", 10);
2001
+ return n && e.length > n ? e.substr(0, n) : e;
1994
2002
  }
1995
2003
  //* Trigger a custom event on the input.
1996
- _trigger(e, i = {}) {
1997
- const s = new CustomEvent(e, {
2004
+ _trigger(e, n = {}) {
2005
+ const i = new CustomEvent(e, {
1998
2006
  bubbles: !0,
1999
2007
  cancelable: !0,
2000
- detail: i
2008
+ detail: n
2001
2009
  });
2002
- this.telInput.dispatchEvent(s);
2010
+ this.telInput.dispatchEvent(i);
2003
2011
  }
2004
2012
  //* Open the dropdown.
2005
2013
  _openDropdown() {
2006
- const { fixDropdownWidth: e, countrySearch: i } = this.options;
2007
- if (e && (this.dropdownContent.style.width = `${this.telInput.offsetWidth}px`), this.dropdownContent.classList.remove("iti__hide"), this.selectedCountry.setAttribute("aria-expanded", "true"), this._setDropdownPosition(), i) {
2008
- const s = this.countryList.firstElementChild;
2009
- s && (this._highlightListItem(s, !1), this.countryList.scrollTop = 0), this.searchInput.focus();
2014
+ const { fixDropdownWidth: e, countrySearch: n } = this.options;
2015
+ if (e && (this.dropdownContent.style.width = `${this.telInput.offsetWidth}px`), this.dropdownContent.classList.remove("iti__hide"), this.selectedCountry.setAttribute("aria-expanded", "true"), this._setDropdownPosition(), n) {
2016
+ const i = this.countryList.firstElementChild;
2017
+ i && (this._highlightListItem(i, !1), this.countryList.scrollTop = 0), this.searchInput.focus();
2010
2018
  }
2011
2019
  this._bindDropdownListeners(), this.dropdownArrow.classList.add("iti__arrow--up"), this._trigger("open:countrydropdown");
2012
2020
  }
2013
2021
  //* Set the dropdown position
2014
2022
  _setDropdownPosition() {
2015
2023
  if (this.options.dropdownContainer && this.options.dropdownContainer.appendChild(this.dropdown), !this.options.useFullscreenPopup) {
2016
- const e = this.telInput.getBoundingClientRect(), i = this.telInput.offsetHeight;
2017
- this.options.dropdownContainer && (this.dropdown.style.top = `${e.top + i}px`, this.dropdown.style.left = `${e.left}px`, this._handleWindowScroll = () => this._closeDropdown(), window.addEventListener("scroll", this._handleWindowScroll));
2024
+ const e = this.telInput.getBoundingClientRect(), n = this.telInput.offsetHeight;
2025
+ this.options.dropdownContainer && (this.dropdown.style.top = `${e.top + n}px`, this.dropdown.style.left = `${e.left}px`, this._handleWindowScroll = () => this._closeDropdown(), window.addEventListener("scroll", this._handleWindowScroll));
2018
2026
  }
2019
2027
  }
2020
2028
  //* We only bind dropdown listeners when the dropdown is open.
@@ -2038,10 +2046,10 @@ class F2 {
2038
2046
  "click",
2039
2047
  this._handleClickOffToClose
2040
2048
  );
2041
- let i = "", s = null;
2049
+ let n = "", i = null;
2042
2050
  if (this._handleKeydownOnDropdown = (u) => {
2043
- ["ArrowUp", "ArrowDown", "Enter", "Escape"].includes(u.key) && (u.preventDefault(), u.stopPropagation(), u.key === "ArrowUp" || u.key === "ArrowDown" ? this._handleUpDownKey(u.key) : u.key === "Enter" ? this._handleEnterKey() : u.key === "Escape" && this._closeDropdown()), !this.options.countrySearch && /^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(u.key) && (u.stopPropagation(), s && clearTimeout(s), i += u.key.toLowerCase(), this._searchForCountry(i), s = setTimeout(() => {
2044
- i = "";
2051
+ ["ArrowUp", "ArrowDown", "Enter", "Escape"].includes(u.key) && (u.preventDefault(), u.stopPropagation(), u.key === "ArrowUp" || u.key === "ArrowDown" ? this._handleUpDownKey(u.key) : u.key === "Enter" ? this._handleEnterKey() : u.key === "Escape" && this._closeDropdown()), !this.options.countrySearch && /^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(u.key) && (u.stopPropagation(), i && clearTimeout(i), n += u.key.toLowerCase(), this._searchForCountry(n), i = setTimeout(() => {
2052
+ n = "";
2045
2053
  }, 1e3));
2046
2054
  }, document.addEventListener("keydown", this._handleKeydownOnDropdown), this.options.countrySearch) {
2047
2055
  const u = () => {
@@ -2058,40 +2066,40 @@ class F2 {
2058
2066
  }
2059
2067
  //* Hidden search (countrySearch disabled): Find the first list item whose name starts with the query string.
2060
2068
  _searchForCountry(e) {
2061
- for (let i = 0; i < this.countries.length; i++) {
2062
- const s = this.countries[i];
2063
- if (s.name.substr(0, e.length).toLowerCase() === e) {
2064
- const a = s.nodeById[this.id];
2069
+ for (let n = 0; n < this.countries.length; n++) {
2070
+ const i = this.countries[n];
2071
+ if (i.name.substr(0, e.length).toLowerCase() === e) {
2072
+ const a = i.nodeById[this.id];
2065
2073
  this._highlightListItem(a, !1), this._scrollTo(a);
2066
2074
  break;
2067
2075
  }
2068
2076
  }
2069
2077
  }
2070
2078
  //* Country search enabled: Filter the countries according to the search query.
2071
- _filterCountries(e, i = !1) {
2072
- let s = !0;
2079
+ _filterCountries(e, n = !1) {
2080
+ let i = !0;
2073
2081
  this.countryList.innerHTML = "";
2074
2082
  const u = i2(e);
2075
2083
  for (let a = 0; a < this.countries.length; a++) {
2076
- const c = this.countries[a], p = i2(c.name), g = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((_) => _[0]).join("").toLowerCase(), b = `+${c.dialCode}`;
2077
- if (i || p.includes(u) || b.includes(u) || c.iso2.includes(u) || g.includes(u)) {
2078
- const _ = c.nodeById[this.id];
2079
- _ && this.countryList.appendChild(_), s && (this._highlightListItem(_, !1), s = !1);
2084
+ const c = this.countries[a], p = i2(c.name), g = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((S) => S[0]).join("").toLowerCase(), b = `+${c.dialCode}`;
2085
+ if (n || p.includes(u) || b.includes(u) || c.iso2.includes(u) || g.includes(u)) {
2086
+ const S = c.nodeById[this.id];
2087
+ S && this.countryList.appendChild(S), i && (this._highlightListItem(S, !1), i = !1);
2080
2088
  }
2081
2089
  }
2082
- s && this._highlightListItem(null, !1), this.countryList.scrollTop = 0, this._updateSearchResultsText();
2090
+ i && this._highlightListItem(null, !1), this.countryList.scrollTop = 0, this._updateSearchResultsText();
2083
2091
  }
2084
2092
  //* Update search results text (for a11y).
2085
2093
  _updateSearchResultsText() {
2086
- const { i18n: e } = this.options, i = this.countryList.childElementCount;
2087
- let s;
2088
- i === 0 ? s = e.zeroSearchResults : i === 1 ? s = e.oneSearchResult : s = e.multipleSearchResults.replace("${count}", i.toString()), this.searchResultsA11yText.textContent = s;
2094
+ const { i18n: e } = this.options, n = this.countryList.childElementCount;
2095
+ let i;
2096
+ n === 0 ? i = e.zeroSearchResults : n === 1 ? i = e.oneSearchResult : i = e.multipleSearchResults.replace("${count}", n.toString()), this.searchResultsA11yText.textContent = i;
2089
2097
  }
2090
2098
  //* Highlight the next/prev item in the list (and ensure it is visible).
2091
2099
  _handleUpDownKey(e) {
2092
- var s, u;
2093
- let i = e === "ArrowUp" ? (s = this.highlightedItem) == null ? void 0 : s.previousElementSibling : (u = this.highlightedItem) == null ? void 0 : u.nextElementSibling;
2094
- !i && this.countryList.childElementCount > 1 && (i = e === "ArrowUp" ? this.countryList.lastElementChild : this.countryList.firstElementChild), i && (this._scrollTo(i), this._highlightListItem(i, !1));
2100
+ var i, u;
2101
+ let n = e === "ArrowUp" ? (i = this.highlightedItem) == null ? void 0 : i.previousElementSibling : (u = this.highlightedItem) == null ? void 0 : u.nextElementSibling;
2102
+ !n && this.countryList.childElementCount > 1 && (n = e === "ArrowUp" ? this.countryList.lastElementChild : this.countryList.firstElementChild), n && (this._scrollTo(n), this._highlightListItem(n, !1));
2095
2103
  }
2096
2104
  //* Select the currently highlighted item.
2097
2105
  _handleEnterKey() {
@@ -2100,67 +2108,73 @@ class F2 {
2100
2108
  //* Update the input's value to the given val (format first if possible)
2101
2109
  //* NOTE: this is called from _setInitialState, handleUtils and setNumber.
2102
2110
  _updateValFromNumber(e) {
2103
- let i = e;
2111
+ let n = e;
2104
2112
  if (this.options.formatOnDisplay && C.utils && this.selectedCountryData) {
2105
- const s = this.options.nationalMode || i.charAt(0) !== "+" && !this.options.separateDialCode, { NATIONAL: u, INTERNATIONAL: a } = C.utils.numberFormat, c = s ? u : a;
2106
- i = C.utils.formatNumber(
2107
- i,
2113
+ const i = this.options.nationalMode || n.charAt(0) !== "+" && !this.options.separateDialCode, { NATIONAL: u, INTERNATIONAL: a } = C.utils.numberFormat, c = i ? u : a;
2114
+ n = C.utils.formatNumber(
2115
+ n,
2108
2116
  this.selectedCountryData.iso2,
2109
2117
  c
2110
2118
  );
2111
2119
  }
2112
- i = this._beforeSetNumber(i), this.telInput.value = i;
2120
+ n = this._beforeSetNumber(n), this.telInput.value = n;
2113
2121
  }
2114
2122
  //* Check if need to select a new country based on the given number
2115
2123
  //* Note: called from _setInitialState, keyup handler, setNumber.
2116
2124
  _updateCountryFromNumber(e) {
2117
- const i = e.indexOf("+");
2118
- let s = i ? e.substring(i) : e;
2125
+ const n = this._getCountryFromNumber(e);
2126
+ return n !== null ? this._setCountry(n) : !1;
2127
+ }
2128
+ _getCountryFromNumber(e) {
2129
+ const n = e.indexOf("+");
2130
+ let i = n ? e.substring(n) : e;
2119
2131
  const u = this.selectedCountryData.dialCode;
2120
- s && u === "1" && s.charAt(0) !== "+" && (s.charAt(0) !== "1" && (s = `1${s}`), s = `+${s}`), this.options.separateDialCode && u && s.charAt(0) !== "+" && (s = `+${u}${s}`);
2121
- const c = this._getDialCode(s, !0), p = c1(s);
2122
- let g = null;
2132
+ i && u === "1" && i.charAt(0) !== "+" && (i.charAt(0) !== "1" && (i = `1${i}`), i = `+${i}`), this.options.separateDialCode && u && i.charAt(0) !== "+" && (i = `+${u}${i}`);
2133
+ const c = this._getDialCode(i, !0), p = c1(i);
2123
2134
  if (c) {
2124
- const b = this.dialCodeToIso2Map[c1(c)], _ = b.indexOf(this.selectedCountryData.iso2) !== -1 && p.length <= c.length - 1;
2125
- if (!(u === "1" && n2(p)) && !_) {
2126
- for (let S = 0; S < b.length; S++)
2127
- if (b[S]) {
2128
- g = b[S];
2129
- break;
2130
- }
2135
+ const g = this.dialCodeToIso2Map[c1(c)], b = g.indexOf(this.selectedCountryData.iso2) !== -1 && p.length <= c.length - 1;
2136
+ if (!(u === "1" && s2(p)) && !b) {
2137
+ for (let _ = 0; _ < g.length; _++)
2138
+ if (g[_])
2139
+ return g[_];
2131
2140
  }
2132
- } else s.charAt(0) === "+" && p.length ? g = "" : (!s || s === "+") && !this.selectedCountryData.iso2 && (g = this.defaultCountry);
2133
- return g !== null ? this._setCountry(g) : !1;
2141
+ } else {
2142
+ if (i.charAt(0) === "+" && p.length)
2143
+ return "";
2144
+ if ((!i || i === "+") && !this.selectedCountryData.iso2)
2145
+ return this.defaultCountry;
2146
+ }
2147
+ return null;
2134
2148
  }
2135
2149
  //* Remove highlighting from other list items and highlight the given item.
2136
- _highlightListItem(e, i) {
2137
- const s = this.highlightedItem;
2138
- if (s && (s.classList.remove("iti__highlight"), s.setAttribute("aria-selected", "false")), this.highlightedItem = e, this.highlightedItem) {
2150
+ _highlightListItem(e, n) {
2151
+ const i = this.highlightedItem;
2152
+ if (i && (i.classList.remove("iti__highlight"), i.setAttribute("aria-selected", "false")), this.highlightedItem = e, this.highlightedItem) {
2139
2153
  this.highlightedItem.classList.add("iti__highlight"), this.highlightedItem.setAttribute("aria-selected", "true");
2140
2154
  const u = this.highlightedItem.getAttribute("id") || "";
2141
2155
  this.selectedCountry.setAttribute("aria-activedescendant", u), this.options.countrySearch && this.searchInput.setAttribute("aria-activedescendant", u);
2142
2156
  }
2143
- i && this.highlightedItem.focus();
2157
+ n && this.highlightedItem.focus();
2144
2158
  }
2145
2159
  //* Find the country data for the given iso2 code
2146
2160
  //* the ignoreOnlyCountriesOption is only used during init() while parsing the onlyCountries array
2147
- _getCountryData(e, i) {
2148
- for (let s = 0; s < this.countries.length; s++)
2149
- if (this.countries[s].iso2 === e)
2150
- return this.countries[s];
2151
- if (i)
2161
+ _getCountryData(e, n) {
2162
+ for (let i = 0; i < this.countries.length; i++)
2163
+ if (this.countries[i].iso2 === e)
2164
+ return this.countries[i];
2165
+ if (n)
2152
2166
  return null;
2153
2167
  throw new Error(`No country data for '${e}'`);
2154
2168
  }
2155
2169
  //* Update the selected country, dial code (if separateDialCode), placeholder, title, and active list item.
2156
2170
  //* Note: called from _setInitialState, _updateCountryFromNumber, _selectListItem, setCountry.
2157
2171
  _setCountry(e) {
2158
- const { separateDialCode: i, showFlags: s, i18n: u } = this.options, a = this.selectedCountryData.iso2 ? this.selectedCountryData : {};
2172
+ const { separateDialCode: n, showFlags: i, i18n: u } = this.options, a = this.selectedCountryData.iso2 ? this.selectedCountryData : {};
2159
2173
  if (this.selectedCountryData = e ? this._getCountryData(e, !1) || {} : {}, this.selectedCountryData.iso2 && (this.defaultCountry = this.selectedCountryData.iso2), this.selectedCountryInner) {
2160
2174
  let c = "", p = "";
2161
- e && s ? (c = `iti__flag iti__${e}`, p = `${this.selectedCountryData.name} +${this.selectedCountryData.dialCode}`) : (c = "iti__flag iti__globe", p = u.noCountrySelected), this.selectedCountryInner.className = c, this.selectedCountryA11yText.textContent = p;
2175
+ e && i ? (c = `iti__flag iti__${e}`, p = `${this.selectedCountryData.name} +${this.selectedCountryData.dialCode}`) : (c = "iti__flag iti__globe", p = u.noCountrySelected), this.selectedCountryInner.className = c, this.selectedCountryA11yText.textContent = p;
2162
2176
  }
2163
- if (this._setSelectedCountryTitleAttribute(e, i), i) {
2177
+ if (this._setSelectedCountryTitleAttribute(e, n), n) {
2164
2178
  const c = this.selectedCountryData.dialCode ? `+${this.selectedCountryData.dialCode}` : "";
2165
2179
  this.selectedDialCode.innerHTML = c, this._updateInputPadding();
2166
2180
  }
@@ -2169,34 +2183,34 @@ class F2 {
2169
2183
  //* Update the input padding to make space for the selected country/dial code.
2170
2184
  _updateInputPadding() {
2171
2185
  if (this.selectedCountry) {
2172
- const i = (this.selectedCountry.offsetWidth || this._getHiddenSelectedCountryWidth()) + 6;
2173
- this.showSelectedCountryOnLeft ? this.telInput.style.paddingLeft = `${i}px` : this.telInput.style.paddingRight = `${i}px`;
2186
+ const n = (this.selectedCountry.offsetWidth || this._getHiddenSelectedCountryWidth()) + 6;
2187
+ this.showSelectedCountryOnLeft ? this.telInput.style.paddingLeft = `${n}px` : this.telInput.style.paddingRight = `${n}px`;
2174
2188
  }
2175
2189
  }
2176
2190
  //* Update the maximum valid number length for the currently selected country.
2177
2191
  _updateMaxLength() {
2178
- const { strictMode: e, placeholderNumberType: i, validationNumberType: s } = this.options;
2192
+ const { strictMode: e, placeholderNumberType: n, validationNumberType: i } = this.options;
2179
2193
  if (e && C.utils)
2180
2194
  if (this.selectedCountryData.iso2) {
2181
- const u = C.utils.numberType[i];
2195
+ const u = C.utils.numberType[n];
2182
2196
  let a = C.utils.getExampleNumber(
2183
2197
  this.selectedCountryData.iso2,
2184
2198
  !1,
2185
2199
  u,
2186
2200
  !0
2187
2201
  ), c = a;
2188
- for (; C.utils.isPossibleNumber(a, this.selectedCountryData.iso2, s); )
2202
+ for (; C.utils.isPossibleNumber(a, this.selectedCountryData.iso2, i); )
2189
2203
  c = a, a += "0";
2190
2204
  const p = C.utils.getCoreNumber(c, this.selectedCountryData.iso2);
2191
2205
  this.maxCoreNumberLength = p.length;
2192
2206
  } else
2193
2207
  this.maxCoreNumberLength = null;
2194
2208
  }
2195
- _setSelectedCountryTitleAttribute(e = null, i) {
2209
+ _setSelectedCountryTitleAttribute(e = null, n) {
2196
2210
  if (!this.selectedCountry)
2197
2211
  return;
2198
- let s;
2199
- e && !i ? s = `${this.selectedCountryData.name}: +${this.selectedCountryData.dialCode}` : e ? s = this.selectedCountryData.name : s = "Unknown", this.selectedCountry.setAttribute("title", s);
2212
+ let i;
2213
+ e && !n ? i = `${this.selectedCountryData.name}: +${this.selectedCountryData.dialCode}` : e ? i = this.selectedCountryData.name : i = "Unknown", this.selectedCountry.setAttribute("title", i);
2200
2214
  }
2201
2215
  //* When the input is in a hidden container during initialisation, we must inject some markup
2202
2216
  //* into the end of the DOM to calculate the correct offsetWidth.
@@ -2206,11 +2220,11 @@ class F2 {
2206
2220
  if (this.telInput.parentNode) {
2207
2221
  const e = this.telInput.parentNode.cloneNode(!1);
2208
2222
  e.style.visibility = "hidden", document.body.appendChild(e);
2209
- const i = this.countryContainer.cloneNode();
2210
- e.appendChild(i);
2211
- const s = this.selectedCountry.cloneNode(!0);
2212
- i.appendChild(s);
2213
- const u = s.offsetWidth;
2223
+ const n = this.countryContainer.cloneNode();
2224
+ e.appendChild(n);
2225
+ const i = this.selectedCountry.cloneNode(!0);
2226
+ n.appendChild(i);
2227
+ const u = i.offsetWidth;
2214
2228
  return document.body.removeChild(e), u;
2215
2229
  }
2216
2230
  return 0;
@@ -2219,15 +2233,15 @@ class F2 {
2219
2233
  _updatePlaceholder() {
2220
2234
  const {
2221
2235
  autoPlaceholder: e,
2222
- placeholderNumberType: i,
2223
- nationalMode: s,
2236
+ placeholderNumberType: n,
2237
+ nationalMode: i,
2224
2238
  customPlaceholder: u
2225
2239
  } = this.options, a = e === "aggressive" || !this.hadInitialPlaceholder && e === "polite";
2226
2240
  if (C.utils && a) {
2227
- const c = C.utils.numberType[i];
2241
+ const c = C.utils.numberType[n];
2228
2242
  let p = this.selectedCountryData.iso2 ? C.utils.getExampleNumber(
2229
2243
  this.selectedCountryData.iso2,
2230
- s,
2244
+ i,
2231
2245
  c
2232
2246
  ) : "";
2233
2247
  p = this._beforeSetNumber(p), typeof u == "function" && (p = u(p, this.selectedCountryData)), this.telInput.setAttribute("placeholder", p);
@@ -2235,10 +2249,10 @@ class F2 {
2235
2249
  }
2236
2250
  //* Called when the user selects a list item from the dropdown.
2237
2251
  _selectListItem(e) {
2238
- const i = this._setCountry(
2252
+ const n = this._setCountry(
2239
2253
  e.getAttribute("data-country-code")
2240
2254
  );
2241
- this._closeDropdown(), this._updateDialCode(e.getAttribute("data-dial-code")), this.telInput.focus(), i && this._triggerCountryChange();
2255
+ this._closeDropdown(), this._updateDialCode(e.getAttribute("data-dial-code")), this.telInput.focus(), n && this._triggerCountryChange();
2242
2256
  }
2243
2257
  //* Close the dropdown and unbind any listeners.
2244
2258
  _closeDropdown() {
@@ -2252,37 +2266,37 @@ class F2 {
2252
2266
  }
2253
2267
  //* Check if an element is visible within it's container, else scroll until it is.
2254
2268
  _scrollTo(e) {
2255
- const i = this.countryList, s = document.documentElement.scrollTop, u = i.offsetHeight, a = i.getBoundingClientRect().top + s, c = a + u, p = e.offsetHeight, g = e.getBoundingClientRect().top + s, b = g + p, _ = g - a + i.scrollTop;
2269
+ const n = this.countryList, i = document.documentElement.scrollTop, u = n.offsetHeight, a = n.getBoundingClientRect().top + i, c = a + u, p = e.offsetHeight, g = e.getBoundingClientRect().top + i, b = g + p, S = g - a + n.scrollTop;
2256
2270
  if (g < a)
2257
- i.scrollTop = _;
2271
+ n.scrollTop = S;
2258
2272
  else if (b > c) {
2259
- const A = u - p;
2260
- i.scrollTop = _ - A;
2273
+ const _ = u - p;
2274
+ n.scrollTop = S - _;
2261
2275
  }
2262
2276
  }
2263
2277
  //* Replace any existing dial code with the new one
2264
2278
  //* Note: called from _selectListItem and setCountry
2265
2279
  _updateDialCode(e) {
2266
- const i = this.telInput.value, s = `+${e}`;
2280
+ const n = this.telInput.value, i = `+${e}`;
2267
2281
  let u;
2268
- if (i.charAt(0) === "+") {
2269
- const a = this._getDialCode(i);
2270
- a ? u = i.replace(a, s) : u = s, this.telInput.value = u;
2282
+ if (n.charAt(0) === "+") {
2283
+ const a = this._getDialCode(n);
2284
+ a ? u = n.replace(a, i) : u = i, this.telInput.value = u;
2271
2285
  }
2272
2286
  }
2273
2287
  //* Try and extract a valid international dial code from a full telephone number.
2274
2288
  //* Note: returns the raw string inc plus character and any whitespace/dots etc.
2275
- _getDialCode(e, i) {
2276
- let s = "";
2289
+ _getDialCode(e, n) {
2290
+ let i = "";
2277
2291
  if (e.charAt(0) === "+") {
2278
2292
  let u = "";
2279
2293
  for (let a = 0; a < e.length; a++) {
2280
2294
  const c = e.charAt(a);
2281
2295
  if (!isNaN(parseInt(c, 10))) {
2282
- if (u += c, i)
2283
- this.dialCodeToIso2Map[u] && (s = e.substr(0, a + 1));
2296
+ if (u += c, n)
2297
+ this.dialCodeToIso2Map[u] && (i = e.substr(0, a + 1));
2284
2298
  else if (this.dialCodes[u]) {
2285
- s = e.substr(0, a + 1);
2299
+ i = e.substr(0, a + 1);
2286
2300
  break;
2287
2301
  }
2288
2302
  if (u.length === this.dialCodeMaxLen)
@@ -2290,27 +2304,27 @@ class F2 {
2290
2304
  }
2291
2305
  }
2292
2306
  }
2293
- return s;
2307
+ return i;
2294
2308
  }
2295
2309
  //* Get the input val, adding the dial code if separateDialCode is enabled.
2296
- _getFullNumber() {
2297
- const e = this.telInput.value.trim(), { dialCode: i } = this.selectedCountryData;
2298
- let s;
2299
- const u = c1(e);
2300
- return this.options.separateDialCode && e.charAt(0) !== "+" && i && u ? s = `+${i}` : s = "", s + e;
2310
+ _getFullNumber(e) {
2311
+ const n = e || this.telInput.value.trim(), { dialCode: i } = this.selectedCountryData;
2312
+ let u;
2313
+ const a = c1(n);
2314
+ return this.options.separateDialCode && n.charAt(0) !== "+" && i && a ? u = `+${i}` : u = "", u + n;
2301
2315
  }
2302
2316
  //* Remove the dial code if separateDialCode is enabled also cap the length if the input has a maxlength attribute
2303
2317
  _beforeSetNumber(e) {
2304
- let i = e;
2318
+ let n = e;
2305
2319
  if (this.options.separateDialCode) {
2306
- let s = this._getDialCode(i);
2307
- if (s) {
2308
- s = `+${this.selectedCountryData.dialCode}`;
2309
- const u = i[s.length] === " " || i[s.length] === "-" ? s.length + 1 : s.length;
2310
- i = i.substr(u);
2320
+ let i = this._getDialCode(n);
2321
+ if (i) {
2322
+ i = `+${this.selectedCountryData.dialCode}`;
2323
+ const u = n[i.length] === " " || n[i.length] === "-" ? i.length + 1 : i.length;
2324
+ n = n.substr(u);
2311
2325
  }
2312
2326
  }
2313
- return this._cap(i);
2327
+ return this._cap(n);
2314
2328
  }
2315
2329
  //* Trigger the 'countrychange' event.
2316
2330
  _triggerCountryChange() {
@@ -2318,8 +2332,8 @@ class F2 {
2318
2332
  }
2319
2333
  //* Format the number as the user types.
2320
2334
  _formatNumberAsYouType() {
2321
- const e = this._getFullNumber(), i = C.utils ? C.utils.formatNumberAsYouType(e, this.selectedCountryData.iso2) : e, { dialCode: s } = this.selectedCountryData;
2322
- return this.options.separateDialCode && this.telInput.value.charAt(0) !== "+" && i.includes(`+${s}`) ? (i.split(`+${s}`)[1] || "").trim() : i;
2335
+ const e = this._getFullNumber(), n = C.utils ? C.utils.formatNumberAsYouType(e, this.selectedCountryData.iso2) : e, { dialCode: i } = this.selectedCountryData;
2336
+ return this.options.separateDialCode && this.telInput.value.charAt(0) !== "+" && n.includes(`+${i}`) ? (n.split(`+${i}`)[1] || "").trim() : n;
2323
2337
  }
2324
2338
  //**************************
2325
2339
  //* SECRET PUBLIC METHODS
@@ -2338,7 +2352,7 @@ class F2 {
2338
2352
  //* Remove plugin.
2339
2353
  destroy() {
2340
2354
  var a, c;
2341
- const { allowDropdown: e, separateDialCode: i } = this.options;
2355
+ const { allowDropdown: e, separateDialCode: n } = this.options;
2342
2356
  if (e) {
2343
2357
  this._closeDropdown(), this.selectedCountry.removeEventListener(
2344
2358
  "click",
@@ -2350,8 +2364,8 @@ class F2 {
2350
2364
  const p = this.telInput.closest("label");
2351
2365
  p && p.removeEventListener("click", this._handleLabelClick);
2352
2366
  }
2353
- const { form: s } = this.telInput;
2354
- this._handleHiddenInputSubmit && s && s.removeEventListener("submit", this._handleHiddenInputSubmit), this.telInput.removeEventListener("input", this._handleInputEvent), this._handleKeydownEvent && this.telInput.removeEventListener("keydown", this._handleKeydownEvent), this.telInput.removeAttribute("data-intl-tel-input-id"), i && (this.isRTL ? this.telInput.style.paddingRight = this.originalPaddingRight : this.telInput.style.paddingLeft = this.originalPaddingLeft);
2367
+ const { form: i } = this.telInput;
2368
+ this._handleHiddenInputSubmit && i && i.removeEventListener("submit", this._handleHiddenInputSubmit), this.telInput.removeEventListener("input", this._handleInputEvent), this._handleKeydownEvent && this.telInput.removeEventListener("keydown", this._handleKeydownEvent), this.telInput.removeAttribute("data-intl-tel-input-id"), n && (this.isRTL ? this.telInput.style.paddingRight = this.originalPaddingRight : this.telInput.style.paddingLeft = this.originalPaddingLeft);
2355
2369
  const u = this.telInput.parentNode;
2356
2370
  (a = u == null ? void 0 : u.parentNode) == null || a.insertBefore(this.telInput, u), (c = u == null ? void 0 : u.parentNode) == null || c.removeChild(u), delete C.instances[this.id];
2357
2371
  }
@@ -2365,10 +2379,10 @@ class F2 {
2365
2379
  //* Format the number to the given format.
2366
2380
  getNumber(e) {
2367
2381
  if (C.utils) {
2368
- const { iso2: i } = this.selectedCountryData;
2382
+ const { iso2: n } = this.selectedCountryData;
2369
2383
  return C.utils.formatNumber(
2370
2384
  this._getFullNumber(),
2371
- i,
2385
+ n,
2372
2386
  e
2373
2387
  );
2374
2388
  }
@@ -2397,9 +2411,9 @@ class F2 {
2397
2411
  isValidNumber() {
2398
2412
  if (!this.selectedCountryData.iso2)
2399
2413
  return !1;
2400
- const e = this._getFullNumber(), i = e.search(new RegExp("\\p{L}", "u"));
2401
- if (i > -1) {
2402
- const s = e.substring(0, i), u = this._utilsIsPossibleNumber(s), a = this._utilsIsPossibleNumber(e);
2414
+ const e = this._getFullNumber(), n = e.search(new RegExp("\\p{L}", "u"));
2415
+ if (n > -1) {
2416
+ const i = e.substring(0, n), u = this._utilsIsPossibleNumber(i), a = this._utilsIsPossibleNumber(e);
2403
2417
  return u && a;
2404
2418
  }
2405
2419
  return this._utilsIsPossibleNumber(e);
@@ -2411,9 +2425,9 @@ class F2 {
2411
2425
  isValidNumberPrecise() {
2412
2426
  if (!this.selectedCountryData.iso2)
2413
2427
  return !1;
2414
- const e = this._getFullNumber(), i = e.search(new RegExp("\\p{L}", "u"));
2415
- if (i > -1) {
2416
- const s = e.substring(0, i), u = this._utilsIsValidNumber(s), a = this._utilsIsValidNumber(e);
2428
+ const e = this._getFullNumber(), n = e.search(new RegExp("\\p{L}", "u"));
2429
+ if (n > -1) {
2430
+ const i = e.substring(0, n), u = this._utilsIsValidNumber(i), a = this._utilsIsValidNumber(e);
2417
2431
  return u && a;
2418
2432
  }
2419
2433
  return this._utilsIsValidNumber(e);
@@ -2423,13 +2437,13 @@ class F2 {
2423
2437
  }
2424
2438
  //* Update the selected country, and update the input val accordingly.
2425
2439
  setCountry(e) {
2426
- const i = e == null ? void 0 : e.toLowerCase(), s = this.selectedCountryData.iso2;
2427
- (e && i !== s || !e && s) && (this._setCountry(i), this._updateDialCode(this.selectedCountryData.dialCode), this._triggerCountryChange());
2440
+ const n = e == null ? void 0 : e.toLowerCase(), i = this.selectedCountryData.iso2;
2441
+ (e && n !== i || !e && i) && (this._setCountry(n), this._updateDialCode(this.selectedCountryData.dialCode), this._triggerCountryChange());
2428
2442
  }
2429
2443
  //* Set the input value and update the country.
2430
2444
  setNumber(e) {
2431
- const i = this._updateCountryFromNumber(e);
2432
- this._updateValFromNumber(e), i && this._triggerCountryChange(), this._trigger("input", { isSetNumber: !0 });
2445
+ const n = this._updateCountryFromNumber(e);
2446
+ this._updateValFromNumber(e), n && this._triggerCountryChange(), this._trigger("input", { isSetNumber: !0 });
2433
2447
  }
2434
2448
  //* Set the placeholder number typ
2435
2449
  setPlaceholderNumberType(e) {
@@ -2439,23 +2453,23 @@ class F2 {
2439
2453
  this.telInput.disabled = e, e ? this.selectedCountry.setAttribute("disabled", "true") : this.selectedCountry.removeAttribute("disabled");
2440
2454
  }
2441
2455
  }
2442
- const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUtilsScript = !0, new Promise((e, i) => {
2456
+ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUtilsScript = !0, new Promise((e, n) => {
2443
2457
  import_INTENTIONALLY_BROKEN(
2444
2458
  /* webpackIgnore: true */
2445
2459
  /* @vite-ignore */
2446
2460
  y
2447
- ).then(({ default: s }) => {
2448
- C.utils = s, $1("handleUtils"), e(!0);
2461
+ ).then(({ default: i }) => {
2462
+ C.utils = i, $1("handleUtils"), e(!0);
2449
2463
  }).catch(() => {
2450
- $1("rejectUtilsScriptPromise"), i();
2464
+ $1("rejectUtilsScriptPromise"), n();
2451
2465
  });
2452
2466
  })) : null, C = Object.assign(
2453
2467
  (y, e) => {
2454
- const i = new F2(y, e);
2455
- return i._init(), y.setAttribute("data-intl-tel-input-id", i.id.toString()), C.instances[i.id] = i, i;
2468
+ const n = new U2(y, e);
2469
+ return n._init(), y.setAttribute("data-intl-tel-input-id", n.id.toString()), C.instances[n.id] = n, n;
2456
2470
  },
2457
2471
  {
2458
- defaults: r2,
2472
+ defaults: o2,
2459
2473
  //* Using a static var like this allows us to mock it in the tests.
2460
2474
  documentReady: () => document.readyState === "complete",
2461
2475
  //* Get the country data object.
@@ -2468,7 +2482,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
2468
2482
  //* A map from instance ID to instance object.
2469
2483
  instances: {},
2470
2484
  loadUtils: V2,
2471
- version: "24.4.0"
2485
+ version: "24.5.1"
2472
2486
  }
2473
2487
  );
2474
2488
  (function() {
@@ -2477,20 +2491,20 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
2477
2491
  d = d.split(".");
2478
2492
  var $ = y;
2479
2493
  d[0] in $ || typeof $.execScript > "u" || $.execScript("var " + d[0]);
2480
- for (var n; d.length && (n = d.shift()); ) d.length || t === void 0 ? $[n] && $[n] !== Object.prototype[n] ? $ = $[n] : $ = $[n] = {} : $[n] = t;
2494
+ for (var s; d.length && (s = d.shift()); ) d.length || t === void 0 ? $[s] && $[s] !== Object.prototype[s] ? $ = $[s] : $ = $[s] = {} : $[s] = t;
2481
2495
  }
2482
- function i(d, t) {
2496
+ function n(d, t) {
2483
2497
  function $() {
2484
2498
  }
2485
- $.prototype = t.prototype, d.ma = t.prototype, d.prototype = new $(), d.prototype.constructor = d, d.sa = function(n, r, o) {
2499
+ $.prototype = t.prototype, d.ma = t.prototype, d.prototype = new $(), d.prototype.constructor = d, d.sa = function(s, r, o) {
2486
2500
  for (var l = Array(arguments.length - 2), h = 2; h < arguments.length; h++) l[h - 2] = arguments[h];
2487
- return t.prototype[r].apply(n, l);
2501
+ return t.prototype[r].apply(s, l);
2488
2502
  };
2489
2503
  }
2490
- function s(d) {
2504
+ function i(d) {
2491
2505
  const t = [];
2492
2506
  let $ = 0;
2493
- for (const n in d) t[$++] = d[n];
2507
+ for (const s in d) t[$++] = d[s];
2494
2508
  return t;
2495
2509
  }
2496
2510
  var u = class {
@@ -2523,32 +2537,32 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
2523
2537
  }
2524
2538
  }
2525
2539
  new b();
2526
- const _ = {};
2527
- class A {
2540
+ const S = {};
2541
+ class _ {
2528
2542
  constructor() {
2529
2543
  var t = y.trustedTypes && y.trustedTypes.emptyHTML || "";
2530
- if (_ !== _) throw Error("SafeHtml is not meant to be built directly");
2544
+ if (S !== S) throw Error("SafeHtml is not meant to be built directly");
2531
2545
  this.g = t;
2532
2546
  }
2533
2547
  toString() {
2534
2548
  return this.g.toString();
2535
2549
  }
2536
2550
  }
2537
- new A();
2538
- function S(d, t) {
2551
+ new _();
2552
+ function N(d, t) {
2539
2553
  switch (this.g = d, this.l = !!t.aa, this.h = t.i, this.s = t.type, this.o = !1, this.h) {
2540
2554
  case P:
2541
2555
  case O:
2542
- case J:
2556
+ case Z:
2543
2557
  case f1:
2544
- case o2:
2545
- case T:
2558
+ case p1:
2559
+ case A:
2546
2560
  case I:
2547
2561
  this.o = !0;
2548
2562
  }
2549
2563
  this.j = t.defaultValue;
2550
2564
  }
2551
- var I = 1, T = 2, P = 3, O = 4, J = 6, f1 = 16, o2 = 18;
2565
+ var I = 1, A = 2, P = 3, O = 4, Z = 6, f1 = 16, p1 = 18;
2552
2566
  function u2(d, t) {
2553
2567
  for (this.h = d, this.g = {}, d = 0; d < t.length; d++) {
2554
2568
  var $ = t[d];
@@ -2556,7 +2570,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
2556
2570
  }
2557
2571
  }
2558
2572
  function l2(d) {
2559
- return d = s(d.g), d.sort(function(t, $) {
2573
+ return d = i(d.g), d.sort(function(t, $) {
2560
2574
  return t.g - $.g;
2561
2575
  }), d;
2562
2576
  }
@@ -2570,38 +2584,38 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
2570
2584
  }, x.prototype.set = function(d, t) {
2571
2585
  E(this, d.g, t);
2572
2586
  }, x.prototype.add = function(d, t) {
2573
- v1(this, d.g, t);
2587
+ S1(this, d.g, t);
2574
2588
  };
2575
- function I1(d, t) {
2576
- for (var $ = l2(d.m()), n = 0; n < $.length; n++) {
2577
- var r = $[n], o = r.g;
2589
+ function v1(d, t) {
2590
+ for (var $ = l2(d.m()), s = 0; s < $.length; s++) {
2591
+ var r = $[s], o = r.g;
2578
2592
  if (R(t, o)) {
2579
2593
  d.g && delete d.g[r.g];
2580
2594
  var l = r.h == 11 || r.h == 10;
2581
2595
  if (r.l) {
2582
2596
  r = M(t, o);
2583
- for (var h = 0; h < r.length; h++) v1(d, o, l ? r[h].clone() : r[h]);
2584
- } else r = i1(t, o), l ? (l = i1(d, o)) ? I1(l, r) : E(d, o, r.clone()) : E(d, o, r);
2597
+ for (var h = 0; h < r.length; h++) S1(d, o, l ? r[h].clone() : r[h]);
2598
+ } else r = n1(t, o), l ? (l = n1(d, o)) ? v1(l, r) : E(d, o, r.clone()) : E(d, o, r);
2585
2599
  }
2586
2600
  }
2587
2601
  }
2588
2602
  x.prototype.clone = function() {
2589
2603
  var d = new this.constructor();
2590
- return d != this && (d.h = {}, d.g && (d.g = {}), I1(d, this)), d;
2604
+ return d != this && (d.h = {}, d.g && (d.g = {}), v1(d, this)), d;
2591
2605
  };
2592
2606
  function R(d, t) {
2593
2607
  return d.h[t] != null;
2594
2608
  }
2595
- function i1(d, t) {
2609
+ function n1(d, t) {
2596
2610
  var $ = d.h[t];
2597
2611
  if ($ == null) return null;
2598
2612
  if (d.l) {
2599
2613
  if (!(t in d.g)) {
2600
- var n = d.l, r = d.j[t];
2614
+ var s = d.l, r = d.j[t];
2601
2615
  if ($ != null) if (r.l) {
2602
- for (var o = [], l = 0; l < $.length; l++) o[l] = n.h(r, $[l]);
2616
+ for (var o = [], l = 0; l < $.length; l++) o[l] = s.h(r, $[l]);
2603
2617
  $ = o;
2604
- } else $ = n.h(r, $);
2618
+ } else $ = s.h(r, $);
2605
2619
  return d.g[t] = $;
2606
2620
  }
2607
2621
  return d.g[t];
@@ -2609,8 +2623,8 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
2609
2623
  return $;
2610
2624
  }
2611
2625
  function f(d, t, $) {
2612
- var n = i1(d, t);
2613
- return d.j[t].l ? n[$ || 0] : n;
2626
+ var s = n1(d, t);
2627
+ return d.j[t].l ? s[$ || 0] : s;
2614
2628
  }
2615
2629
  function v(d, t) {
2616
2630
  if (R(d, t)) d = f(d, t);
@@ -2627,20 +2641,20 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
2627
2641
  return d;
2628
2642
  }
2629
2643
  function M(d, t) {
2630
- return i1(d, t) || [];
2644
+ return n1(d, t) || [];
2631
2645
  }
2632
- function F(d, t) {
2646
+ function U(d, t) {
2633
2647
  return d.j[t].l ? R(d, t) ? d.h[t].length : 0 : R(d, t) ? 1 : 0;
2634
2648
  }
2635
2649
  function E(d, t, $) {
2636
2650
  d.h[t] = $, d.g && (d.g[t] = $);
2637
2651
  }
2638
- function v1(d, t, $) {
2652
+ function S1(d, t, $) {
2639
2653
  d.h[t] || (d.h[t] = []), d.h[t].push($), d.g && delete d.g[t];
2640
2654
  }
2641
- function n1(d, t) {
2642
- var $ = [], n;
2643
- for (n in t) n != 0 && $.push(new S(n, t[n]));
2655
+ function i1(d, t) {
2656
+ var $ = [], s;
2657
+ for (s in t) s != 0 && $.push(new N(s, t[s]));
2644
2658
  return new u2(d, $);
2645
2659
  }
2646
2660
  function s1() {
@@ -2649,65 +2663,65 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
2649
2663
  throw new d.h(), Error("Unimplemented");
2650
2664
  }, s1.prototype.h = function(d, t) {
2651
2665
  if (d.h == 11 || d.h == 10) return t instanceof x ? t : this.g(d.s.prototype.m(), t);
2652
- if (d.h == 14) return typeof t == "string" && S1.test(t) && (d = Number(t), 0 < d) ? d : t;
2666
+ if (d.h == 14) return typeof t == "string" && w1.test(t) && (d = Number(t), 0 < d) ? d : t;
2653
2667
  if (!d.o) return t;
2654
2668
  if (d = d.s, d === String) {
2655
2669
  if (typeof t == "number") return String(t);
2656
- } else if (d === Number && typeof t == "string" && (t === "Infinity" || t === "-Infinity" || t === "NaN" || S1.test(t))) return Number(t);
2670
+ } else if (d === Number && typeof t == "string" && (t === "Infinity" || t === "-Infinity" || t === "NaN" || w1.test(t))) return Number(t);
2657
2671
  return t;
2658
2672
  };
2659
- var S1 = /^-?[0-9]+$/;
2660
- function p1() {
2673
+ var w1 = /^-?[0-9]+$/;
2674
+ function g1() {
2661
2675
  }
2662
- i(p1, s1), p1.prototype.g = function(d, t) {
2676
+ n(g1, s1), g1.prototype.g = function(d, t) {
2663
2677
  return d = new d.h(), d.l = this, d.h = t, d.g = {}, d;
2664
2678
  };
2665
2679
  function q() {
2666
2680
  }
2667
- i(q, p1), q.prototype.h = function(d, t) {
2681
+ n(q, g1), q.prototype.h = function(d, t) {
2668
2682
  return d.h == 8 ? !!t : s1.prototype.h.apply(this, arguments);
2669
2683
  }, q.prototype.g = function(d, t) {
2670
2684
  return q.ma.g.call(this, d, t);
2671
2685
  };
2672
- function L(d, t) {
2686
+ function T(d, t) {
2673
2687
  d != null && this.g.apply(this, arguments);
2674
2688
  }
2675
- L.prototype.h = "", L.prototype.set = function(d) {
2689
+ T.prototype.h = "", T.prototype.set = function(d) {
2676
2690
  this.h = "" + d;
2677
- }, L.prototype.g = function(d, t, $) {
2678
- if (this.h += String(d), t != null) for (let n = 1; n < arguments.length; n++) this.h += arguments[n];
2691
+ }, T.prototype.g = function(d, t, $) {
2692
+ if (this.h += String(d), t != null) for (let s = 1; s < arguments.length; s++) this.h += arguments[s];
2679
2693
  return this;
2680
2694
  };
2681
2695
  function B(d) {
2682
2696
  d.h = "";
2683
2697
  }
2684
- L.prototype.toString = function() {
2698
+ T.prototype.toString = function() {
2685
2699
  return this.h;
2686
2700
  };
2687
2701
  function j() {
2688
2702
  x.call(this);
2689
2703
  }
2690
- i(j, x);
2691
- var w1 = null;
2704
+ n(j, x);
2705
+ var b1 = null;
2692
2706
  function w() {
2693
2707
  x.call(this);
2694
2708
  }
2695
- i(w, x);
2696
- var b1 = null;
2709
+ n(w, x);
2710
+ var N1 = null;
2697
2711
  function W() {
2698
2712
  x.call(this);
2699
2713
  }
2700
- i(W, x);
2714
+ n(W, x);
2701
2715
  var A1 = null;
2702
2716
  j.prototype.m = function() {
2703
- var d = w1;
2704
- return d || (w1 = d = n1(j, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: !0, i: 9, type: String }, 2: { name: "format", required: !0, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: !0, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: !1, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } })), d;
2705
- }, j.m = j.prototype.m, w.prototype.m = function() {
2706
2717
  var d = b1;
2707
- return d || (b1 = d = n1(w, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: !0, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: !0, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } })), d;
2718
+ return d || (b1 = d = i1(j, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: !0, i: 9, type: String }, 2: { name: "format", required: !0, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: !0, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: !1, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } })), d;
2719
+ }, j.m = j.prototype.m, w.prototype.m = function() {
2720
+ var d = N1;
2721
+ return d || (N1 = d = i1(w, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: !0, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: !0, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } })), d;
2708
2722
  }, w.m = w.prototype.m, W.prototype.m = function() {
2709
2723
  var d = A1;
2710
- return d || (A1 = d = n1(W, {
2724
+ return d || (A1 = d = i1(W, {
2711
2725
  0: { name: "PhoneMetadata", ia: "i18n.phonenumbers.PhoneMetadata" },
2712
2726
  1: { name: "general_desc", i: 11, type: w },
2713
2727
  2: { name: "fixed_line", i: 11, type: w },
@@ -2748,11 +2762,11 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
2748
2762
  function V() {
2749
2763
  x.call(this);
2750
2764
  }
2751
- i(V, x);
2765
+ n(V, x);
2752
2766
  var T1 = null, a2 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
2753
2767
  V.prototype.m = function() {
2754
2768
  var d = T1;
2755
- return d || (T1 = d = n1(V, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: !0, i: 5, type: Number }, 2: { name: "national_number", required: !0, i: 4, type: Number }, 3: { name: "extension", i: 9, type: String }, 4: { name: "italian_leading_zero", i: 8, type: Boolean }, 8: { name: "number_of_leading_zeros", i: 5, defaultValue: 1, type: Number }, 5: { name: "raw_input", i: 9, type: String }, 6: { name: "country_code_source", i: 14, defaultValue: 0, type: a2 }, 7: {
2769
+ return d || (T1 = d = i1(V, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: !0, i: 5, type: Number }, 2: { name: "national_number", required: !0, i: 4, type: Number }, 3: { name: "extension", i: 9, type: String }, 4: { name: "italian_leading_zero", i: 8, type: Boolean }, 8: { name: "number_of_leading_zeros", i: 5, defaultValue: 1, type: Number }, 5: { name: "raw_input", i: 9, type: String }, 6: { name: "country_code_source", i: 14, defaultValue: 0, type: a2 }, 7: {
2756
2770
  name: "preferred_domestic_carrier_code",
2757
2771
  i: 9,
2758
2772
  type: String
@@ -3182,7 +3196,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
3182
3196
  [
3183
3197
  ,
3184
3198
  ,
3185
- "3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",
3199
+ "3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",
3186
3200
  ,
3187
3201
  ,
3188
3202
  ,
@@ -3195,7 +3209,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
3195
3209
  [
3196
3210
  ,
3197
3211
  ,
3198
- "93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",
3212
+ "93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",
3199
3213
  ,
3200
3214
  ,
3201
3215
  ,
@@ -4046,7 +4060,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4046
4060
  "$1 $2",
4047
4061
  ["9"]
4048
4062
  ], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", "$CC $1", 1], [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", "$CC $1", 1], [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"], , "$CC $1"], [, "(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", , 1]], [, , , , , , , , , [-1]], , , [, , "(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}", , , , , , , [10, 11, 12]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4049
- CO: [, [, , "(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}", , , , , , , [10, 11], [7]], [
4063
+ CO: [, [, , "60\\d{8}|(?:1\\d|[39])\\d{9}", , , , , , , [10, 11], [7]], [
4050
4064
  ,
4051
4065
  ,
4052
4066
  "601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60(?:[124-7][2-9]|8[1-9])\\d{6}",
@@ -4058,14 +4072,14 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4058
4072
  ,
4059
4073
  [10],
4060
4074
  [7]
4061
- ], [, , "333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}", , , , "3211234567", , , [10]], [, , "1800\\d{7}", , , , "18001234567", , , [11]], [, , "19(?:0[01]|4[78])\\d{7}", , , , "19001234567", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CO", 57, "00(?:4(?:[14]4|56)|[579])", "0", , , "0([3579]|4(?:[14]4|56))?", , , , [[, "(\\d{3})(\\d{7})", "$1 $2", ["6"], "($1)", "0$CC $1"], [
4075
+ ], [, , "333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}", , , , "3211234567", , , [10]], [, , "1800\\d{7}", , , , "18001234567", , , [11]], [, , "(?:19(?:0[01]|4[78])|901)\\d{7}", , , , "19001234567"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CO", 57, "00(?:4(?:[14]4|56)|[579])", "0", , , "0([3579]|4(?:[14]4|56))?", , , , [[, "(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)", "0$CC $1"], [
4062
4076
  ,
4063
4077
  "(\\d{3})(\\d{7})",
4064
4078
  "$1 $2",
4065
4079
  ["3[0-357]|91"],
4066
4080
  ,
4067
4081
  "0$CC $1"
4068
- ], [, "(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1"]], [[, "(\\d{3})(\\d{7})", "$1 $2", ["6"], "($1)", "0$CC $1"], [, "(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"], , "0$CC $1"], [, "(\\d)(\\d{3})(\\d{7})", "$1 $2 $3", ["1"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4082
+ ], [, "(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1"]], [[, "(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)", "0$CC $1"], [, "(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"], , "0$CC $1"], [, "(\\d)(\\d{3})(\\d{7})", "$1 $2 $3", ["1"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4069
4083
  CR: [, [, , "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", , , , , , , [8, 10]], [, , "210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}", , , , "22123456", , , [8]], [
4070
4084
  ,
4071
4085
  ,
@@ -4097,7 +4111,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4097
4111
  ["8"],
4098
4112
  "0$1"
4099
4113
  ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4100
- CV: [, [, , "(?:[2-59]\\d\\d|800)\\d{4}", , , , , , , [7]], [, , "2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}", , , , "2211234"], [, , "(?:36|5[1-389]|9\\d)\\d{5}", , , , "9911234"], [, , "800\\d{4}", , , , "8001234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[3-5]|4[356])\\d{5}", , , , "3401234"], "CV", 238, "0", , , , , , , , [[, "(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [
4114
+ CV: [, [, , "(?:[2-59]\\d\\d|800)\\d{4}", , , , , , , [7]], [, , "2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}", , , , "2211234"], [, , "(?:36|5[1-389]|9\\d)\\d{5}", , , , "9911234"], [, , "800\\d{4}", , , , "8001234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[3-5]|4[356])\\d{5}", , , , "3401234"], "CV", 238, "0", , , , , , , , [[, "(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [
4101
4115
  ,
4102
4116
  ,
4103
4117
  ,
@@ -4108,7 +4122,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4108
4122
  ,
4109
4123
  ,
4110
4124
  [-1]
4111
- ]],
4125
+ ], , , [, , , , , , , , , [-1]]],
4112
4126
  CW: [, [, , "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", , , , , , , [7, 8]], [, , "9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}", , , , "94351234"], [, , "953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}", , , , "95181234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "60[0-2]\\d{4}", , , , "6001234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CW", 599, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], [, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], , [
4113
4127
  ,
4114
4128
  ,
@@ -4121,27 +4135,27 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4121
4135
  ,
4122
4136
  [8]
4123
4137
  ], 1, "[69]", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4124
- CX: [, [, , "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", , , , , , , [6, 7, 8, 9, 10, 12]], [, , "8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", , , , "891641234", , , [9], [8]], [, , "4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", , , , "412345678", , , [9]], [
4138
+ CX: [, [, , "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", , , , , , , [6, 7, 8, 9, 10, 12]], [, , "8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", , , , "891641234", , , [9], [8]], [
4125
4139
  ,
4126
4140
  ,
4127
- "180(?:0\\d{3}|2)\\d{3}",
4141
+ "4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",
4128
4142
  ,
4129
4143
  ,
4130
4144
  ,
4131
- "1800123456",
4145
+ "412345678",
4132
4146
  ,
4133
4147
  ,
4134
- [7, 10]
4135
- ], [, , "190[0-26]\\d{6}", , , , "1900123456", , , [10]], [, , "13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", , , , "1300123456", , , [6, 8, 10, 12]], [, , , , , , , , , [-1]], [, , "14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", , , , "147101234", , , [9]], "CX", 61, "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "0", , , "([59]\\d{7})$|0", "8$1", "0011", , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4136
- CY: [, [, , "(?:[279]\\d|[58]0)\\d{6}", , , , , , , [8]], [, , "2[2-6]\\d{6}", , , , "22345678"], [
4148
+ [9]
4149
+ ], [, , "180(?:0\\d{3}|2)\\d{3}", , , , "1800123456", , , [7, 10]], [, , "190[0-26]\\d{6}", , , , "1900123456", , , [10]], [, , "13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", , , , "1300123456", , , [6, 8, 10, 12]], [, , , , , , , , , [-1]], [, , "14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", , , , "147101234", , , [9]], "CX", 61, "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "0", , , "([59]\\d{7})$|0", "8$1", "0011", , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4150
+ CY: [, [, , "(?:[279]\\d|[58]0)\\d{6}", , , , , , , [8]], [
4137
4151
  ,
4138
4152
  ,
4139
- "9(?:10|[4-79]\\d)\\d{5}",
4153
+ "2[2-6]\\d{6}",
4140
4154
  ,
4141
4155
  ,
4142
4156
  ,
4143
- "96123456"
4144
- ], [, , "800\\d{5}", , , , "80001234"], [, , "90[09]\\d{5}", , , , "90012345"], [, , "80[1-9]\\d{5}", , , , "80112345"], [, , "700\\d{5}", , , , "70012345"], [, , , , , , , , , [-1]], "CY", 357, "00", , , , , , , , [[, "(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "(?:50|77)\\d{6}", , , , "77123456"], , , [, , , , , , , , , [-1]]],
4157
+ "22345678"
4158
+ ], [, , "9(?:10|[4-79]\\d)\\d{5}", , , , "96123456"], [, , "800\\d{5}", , , , "80001234"], [, , "90[09]\\d{5}", , , , "90012345"], [, , "80[1-9]\\d{5}", , , , "80112345"], [, , "700\\d{5}", , , , "70012345"], [, , , , , , , , , [-1]], "CY", 357, "00", , , , , , , , [[, "(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "(?:50|77)\\d{6}", , , , "77123456"], , , [, , , , , , , , , [-1]]],
4145
4159
  CZ: [
4146
4160
  ,
4147
4161
  [, , "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", , , , , , , [9, 10, 11, 12]],
@@ -4149,7 +4163,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4149
4163
  [
4150
4164
  ,
4151
4165
  ,
4152
- "(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|190|[2379]\\d\\d))\\d{5}",
4166
+ "(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[01]|[2379]\\d\\d))\\d{5}",
4153
4167
  ,
4154
4168
  ,
4155
4169
  ,
@@ -4450,7 +4464,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4450
4464
  ET: [, [, , "(?:11|[2-579]\\d)\\d{7}", , , , , , , [9], [7]], [
4451
4465
  ,
4452
4466
  ,
4453
- "11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",
4467
+ "11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8]|7\\d)|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",
4454
4468
  ,
4455
4469
  ,
4456
4470
  ,
@@ -4860,59 +4874,40 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4860
4874
  ,
4861
4875
  "2201234"
4862
4876
  ], [, , "510\\d{4}|(?:6\\d|7[0-5])\\d{5}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4863
- HK: [
4877
+ HK: [, [, , "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", , , , , , , [5, 6, 7, 8, 9, 11]], [
4864
4878
  ,
4865
- [, , "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", , , , , , , [5, 6, 7, 8, 9, 11]],
4866
- [
4867
- ,
4868
- ,
4869
- "(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",
4870
- ,
4871
- ,
4872
- ,
4873
- "21234567",
4874
- ,
4875
- ,
4876
- [8]
4877
- ],
4878
- [, , "(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|848[0-35-9]|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|70)|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-39]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}", , , , "51234567", , , [8]],
4879
- [, , "800\\d{6}", , , , "800123456", , , [9]],
4880
- [, , "900(?:[0-24-9]\\d{7}|3\\d{1,4})", , , , "90012345678", , , [5, 6, 7, 8, 11]],
4881
- [, , , , , , , , , [-1]],
4882
- [, , "8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}", , , , "81123456", , , [8]],
4883
- [, , , , , , , , , [-1]],
4884
- "HK",
4885
- 852,
4886
- "00(?:30|5[09]|[126-9]?)",
4887
4879
  ,
4880
+ "(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",
4888
4881
  ,
4889
4882
  ,
4890
4883
  ,
4884
+ "21234567",
4891
4885
  ,
4892
- "00",
4893
4886
  ,
4894
- [[, "(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], [, "(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]],
4887
+ [8]
4888
+ ], [, , "(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4])|74[0-2])|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|70)|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-39]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}", , , , "51234567", , , [8]], [, , "800\\d{6}", , , , "800123456", , , [9]], [
4895
4889
  ,
4896
- [
4897
- ,
4898
- ,
4899
- "7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",
4900
- ,
4901
- ,
4902
- ,
4903
- "71123456",
4904
- ,
4905
- ,
4906
- [8]
4907
- ],
4908
4890
  ,
4891
+ "900(?:[0-24-9]\\d{7}|3\\d{1,4})",
4909
4892
  ,
4910
- [, , , , , , , , , [-1]],
4911
- [, , "30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}", , , , "30161234", , , [8]],
4912
4893
  ,
4913
4894
  ,
4914
- [, , , , , , , , , [-1]]
4915
- ],
4895
+ "90012345678",
4896
+ ,
4897
+ ,
4898
+ [5, 6, 7, 8, 11]
4899
+ ], [, , , , , , , , , [-1]], [, , "8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}", , , , "81123456", , , [8]], [, , , , , , , , , [-1]], "HK", 852, "00(?:30|5[09]|[126-9]?)", , , , , , "00", , [[, "(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], [, "(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], , [
4900
+ ,
4901
+ ,
4902
+ "7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",
4903
+ ,
4904
+ ,
4905
+ ,
4906
+ "71123456",
4907
+ ,
4908
+ ,
4909
+ [8]
4910
+ ], , , [, , , , , , , , , [-1]], [, , "30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}", , , , "30161234", , , [8]], , , [, , , , , , , , , [-1]]],
4916
4911
  HN: [, [, , "8\\d{10}|[237-9]\\d{7}", , , , , , , [8, 11]], [
4917
4912
  ,
4918
4913
  ,
@@ -4965,14 +4960,14 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4965
4960
  ID: [, [
4966
4961
  ,
4967
4962
  ,
4968
- "(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",
4963
+ "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",
4969
4964
  ,
4970
4965
  ,
4971
4966
  ,
4972
4967
  ,
4973
4968
  ,
4974
4969
  ,
4975
- [7, 8, 9, 10, 11, 12, 13],
4970
+ [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17],
4976
4971
  [5, 6]
4977
4972
  ], [
4978
4973
  ,
@@ -4986,19 +4981,19 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
4986
4981
  ,
4987
4982
  [7, 8, 9, 10, 11],
4988
4983
  [5, 6]
4989
- ], [, , "8[1-35-9]\\d{7,10}", , , , "812345678", , , [9, 10, 11, 12]], [, , "00[17]803\\d{7}|(?:177\\d|800)\\d{5,7}|001803\\d{6}", , , , "8001234567", , , [8, 9, 10, 11, 12, 13]], [, , "809\\d{7}", , , , "8091234567", , , [10]], [, , "804\\d{7}", , , , "8041234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ID", 62, "00[89]", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], [, "(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], [, "(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], [
4984
+ ], [, , "8[1-35-9]\\d{7,10}", , , , "812345678", , , [9, 10, 11, 12]], [, , "00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}", , , , "8001234567", , , [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]], [, , "809\\d{7}", , , , "8091234567", , , [10]], [, , "804\\d{7}", , , , "8041234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ID", 62, "00[89]", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], [, "(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], [, "(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], [
4990
4985
  ,
4991
4986
  "(\\d{3})(\\d{5,8})",
4992
4987
  "$1 $2",
4993
4988
  ["[2-79]"],
4994
4989
  "(0$1)"
4995
- ], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["001"]], [, "(\\d{2})(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]]], [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], [
4990
+ ], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3 $4", ["001"]], [, "(\\d{2})(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]]], [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], [
4996
4991
  ,
4997
4992
  "(\\d{2})(\\d{5,9})",
4998
4993
  "$1 $2",
4999
4994
  ["2[124]|[36]1"],
5000
4995
  "(0$1)"
5001
- ], [, "(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], [, "(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], [, , , , , , , , , [-1]], , , [, , "001803\\d{6,7}|(?:007803\\d|8071)\\d{6}", , , , , , , [10, 12, 13]], [
4996
+ ], [, "(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], [, "(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], [, , , , , , , , , [-1]], , , [, , "001803\\d{5,11}|(?:007803\\d|8071)\\d{6}", , , , , , , [10, 11, 12, 13, 14, 15, 16, 17]], [
5002
4997
  ,
5003
4998
  ,
5004
4999
  "(?:1500|8071\\d{3})\\d{3}",
@@ -5010,37 +5005,32 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
5010
5005
  ,
5011
5006
  [7, 10]
5012
5007
  ], , , [, , , , , , , , , [-1]]],
5013
- IE: [, [, , "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", , , , , , , [7, 8, 9, 10], [5, 6]], [, , "(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}", , , , "2212345", , , , [5, 6]], [, , "8(?:22|[35-9]\\d)\\d{6}", , , , "850123456", , , [9]], [, , "1800\\d{6}", , , , "1800123456", , , [10]], [, , "15(?:1[2-8]|[2-8]0|9[089])\\d{6}", , , , "1520123456", , , [10]], [
5008
+ IE: [, [, , "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", , , , , , , [7, 8, 9, 10], [5, 6]], [, , "(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}", , , , "2212345", , , , [5, 6]], [, , "8(?:22|[35-9]\\d)\\d{6}", , , , "850123456", , , [9]], [, , "1800\\d{6}", , , , "1800123456", , , [10]], [
5014
5009
  ,
5015
5010
  ,
5016
- "18[59]0\\d{6}",
5011
+ "15(?:1[2-8]|[2-8]0|9[089])\\d{6}",
5017
5012
  ,
5018
5013
  ,
5019
5014
  ,
5020
- "1850123456",
5015
+ "1520123456",
5021
5016
  ,
5022
5017
  ,
5023
5018
  [10]
5024
- ], [, , "700\\d{6}", , , , "700123456", , , [9]], [, , "76\\d{7}", , , , "761234567", , , [9]], "IE", 353, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], [, "(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], [, "(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], [
5019
+ ], [, , "18[59]0\\d{6}", , , , "1850123456", , , [10]], [, , "700\\d{6}", , , , "700123456", , , [9]], [, , "76\\d{7}", , , , "761234567", , , [9]], "IE", 353, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], [, "(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], [, "(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], [
5025
5020
  ,
5026
- "(\\d{2})(\\d{3})(\\d{4})",
5021
+ "(\\d{3})(\\d{3})(\\d{3})",
5027
5022
  "$1 $2 $3",
5028
- ["[78]"],
5029
- "0$1"
5030
- ], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], [, "(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , "18[59]0\\d{6}", , , , , , , [10]], [, , "818\\d{6}", , , , "818123456", , , [9]], , , [, , "88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}", , , , "8551234567", , , [10]]],
5031
- IL: [, [, , "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", , , , , , , [7, 8, 9, 10, 11, 12]], [
5032
- ,
5033
- ,
5034
- "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",
5035
- ,
5036
- ,
5037
- ,
5038
- "21234567",
5039
- ,
5040
- ,
5041
- [8, 11, 12],
5042
- [7]
5043
- ], [, , "55(?:410|57[0-289])\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", , , , "502345678", , , [9]], [, , "1(?:255|80[019]\\d{3})\\d{3}", , , , "1800123456", , , [7, 10]], [, , "1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", , , , "1919123456", , , [8, 10]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [
5023
+ ["81"],
5024
+ "(0$1)"
5025
+ ], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], [, "(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , "18[59]0\\d{6}", , , , , , , [10]], [, , "818\\d{6}", , , , "818123456", , , [9]], , , [, , "88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}", , , , "8551234567", , , [10]]],
5026
+ IL: [, [, , "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", , , , , , , [
5027
+ 7,
5028
+ 8,
5029
+ 9,
5030
+ 10,
5031
+ 11,
5032
+ 12
5033
+ ]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:410|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", , , , "502345678", , , [9]], [, , "1(?:255|80[019]\\d{3})\\d{3}", , , , "1800123456", , , [7, 10]], [, , "1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", , , , "1919123456", , , [8, 10]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [
5044
5034
  ,
5045
5035
  ,
5046
5036
  "7(?:38(?:0\\d|5[0-2569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",
@@ -6150,7 +6140,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
6150
6140
  MX: [, [, , "[2-9]\\d{9}", , , , , , , [10], [7, 8]], [
6151
6141
  ,
6152
6142
  ,
6153
- "657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",
6143
+ "657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}",
6154
6144
  ,
6155
6145
  ,
6156
6146
  ,
@@ -6159,7 +6149,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
6159
6149
  ,
6160
6150
  ,
6161
6151
  [7, 8]
6162
- ], [, , "657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}", , , , "2221234567", , , , [7, 8]], [
6152
+ ], [, , "657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}", , , , "2221234567", , , , [7, 8]], [
6163
6153
  ,
6164
6154
  ,
6165
6155
  "8(?:00|88)\\d{7}",
@@ -6421,7 +6411,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
6421
6411
  NZ: [
6422
6412
  ,
6423
6413
  [, , "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", , , , , , , [5, 6, 7, 8, 9, 10]],
6424
- [, , "24099\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}", , , , "32345678", , , [8], [7]],
6414
+ [, , "240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}", , , , "32345678", , , [8], [7]],
6425
6415
  [, , "2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}", , , , "211234567", , , [8, 9, 10]],
6426
6416
  [, , "508\\d{6,7}|80\\d{6,8}", , , , "800123456", , , [8, 9, 10]],
6427
6417
  [, , "(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}", , , , "900123456", , , [7, 8, 9, 10]],
@@ -6469,7 +6459,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
6469
6459
  PA: [, [, , "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", , , , , , , [7, 8, 10, 11]], [
6470
6460
  ,
6471
6461
  ,
6472
- "(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",
6462
+ "(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[07-9]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",
6473
6463
  ,
6474
6464
  ,
6475
6465
  ,
@@ -6490,7 +6480,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
6490
6480
  ,
6491
6481
  [8, 9],
6492
6482
  [6, 7]
6493
- ], [, , "(?:(?:4[34]|5[14])[0-8]\\d|7(?:173|3[0-8]\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}", , , , "11234567", , , [8], [6, 7]], [, , "9\\d{8}", , , , "912345678", , , [9]], [, , "800\\d{5}", , , , "80012345", , , [8]], [, , "805\\d{5}", , , , "80512345", , , [8]], [, , "801\\d{5}", , , , "80112345", , , [8]], [, , "80[24]\\d{5}", , , , "80212345", , , [8]], [, , , , , , , , , [-1]], "PE", 51, "00|19(?:1[124]|77|90)00", "0", " Anexo ", , "0", , "00", , [[
6483
+ ], [, , "(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}", , , , "11234567", , , [8], [6, 7]], [, , "9\\d{8}", , , , "912345678", , , [9]], [, , "800\\d{5}", , , , "80012345", , , [8]], [, , "805\\d{5}", , , , "80512345", , , [8]], [, , "801\\d{5}", , , , "80112345", , , [8]], [, , "80[24]\\d{5}", , , , "80212345", , , [8]], [, , , , , , , , , [-1]], "PE", 51, "00|19(?:1[124]|77|90)00", "0", " Anexo ", , "0", , "00", , [[
6494
6484
  ,
6495
6485
  "(\\d{3})(\\d{5})",
6496
6486
  "$1 $2",
@@ -6943,13 +6933,12 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
6943
6933
  ,
6944
6934
  ,
6945
6935
  [8]
6946
- ], [, , "8(?:09[0-689]|95[0-2])\\d{4}|(?:8(?:0[1-8]|[1-8]\\d|9[0-4])|9[0-8]\\d)\\d{5}", , , , "81234567", , , [8]], [, , "(?:18|8)00\\d{7}", , , , "18001234567", , , [10, 11]], [, , "1900\\d{7}", , , , "19001234567", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[12]\\d|666)\\d{5}", , , , "31234567", , , [8]], "SG", 65, "0[0-3]\\d", , , , , , , , [
6947
- [, "(\\d{4,5})", "$1", ["1[013-9]|77", "1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]],
6948
- [, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]],
6949
- [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]],
6950
- [, "(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]],
6951
- [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]
6952
- ], [[, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [, "(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "7000\\d{7}", , , , "70001234567", , , [11]], , , [, , , , , , , , , [-1]]],
6936
+ ], [, , "(?:8(?:0(?:[1-8]\\d|9[0-689])|[1-8]\\d\\d|9(?:[0-4]\\d|5[0-3]|62))|9[0-8]\\d\\d)\\d{4}", , , , "81234567", , , [8]], [, , "(?:18|8)00\\d{7}", , , , "18001234567", , , [10, 11]], [, , "1900\\d{7}", , , , "19001234567", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[12]\\d|666)\\d{5}", , , , "31234567", , , [8]], "SG", 65, "0[0-3]\\d", , , , , , , , [[, "(\\d{4,5})", "$1", ["1[013-9]|77", "1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [
6937
+ ,
6938
+ "(\\d{3})(\\d{3})(\\d{4})",
6939
+ "$1 $2 $3",
6940
+ ["8"]
6941
+ ], [, "(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]], [[, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [, "(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "7000\\d{7}", , , , "70001234567", , , [11]], , , [, , , , , , , , , [-1]]],
6953
6942
  SH: [, [, , "(?:[256]\\d|8)\\d{3}", , , , , , , [4, 5]], [, , "2(?:[0-57-9]\\d|6[4-9])\\d\\d", , , , "22158"], [
6954
6943
  ,
6955
6944
  ,
@@ -6962,37 +6951,26 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
6962
6951
  ,
6963
6952
  [5]
6964
6953
  ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "262\\d\\d", , , , "26212", , , [5]], "SH", 290, "00", , , , , , , , , , [, , , , , , , , , [-1]], 1, "[256]", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
6965
- SI: [
6954
+ SI: [, [, , "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", , , , , , , [5, 6, 7, 8]], [, , "(?:[1-357][2-8]|4[24-8])\\d{6}", , , , "12345678", , , [8], [7]], [, , "65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}", , , , "31234567", , , [8]], [, , "80\\d{4,6}", , , , "80123456", , , [6, 7, 8]], [
6966
6955
  ,
6967
- [, , "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", , , , , , , [5, 6, 7, 8]],
6968
- [, , "(?:[1-357][2-8]|4[24-8])\\d{6}", , , , "12345678", , , [8], [7]],
6969
- [, , "65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}", , , , "31234567", , , [8]],
6970
- [, , "80\\d{4,6}", , , , "80123456", , , [6, 7, 8]],
6971
- [, , "89[1-3]\\d{2,5}|90\\d{4,6}", , , , "90123456"],
6972
- [, , , , , , , , , [-1]],
6973
- [, , , , , , , , , [-1]],
6974
- [, , "(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}", , , , "59012345", , , [8]],
6975
- "SI",
6976
- 386,
6977
- "00|10(?:22|66|88|99)",
6978
- "0",
6979
6956
  ,
6957
+ "89[1-3]\\d{2,5}|90\\d{4,6}",
6980
6958
  ,
6981
- "0",
6982
6959
  ,
6983
- "00",
6984
6960
  ,
6985
- [[, "(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], [, "(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], [, "(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]],
6961
+ "90123456"
6962
+ ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}", , , , "59012345", , , [8]], "SI", 386, "00|10(?:22|66|88|99)", "0", , , "0", , "00", , [[, "(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], [, "(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], [, "(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [
6986
6963
  ,
6987
- [, , , , , , , , , [-1]],
6988
6964
  ,
6989
6965
  ,
6990
- [, , , , , , , , , [-1]],
6991
- [, , , , , , , , , [-1]],
6992
6966
  ,
6993
6967
  ,
6994
- [, , , , , , , , , [-1]]
6995
- ],
6968
+ ,
6969
+ ,
6970
+ ,
6971
+ ,
6972
+ [-1]
6973
+ ]],
6996
6974
  SJ: [, [, , "0\\d{4}|(?:[489]\\d|79)\\d{6}", , , , , , , [5, 8]], [, , "79\\d{6}", , , , "79123456", , , [8]], [, , "(?:4[015-8]|9\\d)\\d{6}", , , , "41234567", , , [8]], [, , "80[01]\\d{5}", , , , "80012345", , , [8]], [, , "82[09]\\d{5}", , , , "82012345", , , [8]], [, , "810(?:0[0-6]|[2-8]\\d)\\d{3}", , , , "81021234", , , [8]], [, , "880\\d{5}", , , , "88012345", , , [8]], [, , "85[0-5]\\d{5}", , , , "85012345", , , [8]], "SJ", 47, "00", , , , , , , , , , [, , , , , , , , , [-1]], , "79", [, , , , , , , , , [-1]], [, , "(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}", , , , "02000"], , , [
6997
6975
  ,
6998
6976
  ,
@@ -7005,40 +6983,24 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
7005
6983
  ,
7006
6984
  [8]
7007
6985
  ]],
7008
- SK: [
6986
+ SK: [, [, , "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", , , , , , , [6, 7, 9]], [, , "(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d", , , , "221234567"], [, , "909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}", , , , "912123456", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "9(?:00|[78]\\d)\\d{6}", , , , "900123456", , , [9]], [, , "8[5-9]\\d{7}", , , , "850123456", , , [9]], [, , , , , , , , , [-1]], [
7009
6987
  ,
7010
- [, , "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", , , , , , , [6, 7, 9]],
7011
- [, , "(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d", , , , "221234567"],
7012
- [, , "909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}", , , , "912123456", , , [9]],
7013
- [, , "800\\d{6}", , , , "800123456", , , [9]],
7014
- [, , "9(?:00|[78]\\d)\\d{6}", , , , "900123456", , , [9]],
7015
- [, , "8[5-9]\\d{7}", , , , "850123456", , , [9]],
7016
- [, , , , , , , , , [-1]],
7017
- [, , "6(?:02|5[0-4]|9[0-6])\\d{6}", , , , "690123456", , , [9]],
7018
- "SK",
7019
- 421,
7020
- "00",
7021
- "0",
7022
6988
  ,
7023
- ,
7024
- "0",
6989
+ "6(?:02|5[0-4]|9[0-6])\\d{6}",
7025
6990
  ,
7026
6991
  ,
7027
6992
  ,
7028
- [[, "(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], [, "(\\d{4})(\\d{3})", "$1 $2", ["909", "9090"], "0$1"], [, "(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]],
7029
- [[, "(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", [
7030
- "[3-5][1-8]1",
7031
- "[3-5][1-8]1[67]"
7032
- ], "0$1"], [, "(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]],
7033
- [, , "9090\\d{3}", , , , "9090123", , , [7]],
6993
+ "690123456",
7034
6994
  ,
7035
6995
  ,
7036
- [, , "9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}", , , , , , , [7, 9]],
7037
- [, , "96\\d{7}", , , , "961234567", , , [9]],
7038
- ,
6996
+ [9]
6997
+ ], "SK", 421, "00", "0", , , "0", , , , [[, "(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], [, "(\\d{4})(\\d{3})", "$1 $2", ["909", "9090"], "0$1"], [, "(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], [[, "(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], [
7039
6998
  ,
7040
- [, , , , , , , , , [-1]]
7041
- ],
6999
+ "(\\d{2})(\\d{2})(\\d{2,3})",
7000
+ "$1 $2 $3",
7001
+ ["[3-5][1-8]1", "[3-5][1-8]1[67]"],
7002
+ "0$1"
7003
+ ], [, "(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], [, , "9090\\d{3}", , , , "9090123", , , [7]], , , [, , "9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}", , , , , , , [7, 9]], [, , "96\\d{7}", , , , "961234567", , , [9]], , , [, , , , , , , , , [-1]]],
7042
7004
  SL: [, [, , "(?:[237-9]\\d|66)\\d{6}", , , , , , , [8], [6]], [, , "22[2-4][2-9]\\d{4}", , , , "22221234", , , , [6]], [
7043
7005
  ,
7044
7006
  ,
@@ -7063,7 +7025,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
7063
7025
  SN: [, [, , "(?:[378]\\d|93)\\d{7}", , , , , , , [9]], [, , "3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}", , , , "301012345"], [
7064
7026
  ,
7065
7027
  ,
7066
- "7(?:(?:[06-8]\\d|21|90)\\d|5(?:0[01]|[19]0|2[25]|[38]3|[4-7]\\d))\\d{5}",
7028
+ "7(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|[38]3|[4-7]\\d))\\d{5}",
7067
7029
  ,
7068
7030
  ,
7069
7031
  ,
@@ -7521,10 +7483,10 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
7521
7483
  ,
7522
7484
  [-1]
7523
7485
  ]],
7524
- UZ: [, [, , "(?:20|33|[5-79]\\d|88)\\d{7}", , , , , , , [9]], [, , "(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d\\d|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|[68]\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}", , , , "669050123"], [
7486
+ UZ: [, [, , "(?:20|33|[5-79]\\d|88)\\d{7}", , , , , , , [9]], [, , "(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|[68]\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}", , , , "669050123"], [
7525
7487
  ,
7526
7488
  ,
7527
- "(?:(?:[25]0|33|88|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\d|7[0-4])|(?:5[67]|7\\d)\\d|6(?:2[0-26]|8\\d)))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",
7489
+ "(?:(?:[25]0|33|88|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",
7528
7490
  ,
7529
7491
  ,
7530
7492
  ,
@@ -7968,7 +7930,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
7968
7930
  D.h = void 0, D.g = function() {
7969
7931
  return D.h ? D.h : D.h = new D();
7970
7932
  };
7971
- var g1 = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9" }, h2 = {
7933
+ var C1 = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9" }, h2 = {
7972
7934
  0: "0",
7973
7935
  1: "1",
7974
7936
  2: "2",
@@ -8049,32 +8011,32 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8049
8011
  X: "9",
8050
8012
  Y: "9",
8051
8013
  Z: "9"
8052
- }, f2 = RegExp("[++]+"), Q = RegExp("^[++]+"), N1 = RegExp("([0-90-9٠-٩۰-۹])"), p2 = RegExp("[++0-90-9٠-٩۰-۹]"), g2 = /[\\\/] *x/, C2 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), m2 = /(?:.*?[A-Za-z]){3}.*/, y2 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), _2 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
8053
- function Z(d) {
8014
+ }, f2 = RegExp("[++]+"), Q = RegExp("^[++]+"), E1 = RegExp("([0-90-9٠-٩۰-۹])"), p2 = RegExp("[++0-90-9٠-٩۰-۹]"), g2 = /[\\\/] *x/, C2 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), m2 = /(?:.*?[A-Za-z]){3}.*/, y2 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), _2 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
8015
+ function Y(d) {
8054
8016
  return "([0-90-9٠-٩۰-۹]{1," + d + "})";
8055
8017
  }
8056
- function E1() {
8057
- return ";ext=" + Z("20") + "|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*" + (Z("20") + "#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*") + (Z("9") + "#?|[- ]+") + (Z("6") + "#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*") + (Z("15") + "#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*") + (Z("9") + "#?");
8058
- }
8059
- var D1 = new RegExp("(?:" + E1() + ")$", "i"), I2 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + E1() + ")?$", "i"), v2 = /(\$\d)/, S2 = /^\(?\$1\)?$/;
8060
- function M1(d) {
8061
- return 2 > d.length ? !1 : G(I2, d);
8018
+ function D1() {
8019
+ return ";ext=" + Y("20") + "|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*" + (Y("20") + "#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*") + (Y("9") + "#?|[- ]+") + (Y("6") + "#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*") + (Y("15") + "#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*") + (Y("9") + "#?");
8062
8020
  }
8021
+ var M1 = new RegExp("(?:" + D1() + ")$", "i"), I2 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + D1() + ")?$", "i"), v2 = /(\$\d)/, S2 = /^\(?\$1\)?$/;
8063
8022
  function P1(d) {
8064
- return G(m2, d) ? r1(d, c2) : r1(d, g1);
8023
+ return 2 > d.length ? !1 : G(I2, d);
8065
8024
  }
8066
8025
  function x1(d) {
8067
- var t = P1(d.toString());
8068
- B(d), d.g(t);
8026
+ return G(m2, d) ? r1(d, c2) : r1(d, C1);
8069
8027
  }
8070
8028
  function R1(d) {
8071
- return d != null && (F(d, 9) != 1 || M(d, 9)[0] != -1);
8029
+ var t = x1(d.toString());
8030
+ B(d), d.g(t);
8031
+ }
8032
+ function B1(d) {
8033
+ return d != null && (U(d, 9) != 1 || M(d, 9)[0] != -1);
8072
8034
  }
8073
8035
  function r1(d, t) {
8074
- for (var $ = new L(), n, r = d.length, o = 0; o < r; ++o) n = d.charAt(o), n = t[n.toUpperCase()], n != null && $.g(n);
8036
+ for (var $ = new T(), s, r = d.length, o = 0; o < r; ++o) s = d.charAt(o), s = t[s.toUpperCase()], s != null && $.g(s);
8075
8037
  return $.toString();
8076
8038
  }
8077
- function B1(d) {
8039
+ function k1(d) {
8078
8040
  return d.length == 0 || S2.test(d);
8079
8041
  }
8080
8042
  function o1(d) {
@@ -8086,17 +8048,17 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8086
8048
  if (0 < $.length) return $;
8087
8049
  }
8088
8050
  $ = v(d, 1);
8089
- var n = t1(d);
8090
- if (t == 0) return k1($, 0, n, "");
8091
- if (!($ in X)) return n;
8051
+ var s = t1(d);
8052
+ if (t == 0) return O1($, 0, s, "");
8053
+ if (!($ in X)) return s;
8092
8054
  var r = d1(this, $, e1($));
8093
8055
  d = R(d, 3) && f(d, 3).length != 0 ? t == 3 ? ";ext=" + f(d, 3) : R(r, 13) ? f(r, 13) + v(d, 3) : " ext. " + v(d, 3) : "";
8094
8056
  d: {
8095
8057
  r = M(r, 20).length == 0 || t == 2 ? M(r, 19) : M(r, 20);
8096
8058
  for (var o, l = r.length, h = 0; h < l; ++h) {
8097
8059
  o = r[h];
8098
- var m = F(o, 3);
8099
- if ((m == 0 || n.search(f(o, 3, m - 1)) == 0) && (m = new RegExp(f(o, 1)), G(m, n))) {
8060
+ var m = U(o, 3);
8061
+ if ((m == 0 || s.search(f(o, 3, m - 1)) == 0) && (m = new RegExp(f(o, 1)), G(m, s))) {
8100
8062
  r = o;
8101
8063
  break d;
8102
8064
  }
@@ -8106,7 +8068,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8106
8068
  return r != null && (l = r, r = v(l, 2), o = new RegExp(f(l, 1)), v(
8107
8069
  l,
8108
8070
  5
8109
- ), l = v(l, 4), n = t == 2 && l != null && 0 < l.length ? n.replace(o, r.replace(v2, l)) : n.replace(o, r), t == 3 && (n = n.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), n = n.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), k1($, t, n, d);
8071
+ ), l = v(l, 4), s = t == 2 && l != null && 0 < l.length ? s.replace(o, r.replace(v2, l)) : s.replace(o, r), t == 3 && (s = s.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), s = s.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), O1($, t, s, d);
8110
8072
  };
8111
8073
  function d1(d, t, $) {
8112
8074
  return $ == "001" ? K(d, "" + t) : K(d, $);
@@ -8116,16 +8078,16 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8116
8078
  var t = "" + f(d, 2);
8117
8079
  return R(d, 4) && f(d, 4) && 0 < v(d, 8) ? Array(v(d, 8) + 1).join("0") + t : t;
8118
8080
  }
8119
- function k1(d, t, $, n) {
8081
+ function O1(d, t, $, s) {
8120
8082
  switch (t) {
8121
8083
  case 0:
8122
- return "+" + d + $ + n;
8084
+ return "+" + d + $ + s;
8123
8085
  case 1:
8124
- return "+" + d + " " + $ + n;
8086
+ return "+" + d + " " + $ + s;
8125
8087
  case 3:
8126
- return "tel:+" + d + "-" + $ + n;
8088
+ return "tel:+" + d + "-" + $ + s;
8127
8089
  default:
8128
- return $ + n;
8090
+ return $ + s;
8129
8091
  }
8130
8092
  }
8131
8093
  function u1(d, t) {
@@ -8155,7 +8117,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8155
8117
  return f(d, 1);
8156
8118
  }
8157
8119
  }
8158
- function C1(d, t) {
8120
+ function m1(d, t) {
8159
8121
  return k(d, f(t, 1)) ? k(d, f(t, 5)) ? 4 : k(d, f(t, 4)) ? 3 : k(d, f(t, 6)) ? 5 : k(d, f(t, 8)) ? 6 : k(d, f(t, 7)) ? 7 : k(d, f(t, 21)) ? 8 : k(d, f(t, 25)) ? 9 : k(d, f(t, 28)) ? 10 : k(d, f(t, 2)) ? f(t, 18) || k(d, f(t, 3)) ? 2 : 0 : !f(t, 18) && k(d, f(t, 3)) ? 1 : -1 : -1;
8160
8122
  }
8161
8123
  function K(d, t) {
@@ -8170,25 +8132,25 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8170
8132
  }
8171
8133
  function k(d, t) {
8172
8134
  var $ = d.length;
8173
- return 0 < F(t, 9) && M(t, 9).indexOf($) == -1 ? !1 : G(v(t, 2), d);
8135
+ return 0 < U(t, 9) && M(t, 9).indexOf($) == -1 ? !1 : G(v(t, 2), d);
8174
8136
  }
8175
- function O1(d, t) {
8137
+ function G1(d, t) {
8176
8138
  if (t == null) return null;
8177
8139
  var $ = v(t, 1);
8178
8140
  if ($ = X[$], $ == null) d = null;
8179
8141
  else if ($.length == 1) d = $[0];
8180
8142
  else d: {
8181
8143
  t = t1(t);
8182
- for (var n, r = $.length, o = 0; o < r; o++) {
8183
- n = $[o];
8184
- var l = K(d, n);
8144
+ for (var s, r = $.length, o = 0; o < r; o++) {
8145
+ s = $[o];
8146
+ var l = K(d, s);
8185
8147
  if (R(l, 23)) {
8186
8148
  if (t.search(f(l, 23)) == 0) {
8187
- d = n;
8149
+ d = s;
8188
8150
  break d;
8189
8151
  }
8190
- } else if (C1(t, l) != -1) {
8191
- d = n;
8152
+ } else if (m1(t, l) != -1) {
8153
+ d = s;
8192
8154
  break d;
8193
8155
  }
8194
8156
  }
@@ -8199,67 +8161,67 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8199
8161
  function e1(d) {
8200
8162
  return d = X[d], d == null ? "ZZ" : d[0];
8201
8163
  }
8202
- function G1(d, t) {
8164
+ function F1(d, t) {
8203
8165
  if (d = K(d, t), d == null) throw Error("Invalid region code: " + t);
8204
8166
  return v(d, 10);
8205
8167
  }
8206
- function l1(d, t, $, n) {
8207
- var r = u1($, n), o = F(r, 9) == 0 ? M(f($, 1), 9) : M(r, 9);
8208
- if (r = M(r, 10), n == 2) if (R1(u1($, 0))) d = u1($, 1), R1(d) && (o = o.concat(F(d, 9) == 0 ? M(f($, 1), 9) : M(d, 9)), o.sort(), r.length == 0 ? r = M(d, 10) : (r = r.concat(M(d, 10)), r.sort()));
8168
+ function l1(d, t, $, s) {
8169
+ var r = u1($, s), o = U(r, 9) == 0 ? M(f($, 1), 9) : M(r, 9);
8170
+ if (r = M(r, 10), s == 2) if (B1(u1($, 0))) d = u1($, 1), B1(d) && (o = o.concat(U(d, 9) == 0 ? M(f($, 1), 9) : M(d, 9)), o.sort(), r.length == 0 ? r = M(d, 10) : (r = r.concat(M(d, 10)), r.sort()));
8209
8171
  else return l1(d, t, $, 1);
8210
8172
  return o[0] == -1 ? 5 : (t = t.length, -1 < r.indexOf(t) ? 4 : ($ = o[0], $ == t ? 0 : $ > t ? 2 : o[o.length - 1] < t ? 3 : -1 < o.indexOf(t, 1) ? 0 : 5));
8211
8173
  }
8212
- function Y(d, t, $) {
8213
- var n = t1(t);
8214
- return t = v(t, 1), t in X ? (t = d1(d, t, e1(t)), l1(d, n, t, $)) : 1;
8174
+ function J(d, t, $) {
8175
+ var s = t1(t);
8176
+ return t = v(t, 1), t in X ? (t = d1(d, t, e1(t)), l1(d, s, t, $)) : 1;
8215
8177
  }
8216
8178
  function U1(d, t) {
8217
8179
  if (d = d.toString(), d.length == 0 || d.charAt(0) == "0") return 0;
8218
- for (var $, n = d.length, r = 1; 3 >= r && r <= n; ++r) if ($ = parseInt(d.substring(0, r), 10), $ in X) return t.g(d.substring(r)), $;
8180
+ for (var $, s = d.length, r = 1; 3 >= r && r <= s; ++r) if ($ = parseInt(d.substring(0, r), 10), $ in X) return t.g(d.substring(r)), $;
8219
8181
  return 0;
8220
8182
  }
8221
- function F1(d, t, $, n, r, o) {
8183
+ function V1(d, t, $, s, r, o) {
8222
8184
  if (t.length == 0) return 0;
8223
- t = new L(t);
8185
+ t = new T(t);
8224
8186
  var l;
8225
8187
  $ != null && (l = f($, 11)), l == null && (l = "NonMatch");
8226
8188
  var h = t.toString();
8227
8189
  if (h.length == 0) l = 20;
8228
- else if (Q.test(h)) h = h.replace(Q, ""), B(t), t.g(P1(h)), l = 1;
8190
+ else if (Q.test(h)) h = h.replace(Q, ""), B(t), t.g(x1(h)), l = 1;
8229
8191
  else {
8230
- if (h = new RegExp(l), x1(t), l = t.toString(), l.search(h) == 0) {
8192
+ if (h = new RegExp(l), R1(t), l = t.toString(), l.search(h) == 0) {
8231
8193
  h = l.match(h)[0].length;
8232
- var m = l.substring(h).match(N1);
8233
- m && m[1] != null && 0 < m[1].length && r1(m[1], g1) == "0" ? l = !1 : (B(t), t.g(l.substring(h)), l = !0);
8194
+ var m = l.substring(h).match(E1);
8195
+ m && m[1] != null && 0 < m[1].length && r1(m[1], C1) == "0" ? l = !1 : (B(t), t.g(l.substring(h)), l = !0);
8234
8196
  } else l = !1;
8235
8197
  l = l ? 5 : 20;
8236
8198
  }
8237
8199
  if (r && E(o, 6, l), l != 20) {
8238
8200
  if (2 >= t.h.length) throw Error("Phone number too short after IDD");
8239
- if (d = U1(t, n), d != 0) return E(o, 1, d), d;
8201
+ if (d = U1(t, s), d != 0) return E(o, 1, d), d;
8240
8202
  throw Error("Invalid country calling code");
8241
8203
  }
8242
- return $ != null && (l = v($, 10), h = "" + l, m = t.toString(), m.lastIndexOf(h, 0) == 0 && (h = new L(m.substring(h.length)), m = f($, 1), m = new RegExp(v(m, 2)), V1(h, $, null), h = h.toString(), !G(m, t.toString()) && G(m, h) || l1(d, t.toString(), $, -1) == 3)) ? (n.g(h), r && E(o, 6, 10), E(o, 1, l), l) : (E(o, 1, 0), 0);
8204
+ return $ != null && (l = v($, 10), h = "" + l, m = t.toString(), m.lastIndexOf(h, 0) == 0 && (h = new T(m.substring(h.length)), m = f($, 1), m = new RegExp(v(m, 2)), K1(h, $, null), h = h.toString(), !G(m, t.toString()) && G(m, h) || l1(d, t.toString(), $, -1) == 3)) ? (s.g(h), r && E(o, 6, 10), E(o, 1, l), l) : (E(o, 1, 0), 0);
8243
8205
  }
8244
- function V1(d, t, $) {
8245
- var n = d.toString(), r = n.length, o = f(t, 15);
8206
+ function K1(d, t, $) {
8207
+ var s = d.toString(), r = s.length, o = f(t, 15);
8246
8208
  if (r != 0 && o != null && o.length != 0) {
8247
8209
  var l = new RegExp("^(?:" + o + ")");
8248
- if (r = l.exec(n)) {
8210
+ if (r = l.exec(s)) {
8249
8211
  o = new RegExp(v(f(t, 1), 2));
8250
- var h = G(o, n), m = r.length - 1;
8251
- t = f(t, 16), t == null || t.length == 0 || r[m] == null || r[m].length == 0 ? (!h || G(o, n.substring(r[0].length))) && ($ != null && 0 < m && r[m] != null && $.g(r[1]), d.set(n.substring(r[0].length))) : (n = n.replace(l, t), (!h || G(o, n)) && ($ != null && 0 < m && $.g(r[1]), d.set(n)));
8212
+ var h = G(o, s), m = r.length - 1;
8213
+ t = f(t, 16), t == null || t.length == 0 || r[m] == null || r[m].length == 0 ? (!h || G(o, s.substring(r[0].length))) && ($ != null && 0 < m && r[m] != null && $.g(r[1]), d.set(s.substring(r[0].length))) : (s = s.replace(l, t), (!h || G(o, s)) && ($ != null && 0 < m && $.g(r[1]), d.set(s)));
8252
8214
  }
8253
8215
  }
8254
8216
  }
8255
8217
  function z(d, t, $) {
8256
8218
  if (!o1($) && 0 < t.length && t.charAt(0) != "+") throw Error("Invalid country calling code");
8257
- return K1(d, t, $, !0);
8219
+ return H1(d, t, $, !0);
8258
8220
  }
8259
- function K1(d, t, $, n) {
8221
+ function H1(d, t, $, s) {
8260
8222
  if (t == null) throw Error("The string supplied did not seem to be a phone number");
8261
8223
  if (250 < t.length) throw Error("The string supplied is too long to be a phone number");
8262
- var r = new L(), o = t.indexOf(";phone-context=");
8224
+ var r = new T(), o = t.indexOf(";phone-context=");
8263
8225
  if (o === -1) o = null;
8264
8226
  else if (o += 15, o >= t.length) o = "";
8265
8227
  else {
@@ -8267,80 +8229,80 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8267
8229
  o = l !== -1 ? t.substring(o, l) : t.substring(o);
8268
8230
  }
8269
8231
  var h = o;
8270
- if (h == null ? l = !0 : h.length === 0 ? l = !1 : (l = y2.exec(h), h = _2.exec(h), l = l !== null || h !== null), !l || (o != null ? (o.charAt(0) === "+" && r.g(o), o = t.indexOf("tel:"), r.g(t.substring(0 <= o ? o + 4 : 0, t.indexOf(";phone-context=")))) : (o = r.g, l = t ?? "", h = l.search(p2), 0 <= h ? (l = l.substring(h), l = l.replace(C2, ""), h = l.search(g2), 0 <= h && (l = l.substring(0, h))) : l = "", o.call(r, l)), o = r.toString(), l = o.indexOf(";isub="), 0 < l && (B(r), r.g(o.substring(0, l))), !M1(r.toString()))) throw Error("The string supplied did not seem to be a phone number");
8232
+ if (h == null ? l = !0 : h.length === 0 ? l = !1 : (l = y2.exec(h), h = _2.exec(h), l = l !== null || h !== null), !l || (o != null ? (o.charAt(0) === "+" && r.g(o), o = t.indexOf("tel:"), r.g(t.substring(0 <= o ? o + 4 : 0, t.indexOf(";phone-context=")))) : (o = r.g, l = t ?? "", h = l.search(p2), 0 <= h ? (l = l.substring(h), l = l.replace(C2, ""), h = l.search(g2), 0 <= h && (l = l.substring(0, h))) : l = "", o.call(r, l)), o = r.toString(), l = o.indexOf(";isub="), 0 < l && (B(r), r.g(o.substring(0, l))), !P1(r.toString()))) throw Error("The string supplied did not seem to be a phone number");
8271
8233
  if (o = r.toString(), !(o1($) || o != null && 0 < o.length && Q.test(o))) throw Error("Invalid country calling code");
8272
- o = new V(), n && E(o, 5, t);
8234
+ o = new V(), s && E(o, 5, t);
8273
8235
  d: {
8274
- if (t = r.toString(), l = t.search(D1), 0 <= l && M1(t.substring(0, l))) {
8275
- h = t.match(D1);
8276
- for (var m = h.length, U = 1; U < m; ++U) if (h[U] != null && 0 < h[U].length) {
8277
- B(r), r.g(t.substring(0, l)), t = h[U];
8236
+ if (t = r.toString(), l = t.search(M1), 0 <= l && P1(t.substring(0, l))) {
8237
+ h = t.match(M1);
8238
+ for (var m = h.length, F = 1; F < m; ++F) if (h[F] != null && 0 < h[F].length) {
8239
+ B(r), r.g(t.substring(0, l)), t = h[F];
8278
8240
  break d;
8279
8241
  }
8280
8242
  }
8281
8243
  t = "";
8282
8244
  }
8283
- 0 < t.length && E(o, 3, t), l = K(d, $), t = new L(), h = 0, m = r.toString();
8245
+ 0 < t.length && E(o, 3, t), l = K(d, $), t = new T(), h = 0, m = r.toString();
8284
8246
  try {
8285
- h = F1(d, m, l, t, n, o);
8286
- } catch (y1) {
8287
- if (y1.message == "Invalid country calling code" && Q.test(m)) {
8288
- if (m = m.replace(Q, ""), h = F1(d, m, l, t, n, o), h == 0) throw y1;
8289
- } else throw y1;
8247
+ h = V1(d, m, l, t, s, o);
8248
+ } catch (_1) {
8249
+ if (_1.message == "Invalid country calling code" && Q.test(m)) {
8250
+ if (m = m.replace(Q, ""), h = V1(d, m, l, t, s, o), h == 0) throw _1;
8251
+ } else throw _1;
8290
8252
  }
8291
- if (h != 0 ? (r = e1(h), r != $ && (l = d1(d, h, r))) : (x1(r), t.g(r.toString()), $ != null ? (h = v(l, 10), E(
8253
+ if (h != 0 ? (r = e1(h), r != $ && (l = d1(d, h, r))) : (R1(r), t.g(r.toString()), $ != null ? (h = v(l, 10), E(
8292
8254
  o,
8293
8255
  1,
8294
8256
  h
8295
- )) : n && (delete o.h[6], o.g && delete o.g[6])), 2 > t.h.length || (l != null && ($ = new L(), r = new L(t.toString()), V1(r, l, $), d = l1(d, r.toString(), l, -1), d != 2 && d != 4 && d != 5 && (t = r, n && 0 < $.toString().length && E(o, 7, $.toString()))), n = t.toString(), d = n.length, 2 > d)) throw Error("The string supplied is too short to be a phone number");
8257
+ )) : s && (delete o.h[6], o.g && delete o.g[6])), 2 > t.h.length || (l != null && ($ = new T(), r = new T(t.toString()), K1(r, l, $), d = l1(d, r.toString(), l, -1), d != 2 && d != 4 && d != 5 && (t = r, s && 0 < $.toString().length && E(o, 7, $.toString()))), s = t.toString(), d = s.length, 2 > d)) throw Error("The string supplied is too short to be a phone number");
8296
8258
  if (17 < d) throw Error("The string supplied is too long to be a phone number");
8297
- if (1 < n.length && n.charAt(0) == "0") {
8298
- for (E(o, 4, !0), d = 1; d < n.length - 1 && n.charAt(d) == "0"; ) d++;
8259
+ if (1 < s.length && s.charAt(0) == "0") {
8260
+ for (E(o, 4, !0), d = 1; d < s.length - 1 && s.charAt(d) == "0"; ) d++;
8299
8261
  d != 1 && E(o, 8, d);
8300
8262
  }
8301
- return E(o, 2, parseInt(n, 10)), o;
8263
+ return E(o, 2, parseInt(s, 10)), o;
8302
8264
  }
8303
8265
  function G(d, t) {
8304
8266
  return !!((d = typeof d == "string" ? t.match("^(?:" + d + ")$") : t.match(d)) && d[0].length == t.length);
8305
8267
  }
8306
8268
  function w2(d) {
8307
- this.fa = RegExp(" "), this.ja = "", this.v = new L(), this.da = "", this.s = new L(), this.ba = new L(), this.u = !0, this.ea = this.ca = this.la = !1, this.ga = D.g(), this.$ = 0, this.h = new L(), this.ha = !1, this.o = "", this.g = new L(), this.j = [], this.ka = d, this.l = W1(this, this.ka);
8269
+ this.fa = RegExp(" "), this.ja = "", this.v = new T(), this.da = "", this.s = new T(), this.ba = new T(), this.u = !0, this.ea = this.ca = this.la = !1, this.ga = D.g(), this.$ = 0, this.h = new T(), this.ha = !1, this.o = "", this.g = new T(), this.j = [], this.ka = d, this.l = z1(this, this.ka);
8308
8270
  }
8309
- var H1 = new W();
8310
- E(H1, 11, "NA");
8311
- var b2 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), j1 = /[- ]/;
8312
- function W1(d, t) {
8271
+ var j1 = new W();
8272
+ E(j1, 11, "NA");
8273
+ var b2 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), W1 = /[- ]/;
8274
+ function z1(d, t) {
8313
8275
  var $ = d.ga;
8314
- return t = o1(t) ? G1($, t) : 0, d = K(d.ga, e1(t)), d ?? H1;
8276
+ return t = o1(t) ? F1($, t) : 0, d = K(d.ga, e1(t)), d ?? j1;
8315
8277
  }
8316
- function z1(d) {
8278
+ function Z1(d) {
8317
8279
  for (var t = d.j.length, $ = 0; $ < t; ++$) {
8318
- var n = d.j[$], r = v(n, 1);
8280
+ var s = d.j[$], r = v(s, 1);
8319
8281
  if (d.da == r) return !1;
8320
- var o = d, l = n, h = v(l, 1);
8282
+ var o = d, l = s, h = v(l, 1);
8321
8283
  B(o.v);
8322
8284
  var m = o;
8323
8285
  l = v(l, 2);
8324
- var U = "999999999999999".match(h)[0];
8325
- if (U.length < m.g.h.length ? m = "" : (m = U.replace(new RegExp(h, "g"), l), m = m.replace(RegExp("9", "g"), " ")), 0 < m.length ? (o.v.g(m), o = !0) : o = !1, o) return d.da = r, d.ha = j1.test(f(n, 4)), d.$ = 0, !0;
8286
+ var F = "999999999999999".match(h)[0];
8287
+ if (F.length < m.g.h.length ? m = "" : (m = F.replace(new RegExp(h, "g"), l), m = m.replace(RegExp("9", "g"), " ")), 0 < m.length ? (o.v.g(m), o = !0) : o = !1, o) return d.da = r, d.ha = W1.test(f(s, 4)), d.$ = 0, !0;
8326
8288
  }
8327
8289
  return d.u = !1;
8328
8290
  }
8329
- function Z1(d, t) {
8330
- for (var $ = [], n = t.length - 3, r = d.j.length, o = 0; o < r; ++o) {
8291
+ function Y1(d, t) {
8292
+ for (var $ = [], s = t.length - 3, r = d.j.length, o = 0; o < r; ++o) {
8331
8293
  var l = d.j[o];
8332
- F(l, 3) == 0 ? $.push(d.j[o]) : (l = f(l, 3, Math.min(n, F(l, 3) - 1)), t.search(l) == 0 && $.push(d.j[o]));
8294
+ U(l, 3) == 0 ? $.push(d.j[o]) : (l = f(l, 3, Math.min(s, U(l, 3) - 1)), t.search(l) == 0 && $.push(d.j[o]));
8333
8295
  }
8334
8296
  d.j = $;
8335
8297
  }
8336
- function A2(d, t) {
8298
+ function N2(d, t) {
8337
8299
  d.s.g(t);
8338
8300
  var $ = t;
8339
- if (N1.test($) || d.s.h.length == 1 && f2.test($) ? (t == "+" ? ($ = t, d.ba.g(t)) : ($ = g1[t], d.ba.g($), d.g.g($)), t = $) : (d.u = !1, d.la = !0), !d.u) {
8301
+ if (E1.test($) || d.s.h.length == 1 && f2.test($) ? (t == "+" ? ($ = t, d.ba.g(t)) : ($ = C1[t], d.ba.g($), d.g.g($)), t = $) : (d.u = !1, d.la = !0), !d.u) {
8340
8302
  if (!d.la) {
8341
- if (Q1(d)) {
8342
- if (d2(d)) return Y1(d);
8343
- } else if (0 < d.o.length && (t = d.g.toString(), B(d.g), d.g.g(d.o), d.g.g(t), t = d.h.toString(), $ = t.lastIndexOf(d.o), B(d.h), d.h.g(t.substring(0, $))), d.o != X1(d)) return d.h.g(" "), Y1(d);
8303
+ if (d2(d)) {
8304
+ if (t2(d)) return J1(d);
8305
+ } else if (0 < d.o.length && (t = d.g.toString(), B(d.g), d.g.g(d.o), d.g.g(t), t = d.h.toString(), $ = t.lastIndexOf(d.o), B(d.h), d.h.g(t.substring(0, $))), d.o != Q1(d)) return d.h.g(" "), J1(d);
8344
8306
  }
8345
8307
  return d.s.toString();
8346
8308
  }
@@ -8350,19 +8312,19 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8350
8312
  case 2:
8351
8313
  return d.s.toString();
8352
8314
  case 3:
8353
- if (Q1(d)) d.ea = !0;
8354
- else return d.o = X1(d), m1(d);
8315
+ if (d2(d)) d.ea = !0;
8316
+ else return d.o = Q1(d), y1(d);
8355
8317
  default:
8356
- return d.ea ? (d2(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = t2(d, t), $ = J1(d), 0 < $.length ? $ : (Z1(d, d.g.toString()), z1(d) ? q1(d) : d.u ? a1(d, t) : d.s.toString())) : m1(d);
8318
+ return d.ea ? (t2(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = e2(d, t), $ = q1(d), 0 < $.length ? $ : (Y1(d, d.g.toString()), Z1(d) ? X1(d) : d.u ? a1(d, t) : d.s.toString())) : y1(d);
8357
8319
  }
8358
8320
  }
8359
- function Y1(d) {
8360
- return d.u = !0, d.ea = !1, d.j = [], d.$ = 0, B(d.v), d.da = "", m1(d);
8361
- }
8362
8321
  function J1(d) {
8363
- for (var t = d.g.toString(), $ = d.j.length, n = 0; n < $; ++n) {
8364
- var r = d.j[n], o = v(r, 1);
8365
- if (new RegExp("^(?:" + o + ")$").test(t) && (d.ha = j1.test(f(r, 4)), r = t.replace(new RegExp(o, "g"), f(r, 2)), r = a1(d, r), r1(r, h2) == d.ba)) return r;
8322
+ return d.u = !0, d.ea = !1, d.j = [], d.$ = 0, B(d.v), d.da = "", y1(d);
8323
+ }
8324
+ function q1(d) {
8325
+ for (var t = d.g.toString(), $ = d.j.length, s = 0; s < $; ++s) {
8326
+ var r = d.j[s], o = v(r, 1);
8327
+ if (new RegExp("^(?:" + o + ")$").test(t) && (d.ha = W1.test(f(r, 4)), r = t.replace(new RegExp(o, "g"), f(r, 2)), r = a1(d, r), r1(r, h2) == d.ba)) return r;
8366
8328
  }
8367
8329
  return "";
8368
8330
  }
@@ -8370,54 +8332,54 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8370
8332
  var $ = d.h.h.length;
8371
8333
  return d.ha && 0 < $ && d.h.toString().charAt($ - 1) != " " ? d.h + " " + t : d.h + t;
8372
8334
  }
8373
- function m1(d) {
8335
+ function y1(d) {
8374
8336
  var t = d.g.toString();
8375
8337
  if (3 <= t.length) {
8376
- for (var $ = d.ca && d.o.length == 0 && 0 < F(d.l, 20) ? M(d.l, 20) : M(d.l, 19), n = $.length, r = 0; r < n; ++r) {
8338
+ for (var $ = d.ca && d.o.length == 0 && 0 < U(d.l, 20) ? M(d.l, 20) : M(d.l, 19), s = $.length, r = 0; r < s; ++r) {
8377
8339
  var o = $[r];
8378
- 0 < d.o.length && B1(v(o, 4)) && !f(o, 6) && !R(o, 5) || (d.o.length != 0 || d.ca || B1(v(o, 4)) || f(o, 6)) && b2.test(v(o, 2)) && d.j.push(o);
8340
+ 0 < d.o.length && k1(v(o, 4)) && !f(o, 6) && !R(o, 5) || (d.o.length != 0 || d.ca || k1(v(o, 4)) || f(o, 6)) && b2.test(v(o, 2)) && d.j.push(o);
8379
8341
  }
8380
- return Z1(d, t), t = J1(d), 0 < t.length ? t : z1(d) ? q1(d) : d.s.toString();
8342
+ return Y1(d, t), t = q1(d), 0 < t.length ? t : Z1(d) ? X1(d) : d.s.toString();
8381
8343
  }
8382
8344
  return a1(d, t);
8383
8345
  }
8384
- function q1(d) {
8346
+ function X1(d) {
8385
8347
  var t = d.g.toString(), $ = t.length;
8386
8348
  if (0 < $) {
8387
- for (var n = "", r = 0; r < $; r++) n = t2(d, t.charAt(r));
8388
- return d.u ? a1(d, n) : d.s.toString();
8349
+ for (var s = "", r = 0; r < $; r++) s = e2(d, t.charAt(r));
8350
+ return d.u ? a1(d, s) : d.s.toString();
8389
8351
  }
8390
8352
  return d.h.toString();
8391
8353
  }
8392
- function X1(d) {
8354
+ function Q1(d) {
8393
8355
  var t = d.g.toString(), $ = 0;
8394
- if (f(d.l, 10) != 1) var n = !1;
8395
- else n = d.g.toString(), n = n.charAt(0) == "1" && n.charAt(1) != "0" && n.charAt(1) != "1";
8396
- return n ? ($ = 1, d.h.g("1").g(" "), d.ca = !0) : R(d.l, 15) && (n = new RegExp("^(?:" + f(d.l, 15) + ")"), n = t.match(n), n != null && n[0] != null && 0 < n[0].length && (d.ca = !0, $ = n[0].length, d.h.g(t.substring(0, $)))), B(d.g), d.g.g(t.substring($)), t.substring(0, $);
8356
+ if (f(d.l, 10) != 1) var s = !1;
8357
+ else s = d.g.toString(), s = s.charAt(0) == "1" && s.charAt(1) != "0" && s.charAt(1) != "1";
8358
+ return s ? ($ = 1, d.h.g("1").g(" "), d.ca = !0) : R(d.l, 15) && (s = new RegExp("^(?:" + f(d.l, 15) + ")"), s = t.match(s), s != null && s[0] != null && 0 < s[0].length && (d.ca = !0, $ = s[0].length, d.h.g(t.substring(0, $)))), B(d.g), d.g.g(t.substring($)), t.substring(0, $);
8397
8359
  }
8398
- function Q1(d) {
8360
+ function d2(d) {
8399
8361
  var t = d.ba.toString(), $ = new RegExp("^(?:\\+|" + f(d.l, 11) + ")");
8400
8362
  return $ = t.match($), $ != null && $[0] != null && 0 < $[0].length ? (d.ca = !0, $ = $[0].length, B(d.g), d.g.g(t.substring($)), B(d.h), d.h.g(t.substring(0, $)), t.charAt(0) != "+" && d.h.g(" "), !0) : !1;
8401
8363
  }
8402
- function d2(d) {
8364
+ function t2(d) {
8403
8365
  if (d.g.h.length == 0) return !1;
8404
- var t = new L(), $ = U1(d.g, t);
8405
- return $ == 0 ? !1 : (B(d.g), d.g.g(t.toString()), t = e1($), t == "001" ? d.l = K(d.ga, "" + $) : t != d.ka && (d.l = W1(d, t)), d.h.g("" + $).g(" "), d.o = "", !0);
8366
+ var t = new T(), $ = U1(d.g, t);
8367
+ return $ == 0 ? !1 : (B(d.g), d.g.g(t.toString()), t = e1($), t == "001" ? d.l = K(d.ga, "" + $) : t != d.ka && (d.l = z1(d, t)), d.h.g("" + $).g(" "), d.o = "", !0);
8406
8368
  }
8407
- function t2(d, t) {
8369
+ function e2(d, t) {
8408
8370
  var $ = d.v.toString();
8409
8371
  if (0 <= $.substring(d.$).search(d.fa)) {
8410
- var n = $.search(d.fa);
8411
- return t = $.replace(d.fa, t), B(d.v), d.v.g(t), d.$ = n, t.substring(0, d.$ + 1);
8372
+ var s = $.search(d.fa);
8373
+ return t = $.replace(d.fa, t), B(d.v), d.v.g(t), d.$ = s, t.substring(0, d.$ + 1);
8412
8374
  }
8413
8375
  return d.j.length == 1 && (d.u = !1), d.da = "", d.s.toString();
8414
8376
  }
8415
8377
  const h1 = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
8416
8378
  e("intlTelInputUtilsTemp", {}), e("intlTelInputUtilsTemp.formatNumberAsYouType", (d, t) => {
8417
8379
  try {
8418
- const $ = d.replace(/[^+0-9]/g, ""), n = new w2(t);
8380
+ const $ = d.replace(/[^+0-9]/g, ""), s = new w2(t);
8419
8381
  t = "";
8420
- for (let r = 0; r < $.length; r++) n.ja = A2(n, $.charAt(r)), t = n.ja;
8382
+ for (let r = 0; r < $.length; r++) s.ja = N2(s, $.charAt(r)), t = s.ja;
8421
8383
  return t;
8422
8384
  } catch {
8423
8385
  return d;
@@ -8425,12 +8387,12 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8425
8387
  }), e("intlTelInputUtilsTemp.formatNumber", (d, t, $) => {
8426
8388
  try {
8427
8389
  const r = D.g(), o = z(r, d, t);
8428
- var n = Y(r, o, -1);
8429
- return n == 0 || n == 4 ? r.format(o, typeof $ > "u" ? 0 : $) : d;
8390
+ var s = J(r, o, -1);
8391
+ return s == 0 || s == 4 ? r.format(o, typeof $ > "u" ? 0 : $) : d;
8430
8392
  } catch {
8431
8393
  return d;
8432
8394
  }
8433
- }), e("intlTelInputUtilsTemp.getExampleNumber", (d, t, $, n) => {
8395
+ }), e("intlTelInputUtilsTemp.getExampleNumber", (d, t, $, s) => {
8434
8396
  try {
8435
8397
  const m = D.g();
8436
8398
  d: {
@@ -8439,7 +8401,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8439
8401
  var o = u1(K(r, d), $);
8440
8402
  try {
8441
8403
  if (R(o, 6)) {
8442
- var l = f(o, 6), h = K1(r, l, d, !1);
8404
+ var l = f(o, 6), h = H1(r, l, d, !1);
8443
8405
  break d;
8444
8406
  }
8445
8407
  } catch {
@@ -8447,7 +8409,7 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8447
8409
  }
8448
8410
  h = null;
8449
8411
  }
8450
- return m.format(h, n ? 0 : t ? 2 : 1);
8412
+ return m.format(h, s ? 0 : t ? 2 : 1);
8451
8413
  } catch {
8452
8414
  return "";
8453
8415
  }
@@ -8460,11 +8422,11 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8460
8422
  }), e("intlTelInputUtilsTemp.getNumberType", (d, t) => {
8461
8423
  try {
8462
8424
  const l = D.g(), h = z(l, d, t);
8463
- var $ = O1(l, h), n = d1(l, v(h, 1), $);
8464
- if (n == null) var r = -1;
8425
+ var $ = G1(l, h), s = d1(l, v(h, 1), $);
8426
+ if (s == null) var r = -1;
8465
8427
  else {
8466
8428
  var o = t1(h);
8467
- r = C1(o, n);
8429
+ r = m1(o, s);
8468
8430
  }
8469
8431
  return r;
8470
8432
  } catch {
@@ -8473,21 +8435,21 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8473
8435
  }), e("intlTelInputUtilsTemp.getValidationError", (d, t) => {
8474
8436
  if (!t) return 1;
8475
8437
  try {
8476
- const $ = D.g(), n = z($, d, t);
8477
- return Y($, n, -1);
8438
+ const $ = D.g(), s = z($, d, t);
8439
+ return J($, s, -1);
8478
8440
  } catch ($) {
8479
8441
  return $.message === "Invalid country calling code" ? 1 : 3 >= d.length || $.message === "Phone number too short after IDD" || $.message === "The string supplied is too short to be a phone number" ? 2 : $.message === "The string supplied is too long to be a phone number" ? 3 : -99;
8480
8442
  }
8481
8443
  }), e("intlTelInputUtilsTemp.isValidNumber", (d, t) => {
8482
8444
  try {
8483
8445
  const m = D.g();
8484
- var $ = z(m, d, t), n = O1(m, $);
8446
+ var $ = z(m, d, t), s = G1(m, $);
8485
8447
  d = m;
8486
- var r = v($, 1), o = d1(d, r, n);
8487
- if (o == null || n != "001" && r != G1(d, n)) var l = !1;
8448
+ var r = v($, 1), o = d1(d, r, s);
8449
+ if (o == null || s != "001" && r != F1(d, s)) var l = !1;
8488
8450
  else {
8489
8451
  var h = t1($);
8490
- l = C1(h, o) != -1;
8452
+ l = m1(h, o) != -1;
8491
8453
  }
8492
8454
  return l;
8493
8455
  } catch {
@@ -8495,16 +8457,16 @@ const V2 = (y) => !C.utils && !C.startedLoadingUtilsScript ? (C.startedLoadingUt
8495
8457
  }
8496
8458
  }), e("intlTelInputUtilsTemp.isPossibleNumber", (d, t, $) => {
8497
8459
  try {
8498
- const n = D.g(), r = z(n, d, t);
8460
+ const s = D.g(), r = z(s, d, t);
8499
8461
  if ($) {
8500
- const o = Y(n, r, h1[$]) === 0;
8462
+ const o = J(s, r, h1[$]) === 0;
8501
8463
  if ($ === "FIXED_LINE_OR_MOBILE") {
8502
- const l = Y(n, r, h1.MOBILE) === 0, h = Y(n, r, h1.FIXED_LINE) === 0;
8464
+ const l = J(s, r, h1.MOBILE) === 0, h = J(s, r, h1.FIXED_LINE) === 0;
8503
8465
  return l || h || o;
8504
8466
  }
8505
8467
  return o;
8506
8468
  }
8507
- return Y(n, r, -1) === 0;
8469
+ return J(s, r, -1) === 0;
8508
8470
  } catch {
8509
8471
  return !1;
8510
8472
  }
@@ -8521,7 +8483,7 @@ delete window.intlTelInputUtilsTemp;
8521
8483
  C.utils = K2;
8522
8484
  const j2 = {
8523
8485
  __name: "IntlTelInputWithUtils",
8524
- props: /* @__PURE__ */ e2({
8486
+ props: /* @__PURE__ */ $2({
8525
8487
  disabled: {
8526
8488
  type: Boolean,
8527
8489
  default: !1
@@ -8545,46 +8507,46 @@ const j2 = {
8545
8507
  },
8546
8508
  modelModifiers: {}
8547
8509
  }),
8548
- emits: /* @__PURE__ */ e2([
8510
+ emits: /* @__PURE__ */ $2([
8549
8511
  "changeNumber",
8550
8512
  "changeCountry",
8551
8513
  "changeValidity",
8552
8514
  "changeErrorCode"
8553
8515
  ], ["update:modelValue"]),
8554
- setup(y, { expose: e, emit: i }) {
8555
- const s = T2(y, "modelValue"), u = y, a = i, c = _1(), p = _1(), g = _1(!1), b = () => p.value ? u.options.strictMode ? p.value.isValidNumberPrecise() : p.value.isValidNumber() : null, _ = () => {
8516
+ setup(y, { expose: e, emit: n }) {
8517
+ const i = A2(y, "modelValue"), u = y, a = n, c = I1(), p = I1(), g = I1(!1), b = () => p.value ? u.options.strictMode ? p.value.isValidNumberPrecise() : p.value.isValidNumber() : null, S = () => {
8556
8518
  let I = b();
8557
8519
  g.value !== I && (g.value = I, a("changeValidity", !!I), a(
8558
8520
  "changeErrorCode",
8559
8521
  I ? null : p.value.getValidationError()
8560
8522
  ));
8561
- }, A = () => {
8523
+ }, _ = () => {
8562
8524
  var I;
8563
- a("changeNumber", ((I = p.value) == null ? void 0 : I.getNumber()) ?? ""), _();
8564
- }, S = () => {
8525
+ a("changeNumber", ((I = p.value) == null ? void 0 : I.getNumber()) ?? ""), S();
8526
+ }, N = () => {
8565
8527
  var I;
8566
- a("changeCountry", ((I = p.value) == null ? void 0 : I.getSelectedCountryData().iso2) ?? ""), A(), _();
8528
+ a("changeCountry", ((I = p.value) == null ? void 0 : I.getSelectedCountryData().iso2) ?? ""), _(), S();
8567
8529
  };
8568
- return L2(() => {
8530
+ return T2(() => {
8569
8531
  c.value && (p.value = C(c.value, u.options), u.value && p.value.setNumber(u.value), u.disabled && p.value.setDisabled(u.disabled));
8570
- }), N2(
8532
+ }), L2(
8571
8533
  () => u.disabled,
8572
8534
  (I) => {
8573
- var T;
8574
- return (T = p.value) == null ? void 0 : T.setDisabled(I);
8535
+ var A;
8536
+ return (A = p.value) == null ? void 0 : A.setDisabled(I);
8575
8537
  }
8576
8538
  ), E2(() => {
8577
8539
  var I;
8578
8540
  return (I = p.value) == null ? void 0 : I.destroy();
8579
- }), e({ instance: p, input: c }), (I, T) => D2((M2(), P2("input", x2({
8541
+ }), e({ instance: p, input: c }), (I, A) => D2((M2(), P2("input", x2({
8580
8542
  ref_key: "input",
8581
8543
  ref: c,
8582
- "onUpdate:modelValue": T[0] || (T[0] = (P) => s.value = P),
8544
+ "onUpdate:modelValue": A[0] || (A[0] = (P) => i.value = P),
8583
8545
  type: "tel",
8584
- onCountrychange: S,
8585
- onInput: A
8546
+ onCountrychange: N,
8547
+ onInput: _
8586
8548
  }, y.inputProps), null, 16)), [
8587
- [R2, s.value]
8549
+ [R2, i.value]
8588
8550
  ]);
8589
8551
  }
8590
8552
  };