intl-tel-input 25.5.1 → 25.7.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.
- package/CHANGELOG.md +29 -1
- package/README.md +9 -9
- package/angular/README.md +1 -1
- package/angular/build/IntlTelInput.js +84 -79
- package/angular/build/IntlTelInputWithUtils.js +149 -165
- package/angular/build/types/intl-tel-input/data.d.ts +7 -2
- package/angular/build/types/intl-tel-input.d.ts +4 -1
- package/build/css/intlTelInput.css +5 -0
- package/build/css/intlTelInput.min.css +1 -1
- package/build/js/data.js +6 -6
- package/build/js/data.min.js +2 -2
- package/build/js/intlTelInput.d.ts +11 -3
- package/build/js/intlTelInput.js +85 -82
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +149 -167
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/build/js/utils.js +22 -21
- package/package.json +3 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +84 -81
- package/react/build/IntlTelInput.d.ts +11 -3
- package/react/build/IntlTelInput.js +84 -81
- package/react/build/IntlTelInputWithUtils.cjs +148 -166
- package/react/build/IntlTelInputWithUtils.js +148 -166
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +233 -241
- package/vue/build/IntlTelInputWithUtils.mjs +815 -845
- package/angular/build/intl-tel-input.js +0 -1814
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* International Telephone Input v25.
|
|
2
|
+
* International Telephone Input v25.7.0
|
|
3
3
|
* https://github.com/jackocnr/intl-tel-input.git
|
|
4
4
|
* Licensed under the MIT license
|
|
5
5
|
*/
|
|
@@ -1364,18 +1364,18 @@ var factoryOutput = (() => {
|
|
|
1364
1364
|
]
|
|
1365
1365
|
];
|
|
1366
1366
|
var allCountries = [];
|
|
1367
|
-
for (
|
|
1368
|
-
|
|
1369
|
-
allCountries[i] = {
|
|
1367
|
+
for (const c of rawCountryData) {
|
|
1368
|
+
allCountries.push({
|
|
1370
1369
|
name: "",
|
|
1371
|
-
//
|
|
1370
|
+
// populated in the plugin
|
|
1372
1371
|
iso2: c[0],
|
|
1373
1372
|
dialCode: c[1],
|
|
1374
1373
|
priority: c[2] || 0,
|
|
1375
1374
|
areaCodes: c[3] || null,
|
|
1376
1375
|
nodeById: {},
|
|
1376
|
+
// populated by the plugin
|
|
1377
1377
|
nationalPrefix: c[4] || null
|
|
1378
|
-
};
|
|
1378
|
+
});
|
|
1379
1379
|
}
|
|
1380
1380
|
var data_default = allCountries;
|
|
1381
1381
|
|
|
@@ -1646,10 +1646,23 @@ var factoryOutput = (() => {
|
|
|
1646
1646
|
var en_default = allTranslations;
|
|
1647
1647
|
|
|
1648
1648
|
// src/js/intl-tel-input.ts
|
|
1649
|
-
for (
|
|
1650
|
-
|
|
1649
|
+
for (const c of data_default) {
|
|
1650
|
+
c.name = en_default[c.iso2];
|
|
1651
1651
|
}
|
|
1652
1652
|
var id = 0;
|
|
1653
|
+
var mq = (q) => {
|
|
1654
|
+
return typeof window !== "undefined" && typeof window.matchMedia === "function" && window.matchMedia(q).matches;
|
|
1655
|
+
};
|
|
1656
|
+
var computeDefaultUseFullscreenPopup = () => {
|
|
1657
|
+
if (typeof navigator !== "undefined" && typeof window !== "undefined") {
|
|
1658
|
+
const isMobileUserAgent = /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
1659
|
+
const isNarrowViewport = mq("(max-width: 500px)");
|
|
1660
|
+
const isShortViewport = mq("(max-height: 600px)");
|
|
1661
|
+
const isCoarsePointer = mq("(pointer: coarse)");
|
|
1662
|
+
return isMobileUserAgent || isNarrowViewport || isCoarsePointer && isShortViewport;
|
|
1663
|
+
}
|
|
1664
|
+
return false;
|
|
1665
|
+
};
|
|
1653
1666
|
var defaults = {
|
|
1654
1667
|
//* Whether or not to allow the dropdown.
|
|
1655
1668
|
allowDropdown: true,
|
|
@@ -1696,13 +1709,7 @@ var factoryOutput = (() => {
|
|
|
1696
1709
|
//* Only allow certain chars e.g. a plus followed by numeric digits, and cap at max valid length.
|
|
1697
1710
|
strictMode: false,
|
|
1698
1711
|
//* Use full screen popup instead of dropdown for country list.
|
|
1699
|
-
useFullscreenPopup:
|
|
1700
|
-
//* We cannot just test screen size as some smartphones/website meta tags will report desktop resolutions.
|
|
1701
|
-
//* Note: to target Android Mobiles (and not Tablets), we must find 'Android' and 'Mobile'
|
|
1702
|
-
/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
1703
|
-
navigator.userAgent
|
|
1704
|
-
) || window.innerWidth <= 500
|
|
1705
|
-
) : false,
|
|
1712
|
+
useFullscreenPopup: computeDefaultUseFullscreenPopup(),
|
|
1706
1713
|
//* The number type to enforce during validation.
|
|
1707
1714
|
validationNumberTypes: ["MOBILE"]
|
|
1708
1715
|
};
|
|
@@ -1730,7 +1737,7 @@ var factoryOutput = (() => {
|
|
|
1730
1737
|
var isRegionlessNanp = (number) => {
|
|
1731
1738
|
const numeric = getNumeric(number);
|
|
1732
1739
|
if (numeric.charAt(0) === "1") {
|
|
1733
|
-
const areaCode = numeric.
|
|
1740
|
+
const areaCode = numeric.substring(1, 4);
|
|
1734
1741
|
return regionlessNanpNumbers.includes(areaCode);
|
|
1735
1742
|
}
|
|
1736
1743
|
return false;
|
|
@@ -1794,6 +1801,7 @@ var factoryOutput = (() => {
|
|
|
1794
1801
|
}
|
|
1795
1802
|
this.isAndroid = typeof navigator !== "undefined" ? /Android/i.test(navigator.userAgent) : false;
|
|
1796
1803
|
this.isRTL = !!this.telInput.closest("[dir=rtl]");
|
|
1804
|
+
this.telInput.dir = "ltr";
|
|
1797
1805
|
const showOnDefaultSide = this.options.allowDropdown || this.options.separateDialCode;
|
|
1798
1806
|
this.showSelectedCountryOnLeft = this.isRTL ? !showOnDefaultSide : showOnDefaultSide;
|
|
1799
1807
|
if (this.options.separateDialCode) {
|
|
@@ -1829,6 +1837,16 @@ var factoryOutput = (() => {
|
|
|
1829
1837
|
this._processDialCodes();
|
|
1830
1838
|
this._translateCountryNames();
|
|
1831
1839
|
this._sortCountries();
|
|
1840
|
+
this.countryByIso2 = new Map(this.countries.map((c) => [c.iso2, c]));
|
|
1841
|
+
this._cacheSearchTokens();
|
|
1842
|
+
}
|
|
1843
|
+
//* Precompute and cache country search tokens to speed up filtering
|
|
1844
|
+
_cacheSearchTokens() {
|
|
1845
|
+
for (const c of this.countries) {
|
|
1846
|
+
c.normalisedName = normaliseString(c.name);
|
|
1847
|
+
c.initials = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((word) => word[0]).join("").toLowerCase();
|
|
1848
|
+
c.dialCodePlus = `+${c.dialCode}`;
|
|
1849
|
+
}
|
|
1832
1850
|
}
|
|
1833
1851
|
//* Sort countries by countryOrder option (if present), then name.
|
|
1834
1852
|
_sortCountries() {
|
|
@@ -1860,13 +1878,12 @@ var factoryOutput = (() => {
|
|
|
1860
1878
|
if (!this.dialCodeToIso2Map.hasOwnProperty(dialCode)) {
|
|
1861
1879
|
this.dialCodeToIso2Map[dialCode] = [];
|
|
1862
1880
|
}
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
}
|
|
1881
|
+
const iso2List = this.dialCodeToIso2Map[dialCode];
|
|
1882
|
+
if (iso2List.includes(iso2)) {
|
|
1883
|
+
return;
|
|
1867
1884
|
}
|
|
1868
|
-
const index = priority !== void 0 ? priority :
|
|
1869
|
-
|
|
1885
|
+
const index = priority !== void 0 ? priority : iso2List.length;
|
|
1886
|
+
iso2List[index] = iso2;
|
|
1870
1887
|
}
|
|
1871
1888
|
//* Process onlyCountries or excludeCountries array if present.
|
|
1872
1889
|
_processAllCountries() {
|
|
@@ -1891,33 +1908,30 @@ var factoryOutput = (() => {
|
|
|
1891
1908
|
}
|
|
1892
1909
|
//* Translate Countries by object literal provided on config.
|
|
1893
1910
|
_translateCountryNames() {
|
|
1894
|
-
for (
|
|
1895
|
-
const iso2 =
|
|
1911
|
+
for (const c of this.countries) {
|
|
1912
|
+
const iso2 = c.iso2.toLowerCase();
|
|
1896
1913
|
if (this.options.i18n.hasOwnProperty(iso2)) {
|
|
1897
|
-
|
|
1914
|
+
c.name = this.options.i18n[iso2];
|
|
1898
1915
|
}
|
|
1899
1916
|
}
|
|
1900
1917
|
}
|
|
1901
1918
|
//* Generate this.dialCodes and this.dialCodeToIso2Map.
|
|
1902
1919
|
_processDialCodes() {
|
|
1903
|
-
this.dialCodes =
|
|
1920
|
+
this.dialCodes = /* @__PURE__ */ new Set();
|
|
1904
1921
|
this.dialCodeMaxLen = 0;
|
|
1905
1922
|
this.dialCodeToIso2Map = {};
|
|
1906
|
-
for (
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
this.dialCodes[c.dialCode] = true;
|
|
1923
|
+
for (const c of this.countries) {
|
|
1924
|
+
if (!this.dialCodes.has(c.dialCode)) {
|
|
1925
|
+
this.dialCodes.add(c.dialCode);
|
|
1910
1926
|
}
|
|
1911
1927
|
this._addToDialCodeMap(c.iso2, c.dialCode, c.priority);
|
|
1912
1928
|
}
|
|
1913
|
-
for (
|
|
1914
|
-
const c = this.countries[i];
|
|
1929
|
+
for (const c of this.countries) {
|
|
1915
1930
|
if (c.areaCodes) {
|
|
1916
1931
|
const rootIso2Code = this.dialCodeToIso2Map[c.dialCode][0];
|
|
1917
|
-
for (
|
|
1918
|
-
const areaCode = c.areaCodes[j];
|
|
1932
|
+
for (const areaCode of c.areaCodes) {
|
|
1919
1933
|
for (let k = 1; k < areaCode.length; k++) {
|
|
1920
|
-
const partialAreaCode = areaCode.
|
|
1934
|
+
const partialAreaCode = areaCode.substring(0, k);
|
|
1921
1935
|
const partialDialCode = c.dialCode + partialAreaCode;
|
|
1922
1936
|
this._addToDialCodeMap(rootIso2Code, partialDialCode);
|
|
1923
1937
|
this._addToDialCodeMap(c.iso2, partialDialCode);
|
|
@@ -2012,7 +2026,7 @@ var factoryOutput = (() => {
|
|
|
2012
2026
|
if (separateDialCode) {
|
|
2013
2027
|
this.selectedDialCode = createEl(
|
|
2014
2028
|
"div",
|
|
2015
|
-
{ class: "iti__selected-dial-code", "aria-hidden": "true" },
|
|
2029
|
+
{ class: "iti__selected-dial-code", "aria-hidden": "true", dir: "ltr" },
|
|
2016
2030
|
this.selectedCountry
|
|
2017
2031
|
);
|
|
2018
2032
|
}
|
|
@@ -2130,7 +2144,7 @@ var factoryOutput = (() => {
|
|
|
2130
2144
|
content += `<div class='iti__flag iti__${c.iso2}'></div>`;
|
|
2131
2145
|
}
|
|
2132
2146
|
content += `<span class='iti__country-name'>${c.name}</span>`;
|
|
2133
|
-
content += `<span class='iti__dial-code'>+${c.dialCode}</span>`;
|
|
2147
|
+
content += `<span class='iti__dial-code' dir='ltr'>+${c.dialCode}</span>`;
|
|
2134
2148
|
listItem.insertAdjacentHTML("beforeend", content);
|
|
2135
2149
|
}
|
|
2136
2150
|
}
|
|
@@ -2352,7 +2366,7 @@ var factoryOutput = (() => {
|
|
|
2352
2366
|
//* Adhere to the input's maxlength attr.
|
|
2353
2367
|
_cap(number) {
|
|
2354
2368
|
const max = parseInt(this.telInput.getAttribute("maxlength") || "", 10);
|
|
2355
|
-
return max && number.length > max ? number.
|
|
2369
|
+
return max && number.length > max ? number.substring(0, max) : number;
|
|
2356
2370
|
}
|
|
2357
2371
|
//* Trigger a custom event on the input.
|
|
2358
2372
|
_trigger(name, detailProps = {}) {
|
|
@@ -2482,9 +2496,8 @@ var factoryOutput = (() => {
|
|
|
2482
2496
|
}
|
|
2483
2497
|
//* Hidden search (countrySearch disabled): Find the first list item whose name starts with the query string.
|
|
2484
2498
|
_searchForCountry(query) {
|
|
2485
|
-
for (
|
|
2486
|
-
const
|
|
2487
|
-
const startsWith = c.name.substr(0, query.length).toLowerCase() === query;
|
|
2499
|
+
for (const c of this.countries) {
|
|
2500
|
+
const startsWith = c.name.substring(0, query.length).toLowerCase() === query;
|
|
2488
2501
|
if (startsWith) {
|
|
2489
2502
|
const listItem = c.nodeById[this.id];
|
|
2490
2503
|
this._highlightListItem(listItem, false);
|
|
@@ -2505,23 +2518,20 @@ var factoryOutput = (() => {
|
|
|
2505
2518
|
const dialCodeMatches = [];
|
|
2506
2519
|
const dialCodeContains = [];
|
|
2507
2520
|
const initialsMatches = [];
|
|
2508
|
-
for (
|
|
2509
|
-
const c = this.countries[i];
|
|
2510
|
-
const normalisedCountryName = normaliseString(c.name);
|
|
2511
|
-
const countryInitials = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((word) => word[0]).join("").toLowerCase();
|
|
2521
|
+
for (const c of this.countries) {
|
|
2512
2522
|
if (isReset || queryLength === 0) {
|
|
2513
2523
|
nameContains.push(c);
|
|
2514
|
-
} else if (c.iso2
|
|
2524
|
+
} else if (c.iso2 === normalisedQuery) {
|
|
2515
2525
|
iso2Matches.push(c);
|
|
2516
|
-
} else if (
|
|
2526
|
+
} else if (c.normalisedName.startsWith(normalisedQuery)) {
|
|
2517
2527
|
nameStartWith.push(c);
|
|
2518
|
-
} else if (
|
|
2528
|
+
} else if (c.normalisedName.includes(normalisedQuery)) {
|
|
2519
2529
|
nameContains.push(c);
|
|
2520
|
-
} else if (normalisedQuery === c.dialCode || normalisedQuery ===
|
|
2530
|
+
} else if (normalisedQuery === c.dialCode || normalisedQuery === c.dialCodePlus) {
|
|
2521
2531
|
dialCodeMatches.push(c);
|
|
2522
|
-
} else if (
|
|
2532
|
+
} else if (c.dialCodePlus.includes(normalisedQuery)) {
|
|
2523
2533
|
dialCodeContains.push(c);
|
|
2524
|
-
} else if (
|
|
2534
|
+
} else if (c.initials.includes(normalisedQuery)) {
|
|
2525
2535
|
initialsMatches.push(c);
|
|
2526
2536
|
}
|
|
2527
2537
|
}
|
|
@@ -2641,9 +2651,9 @@ var factoryOutput = (() => {
|
|
|
2641
2651
|
const alreadySelected = selectedIso2 && iso2Codes.includes(selectedIso2) && !hasAreaCodesButNoneMatched;
|
|
2642
2652
|
const isRegionlessNanpNumber = selectedDialCode === "1" && isRegionlessNanp(numeric);
|
|
2643
2653
|
if (!isRegionlessNanpNumber && !alreadySelected) {
|
|
2644
|
-
for (
|
|
2645
|
-
if (
|
|
2646
|
-
return
|
|
2654
|
+
for (const iso2 of iso2Codes) {
|
|
2655
|
+
if (iso2) {
|
|
2656
|
+
return iso2;
|
|
2647
2657
|
}
|
|
2648
2658
|
}
|
|
2649
2659
|
}
|
|
@@ -2676,12 +2686,11 @@ var factoryOutput = (() => {
|
|
|
2676
2686
|
}
|
|
2677
2687
|
}
|
|
2678
2688
|
//* Find the country data for the given iso2 code
|
|
2679
|
-
//* the
|
|
2689
|
+
//* the allowFail option is only used during init() for the initialCountry option, and for the iso2 returned from geoIpLookup - in these 2 cases we don't want to error out
|
|
2680
2690
|
_getCountryData(iso2, allowFail) {
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
}
|
|
2691
|
+
const country = this.countryByIso2.get(iso2);
|
|
2692
|
+
if (country) {
|
|
2693
|
+
return country;
|
|
2685
2694
|
}
|
|
2686
2695
|
if (allowFail) {
|
|
2687
2696
|
return null;
|
|
@@ -2912,11 +2921,11 @@ var factoryOutput = (() => {
|
|
|
2912
2921
|
numericChars += c;
|
|
2913
2922
|
if (includeAreaCode) {
|
|
2914
2923
|
if (this.dialCodeToIso2Map[numericChars]) {
|
|
2915
|
-
dialCode = number.
|
|
2924
|
+
dialCode = number.substring(0, i + 1);
|
|
2916
2925
|
}
|
|
2917
2926
|
} else {
|
|
2918
|
-
if (this.dialCodes
|
|
2919
|
-
dialCode = number.
|
|
2927
|
+
if (this.dialCodes.has(numericChars)) {
|
|
2928
|
+
dialCode = number.substring(0, i + 1);
|
|
2920
2929
|
break;
|
|
2921
2930
|
}
|
|
2922
2931
|
}
|
|
@@ -2949,7 +2958,7 @@ var factoryOutput = (() => {
|
|
|
2949
2958
|
if (dialCode) {
|
|
2950
2959
|
dialCode = `+${this.selectedCountryData.dialCode}`;
|
|
2951
2960
|
const start = number[dialCode.length] === " " || number[dialCode.length] === "-" ? dialCode.length + 1 : dialCode.length;
|
|
2952
|
-
number = number.
|
|
2961
|
+
number = number.substring(start);
|
|
2953
2962
|
}
|
|
2954
2963
|
}
|
|
2955
2964
|
return this._cap(number);
|
|
@@ -3083,38 +3092,32 @@ var factoryOutput = (() => {
|
|
|
3083
3092
|
}
|
|
3084
3093
|
return -99;
|
|
3085
3094
|
}
|
|
3086
|
-
//* Validate the input val
|
|
3095
|
+
//* Validate the input val (with precise=false)
|
|
3087
3096
|
isValidNumber() {
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
if (alphaCharPosition > -1) {
|
|
3094
|
-
const beforeAlphaChar = val.substring(0, alphaCharPosition);
|
|
3095
|
-
const beforeAlphaIsValid = this._utilsIsPossibleNumber(beforeAlphaChar);
|
|
3096
|
-
const isValid = this._utilsIsPossibleNumber(val);
|
|
3097
|
-
return beforeAlphaIsValid && isValid;
|
|
3098
|
-
}
|
|
3099
|
-
return this._utilsIsPossibleNumber(val);
|
|
3097
|
+
return this._validateNumber(false);
|
|
3098
|
+
}
|
|
3099
|
+
//* Validate the input val (with precise=true)
|
|
3100
|
+
isValidNumberPrecise() {
|
|
3101
|
+
return this._validateNumber(true);
|
|
3100
3102
|
}
|
|
3101
3103
|
_utilsIsPossibleNumber(val) {
|
|
3102
3104
|
return intlTelInput.utils ? intlTelInput.utils.isPossibleNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null;
|
|
3103
3105
|
}
|
|
3104
|
-
//*
|
|
3105
|
-
|
|
3106
|
+
//* Shared internal validation logic to handle alpha character extension rules.
|
|
3107
|
+
_validateNumber(precise) {
|
|
3106
3108
|
if (!this.selectedCountryData.iso2) {
|
|
3107
3109
|
return false;
|
|
3108
3110
|
}
|
|
3109
3111
|
const val = this._getFullNumber();
|
|
3110
3112
|
const alphaCharPosition = val.search(/\p{L}/u);
|
|
3113
|
+
const testValidity = (s) => precise ? this._utilsIsValidNumber(s) : this._utilsIsPossibleNumber(s);
|
|
3111
3114
|
if (alphaCharPosition > -1) {
|
|
3112
3115
|
const beforeAlphaChar = val.substring(0, alphaCharPosition);
|
|
3113
|
-
const beforeAlphaIsValid =
|
|
3114
|
-
const isValid =
|
|
3116
|
+
const beforeAlphaIsValid = testValidity(beforeAlphaChar);
|
|
3117
|
+
const isValid = testValidity(val);
|
|
3115
3118
|
return beforeAlphaIsValid && isValid;
|
|
3116
3119
|
}
|
|
3117
|
-
return
|
|
3120
|
+
return testValidity(val);
|
|
3118
3121
|
}
|
|
3119
3122
|
_utilsIsValidNumber(val) {
|
|
3120
3123
|
return intlTelInput.utils ? intlTelInput.utils.isValidNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null;
|
|
@@ -3206,7 +3209,7 @@ var factoryOutput = (() => {
|
|
|
3206
3209
|
attachUtils,
|
|
3207
3210
|
startedLoadingUtilsScript: false,
|
|
3208
3211
|
startedLoadingAutoCountry: false,
|
|
3209
|
-
version: "25.
|
|
3212
|
+
version: "25.7.0"
|
|
3210
3213
|
}
|
|
3211
3214
|
);
|
|
3212
3215
|
var intl_tel_input_default = intlTelInput;
|
|
@@ -4550,37 +4553,12 @@ var factoryOutput = (() => {
|
|
|
4550
4553
|
,
|
|
4551
4554
|
[-1]
|
|
4552
4555
|
], [, , "242225\\d{4}", , , , "2422250123"], , , [, , , , , , , , , [-1]]],
|
|
4553
|
-
BT: [
|
|
4554
|
-
,
|
|
4555
|
-
[, , "[17]\\d{7}|[2-8]\\d{6}", , , , , , , [7, 8], [6]],
|
|
4556
|
-
[, , "(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}", , , , "2345678", , , [7], [6]],
|
|
4557
|
-
[, , "(?:1[67]|77)\\d{6}", , , , "17123456", , , [8]],
|
|
4558
|
-
[, , , , , , , , , [-1]],
|
|
4559
|
-
[, , , , , , , , , [-1]],
|
|
4560
|
-
[, , , , , , , , , [-1]],
|
|
4561
|
-
[, , , , , , , , , [-1]],
|
|
4562
|
-
[, , , , , , , , , [-1]],
|
|
4563
|
-
"BT",
|
|
4564
|
-
975,
|
|
4565
|
-
"00",
|
|
4566
|
-
,
|
|
4567
|
-
,
|
|
4556
|
+
BT: [, [, , "[178]\\d{7}|[2-8]\\d{6}", , , , , , , [7, 8], [6]], [, , "(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}", , , , "2345678", , , [7], [6]], [, , "(?:1[67]|[78]7)\\d{6}", , , , "17123456", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BT", 975, "00", , , , , , , , [[, "(\\d{3})(\\d{3})", "$1 $2", ["[2-7]"]], [, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], [
|
|
4568
4557
|
,
|
|
4569
|
-
,
|
|
4570
|
-
,
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
[[, "(\\d{3})(\\d{3})", "$1 $2", ["[2-7]"]], [, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]],
|
|
4574
|
-
[[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]],
|
|
4575
|
-
[, , , , , , , , , [-1]],
|
|
4576
|
-
,
|
|
4577
|
-
,
|
|
4578
|
-
[, , , , , , , , , [-1]],
|
|
4579
|
-
[, , , , , , , , , [-1]],
|
|
4580
|
-
,
|
|
4581
|
-
,
|
|
4582
|
-
[, , , , , , , , , [-1]]
|
|
4583
|
-
],
|
|
4558
|
+
"(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
|
|
4559
|
+
"$1 $2 $3 $4",
|
|
4560
|
+
["1[67]|[78]"]
|
|
4561
|
+
]], [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
4584
4562
|
BW: [, [, , "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", , , , , , , [7, 8, 10]], [, , "(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}", , , , "2401234", , , [7]], [
|
|
4585
4563
|
,
|
|
4586
4564
|
,
|
|
@@ -4592,7 +4570,7 @@ var factoryOutput = (() => {
|
|
|
4592
4570
|
,
|
|
4593
4571
|
,
|
|
4594
4572
|
[8]
|
|
4595
|
-
], [, , "(?:0800|800\\d)\\d{6}", , , , "0800012345", , , [10]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}", , , , "79101234", , , [8]], "BW", 267, "00", , , , , , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["90"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], [, "(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [
|
|
4573
|
+
], [, , "(?:0800|800\\d)\\d{6}", , , , "0800012345", , , [10]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}", , , , "79101234", , , [8]], "BW", 267, "00", , , , , , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["90"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], [, "(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [
|
|
4596
4574
|
,
|
|
4597
4575
|
,
|
|
4598
4576
|
,
|
|
@@ -4603,7 +4581,7 @@ var factoryOutput = (() => {
|
|
|
4603
4581
|
,
|
|
4604
4582
|
,
|
|
4605
4583
|
[-1]
|
|
4606
|
-
]],
|
|
4584
|
+
], , , [, , , , , , , , , [-1]]],
|
|
4607
4585
|
BY: [, [, , "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", , , , , , , [6, 7, 8, 9, 10, 11], [5]], [, , "(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}", , , , "152450911", , , [9], [5, 6, 7]], [, , "(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}", , , , "294911911", , , [9]], [
|
|
4608
4586
|
,
|
|
4609
4587
|
,
|
|
@@ -4998,7 +4976,7 @@ var factoryOutput = (() => {
|
|
|
4998
4976
|
,
|
|
4999
4977
|
[5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
5000
4978
|
[2, 3, 4]
|
|
5001
|
-
], [, , "
|
|
4979
|
+
], [, , "1(?:(?:5(?:[0-25-9]\\d\\d|3(?:10|33))|7[26-9]\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}", , , , "15123456789", , , [10, 11]], [, , "800\\d{7,12}", , , , "8001234567890", , , [10, 11, 12, 13, 14, 15]], [, , "(?:137[7-9]|900(?:[135]|9\\d))\\d{6}", , , , "9001234567", , , [10, 11]], [, , "180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}", , , , "18012345", , , [7, 8, 9, 10, 11, 12, 13, 14]], [, , "700\\d{8}", , , , "70012345678", , , [11]], [, , , , , , , , , [-1]], "DE", 49, "00", "0", , , "0", , , , [
|
|
5002
4980
|
[
|
|
5003
4981
|
,
|
|
5004
4982
|
"(\\d{2})(\\d{3,13})",
|
|
@@ -5024,7 +5002,7 @@ var factoryOutput = (() => {
|
|
|
5024
5002
|
[, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"],
|
|
5025
5003
|
[, "(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"],
|
|
5026
5004
|
[, "(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"],
|
|
5027
|
-
[, "(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|
|
|
5005
|
+
[, "(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"],
|
|
5028
5006
|
[, "(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"],
|
|
5029
5007
|
[, "(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"],
|
|
5030
5008
|
[, "(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"],
|
|
@@ -5746,7 +5724,7 @@ var factoryOutput = (() => {
|
|
|
5746
5724
|
,
|
|
5747
5725
|
,
|
|
5748
5726
|
"2201234"
|
|
5749
|
-
], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[
|
|
5727
|
+
], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-39]|70))\\d{4}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
5750
5728
|
HK: [, [, , "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", , , , , , , [5, 6, 7, 8, 9, 11]], [
|
|
5751
5729
|
,
|
|
5752
5730
|
,
|
|
@@ -5909,7 +5887,7 @@ var factoryOutput = (() => {
|
|
|
5909
5887
|
10,
|
|
5910
5888
|
11,
|
|
5911
5889
|
12
|
|
5912
|
-
]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:4(?:[01]
|
|
5890
|
+
]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:4(?:0[01]|10|5[0-7])|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", , , , "502345678", , , [9]], [, , "1(?:255|80[019]\\d{3})\\d{3}", , , , "1800123456", , , [7, 10]], [, , "1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", , , , "1919123456", , , [8, 10]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [
|
|
5913
5891
|
,
|
|
5914
5892
|
,
|
|
5915
5893
|
"7(?:38(?:[05]\\d|8[018])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",
|
|
@@ -7326,7 +7304,7 @@ var factoryOutput = (() => {
|
|
|
7326
7304
|
,
|
|
7327
7305
|
[, , "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", , , , , , , [7, 8, 9]],
|
|
7328
7306
|
[, , "2[1-6]\\d{6}", , , , "23123456", , , [8]],
|
|
7329
|
-
[, , "1505\\d{4}|(?:7(?:[
|
|
7307
|
+
[, , "1505\\d{4}|(?:7(?:[125-9]\\d|41)|9(?:0[1-9]|[1-9]\\d))\\d{5}", , , , "92123456", , , [8]],
|
|
7330
7308
|
[, , "8007\\d{4,5}|(?:500|800[05])\\d{4}", , , , "80071234"],
|
|
7331
7309
|
[, , "900\\d{5}", , , , "90012345", , , [8]],
|
|
7332
7310
|
[, , , , , , , , , [-1]],
|
|
@@ -7356,7 +7334,7 @@ var factoryOutput = (() => {
|
|
|
7356
7334
|
PA: [, [, , "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", , , , , , , [7, 8, 10, 11]], [
|
|
7357
7335
|
,
|
|
7358
7336
|
,
|
|
7359
|
-
"(?:1(?:0\\d|1[
|
|
7337
|
+
"(?:1(?:0\\d|1[0479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[047-9]\\d|1[0-8]|2[0-5]|33|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",
|
|
7360
7338
|
,
|
|
7361
7339
|
,
|
|
7362
7340
|
,
|
|
@@ -7806,7 +7784,7 @@ var factoryOutput = (() => {
|
|
|
7806
7784
|
,
|
|
7807
7785
|
,
|
|
7808
7786
|
[8]
|
|
7809
|
-
], [, , "
|
|
7787
|
+
], [, , "8980\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}", , , , "81234567", , , [8]], [, , "(?:18|8)00\\d{7}", , , , "18001234567", , , [10, 11]], [, , "1900\\d{7}", , , , "19001234567", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[12]\\d|666)\\d{5}", , , , "31234567", , , [8]], "SG", 65, "0[0-3]\\d", , , , , , , , [[, "(\\d{4,5})", "$1", ["1[013-9]|77", "1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [
|
|
7810
7788
|
,
|
|
7811
7789
|
"(\\d{4})(\\d{4})(\\d{3})",
|
|
7812
7790
|
"$1 $2 $3",
|
|
@@ -7979,7 +7957,7 @@ var factoryOutput = (() => {
|
|
|
7979
7957
|
"$1 $2",
|
|
7980
7958
|
["(?:2|90)4|[67]"]
|
|
7981
7959
|
], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], [, "(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
7982
|
-
SR: [, [, , "(?:[2-5]|
|
|
7960
|
+
SR: [, [, , "(?:[2-5]|[6-8]\\d|90)\\d{5}", , , , , , , [6, 7]], [, , "(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}", , , , "211234", , , [6]], [, , "(?:6[08]|7[124-7]|8[1-9])\\d{5}", , , , "7412345", , , [7]], [, , "80\\d{5}", , , , "8012345", , , [7]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [
|
|
7983
7961
|
,
|
|
7984
7962
|
,
|
|
7985
7963
|
"56\\d{4}",
|
|
@@ -7991,37 +7969,13 @@ var factoryOutput = (() => {
|
|
|
7991
7969
|
,
|
|
7992
7970
|
[6]
|
|
7993
7971
|
], "SR", 597, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], [, "(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], [, "(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
7994
|
-
SS: [
|
|
7995
|
-
,
|
|
7996
|
-
[, , "[19]\\d{8}", , , , , , , [9]],
|
|
7997
|
-
[, , "1[89]\\d{7}", , , , "181234567"],
|
|
7998
|
-
[, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"],
|
|
7999
|
-
[, , , , , , , , , [-1]],
|
|
8000
|
-
[, , , , , , , , , [-1]],
|
|
8001
|
-
[, , , , , , , , , [-1]],
|
|
8002
|
-
[, , , , , , , , , [-1]],
|
|
8003
|
-
[, , , , , , , , , [-1]],
|
|
8004
|
-
"SS",
|
|
8005
|
-
211,
|
|
8006
|
-
"00",
|
|
8007
|
-
"0",
|
|
8008
|
-
,
|
|
8009
|
-
,
|
|
8010
|
-
"0",
|
|
7972
|
+
SS: [, [, , "[19]\\d{8}", , , , , , , [9]], [, , "1[89]\\d{7}", , , , "181234567"], [, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SS", 211, "00", "0", , , "0", , , , [[
|
|
8011
7973
|
,
|
|
8012
|
-
,
|
|
8013
|
-
,
|
|
8014
|
-
[
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
,
|
|
8018
|
-
,
|
|
8019
|
-
[, , , , , , , , , [-1]],
|
|
8020
|
-
[, , , , , , , , , [-1]],
|
|
8021
|
-
,
|
|
8022
|
-
,
|
|
8023
|
-
[, , , , , , , , , [-1]]
|
|
8024
|
-
],
|
|
7974
|
+
"(\\d{3})(\\d{3})(\\d{3})",
|
|
7975
|
+
"$1 $2 $3",
|
|
7976
|
+
["[19]"],
|
|
7977
|
+
"0$1"
|
|
7978
|
+
]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
8025
7979
|
ST: [, [, , "(?:22|9\\d)\\d{5}", , , , , , , [7]], [, , "22\\d{5}", , , , "2221234"], [, , "900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}", , , , "9812345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ST", 239, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
8026
7980
|
SV: [, [, , "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", , , , , , , [7, 8, 11]], [
|
|
8027
7981
|
,
|
|
@@ -8434,17 +8388,44 @@ var factoryOutput = (() => {
|
|
|
8434
8388
|
[, "(\\d{3})(\\d{4})", "$1-$2", ["[24-9]|3(?:[02-9]|1[1-9])"]],
|
|
8435
8389
|
[, "(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], , , 1]
|
|
8436
8390
|
], [[, "(\\d{3})(\\d{4})", "$1-$2", ["310"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-9]"]]], [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
8437
|
-
UY: [, [, , "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", , , , , , , [6, 7, 8, 9, 10, 11, 12, 13]], [, , "(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}", , , , "21231234", , , [8], [7]], [
|
|
8391
|
+
UY: [, [, , "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", , , , , , , [4, 5, 6, 7, 8, 9, 10, 11, 12, 13]], [, , "(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}", , , , "21231234", , , [8], [7]], [
|
|
8438
8392
|
,
|
|
8439
8393
|
,
|
|
8440
|
-
"
|
|
8394
|
+
"9[1-9]\\d{6}",
|
|
8441
8395
|
,
|
|
8442
8396
|
,
|
|
8443
8397
|
,
|
|
8444
|
-
"
|
|
8445
|
-
], [, , "90[0-8]\\d{4}", , , , "9001234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "UY", 598, "0(?:0|1[3-9]\\d)", "0", " int. ", , "0", , "00", , [[, "(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], [, "(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], [, "(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [
|
|
8398
|
+
"94231234",
|
|
8446
8399
|
,
|
|
8447
8400
|
,
|
|
8401
|
+
[8]
|
|
8402
|
+
], [, , "0004\\d{2,9}|(?:405|80[05])\\d{4}", , , , "8001234", , , [6, 7, 8, 9, 10, 11, 12, 13]], [, , "90[0-8]\\d{4}", , , , "9001234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "UY", 598, "0(?:0|1[3-9]\\d)", "0", " int. ", , "0", , "00", , [[, "(\\d{4,5})", "$1", ["21"]], [, "(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], [, "(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], [, "(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], [
|
|
8403
|
+
,
|
|
8404
|
+
"(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})",
|
|
8405
|
+
"$1 $2 $3 $4",
|
|
8406
|
+
["0"]
|
|
8407
|
+
]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "21\\d{2,3}", , , , "21123", , , [4, 5]], , , [, , , , , , , , , [-1]]],
|
|
8408
|
+
UZ: [
|
|
8409
|
+
,
|
|
8410
|
+
[, , "(?:20|33|[5-9]\\d)\\d{7}", , , , , , , [9]],
|
|
8411
|
+
[, , "(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}", , , , "669050123"],
|
|
8412
|
+
[
|
|
8413
|
+
,
|
|
8414
|
+
,
|
|
8415
|
+
"(?:(?:[25]0|33|8[78]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",
|
|
8416
|
+
,
|
|
8417
|
+
,
|
|
8418
|
+
,
|
|
8419
|
+
"912345678"
|
|
8420
|
+
],
|
|
8421
|
+
[, , , , , , , , , [-1]],
|
|
8422
|
+
[, , , , , , , , , [-1]],
|
|
8423
|
+
[, , , , , , , , , [-1]],
|
|
8424
|
+
[, , , , , , , , , [-1]],
|
|
8425
|
+
[, , , , , , , , , [-1]],
|
|
8426
|
+
"UZ",
|
|
8427
|
+
998,
|
|
8428
|
+
"00",
|
|
8448
8429
|
,
|
|
8449
8430
|
,
|
|
8450
8431
|
,
|
|
@@ -8452,17 +8433,17 @@ var factoryOutput = (() => {
|
|
|
8452
8433
|
,
|
|
8453
8434
|
,
|
|
8454
8435
|
,
|
|
8455
|
-
[-
|
|
8456
|
-
]],
|
|
8457
|
-
UZ: [, [, , "(?:20|33|[5-9]\\d)\\d{7}", , , , , , , [9]], [, , "(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}", , , , "669050123"], [
|
|
8436
|
+
[[, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]],
|
|
8458
8437
|
,
|
|
8438
|
+
[, , , , , , , , , [-1]],
|
|
8459
8439
|
,
|
|
8460
|
-
"(?:(?:[25]0|33|8[78]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",
|
|
8461
8440
|
,
|
|
8441
|
+
[, , , , , , , , , [-1]],
|
|
8442
|
+
[, , , , , , , , , [-1]],
|
|
8462
8443
|
,
|
|
8463
8444
|
,
|
|
8464
|
-
|
|
8465
|
-
],
|
|
8445
|
+
[, , , , , , , , , [-1]]
|
|
8446
|
+
],
|
|
8466
8447
|
VA: [, [, , "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", , , , , , , [6, 7, 8, 9, 10, 11, 12]], [, , "06698\\d{1,6}", , , , "0669812345", , , [6, 7, 8, 9, 10, 11]], [, , "3[1-9]\\d{8}|3[2-9]\\d{7}", , , , "3123456789", , , [9, 10]], [
|
|
8467
8448
|
,
|
|
8468
8449
|
,
|
|
@@ -9470,7 +9451,9 @@ var factoryOutput = (() => {
|
|
|
9470
9451
|
}
|
|
9471
9452
|
;
|
|
9472
9453
|
const yb = (a) => {
|
|
9473
|
-
|
|
9454
|
+
const b = [];
|
|
9455
|
+
a.includes("FIXED_LINE_OR_MOBILE") ? (a.includes("MOBILE") || b.push("MOBILE"), a.includes("FIXED_LINE") || b.push("FIXED_LINE")) : (a.includes("MOBILE") || a.includes("FIXED_LINE")) && b.push("FIXED_LINE_OR_MOBILE");
|
|
9456
|
+
return a.concat(b);
|
|
9474
9457
|
}, zb = { 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 };
|
|
9475
9458
|
m("intlTelInputUtilsTemp", {});
|
|
9476
9459
|
m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => {
|
|
@@ -9543,8 +9526,7 @@ var factoryOutput = (() => {
|
|
|
9543
9526
|
try {
|
|
9544
9527
|
const d = K.g(), e = Y(d, a, b), f = cb(d, e);
|
|
9545
9528
|
if (c) {
|
|
9546
|
-
yb(c);
|
|
9547
|
-
const g = c.map((h) => zb[h]);
|
|
9529
|
+
const g = yb(c).map((h) => zb[h]);
|
|
9548
9530
|
return f && g.includes($a(d, e));
|
|
9549
9531
|
}
|
|
9550
9532
|
return f;
|
|
@@ -9556,8 +9538,8 @@ var factoryOutput = (() => {
|
|
|
9556
9538
|
try {
|
|
9557
9539
|
const d = K.g(), e = Y(d, a, b);
|
|
9558
9540
|
if (c) {
|
|
9559
|
-
yb(c);
|
|
9560
|
-
for (let
|
|
9541
|
+
const f = yb(c);
|
|
9542
|
+
for (let g of f) if (0 === X(d, e, zb[g])) return true;
|
|
9561
9543
|
return false;
|
|
9562
9544
|
}
|
|
9563
9545
|
return 0 === X(d, e, -1);
|