intl-tel-input 23.4.1 → 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.
Files changed (36) hide show
  1. package/README.md +23 -23
  2. package/build/css/demo.css +2 -2
  3. package/build/css/intlTelInput.css +4 -4
  4. package/build/css/intlTelInput.min.css +1 -1
  5. package/build/img/flags.webp +0 -0
  6. package/build/img/flags@2x.webp +0 -0
  7. package/build/img/globe.webp +0 -0
  8. package/build/img/globe@2x.webp +0 -0
  9. package/build/img/globe_light.webp +0 -0
  10. package/build/img/globe_light@2x.webp +0 -0
  11. package/build/js/data.js +1 -1
  12. package/build/js/data.min.js +1 -1
  13. package/build/js/i18n/ca/countries.js +252 -0
  14. package/build/js/i18n/ca/index.js +6 -0
  15. package/build/js/i18n/ca/interface.js +14 -0
  16. package/build/js/i18n/cs/countries.js +252 -0
  17. package/build/js/i18n/cs/index.js +6 -0
  18. package/build/js/i18n/cs/interface.js +14 -0
  19. package/build/js/i18n/index.js +4 -0
  20. package/build/js/i18n/it/countries.js +252 -0
  21. package/build/js/i18n/it/index.js +6 -0
  22. package/build/js/i18n/it/interface.js +14 -0
  23. package/build/js/i18n/sk/countries.js +252 -0
  24. package/build/js/i18n/sk/index.js +6 -0
  25. package/build/js/i18n/sk/interface.js +14 -0
  26. package/build/js/intlTelInput.js +3 -5
  27. package/build/js/intlTelInput.min.js +2 -2
  28. package/build/js/intlTelInputWithUtils.js +260 -254
  29. package/build/js/intlTelInputWithUtils.min.js +2 -2
  30. package/build/js/utils.js +52 -52
  31. package/package.json +1 -1
  32. package/react/README.md +1 -1
  33. package/react/build/IntlTelInput.cjs +2 -4
  34. package/react/build/IntlTelInput.js +2 -4
  35. package/react/build/IntlTelInputWithUtils.cjs +259 -253
  36. package/react/build/IntlTelInputWithUtils.js +259 -253
@@ -1684,9 +1684,7 @@ var Iti = class {
1684
1684
  this.countryContainer
1685
1685
  );
1686
1686
  if (this.telInput.disabled) {
1687
- this.selectedCountry.setAttribute("aria-disabled", "true");
1688
- } else {
1689
- this.selectedCountry.setAttribute("tabindex", "0");
1687
+ this.selectedCountry.setAttribute("disabled", "true");
1690
1688
  }
1691
1689
  } else {
1692
1690
  this.selectedCountry = createEl(
@@ -2783,7 +2781,7 @@ var intlTelInput = Object.assign(
2783
2781
  //* A map from instance ID to instance object.
2784
2782
  instances: {},
2785
2783
  loadUtils,
2786
- version: "23.4.1"
2784
+ version: "23.6.0"
2787
2785
  }
2788
2786
  );
2789
2787
  var intl_tel_input_default = intlTelInput;
@@ -2817,7 +2815,7 @@ var intl_tel_input_default = intlTelInput;
2817
2815
  return b;
2818
2816
  }
2819
2817
  ;
2820
- var da = class {
2818
+ var ca = class {
2821
2819
  constructor(a) {
2822
2820
  if (ba !== ba) throw Error("SafeUrl is not meant to be built directly");
2823
2821
  this.g = a;
@@ -2826,8 +2824,8 @@ var intl_tel_input_default = intlTelInput;
2826
2824
  return this.g.toString();
2827
2825
  }
2828
2826
  }, ba = {};
2829
- new da("about:invalid#zClosurez");
2830
- new da("about:blank");
2827
+ new ca("about:invalid#zClosurez");
2828
+ new ca("about:blank");
2831
2829
  const ea = {};
2832
2830
  class fa {
2833
2831
  constructor() {
@@ -3006,91 +3004,91 @@ var intl_tel_input_default = intlTelInput;
3006
3004
  return b;
3007
3005
  };
3008
3006
  var xa = /^-?[0-9]+$/;
3009
- function B() {
3007
+ function ya() {
3010
3008
  }
3011
- n(B, z);
3012
- B.prototype.g = function(a, b) {
3009
+ n(ya, z);
3010
+ ya.prototype.g = function(a, b) {
3013
3011
  a = new a.h();
3014
3012
  a.l = this;
3015
3013
  a.h = b;
3016
3014
  a.g = {};
3017
3015
  return a;
3018
3016
  };
3019
- function C() {
3017
+ function B() {
3020
3018
  }
3021
- n(C, B);
3022
- C.prototype.h = function(a, b) {
3019
+ n(B, ya);
3020
+ B.prototype.h = function(a, b) {
3023
3021
  return 8 == a.h ? !!b : z.prototype.h.apply(this, arguments);
3024
3022
  };
3025
- C.prototype.g = function(a, b) {
3026
- return C.ma.g.call(this, a, b);
3023
+ B.prototype.g = function(a, b) {
3024
+ return B.ma.g.call(this, a, b);
3027
3025
  };
3028
- function D(a, b) {
3026
+ function C(a, b) {
3029
3027
  null != a && this.g.apply(this, arguments);
3030
3028
  }
3031
- D.prototype.h = "";
3032
- D.prototype.set = function(a) {
3029
+ C.prototype.h = "";
3030
+ C.prototype.set = function(a) {
3033
3031
  this.h = "" + a;
3034
3032
  };
3035
- D.prototype.g = function(a, b, c) {
3033
+ C.prototype.g = function(a, b, c) {
3036
3034
  this.h += String(a);
3037
3035
  if (null != b) for (let d = 1; d < arguments.length; d++) this.h += arguments[d];
3038
3036
  return this;
3039
3037
  };
3040
- function E(a) {
3038
+ function D(a) {
3041
3039
  a.h = "";
3042
3040
  }
3043
- D.prototype.toString = function() {
3041
+ C.prototype.toString = function() {
3044
3042
  return this.h;
3045
3043
  };
3044
+ function E() {
3045
+ p.call(this);
3046
+ }
3047
+ n(E, p);
3048
+ var za = null;
3046
3049
  function F() {
3047
3050
  p.call(this);
3048
3051
  }
3049
3052
  n(F, p);
3050
- var ya = null;
3053
+ var Aa = null;
3051
3054
  function G() {
3052
3055
  p.call(this);
3053
3056
  }
3054
3057
  n(G, p);
3055
- var za = null;
3056
- function H() {
3057
- p.call(this);
3058
- }
3059
- n(H, p);
3060
- var Aa = null;
3058
+ var Ba = null;
3059
+ E.prototype.m = function() {
3060
+ var a = za;
3061
+ 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 } }));
3062
+ return a;
3063
+ };
3064
+ E.m = E.prototype.m;
3061
3065
  F.prototype.m = function() {
3062
- var a = ya;
3063
- 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 } }));
3066
+ var a = Aa;
3067
+ 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 } }));
3064
3068
  return a;
3065
3069
  };
3066
3070
  F.m = F.prototype.m;
3067
3071
  G.prototype.m = function() {
3068
- var a = za;
3069
- 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 } }));
3070
- return a;
3071
- };
3072
- G.m = G.prototype.m;
3073
- H.prototype.m = function() {
3074
- var a = Aa;
3075
- a || (Aa = a = y(H, {
3072
+ var a = Ba;
3073
+ a || (Ba = a = y(G, {
3076
3074
  0: { name: "PhoneMetadata", ia: "i18n.phonenumbers.PhoneMetadata" },
3077
- 1: { name: "general_desc", i: 11, type: G },
3078
- 2: { name: "fixed_line", i: 11, type: G },
3079
- 3: { name: "mobile", i: 11, type: G },
3080
- 4: { name: "toll_free", i: 11, type: G },
3081
- 5: { name: "premium_rate", i: 11, type: G },
3082
- 6: { name: "shared_cost", i: 11, type: G },
3083
- 7: { name: "personal_number", i: 11, type: G },
3084
- 8: { name: "voip", i: 11, type: G },
3085
- 21: { name: "pager", i: 11, type: G },
3086
- 25: { name: "uan", i: 11, type: G },
3087
- 27: { name: "emergency", i: 11, type: G },
3088
- 28: { name: "voicemail", i: 11, type: G },
3089
- 29: { name: "short_code", i: 11, type: G },
3090
- 30: { name: "standard_rate", i: 11, type: G },
3091
- 31: { name: "carrier_specific", i: 11, type: G },
3092
- 33: { name: "sms_services", i: 11, type: G },
3093
- 24: { name: "no_international_dialling", i: 11, type: G },
3075
+ 1: { name: "general_desc", i: 11, type: F },
3076
+ 2: { name: "fixed_line", i: 11, type: F },
3077
+ 3: { name: "mobile", i: 11, type: F },
3078
+ 4: { name: "toll_free", i: 11, type: F },
3079
+ 5: { name: "premium_rate", i: 11, type: F },
3080
+ 6: { name: "shared_cost", i: 11, type: F },
3081
+ 7: { name: "personal_number", i: 11, type: F },
3082
+ 8: { name: "voip", i: 11, type: F },
3083
+ 21: { name: "pager", i: 11, type: F },
3084
+ 25: { name: "uan", i: 11, type: F },
3085
+ 27: { name: "emergency", i: 11, type: F },
3086
+ 28: { name: "voicemail", i: 11, type: F },
3087
+ 29: { name: "short_code", i: 11, type: F },
3088
+ 30: { name: "standard_rate", i: 11, type: F },
3089
+ 31: { name: "carrier_specific", i: 11, type: F },
3090
+ 33: { name: "sms_services", i: 11, type: F },
3091
+ 24: { name: "no_international_dialling", i: 11, type: F },
3094
3092
  9: { name: "id", required: true, i: 9, type: String },
3095
3093
  10: { name: "country_code", i: 5, type: Number },
3096
3094
  11: { name: "international_prefix", i: 9, type: String },
@@ -3104,31 +3102,31 @@ var intl_tel_input_default = intlTelInput;
3104
3102
  },
3105
3103
  16: { name: "national_prefix_transform_rule", i: 9, type: String },
3106
3104
  18: { name: "same_mobile_and_fixed_line_pattern", i: 8, defaultValue: false, type: Boolean },
3107
- 19: { name: "number_format", aa: true, i: 11, type: F },
3108
- 20: { name: "intl_number_format", aa: true, i: 11, type: F },
3105
+ 19: { name: "number_format", aa: true, i: 11, type: E },
3106
+ 20: { name: "intl_number_format", aa: true, i: 11, type: E },
3109
3107
  22: { name: "main_country_for_code", i: 8, defaultValue: false, type: Boolean },
3110
3108
  23: { name: "leading_digits", i: 9, type: String }
3111
3109
  }));
3112
3110
  return a;
3113
3111
  };
3114
- H.m = H.prototype.m;
3115
- function I() {
3112
+ G.m = G.prototype.m;
3113
+ function H() {
3116
3114
  p.call(this);
3117
3115
  }
3118
- n(I, p);
3119
- var Ba = null, Ca = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
3120
- I.prototype.m = function() {
3121
- var a = Ba;
3122
- 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: {
3116
+ n(H, p);
3117
+ var Ca = null, Da = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
3118
+ H.prototype.m = function() {
3119
+ var a = Ca;
3120
+ 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: {
3123
3121
  name: "preferred_domestic_carrier_code",
3124
3122
  i: 9,
3125
3123
  type: String
3126
3124
  } }));
3127
3125
  return a;
3128
3126
  };
3129
- I.ctor = I;
3130
- I.ctor.m = I.prototype.m;
3131
- var J = {
3127
+ H.ctor = H;
3128
+ H.ctor.m = H.prototype.m;
3129
+ var I = {
3132
3130
  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(" "),
3133
3131
  7: ["RU", "KZ"],
3134
3132
  20: ["EG"],
@@ -3344,7 +3342,7 @@ var intl_tel_input_default = intlTelInput;
3344
3342
  995: ["GE"],
3345
3343
  996: ["KG"],
3346
3344
  998: ["UZ"]
3347
- }, Da = {
3345
+ }, Ea = {
3348
3346
  AC: [, [
3349
3347
  ,
3350
3348
  ,
@@ -8363,14 +8361,14 @@ var intl_tel_input_default = intlTelInput;
8363
8361
  ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 888, , , , , , , , 1, [[, "(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "\\d{11}", , , , "12345678901"], , , [, , , , , , , , , [-1]]],
8364
8362
  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]]]
8365
8363
  };
8366
- function K() {
8364
+ function J() {
8367
8365
  this.g = {};
8368
8366
  }
8369
- K.h = void 0;
8370
- K.g = function() {
8371
- return K.h ? K.h : K.h = new K();
8367
+ J.h = void 0;
8368
+ J.g = function() {
8369
+ return J.h ? J.h : J.h = new J();
8372
8370
  };
8373
- 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 = {
8371
+ 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 = {
8374
8372
  0: "0",
8375
8373
  1: "1",
8376
8374
  2: "2",
@@ -8384,7 +8382,7 @@ var intl_tel_input_default = intlTelInput;
8384
8382
  "+": "+",
8385
8383
  "*": "*",
8386
8384
  "#": "#"
8387
- }, Ga = {
8385
+ }, Ha = {
8388
8386
  0: "0",
8389
8387
  1: "1",
8390
8388
  2: "2",
@@ -8451,48 +8449,48 @@ var intl_tel_input_default = intlTelInput;
8451
8449
  X: "9",
8452
8450
  Y: "9",
8453
8451
  Z: "9"
8454
- }, 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])*\\.?$");
8455
- function M(a) {
8452
+ }, 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])*\\.?$");
8453
+ function L(a) {
8456
8454
  return "([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{1," + a + "})";
8457
8455
  }
8458
- function Pa() {
8459
- 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") + "#?");
8460
- }
8461
- 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\)?$/;
8462
- function Ua(a) {
8463
- return 2 > a.length ? false : N(Ra, a);
8456
+ function Qa() {
8457
+ 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") + "#?");
8464
8458
  }
8459
+ 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\)?$/;
8465
8460
  function Va(a) {
8466
- return N(Ma, a) ? O(a, Ga) : O(a, Ea);
8461
+ return 2 > a.length ? false : M(Sa, a);
8467
8462
  }
8468
8463
  function Wa(a) {
8469
- var b = Va(a.toString());
8470
- E(a);
8471
- a.g(b);
8464
+ return M(Na, a) ? N(a, Ha) : N(a, Fa);
8472
8465
  }
8473
8466
  function Xa(a) {
8467
+ var b = Wa(a.toString());
8468
+ D(a);
8469
+ a.g(b);
8470
+ }
8471
+ function Ya(a) {
8474
8472
  return null != a && (1 != x(a, 9) || -1 != u(a, 9)[0]);
8475
8473
  }
8476
- function O(a, b) {
8477
- 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);
8474
+ function N(a, b) {
8475
+ 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);
8478
8476
  return c.toString();
8479
8477
  }
8480
- function Ya(a) {
8481
- return 0 == a.length || Ta.test(a);
8478
+ function Za(a) {
8479
+ return 0 == a.length || Ua.test(a);
8482
8480
  }
8483
- function P(a) {
8484
- return null != a && isNaN(a) && a.toUpperCase() in Da;
8481
+ function O(a) {
8482
+ return null != a && isNaN(a) && a.toUpperCase() in Ea;
8485
8483
  }
8486
- K.prototype.format = function(a, b) {
8484
+ J.prototype.format = function(a, b) {
8487
8485
  if (0 == r(a, 2) && q(a, 5)) {
8488
8486
  var c = w(a, 5);
8489
8487
  if (0 < c.length) return c;
8490
8488
  }
8491
8489
  c = w(a, 1);
8492
- var d = Q(a);
8493
- if (0 == b) return Za(c, 0, d, "");
8494
- if (!(c in J)) return d;
8495
- var e = R(this, c, S(c));
8490
+ var d = P(a);
8491
+ if (0 == b) return $a(c, 0, d, "");
8492
+ if (!(c in I)) return d;
8493
+ var e = Q(this, c, R(c));
8496
8494
  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) : "";
8497
8495
  a: {
8498
8496
  e = 0 == u(e, 20).length || 2 == b ? u(e, 19) : u(e, 20);
@@ -8500,7 +8498,7 @@ var intl_tel_input_default = intlTelInput;
8500
8498
  f = e[h];
8501
8499
  var l = x(f, 3);
8502
8500
  if (0 == l || 0 == d.search(r(f, 3, l - 1))) {
8503
- if (l = new RegExp(r(f, 1)), N(l, d)) {
8501
+ if (l = new RegExp(r(f, 1)), M(l, d)) {
8504
8502
  e = f;
8505
8503
  break a;
8506
8504
  }
@@ -8511,18 +8509,18 @@ var intl_tel_input_default = intlTelInput;
8511
8509
  null != e && (g = e, e = w(g, 2), f = new RegExp(r(g, 1)), w(
8512
8510
  g,
8513
8511
  5
8514
- ), 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"), "-")));
8515
- return Za(c, b, d, a);
8512
+ ), 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"), "-")));
8513
+ return $a(c, b, d, a);
8516
8514
  };
8517
- function R(a, b, c) {
8518
- return "001" == c ? T(a, "" + b) : T(a, c);
8515
+ function Q(a, b, c) {
8516
+ return "001" == c ? S(a, "" + b) : S(a, c);
8519
8517
  }
8520
- function Q(a) {
8518
+ function P(a) {
8521
8519
  if (!q(a, 2)) return "";
8522
8520
  var b = "" + r(a, 2);
8523
8521
  return q(a, 4) && r(a, 4) && 0 < w(a, 8) ? Array(w(a, 8) + 1).join("0") + b : b;
8524
8522
  }
8525
- function Za(a, b, c, d) {
8523
+ function $a(a, b, c, d) {
8526
8524
  switch (b) {
8527
8525
  case 0:
8528
8526
  return "+" + a + c + d;
@@ -8534,7 +8532,7 @@ var intl_tel_input_default = intlTelInput;
8534
8532
  return c + d;
8535
8533
  }
8536
8534
  }
8537
- function U(a, b) {
8535
+ function T(a, b) {
8538
8536
  switch (b) {
8539
8537
  case 4:
8540
8538
  return r(a, 5);
@@ -8561,42 +8559,42 @@ var intl_tel_input_default = intlTelInput;
8561
8559
  return r(a, 1);
8562
8560
  }
8563
8561
  }
8564
- function $a(a, b) {
8565
- 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;
8562
+ function ab(a, b) {
8563
+ 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;
8566
8564
  }
8567
- function T(a, b) {
8565
+ function S(a, b) {
8568
8566
  if (null == b) return null;
8569
8567
  b = b.toUpperCase();
8570
8568
  var c = a.g[b];
8571
8569
  if (null == c) {
8572
- c = Da[b];
8570
+ c = Ea[b];
8573
8571
  if (null == c) return null;
8574
- c = new C().g(H.m(), c);
8572
+ c = new B().g(G.m(), c);
8575
8573
  a.g[b] = c;
8576
8574
  }
8577
8575
  return c;
8578
8576
  }
8579
- function V(a, b) {
8577
+ function U(a, b) {
8580
8578
  var c = a.length;
8581
- return 0 < x(b, 9) && -1 == u(b, 9).indexOf(c) ? false : N(w(b, 2), a);
8579
+ return 0 < x(b, 9) && -1 == u(b, 9).indexOf(c) ? false : M(w(b, 2), a);
8582
8580
  }
8583
- function ab(a, b) {
8581
+ function bb(a, b) {
8584
8582
  if (null == b) return null;
8585
8583
  var c = w(b, 1);
8586
- c = J[c];
8584
+ c = I[c];
8587
8585
  if (null == c) a = null;
8588
8586
  else if (1 == c.length) a = c[0];
8589
8587
  else a: {
8590
- b = Q(b);
8588
+ b = P(b);
8591
8589
  for (var d, e = c.length, f = 0; f < e; f++) {
8592
8590
  d = c[f];
8593
- var g = T(a, d);
8591
+ var g = S(a, d);
8594
8592
  if (q(g, 23)) {
8595
8593
  if (0 == b.search(r(g, 23))) {
8596
8594
  a = d;
8597
8595
  break a;
8598
8596
  }
8599
- } else if (-1 != $a(b, g)) {
8597
+ } else if (-1 != ab(b, g)) {
8600
8598
  a = d;
8601
8599
  break a;
8602
8600
  }
@@ -8605,92 +8603,92 @@ var intl_tel_input_default = intlTelInput;
8605
8603
  }
8606
8604
  return a;
8607
8605
  }
8608
- function S(a) {
8609
- a = J[a];
8606
+ function R(a) {
8607
+ a = I[a];
8610
8608
  return null == a ? "ZZ" : a[0];
8611
8609
  }
8612
- function bb(a, b) {
8613
- a = T(a, b);
8610
+ function cb(a, b) {
8611
+ a = S(a, b);
8614
8612
  if (null == a) throw Error("Invalid region code: " + b);
8615
8613
  return w(a, 10);
8616
8614
  }
8617
- function W(a, b, c, d) {
8618
- var e = U(c, d), f = 0 == x(e, 9) ? u(r(c, 1), 9) : u(e, 9);
8615
+ function V(a, b, c, d) {
8616
+ var e = T(c, d), f = 0 == x(e, 9) ? u(r(c, 1), 9) : u(e, 9);
8619
8617
  e = u(e, 10);
8620
- 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()));
8621
- else return W(a, b, c, 1);
8618
+ 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()));
8619
+ else return V(a, b, c, 1);
8622
8620
  if (-1 == f[0]) return 5;
8623
8621
  b = b.length;
8624
8622
  if (-1 < e.indexOf(b)) return 4;
8625
8623
  c = f[0];
8626
8624
  return c == b ? 0 : c > b ? 2 : f[f.length - 1] < b ? 3 : -1 < f.indexOf(b, 1) ? 0 : 5;
8627
8625
  }
8628
- function X(a, b, c) {
8629
- var d = Q(b);
8626
+ function W(a, b, c) {
8627
+ var d = P(b);
8630
8628
  b = w(b, 1);
8631
- if (!(b in J)) return 1;
8632
- b = R(a, b, S(b));
8633
- return W(a, d, b, c);
8629
+ if (!(b in I)) return 1;
8630
+ b = Q(a, b, R(b));
8631
+ return V(a, d, b, c);
8634
8632
  }
8635
- function cb(a, b) {
8633
+ function db(a, b) {
8636
8634
  a = a.toString();
8637
8635
  if (0 == a.length || "0" == a.charAt(0)) return 0;
8638
- 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;
8636
+ 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;
8639
8637
  return 0;
8640
8638
  }
8641
- function db(a, b, c, d, e, f) {
8639
+ function eb(a, b, c, d, e, f) {
8642
8640
  if (0 == b.length) return 0;
8643
- b = new D(b);
8641
+ b = new C(b);
8644
8642
  var g;
8645
8643
  null != c && (g = r(c, 11));
8646
8644
  null == g && (g = "NonMatch");
8647
8645
  var h = b.toString();
8648
8646
  if (0 == h.length) g = 20;
8649
- else if (L.test(h)) h = h.replace(L, ""), E(b), b.g(Va(h)), g = 1;
8647
+ else if (K.test(h)) h = h.replace(K, ""), D(b), b.g(Wa(h)), g = 1;
8650
8648
  else {
8651
8649
  h = new RegExp(g);
8652
- Wa(b);
8650
+ Xa(b);
8653
8651
  g = b.toString();
8654
8652
  if (0 == g.search(h)) {
8655
8653
  h = g.match(h)[0].length;
8656
- var l = g.substring(h).match(Ia);
8657
- l && null != l[1] && 0 < l[1].length && "0" == O(l[1], Ea) ? g = false : (E(b), b.g(g.substring(h)), g = true);
8654
+ var l = g.substring(h).match(Ja);
8655
+ l && null != l[1] && 0 < l[1].length && "0" == N(l[1], Fa) ? g = false : (D(b), b.g(g.substring(h)), g = true);
8658
8656
  } else g = false;
8659
8657
  g = g ? 5 : 20;
8660
8658
  }
8661
8659
  e && t(f, 6, g);
8662
8660
  if (20 != g) {
8663
8661
  if (2 >= b.h.length) throw Error("Phone number too short after IDD");
8664
- a = cb(b, d);
8662
+ a = db(b, d);
8665
8663
  if (0 != a) return t(f, 1, a), a;
8666
8664
  throw Error("Invalid country calling code");
8667
8665
  }
8668
- 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;
8666
+ 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;
8669
8667
  t(f, 1, 0);
8670
8668
  return 0;
8671
8669
  }
8672
- function eb(a, b, c) {
8670
+ function fb(a, b, c) {
8673
8671
  var d = a.toString(), e = d.length, f = r(b, 15);
8674
8672
  if (0 != e && null != f && 0 != f.length) {
8675
8673
  var g = new RegExp("^(?:" + f + ")");
8676
8674
  if (e = g.exec(d)) {
8677
8675
  f = new RegExp(w(r(b, 1), 2));
8678
- var h = N(f, d), l = e.length - 1;
8676
+ var h = M(f, d), l = e.length - 1;
8679
8677
  b = r(b, 16);
8680
8678
  if (null == b || 0 == b.length || null == e[l] || 0 == e[l].length) {
8681
- 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));
8682
- } else if (d = d.replace(g, b), !h || N(f, d)) null != c && 0 < l && c.g(e[1]), a.set(d);
8679
+ 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));
8680
+ } else if (d = d.replace(g, b), !h || M(f, d)) null != c && 0 < l && c.g(e[1]), a.set(d);
8683
8681
  }
8684
8682
  }
8685
8683
  }
8686
- function Y(a, b, c) {
8687
- if (!P(c) && 0 < b.length && "+" != b.charAt(0)) throw Error("Invalid country calling code");
8688
- return fb(a, b, c, true);
8684
+ function X(a, b, c) {
8685
+ if (!O(c) && 0 < b.length && "+" != b.charAt(0)) throw Error("Invalid country calling code");
8686
+ return gb(a, b, c, true);
8689
8687
  }
8690
- function fb(a, b, c, d) {
8688
+ function gb(a, b, c, d) {
8691
8689
  if (null == b) throw Error("The string supplied did not seem to be a phone number");
8692
8690
  if (250 < b.length) throw Error("The string supplied is too long to be a phone number");
8693
- var e = new D();
8691
+ var e = new C();
8694
8692
  var f = b.indexOf(";phone-context=");
8695
8693
  if (-1 === f) f = null;
8696
8694
  else if (f += 15, f >= b.length) f = "";
@@ -8699,24 +8697,24 @@ var intl_tel_input_default = intlTelInput;
8699
8697
  f = -1 !== g ? b.substring(f, g) : b.substring(f);
8700
8698
  }
8701
8699
  var h = f;
8702
- null == h ? g = true : 0 === h.length ? g = false : (g = Na.exec(h), h = Oa.exec(h), g = null !== g || null !== h);
8700
+ null == h ? g = true : 0 === h.length ? g = false : (g = Oa.exec(h), h = Pa.exec(h), g = null !== g || null !== h);
8703
8701
  if (!g) throw Error("The string supplied did not seem to be a phone number");
8704
- 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));
8702
+ 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));
8705
8703
  f = e.toString();
8706
8704
  g = f.indexOf(";isub=");
8707
- 0 < g && (E(e), e.g(f.substring(0, g)));
8708
- if (!Ua(e.toString())) throw Error("The string supplied did not seem to be a phone number");
8705
+ 0 < g && (D(e), e.g(f.substring(0, g)));
8706
+ if (!Va(e.toString())) throw Error("The string supplied did not seem to be a phone number");
8709
8707
  f = e.toString();
8710
- if (!(P(c) || null != f && 0 < f.length && L.test(f))) throw Error("Invalid country calling code");
8711
- f = new I();
8708
+ if (!(O(c) || null != f && 0 < f.length && K.test(f))) throw Error("Invalid country calling code");
8709
+ f = new H();
8712
8710
  d && t(f, 5, b);
8713
8711
  a: {
8714
8712
  b = e.toString();
8715
- g = b.search(Qa);
8716
- if (0 <= g && Ua(b.substring(0, g))) {
8717
- h = b.match(Qa);
8713
+ g = b.search(Ra);
8714
+ if (0 <= g && Va(b.substring(0, g))) {
8715
+ h = b.match(Ra);
8718
8716
  for (var l = h.length, A = 1; A < l; ++A) if (null != h[A] && 0 < h[A].length) {
8719
- E(e);
8717
+ D(e);
8720
8718
  e.g(b.substring(0, g));
8721
8719
  b = h[A];
8722
8720
  break a;
@@ -8725,24 +8723,24 @@ var intl_tel_input_default = intlTelInput;
8725
8723
  b = "";
8726
8724
  }
8727
8725
  0 < b.length && t(f, 3, b);
8728
- g = T(a, c);
8729
- b = new D();
8726
+ g = S(a, c);
8727
+ b = new C();
8730
8728
  h = 0;
8731
8729
  l = e.toString();
8732
8730
  try {
8733
- h = db(a, l, g, b, d, f);
8734
- } catch (ca) {
8735
- if ("Invalid country calling code" == ca.message && L.test(l)) {
8736
- if (l = l.replace(L, ""), h = db(a, l, g, b, d, f), 0 == h) throw ca;
8737
- } else throw ca;
8731
+ h = eb(a, l, g, b, d, f);
8732
+ } catch (da) {
8733
+ if ("Invalid country calling code" == da.message && K.test(l)) {
8734
+ if (l = l.replace(K, ""), h = eb(a, l, g, b, d, f), 0 == h) throw da;
8735
+ } else throw da;
8738
8736
  }
8739
- 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(
8737
+ 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(
8740
8738
  f,
8741
8739
  1,
8742
8740
  h
8743
8741
  )) : d && (delete f.h[6], f.g && delete f.g[6]));
8744
8742
  if (2 > b.h.length) throw Error("The string supplied is too short to be a phone number");
8745
- 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())));
8743
+ 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())));
8746
8744
  d = b.toString();
8747
8745
  a = d.length;
8748
8746
  if (2 > a) throw Error("The string supplied is too short to be a phone number");
@@ -8755,70 +8753,70 @@ var intl_tel_input_default = intlTelInput;
8755
8753
  t(f, 2, parseInt(d, 10));
8756
8754
  return f;
8757
8755
  }
8758
- function N(a, b) {
8756
+ function M(a, b) {
8759
8757
  return (a = "string" == typeof a ? b.match("^(?:" + a + ")$") : b.match(a)) && a[0].length == b.length ? true : false;
8760
8758
  }
8761
8759
  ;
8762
- function gb(a) {
8760
+ function hb(a) {
8763
8761
  this.fa = RegExp("\u2008");
8764
8762
  this.ja = "";
8765
- this.v = new D();
8763
+ this.v = new C();
8766
8764
  this.da = "";
8767
- this.s = new D();
8768
- this.ba = new D();
8765
+ this.s = new C();
8766
+ this.ba = new C();
8769
8767
  this.u = true;
8770
8768
  this.ea = this.ca = this.la = false;
8771
- this.ga = K.g();
8769
+ this.ga = J.g();
8772
8770
  this.$ = 0;
8773
- this.h = new D();
8771
+ this.h = new C();
8774
8772
  this.ha = false;
8775
8773
  this.o = "";
8776
- this.g = new D();
8774
+ this.g = new C();
8777
8775
  this.j = [];
8778
8776
  this.ka = a;
8779
- this.l = hb(this, this.ka);
8777
+ this.l = ib(this, this.ka);
8780
8778
  }
8781
- var ib = new H();
8782
- t(ib, 11, "NA");
8783
- 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 = /[- ]/;
8784
- function hb(a, b) {
8779
+ var jb = new G();
8780
+ t(jb, 11, "NA");
8781
+ 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 = /[- ]/;
8782
+ function ib(a, b) {
8785
8783
  var c = a.ga;
8786
- b = P(b) ? bb(c, b) : 0;
8787
- a = T(a.ga, S(b));
8788
- return null != a ? a : ib;
8784
+ b = O(b) ? cb(c, b) : 0;
8785
+ a = S(a.ga, R(b));
8786
+ return null != a ? a : jb;
8789
8787
  }
8790
- function lb(a) {
8788
+ function mb(a) {
8791
8789
  for (var b = a.j.length, c = 0; c < b; ++c) {
8792
8790
  var d = a.j[c], e = w(d, 1);
8793
8791
  if (a.da == e) return false;
8794
8792
  var f = a;
8795
8793
  var g = d, h = w(g, 1);
8796
- E(f.v);
8794
+ D(f.v);
8797
8795
  var l = f;
8798
8796
  g = w(g, 2);
8799
8797
  var A = "999999999999999".match(h)[0];
8800
8798
  A.length < l.g.h.length ? l = "" : (l = A.replace(new RegExp(h, "g"), g), l = l.replace(RegExp("9", "g"), "\u2008"));
8801
8799
  0 < l.length ? (f.v.g(l), f = true) : f = false;
8802
- if (f) return a.da = e, a.ha = kb.test(r(d, 4)), a.$ = 0, true;
8800
+ if (f) return a.da = e, a.ha = lb.test(r(d, 4)), a.$ = 0, true;
8803
8801
  }
8804
8802
  return a.u = false;
8805
8803
  }
8806
- function mb(a, b) {
8804
+ function nb(a, b) {
8807
8805
  for (var c = [], d = b.length - 3, e = a.j.length, f = 0; f < e; ++f) {
8808
8806
  var g = a.j[f];
8809
8807
  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]));
8810
8808
  }
8811
8809
  a.j = c;
8812
8810
  }
8813
- function nb(a, b) {
8811
+ function ob(a, b) {
8814
8812
  a.s.g(b);
8815
8813
  var c = b;
8816
- 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);
8814
+ 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);
8817
8815
  if (!a.u) {
8818
8816
  if (!a.la) {
8819
- if (ob(a)) {
8820
- if (pb(a)) return qb(a);
8821
- } 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);
8817
+ if (pb(a)) {
8818
+ if (qb(a)) return rb(a);
8819
+ } 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);
8822
8820
  }
8823
8821
  return a.s.toString();
8824
8822
  }
@@ -8828,93 +8826,93 @@ var intl_tel_input_default = intlTelInput;
8828
8826
  case 2:
8829
8827
  return a.s.toString();
8830
8828
  case 3:
8831
- if (ob(a)) a.ea = true;
8832
- else return a.o = rb(a), sb(a);
8829
+ if (pb(a)) a.ea = true;
8830
+ else return a.o = sb(a), tb(a);
8833
8831
  default:
8834
- if (a.ea) return pb(a) && (a.ea = false), a.h.toString() + a.g.toString();
8832
+ if (a.ea) return qb(a) && (a.ea = false), a.h.toString() + a.g.toString();
8835
8833
  if (0 < a.j.length) {
8836
- b = tb(a, b);
8837
- c = ub(a);
8834
+ b = ub(a, b);
8835
+ c = vb(a);
8838
8836
  if (0 < c.length) return c;
8839
- mb(a, a.g.toString());
8840
- return lb(a) ? vb(a) : a.u ? Z(a, b) : a.s.toString();
8837
+ nb(a, a.g.toString());
8838
+ return mb(a) ? wb(a) : a.u ? Y(a, b) : a.s.toString();
8841
8839
  }
8842
- return sb(a);
8840
+ return tb(a);
8843
8841
  }
8844
8842
  }
8845
- function qb(a) {
8843
+ function rb(a) {
8846
8844
  a.u = true;
8847
8845
  a.ea = false;
8848
8846
  a.j = [];
8849
8847
  a.$ = 0;
8850
- E(a.v);
8848
+ D(a.v);
8851
8849
  a.da = "";
8852
- return sb(a);
8850
+ return tb(a);
8853
8851
  }
8854
- function ub(a) {
8852
+ function vb(a) {
8855
8853
  for (var b = a.g.toString(), c = a.j.length, d = 0; d < c; ++d) {
8856
8854
  var e = a.j[d], f = w(e, 1);
8857
- 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;
8855
+ 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;
8858
8856
  }
8859
8857
  return "";
8860
8858
  }
8861
- function Z(a, b) {
8859
+ function Y(a, b) {
8862
8860
  var c = a.h.h.length;
8863
8861
  return a.ha && 0 < c && " " != a.h.toString().charAt(c - 1) ? a.h + " " + b : a.h + b;
8864
8862
  }
8865
- function sb(a) {
8863
+ function tb(a) {
8866
8864
  var b = a.g.toString();
8867
8865
  if (3 <= b.length) {
8868
8866
  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) {
8869
8867
  var f = c[e];
8870
- 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);
8868
+ 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);
8871
8869
  }
8872
- mb(a, b);
8873
- b = ub(a);
8874
- return 0 < b.length ? b : lb(a) ? vb(a) : a.s.toString();
8870
+ nb(a, b);
8871
+ b = vb(a);
8872
+ return 0 < b.length ? b : mb(a) ? wb(a) : a.s.toString();
8875
8873
  }
8876
- return Z(a, b);
8874
+ return Y(a, b);
8877
8875
  }
8878
- function vb(a) {
8876
+ function wb(a) {
8879
8877
  var b = a.g.toString(), c = b.length;
8880
8878
  if (0 < c) {
8881
- for (var d = "", e = 0; e < c; e++) d = tb(a, b.charAt(e));
8882
- return a.u ? Z(a, d) : a.s.toString();
8879
+ for (var d = "", e = 0; e < c; e++) d = ub(a, b.charAt(e));
8880
+ return a.u ? Y(a, d) : a.s.toString();
8883
8881
  }
8884
8882
  return a.h.toString();
8885
8883
  }
8886
- function rb(a) {
8884
+ function sb(a) {
8887
8885
  var b = a.g.toString(), c = 0;
8888
8886
  if (1 != r(a.l, 10)) var d = false;
8889
8887
  else d = a.g.toString(), d = "1" == d.charAt(0) && "0" != d.charAt(1) && "1" != d.charAt(1);
8890
8888
  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))));
8891
- E(a.g);
8889
+ D(a.g);
8892
8890
  a.g.g(b.substring(c));
8893
8891
  return b.substring(0, c);
8894
8892
  }
8895
- function ob(a) {
8893
+ function pb(a) {
8896
8894
  var b = a.ba.toString(), c = new RegExp("^(?:\\+|" + r(a.l, 11) + ")");
8897
8895
  c = b.match(c);
8898
- 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;
8896
+ 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;
8899
8897
  }
8900
- function pb(a) {
8898
+ function qb(a) {
8901
8899
  if (0 == a.g.h.length) return false;
8902
- var b = new D(), c = cb(a.g, b);
8900
+ var b = new C(), c = db(a.g, b);
8903
8901
  if (0 == c) return false;
8904
- E(a.g);
8902
+ D(a.g);
8905
8903
  a.g.g(b.toString());
8906
- b = S(c);
8907
- "001" == b ? a.l = T(a.ga, "" + c) : b != a.ka && (a.l = hb(a, b));
8904
+ b = R(c);
8905
+ "001" == b ? a.l = S(a.ga, "" + c) : b != a.ka && (a.l = ib(a, b));
8908
8906
  a.h.g("" + c).g(" ");
8909
8907
  a.o = "";
8910
8908
  return true;
8911
8909
  }
8912
- function tb(a, b) {
8910
+ function ub(a, b) {
8913
8911
  var c = a.v.toString();
8914
8912
  if (0 <= c.substring(a.$).search(a.fa)) {
8915
8913
  var d = c.search(a.fa);
8916
8914
  b = c.replace(a.fa, b);
8917
- E(a.v);
8915
+ D(a.v);
8918
8916
  a.v.g(b);
8919
8917
  a.$ = d;
8920
8918
  return b.substring(0, a.$ + 1);
@@ -8924,13 +8922,13 @@ var intl_tel_input_default = intlTelInput;
8924
8922
  return a.s.toString();
8925
8923
  }
8926
8924
  ;
8927
- 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 };
8925
+ 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 };
8928
8926
  m("intlTelInputUtilsTemp", {});
8929
8927
  m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => {
8930
8928
  try {
8931
- const c = a.replace(/[^+0-9]/g, ""), d = new gb(b);
8929
+ const c = a.replace(/[^+0-9]/g, ""), d = new hb(b);
8932
8930
  b = "";
8933
- for (let e = 0; e < c.length; e++) d.ja = nb(d, c.charAt(e)), b = d.ja;
8931
+ for (let e = 0; e < c.length; e++) d.ja = ob(d, c.charAt(e)), b = d.ja;
8934
8932
  return b;
8935
8933
  } catch (c) {
8936
8934
  return a;
@@ -8938,8 +8936,8 @@ var intl_tel_input_default = intlTelInput;
8938
8936
  });
8939
8937
  m("intlTelInputUtilsTemp.formatNumber", (a, b, c) => {
8940
8938
  try {
8941
- const e = K.g(), f = Y(e, a, b);
8942
- var d = X(e, f, -1);
8939
+ const e = J.g(), f = X(e, a, b);
8940
+ var d = W(e, f, -1);
8943
8941
  return 0 == d || 4 == d ? e.format(f, "undefined" === typeof c ? 0 : c) : a;
8944
8942
  } catch (e) {
8945
8943
  return a;
@@ -8947,15 +8945,15 @@ var intl_tel_input_default = intlTelInput;
8947
8945
  });
8948
8946
  m("intlTelInputUtilsTemp.getExampleNumber", (a, b, c, d) => {
8949
8947
  try {
8950
- const l = K.g();
8948
+ const l = J.g();
8951
8949
  a: {
8952
8950
  var e = l;
8953
- if (P(a)) {
8954
- var f = U(T(e, a), c);
8951
+ if (O(a)) {
8952
+ var f = T(S(e, a), c);
8955
8953
  try {
8956
8954
  if (q(f, 6)) {
8957
8955
  var g = r(f, 6);
8958
- var h = fb(e, g, a, false);
8956
+ var h = gb(e, g, a, false);
8959
8957
  break a;
8960
8958
  }
8961
8959
  } catch (A) {
@@ -8970,19 +8968,19 @@ var intl_tel_input_default = intlTelInput;
8970
8968
  });
8971
8969
  m("intlTelInputUtilsTemp.getExtension", (a, b) => {
8972
8970
  try {
8973
- return r(Y(K.g(), a, b), 3);
8971
+ return r(X(J.g(), a, b), 3);
8974
8972
  } catch (c) {
8975
8973
  return "";
8976
8974
  }
8977
8975
  });
8978
8976
  m("intlTelInputUtilsTemp.getNumberType", (a, b) => {
8979
8977
  try {
8980
- const g = K.g(), h = Y(g, a, b);
8981
- var c = ab(g, h), d = R(g, w(h, 1), c);
8978
+ const g = J.g(), h = X(g, a, b);
8979
+ var c = bb(g, h), d = Q(g, w(h, 1), c);
8982
8980
  if (null == d) var e = -1;
8983
8981
  else {
8984
- var f = Q(h);
8985
- e = $a(f, d);
8982
+ var f = P(h);
8983
+ e = ab(f, d);
8986
8984
  }
8987
8985
  return e;
8988
8986
  } catch (g) {
@@ -8991,22 +8989,22 @@ var intl_tel_input_default = intlTelInput;
8991
8989
  });
8992
8990
  m("intlTelInputUtilsTemp.getValidationError", (a, b) => {
8993
8991
  try {
8994
- const c = K.g(), d = Y(c, a, b);
8995
- return X(c, d, -1);
8992
+ const c = J.g(), d = X(c, a, b);
8993
+ return W(c, d, -1);
8996
8994
  } catch (c) {
8997
8995
  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;
8998
8996
  }
8999
8997
  });
9000
8998
  m("intlTelInputUtilsTemp.isValidNumber", (a, b) => {
9001
8999
  try {
9002
- const l = K.g();
9003
- var c = Y(l, a, b), d = ab(l, c);
9000
+ const l = J.g();
9001
+ var c = X(l, a, b), d = bb(l, c);
9004
9002
  a = l;
9005
- var e = w(c, 1), f = R(a, e, d);
9006
- if (null == f || "001" != d && e != bb(a, d)) var g = false;
9003
+ var e = w(c, 1), f = Q(a, e, d);
9004
+ if (null == f || "001" != d && e != cb(a, d)) var g = false;
9007
9005
  else {
9008
- var h = Q(c);
9009
- g = -1 != $a(h, f);
9006
+ var h = P(c);
9007
+ g = -1 != ab(h, f);
9010
9008
  }
9011
9009
  return g;
9012
9010
  } catch (l) {
@@ -9015,21 +9013,29 @@ var intl_tel_input_default = intlTelInput;
9015
9013
  });
9016
9014
  m("intlTelInputUtilsTemp.isPossibleNumber", (a, b, c) => {
9017
9015
  try {
9018
- const d = K.g(), e = Y(d, a, b);
9019
- return c ? 0 === X(d, e, wb[c]) : 0 === X(d, e, -1);
9016
+ const d = J.g(), e = X(d, a, b);
9017
+ if (c) {
9018
+ const f = 0 === W(d, e, Z[c]);
9019
+ if ("FIXED_LINE_OR_MOBILE" === c) {
9020
+ const g = 0 === W(d, e, Z.MOBILE), h = 0 === W(d, e, Z.FIXED_LINE);
9021
+ return g || h || f;
9022
+ }
9023
+ return f;
9024
+ }
9025
+ return 0 === W(d, e, -1);
9020
9026
  } catch (d) {
9021
9027
  return false;
9022
9028
  }
9023
9029
  });
9024
9030
  m("intlTelInputUtilsTemp.getCoreNumber", (a, b) => {
9025
9031
  try {
9026
- return r(Y(K.g(), a, b), 2).toString();
9032
+ return r(X(J.g(), a, b), 2).toString();
9027
9033
  } catch (c) {
9028
9034
  return "";
9029
9035
  }
9030
9036
  });
9031
9037
  m("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 });
9032
- m("intlTelInputUtilsTemp.numberType", wb);
9038
+ m("intlTelInputUtilsTemp.numberType", Z);
9033
9039
  m("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
9034
9040
  })();
9035
9041
  var utils = window.intlTelInputUtilsTemp;