intl-tel-input 25.11.2 → 25.11.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.
@@ -1,5 +1,5 @@
1
- import { mergeModels as g0, useModel as j0, ref as A1, onMounted as Y0, watch as z0, onUnmounted as Z0, withDirectives as J0, createElementBlock as X0, openBlock as q0, mergeProps as Q0, vModelText as d2 } from "vue";
2
- const t2 = [
1
+ import { mergeModels as m0, useModel as Y0, ref as A1, onMounted as z0, watch as Z0, onUnmounted as J0, withDirectives as X0, createElementBlock as q0, openBlock as Q0, mergeProps as d2, vModelText as t2 } from "vue";
2
+ const e2 = [
3
3
  [
4
4
  "af",
5
5
  // Afghanistan
@@ -1677,7 +1677,7 @@ const t2 = [
1677
1677
  "0"
1678
1678
  ]
1679
1679
  ], Q = [];
1680
- for (const h of t2)
1680
+ for (const h of e2)
1681
1681
  Q.push({
1682
1682
  name: "",
1683
1683
  // populated in the plugin
@@ -1695,7 +1695,7 @@ for (const h of t2)
1695
1695
  dialCodePlus: ""
1696
1696
  // populated in the plugin
1697
1697
  });
1698
- const e2 = {
1698
+ const $2 = {
1699
1699
  ad: "Andorra",
1700
1700
  ae: "United Arab Emirates",
1701
1701
  af: "Afghanistan",
@@ -1938,7 +1938,7 @@ const e2 = {
1938
1938
  za: "South Africa",
1939
1939
  zm: "Zambia",
1940
1940
  zw: "Zimbabwe"
1941
- }, $2 = {
1941
+ }, n2 = {
1942
1942
  selectedCountryAriaLabel: "Change country, selected ${countryName} (${dialCode})",
1943
1943
  noCountrySelected: "Select country",
1944
1944
  countryListAriaLabel: "List of countries",
@@ -1950,7 +1950,7 @@ const e2 = {
1950
1950
  // additional countries (not supported by country-list library)
1951
1951
  ac: "Ascension Island",
1952
1952
  xk: "Kosovo"
1953
- }, E0 = { ...e2, ...$2 }, g1 = {
1953
+ }, N0 = { ...$2, ...n2 }, g1 = {
1954
1954
  OPEN_COUNTRY_DROPDOWN: "open:countrydropdown",
1955
1955
  CLOSE_COUNTRY_DROPDOWN: "close:countrydropdown",
1956
1956
  COUNTRY_CHANGE: "countrychange",
@@ -1971,7 +1971,7 @@ const e2 = {
1971
1971
  ENTER: "Enter",
1972
1972
  ESC: "Escape",
1973
1973
  TAB: "Tab"
1974
- }, m0 = {
1974
+ }, y0 = {
1975
1975
  PASTE: "insertFromPaste",
1976
1976
  DELETE_FWD: "deleteContentForward"
1977
1977
  }, q = {
@@ -1983,9 +1983,9 @@ const e2 = {
1983
1983
  // chars that are NOT + or digit (global)
1984
1984
  HIDDEN_SEARCH_CHAR: /^[a-zA-ZÀ-ÿа-яА-Я ]$/
1985
1985
  // single acceptable hidden-search char
1986
- }, n2 = {
1986
+ }, i2 = {
1987
1987
  HIDDEN_SEARCH_RESET_MS: 1e3
1988
- }, y0 = {
1988
+ }, I0 = {
1989
1989
  UNKNOWN_NUMBER_TYPE: -99,
1990
1990
  UNKNOWN_VALIDATION_ERROR: -99
1991
1991
  }, w1 = {
@@ -1995,7 +1995,7 @@ const e2 = {
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
- }, N0 = {
1998
+ }, S0 = {
1999
1999
  NANP: "1"
2000
2000
  // North American Numbering Plan
2001
2001
  }, b1 = {
@@ -2005,13 +2005,14 @@ const e2 = {
2005
2005
  // UK mobile numbers start with 7 after national trunk (0) or core section
2006
2006
  MOBILE_CORE_LENGTH: 10
2007
2007
  // core number length (excluding dial code / national prefix) for mobiles
2008
- }, i2 = {
2009
- ISO2: "us"
2010
2008
  }, s2 = {
2009
+ ISO2: "us"
2010
+ }, M1 = {
2011
+ AGGRESSIVE: "aggressive",
2011
2012
  POLITE: "polite"
2012
2013
  }, T1 = {
2013
2014
  AUTO: "auto"
2014
- }, I0 = {
2015
+ }, _0 = {
2015
2016
  COUNTRY_CODE: "countryCode",
2016
2017
  DIAL_CODE: "dialCode"
2017
2018
  }, L = {
@@ -2032,13 +2033,13 @@ const e2 = {
2032
2033
  return h || e || i && $;
2033
2034
  }
2034
2035
  return !1;
2035
- }, S0 = {
2036
+ }, L0 = {
2036
2037
  // Allow alphanumeric "phonewords" (e.g. +1 800 FLOWERS) as valid numbers
2037
2038
  allowPhonewords: !1,
2038
2039
  //* Whether or not to allow the dropdown.
2039
2040
  allowDropdown: !0,
2040
2041
  //* Add a placeholder in the input with an example number for the selected country.
2041
- autoPlaceholder: s2.POLITE,
2042
+ autoPlaceholder: M1.POLITE,
2042
2043
  //* Modify the parentClass.
2043
2044
  containerClass: "",
2044
2045
  //* The order of the countries in the dropdown. Defaults to alphabetical.
@@ -2085,8 +2086,8 @@ const e2 = {
2085
2086
  validationNumberTypes: ["MOBILE"]
2086
2087
  }, o2 = (h, e) => {
2087
2088
  h.useFullscreenPopup && (h.fixDropdownWidth = !1), h.onlyCountries.length === 1 && (h.initialCountry = h.onlyCountries[0]), h.separateDialCode && (h.nationalMode = !1), h.allowDropdown && !h.showFlags && !h.separateDialCode && (h.nationalMode = !1), h.useFullscreenPopup && !h.dropdownContainer && (h.dropdownContainer = document.body), h.i18n = { ...e, ...h.i18n };
2088
- }, m1 = (h) => h.replace(/\D/g, ""), L0 = (h = "") => h.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), u2 = (h, e) => {
2089
- const $ = L0(e), i = [], s = [], a = [], u = [], f = [], C = [];
2089
+ }, m1 = (h) => h.replace(/\D/g, ""), A0 = (h = "") => h.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), u2 = (h, e) => {
2090
+ const $ = A0(e), i = [], s = [], a = [], u = [], f = [], C = [];
2090
2091
  for (const _ of h)
2091
2092
  _.iso2 === $ ? i.push(_) : _.normalisedName.startsWith($) ? s.push(_) : _.normalisedName.includes($) ? a.push(_) : $ === _.dialCode || $ === _.dialCodePlus ? u.push(_) : _.dialCodePlus.includes($) ? f.push(_) : _.initials.includes($) && C.push(_);
2092
2093
  const I = (_, A) => _.priority - A.priority;
@@ -2484,7 +2485,7 @@ const f2 = (h) => {
2484
2485
  });
2485
2486
  }, m2 = (h) => {
2486
2487
  for (const e of h)
2487
- e.normalisedName = L0(e.name), e.initials = e.normalisedName.split(/[^a-z]/).map(($) => $[0]).join(""), e.dialCodePlus = `+${e.dialCode}`;
2488
+ e.normalisedName = A0(e.name), e.initials = e.normalisedName.split(/[^a-z]/).map(($) => $[0]).join(""), e.dialCodePlus = `+${e.dialCode}`;
2488
2489
  }, y2 = (h, e, $, i) => {
2489
2490
  let s = h;
2490
2491
  if ($ && e) {
@@ -2525,21 +2526,21 @@ const f2 = (h) => {
2525
2526
  "887",
2526
2527
  "888",
2527
2528
  "889"
2528
- ], _0 = (h) => {
2529
+ ], E0 = (h) => {
2529
2530
  const e = m1(h);
2530
- if (e.startsWith(N0.NANP) && e.length >= 4) {
2531
+ if (e.startsWith(S0.NANP) && e.length >= 4) {
2531
2532
  const $ = e.substring(1, 4);
2532
2533
  return E2.includes($);
2533
2534
  }
2534
2535
  return !1;
2535
2536
  };
2536
2537
  for (const h of Q)
2537
- h.name = E0[h.iso2];
2538
+ h.name = N0[h.iso2];
2538
2539
  let N2 = 0;
2539
2540
  const S2 = new Set(Q.map((h) => h.iso2)), P1 = (h) => S2.has(h);
2540
- class M1 {
2541
+ class R1 {
2541
2542
  constructor(e, $ = {}) {
2542
- this.id = N2++, this.options = { ...S0, ...$ }, o2(this.options, E0), this.ui = new h2(e, this.options, this.id), this.isAndroid = M1._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = f2(this.options);
2543
+ this.id = N2++, this.options = { ...L0, ...$ }, o2(this.options, N0), this.ui = new h2(e, this.options, this.id), this.isAndroid = R1._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = f2(this.options);
2543
2544
  const { dialCodes: i, dialCodeMaxLen: s, dialCodeToIso2Map: a } = C2(
2544
2545
  this.countries,
2545
2546
  this.options
@@ -2572,12 +2573,12 @@ class M1 {
2572
2573
  //* 1. Extracting a dial code from the given number
2573
2574
  //* 2. Using explicit initialCountry
2574
2575
  _setInitialState(e = !1) {
2575
- const $ = this.ui.telInput.getAttribute("value"), i = this.ui.telInput.value, a = $ && $.startsWith("+") && (!i || !i.startsWith("+")) ? $ : i, u = this._getDialCode(a), f = _0(a), { initialCountry: C, geoIpLookup: I } = this.options, _ = C === T1.AUTO && I;
2576
+ const $ = this.ui.telInput.getAttribute("value"), i = this.ui.telInput.value, a = $ && $.startsWith("+") && (!i || !i.startsWith("+")) ? $ : i, u = this._getDialCode(a), f = E0(a), { initialCountry: C, geoIpLookup: I } = this.options, _ = C === T1.AUTO && I;
2576
2577
  if (u && !f)
2577
2578
  this._updateCountryFromNumber(a);
2578
2579
  else if (!_ || e) {
2579
2580
  const A = C ? C.toLowerCase() : "";
2580
- P1(A) ? this._setCountry(A) : u && f ? this._setCountry(i2.ISO2) : this._setCountry("");
2581
+ P1(A) ? this._setCountry(A) : u && f ? this._setCountry(s2.ISO2) : this._setCountry("");
2581
2582
  }
2582
2583
  a && this._updateValFromNumber(a);
2583
2584
  }
@@ -2686,7 +2687,7 @@ class M1 {
2686
2687
  return;
2687
2688
  }
2688
2689
  this._updateCountryFromNumber(this.ui.telInput.value) && this._triggerCountryChange();
2689
- const I = (C == null ? void 0 : C.data) && q.NON_PLUS_NUMERIC.test(C.data), _ = (C == null ? void 0 : C.inputType) === m0.PASTE && this.ui.telInput.value;
2690
+ const I = (C == null ? void 0 : C.data) && q.NON_PLUS_NUMERIC.test(C.data), _ = (C == null ? void 0 : C.inputType) === y0.PASTE && this.ui.telInput.value;
2690
2691
  I || _ && !e ? u = !0 : q.NON_PLUS_NUMERIC.test(this.ui.telInput.value) || (u = !1);
2691
2692
  const A = (C == null ? void 0 : C.detail) && C.detail.isSetNumber;
2692
2693
  if ($ && !u && !A) {
@@ -2696,7 +2697,7 @@ class M1 {
2696
2697
  ).replace(
2697
2698
  q.NON_PLUS_NUMERIC_GLOBAL,
2698
2699
  ""
2699
- ).length, k = (C == null ? void 0 : C.inputType) === m0.DELETE_FWD, P = this._getFullNumber(), B = I2(
2700
+ ).length, k = (C == null ? void 0 : C.inputType) === y0.DELETE_FWD, P = this._getFullNumber(), B = I2(
2700
2701
  P,
2701
2702
  this.ui.telInput.value,
2702
2703
  m.utils,
@@ -2869,7 +2870,7 @@ class M1 {
2869
2870
  x.ESC
2870
2871
  ].includes(a.key) && (a.preventDefault(), a.stopPropagation(), a.key === x.ARROW_UP || a.key === x.ARROW_DOWN ? this._handleUpDownKey(a.key) : a.key === x.ENTER ? this._handleEnterKey() : a.key === x.ESC && this._closeDropdown()), !this.options.countrySearch && q.HIDDEN_SEARCH_CHAR.test(a.key) && (a.stopPropagation(), i && clearTimeout(i), $ += a.key.toLowerCase(), this._searchForCountry($), i = setTimeout(() => {
2871
2872
  $ = "";
2872
- }, n2.HIDDEN_SEARCH_RESET_MS));
2873
+ }, i2.HIDDEN_SEARCH_RESET_MS));
2873
2874
  };
2874
2875
  document.addEventListener("keydown", s, { signal: e });
2875
2876
  }
@@ -2961,7 +2962,7 @@ class M1 {
2961
2962
  return I[0] === s ? null : I[0];
2962
2963
  if (!s && this.defaultCountry && I.includes(this.defaultCountry))
2963
2964
  return this.defaultCountry;
2964
- if (a === N0.NANP && _0(f))
2965
+ if (a === S0.NANP && E0(f))
2965
2966
  return null;
2966
2967
  const { areaCodes: A, priority: v } = this.selectedCountryData;
2967
2968
  if (A) {
@@ -3033,7 +3034,7 @@ class M1 {
3033
3034
  placeholderNumberType: $,
3034
3035
  nationalMode: i,
3035
3036
  customPlaceholder: s
3036
- } = this.options, a = e === "aggressive" || !this.ui.hadInitialPlaceholder && e === "polite";
3037
+ } = this.options, a = e === M1.AGGRESSIVE || !this.ui.hadInitialPlaceholder && e === M1.POLITE;
3037
3038
  if (m.utils && a) {
3038
3039
  const u = m.utils.numberType[$];
3039
3040
  let f = this.selectedCountryData.iso2 ? m.utils.getExampleNumber(
@@ -3046,9 +3047,9 @@ class M1 {
3046
3047
  }
3047
3048
  //* Called when the user selects a list item from the dropdown.
3048
3049
  _selectListItem(e) {
3049
- const $ = e.dataset[I0.COUNTRY_CODE], i = this._setCountry($);
3050
+ const $ = e.dataset[_0.COUNTRY_CODE], i = this._setCountry($);
3050
3051
  this._closeDropdown();
3051
- const s = e.dataset[I0.DIAL_CODE];
3052
+ const s = e.dataset[_0.DIAL_CODE];
3052
3053
  this._updateDialCode(s), this.options.formatOnDisplay && this._updateValFromNumber(this.ui.telInput.value), this.ui.telInput.focus(), i && this._triggerCountryChange();
3053
3054
  }
3054
3055
  //* Close the dropdown and unbind any listeners.
@@ -3152,7 +3153,7 @@ class M1 {
3152
3153
  return m.utils ? m.utils.getNumberType(
3153
3154
  this._getFullNumber(),
3154
3155
  this.selectedCountryData.iso2
3155
- ) : y0.UNKNOWN_NUMBER_TYPE;
3156
+ ) : I0.UNKNOWN_NUMBER_TYPE;
3156
3157
  }
3157
3158
  //* Get the country data for the currently selected country.
3158
3159
  getSelectedCountryData() {
@@ -3164,7 +3165,7 @@ class M1 {
3164
3165
  const { iso2: e } = this.selectedCountryData;
3165
3166
  return m.utils.getValidationError(this._getFullNumber(), e);
3166
3167
  }
3167
- return y0.UNKNOWN_VALIDATION_ERROR;
3168
+ return I0.UNKNOWN_VALIDATION_ERROR;
3168
3169
  }
3169
3170
  //* Validate the input val using number length only
3170
3171
  isValidNumber() {
@@ -3262,11 +3263,11 @@ const L2 = (h) => {
3262
3263
  });
3263
3264
  }, m = Object.assign(
3264
3265
  (h, e) => {
3265
- const $ = new M1(h, e);
3266
+ const $ = new R1(h, e);
3266
3267
  return m.instances[$.id] = $, h.iti = $, $;
3267
3268
  },
3268
3269
  {
3269
- defaults: S0,
3270
+ defaults: L0,
3270
3271
  //* Using a static var like this allows us to mock it in the tests.
3271
3272
  documentReady: () => document.readyState === "complete",
3272
3273
  //* Get the country data object.
@@ -3281,7 +3282,7 @@ const L2 = (h) => {
3281
3282
  attachUtils: L2,
3282
3283
  startedLoadingUtilsScript: !1,
3283
3284
  startedLoadingAutoCountry: !1,
3284
- version: "25.11.2"
3285
+ version: "25.11.3"
3285
3286
  }
3286
3287
  );
3287
3288
  (function() {
@@ -3362,13 +3363,13 @@ const L2 = (h) => {
3362
3363
  this.j = t.defaultValue;
3363
3364
  }
3364
3365
  var N = 1, T = 2, k = 3, P = 4, B = 6, W = 16, y1 = 18;
3365
- function w0(d, t) {
3366
+ function b0(d, t) {
3366
3367
  for (this.h = d, this.g = {}, d = 0; d < t.length; d++) {
3367
3368
  var n = t[d];
3368
3369
  this.g[n.g] = n;
3369
3370
  }
3370
3371
  }
3371
- function b0(d) {
3372
+ function T0(d) {
3372
3373
  return d = i(d.g), d.sort(function(t, n) {
3373
3374
  return t.g - n.g;
3374
3375
  }), d;
@@ -3383,24 +3384,24 @@ const L2 = (h) => {
3383
3384
  }, U.prototype.set = function(d, t) {
3384
3385
  M(this, d.g, t);
3385
3386
  }, U.prototype.add = function(d, t) {
3386
- O1(this, d.g, t);
3387
+ x1(this, d.g, t);
3387
3388
  };
3388
- function R1(d, t) {
3389
- for (var n = b0(d.m()), r = 0; r < n.length; r++) {
3389
+ function O1(d, t) {
3390
+ for (var n = T0(d.m()), r = 0; r < n.length; r++) {
3390
3391
  var o = n[r], l = o.g;
3391
3392
  if (G(t, l)) {
3392
3393
  d.g && delete d.g[o.g];
3393
3394
  var c = o.h == 11 || o.h == 10;
3394
3395
  if (o.l) {
3395
3396
  o = O(t, l);
3396
- for (var p = 0; p < o.length; p++) O1(d, l, c ? o[p].clone() : o[p]);
3397
- } else o = o1(t, l), c ? (c = o1(d, l)) ? R1(c, o) : M(d, l, o.clone()) : M(d, l, o);
3397
+ for (var p = 0; p < o.length; p++) x1(d, l, c ? o[p].clone() : o[p]);
3398
+ } else o = o1(t, l), c ? (c = o1(d, l)) ? O1(c, o) : M(d, l, o.clone()) : M(d, l, o);
3398
3399
  }
3399
3400
  }
3400
3401
  }
3401
3402
  U.prototype.clone = function() {
3402
3403
  var d = new this.constructor();
3403
- return d != this && (d.h = {}, d.g && (d.g = {}), R1(d, this)), d;
3404
+ return d != this && (d.h = {}, d.g && (d.g = {}), O1(d, this)), d;
3404
3405
  };
3405
3406
  function G(d, t) {
3406
3407
  return d.h[t] != null;
@@ -3448,13 +3449,13 @@ const L2 = (h) => {
3448
3449
  function M(d, t, n) {
3449
3450
  d.h[t] = n, d.g && (d.g[t] = n);
3450
3451
  }
3451
- function O1(d, t, n) {
3452
+ function x1(d, t, n) {
3452
3453
  d.h[t] || (d.h[t] = []), d.h[t].push(n), d.g && delete d.g[t];
3453
3454
  }
3454
3455
  function u1(d, t) {
3455
3456
  var n = [], r;
3456
3457
  for (r in t) r != 0 && n.push(new v(r, t[r]));
3457
- return new w0(d, n);
3458
+ return new b0(d, n);
3458
3459
  }
3459
3460
  function l1() {
3460
3461
  }
@@ -3462,14 +3463,14 @@ const L2 = (h) => {
3462
3463
  throw new d.h(), Error("Unimplemented");
3463
3464
  }, l1.prototype.h = function(d, t) {
3464
3465
  if (d.h == 11 || d.h == 10) return t instanceof U ? t : this.g(d.s.prototype.m(), t);
3465
- if (d.h == 14) return typeof t == "string" && x1.test(t) && (d = Number(t), 0 < d) ? d : t;
3466
+ if (d.h == 14) return typeof t == "string" && B1.test(t) && (d = Number(t), 0 < d) ? d : t;
3466
3467
  if (!d.o) return t;
3467
3468
  if (d = d.s, d === String) {
3468
3469
  if (typeof t == "number") return String(t);
3469
- } else if (d === Number && typeof t == "string" && (t === "Infinity" || t === "-Infinity" || t === "NaN" || x1.test(t))) return Number(t);
3470
+ } else if (d === Number && typeof t == "string" && (t === "Infinity" || t === "-Infinity" || t === "NaN" || B1.test(t))) return Number(t);
3470
3471
  return t;
3471
3472
  };
3472
- var x1 = /^-?[0-9]+$/;
3473
+ var B1 = /^-?[0-9]+$/;
3473
3474
  function I1() {
3474
3475
  }
3475
3476
  $(I1, l1), I1.prototype.g = function(d, t) {
@@ -3501,26 +3502,26 @@ const L2 = (h) => {
3501
3502
  U.call(this);
3502
3503
  }
3503
3504
  $(Z, U);
3504
- var B1 = null;
3505
+ var U1 = null;
3505
3506
  function b() {
3506
3507
  U.call(this);
3507
3508
  }
3508
3509
  $(b, U);
3509
- var U1 = null;
3510
+ var G1 = null;
3510
3511
  function J() {
3511
3512
  U.call(this);
3512
3513
  }
3513
3514
  $(J, U);
3514
- var G1 = null;
3515
+ var H1 = null;
3515
3516
  Z.prototype.m = function() {
3516
- var d = B1;
3517
- return d || (B1 = d = u1(Z, { 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;
3518
- }, Z.m = Z.prototype.m, b.prototype.m = function() {
3519
3517
  var d = U1;
3520
- return d || (U1 = d = u1(b, { 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;
3521
- }, b.m = b.prototype.m, J.prototype.m = function() {
3518
+ return d || (U1 = d = u1(Z, { 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;
3519
+ }, Z.m = Z.prototype.m, b.prototype.m = function() {
3522
3520
  var d = G1;
3523
- return d || (G1 = d = u1(J, {
3521
+ return d || (G1 = d = u1(b, { 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;
3522
+ }, b.m = b.prototype.m, J.prototype.m = function() {
3523
+ var d = H1;
3524
+ return d || (H1 = d = u1(J, {
3524
3525
  0: { name: "PhoneMetadata", ia: "i18n.phonenumbers.PhoneMetadata" },
3525
3526
  1: { name: "general_desc", i: 11, type: b },
3526
3527
  2: { name: "fixed_line", i: 11, type: b },
@@ -3562,10 +3563,10 @@ const L2 = (h) => {
3562
3563
  U.call(this);
3563
3564
  }
3564
3565
  $(Y, U);
3565
- var H1 = null, T0 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
3566
+ var k1 = null, D0 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
3566
3567
  Y.prototype.m = function() {
3567
- var d = H1;
3568
- return d || (H1 = d = u1(Y, { 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: T0 }, 7: {
3568
+ var d = k1;
3569
+ return d || (k1 = d = u1(Y, { 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: D0 }, 7: {
3569
3570
  name: "preferred_domestic_carrier_code",
3570
3571
  i: 9,
3571
3572
  type: String
@@ -3787,7 +3788,7 @@ const L2 = (h) => {
3787
3788
  995: ["GE"],
3788
3789
  996: ["KG"],
3789
3790
  998: ["UZ"]
3790
- }, k1 = {
3791
+ }, F1 = {
3791
3792
  AC: [, [
3792
3793
  ,
3793
3794
  ,
@@ -4975,7 +4976,7 @@ const L2 = (h) => {
4975
4976
  ,
4976
4977
  ,
4977
4978
  [9]
4978
- ], [, , "7(?:060\\d|19(?:[0-4]\\d|50))\\d{4}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}", , , , "601123456", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "9(?:0[05689]|76)\\d{6}", , , , "900123456", , , [9]], [, , "8[134]\\d{7}", , , , "811234567", , , [9]], [, , "70[01]\\d{6}", , , , "700123456", , , [9]], [, , "9[17]0\\d{6}", , , , "910123456", , , [9]], "CZ", 420, "00", , , , , , , , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], [, "(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], [
4979
+ ], [, , "7(?:060\\d|19(?:[0-5]\\d|6[0-6]))\\d{4}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}", , , , "601123456", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "9(?:0[05689]|76)\\d{6}", , , , "900123456", , , [9]], [, , "8[134]\\d{7}", , , , "811234567", , , [9]], [, , "70[01]\\d{6}", , , , "700123456", , , [9]], [, , "9[17]0\\d{6}", , , , "910123456", , , [9]], "CZ", 420, "00", , , , , , , , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], [, "(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], [
4979
4980
  ,
4980
4981
  "(\\d{2})(\\d{3})(\\d{3})(\\d{3})",
4981
4982
  "$1 $2 $3 $4",
@@ -5308,7 +5309,7 @@ const L2 = (h) => {
5308
5309
  ,
5309
5310
  [, , "[5-9]\\d{8}", , , , , , , [9]],
5310
5311
  [, , "96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}", , , , "810123456"],
5311
- [, , "(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}", , , , "612345678"],
5312
+ [, , "96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?:6\\d|7[1-48])\\d{7}", , , , "612345678"],
5312
5313
  [, , "[89]00\\d{6}", , , , "800123456"],
5313
5314
  [, , "80[367]\\d{6}", , , , "803123456"],
5314
5315
  [, , "90[12]\\d{6}", , , , "901123456"],
@@ -5541,7 +5542,7 @@ const L2 = (h) => {
5541
5542
  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
5543
  ,
5543
5544
  ,
5544
- "5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|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|11|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\\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
+ "5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|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}",
5545
5546
  ,
5546
5547
  ,
5547
5548
  ,
@@ -5785,7 +5786,7 @@ const L2 = (h) => {
5785
5786
  ,
5786
5787
  ,
5787
5788
  [8]
5788
- ], [, , "(?:4(?:44[0-35-9]|6(?:4[0-57-9]|6[0-4])|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-4]|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]], [
5789
+ ], [, , "(?: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]], [
5789
5790
  ,
5790
5791
  ,
5791
5792
  "900(?:[0-24-9]\\d{7}|3\\d{1,4})",
@@ -6222,7 +6223,7 @@ const L2 = (h) => {
6222
6223
  ,
6223
6224
  [-1]
6224
6225
  ]],
6225
- JO: [, [, , "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", , , , , , , [8, 9]], [
6226
+ JO: [, [, , "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", , , , , , , [8, 9]], [
6226
6227
  ,
6227
6228
  ,
6228
6229
  "87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",
@@ -6233,7 +6234,7 @@ const L2 = (h) => {
6233
6234
  ,
6234
6235
  ,
6235
6236
  [8]
6236
- ], [, , "7(?:[78][0-25-9]|9\\d)\\d{6}", , , , "790123456", , , [9]], [, , "80\\d{6}", , , , "80012345", , , [8]], [, , "9\\d{7}", , , , "90012345", , , [8]], [, , "85\\d{6}", , , , "85012345", , , [8]], [, , "70\\d{7}", , , , "700123456", , , [9]], [, , , , , , , , , [-1]], "JO", 962, "00", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], [, "(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], [, "(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], , [
6237
+ ], [, , "(?:427|7(?:[78][0-25-9]|9\\d))\\d{6}", , , , "790123456", , , [9]], [, , "80\\d{6}", , , , "80012345", , , [8]], [, , "9\\d{7}", , , , "90012345", , , [8]], [, , "85\\d{6}", , , , "85012345", , , [8]], [, , "70\\d{7}", , , , "700123456", , , [9]], [, , , , , , , , , [-1]], "JO", 962, "00", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], [, "(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], [, "(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], , [
6237
6238
  ,
6238
6239
  ,
6239
6240
  "74(?:66|77)\\d{5}",
@@ -6563,7 +6564,7 @@ const L2 = (h) => {
6563
6564
  ,
6564
6565
  "5002345678"
6565
6566
  ], [, , , , , , , , , [-1]], "LC", 1, "011", "1", , , "([2-8]\\d{6})$|1", "758$1", , , , , [, , , , , , , , , [-1]], , "758", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
6566
- LI: [, [, , "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", , , , , , , [7, 9]], [, , "(?:2(?:01|1[27]|2[024]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}", , , , "2345678", , , [7]], [, , "(?:6(?:(?:4[5-9]|5\\d)\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}", , , , "660234567"], [, , "8002[28]\\d\\d|80(?:05\\d|9)\\d{4}", , , , "8002222"], [
6567
+ LI: [, [, , "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", , , , , , , [7, 9]], [, , "(?:2(?:01|1[27]|2[024]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}", , , , "2345678", , , [7]], [, , "(?:6(?:(?:4[5-9]|5\\d)\\d|6(?:[024-68]\\d|1[01]|3[7-9]|70))\\d|7(?:[37-9]\\d|42|56))\\d{4}", , , , "660234567"], [, , "8002[28]\\d\\d|80(?:05\\d|9)\\d{4}", , , , "8002222"], [
6567
6568
  ,
6568
6569
  ,
6569
6570
  "90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",
@@ -8408,7 +8409,7 @@ const L2 = (h) => {
8408
8409
  ], [
8409
8410
  ,
8410
8411
  ,
8411
- "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[0135-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}",
8412
+ "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}",
8412
8413
  ,
8413
8414
  ,
8414
8415
  ,
@@ -8420,7 +8421,7 @@ const L2 = (h) => {
8420
8421
  ], [
8421
8422
  ,
8422
8423
  ,
8423
- "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[0135-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}",
8424
+ "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}",
8424
8425
  ,
8425
8426
  ,
8426
8427
  ,
@@ -8927,7 +8928,7 @@ const L2 = (h) => {
8927
8928
  R.h = void 0, R.g = function() {
8928
8929
  return R.h ? R.h : R.h = new R();
8929
8930
  };
8930
- var _1 = { 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" }, D0 = {
8931
+ var _1 = { 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" }, v0 = {
8931
8932
  0: "0",
8932
8933
  1: "1",
8933
8934
  2: "2",
@@ -8941,7 +8942,7 @@ const L2 = (h) => {
8941
8942
  "+": "+",
8942
8943
  "*": "*",
8943
8944
  "#": "#"
8944
- }, v0 = {
8945
+ }, P0 = {
8945
8946
  0: "0",
8946
8947
  1: "1",
8947
8948
  2: "2",
@@ -9008,36 +9009,36 @@ const L2 = (h) => {
9008
9009
  X: "9",
9009
9010
  Y: "9",
9010
9011
  Z: "9"
9011
- }, P0 = RegExp("[++]+"), $1 = RegExp("^[++]+"), F1 = RegExp("([0-90-9٠-٩۰-۹])"), M0 = RegExp("[++0-90-9٠-٩۰-۹]"), R0 = /[\\\/] *x/, O0 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), x0 = /(?:.*?[A-Za-z]){3}.*/, B0 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), U0 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
9012
+ }, M0 = RegExp("[++]+"), $1 = RegExp("^[++]+"), W1 = RegExp("([0-90-9٠-٩۰-۹])"), R0 = RegExp("[++0-90-9٠-٩۰-۹]"), O0 = /[\\\/] *x/, x0 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), B0 = /(?:.*?[A-Za-z]){3}.*/, U0 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), G0 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
9012
9013
  function d1(d) {
9013
9014
  return "([0-90-9٠-٩۰-۹]{1," + d + "})";
9014
9015
  }
9015
- function W1() {
9016
+ function V1() {
9016
9017
  return ";ext=" + d1("20") + "|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*" + (d1("20") + "#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*") + (d1("9") + "#?|[- ]+") + (d1("6") + "#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*") + (d1("15") + "#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*") + (d1("9") + "#?");
9017
9018
  }
9018
- var V1 = new RegExp("(?:" + W1() + ")$", "i"), G0 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + W1() + ")?$", "i"), H0 = /(\$\d)/, k0 = /^\(?\$1\)?$/;
9019
- function K1(d) {
9020
- return 2 > d.length ? !1 : V(G0, d);
9021
- }
9019
+ var K1 = new RegExp("(?:" + V1() + ")$", "i"), H0 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + V1() + ")?$", "i"), k0 = /(\$\d)/, F0 = /^\(?\$1\)?$/;
9022
9020
  function j1(d) {
9023
- return V(x0, d) ? a1(d, v0) : a1(d, _1);
9021
+ return 2 > d.length ? !1 : V(H0, d);
9024
9022
  }
9025
9023
  function Y1(d) {
9026
- var t = j1(d.toString());
9027
- H(d), d.g(t);
9024
+ return V(B0, d) ? a1(d, P0) : a1(d, _1);
9028
9025
  }
9029
9026
  function z1(d) {
9027
+ var t = Y1(d.toString());
9028
+ H(d), d.g(t);
9029
+ }
9030
+ function Z1(d) {
9030
9031
  return d != null && (j(d, 9) != 1 || O(d, 9)[0] != -1);
9031
9032
  }
9032
9033
  function a1(d, t) {
9033
9034
  for (var n = new D(), r, o = d.length, l = 0; l < o; ++l) r = d.charAt(l), r = t[r.toUpperCase()], r != null && n.g(r);
9034
9035
  return n.toString();
9035
9036
  }
9036
- function Z1(d) {
9037
- return d.length == 0 || k0.test(d);
9037
+ function J1(d) {
9038
+ return d.length == 0 || F0.test(d);
9038
9039
  }
9039
9040
  function c1(d) {
9040
- return d != null && isNaN(d) && d.toUpperCase() in k1;
9041
+ return d != null && isNaN(d) && d.toUpperCase() in F1;
9041
9042
  }
9042
9043
  R.prototype.format = function(d, t) {
9043
9044
  if (g(d, 2) == 0 && G(d, 5)) {
@@ -9046,7 +9047,7 @@ const L2 = (h) => {
9046
9047
  }
9047
9048
  n = S(d, 1);
9048
9049
  var r = i1(d);
9049
- if (t == 0) return J1(n, 0, r, "");
9050
+ if (t == 0) return X1(n, 0, r, "");
9050
9051
  if (!(n in e1)) return r;
9051
9052
  var o = n1(this, n, s1(n));
9052
9053
  d = G(d, 3) && g(d, 3).length != 0 ? t == 3 ? ";ext=" + g(d, 3) : G(o, 13) ? g(o, 13) + S(d, 3) : " ext. " + S(d, 3) : "";
@@ -9065,7 +9066,7 @@ const L2 = (h) => {
9065
9066
  return o != null && (c = o, o = S(c, 2), l = new RegExp(g(c, 1)), S(
9066
9067
  c,
9067
9068
  5
9068
- ), c = S(c, 4), r = t == 2 && c != null && 0 < c.length ? r.replace(l, o.replace(H0, c)) : r.replace(l, o), t == 3 && (r = r.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), r = r.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), J1(n, t, r, d);
9069
+ ), 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"), "-"))), X1(n, t, r, d);
9069
9070
  };
9070
9071
  function n1(d, t, n) {
9071
9072
  return n == "001" ? z(d, "" + t) : z(d, n);
@@ -9075,7 +9076,7 @@ const L2 = (h) => {
9075
9076
  var t = "" + g(d, 2);
9076
9077
  return G(d, 4) && g(d, 4) && 0 < S(d, 8) ? Array(S(d, 8) + 1).join("0") + t : t;
9077
9078
  }
9078
- function J1(d, t, n, r) {
9079
+ function X1(d, t, n, r) {
9079
9080
  switch (t) {
9080
9081
  case 0:
9081
9082
  return "+" + d + n + r;
@@ -9114,8 +9115,8 @@ const L2 = (h) => {
9114
9115
  return g(d, 1);
9115
9116
  }
9116
9117
  }
9117
- function X1(d, t) {
9118
- var n = q1(d, t);
9118
+ function q1(d, t) {
9119
+ var n = Q1(d, t);
9119
9120
  return d = n1(d, S(t, 1), n), d == null ? -1 : (t = i1(t), E1(t, d));
9120
9121
  }
9121
9122
  function E1(d, t) {
@@ -9126,7 +9127,7 @@ const L2 = (h) => {
9126
9127
  t = t.toUpperCase();
9127
9128
  var n = d.g[t];
9128
9129
  if (n == null) {
9129
- if (n = k1[t], n == null) return null;
9130
+ if (n = F1[t], n == null) return null;
9130
9131
  n = new t1().g(J.m(), n), d.g[t] = n;
9131
9132
  }
9132
9133
  return n;
@@ -9135,11 +9136,11 @@ const L2 = (h) => {
9135
9136
  var n = d.length;
9136
9137
  return 0 < j(t, 9) && O(t, 9).indexOf(n) == -1 ? !1 : V(S(t, 2), d);
9137
9138
  }
9138
- function F0(d, t) {
9139
- var n = q1(d, t), r = S(t, 1), o = n1(d, r, n);
9140
- return o == null || n != "001" && r != Q1(d, n) ? o = !1 : (d = i1(t), o = E1(d, o) != -1), o;
9139
+ function W0(d, t) {
9140
+ var n = Q1(d, t), r = S(t, 1), o = n1(d, r, n);
9141
+ return o == null || n != "001" && r != d0(d, n) ? o = !1 : (d = i1(t), o = E1(d, o) != -1), o;
9141
9142
  }
9142
- function q1(d, t) {
9143
+ function Q1(d, t) {
9143
9144
  if (t == null) return null;
9144
9145
  var n = S(t, 1);
9145
9146
  if (n = e1[n], n == null) d = null;
@@ -9166,13 +9167,13 @@ const L2 = (h) => {
9166
9167
  function s1(d) {
9167
9168
  return d = e1[d], d == null ? "ZZ" : d[0];
9168
9169
  }
9169
- function Q1(d, t) {
9170
+ function d0(d, t) {
9170
9171
  if (d = z(d, t), d == null) throw Error("Invalid region code: " + t);
9171
9172
  return S(d, 10);
9172
9173
  }
9173
9174
  function f1(d, t, n, r) {
9174
9175
  var o = h1(n, r), l = j(o, 9) == 0 ? O(g(n, 1), 9) : O(o, 9);
9175
- if (o = O(o, 10), r == 2) if (z1(h1(n, 0))) d = h1(n, 1), z1(d) && (l = l.concat(j(d, 9) == 0 ? O(g(n, 1), 9) : O(d, 9)), l.sort(), o.length == 0 ? o = O(d, 10) : (o = o.concat(O(d, 10)), o.sort()));
9176
+ if (o = O(o, 10), r == 2) if (Z1(h1(n, 0))) d = h1(n, 1), Z1(d) && (l = l.concat(j(d, 9) == 0 ? O(g(n, 1), 9) : O(d, 9)), l.sort(), o.length == 0 ? o = O(d, 10) : (o = o.concat(O(d, 10)), o.sort()));
9176
9177
  else return f1(d, t, n, 1);
9177
9178
  return l[0] == -1 ? 5 : (t = t.length, -1 < o.indexOf(t) ? 4 : (n = l[0], n == t ? 0 : n > t ? 2 : l[l.length - 1] < t ? 3 : -1 < l.indexOf(t, 1) ? 0 : 5));
9178
9179
  }
@@ -9180,35 +9181,35 @@ const L2 = (h) => {
9180
9181
  var r = i1(t);
9181
9182
  return t = S(t, 1), t in e1 ? (t = n1(d, t, s1(t)), f1(d, r, t, n)) : 1;
9182
9183
  }
9183
- function d0(d, t) {
9184
+ function t0(d, t) {
9184
9185
  if (d = d.toString(), d.length == 0 || d.charAt(0) == "0") return 0;
9185
9186
  for (var n, r = d.length, o = 1; 3 >= o && o <= r; ++o) if (n = parseInt(d.substring(0, o), 10), n in e1) return t.g(d.substring(o)), n;
9186
9187
  return 0;
9187
9188
  }
9188
- function t0(d, t, n, r, o, l) {
9189
+ function e0(d, t, n, r, o, l) {
9189
9190
  if (t.length == 0) return 0;
9190
9191
  t = new D(t);
9191
9192
  var c;
9192
9193
  n != null && (c = g(n, 11)), c == null && (c = "NonMatch");
9193
9194
  var p = t.toString();
9194
9195
  if (p.length == 0) c = 20;
9195
- else if ($1.test(p)) p = p.replace($1, ""), H(t), t.g(j1(p)), c = 1;
9196
+ else if ($1.test(p)) p = p.replace($1, ""), H(t), t.g(Y1(p)), c = 1;
9196
9197
  else {
9197
- if (p = new RegExp(c), Y1(t), c = t.toString(), c.search(p) == 0) {
9198
+ if (p = new RegExp(c), z1(t), c = t.toString(), c.search(p) == 0) {
9198
9199
  p = c.match(p)[0].length;
9199
- var y = c.substring(p).match(F1);
9200
+ var y = c.substring(p).match(W1);
9200
9201
  y && y[1] != null && 0 < y[1].length && a1(y[1], _1) == "0" ? c = !1 : (H(t), t.g(c.substring(p)), c = !0);
9201
9202
  } else c = !1;
9202
9203
  c = c ? 5 : 20;
9203
9204
  }
9204
9205
  if (o && M(l, 6, c), c != 20) {
9205
9206
  if (2 >= t.h.length) throw Error("Phone number too short after IDD");
9206
- if (d = d0(t, r), d != 0) return M(l, 1, d), d;
9207
+ if (d = t0(t, r), d != 0) return M(l, 1, d), d;
9207
9208
  throw Error("Invalid country calling code");
9208
9209
  }
9209
- return n != null && (c = S(n, 10), p = "" + c, y = t.toString(), y.lastIndexOf(p, 0) == 0 && (p = new D(y.substring(p.length)), y = g(n, 1), y = new RegExp(S(y, 2)), e0(p, n, null), p = p.toString(), !V(y, t.toString()) && V(y, p) || f1(d, t.toString(), n, -1) == 3)) ? (r.g(p), o && M(l, 6, 10), M(l, 1, c), c) : (M(l, 1, 0), 0);
9210
+ return n != null && (c = S(n, 10), p = "" + c, y = t.toString(), y.lastIndexOf(p, 0) == 0 && (p = new D(y.substring(p.length)), y = g(n, 1), y = new RegExp(S(y, 2)), $0(p, n, null), p = p.toString(), !V(y, t.toString()) && V(y, p) || f1(d, t.toString(), n, -1) == 3)) ? (r.g(p), o && M(l, 6, 10), M(l, 1, c), c) : (M(l, 1, 0), 0);
9210
9211
  }
9211
- function e0(d, t, n) {
9212
+ function $0(d, t, n) {
9212
9213
  var r = d.toString(), o = r.length, l = g(t, 15);
9213
9214
  if (o != 0 && l != null && l.length != 0) {
9214
9215
  var c = new RegExp("^(?:" + l + ")");
@@ -9221,9 +9222,9 @@ const L2 = (h) => {
9221
9222
  }
9222
9223
  function X(d, t, n) {
9223
9224
  if (!c1(n) && 0 < t.length && t.charAt(0) != "+") throw Error("Invalid country calling code");
9224
- return $0(d, t, n, !0);
9225
+ return n0(d, t, n, !0);
9225
9226
  }
9226
- function $0(d, t, n, r) {
9227
+ function n0(d, t, n, r) {
9227
9228
  if (t == null) throw Error("The string supplied did not seem to be a phone number");
9228
9229
  if (250 < t.length) throw Error("The string supplied is too long to be a phone number");
9229
9230
  var o = new D(), l = t.indexOf(";phone-context=");
@@ -9234,12 +9235,12 @@ const L2 = (h) => {
9234
9235
  l = c !== -1 ? t.substring(l, c) : t.substring(l);
9235
9236
  }
9236
9237
  var p = l;
9237
- if (p == null ? c = !0 : p.length === 0 ? c = !1 : (c = B0.exec(p), p = U0.exec(p), c = c !== null || p !== null), !c || (l != null ? (l.charAt(0) === "+" && o.g(l), l = t.indexOf("tel:"), o.g(t.substring(0 <= l ? l + 4 : 0, t.indexOf(";phone-context=")))) : (l = o.g, c = t ?? "", p = c.search(M0), 0 <= p ? (c = c.substring(p), c = c.replace(O0, ""), p = c.search(R0), 0 <= p && (c = c.substring(0, p))) : c = "", l.call(o, c)), l = o.toString(), c = l.indexOf(";isub="), 0 < c && (H(o), o.g(l.substring(0, c))), !K1(o.toString()))) throw Error("The string supplied did not seem to be a phone number");
9238
+ if (p == null ? c = !0 : p.length === 0 ? c = !1 : (c = U0.exec(p), p = G0.exec(p), c = c !== null || p !== null), !c || (l != null ? (l.charAt(0) === "+" && o.g(l), l = t.indexOf("tel:"), o.g(t.substring(0 <= l ? l + 4 : 0, t.indexOf(";phone-context=")))) : (l = o.g, c = t ?? "", p = c.search(R0), 0 <= p ? (c = c.substring(p), c = c.replace(x0, ""), p = c.search(O0), 0 <= p && (c = c.substring(0, p))) : c = "", l.call(o, c)), l = o.toString(), c = l.indexOf(";isub="), 0 < c && (H(o), o.g(l.substring(0, c))), !j1(o.toString()))) throw Error("The string supplied did not seem to be a phone number");
9238
9239
  if (l = o.toString(), !(c1(n) || l != null && 0 < l.length && $1.test(l))) throw Error("Invalid country calling code");
9239
9240
  l = new Y(), r && M(l, 5, t);
9240
9241
  d: {
9241
- if (t = o.toString(), c = t.search(V1), 0 <= c && K1(t.substring(0, c))) {
9242
- p = t.match(V1);
9242
+ if (t = o.toString(), c = t.search(K1), 0 <= c && j1(t.substring(0, c))) {
9243
+ p = t.match(K1);
9243
9244
  for (var y = p.length, K = 1; K < y; ++K) if (p[K] != null && 0 < p[K].length) {
9244
9245
  H(o), o.g(t.substring(0, c)), t = p[K];
9245
9246
  break d;
@@ -9249,17 +9250,17 @@ const L2 = (h) => {
9249
9250
  }
9250
9251
  0 < t.length && M(l, 3, t), c = z(d, n), t = new D(), p = 0, y = o.toString();
9251
9252
  try {
9252
- p = t0(d, y, c, t, r, l);
9253
+ p = e0(d, y, c, t, r, l);
9253
9254
  } catch (L1) {
9254
9255
  if (L1.message == "Invalid country calling code" && $1.test(y)) {
9255
- if (y = y.replace($1, ""), p = t0(d, y, c, t, r, l), p == 0) throw L1;
9256
+ if (y = y.replace($1, ""), p = e0(d, y, c, t, r, l), p == 0) throw L1;
9256
9257
  } else throw L1;
9257
9258
  }
9258
- if (p != 0 ? (o = s1(p), o != n && (c = n1(d, p, o))) : (Y1(o), t.g(o.toString()), n != null ? (p = S(c, 10), M(
9259
+ if (p != 0 ? (o = s1(p), o != n && (c = n1(d, p, o))) : (z1(o), t.g(o.toString()), n != null ? (p = S(c, 10), M(
9259
9260
  l,
9260
9261
  1,
9261
9262
  p
9262
- )) : r && (delete l.h[6], l.g && delete l.g[6])), 2 > t.h.length || (c != null && (n = new D(), o = new D(t.toString()), e0(o, c, n), d = f1(d, o.toString(), c, -1), d != 2 && d != 4 && d != 5 && (t = o, r && 0 < n.toString().length && M(l, 7, n.toString()))), r = t.toString(), d = r.length, 2 > d)) throw Error("The string supplied is too short to be a phone number");
9263
+ )) : r && (delete l.h[6], l.g && delete l.g[6])), 2 > t.h.length || (c != null && (n = new D(), o = new D(t.toString()), $0(o, c, n), d = f1(d, o.toString(), c, -1), d != 2 && d != 4 && d != 5 && (t = o, r && 0 < n.toString().length && M(l, 7, n.toString()))), r = t.toString(), d = r.length, 2 > d)) throw Error("The string supplied is too short to be a phone number");
9263
9264
  if (17 < d) throw Error("The string supplied is too long to be a phone number");
9264
9265
  if (1 < r.length && r.charAt(0) == "0") {
9265
9266
  for (M(l, 4, !0), d = 1; d < r.length - 1 && r.charAt(d) == "0"; ) d++;
@@ -9270,17 +9271,17 @@ const L2 = (h) => {
9270
9271
  function V(d, t) {
9271
9272
  return !!((d = t.match(new RegExp("^(?:" + (typeof d == "string" ? d : d.source) + ")$", "i"))) && d[0].length == t.length);
9272
9273
  }
9273
- function W0(d) {
9274
- this.fa = RegExp(" "), this.ja = "", this.v = new D(), this.da = "", this.s = new D(), this.ba = new D(), this.u = !0, this.ea = this.ca = this.la = !1, this.ga = R.g(), this.$ = 0, this.h = new D(), this.ha = !1, this.o = "", this.g = new D(), this.j = [], this.ka = d, this.l = s0(this, this.ka);
9274
+ function V0(d) {
9275
+ this.fa = RegExp(" "), this.ja = "", this.v = new D(), this.da = "", this.s = new D(), this.ba = new D(), this.u = !0, this.ea = this.ca = this.la = !1, this.ga = R.g(), this.$ = 0, this.h = new D(), this.ha = !1, this.o = "", this.g = new D(), this.j = [], this.ka = d, this.l = r0(this, this.ka);
9275
9276
  }
9276
- var n0 = new J();
9277
- M(n0, 11, "NA");
9278
- var V0 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), i0 = /[- ]/;
9279
- function s0(d, t) {
9277
+ var i0 = new J();
9278
+ M(i0, 11, "NA");
9279
+ var K0 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), s0 = /[- ]/;
9280
+ function r0(d, t) {
9280
9281
  var n = d.ga;
9281
- return t = c1(t) ? Q1(n, t) : 0, d = z(d.ga, s1(t)), d ?? n0;
9282
+ return t = c1(t) ? d0(n, t) : 0, d = z(d.ga, s1(t)), d ?? i0;
9282
9283
  }
9283
- function r0(d) {
9284
+ function o0(d) {
9284
9285
  for (var t = d.j.length, n = 0; n < t; ++n) {
9285
9286
  var r = d.j[n], o = S(r, 1);
9286
9287
  if (d.da == o) return !1;
@@ -9289,25 +9290,25 @@ const L2 = (h) => {
9289
9290
  var y = l;
9290
9291
  c = S(c, 2);
9291
9292
  var K = "999999999999999".match(p)[0];
9292
- if (K.length < y.g.h.length ? y = "" : (y = K.replace(new RegExp(p, "g"), c), y = y.replace(RegExp("9", "g"), " ")), 0 < y.length ? (l.v.g(y), l = !0) : l = !1, l) return d.da = o, d.ha = i0.test(g(r, 4)), d.$ = 0, !0;
9293
+ if (K.length < y.g.h.length ? y = "" : (y = K.replace(new RegExp(p, "g"), c), y = y.replace(RegExp("9", "g"), " ")), 0 < y.length ? (l.v.g(y), l = !0) : l = !1, l) return d.da = o, d.ha = s0.test(g(r, 4)), d.$ = 0, !0;
9293
9294
  }
9294
9295
  return d.u = !1;
9295
9296
  }
9296
- function o0(d, t) {
9297
+ function u0(d, t) {
9297
9298
  for (var n = [], r = t.length - 3, o = d.j.length, l = 0; l < o; ++l) {
9298
9299
  var c = d.j[l];
9299
9300
  j(c, 3) == 0 ? n.push(d.j[l]) : (c = g(c, 3, Math.min(r, j(c, 3) - 1)), t.search(c) == 0 && n.push(d.j[l]));
9300
9301
  }
9301
9302
  d.j = n;
9302
9303
  }
9303
- function K0(d, t) {
9304
+ function j0(d, t) {
9304
9305
  d.s.g(t);
9305
9306
  var n = t;
9306
- if (F1.test(n) || d.s.h.length == 1 && P0.test(n) ? (t == "+" ? (n = t, d.ba.g(t)) : (n = _1[t], d.ba.g(n), d.g.g(n)), t = n) : (d.u = !1, d.la = !0), !d.u) {
9307
+ if (W1.test(n) || d.s.h.length == 1 && M0.test(n) ? (t == "+" ? (n = t, d.ba.g(t)) : (n = _1[t], d.ba.g(n), d.g.g(n)), t = n) : (d.u = !1, d.la = !0), !d.u) {
9307
9308
  if (!d.la) {
9308
- if (h0(d)) {
9309
- if (f0(d)) return u0(d);
9310
- } else if (0 < d.o.length && (t = d.g.toString(), H(d.g), d.g.g(d.o), d.g.g(t), t = d.h.toString(), n = t.lastIndexOf(d.o), H(d.h), d.h.g(t.substring(0, n))), d.o != c0(d)) return d.h.g(" "), u0(d);
9309
+ if (f0(d)) {
9310
+ if (p0(d)) return l0(d);
9311
+ } else if (0 < d.o.length && (t = d.g.toString(), H(d.g), d.g.g(d.o), d.g.g(t), t = d.h.toString(), n = t.lastIndexOf(d.o), H(d.h), d.h.g(t.substring(0, n))), d.o != h0(d)) return d.h.g(" "), l0(d);
9311
9312
  }
9312
9313
  return d.s.toString();
9313
9314
  }
@@ -9317,19 +9318,19 @@ const L2 = (h) => {
9317
9318
  case 2:
9318
9319
  return d.s.toString();
9319
9320
  case 3:
9320
- if (h0(d)) d.ea = !0;
9321
- else return d.o = c0(d), N1(d);
9321
+ if (f0(d)) d.ea = !0;
9322
+ else return d.o = h0(d), N1(d);
9322
9323
  default:
9323
- return d.ea ? (f0(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = p0(d, t), n = l0(d), 0 < n.length ? n : (o0(d, d.g.toString()), r0(d) ? a0(d) : d.u ? C1(d, t) : d.s.toString())) : N1(d);
9324
+ return d.ea ? (p0(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = C0(d, t), n = a0(d), 0 < n.length ? n : (u0(d, d.g.toString()), o0(d) ? c0(d) : d.u ? C1(d, t) : d.s.toString())) : N1(d);
9324
9325
  }
9325
9326
  }
9326
- function u0(d) {
9327
+ function l0(d) {
9327
9328
  return d.u = !0, d.ea = !1, d.j = [], d.$ = 0, H(d.v), d.da = "", N1(d);
9328
9329
  }
9329
- function l0(d) {
9330
+ function a0(d) {
9330
9331
  for (var t = d.g.toString(), n = d.j.length, r = 0; r < n; ++r) {
9331
9332
  var o = d.j[r], l = S(o, 1);
9332
- if (new RegExp("^(?:" + l + ")$").test(t) && (d.ha = i0.test(g(o, 4)), o = t.replace(new RegExp(l, "g"), g(o, 2)), o = C1(d, o), a1(o, D0) == d.ba)) return o;
9333
+ if (new RegExp("^(?:" + l + ")$").test(t) && (d.ha = s0.test(g(o, 4)), o = t.replace(new RegExp(l, "g"), g(o, 2)), o = C1(d, o), a1(o, v0) == d.ba)) return o;
9333
9334
  }
9334
9335
  return "";
9335
9336
  }
@@ -9342,36 +9343,36 @@ const L2 = (h) => {
9342
9343
  if (3 <= t.length) {
9343
9344
  for (var n = d.ca && d.o.length == 0 && 0 < j(d.l, 20) ? O(d.l, 20) : O(d.l, 19), r = n.length, o = 0; o < r; ++o) {
9344
9345
  var l = n[o];
9345
- 0 < d.o.length && Z1(S(l, 4)) && !g(l, 6) && !G(l, 5) || (d.o.length != 0 || d.ca || Z1(S(l, 4)) || g(l, 6)) && V0.test(S(l, 2)) && d.j.push(l);
9346
+ 0 < d.o.length && J1(S(l, 4)) && !g(l, 6) && !G(l, 5) || (d.o.length != 0 || d.ca || J1(S(l, 4)) || g(l, 6)) && K0.test(S(l, 2)) && d.j.push(l);
9346
9347
  }
9347
- return o0(d, t), t = l0(d), 0 < t.length ? t : r0(d) ? a0(d) : d.s.toString();
9348
+ return u0(d, t), t = a0(d), 0 < t.length ? t : o0(d) ? c0(d) : d.s.toString();
9348
9349
  }
9349
9350
  return C1(d, t);
9350
9351
  }
9351
- function a0(d) {
9352
+ function c0(d) {
9352
9353
  var t = d.g.toString(), n = t.length;
9353
9354
  if (0 < n) {
9354
- for (var r = "", o = 0; o < n; o++) r = p0(d, t.charAt(o));
9355
+ for (var r = "", o = 0; o < n; o++) r = C0(d, t.charAt(o));
9355
9356
  return d.u ? C1(d, r) : d.s.toString();
9356
9357
  }
9357
9358
  return d.h.toString();
9358
9359
  }
9359
- function c0(d) {
9360
+ function h0(d) {
9360
9361
  var t = d.g.toString(), n = 0;
9361
9362
  if (g(d.l, 10) != 1) var r = !1;
9362
9363
  else r = d.g.toString(), r = r.charAt(0) == "1" && r.charAt(1) != "0" && r.charAt(1) != "1";
9363
9364
  return r ? (n = 1, d.h.g("1").g(" "), d.ca = !0) : G(d.l, 15) && (r = new RegExp("^(?:" + g(d.l, 15) + ")"), r = t.match(r), r != null && r[0] != null && 0 < r[0].length && (d.ca = !0, n = r[0].length, d.h.g(t.substring(0, n)))), H(d.g), d.g.g(t.substring(n)), t.substring(0, n);
9364
9365
  }
9365
- function h0(d) {
9366
+ function f0(d) {
9366
9367
  var t = d.ba.toString(), n = new RegExp("^(?:\\+|" + g(d.l, 11) + ")");
9367
9368
  return n = t.match(n), n != null && n[0] != null && 0 < n[0].length ? (d.ca = !0, n = n[0].length, H(d.g), d.g.g(t.substring(n)), H(d.h), d.h.g(t.substring(0, n)), t.charAt(0) != "+" && d.h.g(" "), !0) : !1;
9368
9369
  }
9369
- function f0(d) {
9370
+ function p0(d) {
9370
9371
  if (d.g.h.length == 0) return !1;
9371
- var t = new D(), n = d0(d.g, t);
9372
- return n == 0 ? !1 : (H(d.g), d.g.g(t.toString()), t = s1(n), t == "001" ? d.l = z(d.ga, "" + n) : t != d.ka && (d.l = s0(d, t)), d.h.g("" + n).g(" "), d.o = "", !0);
9372
+ var t = new D(), n = t0(d.g, t);
9373
+ return n == 0 ? !1 : (H(d.g), d.g.g(t.toString()), t = s1(n), t == "001" ? d.l = z(d.ga, "" + n) : t != d.ka && (d.l = r0(d, t)), d.h.g("" + n).g(" "), d.o = "", !0);
9373
9374
  }
9374
- function p0(d, t) {
9375
+ function C0(d, t) {
9375
9376
  var n = d.v.toString();
9376
9377
  if (0 <= n.substring(d.$).search(d.fa)) {
9377
9378
  var r = n.search(d.fa);
@@ -9379,15 +9380,15 @@ const L2 = (h) => {
9379
9380
  }
9380
9381
  return d.j.length == 1 && (d.u = !1), d.da = "", d.s.toString();
9381
9382
  }
9382
- const C0 = (d) => {
9383
+ const g0 = (d) => {
9383
9384
  const t = [];
9384
9385
  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);
9385
9386
  }, S1 = { 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 };
9386
9387
  e("intlTelInputUtilsTemp", {}), e("intlTelInputUtilsTemp.formatNumberAsYouType", (d, t) => {
9387
9388
  try {
9388
- const n = d.replace(/[^+0-9]/g, ""), r = new W0(t);
9389
+ const n = d.replace(/[^+0-9]/g, ""), r = new V0(t);
9389
9390
  t = "";
9390
- for (let o = 0; o < n.length; o++) r.ja = K0(r, n.charAt(o)), t = r.ja;
9391
+ for (let o = 0; o < n.length; o++) r.ja = j0(r, n.charAt(o)), t = r.ja;
9391
9392
  return t;
9392
9393
  } catch {
9393
9394
  return d;
@@ -9409,7 +9410,7 @@ const L2 = (h) => {
9409
9410
  var l = h1(z(o, d), n);
9410
9411
  try {
9411
9412
  if (G(l, 6)) {
9412
- var c = g(l, 6), p = $0(o, c, d, !1);
9413
+ var c = g(l, 6), p = n0(o, c, d, !1);
9413
9414
  break d;
9414
9415
  }
9415
9416
  } catch {
@@ -9430,7 +9431,7 @@ const L2 = (h) => {
9430
9431
  }), e("intlTelInputUtilsTemp.getNumberType", (d, t) => {
9431
9432
  try {
9432
9433
  const n = R.g(), r = X(n, d, t);
9433
- return X1(n, r);
9434
+ return q1(n, r);
9434
9435
  } catch {
9435
9436
  return -99;
9436
9437
  }
@@ -9444,10 +9445,10 @@ const L2 = (h) => {
9444
9445
  }
9445
9446
  }), e("intlTelInputUtilsTemp.isValidNumber", (d, t, n) => {
9446
9447
  try {
9447
- const r = R.g(), o = X(r, d, t), l = F0(r, o);
9448
+ const r = R.g(), o = X(r, d, t), l = W0(r, o);
9448
9449
  if (n) {
9449
- const c = C0(n).map((p) => S1[p]);
9450
- return l && c.includes(X1(r, o));
9450
+ const c = g0(n).map((p) => S1[p]);
9451
+ return l && c.includes(q1(r, o));
9451
9452
  }
9452
9453
  return l;
9453
9454
  } catch {
@@ -9457,7 +9458,7 @@ const L2 = (h) => {
9457
9458
  try {
9458
9459
  const r = R.g(), o = X(r, d, t);
9459
9460
  if (n) {
9460
- const l = C0(n);
9461
+ const l = g0(n);
9461
9462
  for (let c of l) if (p1(r, o, S1[c]) === 0) return !0;
9462
9463
  return !1;
9463
9464
  }
@@ -9473,12 +9474,12 @@ const L2 = (h) => {
9473
9474
  }
9474
9475
  }), e("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }), e("intlTelInputUtilsTemp.numberType", S1), e("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
9475
9476
  })();
9476
- const A0 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, A2 = A0.intlTelInputUtilsTemp;
9477
- delete A0.intlTelInputUtilsTemp;
9477
+ const w0 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, A2 = w0.intlTelInputUtilsTemp;
9478
+ delete w0.intlTelInputUtilsTemp;
9478
9479
  m.utils = A2;
9479
9480
  const b2 = {
9480
9481
  __name: "IntlTelInputWithUtils",
9481
- props: /* @__PURE__ */ g0({
9482
+ props: /* @__PURE__ */ m0({
9482
9483
  disabled: {
9483
9484
  type: Boolean,
9484
9485
  default: !1
@@ -9502,14 +9503,14 @@ const b2 = {
9502
9503
  },
9503
9504
  modelModifiers: {}
9504
9505
  }),
9505
- emits: /* @__PURE__ */ g0([
9506
+ emits: /* @__PURE__ */ m0([
9506
9507
  "changeNumber",
9507
9508
  "changeCountry",
9508
9509
  "changeValidity",
9509
9510
  "changeErrorCode"
9510
9511
  ], ["update:modelValue"]),
9511
9512
  setup(h, { expose: e, emit: $ }) {
9512
- const i = j0(h, "modelValue"), s = h, a = $, u = A1(), f = A1(), C = A1(!1), I = () => f.value ? s.options.strictMode ? f.value.isValidNumberPrecise() : f.value.isValidNumber() : null, _ = () => {
9513
+ const i = Y0(h, "modelValue"), s = h, a = $, u = A1(), f = A1(), C = A1(!1), I = () => f.value ? s.options.strictMode ? f.value.isValidNumberPrecise() : f.value.isValidNumber() : null, _ = () => {
9513
9514
  let N = I();
9514
9515
  C.value !== N && (C.value = N, a("changeValidity", !!N), a(
9515
9516
  "changeErrorCode",
@@ -9522,18 +9523,18 @@ const b2 = {
9522
9523
  var N;
9523
9524
  a("changeCountry", ((N = f.value) == null ? void 0 : N.getSelectedCountryData().iso2) ?? ""), A(), _();
9524
9525
  };
9525
- return Y0(() => {
9526
+ return z0(() => {
9526
9527
  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 = I());
9527
- }), z0(
9528
+ }), Z0(
9528
9529
  () => s.disabled,
9529
9530
  (N) => {
9530
9531
  var T;
9531
9532
  return (T = f.value) == null ? void 0 : T.setDisabled(N);
9532
9533
  }
9533
- ), Z0(() => {
9534
+ ), J0(() => {
9534
9535
  var N;
9535
9536
  return (N = f.value) == null ? void 0 : N.destroy();
9536
- }), e({ instance: f, input: u }), (N, T) => J0((q0(), X0("input", Q0({
9537
+ }), e({ instance: f, input: u }), (N, T) => X0((Q0(), q0("input", d2({
9537
9538
  ref_key: "input",
9538
9539
  ref: u,
9539
9540
  "onUpdate:modelValue": T[0] || (T[0] = (k) => i.value = k),
@@ -9542,7 +9543,7 @@ const b2 = {
9542
9543
  onInput: A
9543
9544
  }, h.inputProps), null, 16)), [
9544
9545
  [
9545
- d2,
9546
+ t2,
9546
9547
  i.value,
9547
9548
  void 0,
9548
9549
  { lazy: !0 }