intl-tel-input 23.5.0 → 23.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1720,9 +1720,7 @@ var Iti = class {
1720
1720
  this.countryContainer
1721
1721
  );
1722
1722
  if (this.telInput.disabled) {
1723
- this.selectedCountry.setAttribute("aria-disabled", "true");
1724
- } else {
1725
- this.selectedCountry.setAttribute("tabindex", "0");
1723
+ this.selectedCountry.setAttribute("disabled", "true");
1726
1724
  }
1727
1725
  } else {
1728
1726
  this.selectedCountry = createEl(
@@ -2819,7 +2817,7 @@ var intlTelInput = Object.assign(
2819
2817
  //* A map from instance ID to instance object.
2820
2818
  instances: {},
2821
2819
  loadUtils,
2822
- version: "23.5.0"
2820
+ version: "23.6.0"
2823
2821
  }
2824
2822
  );
2825
2823
  var intl_tel_input_default = intlTelInput;
@@ -2853,7 +2851,7 @@ var intl_tel_input_default = intlTelInput;
2853
2851
  return b;
2854
2852
  }
2855
2853
  ;
2856
- var da = class {
2854
+ var ca = class {
2857
2855
  constructor(a) {
2858
2856
  if (ba !== ba) throw Error("SafeUrl is not meant to be built directly");
2859
2857
  this.g = a;
@@ -2862,8 +2860,8 @@ var intl_tel_input_default = intlTelInput;
2862
2860
  return this.g.toString();
2863
2861
  }
2864
2862
  }, ba = {};
2865
- new da("about:invalid#zClosurez");
2866
- new da("about:blank");
2863
+ new ca("about:invalid#zClosurez");
2864
+ new ca("about:blank");
2867
2865
  const ea = {};
2868
2866
  class fa {
2869
2867
  constructor() {
@@ -3042,91 +3040,91 @@ var intl_tel_input_default = intlTelInput;
3042
3040
  return b;
3043
3041
  };
3044
3042
  var xa = /^-?[0-9]+$/;
3045
- function B() {
3043
+ function ya() {
3046
3044
  }
3047
- n(B, z);
3048
- B.prototype.g = function(a, b) {
3045
+ n(ya, z);
3046
+ ya.prototype.g = function(a, b) {
3049
3047
  a = new a.h();
3050
3048
  a.l = this;
3051
3049
  a.h = b;
3052
3050
  a.g = {};
3053
3051
  return a;
3054
3052
  };
3055
- function C() {
3053
+ function B() {
3056
3054
  }
3057
- n(C, B);
3058
- C.prototype.h = function(a, b) {
3055
+ n(B, ya);
3056
+ B.prototype.h = function(a, b) {
3059
3057
  return 8 == a.h ? !!b : z.prototype.h.apply(this, arguments);
3060
3058
  };
3061
- C.prototype.g = function(a, b) {
3062
- return C.ma.g.call(this, a, b);
3059
+ B.prototype.g = function(a, b) {
3060
+ return B.ma.g.call(this, a, b);
3063
3061
  };
3064
- function D(a, b) {
3062
+ function C(a, b) {
3065
3063
  null != a && this.g.apply(this, arguments);
3066
3064
  }
3067
- D.prototype.h = "";
3068
- D.prototype.set = function(a) {
3065
+ C.prototype.h = "";
3066
+ C.prototype.set = function(a) {
3069
3067
  this.h = "" + a;
3070
3068
  };
3071
- D.prototype.g = function(a, b, c) {
3069
+ C.prototype.g = function(a, b, c) {
3072
3070
  this.h += String(a);
3073
3071
  if (null != b) for (let d = 1; d < arguments.length; d++) this.h += arguments[d];
3074
3072
  return this;
3075
3073
  };
3076
- function E(a) {
3074
+ function D(a) {
3077
3075
  a.h = "";
3078
3076
  }
3079
- D.prototype.toString = function() {
3077
+ C.prototype.toString = function() {
3080
3078
  return this.h;
3081
3079
  };
3080
+ function E() {
3081
+ p.call(this);
3082
+ }
3083
+ n(E, p);
3084
+ var za = null;
3082
3085
  function F() {
3083
3086
  p.call(this);
3084
3087
  }
3085
3088
  n(F, p);
3086
- var ya = null;
3089
+ var Aa = null;
3087
3090
  function G() {
3088
3091
  p.call(this);
3089
3092
  }
3090
3093
  n(G, p);
3091
- var za = null;
3092
- function H() {
3093
- p.call(this);
3094
- }
3095
- n(H, p);
3096
- var Aa = null;
3094
+ var Ba = null;
3095
+ E.prototype.m = function() {
3096
+ var a = za;
3097
+ a || (za = a = y(E, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: true, i: 9, type: String }, 2: { name: "format", required: true, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: true, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: false, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } }));
3098
+ return a;
3099
+ };
3100
+ E.m = E.prototype.m;
3097
3101
  F.prototype.m = function() {
3098
- var a = ya;
3099
- a || (ya = a = y(F, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: true, i: 9, type: String }, 2: { name: "format", required: true, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: true, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: false, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } }));
3102
+ var a = Aa;
3103
+ a || (Aa = a = y(F, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: true, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: true, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } }));
3100
3104
  return a;
3101
3105
  };
3102
3106
  F.m = F.prototype.m;
3103
3107
  G.prototype.m = function() {
3104
- var a = za;
3105
- a || (za = a = y(G, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: true, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: true, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } }));
3106
- return a;
3107
- };
3108
- G.m = G.prototype.m;
3109
- H.prototype.m = function() {
3110
- var a = Aa;
3111
- a || (Aa = a = y(H, {
3108
+ var a = Ba;
3109
+ a || (Ba = a = y(G, {
3112
3110
  0: { name: "PhoneMetadata", ia: "i18n.phonenumbers.PhoneMetadata" },
3113
- 1: { name: "general_desc", i: 11, type: G },
3114
- 2: { name: "fixed_line", i: 11, type: G },
3115
- 3: { name: "mobile", i: 11, type: G },
3116
- 4: { name: "toll_free", i: 11, type: G },
3117
- 5: { name: "premium_rate", i: 11, type: G },
3118
- 6: { name: "shared_cost", i: 11, type: G },
3119
- 7: { name: "personal_number", i: 11, type: G },
3120
- 8: { name: "voip", i: 11, type: G },
3121
- 21: { name: "pager", i: 11, type: G },
3122
- 25: { name: "uan", i: 11, type: G },
3123
- 27: { name: "emergency", i: 11, type: G },
3124
- 28: { name: "voicemail", i: 11, type: G },
3125
- 29: { name: "short_code", i: 11, type: G },
3126
- 30: { name: "standard_rate", i: 11, type: G },
3127
- 31: { name: "carrier_specific", i: 11, type: G },
3128
- 33: { name: "sms_services", i: 11, type: G },
3129
- 24: { name: "no_international_dialling", i: 11, type: G },
3111
+ 1: { name: "general_desc", i: 11, type: F },
3112
+ 2: { name: "fixed_line", i: 11, type: F },
3113
+ 3: { name: "mobile", i: 11, type: F },
3114
+ 4: { name: "toll_free", i: 11, type: F },
3115
+ 5: { name: "premium_rate", i: 11, type: F },
3116
+ 6: { name: "shared_cost", i: 11, type: F },
3117
+ 7: { name: "personal_number", i: 11, type: F },
3118
+ 8: { name: "voip", i: 11, type: F },
3119
+ 21: { name: "pager", i: 11, type: F },
3120
+ 25: { name: "uan", i: 11, type: F },
3121
+ 27: { name: "emergency", i: 11, type: F },
3122
+ 28: { name: "voicemail", i: 11, type: F },
3123
+ 29: { name: "short_code", i: 11, type: F },
3124
+ 30: { name: "standard_rate", i: 11, type: F },
3125
+ 31: { name: "carrier_specific", i: 11, type: F },
3126
+ 33: { name: "sms_services", i: 11, type: F },
3127
+ 24: { name: "no_international_dialling", i: 11, type: F },
3130
3128
  9: { name: "id", required: true, i: 9, type: String },
3131
3129
  10: { name: "country_code", i: 5, type: Number },
3132
3130
  11: { name: "international_prefix", i: 9, type: String },
@@ -3140,31 +3138,31 @@ var intl_tel_input_default = intlTelInput;
3140
3138
  },
3141
3139
  16: { name: "national_prefix_transform_rule", i: 9, type: String },
3142
3140
  18: { name: "same_mobile_and_fixed_line_pattern", i: 8, defaultValue: false, type: Boolean },
3143
- 19: { name: "number_format", aa: true, i: 11, type: F },
3144
- 20: { name: "intl_number_format", aa: true, i: 11, type: F },
3141
+ 19: { name: "number_format", aa: true, i: 11, type: E },
3142
+ 20: { name: "intl_number_format", aa: true, i: 11, type: E },
3145
3143
  22: { name: "main_country_for_code", i: 8, defaultValue: false, type: Boolean },
3146
3144
  23: { name: "leading_digits", i: 9, type: String }
3147
3145
  }));
3148
3146
  return a;
3149
3147
  };
3150
- H.m = H.prototype.m;
3151
- function I() {
3148
+ G.m = G.prototype.m;
3149
+ function H() {
3152
3150
  p.call(this);
3153
3151
  }
3154
- n(I, p);
3155
- var Ba = null, Ca = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
3156
- I.prototype.m = function() {
3157
- var a = Ba;
3158
- a || (Ba = a = y(I, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: true, i: 5, type: Number }, 2: { name: "national_number", required: true, 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: Ca }, 7: {
3152
+ n(H, p);
3153
+ var Ca = null, Da = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
3154
+ H.prototype.m = function() {
3155
+ var a = Ca;
3156
+ a || (Ca = a = y(H, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: true, i: 5, type: Number }, 2: { name: "national_number", required: true, 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: Da }, 7: {
3159
3157
  name: "preferred_domestic_carrier_code",
3160
3158
  i: 9,
3161
3159
  type: String
3162
3160
  } }));
3163
3161
  return a;
3164
3162
  };
3165
- I.ctor = I;
3166
- I.ctor.m = I.prototype.m;
3167
- var J = {
3163
+ H.ctor = H;
3164
+ H.ctor.m = H.prototype.m;
3165
+ var I = {
3168
3166
  1: "US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),
3169
3167
  7: ["RU", "KZ"],
3170
3168
  20: ["EG"],
@@ -3380,7 +3378,7 @@ var intl_tel_input_default = intlTelInput;
3380
3378
  995: ["GE"],
3381
3379
  996: ["KG"],
3382
3380
  998: ["UZ"]
3383
- }, Da = {
3381
+ }, Ea = {
3384
3382
  AC: [, [
3385
3383
  ,
3386
3384
  ,
@@ -8399,14 +8397,14 @@ var intl_tel_input_default = intlTelInput;
8399
8397
  ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 888, , , , , , , , 1, [[, "(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "\\d{11}", , , , "12345678901"], , , [, , , , , , , , , [-1]]],
8400
8398
  979: [, [, , "[1359]\\d{8}", , , , , , , [9], [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "[1359]\\d{8}", , , , "123456789", , , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 979, , , , , , , , 1, [[, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]]
8401
8399
  };
8402
- function K() {
8400
+ function J() {
8403
8401
  this.g = {};
8404
8402
  }
8405
- K.h = void 0;
8406
- K.g = function() {
8407
- return K.h ? K.h : K.h = new K();
8403
+ J.h = void 0;
8404
+ J.g = function() {
8405
+ return J.h ? J.h : J.h = new J();
8408
8406
  };
8409
- var Ea = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "\uFF10": "0", "\uFF11": "1", "\uFF12": "2", "\uFF13": "3", "\uFF14": "4", "\uFF15": "5", "\uFF16": "6", "\uFF17": "7", "\uFF18": "8", "\uFF19": "9", "\u0660": "0", "\u0661": "1", "\u0662": "2", "\u0663": "3", "\u0664": "4", "\u0665": "5", "\u0666": "6", "\u0667": "7", "\u0668": "8", "\u0669": "9", "\u06F0": "0", "\u06F1": "1", "\u06F2": "2", "\u06F3": "3", "\u06F4": "4", "\u06F5": "5", "\u06F6": "6", "\u06F7": "7", "\u06F8": "8", "\u06F9": "9" }, Fa = {
8407
+ var Fa = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "\uFF10": "0", "\uFF11": "1", "\uFF12": "2", "\uFF13": "3", "\uFF14": "4", "\uFF15": "5", "\uFF16": "6", "\uFF17": "7", "\uFF18": "8", "\uFF19": "9", "\u0660": "0", "\u0661": "1", "\u0662": "2", "\u0663": "3", "\u0664": "4", "\u0665": "5", "\u0666": "6", "\u0667": "7", "\u0668": "8", "\u0669": "9", "\u06F0": "0", "\u06F1": "1", "\u06F2": "2", "\u06F3": "3", "\u06F4": "4", "\u06F5": "5", "\u06F6": "6", "\u06F7": "7", "\u06F8": "8", "\u06F9": "9" }, Ga = {
8410
8408
  0: "0",
8411
8409
  1: "1",
8412
8410
  2: "2",
@@ -8420,7 +8418,7 @@ var intl_tel_input_default = intlTelInput;
8420
8418
  "+": "+",
8421
8419
  "*": "*",
8422
8420
  "#": "#"
8423
- }, Ga = {
8421
+ }, Ha = {
8424
8422
  0: "0",
8425
8423
  1: "1",
8426
8424
  2: "2",
@@ -8487,48 +8485,48 @@ var intl_tel_input_default = intlTelInput;
8487
8485
  X: "9",
8488
8486
  Y: "9",
8489
8487
  Z: "9"
8490
- }, Ha = RegExp("[+\uFF0B]+"), L = RegExp("^[+\uFF0B]+"), Ia = RegExp("([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])"), Ja = RegExp("[+\uFF0B0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]"), Ka = /[\\\/] *x/, La = RegExp("[^0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9A-Za-z#]+$"), Ma = /(?:.*?[A-Za-z]){3}.*/, Na = RegExp("^\\+([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*$"), Oa = RegExp("^([A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.?$");
8491
- function M(a) {
8488
+ }, Ia = RegExp("[+\uFF0B]+"), K = RegExp("^[+\uFF0B]+"), Ja = RegExp("([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])"), Ka = RegExp("[+\uFF0B0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]"), La = /[\\\/] *x/, Ma = RegExp("[^0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9A-Za-z#]+$"), Na = /(?:.*?[A-Za-z]){3}.*/, Oa = RegExp("^\\+([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*$"), Pa = RegExp("^([A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.?$");
8489
+ function L(a) {
8492
8490
  return "([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{1," + a + "})";
8493
8491
  }
8494
- function Pa() {
8495
- return ";ext=" + M("20") + "|[ \xA0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)[:\\.\uFF0E]?[ \xA0\\t,-]*" + (M("20") + "#?|[ \xA0\\t,]*(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)[:\\.\uFF0E]?[ \xA0\\t,-]*") + (M("9") + "#?|[- ]+") + (M("6") + "#|[ \xA0\\t]*(?:,{2}|;)[:\\.\uFF0E]?[ \xA0\\t,-]*") + (M("15") + "#?|[ \xA0\\t]*(?:,)+[:\\.\uFF0E]?[ \xA0\\t,-]*") + (M("9") + "#?");
8496
- }
8497
- var Qa = new RegExp("(?:" + Pa() + ")$", "i"), Ra = new RegExp("^[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{2}$|^[+\uFF0B]*(?:[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*]*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]){3,}[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]*(?:" + Pa() + ")?$", "i"), Sa = /(\$\d)/, Ta = /^\(?\$1\)?$/;
8498
- function Ua(a) {
8499
- return 2 > a.length ? false : N(Ra, a);
8492
+ function Qa() {
8493
+ return ";ext=" + L("20") + "|[ \xA0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)[:\\.\uFF0E]?[ \xA0\\t,-]*" + (L("20") + "#?|[ \xA0\\t,]*(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)[:\\.\uFF0E]?[ \xA0\\t,-]*") + (L("9") + "#?|[- ]+") + (L("6") + "#|[ \xA0\\t]*(?:,{2}|;)[:\\.\uFF0E]?[ \xA0\\t,-]*") + (L("15") + "#?|[ \xA0\\t]*(?:,)+[:\\.\uFF0E]?[ \xA0\\t,-]*") + (L("9") + "#?");
8500
8494
  }
8495
+ var Ra = new RegExp("(?:" + Qa() + ")$", "i"), Sa = new RegExp("^[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{2}$|^[+\uFF0B]*(?:[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*]*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]){3,}[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]*(?:" + Qa() + ")?$", "i"), Ta = /(\$\d)/, Ua = /^\(?\$1\)?$/;
8501
8496
  function Va(a) {
8502
- return N(Ma, a) ? O(a, Ga) : O(a, Ea);
8497
+ return 2 > a.length ? false : M(Sa, a);
8503
8498
  }
8504
8499
  function Wa(a) {
8505
- var b = Va(a.toString());
8506
- E(a);
8507
- a.g(b);
8500
+ return M(Na, a) ? N(a, Ha) : N(a, Fa);
8508
8501
  }
8509
8502
  function Xa(a) {
8503
+ var b = Wa(a.toString());
8504
+ D(a);
8505
+ a.g(b);
8506
+ }
8507
+ function Ya(a) {
8510
8508
  return null != a && (1 != x(a, 9) || -1 != u(a, 9)[0]);
8511
8509
  }
8512
- function O(a, b) {
8513
- for (var c = new D(), d, e = a.length, f = 0; f < e; ++f) d = a.charAt(f), d = b[d.toUpperCase()], null != d && c.g(d);
8510
+ function N(a, b) {
8511
+ for (var c = new C(), d, e = a.length, f = 0; f < e; ++f) d = a.charAt(f), d = b[d.toUpperCase()], null != d && c.g(d);
8514
8512
  return c.toString();
8515
8513
  }
8516
- function Ya(a) {
8517
- return 0 == a.length || Ta.test(a);
8514
+ function Za(a) {
8515
+ return 0 == a.length || Ua.test(a);
8518
8516
  }
8519
- function P(a) {
8520
- return null != a && isNaN(a) && a.toUpperCase() in Da;
8517
+ function O(a) {
8518
+ return null != a && isNaN(a) && a.toUpperCase() in Ea;
8521
8519
  }
8522
- K.prototype.format = function(a, b) {
8520
+ J.prototype.format = function(a, b) {
8523
8521
  if (0 == r(a, 2) && q(a, 5)) {
8524
8522
  var c = w(a, 5);
8525
8523
  if (0 < c.length) return c;
8526
8524
  }
8527
8525
  c = w(a, 1);
8528
- var d = Q(a);
8529
- if (0 == b) return Za(c, 0, d, "");
8530
- if (!(c in J)) return d;
8531
- var e = R(this, c, S(c));
8526
+ var d = P(a);
8527
+ if (0 == b) return $a(c, 0, d, "");
8528
+ if (!(c in I)) return d;
8529
+ var e = Q(this, c, R(c));
8532
8530
  a = q(a, 3) && 0 != r(a, 3).length ? 3 == b ? ";ext=" + r(a, 3) : q(e, 13) ? r(e, 13) + w(a, 3) : " ext. " + w(a, 3) : "";
8533
8531
  a: {
8534
8532
  e = 0 == u(e, 20).length || 2 == b ? u(e, 19) : u(e, 20);
@@ -8536,7 +8534,7 @@ var intl_tel_input_default = intlTelInput;
8536
8534
  f = e[h];
8537
8535
  var l = x(f, 3);
8538
8536
  if (0 == l || 0 == d.search(r(f, 3, l - 1))) {
8539
- if (l = new RegExp(r(f, 1)), N(l, d)) {
8537
+ if (l = new RegExp(r(f, 1)), M(l, d)) {
8540
8538
  e = f;
8541
8539
  break a;
8542
8540
  }
@@ -8547,18 +8545,18 @@ var intl_tel_input_default = intlTelInput;
8547
8545
  null != e && (g = e, e = w(g, 2), f = new RegExp(r(g, 1)), w(
8548
8546
  g,
8549
8547
  5
8550
- ), g = w(g, 4), d = 2 == b && null != g && 0 < g.length ? d.replace(f, e.replace(Sa, g)) : d.replace(f, e), 3 == b && (d = d.replace(RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+"), ""), d = d.replace(RegExp("[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+", "g"), "-")));
8551
- return Za(c, b, d, a);
8548
+ ), g = w(g, 4), d = 2 == b && null != g && 0 < g.length ? d.replace(f, e.replace(Ta, g)) : d.replace(f, e), 3 == b && (d = d.replace(RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+"), ""), d = d.replace(RegExp("[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+", "g"), "-")));
8549
+ return $a(c, b, d, a);
8552
8550
  };
8553
- function R(a, b, c) {
8554
- return "001" == c ? T(a, "" + b) : T(a, c);
8551
+ function Q(a, b, c) {
8552
+ return "001" == c ? S(a, "" + b) : S(a, c);
8555
8553
  }
8556
- function Q(a) {
8554
+ function P(a) {
8557
8555
  if (!q(a, 2)) return "";
8558
8556
  var b = "" + r(a, 2);
8559
8557
  return q(a, 4) && r(a, 4) && 0 < w(a, 8) ? Array(w(a, 8) + 1).join("0") + b : b;
8560
8558
  }
8561
- function Za(a, b, c, d) {
8559
+ function $a(a, b, c, d) {
8562
8560
  switch (b) {
8563
8561
  case 0:
8564
8562
  return "+" + a + c + d;
@@ -8570,7 +8568,7 @@ var intl_tel_input_default = intlTelInput;
8570
8568
  return c + d;
8571
8569
  }
8572
8570
  }
8573
- function U(a, b) {
8571
+ function T(a, b) {
8574
8572
  switch (b) {
8575
8573
  case 4:
8576
8574
  return r(a, 5);
@@ -8597,42 +8595,42 @@ var intl_tel_input_default = intlTelInput;
8597
8595
  return r(a, 1);
8598
8596
  }
8599
8597
  }
8600
- function $a(a, b) {
8601
- return V(a, r(b, 1)) ? V(a, r(b, 5)) ? 4 : V(a, r(b, 4)) ? 3 : V(a, r(b, 6)) ? 5 : V(a, r(b, 8)) ? 6 : V(a, r(b, 7)) ? 7 : V(a, r(b, 21)) ? 8 : V(a, r(b, 25)) ? 9 : V(a, r(b, 28)) ? 10 : V(a, r(b, 2)) ? r(b, 18) || V(a, r(b, 3)) ? 2 : 0 : !r(b, 18) && V(a, r(b, 3)) ? 1 : -1 : -1;
8598
+ function ab(a, b) {
8599
+ return U(a, r(b, 1)) ? U(a, r(b, 5)) ? 4 : U(a, r(b, 4)) ? 3 : U(a, r(b, 6)) ? 5 : U(a, r(b, 8)) ? 6 : U(a, r(b, 7)) ? 7 : U(a, r(b, 21)) ? 8 : U(a, r(b, 25)) ? 9 : U(a, r(b, 28)) ? 10 : U(a, r(b, 2)) ? r(b, 18) || U(a, r(b, 3)) ? 2 : 0 : !r(b, 18) && U(a, r(b, 3)) ? 1 : -1 : -1;
8602
8600
  }
8603
- function T(a, b) {
8601
+ function S(a, b) {
8604
8602
  if (null == b) return null;
8605
8603
  b = b.toUpperCase();
8606
8604
  var c = a.g[b];
8607
8605
  if (null == c) {
8608
- c = Da[b];
8606
+ c = Ea[b];
8609
8607
  if (null == c) return null;
8610
- c = new C().g(H.m(), c);
8608
+ c = new B().g(G.m(), c);
8611
8609
  a.g[b] = c;
8612
8610
  }
8613
8611
  return c;
8614
8612
  }
8615
- function V(a, b) {
8613
+ function U(a, b) {
8616
8614
  var c = a.length;
8617
- return 0 < x(b, 9) && -1 == u(b, 9).indexOf(c) ? false : N(w(b, 2), a);
8615
+ return 0 < x(b, 9) && -1 == u(b, 9).indexOf(c) ? false : M(w(b, 2), a);
8618
8616
  }
8619
- function ab(a, b) {
8617
+ function bb(a, b) {
8620
8618
  if (null == b) return null;
8621
8619
  var c = w(b, 1);
8622
- c = J[c];
8620
+ c = I[c];
8623
8621
  if (null == c) a = null;
8624
8622
  else if (1 == c.length) a = c[0];
8625
8623
  else a: {
8626
- b = Q(b);
8624
+ b = P(b);
8627
8625
  for (var d, e = c.length, f = 0; f < e; f++) {
8628
8626
  d = c[f];
8629
- var g = T(a, d);
8627
+ var g = S(a, d);
8630
8628
  if (q(g, 23)) {
8631
8629
  if (0 == b.search(r(g, 23))) {
8632
8630
  a = d;
8633
8631
  break a;
8634
8632
  }
8635
- } else if (-1 != $a(b, g)) {
8633
+ } else if (-1 != ab(b, g)) {
8636
8634
  a = d;
8637
8635
  break a;
8638
8636
  }
@@ -8641,92 +8639,92 @@ var intl_tel_input_default = intlTelInput;
8641
8639
  }
8642
8640
  return a;
8643
8641
  }
8644
- function S(a) {
8645
- a = J[a];
8642
+ function R(a) {
8643
+ a = I[a];
8646
8644
  return null == a ? "ZZ" : a[0];
8647
8645
  }
8648
- function bb(a, b) {
8649
- a = T(a, b);
8646
+ function cb(a, b) {
8647
+ a = S(a, b);
8650
8648
  if (null == a) throw Error("Invalid region code: " + b);
8651
8649
  return w(a, 10);
8652
8650
  }
8653
- function W(a, b, c, d) {
8654
- var e = U(c, d), f = 0 == x(e, 9) ? u(r(c, 1), 9) : u(e, 9);
8651
+ function V(a, b, c, d) {
8652
+ var e = T(c, d), f = 0 == x(e, 9) ? u(r(c, 1), 9) : u(e, 9);
8655
8653
  e = u(e, 10);
8656
- if (2 == d) if (Xa(U(c, 0))) a = U(c, 1), Xa(a) && (f = f.concat(0 == x(a, 9) ? u(r(c, 1), 9) : u(a, 9)), f.sort(), 0 == e.length ? e = u(a, 10) : (e = e.concat(u(a, 10)), e.sort()));
8657
- else return W(a, b, c, 1);
8654
+ if (2 == d) if (Ya(T(c, 0))) a = T(c, 1), Ya(a) && (f = f.concat(0 == x(a, 9) ? u(r(c, 1), 9) : u(a, 9)), f.sort(), 0 == e.length ? e = u(a, 10) : (e = e.concat(u(a, 10)), e.sort()));
8655
+ else return V(a, b, c, 1);
8658
8656
  if (-1 == f[0]) return 5;
8659
8657
  b = b.length;
8660
8658
  if (-1 < e.indexOf(b)) return 4;
8661
8659
  c = f[0];
8662
8660
  return c == b ? 0 : c > b ? 2 : f[f.length - 1] < b ? 3 : -1 < f.indexOf(b, 1) ? 0 : 5;
8663
8661
  }
8664
- function X(a, b, c) {
8665
- var d = Q(b);
8662
+ function W(a, b, c) {
8663
+ var d = P(b);
8666
8664
  b = w(b, 1);
8667
- if (!(b in J)) return 1;
8668
- b = R(a, b, S(b));
8669
- return W(a, d, b, c);
8665
+ if (!(b in I)) return 1;
8666
+ b = Q(a, b, R(b));
8667
+ return V(a, d, b, c);
8670
8668
  }
8671
- function cb(a, b) {
8669
+ function db(a, b) {
8672
8670
  a = a.toString();
8673
8671
  if (0 == a.length || "0" == a.charAt(0)) return 0;
8674
- for (var c, d = a.length, e = 1; 3 >= e && e <= d; ++e) if (c = parseInt(a.substring(0, e), 10), c in J) return b.g(a.substring(e)), c;
8672
+ for (var c, d = a.length, e = 1; 3 >= e && e <= d; ++e) if (c = parseInt(a.substring(0, e), 10), c in I) return b.g(a.substring(e)), c;
8675
8673
  return 0;
8676
8674
  }
8677
- function db(a, b, c, d, e, f) {
8675
+ function eb(a, b, c, d, e, f) {
8678
8676
  if (0 == b.length) return 0;
8679
- b = new D(b);
8677
+ b = new C(b);
8680
8678
  var g;
8681
8679
  null != c && (g = r(c, 11));
8682
8680
  null == g && (g = "NonMatch");
8683
8681
  var h = b.toString();
8684
8682
  if (0 == h.length) g = 20;
8685
- else if (L.test(h)) h = h.replace(L, ""), E(b), b.g(Va(h)), g = 1;
8683
+ else if (K.test(h)) h = h.replace(K, ""), D(b), b.g(Wa(h)), g = 1;
8686
8684
  else {
8687
8685
  h = new RegExp(g);
8688
- Wa(b);
8686
+ Xa(b);
8689
8687
  g = b.toString();
8690
8688
  if (0 == g.search(h)) {
8691
8689
  h = g.match(h)[0].length;
8692
- var l = g.substring(h).match(Ia);
8693
- l && null != l[1] && 0 < l[1].length && "0" == O(l[1], Ea) ? g = false : (E(b), b.g(g.substring(h)), g = true);
8690
+ var l = g.substring(h).match(Ja);
8691
+ l && null != l[1] && 0 < l[1].length && "0" == N(l[1], Fa) ? g = false : (D(b), b.g(g.substring(h)), g = true);
8694
8692
  } else g = false;
8695
8693
  g = g ? 5 : 20;
8696
8694
  }
8697
8695
  e && t(f, 6, g);
8698
8696
  if (20 != g) {
8699
8697
  if (2 >= b.h.length) throw Error("Phone number too short after IDD");
8700
- a = cb(b, d);
8698
+ a = db(b, d);
8701
8699
  if (0 != a) return t(f, 1, a), a;
8702
8700
  throw Error("Invalid country calling code");
8703
8701
  }
8704
- if (null != c && (g = w(c, 10), h = "" + g, l = b.toString(), 0 == l.lastIndexOf(h, 0) && (h = new D(l.substring(h.length)), l = r(c, 1), l = new RegExp(w(l, 2)), eb(h, c, null), h = h.toString(), !N(l, b.toString()) && N(l, h) || 3 == W(a, b.toString(), c, -1)))) return d.g(h), e && t(f, 6, 10), t(f, 1, g), g;
8702
+ if (null != c && (g = w(c, 10), h = "" + g, l = b.toString(), 0 == l.lastIndexOf(h, 0) && (h = new C(l.substring(h.length)), l = r(c, 1), l = new RegExp(w(l, 2)), fb(h, c, null), h = h.toString(), !M(l, b.toString()) && M(l, h) || 3 == V(a, b.toString(), c, -1)))) return d.g(h), e && t(f, 6, 10), t(f, 1, g), g;
8705
8703
  t(f, 1, 0);
8706
8704
  return 0;
8707
8705
  }
8708
- function eb(a, b, c) {
8706
+ function fb(a, b, c) {
8709
8707
  var d = a.toString(), e = d.length, f = r(b, 15);
8710
8708
  if (0 != e && null != f && 0 != f.length) {
8711
8709
  var g = new RegExp("^(?:" + f + ")");
8712
8710
  if (e = g.exec(d)) {
8713
8711
  f = new RegExp(w(r(b, 1), 2));
8714
- var h = N(f, d), l = e.length - 1;
8712
+ var h = M(f, d), l = e.length - 1;
8715
8713
  b = r(b, 16);
8716
8714
  if (null == b || 0 == b.length || null == e[l] || 0 == e[l].length) {
8717
- if (!h || N(f, d.substring(e[0].length))) null != c && 0 < l && null != e[l] && c.g(e[1]), a.set(d.substring(e[0].length));
8718
- } else if (d = d.replace(g, b), !h || N(f, d)) null != c && 0 < l && c.g(e[1]), a.set(d);
8715
+ if (!h || M(f, d.substring(e[0].length))) null != c && 0 < l && null != e[l] && c.g(e[1]), a.set(d.substring(e[0].length));
8716
+ } else if (d = d.replace(g, b), !h || M(f, d)) null != c && 0 < l && c.g(e[1]), a.set(d);
8719
8717
  }
8720
8718
  }
8721
8719
  }
8722
- function Y(a, b, c) {
8723
- if (!P(c) && 0 < b.length && "+" != b.charAt(0)) throw Error("Invalid country calling code");
8724
- return fb(a, b, c, true);
8720
+ function X(a, b, c) {
8721
+ if (!O(c) && 0 < b.length && "+" != b.charAt(0)) throw Error("Invalid country calling code");
8722
+ return gb(a, b, c, true);
8725
8723
  }
8726
- function fb(a, b, c, d) {
8724
+ function gb(a, b, c, d) {
8727
8725
  if (null == b) throw Error("The string supplied did not seem to be a phone number");
8728
8726
  if (250 < b.length) throw Error("The string supplied is too long to be a phone number");
8729
- var e = new D();
8727
+ var e = new C();
8730
8728
  var f = b.indexOf(";phone-context=");
8731
8729
  if (-1 === f) f = null;
8732
8730
  else if (f += 15, f >= b.length) f = "";
@@ -8735,24 +8733,24 @@ var intl_tel_input_default = intlTelInput;
8735
8733
  f = -1 !== g ? b.substring(f, g) : b.substring(f);
8736
8734
  }
8737
8735
  var h = f;
8738
- null == h ? g = true : 0 === h.length ? g = false : (g = Na.exec(h), h = Oa.exec(h), g = null !== g || null !== h);
8736
+ null == h ? g = true : 0 === h.length ? g = false : (g = Oa.exec(h), h = Pa.exec(h), g = null !== g || null !== h);
8739
8737
  if (!g) throw Error("The string supplied did not seem to be a phone number");
8740
- null != f ? ("+" === f.charAt(0) && e.g(f), f = b.indexOf("tel:"), e.g(b.substring(0 <= f ? f + 4 : 0, b.indexOf(";phone-context=")))) : (f = e.g, g = b ?? "", h = g.search(Ja), 0 <= h ? (g = g.substring(h), g = g.replace(La, ""), h = g.search(Ka), 0 <= h && (g = g.substring(0, h))) : g = "", f.call(e, g));
8738
+ null != f ? ("+" === f.charAt(0) && e.g(f), f = b.indexOf("tel:"), e.g(b.substring(0 <= f ? f + 4 : 0, b.indexOf(";phone-context=")))) : (f = e.g, g = b ?? "", h = g.search(Ka), 0 <= h ? (g = g.substring(h), g = g.replace(Ma, ""), h = g.search(La), 0 <= h && (g = g.substring(0, h))) : g = "", f.call(e, g));
8741
8739
  f = e.toString();
8742
8740
  g = f.indexOf(";isub=");
8743
- 0 < g && (E(e), e.g(f.substring(0, g)));
8744
- if (!Ua(e.toString())) throw Error("The string supplied did not seem to be a phone number");
8741
+ 0 < g && (D(e), e.g(f.substring(0, g)));
8742
+ if (!Va(e.toString())) throw Error("The string supplied did not seem to be a phone number");
8745
8743
  f = e.toString();
8746
- if (!(P(c) || null != f && 0 < f.length && L.test(f))) throw Error("Invalid country calling code");
8747
- f = new I();
8744
+ if (!(O(c) || null != f && 0 < f.length && K.test(f))) throw Error("Invalid country calling code");
8745
+ f = new H();
8748
8746
  d && t(f, 5, b);
8749
8747
  a: {
8750
8748
  b = e.toString();
8751
- g = b.search(Qa);
8752
- if (0 <= g && Ua(b.substring(0, g))) {
8753
- h = b.match(Qa);
8749
+ g = b.search(Ra);
8750
+ if (0 <= g && Va(b.substring(0, g))) {
8751
+ h = b.match(Ra);
8754
8752
  for (var l = h.length, A = 1; A < l; ++A) if (null != h[A] && 0 < h[A].length) {
8755
- E(e);
8753
+ D(e);
8756
8754
  e.g(b.substring(0, g));
8757
8755
  b = h[A];
8758
8756
  break a;
@@ -8761,24 +8759,24 @@ var intl_tel_input_default = intlTelInput;
8761
8759
  b = "";
8762
8760
  }
8763
8761
  0 < b.length && t(f, 3, b);
8764
- g = T(a, c);
8765
- b = new D();
8762
+ g = S(a, c);
8763
+ b = new C();
8766
8764
  h = 0;
8767
8765
  l = e.toString();
8768
8766
  try {
8769
- h = db(a, l, g, b, d, f);
8770
- } catch (ca) {
8771
- if ("Invalid country calling code" == ca.message && L.test(l)) {
8772
- if (l = l.replace(L, ""), h = db(a, l, g, b, d, f), 0 == h) throw ca;
8773
- } else throw ca;
8767
+ h = eb(a, l, g, b, d, f);
8768
+ } catch (da) {
8769
+ if ("Invalid country calling code" == da.message && K.test(l)) {
8770
+ if (l = l.replace(K, ""), h = eb(a, l, g, b, d, f), 0 == h) throw da;
8771
+ } else throw da;
8774
8772
  }
8775
- 0 != h ? (e = S(h), e != c && (g = R(a, h, e))) : (Wa(e), b.g(e.toString()), null != c ? (h = w(g, 10), t(
8773
+ 0 != h ? (e = R(h), e != c && (g = Q(a, h, e))) : (Xa(e), b.g(e.toString()), null != c ? (h = w(g, 10), t(
8776
8774
  f,
8777
8775
  1,
8778
8776
  h
8779
8777
  )) : d && (delete f.h[6], f.g && delete f.g[6]));
8780
8778
  if (2 > b.h.length) throw Error("The string supplied is too short to be a phone number");
8781
- null != g && (c = new D(), e = new D(b.toString()), eb(e, g, c), a = W(a, e.toString(), g, -1), 2 != a && 4 != a && 5 != a && (b = e, d && 0 < c.toString().length && t(f, 7, c.toString())));
8779
+ null != g && (c = new C(), e = new C(b.toString()), fb(e, g, c), a = V(a, e.toString(), g, -1), 2 != a && 4 != a && 5 != a && (b = e, d && 0 < c.toString().length && t(f, 7, c.toString())));
8782
8780
  d = b.toString();
8783
8781
  a = d.length;
8784
8782
  if (2 > a) throw Error("The string supplied is too short to be a phone number");
@@ -8791,70 +8789,70 @@ var intl_tel_input_default = intlTelInput;
8791
8789
  t(f, 2, parseInt(d, 10));
8792
8790
  return f;
8793
8791
  }
8794
- function N(a, b) {
8792
+ function M(a, b) {
8795
8793
  return (a = "string" == typeof a ? b.match("^(?:" + a + ")$") : b.match(a)) && a[0].length == b.length ? true : false;
8796
8794
  }
8797
8795
  ;
8798
- function gb(a) {
8796
+ function hb(a) {
8799
8797
  this.fa = RegExp("\u2008");
8800
8798
  this.ja = "";
8801
- this.v = new D();
8799
+ this.v = new C();
8802
8800
  this.da = "";
8803
- this.s = new D();
8804
- this.ba = new D();
8801
+ this.s = new C();
8802
+ this.ba = new C();
8805
8803
  this.u = true;
8806
8804
  this.ea = this.ca = this.la = false;
8807
- this.ga = K.g();
8805
+ this.ga = J.g();
8808
8806
  this.$ = 0;
8809
- this.h = new D();
8807
+ this.h = new C();
8810
8808
  this.ha = false;
8811
8809
  this.o = "";
8812
- this.g = new D();
8810
+ this.g = new C();
8813
8811
  this.j = [];
8814
8812
  this.ka = a;
8815
- this.l = hb(this, this.ka);
8813
+ this.l = ib(this, this.ka);
8816
8814
  }
8817
- var ib = new H();
8818
- t(ib, 11, "NA");
8819
- var jb = RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*\\$1[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*(\\$\\d[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*)*$"), kb = /[- ]/;
8820
- function hb(a, b) {
8815
+ var jb = new G();
8816
+ t(jb, 11, "NA");
8817
+ var kb = RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*\\$1[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*(\\$\\d[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*)*$"), lb = /[- ]/;
8818
+ function ib(a, b) {
8821
8819
  var c = a.ga;
8822
- b = P(b) ? bb(c, b) : 0;
8823
- a = T(a.ga, S(b));
8824
- return null != a ? a : ib;
8820
+ b = O(b) ? cb(c, b) : 0;
8821
+ a = S(a.ga, R(b));
8822
+ return null != a ? a : jb;
8825
8823
  }
8826
- function lb(a) {
8824
+ function mb(a) {
8827
8825
  for (var b = a.j.length, c = 0; c < b; ++c) {
8828
8826
  var d = a.j[c], e = w(d, 1);
8829
8827
  if (a.da == e) return false;
8830
8828
  var f = a;
8831
8829
  var g = d, h = w(g, 1);
8832
- E(f.v);
8830
+ D(f.v);
8833
8831
  var l = f;
8834
8832
  g = w(g, 2);
8835
8833
  var A = "999999999999999".match(h)[0];
8836
8834
  A.length < l.g.h.length ? l = "" : (l = A.replace(new RegExp(h, "g"), g), l = l.replace(RegExp("9", "g"), "\u2008"));
8837
8835
  0 < l.length ? (f.v.g(l), f = true) : f = false;
8838
- if (f) return a.da = e, a.ha = kb.test(r(d, 4)), a.$ = 0, true;
8836
+ if (f) return a.da = e, a.ha = lb.test(r(d, 4)), a.$ = 0, true;
8839
8837
  }
8840
8838
  return a.u = false;
8841
8839
  }
8842
- function mb(a, b) {
8840
+ function nb(a, b) {
8843
8841
  for (var c = [], d = b.length - 3, e = a.j.length, f = 0; f < e; ++f) {
8844
8842
  var g = a.j[f];
8845
8843
  0 == x(g, 3) ? c.push(a.j[f]) : (g = r(g, 3, Math.min(d, x(g, 3) - 1)), 0 == b.search(g) && c.push(a.j[f]));
8846
8844
  }
8847
8845
  a.j = c;
8848
8846
  }
8849
- function nb(a, b) {
8847
+ function ob(a, b) {
8850
8848
  a.s.g(b);
8851
8849
  var c = b;
8852
- Ia.test(c) || 1 == a.s.h.length && Ha.test(c) ? ("+" == b ? (c = b, a.ba.g(b)) : (c = Ea[b], a.ba.g(c), a.g.g(c)), b = c) : (a.u = false, a.la = true);
8850
+ Ja.test(c) || 1 == a.s.h.length && Ia.test(c) ? ("+" == b ? (c = b, a.ba.g(b)) : (c = Fa[b], a.ba.g(c), a.g.g(c)), b = c) : (a.u = false, a.la = true);
8853
8851
  if (!a.u) {
8854
8852
  if (!a.la) {
8855
- if (ob(a)) {
8856
- if (pb(a)) return qb(a);
8857
- } else if (0 < a.o.length && (b = a.g.toString(), E(a.g), a.g.g(a.o), a.g.g(b), b = a.h.toString(), c = b.lastIndexOf(a.o), E(a.h), a.h.g(b.substring(0, c))), a.o != rb(a)) return a.h.g(" "), qb(a);
8853
+ if (pb(a)) {
8854
+ if (qb(a)) return rb(a);
8855
+ } else if (0 < a.o.length && (b = a.g.toString(), D(a.g), a.g.g(a.o), a.g.g(b), b = a.h.toString(), c = b.lastIndexOf(a.o), D(a.h), a.h.g(b.substring(0, c))), a.o != sb(a)) return a.h.g(" "), rb(a);
8858
8856
  }
8859
8857
  return a.s.toString();
8860
8858
  }
@@ -8864,93 +8862,93 @@ var intl_tel_input_default = intlTelInput;
8864
8862
  case 2:
8865
8863
  return a.s.toString();
8866
8864
  case 3:
8867
- if (ob(a)) a.ea = true;
8868
- else return a.o = rb(a), sb(a);
8865
+ if (pb(a)) a.ea = true;
8866
+ else return a.o = sb(a), tb(a);
8869
8867
  default:
8870
- if (a.ea) return pb(a) && (a.ea = false), a.h.toString() + a.g.toString();
8868
+ if (a.ea) return qb(a) && (a.ea = false), a.h.toString() + a.g.toString();
8871
8869
  if (0 < a.j.length) {
8872
- b = tb(a, b);
8873
- c = ub(a);
8870
+ b = ub(a, b);
8871
+ c = vb(a);
8874
8872
  if (0 < c.length) return c;
8875
- mb(a, a.g.toString());
8876
- return lb(a) ? vb(a) : a.u ? Z(a, b) : a.s.toString();
8873
+ nb(a, a.g.toString());
8874
+ return mb(a) ? wb(a) : a.u ? Y(a, b) : a.s.toString();
8877
8875
  }
8878
- return sb(a);
8876
+ return tb(a);
8879
8877
  }
8880
8878
  }
8881
- function qb(a) {
8879
+ function rb(a) {
8882
8880
  a.u = true;
8883
8881
  a.ea = false;
8884
8882
  a.j = [];
8885
8883
  a.$ = 0;
8886
- E(a.v);
8884
+ D(a.v);
8887
8885
  a.da = "";
8888
- return sb(a);
8886
+ return tb(a);
8889
8887
  }
8890
- function ub(a) {
8888
+ function vb(a) {
8891
8889
  for (var b = a.g.toString(), c = a.j.length, d = 0; d < c; ++d) {
8892
8890
  var e = a.j[d], f = w(e, 1);
8893
- if (new RegExp("^(?:" + f + ")$").test(b) && (a.ha = kb.test(r(e, 4)), e = b.replace(new RegExp(f, "g"), r(e, 2)), e = Z(a, e), O(e, Fa) == a.ba)) return e;
8891
+ if (new RegExp("^(?:" + f + ")$").test(b) && (a.ha = lb.test(r(e, 4)), e = b.replace(new RegExp(f, "g"), r(e, 2)), e = Y(a, e), N(e, Ga) == a.ba)) return e;
8894
8892
  }
8895
8893
  return "";
8896
8894
  }
8897
- function Z(a, b) {
8895
+ function Y(a, b) {
8898
8896
  var c = a.h.h.length;
8899
8897
  return a.ha && 0 < c && " " != a.h.toString().charAt(c - 1) ? a.h + " " + b : a.h + b;
8900
8898
  }
8901
- function sb(a) {
8899
+ function tb(a) {
8902
8900
  var b = a.g.toString();
8903
8901
  if (3 <= b.length) {
8904
8902
  for (var c = a.ca && 0 == a.o.length && 0 < x(a.l, 20) ? u(a.l, 20) : u(a.l, 19), d = c.length, e = 0; e < d; ++e) {
8905
8903
  var f = c[e];
8906
- 0 < a.o.length && Ya(w(f, 4)) && !r(f, 6) && !q(f, 5) || (0 != a.o.length || a.ca || Ya(w(f, 4)) || r(f, 6)) && jb.test(w(f, 2)) && a.j.push(f);
8904
+ 0 < a.o.length && Za(w(f, 4)) && !r(f, 6) && !q(f, 5) || (0 != a.o.length || a.ca || Za(w(f, 4)) || r(f, 6)) && kb.test(w(f, 2)) && a.j.push(f);
8907
8905
  }
8908
- mb(a, b);
8909
- b = ub(a);
8910
- return 0 < b.length ? b : lb(a) ? vb(a) : a.s.toString();
8906
+ nb(a, b);
8907
+ b = vb(a);
8908
+ return 0 < b.length ? b : mb(a) ? wb(a) : a.s.toString();
8911
8909
  }
8912
- return Z(a, b);
8910
+ return Y(a, b);
8913
8911
  }
8914
- function vb(a) {
8912
+ function wb(a) {
8915
8913
  var b = a.g.toString(), c = b.length;
8916
8914
  if (0 < c) {
8917
- for (var d = "", e = 0; e < c; e++) d = tb(a, b.charAt(e));
8918
- return a.u ? Z(a, d) : a.s.toString();
8915
+ for (var d = "", e = 0; e < c; e++) d = ub(a, b.charAt(e));
8916
+ return a.u ? Y(a, d) : a.s.toString();
8919
8917
  }
8920
8918
  return a.h.toString();
8921
8919
  }
8922
- function rb(a) {
8920
+ function sb(a) {
8923
8921
  var b = a.g.toString(), c = 0;
8924
8922
  if (1 != r(a.l, 10)) var d = false;
8925
8923
  else d = a.g.toString(), d = "1" == d.charAt(0) && "0" != d.charAt(1) && "1" != d.charAt(1);
8926
8924
  d ? (c = 1, a.h.g("1").g(" "), a.ca = true) : q(a.l, 15) && (d = new RegExp("^(?:" + r(a.l, 15) + ")"), d = b.match(d), null != d && null != d[0] && 0 < d[0].length && (a.ca = true, c = d[0].length, a.h.g(b.substring(0, c))));
8927
- E(a.g);
8925
+ D(a.g);
8928
8926
  a.g.g(b.substring(c));
8929
8927
  return b.substring(0, c);
8930
8928
  }
8931
- function ob(a) {
8929
+ function pb(a) {
8932
8930
  var b = a.ba.toString(), c = new RegExp("^(?:\\+|" + r(a.l, 11) + ")");
8933
8931
  c = b.match(c);
8934
- return null != c && null != c[0] && 0 < c[0].length ? (a.ca = true, c = c[0].length, E(a.g), a.g.g(b.substring(c)), E(a.h), a.h.g(b.substring(0, c)), "+" != b.charAt(0) && a.h.g(" "), true) : false;
8932
+ return null != c && null != c[0] && 0 < c[0].length ? (a.ca = true, c = c[0].length, D(a.g), a.g.g(b.substring(c)), D(a.h), a.h.g(b.substring(0, c)), "+" != b.charAt(0) && a.h.g(" "), true) : false;
8935
8933
  }
8936
- function pb(a) {
8934
+ function qb(a) {
8937
8935
  if (0 == a.g.h.length) return false;
8938
- var b = new D(), c = cb(a.g, b);
8936
+ var b = new C(), c = db(a.g, b);
8939
8937
  if (0 == c) return false;
8940
- E(a.g);
8938
+ D(a.g);
8941
8939
  a.g.g(b.toString());
8942
- b = S(c);
8943
- "001" == b ? a.l = T(a.ga, "" + c) : b != a.ka && (a.l = hb(a, b));
8940
+ b = R(c);
8941
+ "001" == b ? a.l = S(a.ga, "" + c) : b != a.ka && (a.l = ib(a, b));
8944
8942
  a.h.g("" + c).g(" ");
8945
8943
  a.o = "";
8946
8944
  return true;
8947
8945
  }
8948
- function tb(a, b) {
8946
+ function ub(a, b) {
8949
8947
  var c = a.v.toString();
8950
8948
  if (0 <= c.substring(a.$).search(a.fa)) {
8951
8949
  var d = c.search(a.fa);
8952
8950
  b = c.replace(a.fa, b);
8953
- E(a.v);
8951
+ D(a.v);
8954
8952
  a.v.g(b);
8955
8953
  a.$ = d;
8956
8954
  return b.substring(0, a.$ + 1);
@@ -8960,13 +8958,13 @@ var intl_tel_input_default = intlTelInput;
8960
8958
  return a.s.toString();
8961
8959
  }
8962
8960
  ;
8963
- const wb = { 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 };
8961
+ const Z = { 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 };
8964
8962
  m("intlTelInputUtilsTemp", {});
8965
8963
  m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => {
8966
8964
  try {
8967
- const c = a.replace(/[^+0-9]/g, ""), d = new gb(b);
8965
+ const c = a.replace(/[^+0-9]/g, ""), d = new hb(b);
8968
8966
  b = "";
8969
- for (let e = 0; e < c.length; e++) d.ja = nb(d, c.charAt(e)), b = d.ja;
8967
+ for (let e = 0; e < c.length; e++) d.ja = ob(d, c.charAt(e)), b = d.ja;
8970
8968
  return b;
8971
8969
  } catch (c) {
8972
8970
  return a;
@@ -8974,8 +8972,8 @@ var intl_tel_input_default = intlTelInput;
8974
8972
  });
8975
8973
  m("intlTelInputUtilsTemp.formatNumber", (a, b, c) => {
8976
8974
  try {
8977
- const e = K.g(), f = Y(e, a, b);
8978
- var d = X(e, f, -1);
8975
+ const e = J.g(), f = X(e, a, b);
8976
+ var d = W(e, f, -1);
8979
8977
  return 0 == d || 4 == d ? e.format(f, "undefined" === typeof c ? 0 : c) : a;
8980
8978
  } catch (e) {
8981
8979
  return a;
@@ -8983,15 +8981,15 @@ var intl_tel_input_default = intlTelInput;
8983
8981
  });
8984
8982
  m("intlTelInputUtilsTemp.getExampleNumber", (a, b, c, d) => {
8985
8983
  try {
8986
- const l = K.g();
8984
+ const l = J.g();
8987
8985
  a: {
8988
8986
  var e = l;
8989
- if (P(a)) {
8990
- var f = U(T(e, a), c);
8987
+ if (O(a)) {
8988
+ var f = T(S(e, a), c);
8991
8989
  try {
8992
8990
  if (q(f, 6)) {
8993
8991
  var g = r(f, 6);
8994
- var h = fb(e, g, a, false);
8992
+ var h = gb(e, g, a, false);
8995
8993
  break a;
8996
8994
  }
8997
8995
  } catch (A) {
@@ -9006,19 +9004,19 @@ var intl_tel_input_default = intlTelInput;
9006
9004
  });
9007
9005
  m("intlTelInputUtilsTemp.getExtension", (a, b) => {
9008
9006
  try {
9009
- return r(Y(K.g(), a, b), 3);
9007
+ return r(X(J.g(), a, b), 3);
9010
9008
  } catch (c) {
9011
9009
  return "";
9012
9010
  }
9013
9011
  });
9014
9012
  m("intlTelInputUtilsTemp.getNumberType", (a, b) => {
9015
9013
  try {
9016
- const g = K.g(), h = Y(g, a, b);
9017
- var c = ab(g, h), d = R(g, w(h, 1), c);
9014
+ const g = J.g(), h = X(g, a, b);
9015
+ var c = bb(g, h), d = Q(g, w(h, 1), c);
9018
9016
  if (null == d) var e = -1;
9019
9017
  else {
9020
- var f = Q(h);
9021
- e = $a(f, d);
9018
+ var f = P(h);
9019
+ e = ab(f, d);
9022
9020
  }
9023
9021
  return e;
9024
9022
  } catch (g) {
@@ -9027,22 +9025,22 @@ var intl_tel_input_default = intlTelInput;
9027
9025
  });
9028
9026
  m("intlTelInputUtilsTemp.getValidationError", (a, b) => {
9029
9027
  try {
9030
- const c = K.g(), d = Y(c, a, b);
9031
- return X(c, d, -1);
9028
+ const c = J.g(), d = X(c, a, b);
9029
+ return W(c, d, -1);
9032
9030
  } catch (c) {
9033
9031
  return "Invalid country calling code" === c.message ? 1 : 3 >= a.length || "Phone number too short after IDD" === c.message || "The string supplied is too short to be a phone number" === c.message ? 2 : "The string supplied is too long to be a phone number" === c.message ? 3 : -99;
9034
9032
  }
9035
9033
  });
9036
9034
  m("intlTelInputUtilsTemp.isValidNumber", (a, b) => {
9037
9035
  try {
9038
- const l = K.g();
9039
- var c = Y(l, a, b), d = ab(l, c);
9036
+ const l = J.g();
9037
+ var c = X(l, a, b), d = bb(l, c);
9040
9038
  a = l;
9041
- var e = w(c, 1), f = R(a, e, d);
9042
- if (null == f || "001" != d && e != bb(a, d)) var g = false;
9039
+ var e = w(c, 1), f = Q(a, e, d);
9040
+ if (null == f || "001" != d && e != cb(a, d)) var g = false;
9043
9041
  else {
9044
- var h = Q(c);
9045
- g = -1 != $a(h, f);
9042
+ var h = P(c);
9043
+ g = -1 != ab(h, f);
9046
9044
  }
9047
9045
  return g;
9048
9046
  } catch (l) {
@@ -9051,21 +9049,29 @@ var intl_tel_input_default = intlTelInput;
9051
9049
  });
9052
9050
  m("intlTelInputUtilsTemp.isPossibleNumber", (a, b, c) => {
9053
9051
  try {
9054
- const d = K.g(), e = Y(d, a, b);
9055
- return c ? 0 === X(d, e, wb[c]) : 0 === X(d, e, -1);
9052
+ const d = J.g(), e = X(d, a, b);
9053
+ if (c) {
9054
+ const f = 0 === W(d, e, Z[c]);
9055
+ if ("FIXED_LINE_OR_MOBILE" === c) {
9056
+ const g = 0 === W(d, e, Z.MOBILE), h = 0 === W(d, e, Z.FIXED_LINE);
9057
+ return g || h || f;
9058
+ }
9059
+ return f;
9060
+ }
9061
+ return 0 === W(d, e, -1);
9056
9062
  } catch (d) {
9057
9063
  return false;
9058
9064
  }
9059
9065
  });
9060
9066
  m("intlTelInputUtilsTemp.getCoreNumber", (a, b) => {
9061
9067
  try {
9062
- return r(Y(K.g(), a, b), 2).toString();
9068
+ return r(X(J.g(), a, b), 2).toString();
9063
9069
  } catch (c) {
9064
9070
  return "";
9065
9071
  }
9066
9072
  });
9067
9073
  m("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 });
9068
- m("intlTelInputUtilsTemp.numberType", wb);
9074
+ m("intlTelInputUtilsTemp.numberType", Z);
9069
9075
  m("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
9070
9076
  })();
9071
9077
  var utils = window.intlTelInputUtilsTemp;