intl-tel-input 25.13.1 → 25.13.3

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.
@@ -1950,7 +1950,7 @@ const $2 = {
1950
1950
  // additional countries (not supported by country-list library)
1951
1951
  ac: "Ascension Island",
1952
1952
  xk: "Kosovo"
1953
- }, b0 = { ...$2, ...n2 }, _1 = {
1953
+ }, L0 = { ...$2, ...n2 }, _1 = {
1954
1954
  OPEN_COUNTRY_DROPDOWN: "open:countrydropdown",
1955
1955
  CLOSE_COUNTRY_DROPDOWN: "close:countrydropdown",
1956
1956
  COUNTRY_CHANGE: "countrychange",
@@ -1995,7 +1995,7 @@ const $2 = {
1995
1995
  // px width fallback when no separate dial code
1996
1996
  INPUT_PADDING_EXTRA_LEFT: 6
1997
1997
  // px gap between selected country container and input text
1998
- }, T0 = {
1998
+ }, b0 = {
1999
1999
  NANP: "1"
2000
2000
  // North American Numbering Plan
2001
2001
  }, v1 = {
@@ -2033,7 +2033,7 @@ const $2 = {
2033
2033
  return h || e || i && $;
2034
2034
  }
2035
2035
  return !1;
2036
- }, L0 = {
2036
+ }, T0 = {
2037
2037
  // Allow alphanumeric "phonewords" (e.g. +1 800 FLOWERS) as valid numbers
2038
2038
  allowPhonewords: !1,
2039
2039
  //* Whether or not to allow the dropdown.
@@ -2090,7 +2090,7 @@ const $2 = {
2090
2090
  const $ = A0(e), i = [], s = [], a = [], u = [], f = [], C = [];
2091
2091
  for (const _ of h)
2092
2092
  _.iso2 === $ ? i.push(_) : _.normalisedName.startsWith($) ? s.push(_) : _.normalisedName.includes($) ? a.push(_) : $ === _.dialCode || $ === _.dialCodePlus ? u.push(_) : _.dialCodePlus.includes($) ? f.push(_) : _.initials.includes($) && C.push(_);
2093
- const y = (_, T) => _.priority - T.priority;
2093
+ const y = (_, E) => _.priority - E.priority;
2094
2094
  return [
2095
2095
  ...i.sort(y),
2096
2096
  ...s.sort(y),
@@ -2105,7 +2105,7 @@ const $2 = {
2105
2105
  if (i.name.toLowerCase().startsWith($))
2106
2106
  return i;
2107
2107
  return null;
2108
- }, R1 = (h) => Object.keys(h).filter((e) => !!h[e]).join(" "), L = (h, e, $) => {
2108
+ }, R1 = (h) => Object.keys(h).filter((e) => !!h[e]).join(" "), T = (h, e, $) => {
2109
2109
  const i = document.createElement(h);
2110
2110
  return e && Object.entries(e).forEach(
2111
2111
  ([s, a]) => i.setAttribute(s, a)
@@ -2127,7 +2127,7 @@ const $2 = {
2127
2127
  };
2128
2128
  class h2 {
2129
2129
  constructor(e, $, i) {
2130
- this.highlightedItem = null, e.dataset.intlTelInputId = i.toString(), this.telInput = e, this.options = $, this.id = i, this.hadInitialPlaceholder = !!e.getAttribute("placeholder"), this.isRTL = !!this.telInput.closest("[dir=rtl]"), this.options.separateDialCode && (this.originalPaddingLeft = this.telInput.style.paddingLeft);
2130
+ this.highlightedItem = null, this.selectedItem = null, e.dataset.intlTelInputId = i.toString(), this.telInput = e, this.options = $, this.id = i, this.hadInitialPlaceholder = !!e.getAttribute("placeholder"), this.isRTL = !!this.telInput.closest("[dir=rtl]"), this.options.separateDialCode && (this.originalPaddingLeft = this.telInput.style.paddingLeft);
2131
2131
  }
2132
2132
  //* Generate all of the markup for the plugin: the selected country overlay, and the dropdown.
2133
2133
  generateMarkup(e) {
@@ -2146,18 +2146,18 @@ class h2 {
2146
2146
  "iti--show-flags": $,
2147
2147
  "iti--inline-dropdown": !s,
2148
2148
  [i]: !!i
2149
- }), u = L("div", { class: a });
2149
+ }), u = T("div", { class: a });
2150
2150
  return this.isRTL && u.setAttribute("dir", "ltr"), this.telInput.before(u), u;
2151
2151
  }
2152
2152
  _maybeBuildCountryContainer(e) {
2153
2153
  const { allowDropdown: $, separateDialCode: i, showFlags: s } = this.options;
2154
2154
  if ($ || s || i) {
2155
- this.countryContainer = L(
2155
+ this.countryContainer = T(
2156
2156
  "div",
2157
2157
  // visibly hidden until we measure it's width to set the input padding correctly
2158
2158
  { class: `iti__country-container ${N.V_HIDE}` },
2159
2159
  e
2160
- ), $ ? (this.selectedCountry = L(
2160
+ ), $ ? (this.selectedCountry = T(
2161
2161
  "button",
2162
2162
  {
2163
2163
  type: "button",
@@ -2168,25 +2168,25 @@ class h2 {
2168
2168
  [b.CONTROLS]: `iti-${this.id}__dropdown-content`
2169
2169
  },
2170
2170
  this.countryContainer
2171
- ), this.telInput.disabled && this.selectedCountry.setAttribute("disabled", "true")) : this.selectedCountry = L(
2171
+ ), this.telInput.disabled && this.selectedCountry.setAttribute("disabled", "true")) : this.selectedCountry = T(
2172
2172
  "div",
2173
2173
  { class: "iti__selected-country" },
2174
2174
  this.countryContainer
2175
2175
  );
2176
- const a = L(
2176
+ const a = T(
2177
2177
  "div",
2178
2178
  { class: "iti__selected-country-primary" },
2179
2179
  this.selectedCountry
2180
2180
  );
2181
- this.selectedCountryInner = L(
2181
+ this.selectedCountryInner = T(
2182
2182
  "div",
2183
2183
  { class: N.FLAG },
2184
2184
  a
2185
- ), $ && (this.dropdownArrow = L(
2185
+ ), $ && (this.dropdownArrow = T(
2186
2186
  "div",
2187
2187
  { class: "iti__arrow", [b.HIDDEN]: "true" },
2188
2188
  a
2189
- )), i && (this.selectedDialCode = L(
2189
+ )), i && (this.selectedDialCode = T(
2190
2190
  "div",
2191
2191
  { class: "iti__selected-dial-code" },
2192
2192
  this.selectedCountry
@@ -2202,12 +2202,12 @@ class h2 {
2202
2202
  dropdownContainer: a,
2203
2203
  containerClass: u
2204
2204
  } = this.options, f = e ? "" : "iti--flexible-dropdown-width";
2205
- if (this.dropdownContent = L("div", {
2205
+ if (this.dropdownContent = T("div", {
2206
2206
  id: `iti-${this.id}__dropdown-content`,
2207
2207
  class: `iti__dropdown-content ${N.HIDE} ${f}`,
2208
2208
  role: "dialog",
2209
2209
  [b.MODAL]: "true"
2210
- }), this.isRTL && this.dropdownContent.setAttribute("dir", "rtl"), i && this._buildSearchUI(), this.countryList = L(
2210
+ }), this.isRTL && this.dropdownContent.setAttribute("dir", "rtl"), i && this._buildSearchUI(), this.countryList = T(
2211
2211
  "ul",
2212
2212
  {
2213
2213
  class: "iti__country-list",
@@ -2224,24 +2224,24 @@ class h2 {
2224
2224
  "iti--inline-dropdown": !$,
2225
2225
  [u]: !!u
2226
2226
  });
2227
- this.dropdown = L("div", { class: C }), this.dropdown.appendChild(this.dropdownContent);
2227
+ this.dropdown = T("div", { class: C }), this.dropdown.appendChild(this.dropdownContent);
2228
2228
  } else
2229
2229
  this.countryContainer.appendChild(this.dropdownContent);
2230
2230
  }
2231
2231
  _buildSearchUI() {
2232
- const { i18n: e } = this.options, $ = L(
2232
+ const { i18n: e } = this.options, $ = T(
2233
2233
  "div",
2234
2234
  { class: "iti__search-input-wrapper" },
2235
2235
  this.dropdownContent
2236
2236
  );
2237
- this.searchIcon = L(
2237
+ this.searchIcon = T(
2238
2238
  "span",
2239
2239
  {
2240
2240
  class: "iti__search-icon",
2241
2241
  [b.HIDDEN]: "true"
2242
2242
  },
2243
2243
  $
2244
- ), this.searchIcon.innerHTML = a2(), this.searchInput = L(
2244
+ ), this.searchIcon.innerHTML = a2(), this.searchInput = T(
2245
2245
  "input",
2246
2246
  {
2247
2247
  id: `iti-${this.id}__search-input`,
@@ -2258,7 +2258,7 @@ class h2 {
2258
2258
  autocomplete: "off"
2259
2259
  },
2260
2260
  $
2261
- ), this.searchClearButton = L(
2261
+ ), this.searchClearButton = T(
2262
2262
  "button",
2263
2263
  {
2264
2264
  type: "button",
@@ -2267,11 +2267,11 @@ class h2 {
2267
2267
  tabindex: "-1"
2268
2268
  },
2269
2269
  $
2270
- ), this.searchClearButton.innerHTML = c2(this.id), this.searchResultsA11yText = L(
2270
+ ), this.searchClearButton.innerHTML = c2(this.id), this.searchResultsA11yText = T(
2271
2271
  "span",
2272
2272
  { class: "iti__a11y-text" },
2273
2273
  this.dropdownContent
2274
- ), this.searchNoResults = L(
2274
+ ), this.searchNoResults = T(
2275
2275
  "div",
2276
2276
  {
2277
2277
  class: `iti__no-results ${N.HIDE}`,
@@ -2293,7 +2293,7 @@ class h2 {
2293
2293
  const f = (i = this.telInput.form) == null ? void 0 : i.querySelector(
2294
2294
  `input[name="${u.phone}"]`
2295
2295
  );
2296
- f ? this.hiddenInput = f : (this.hiddenInput = L("input", {
2296
+ f ? this.hiddenInput = f : (this.hiddenInput = T("input", {
2297
2297
  type: "hidden",
2298
2298
  name: u.phone
2299
2299
  }), e.appendChild(this.hiddenInput));
@@ -2302,7 +2302,7 @@ class h2 {
2302
2302
  const f = (s = this.telInput.form) == null ? void 0 : s.querySelector(
2303
2303
  `input[name="${u.country}"]`
2304
2304
  );
2305
- f ? this.hiddenInputCountry = f : (this.hiddenInputCountry = L("input", {
2305
+ f ? this.hiddenInputCountry = f : (this.hiddenInputCountry = T("input", {
2306
2306
  type: "hidden",
2307
2307
  name: u.country
2308
2308
  }), e.appendChild(this.hiddenInputCountry));
@@ -2314,19 +2314,18 @@ class h2 {
2314
2314
  const e = document.createDocumentFragment();
2315
2315
  for (let $ = 0; $ < this.countries.length; $++) {
2316
2316
  const i = this.countries[$], s = R1({
2317
- [N.COUNTRY_ITEM]: !0,
2318
- [N.HIGHLIGHT]: $ === 0
2319
- }), a = L("li", {
2317
+ [N.COUNTRY_ITEM]: !0
2318
+ }), a = T("li", {
2320
2319
  id: `iti-${this.id}__item-${i.iso2}`,
2321
2320
  class: s,
2322
2321
  tabindex: "-1",
2323
2322
  role: "option",
2324
2323
  [b.SELECTED]: "false"
2325
2324
  });
2326
- a.dataset.dialCode = i.dialCode, a.dataset.countryCode = i.iso2, i.nodeById[this.id] = a, this.options.showFlags && L("div", { class: `${N.FLAG} iti__${i.iso2}` }, a);
2327
- const u = L("span", { class: "iti__country-name" }, a);
2325
+ a.dataset.dialCode = i.dialCode, a.dataset.countryCode = i.iso2, i.nodeById[this.id] = a, this.options.showFlags && T("div", { class: `${N.FLAG} iti__${i.iso2}` }, a);
2326
+ const u = T("span", { class: "iti__country-name" }, a);
2328
2327
  u.textContent = i.name;
2329
- const f = L("span", { class: "iti__dial-code" }, a);
2328
+ const f = T("span", { class: "iti__dial-code" }, a);
2330
2329
  this.isRTL && f.setAttribute("dir", "ltr"), f.textContent = `+${i.dialCode}`, e.appendChild(a);
2331
2330
  }
2332
2331
  this.countryList.appendChild(e);
@@ -2380,19 +2379,27 @@ class h2 {
2380
2379
  if (C < a)
2381
2380
  $.scrollTop = _;
2382
2381
  else if (y > u) {
2383
- const T = s - f;
2384
- $.scrollTop = _ - T;
2382
+ const E = s - f;
2383
+ $.scrollTop = _ - E;
2385
2384
  }
2386
2385
  }
2387
- //* Remove highlighting from other list items and highlight the given item.
2386
+ //* Remove highlighting from the previous list item and highlight the new one.
2388
2387
  highlightListItem(e, $) {
2389
2388
  const i = this.highlightedItem;
2390
- if (i && (i.classList.remove(N.HIGHLIGHT), i.setAttribute(b.SELECTED, "false")), this.highlightedItem = e, this.highlightedItem && (this.highlightedItem.classList.add(N.HIGHLIGHT), this.highlightedItem.setAttribute(b.SELECTED, "true"), this.options.countrySearch)) {
2389
+ if (i && i.classList.remove(N.HIGHLIGHT), this.highlightedItem = e, this.highlightedItem && (this.highlightedItem.classList.add(N.HIGHLIGHT), this.options.countrySearch)) {
2391
2390
  const s = this.highlightedItem.getAttribute("id") || "";
2392
2391
  this.searchInput.setAttribute(b.ACTIVE_DESCENDANT, s);
2393
2392
  }
2394
2393
  $ && this.highlightedItem.focus();
2395
2394
  }
2395
+ updateSelectedItem(e) {
2396
+ if (this.selectedItem && this.selectedItem.dataset.countryCode !== e && (this.selectedItem.setAttribute(b.SELECTED, "false"), this.selectedItem = null), e && !this.selectedItem) {
2397
+ const $ = this.countryList.querySelector(
2398
+ `[data-country-code="${e}"]`
2399
+ );
2400
+ $ && ($.setAttribute(b.SELECTED, "true"), this.selectedItem = $);
2401
+ }
2402
+ }
2396
2403
  //* Country search: Filter the country list to the given array of countries.
2397
2404
  filterCountries(e) {
2398
2405
  this.countryList.innerHTML = "";
@@ -2406,7 +2413,7 @@ class h2 {
2406
2413
  destroy() {
2407
2414
  this.telInput.iti = void 0, delete this.telInput.dataset.intlTelInputId, this.options.separateDialCode && (this.telInput.style.paddingLeft = this.originalPaddingLeft);
2408
2415
  const e = this.telInput.parentNode;
2409
- e.before(this.telInput), e.remove(), this.telInput = null, this.countryContainer = null, this.selectedCountry = null, this.selectedCountryInner = null, this.selectedDialCode = null, this.dropdownArrow = null, this.dropdownContent = null, this.searchInput = null, this.searchIcon = null, this.searchClearButton = null, this.searchNoResults = null, this.searchResultsA11yText = null, this.countryList = null, this.dropdown = null, this.hiddenInput = null, this.hiddenInputCountry = null, this.highlightedItem = null;
2416
+ e.before(this.telInput), e.remove(), this.telInput = null, this.countryContainer = null, this.selectedCountry = null, this.selectedCountryInner = null, this.selectedDialCode = null, this.dropdownArrow = null, this.dropdownContent = null, this.searchInput = null, this.searchIcon = null, this.searchClearButton = null, this.searchNoResults = null, this.searchResultsA11yText = null, this.countryList = null, this.dropdown = null, this.hiddenInput = null, this.hiddenInputCountry = null, this.highlightedItem = null, this.selectedItem = null;
2410
2417
  for (const $ of this.countries)
2411
2418
  delete $.nodeById[this.id];
2412
2419
  this.countries = null;
@@ -2455,8 +2462,8 @@ const f2 = (h) => {
2455
2462
  const f = i[u.dialCode][0];
2456
2463
  for (const C of u.areaCodes) {
2457
2464
  for (let y = 1; y < C.length; y++) {
2458
- const _ = C.substring(0, y), T = u.dialCode + _;
2459
- s(f, T), s(u.iso2, T);
2465
+ const _ = C.substring(0, y), E = u.dialCode + _;
2466
+ s(f, E), s(u.iso2, E);
2460
2467
  }
2461
2468
  s(u.iso2, u.dialCode + C);
2462
2469
  }
@@ -2520,19 +2527,19 @@ const f2 = (h) => {
2520
2527
  "889"
2521
2528
  ], S0 = (h) => {
2522
2529
  const e = N1(h);
2523
- if (e.startsWith(T0.NANP) && e.length >= 4) {
2530
+ if (e.startsWith(b0.NANP) && e.length >= 4) {
2524
2531
  const $ = e.substring(1, 4);
2525
2532
  return N2.includes($);
2526
2533
  }
2527
2534
  return !1;
2528
2535
  };
2529
2536
  for (const h of t1)
2530
- h.name = b0[h.iso2];
2537
+ h.name = L0[h.iso2];
2531
2538
  let E2 = 0;
2532
2539
  const S2 = new Set(t1.map((h) => h.iso2)), O1 = (h) => S2.has(h);
2533
2540
  class B1 {
2534
2541
  constructor(e, $ = {}) {
2535
- this.id = E2++, this.options = { ...L0, ...$ }, o2(this.options, b0), this.ui = new h2(e, this.options, this.id), this.isAndroid = B1._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = f2(this.options);
2542
+ this.id = E2++, this.options = { ...T0, ...$ }, o2(this.options, L0), this.ui = new h2(e, this.options, this.id), this.isAndroid = B1._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = f2(this.options);
2536
2543
  const { dialCodes: i, dialCodeMaxLen: s, dialCodeToIso2Map: a } = C2(
2537
2544
  this.countries
2538
2545
  );
@@ -2589,10 +2596,10 @@ class B1 {
2589
2596
  //* 1. Extracting a dial code from the given number
2590
2597
  //* 2. Using explicit initialCountry
2591
2598
  _setInitialState(e = !1) {
2592
- const $ = this.ui.telInput.getAttribute("value"), i = this._normaliseNumerals($), s = this._getTelInputValue(), u = i && i.startsWith("+") && (!s || !s.startsWith("+")) ? i : s, f = this._getDialCode(u), C = S0(u), { initialCountry: y, geoIpLookup: _ } = this.options, T = y === P1.AUTO && _;
2599
+ const $ = this.ui.telInput.getAttribute("value"), i = this._normaliseNumerals($), s = this._getTelInputValue(), u = i && i.startsWith("+") && (!s || !s.startsWith("+")) ? i : s, f = this._getDialCode(u), C = S0(u), { initialCountry: y, geoIpLookup: _ } = this.options, E = y === P1.AUTO && _;
2593
2600
  if (f && !C)
2594
2601
  this._updateCountryFromNumber(u);
2595
- else if (!T || e) {
2602
+ else if (!E || e) {
2596
2603
  const B = y ? y.toLowerCase() : "";
2597
2604
  O1(B) ? this._setCountry(B) : f && C ? this._setCountry(s2.ISO2) : this._setCountry("");
2598
2605
  }
@@ -2701,10 +2708,10 @@ class B1 {
2701
2708
  return;
2702
2709
  }
2703
2710
  this._updateCountryFromNumber(y) && this._triggerCountryChange();
2704
- const _ = (C == null ? void 0 : C.data) && d1.NON_PLUS_NUMERIC.test(C.data), T = (C == null ? void 0 : C.inputType) === _0.PASTE && y;
2705
- _ || T && !e ? u = !0 : d1.NON_PLUS_NUMERIC.test(y) || (u = !1);
2706
- const B = (C == null ? void 0 : C.detail) && C.detail.isSetNumber, E = this.userNumeralSet === "ascii";
2707
- if ($ && !u && !B && E) {
2711
+ const _ = (C == null ? void 0 : C.data) && d1.NON_PLUS_NUMERIC.test(C.data), E = (C == null ? void 0 : C.inputType) === _0.PASTE && y;
2712
+ _ || E && !e ? u = !0 : d1.NON_PLUS_NUMERIC.test(y) || (u = !1);
2713
+ const B = (C == null ? void 0 : C.detail) && C.detail.isSetNumber, S = this.userNumeralSet === "ascii";
2714
+ if ($ && !u && !B && S) {
2708
2715
  const w = this.ui.telInput.selectionStart || 0, k = y.substring(
2709
2716
  0,
2710
2717
  w
@@ -2744,7 +2751,7 @@ class B1 {
2744
2751
  return;
2745
2752
  }
2746
2753
  if (e) {
2747
- const f = this._getTelInputValue(), y = !f.startsWith("+") && this.ui.telInput.selectionStart === 0 && u.key === "+", _ = this._normaliseNumerals(u.key), T = /^[0-9]$/.test(_), B = $ ? T : y || T, E = this.ui.telInput, w = E.selectionStart, H = E.selectionEnd, k = f.slice(0, w), W = f.slice(H), D = k + u.key + W, K = this._getFullNumber(D), V = m.utils.getCoreNumber(
2754
+ const f = this._getTelInputValue(), y = !f.startsWith("+") && this.ui.telInput.selectionStart === 0 && u.key === "+", _ = this._normaliseNumerals(u.key), E = /^[0-9]$/.test(_), B = $ ? E : y || E, S = this.ui.telInput, w = S.selectionStart, H = S.selectionEnd, k = f.slice(0, w), W = f.slice(H), D = k + u.key + W, K = this._getFullNumber(D), V = m.utils.getCoreNumber(
2748
2755
  K,
2749
2756
  this.selectedCountryData.iso2
2750
2757
  ), $1 = this.maxCoreNumberLength && V.length > this.maxCoreNumberLength, a1 = this._getNewCountryFromNumber(K) !== null;
@@ -2761,7 +2768,7 @@ class B1 {
2761
2768
  if (this.options.strictMode) {
2762
2769
  const e = ($) => {
2763
2770
  $.preventDefault();
2764
- const i = this.ui.telInput, s = i.selectionStart, a = i.selectionEnd, u = this._getTelInputValue(), f = u.slice(0, s), C = u.slice(a), y = this.selectedCountryData.iso2, _ = $.clipboardData.getData("text"), T = this._normaliseNumerals(_), B = s === 0 && a > 0, E = !u.startsWith("+") || B, w = T.replace(d1.NON_PLUS_NUMERIC_GLOBAL, ""), H = w.startsWith("+"), k = w.replace(/\+/g, ""), W = H && E ? `+${k}` : k;
2771
+ const i = this.ui.telInput, s = i.selectionStart, a = i.selectionEnd, u = this._getTelInputValue(), f = u.slice(0, s), C = u.slice(a), y = this.selectedCountryData.iso2, _ = $.clipboardData.getData("text"), E = this._normaliseNumerals(_), B = s === 0 && a > 0, S = !u.startsWith("+") || B, w = E.replace(d1.NON_PLUS_NUMERIC_GLOBAL, ""), H = w.startsWith("+"), k = w.replace(/\+/g, ""), W = H && S ? `+${k}` : k;
2765
2772
  let D = f + W + C;
2766
2773
  if (D.length > 5) {
2767
2774
  let V = m.utils.getCoreNumber(D, y);
@@ -2979,18 +2986,18 @@ class B1 {
2979
2986
  return y[0] === s ? null : y[0];
2980
2987
  if (!s && this.defaultCountry && y.includes(this.defaultCountry))
2981
2988
  return this.defaultCountry;
2982
- if (a === T0.NANP && S0(f))
2989
+ if (a === b0.NANP && S0(f))
2983
2990
  return null;
2984
- const { areaCodes: T, priority: B } = this.selectedCountryData;
2985
- if (T) {
2986
- const W = T.map(
2991
+ const { areaCodes: E, priority: B } = this.selectedCountryData;
2992
+ if (E) {
2993
+ const W = E.map(
2987
2994
  (D) => `${a}${D}`
2988
2995
  );
2989
2996
  for (const D of W)
2990
2997
  if (f.startsWith(D))
2991
2998
  return null;
2992
2999
  }
2993
- const w = T && !(B === 0) && f.length > C.length, H = s && y.includes(s) && !w, k = s === y[0];
3000
+ const w = E && !(B === 0) && f.length > C.length, H = s && y.includes(s) && !w, k = s === y[0];
2994
3001
  if (!H && !k)
2995
3002
  return y[0];
2996
3003
  } else if (i.startsWith("+") && f.length) {
@@ -3000,25 +3007,25 @@ class B1 {
3000
3007
  return this.defaultCountry;
3001
3008
  return null;
3002
3009
  }
3003
- //* Update the selected country, dial code (if separateDialCode), placeholder, title, and active list item.
3010
+ //* Update the selected country, dial code (if separateDialCode), placeholder, title, and selected list item.
3004
3011
  //* Note: called from _setInitialState, _updateCountryFromNumber, _selectListItem, setCountry.
3005
3012
  _setCountry(e) {
3006
- const { separateDialCode: $, showFlags: i, i18n: s } = this.options, a = this.selectedCountryData.iso2 || "";
3007
- if (this.selectedCountryData = e ? this.countryByIso2.get(e) : {}, this.selectedCountryData.iso2 && (this.defaultCountry = this.selectedCountryData.iso2), this.ui.selectedCountry) {
3008
- const u = e && i ? `${N.FLAG} iti__${e}` : `${N.FLAG} ${N.GLOBE}`;
3009
- let f, C;
3013
+ const { separateDialCode: $, showFlags: i, i18n: s, allowDropdown: a } = this.options, u = this.selectedCountryData.iso2 || "";
3014
+ if (a && this.ui.updateSelectedItem(e), this.selectedCountryData = e ? this.countryByIso2.get(e) : {}, this.selectedCountryData.iso2 && (this.defaultCountry = this.selectedCountryData.iso2), this.ui.selectedCountry) {
3015
+ const f = e && i ? `${N.FLAG} iti__${e}` : `${N.FLAG} ${N.GLOBE}`;
3016
+ let C, y;
3010
3017
  if (e) {
3011
- const { name: y, dialCode: _ } = this.selectedCountryData;
3012
- C = y, f = s.selectedCountryAriaLabel.replace("${countryName}", y).replace("${dialCode}", `+${_}`);
3018
+ const { name: _, dialCode: E } = this.selectedCountryData;
3019
+ y = _, C = s.selectedCountryAriaLabel.replace("${countryName}", _).replace("${dialCode}", `+${E}`);
3013
3020
  } else
3014
- C = s.noCountrySelected, f = s.noCountrySelected;
3015
- this.ui.selectedCountryInner.className = u, this.ui.selectedCountry.setAttribute("title", C), this.ui.selectedCountry.setAttribute(b.LABEL, f);
3021
+ y = s.noCountrySelected, C = s.noCountrySelected;
3022
+ this.ui.selectedCountryInner.className = f, this.ui.selectedCountry.setAttribute("title", y), this.ui.selectedCountry.setAttribute(b.LABEL, C);
3016
3023
  }
3017
3024
  if ($) {
3018
- const u = this.selectedCountryData.dialCode ? `+${this.selectedCountryData.dialCode}` : "";
3019
- this.ui.selectedDialCode.textContent = u, this.ui.updateInputPadding();
3025
+ const f = this.selectedCountryData.dialCode ? `+${this.selectedCountryData.dialCode}` : "";
3026
+ this.ui.selectedDialCode.textContent = f, this.ui.updateInputPadding();
3020
3027
  }
3021
- return this._updatePlaceholder(), this._updateMaxLength(), a !== e;
3028
+ return this._updatePlaceholder(), this._updateMaxLength(), u !== e;
3022
3029
  }
3023
3030
  //* Update the maximum valid number length for the currently selected country.
3024
3031
  _updateMaxLength() {
@@ -3074,7 +3081,7 @@ class B1 {
3074
3081
  }
3075
3082
  //* Close the dropdown and unbind any listeners.
3076
3083
  _closeDropdown() {
3077
- this.ui.dropdownContent.classList.contains(N.HIDE) || (this.ui.dropdownContent.classList.add(N.HIDE), this.ui.selectedCountry.setAttribute(b.EXPANDED, "false"), this.ui.highlightedItem && this.ui.highlightedItem.setAttribute(b.SELECTED, "false"), this.options.countrySearch && this.ui.searchInput.removeAttribute(b.ACTIVE_DESCENDANT), this.ui.dropdownArrow.classList.remove(N.ARROW_UP), this.dropdownAbortController.abort(), this.dropdownAbortController = null, this.options.dropdownContainer && this.ui.dropdown.remove(), this._trigger(_1.CLOSE_COUNTRY_DROPDOWN));
3084
+ this.ui.dropdownContent.classList.contains(N.HIDE) || (this.ui.dropdownContent.classList.add(N.HIDE), this.ui.selectedCountry.setAttribute(b.EXPANDED, "false"), this.options.countrySearch && (this.ui.searchInput.removeAttribute(b.ACTIVE_DESCENDANT), this.ui.highlightedItem && (this.ui.highlightedItem.classList.remove(N.HIGHLIGHT), this.ui.highlightedItem = null)), this.ui.dropdownArrow.classList.remove(N.ARROW_UP), this.dropdownAbortController.abort(), this.dropdownAbortController = null, this.options.dropdownContainer && this.ui.dropdown.remove(), this._trigger(_1.CLOSE_COUNTRY_DROPDOWN));
3078
3085
  }
3079
3086
  //* Replace any existing dial code with the new one
3080
3087
  //* Note: called from _selectListItem and setCountry
@@ -3257,7 +3264,7 @@ class B1 {
3257
3264
  this.ui.telInput.disabled = e, e ? this.ui.selectedCountry.setAttribute("disabled", "true") : this.ui.selectedCountry.removeAttribute("disabled");
3258
3265
  }
3259
3266
  }
3260
- const b2 = (h) => {
3267
+ const L2 = (h) => {
3261
3268
  if (!m.utils && !m.startedLoadingUtilsScript) {
3262
3269
  let e;
3263
3270
  if (typeof h == "function")
@@ -3295,7 +3302,7 @@ const b2 = (h) => {
3295
3302
  return m.instances[$.id] = $, h.iti = $, $;
3296
3303
  },
3297
3304
  {
3298
- defaults: L0,
3305
+ defaults: T0,
3299
3306
  //* Using a static var like this allows us to mock it in the tests.
3300
3307
  documentReady: () => document.readyState === "complete",
3301
3308
  //* Get the country data object.
@@ -3307,10 +3314,10 @@ const b2 = (h) => {
3307
3314
  },
3308
3315
  //* A map from instance ID to instance object.
3309
3316
  instances: {},
3310
- attachUtils: b2,
3317
+ attachUtils: L2,
3311
3318
  startedLoadingUtilsScript: !1,
3312
3319
  startedLoadingAutoCountry: !1,
3313
- version: "25.13.1"
3320
+ version: "25.13.3"
3314
3321
  }
3315
3322
  );
3316
3323
  (function() {
@@ -3366,7 +3373,7 @@ const b2 = (h) => {
3366
3373
  }
3367
3374
  new y();
3368
3375
  const _ = {};
3369
- class T {
3376
+ class E {
3370
3377
  constructor() {
3371
3378
  var t = h.trustedTypes && h.trustedTypes.emptyHTML || "";
3372
3379
  if (_ !== _) throw Error("SafeHtml is not meant to be built directly");
@@ -3376,7 +3383,7 @@ const b2 = (h) => {
3376
3383
  return this.g.toString();
3377
3384
  }
3378
3385
  }
3379
- new T();
3386
+ new E();
3380
3387
  function B(d, t) {
3381
3388
  switch (this.g = d, this.l = !!t.aa, this.h = t.i, this.s = t.type, this.o = !1, this.h) {
3382
3389
  case H:
@@ -3385,12 +3392,12 @@ const b2 = (h) => {
3385
3392
  case D:
3386
3393
  case K:
3387
3394
  case w:
3388
- case E:
3395
+ case S:
3389
3396
  this.o = !0;
3390
3397
  }
3391
3398
  this.j = t.defaultValue;
3392
3399
  }
3393
- var E = 1, w = 2, H = 3, k = 4, W = 6, D = 16, K = 18;
3400
+ var S = 1, w = 2, H = 3, k = 4, W = 6, D = 16, K = 18;
3394
3401
  function V(d, t) {
3395
3402
  for (this.h = d, this.g = {}, d = 0; d < t.length; d++) {
3396
3403
  var n = t[d];
@@ -3454,7 +3461,7 @@ const b2 = (h) => {
3454
3461
  var r = c1(d, t);
3455
3462
  return d.j[t].l ? r[n || 0] : r;
3456
3463
  }
3457
- function S(d, t) {
3464
+ function L(d, t) {
3458
3465
  if (U(d, t)) d = g(d, t);
3459
3466
  else d: {
3460
3467
  if (d = d.j[t], d.j === void 0) if (t = d.s, t === Boolean) d.j = !1;
@@ -4718,10 +4725,10 @@ const b2 = (h) => {
4718
4725
  ,
4719
4726
  ,
4720
4727
  [9, 10, 11]
4721
- ], [, , "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|2\\d{3}|3(?:(?:2\\d|50)\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389]|9[0-8])|600)|646[59])|(?:(?:3[2-5]|[47][1-35]|5[1-3578])\\d|6(?:00|[13-57]\\d)|8(?:0[1-9]|[1-9]\\d))\\d\\d|9(?:(?:10[01]|(?:[2458]\\d|7[1-9])\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}", , , , "600123456", , , [9]], [
4728
+ ], [, , "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}", , , , "600123456", , , [9]], [
4722
4729
  ,
4723
4730
  ,
4724
- "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|2\\d{3}|3(?:(?:2\\d|50)\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389]|9[0-8])|600)|646[59])|(?:(?:3[2-5]|[47][1-35]|5[1-3578]|6[13-57])\\d|8(?:0[1-8]|[1-9]\\d))\\d\\d|9(?:(?:10[01]|(?:[2458]\\d|7[1-9])\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}",
4731
+ "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",
4725
4732
  ,
4726
4733
  ,
4727
4734
  ,
@@ -5221,7 +5228,7 @@ const b2 = (h) => {
5221
5228
  EE: [, [, , "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", , , , , , , [7, 8, 10]], [, , "(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}", , , , "3212345", , , [7]], [
5222
5229
  ,
5223
5230
  ,
5224
- "(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[013-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",
5231
+ "(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|[2-79]\\d\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[013-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",
5225
5232
  ,
5226
5233
  ,
5227
5234
  ,
@@ -5350,7 +5357,7 @@ const b2 = (h) => {
5350
5357
  ], [
5351
5358
  ,
5352
5359
  ,
5353
- "11667[01]\\d{3}|(?:11(?:1(?:1[1-468]|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}",
5360
+ "(?:11(?:[124]\\d\\d|3(?:[0-79]\\d|8[0-7])|5(?:[02-9]\\d|1[0-57-9])|6(?:[02-79]\\d|1[0-57-9]|8[0-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}",
5354
5361
  ,
5355
5362
  ,
5356
5363
  ,
@@ -5541,7 +5548,7 @@ const b2 = (h) => {
5541
5548
  GE: [, [, , "(?:[3-57]\\d\\d|800)\\d{6}", , , , , , , [9], [6, 7]], [, , "(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}", , , , "322123456", , , , [6, 7]], [
5542
5549
  ,
5543
5550
  ,
5544
- "5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0(?:1[09]|70)|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|1[12]|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}",
5551
+ "5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0(?:1[09]|70)|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|1[12]|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-6])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}",
5545
5552
  ,
5546
5553
  ,
5547
5554
  ,
@@ -5773,7 +5780,7 @@ const b2 = (h) => {
5773
5780
  ,
5774
5781
  ,
5775
5782
  "2201234"
5776
- ], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-49]|70))\\d{4}", , , , "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]]],
5783
+ ], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-59]|70))\\d{4}", , , , "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]]],
5777
5784
  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]], [
5778
5785
  ,
5779
5786
  ,
@@ -5785,7 +5792,7 @@ const b2 = (h) => {
5785
5792
  ,
5786
5793
  ,
5787
5794
  [8]
5788
- ], [, , "(?:4(?:44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:3[0-4]|4[0-48]|6[0-5]))|5(?:35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-25])|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-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}", , , , "51234567", , , [8]], [, , "800\\d{6}", , , , "800123456", , , [9]], [
5795
+ ], [, , "(?:4(?:44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|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-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}", , , , "51234567", , , [8]], [, , "800\\d{6}", , , , "800123456", , , [9]], [
5789
5796
  ,
5790
5797
  ,
5791
5798
  "900(?:[0-24-9]\\d{7}|3\\d{1,4})",
@@ -6005,7 +6012,7 @@ const b2 = (h) => {
6005
6012
  ], [
6006
6013
  ,
6007
6014
  ,
6008
- "(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",
6015
+ "(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",
6009
6016
  ,
6010
6017
  ,
6011
6018
  ,
@@ -6013,7 +6020,7 @@ const b2 = (h) => {
6013
6020
  ,
6014
6021
  ,
6015
6022
  [10]
6016
- ], [, , "000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))", , , , "1800123456"], [, , "186[12]\\d{9}", , , , "1861123456789", , , [13]], [, , "1860\\d{7}", , , , "18603451234", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "IN", 91, "00", "0", , , "0", , , , [[, "(\\d{7})", "$1", ["575"]], [, "(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], , , 1], [, "(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], , , 1], [
6023
+ ], [, , "000800\\d{7}|180(?:0\\d{4,9}|3\\d{9})", , , , "1800123456"], [, , "186[12]\\d{9}", , , , "1861123456789", , , [13]], [, , "1860\\d{7}", , , , "18603451234", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "IN", 91, "00", "0", , , "0", , , , [[, "(\\d{7})", "$1", ["575"]], [, "(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], , , 1], [, "(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], , , 1], [
6017
6024
  ,
6018
6025
  "(\\d{3})(\\d{3})(\\d{4})",
6019
6026
  "$1 $2 $3",
@@ -6037,9 +6044,9 @@ const b2 = (h) => {
6037
6044
  "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807",
6038
6045
  "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]",
6039
6046
  "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"
6040
- ], "0$1", , 1], [, "(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", [
6041
- "1(?:6|8[06])",
6042
- "1(?:6|8[06]0)"
6047
+ ], "0$1", , 1], [, "(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", [
6048
+ "18[06]",
6049
+ "18[06]0"
6043
6050
  ], , , 1], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]], [, "(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], , , 1]], [[, "(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], , , 1], [, "(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], , , 1], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", [
6044
6051
  "11|2[02]|33|4[04]|79[1-7]|80[2-46]",
6045
6052
  "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])",
@@ -6060,10 +6067,10 @@ const b2 = (h) => {
6060
6067
  "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807",
6061
6068
  "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]",
6062
6069
  "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"
6063
- ], "0$1", , 1], [, "(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", [
6064
- "1(?:6|8[06])",
6065
- "1(?:6|8[06]0)"
6066
- ], , , 1], [, "(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], , , 1]], [, , , , , , , , , [-1]], , , [, , "1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"], [, , "140\\d{7}", , , , "1409305260", , , [10]], , , [, , , , , , , , , [-1]]],
6070
+ ], "0$1", , 1], [, "(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", [
6071
+ "18[06]",
6072
+ "18[06]0"
6073
+ ], , , 1], [, "(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], , , 1]], [, , , , , , , , , [-1]], , , [, , "1800\\d{4,9}|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"], [, , "140\\d{7}", , , , "1409305260", , , [10]], , , [, , , , , , , , , [-1]]],
6067
6074
  IO: [
6068
6075
  ,
6069
6076
  [, , "3\\d{6}", , , , , , , [7]],
@@ -6475,7 +6482,7 @@ const b2 = (h) => {
6475
6482
  [, "(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1", "0$CC-$1"],
6476
6483
  [, "(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1", "0$CC-$1"],
6477
6484
  [, "(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1", "0$CC-$1"]
6478
- ], [, , "15\\d{7,8}", , , , "1523456789", , , [9, 10]], , , [, , "00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})", , , , , , , [11, 12, 13, 14]], [, , "1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}", , , , "15441234", , , [8]], , , [, , , , , , , , , [-1]]],
6485
+ ], [, , "15\\d{7,8}", , , , "1523456789", , , [9, 10]], , , [, , "00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})", , , , , , , [11, 12, 13, 14]], [, , "1(?:5(?:22|33|44|5[15]|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|11|33|44|55|66|77|99))\\d{4}", , , , "15441234", , , [8]], , , [, , , , , , , , , [-1]]],
6479
6486
  KW: [, [, , "18\\d{5}|(?:[2569]\\d|41)\\d{6}", , , , , , , [7, 8]], [, , "2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}", , , , "22345678", , , [8]], [
6480
6487
  ,
6481
6488
  ,
@@ -6812,7 +6819,7 @@ const b2 = (h) => {
6812
6819
  ,
6813
6820
  ,
6814
6821
  [7]
6815
- ], [, , "3[2-46-9]\\d{7}", , , , "321234567"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "22\\d{7}", , , , "221234567"], "MG", 261, "00", "0", , , "([24-9]\\d{6})$|0", "20$1", , , [[, "(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
6822
+ ], [, , "3[2-9]\\d{7}", , , , "321234567"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "22\\d{7}", , , , "221234567"], "MG", 261, "00", "0", , , "([24-9]\\d{6})$|0", "20$1", , , [[, "(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
6816
6823
  MH: [
6817
6824
  ,
6818
6825
  [, , "329\\d{4}|(?:[256]\\d|45)\\d{5}", , , , , , , [7]],
@@ -7853,43 +7860,24 @@ const b2 = (h) => {
7853
7860
  ,
7854
7861
  ,
7855
7862
  [8]
7856
- ], [, , "89(?:8[02-9]|90)\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|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", , , , , , , , [[, "(\\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])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [
7863
+ ], [, , "89(?:8[02-9]|9[0-4])\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|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", , , , , , , , [[, "(\\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])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [
7857
7864
  ,
7858
7865
  "(\\d{4})(\\d{4})(\\d{3})",
7859
7866
  "$1 $2 $3",
7860
7867
  ["7"]
7861
7868
  ], [, "(\\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]]],
7862
- SH: [
7863
- ,
7864
- [, , "(?:[256]\\d|8)\\d{3}", , , , , , , [4, 5]],
7865
- [, , "2(?:[0-57-9]\\d|6[4-9])\\d\\d", , , , "22158"],
7866
- [, , "[56]\\d{4}", , , , "51234", , , [5]],
7867
- [, , , , , , , , , [-1]],
7868
- [, , , , , , , , , [-1]],
7869
- [, , , , , , , , , [-1]],
7870
- [, , , , , , , , , [-1]],
7871
- [, , "262\\d\\d", , , , "26212", , , [5]],
7872
- "SH",
7873
- 290,
7874
- "00",
7875
- ,
7876
- ,
7869
+ SH: [, [, , "(?:[256]\\d|8)\\d{3}", , , , , , , [4, 5]], [, , "2(?:[0-57-9]\\d|6[4-9])\\d\\d", , , , "22158"], [
7877
7870
  ,
7878
7871
  ,
7872
+ "[56]\\d{4}",
7879
7873
  ,
7880
7874
  ,
7881
7875
  ,
7876
+ "51234",
7882
7877
  ,
7883
7878
  ,
7884
- [, , , , , , , , , [-1]],
7885
- 1,
7886
- "[256]",
7887
- [, , , , , , , , , [-1]],
7888
- [, , , , , , , , , [-1]],
7889
- ,
7890
- ,
7891
- [, , , , , , , , , [-1]]
7892
- ],
7879
+ [5]
7880
+ ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "262\\d\\d", , , , "26212", , , [5]], "SH", 290, "00", , , , , , , , , , [, , , , , , , , , [-1]], 1, "[256]", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7893
7881
  SI: [
7894
7882
  ,
7895
7883
  [, , "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", , , , , , , [5, 6, 7, 8]],
@@ -7921,94 +7909,82 @@ const b2 = (h) => {
7921
7909
  ,
7922
7910
  [, , , , , , , , , [-1]]
7923
7911
  ],
7924
- SJ: [, [
7925
- ,
7926
- ,
7927
- "0\\d{4}|(?:[489]\\d|79)\\d{6}",
7928
- ,
7912
+ 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[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}", , , , "02000"], , , [
7929
7913
  ,
7930
7914
  ,
7915
+ "81[23]\\d{5}",
7931
7916
  ,
7932
7917
  ,
7933
7918
  ,
7934
- [5, 8]
7935
- ], [, , "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[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}", , , , "02000"], , , [, , "81[23]\\d{5}", , , , "81212345", , , [8]]],
7936
- SK: [, [
7937
- ,
7938
- ,
7939
- "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",
7940
- ,
7941
- ,
7942
- ,
7919
+ "81212345",
7943
7920
  ,
7944
7921
  ,
7922
+ [8]
7923
+ ]],
7924
+ SK: [
7945
7925
  ,
7946
- [6, 7, 9]
7947
- ], [, , "(?: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]], [, , "6(?:02|5[0-4]|9[0-6])\\d{6}", , , , "690123456", , , [9]], "SK", 421, "00", "0", , , "0", , , , [[
7926
+ [, , "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", , , , , , , [6, 7, 9]],
7927
+ [, , "(?: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"],
7928
+ [, , "909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}", , , , "912123456", , , [9]],
7929
+ [, , "800\\d{6}", , , , "800123456", , , [9]],
7930
+ [, , "9(?:00|[78]\\d)\\d{6}", , , , "900123456", , , [9]],
7931
+ [, , "8[5-9]\\d{7}", , , , "850123456", , , [9]],
7932
+ [, , , , , , , , , [-1]],
7933
+ [, , "6(?:02|5[0-4]|9[0-6])\\d{6}", , , , "690123456", , , [9]],
7934
+ "SK",
7935
+ 421,
7936
+ "00",
7937
+ "0",
7948
7938
  ,
7949
- "(\\d)(\\d{2})(\\d{3,4})",
7950
- "$1 $2 $3",
7951
- ["21"],
7952
- "0$1"
7953
- ], [, "(\\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"], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], [
7954
7939
  ,
7955
- "(\\d)(\\d{3})(\\d{3})(\\d{2})",
7956
- "$1/$2 $3 $4",
7957
- ["2"],
7958
- "0$1"
7959
- ], [, "(\\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]]],
7960
- SL: [, [, , "(?:[237-9]\\d|66)\\d{6}", , , , , , , [8], [6]], [, , "22[2-4][2-9]\\d{4}", , , , "22221234", , , , [6]], [, , "(?:25|3[0-5]|66|7[1-9]|8[08]|9[09])\\d{6}", , , , "25123456"], [, , , , , , , , , [-1]], [
7940
+ "0",
7961
7941
  ,
7962
7942
  ,
7963
7943
  ,
7944
+ [[, "(\\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"]],
7945
+ [[, "(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", [
7946
+ "[3-5][1-8]1",
7947
+ "[3-5][1-8]1[67]"
7948
+ ], "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"]],
7949
+ [, , "9090\\d{3}", , , , "9090123", , , [7]],
7964
7950
  ,
7965
7951
  ,
7952
+ [, , "9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}", , , , , , , [7, 9]],
7953
+ [, , "96\\d{7}", , , , "961234567", , , [9]],
7966
7954
  ,
7967
7955
  ,
7956
+ [, , , , , , , , , [-1]]
7957
+ ],
7958
+ SL: [, [, , "(?:[237-9]\\d|66)\\d{6}", , , , , , , [8], [6]], [, , "22[2-4][2-9]\\d{4}", , , , "22221234", , , , [6]], [
7968
7959
  ,
7969
7960
  ,
7970
- [-1]
7971
- ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SL", 232, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7972
- SM: [
7961
+ "(?:25|3[0-5]|66|7[1-9]|8[08]|9[09])\\d{6}",
7973
7962
  ,
7974
- [, , "(?:0549|[5-7]\\d)\\d{6}", , , , , , , [8, 10], [6]],
7975
- [, , "0549(?:8[0157-9]|9\\d)\\d{4}", , , , "0549886377", , , [10], [6]],
7976
- [, , "6[16]\\d{6}", , , , "66661212", , , [8]],
7977
- [, , , , , , , , , [-1]],
7978
- [, , "7[178]\\d{6}", , , , "71123456", , , [8]],
7979
- [, , , , , , , , , [-1]],
7980
- [, , , , , , , , , [-1]],
7981
- [, , "5[158]\\d{6}", , , , "58001110", , , [8]],
7982
- "SM",
7983
- 378,
7984
- "00",
7985
7963
  ,
7986
7964
  ,
7965
+ "25123456"
7966
+ ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SL", 232, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7967
+ SM: [, [, , "(?:0549|[5-7]\\d)\\d{6}", , , , , , , [8, 10], [6]], [, , "0549(?:8[0157-9]|9\\d)\\d{4}", , , , "0549886377", , , [10], [6]], [, , "6[16]\\d{6}", , , , "66661212", , , [8]], [, , , , , , , , , [-1]], [, , "7[178]\\d{6}", , , , "71123456", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [
7987
7968
  ,
7988
- "([89]\\d{5})$",
7989
- "0549$1",
7990
7969
  ,
7970
+ "5[158]\\d{6}",
7991
7971
  ,
7992
- [[, "(\\d{6})", "$1", ["[89]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], [, "(\\d{4})(\\d{6})", "$1 $2", ["0"]]],
7993
- [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], [, "(\\d{4})(\\d{6})", "$1 $2", ["0"]]],
7994
- [, , , , , , , , , [-1]],
7995
7972
  ,
7996
7973
  ,
7997
- [, , , , , , , , , [-1]],
7998
- [, , , , , , , , , [-1]],
7974
+ "58001110",
7999
7975
  ,
8000
7976
  ,
8001
- [, , , , , , , , , [-1]]
8002
- ],
8003
- 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"], [, , "7(?:[015-8]\\d|21|90)\\d{6}", , , , "701234567"], [
7977
+ [8]
7978
+ ], "SM", 378, "00", , , , "([89]\\d{5})$", "0549$1", , , [[, "(\\d{6})", "$1", ["[89]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], [, "(\\d{4})(\\d{6})", "$1 $2", ["0"]]], [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], [, "(\\d{4})(\\d{6})", "$1 $2", ["0"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7979
+ 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"], [
8004
7980
  ,
8005
7981
  ,
8006
- "800\\d{6}",
7982
+ "7(?:[015-8]\\d|21|90)\\d{6}",
8007
7983
  ,
8008
7984
  ,
8009
7985
  ,
8010
- "800123456"
8011
- ], [, , "88[4689]\\d{6}", , , , "884123456"], [, , "81[02468]\\d{6}", , , , "810123456"], [, , , , , , , , , [-1]], [, , "(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}", , , , "933301234"], "SN", 221, "00", , , , , , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7986
+ "701234567"
7987
+ ], [, , "800\\d{6}", , , , "800123456"], [, , "88[4689]\\d{6}", , , , "884123456"], [, , "81[02468]\\d{6}", , , , "810123456"], [, , , , , , , , , [-1]], [, , "(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}", , , , "933301234"], "SN", 221, "00", , , , , , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8012
7988
  SO: [, [, , "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", , , , , , , [6, 7, 8, 9]], [
8013
7989
  ,
8014
7990
  ,
@@ -8020,32 +7996,32 @@ const b2 = (h) => {
8020
7996
  ,
8021
7997
  ,
8022
7998
  [6, 7]
8023
- ], [, , "(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}", , , , "71123456", , , [7, 8, 9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SO", 252, "00", "0", , , "0", , , , [
8024
- [, "(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]],
8025
- [, "(\\d{6})", "$1", ["[134]"]],
8026
- [, "(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],
8027
- [, "(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]],
8028
- [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]],
8029
- [, "(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]
8030
- ], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8031
- SR: [, [, , "(?:[2-5]|[6-8]\\d|90)\\d{5}", , , , , , , [6, 7]], [, , "(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}", , , , "211234", , , [6]], [, , "(?:6[08]|7[124-7]|8[1-9])\\d{5}", , , , "7412345", , , [7]], [, , "80\\d{5}", , , , "8012345", , , [7]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "56\\d{4}", , , , "561234", , , [6]], "SR", 597, "00", , , , , , , , [
8032
- [, "(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]],
8033
- [, "(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]],
8034
- [, "(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]
8035
- ], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8036
- SS: [, [, , "[19]\\d{8}", , , , , , , [9]], [, , "1[89]\\d{7}", , , , "181234567"], [, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SS", 211, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8037
- ST: [, [
7999
+ ], [, , "(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}", , , , "71123456", , , [7, 8, 9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SO", 252, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], [, "(\\d{6})", "$1", ["[134]"]], [, "(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], [
8000
+ ,
8001
+ "(\\d)(\\d{7})",
8002
+ "$1 $2",
8003
+ ["(?:2|90)4|[67]"]
8004
+ ], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], [, "(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8005
+ SR: [, [, , "(?:[2-5]|[6-8]\\d|90)\\d{5}", , , , , , , [6, 7]], [, , "(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}", , , , "211234", , , [6]], [, , "(?:6[08]|7[124-7]|8[1-9])\\d{5}", , , , "7412345", , , [7]], [, , "80\\d{5}", , , , "8012345", , , [7]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [
8038
8006
  ,
8039
8007
  ,
8040
- "(?:22|9\\d)\\d{5}",
8008
+ "56\\d{4}",
8041
8009
  ,
8042
8010
  ,
8043
8011
  ,
8012
+ "561234",
8044
8013
  ,
8045
8014
  ,
8015
+ [6]
8016
+ ], "SR", 597, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], [, "(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], [, "(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8017
+ SS: [, [, , "[19]\\d{8}", , , , , , , [9]], [, , "1[89]\\d{7}", , , , "181234567"], [, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SS", 211, "00", "0", , , "0", , , , [[
8046
8018
  ,
8047
- [7]
8048
- ], [, , "22\\d{5}", , , , "2221234"], [, , "900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}", , , , "9812345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ST", 239, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8019
+ "(\\d{3})(\\d{3})(\\d{3})",
8020
+ "$1 $2 $3",
8021
+ ["[19]"],
8022
+ "0$1"
8023
+ ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8024
+ ST: [, [, , "(?:22|9\\d)\\d{5}", , , , , , , [7]], [, , "22\\d{5}", , , , "2221234"], [, , "900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}", , , , "9812345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ST", 239, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8049
8025
  SV: [, [, , "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", , , , , , , [7, 8, 11]], [
8050
8026
  ,
8051
8027
  ,
@@ -8057,66 +8033,114 @@ const b2 = (h) => {
8057
8033
  ,
8058
8034
  ,
8059
8035
  [8]
8060
- ], [, , "(?:5(?:00[0-4]|100)|[67]\\d{3})\\d{4}", , , , "70123456", , , [8]], [, , "800\\d{8}|80[01]\\d{4}", , , , "8001234", , , [7, 11]], [, , "900\\d{4}(?:\\d{4})?", , , , "9001234", , , [7, 11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SV", 503, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8061
- SX: [, [
8062
- ,
8063
- ,
8064
- "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",
8065
- ,
8036
+ ], [, , "[5-7]\\d{7}", , , , "70123456", , , [8]], [, , "800\\d{8}|80[01]\\d{4}", , , , "8001234", , , [7, 11]], [, , "900\\d{4}(?:\\d{4})?", , , , "9001234", , , [7, 11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SV", 503, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8037
+ SX: [
8066
8038
  ,
8039
+ [, , "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]],
8040
+ [
8041
+ ,
8042
+ ,
8043
+ "7215(?:4[2-8]|8[239]|9[056])\\d{4}",
8044
+ ,
8045
+ ,
8046
+ ,
8047
+ "7215425678",
8048
+ ,
8049
+ ,
8050
+ ,
8051
+ [7]
8052
+ ],
8053
+ [, , "7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}", , , , "7215205678", , , , [7]],
8054
+ [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"],
8055
+ [, , "900[2-9]\\d{6}", , , , "9002123456"],
8056
+ [, , , , , , , , , [-1]],
8057
+ [, , "52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}", , , , "5002345678"],
8058
+ [, , , , , , , , , [-1]],
8059
+ "SX",
8060
+ 1,
8061
+ "011",
8062
+ "1",
8067
8063
  ,
8068
8064
  ,
8065
+ "(5\\d{6})$|1",
8066
+ "721$1",
8069
8067
  ,
8070
8068
  ,
8071
- [10],
8072
- [7]
8073
- ], [, , "7215(?:4[2-8]|8[239]|9[056])\\d{4}", , , , "7215425678", , , , [7]], [, , "7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}", , , , "7215205678", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [
8074
8069
  ,
8075
8070
  ,
8076
- "52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",
8071
+ [, , , , , , , , , [-1]],
8077
8072
  ,
8073
+ "721",
8074
+ [, , , , , , , , , [-1]],
8075
+ [, , , , , , , , , [-1]],
8078
8076
  ,
8079
8077
  ,
8080
- "5002345678"
8081
- ], [, , , , , , , , , [-1]], "SX", 1, "011", "1", , , "(5\\d{6})$|1", "721$1", , , , , [, , , , , , , , , [-1]], , "721", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8082
- SY: [, [, , "[1-359]\\d{8}|[1-5]\\d{7}", , , , , , , [8, 9], [6, 7]], [, , "21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}", , , , "112345678", , , , [6, 7]], [, , "(?:50|9[1-9])\\d{7}", , , , "944567890", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SY", 963, "00", "0", , , "0", , , , [[
8078
+ [, , , , , , , , , [-1]]
8079
+ ],
8080
+ SY: [, [, , "[1-359]\\d{8}|[1-5]\\d{7}", , , , , , , [8, 9], [6, 7]], [, , "21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}", , , , "112345678", , , , [6, 7]], [, , "(?:50|9[1-9])\\d{7}", , , , "944567890", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SY", 963, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", , 1], [
8083
8081
  ,
8084
- "(\\d{2})(\\d{3})(\\d{3,4})",
8082
+ "(\\d{3})(\\d{3})(\\d{3})",
8085
8083
  "$1 $2 $3",
8086
- ["[1-4]|5[1-3]"],
8084
+ ["[59]"],
8087
8085
  "0$1",
8088
8086
  ,
8089
8087
  1
8090
- ], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", , 1]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8091
- SZ: [, [, , "0800\\d{4}|(?:[237]\\d|900)\\d{6}", , , , , , , [8, 9]], [, , "[23][2-5]\\d{6}", , , , "22171234", , , [8]], [, , "7[5-9]\\d{6}", , , , "76123456", , , [8]], [, , "0800\\d{4}", , , , "08001234", , , [8]], [, , "900\\d{6}", , , , "900012345", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "70\\d{6}", , , , "70012345", , , [8]], "SZ", 268, "00", , , , , , , , [
8092
- [, "(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]],
8093
- [, "(\\d{5})(\\d{4})", "$1 $2", ["9"]]
8094
- ], , [, , , , , , , , , [-1]], , , [, , "0800\\d{4}", , , , , , , [8]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8095
- TA: [, [, , "8\\d{3}", , , , , , , [4]], [, , "8\\d{3}", , , , "8999"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TA", 290, "00", , , , , , , , , , [, , , , , , , , , [-1]], , "8", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8096
- TC: [, [, , "(?:[58]\\d\\d|649|900)\\d{7}", , , , , , , [10], [7]], [, , "649(?:266|712|9(?:4\\d|50))\\d{4}", , , , "6497121234", , , , [7]], [
8088
+ ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8089
+ SZ: [, [, , "0800\\d{4}|(?:[237]\\d|900)\\d{6}", , , , , , , [8, 9]], [, , "[23][2-5]\\d{6}", , , , "22171234", , , [8]], [, , "7[5-9]\\d{6}", , , , "76123456", , , [8]], [, , "0800\\d{4}", , , , "08001234", , , [8]], [, , "900\\d{6}", , , , "900012345", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "70\\d{6}", , , , "70012345", , , [8]], "SZ", 268, "00", , , , , , , , [[, "(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], [, "(\\d{5})(\\d{4})", "$1 $2", ["9"]]], , [, , , , , , , , , [-1]], , , [
8097
8090
  ,
8098
8091
  ,
8099
- "649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}",
8092
+ "0800\\d{4}",
8100
8093
  ,
8101
8094
  ,
8102
8095
  ,
8103
- "6492311234",
8104
8096
  ,
8105
8097
  ,
8106
8098
  ,
8107
- [7]
8108
- ], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002345678"], [, , "900[2-9]\\d{6}", , , , "9002345678"], [, , , , , , , , , [-1]], [, , "52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}", , , , "5002345678"], [, , "649(?:71[01]|966)\\d{4}", , , , "6497101234", , , , [7]], "TC", 1, "011", "1", , , "([2-479]\\d{6})$|1", "649$1", , , , , [
8099
+ [8]
8100
+ ], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8101
+ TA: [, [, , "8\\d{3}", , , , , , , [4]], [, , "8\\d{3}", , , , "8999"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TA", 290, "00", , , , , , , , , , [, , , , , , , , , [-1]], , "8", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8102
+ TC: [
8103
+ ,
8104
+ [, , "(?:[58]\\d\\d|649|900)\\d{7}", , , , , , , [10], [7]],
8105
+ [, , "649(?:266|712|9(?:4\\d|50))\\d{4}", , , , "6497121234", , , , [7]],
8106
+ [, , "649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}", , , , "6492311234", , , , [7]],
8107
+ [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002345678"],
8108
+ [, , "900[2-9]\\d{6}", , , , "9002345678"],
8109
+ [, , , , , , , , , [-1]],
8110
+ [, , "52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}", , , , "5002345678"],
8111
+ [, , "649(?:71[01]|966)\\d{4}", , , , "6497101234", , , , [7]],
8112
+ "TC",
8113
+ 1,
8114
+ "011",
8115
+ "1",
8109
8116
  ,
8110
8117
  ,
8118
+ "([2-479]\\d{6})$|1",
8119
+ "649$1",
8111
8120
  ,
8112
8121
  ,
8113
8122
  ,
8114
8123
  ,
8124
+ [, , , , , , , , , [-1]],
8115
8125
  ,
8126
+ "649",
8127
+ [
8128
+ ,
8129
+ ,
8130
+ ,
8131
+ ,
8132
+ ,
8133
+ ,
8134
+ ,
8135
+ ,
8136
+ ,
8137
+ [-1]
8138
+ ],
8139
+ [, , , , , , , , , [-1]],
8116
8140
  ,
8117
8141
  ,
8118
- [-1]
8119
- ], , "649", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8142
+ [, , , , , , , , , [-1]]
8143
+ ],
8120
8144
  TD: [, [, , "(?:22|30|[689]\\d|77)\\d{6}", , , , , , , [8]], [, , "22(?:[37-9]0|5[0-5]|6[89])\\d{4}", , , , "22501234"], [, , "(?:30|[69]\\d|77|8[5-7])\\d{6}", , , , "63012345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TD", 235, "00|16", , , , , , "00", , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8121
8145
  TG: [, [, , "[279]\\d{7}", , , , , , , [8]], [
8122
8146
  ,
@@ -8369,7 +8393,7 @@ const b2 = (h) => {
8369
8393
  ], [
8370
8394
  ,
8371
8395
  ,
8372
- "3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",
8396
+ "3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",
8373
8397
  ,
8374
8398
  ,
8375
8399
  ,
@@ -8381,7 +8405,7 @@ const b2 = (h) => {
8381
8405
  ], [
8382
8406
  ,
8383
8407
  ,
8384
- "3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",
8408
+ "3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",
8385
8409
  ,
8386
8410
  ,
8387
8411
  ,
@@ -9002,15 +9026,15 @@ const b2 = (h) => {
9002
9026
  }
9003
9027
  M.prototype.format = function(d, t) {
9004
9028
  if (g(d, 2) == 0 && U(d, 5)) {
9005
- var n = S(d, 5);
9029
+ var n = L(d, 5);
9006
9030
  if (0 < n.length) return n;
9007
9031
  }
9008
- n = S(d, 1);
9032
+ n = L(d, 1);
9009
9033
  var r = o1(d);
9010
9034
  if (t == 0) return Q1(n, 0, r, "");
9011
9035
  if (!(n in i1)) return r;
9012
9036
  var o = r1(this, n, u1(n));
9013
- d = U(d, 3) && g(d, 3).length != 0 ? t == 3 ? ";ext=" + g(d, 3) : U(o, 13) ? g(o, 13) + S(d, 3) : " ext. " + S(d, 3) : "";
9037
+ d = U(d, 3) && g(d, 3).length != 0 ? t == 3 ? ";ext=" + g(d, 3) : U(o, 13) ? g(o, 13) + L(d, 3) : " ext. " + L(d, 3) : "";
9014
9038
  d: {
9015
9039
  o = O(o, 20).length == 0 || t == 2 ? O(o, 19) : O(o, 20);
9016
9040
  for (var l, c = o.length, p = 0; p < c; ++p) {
@@ -9023,10 +9047,10 @@ const b2 = (h) => {
9023
9047
  }
9024
9048
  o = null;
9025
9049
  }
9026
- return o != null && (c = o, o = S(c, 2), l = new RegExp(g(c, 1)), S(
9050
+ return o != null && (c = o, o = L(c, 2), l = new RegExp(g(c, 1)), L(
9027
9051
  c,
9028
9052
  5
9029
- ), c = S(c, 4), r = t == 2 && c != null && 0 < c.length ? r.replace(l, o.replace(k0, c)) : r.replace(l, o), t == 3 && (r = r.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), r = r.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), Q1(n, t, r, d);
9053
+ ), c = L(c, 4), r = t == 2 && c != null && 0 < c.length ? r.replace(l, o.replace(k0, c)) : r.replace(l, o), t == 3 && (r = r.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), r = r.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), Q1(n, t, r, d);
9030
9054
  };
9031
9055
  function r1(d, t, n) {
9032
9056
  return n == "001" ? J(d, "" + t) : J(d, n);
@@ -9034,7 +9058,7 @@ const b2 = (h) => {
9034
9058
  function o1(d) {
9035
9059
  if (!U(d, 2)) return "";
9036
9060
  var t = "" + g(d, 2);
9037
- return U(d, 4) && g(d, 4) && 0 < S(d, 8) ? Array(S(d, 8) + 1).join("0") + t : t;
9061
+ return U(d, 4) && g(d, 4) && 0 < L(d, 8) ? Array(L(d, 8) + 1).join("0") + t : t;
9038
9062
  }
9039
9063
  function Q1(d, t, n, r) {
9040
9064
  switch (t) {
@@ -9077,9 +9101,9 @@ const b2 = (h) => {
9077
9101
  }
9078
9102
  function d0(d, t) {
9079
9103
  var n = t0(d, t);
9080
- return d = r1(d, S(t, 1), n), d == null ? -1 : (t = o1(t), b1(t, d));
9104
+ return d = r1(d, L(t, 1), n), d == null ? -1 : (t = o1(t), L1(t, d));
9081
9105
  }
9082
- function b1(d, t) {
9106
+ function L1(d, t) {
9083
9107
  return F(d, g(t, 1)) ? F(d, g(t, 5)) ? 4 : F(d, g(t, 4)) ? 3 : F(d, g(t, 6)) ? 5 : F(d, g(t, 8)) ? 6 : F(d, g(t, 7)) ? 7 : F(d, g(t, 21)) ? 8 : F(d, g(t, 25)) ? 9 : F(d, g(t, 28)) ? 10 : F(d, g(t, 2)) ? g(t, 18) || F(d, g(t, 3)) ? 2 : 0 : !g(t, 18) && F(d, g(t, 3)) ? 1 : -1 : -1;
9084
9108
  }
9085
9109
  function J(d, t) {
@@ -9094,15 +9118,15 @@ const b2 = (h) => {
9094
9118
  }
9095
9119
  function F(d, t) {
9096
9120
  var n = d.length;
9097
- return 0 < z(t, 9) && O(t, 9).indexOf(n) == -1 ? !1 : j(S(t, 2), d);
9121
+ return 0 < z(t, 9) && O(t, 9).indexOf(n) == -1 ? !1 : j(L(t, 2), d);
9098
9122
  }
9099
9123
  function F0(d, t) {
9100
- var n = t0(d, t), r = S(t, 1), o = r1(d, r, n);
9101
- return o == null || n != "001" && r != e0(d, n) ? o = !1 : (d = o1(t), o = b1(d, o) != -1), o;
9124
+ var n = t0(d, t), r = L(t, 1), o = r1(d, r, n);
9125
+ return o == null || n != "001" && r != e0(d, n) ? o = !1 : (d = o1(t), o = L1(d, o) != -1), o;
9102
9126
  }
9103
9127
  function t0(d, t) {
9104
9128
  if (t == null) return null;
9105
- var n = S(t, 1);
9129
+ var n = L(t, 1);
9106
9130
  if (n = i1[n], n == null) d = null;
9107
9131
  else if (n.length == 1) d = n[0];
9108
9132
  else d: {
@@ -9115,7 +9139,7 @@ const b2 = (h) => {
9115
9139
  d = r;
9116
9140
  break d;
9117
9141
  }
9118
- } else if (b1(t, c) != -1) {
9142
+ } else if (L1(t, c) != -1) {
9119
9143
  d = r;
9120
9144
  break d;
9121
9145
  }
@@ -9129,7 +9153,7 @@ const b2 = (h) => {
9129
9153
  }
9130
9154
  function e0(d, t) {
9131
9155
  if (d = J(d, t), d == null) throw Error("Invalid region code: " + t);
9132
- return S(d, 10);
9156
+ return L(d, 10);
9133
9157
  }
9134
9158
  function m1(d, t, n, r) {
9135
9159
  var o = g1(n, r), l = z(o, 9) == 0 ? O(g(n, 1), 9) : O(o, 9);
@@ -9139,7 +9163,7 @@ const b2 = (h) => {
9139
9163
  }
9140
9164
  function y1(d, t, n) {
9141
9165
  var r = o1(t);
9142
- return t = S(t, 1), t in i1 ? (t = r1(d, t, u1(t)), m1(d, r, t, n)) : 1;
9166
+ return t = L(t, 1), t in i1 ? (t = r1(d, t, u1(t)), m1(d, r, t, n)) : 1;
9143
9167
  }
9144
9168
  function $0(d, t) {
9145
9169
  if (d = d.toString(), d.length == 0 || d.charAt(0) == "0") return 0;
@@ -9167,14 +9191,14 @@ const b2 = (h) => {
9167
9191
  if (d = $0(t, r), d != 0) return P(l, 1, d), d;
9168
9192
  throw Error("Invalid country calling code");
9169
9193
  }
9170
- return n != null && (c = S(n, 10), p = "" + c, I = t.toString(), I.lastIndexOf(p, 0) == 0 && (p = new v(I.substring(p.length)), I = g(n, 1), I = new RegExp(S(I, 2)), i0(p, n, null), p = p.toString(), !j(I, t.toString()) && j(I, p) || m1(d, t.toString(), n, -1) == 3)) ? (r.g(p), o && P(l, 6, 10), P(l, 1, c), c) : (P(l, 1, 0), 0);
9194
+ return n != null && (c = L(n, 10), p = "" + c, I = t.toString(), I.lastIndexOf(p, 0) == 0 && (p = new v(I.substring(p.length)), I = g(n, 1), I = new RegExp(L(I, 2)), i0(p, n, null), p = p.toString(), !j(I, t.toString()) && j(I, p) || m1(d, t.toString(), n, -1) == 3)) ? (r.g(p), o && P(l, 6, 10), P(l, 1, c), c) : (P(l, 1, 0), 0);
9171
9195
  }
9172
9196
  function i0(d, t, n) {
9173
9197
  var r = d.toString(), o = r.length, l = g(t, 15);
9174
9198
  if (o != 0 && l != null && l.length != 0) {
9175
9199
  var c = new RegExp("^(?:" + l + ")");
9176
9200
  if (o = c.exec(r)) {
9177
- l = new RegExp(S(g(t, 1), 2));
9201
+ l = new RegExp(L(g(t, 1), 2));
9178
9202
  var p = j(l, r), I = o.length - 1;
9179
9203
  t = g(t, 16), t == null || t.length == 0 || o[I] == null || o[I].length == 0 ? (!p || j(l, r.substring(o[0].length))) && (n != null && 0 < I && o[I] != null && n.g(o[1]), d.set(r.substring(o[0].length))) : (r = r.replace(c, t), (!p || j(l, r)) && (n != null && 0 < I && n.g(o[1]), d.set(r)));
9180
9204
  }
@@ -9216,7 +9240,7 @@ const b2 = (h) => {
9216
9240
  if (I = I.replace(s1, ""), p = n0(d, I, c, t, r, l), p == 0) throw A1;
9217
9241
  } else throw A1;
9218
9242
  }
9219
- if (p != 0 ? (o = u1(p), o != n && (c = r1(d, p, o))) : (J1(o), t.g(o.toString()), n != null ? (p = S(c, 10), P(
9243
+ if (p != 0 ? (o = u1(p), o != n && (c = r1(d, p, o))) : (J1(o), t.g(o.toString()), n != null ? (p = L(c, 10), P(
9220
9244
  l,
9221
9245
  1,
9222
9246
  p
@@ -9243,12 +9267,12 @@ const b2 = (h) => {
9243
9267
  }
9244
9268
  function l0(d) {
9245
9269
  for (var t = d.j.length, n = 0; n < t; ++n) {
9246
- var r = d.j[n], o = S(r, 1);
9270
+ var r = d.j[n], o = L(r, 1);
9247
9271
  if (d.da == o) return !1;
9248
- var l = d, c = r, p = S(c, 1);
9272
+ var l = d, c = r, p = L(c, 1);
9249
9273
  G(l.v);
9250
9274
  var I = l;
9251
- c = S(c, 2);
9275
+ c = L(c, 2);
9252
9276
  var Y = "999999999999999".match(p)[0];
9253
9277
  if (Y.length < I.g.h.length ? I = "" : (I = Y.replace(new RegExp(p, "g"), c), I = I.replace(RegExp("9", "g"), " ")), 0 < I.length ? (l.v.g(I), l = !0) : l = !1, l) return d.da = o, d.ha = o0.test(g(r, 4)), d.$ = 0, !0;
9254
9278
  }
@@ -9279,17 +9303,17 @@ const b2 = (h) => {
9279
9303
  return d.s.toString();
9280
9304
  case 3:
9281
9305
  if (C0(d)) d.ea = !0;
9282
- else return d.o = p0(d), T1(d);
9306
+ else return d.o = p0(d), b1(d);
9283
9307
  default:
9284
- return d.ea ? (g0(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = m0(d, t), n = h0(d), 0 < n.length ? n : (a0(d, d.g.toString()), l0(d) ? f0(d) : d.u ? I1(d, t) : d.s.toString())) : T1(d);
9308
+ return d.ea ? (g0(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = m0(d, t), n = h0(d), 0 < n.length ? n : (a0(d, d.g.toString()), l0(d) ? f0(d) : d.u ? I1(d, t) : d.s.toString())) : b1(d);
9285
9309
  }
9286
9310
  }
9287
9311
  function c0(d) {
9288
- return d.u = !0, d.ea = !1, d.j = [], d.$ = 0, G(d.v), d.da = "", T1(d);
9312
+ return d.u = !0, d.ea = !1, d.j = [], d.$ = 0, G(d.v), d.da = "", b1(d);
9289
9313
  }
9290
9314
  function h0(d) {
9291
9315
  for (var t = d.g.toString(), n = d.j.length, r = 0; r < n; ++r) {
9292
- var o = d.j[r], l = S(o, 1);
9316
+ var o = d.j[r], l = L(o, 1);
9293
9317
  if (new RegExp("^(?:" + l + ")$").test(t) && (d.ha = o0.test(g(o, 4)), o = t.replace(new RegExp(l, "g"), g(o, 2)), o = I1(d, o), p1(o, v0) == d.ba)) return o;
9294
9318
  }
9295
9319
  return "";
@@ -9298,12 +9322,12 @@ const b2 = (h) => {
9298
9322
  var n = d.h.h.length;
9299
9323
  return d.ha && 0 < n && d.h.toString().charAt(n - 1) != " " ? d.h + " " + t : d.h + t;
9300
9324
  }
9301
- function T1(d) {
9325
+ function b1(d) {
9302
9326
  var t = d.g.toString();
9303
9327
  if (3 <= t.length) {
9304
9328
  for (var n = d.ca && d.o.length == 0 && 0 < z(d.l, 20) ? O(d.l, 20) : O(d.l, 19), r = n.length, o = 0; o < r; ++o) {
9305
9329
  var l = n[o];
9306
- 0 < d.o.length && q1(S(l, 4)) && !g(l, 6) && !U(l, 5) || (d.o.length != 0 || d.ca || q1(S(l, 4)) || g(l, 6)) && K0.test(S(l, 2)) && d.j.push(l);
9330
+ 0 < d.o.length && q1(L(l, 4)) && !g(l, 6) && !U(l, 5) || (d.o.length != 0 || d.ca || q1(L(l, 4)) || g(l, 6)) && K0.test(L(l, 2)) && d.j.push(l);
9307
9331
  }
9308
9332
  return a0(d, t), t = h0(d), 0 < t.length ? t : l0(d) ? f0(d) : d.s.toString();
9309
9333
  }
@@ -9343,7 +9367,7 @@ const b2 = (h) => {
9343
9367
  const y0 = (d) => {
9344
9368
  const t = [];
9345
9369
  return d.includes("FIXED_LINE_OR_MOBILE") ? (d.includes("MOBILE") || t.push("MOBILE"), d.includes("FIXED_LINE") || t.push("FIXED_LINE")) : (d.includes("MOBILE") || d.includes("FIXED_LINE")) && t.push("FIXED_LINE_OR_MOBILE"), d.concat(t);
9346
- }, L1 = { 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 };
9370
+ }, T1 = { 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 };
9347
9371
  e("intlTelInputUtilsTemp", {}), e("intlTelInputUtilsTemp.formatNumberAsYouType", (d, t) => {
9348
9372
  try {
9349
9373
  const n = d.replace(/[^+0-9]/g, ""), r = new W0(t);
@@ -9407,7 +9431,7 @@ const b2 = (h) => {
9407
9431
  try {
9408
9432
  const r = M.g(), o = Q(r, d, t), l = F0(r, o);
9409
9433
  if (n) {
9410
- const c = y0(n).map((p) => L1[p]);
9434
+ const c = y0(n).map((p) => T1[p]);
9411
9435
  return l && c.includes(d0(r, o));
9412
9436
  }
9413
9437
  return l;
@@ -9419,7 +9443,7 @@ const b2 = (h) => {
9419
9443
  const r = M.g(), o = Q(r, d, t);
9420
9444
  if (n) {
9421
9445
  const l = y0(n);
9422
- for (let c of l) if (y1(r, o, L1[c]) === 0) return !0;
9446
+ for (let c of l) if (y1(r, o, T1[c]) === 0) return !0;
9423
9447
  return !1;
9424
9448
  }
9425
9449
  return y1(r, o, -1) === 0;
@@ -9432,11 +9456,11 @@ const b2 = (h) => {
9432
9456
  } catch {
9433
9457
  return "";
9434
9458
  }
9435
- }), e("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }), e("intlTelInputUtilsTemp.numberType", L1), e("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
9459
+ }), e("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }), e("intlTelInputUtilsTemp.numberType", T1), e("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
9436
9460
  })();
9437
- const w0 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, T2 = w0.intlTelInputUtilsTemp;
9461
+ const w0 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, b2 = w0.intlTelInputUtilsTemp;
9438
9462
  delete w0.intlTelInputUtilsTemp;
9439
- m.utils = T2;
9463
+ m.utils = b2;
9440
9464
  const A2 = {
9441
9465
  __name: "IntlTelInputWithUtils",
9442
9466
  props: /* @__PURE__ */ I0({
@@ -9471,36 +9495,36 @@ const A2 = {
9471
9495
  ], ["update:modelValue"]),
9472
9496
  setup(h, { expose: e, emit: $ }) {
9473
9497
  const i = Y0(h, "modelValue"), s = h, a = $, u = w1(), f = w1(), C = w1(!1), y = () => f.value ? s.options.strictMode ? f.value.isValidNumberPrecise() : f.value.isValidNumber() : null, _ = () => {
9474
- let E = y();
9475
- C.value !== E && (C.value = E, a("changeValidity", !!E), a(
9498
+ let S = y();
9499
+ C.value !== S && (C.value = S, a("changeValidity", !!S), a(
9476
9500
  "changeErrorCode",
9477
- E ? null : f.value.getValidationError()
9501
+ S ? null : f.value.getValidationError()
9478
9502
  ));
9479
- }, T = () => {
9480
- var E;
9481
- a("changeNumber", ((E = f.value) == null ? void 0 : E.getNumber()) ?? ""), _();
9503
+ }, E = () => {
9504
+ var S;
9505
+ a("changeNumber", ((S = f.value) == null ? void 0 : S.getNumber()) ?? ""), _();
9482
9506
  }, B = () => {
9483
- var E;
9484
- a("changeCountry", ((E = f.value) == null ? void 0 : E.getSelectedCountryData().iso2) ?? ""), T(), _();
9507
+ var S;
9508
+ a("changeCountry", ((S = f.value) == null ? void 0 : S.getSelectedCountryData().iso2) ?? ""), E(), _();
9485
9509
  };
9486
9510
  return z0(() => {
9487
9511
  u.value && (f.value = m(u.value, s.options), s.value && f.value.setNumber(s.value), s.disabled && f.value.setDisabled(s.disabled), C.value = y());
9488
9512
  }), Z0(
9489
9513
  () => s.disabled,
9490
- (E) => {
9514
+ (S) => {
9491
9515
  var w;
9492
- return (w = f.value) == null ? void 0 : w.setDisabled(E);
9516
+ return (w = f.value) == null ? void 0 : w.setDisabled(S);
9493
9517
  }
9494
9518
  ), J0(() => {
9495
- var E;
9496
- return (E = f.value) == null ? void 0 : E.destroy();
9497
- }), e({ instance: f, input: u }), (E, w) => X0((Q0(), q0("input", d2({
9519
+ var S;
9520
+ return (S = f.value) == null ? void 0 : S.destroy();
9521
+ }), e({ instance: f, input: u }), (S, w) => X0((Q0(), q0("input", d2({
9498
9522
  ref_key: "input",
9499
9523
  ref: u,
9500
9524
  "onUpdate:modelValue": w[0] || (w[0] = (H) => i.value = H),
9501
9525
  type: "tel",
9502
9526
  onCountrychange: B,
9503
- onInput: T
9527
+ onInput: E
9504
9528
  }, h.inputProps), null, 16)), [
9505
9529
  [
9506
9530
  t2,