@intl-tel-input/angular 28.0.3 → 28.0.5
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/dist/IntlTelInput.js +92 -42
- package/dist/IntlTelInputWithUtils.js +268 -239
- package/package.json +14 -2
package/dist/IntlTelInput.js
CHANGED
|
@@ -2250,40 +2250,62 @@ var createEl = (tagName, attrs, container) => {
|
|
|
2250
2250
|
};
|
|
2251
2251
|
|
|
2252
2252
|
// packages/core/src/js/core/icons.ts
|
|
2253
|
-
var
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2253
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
2254
|
+
var buildSvg = ([tag, attrs, children]) => {
|
|
2255
|
+
const el = document.createElementNS(SVG_NS, tag);
|
|
2256
|
+
if (attrs) {
|
|
2257
|
+
for (const k in attrs) {
|
|
2258
|
+
el.setAttribute(k, String(attrs[k]));
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
if (children) {
|
|
2262
|
+
for (const c of children) {
|
|
2263
|
+
el.appendChild(buildSvg(c));
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
return el;
|
|
2267
|
+
};
|
|
2268
|
+
var buildSearchIcon = () => buildSvg(
|
|
2269
|
+
["svg", { class: "iti__search-icon-svg", width: 14, height: 14, viewBox: "0 0 24 24", focusable: "false", [ARIA.HIDDEN]: "true" }, [
|
|
2270
|
+
["circle", { cx: 11, cy: 11, r: 7 }],
|
|
2271
|
+
["line", { x1: 21, y1: 21, x2: 16.65, y2: 16.65 }]
|
|
2272
|
+
]]
|
|
2273
|
+
);
|
|
2258
2274
|
var buildClearIcon = (id) => {
|
|
2259
2275
|
const maskId = `iti-${id}-clear-mask`;
|
|
2260
|
-
return
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2276
|
+
return buildSvg(
|
|
2277
|
+
["svg", { class: "iti__search-clear-svg", width: 12, height: 12, viewBox: "0 0 16 16", [ARIA.HIDDEN]: "true", focusable: "false" }, [
|
|
2278
|
+
["mask", { id: maskId, maskUnits: "userSpaceOnUse" }, [
|
|
2279
|
+
["rect", { width: 16, height: 16, fill: "white" }],
|
|
2280
|
+
["path", { d: "M5.2 5.2 L10.8 10.8 M10.8 5.2 L5.2 10.8", stroke: "black", "stroke-linecap": "round", class: "iti__search-clear-x" }]
|
|
2281
|
+
]],
|
|
2282
|
+
["circle", { cx: 8, cy: 8, r: 8, class: "iti__search-clear-bg", mask: `url(#${maskId})` }]
|
|
2283
|
+
]]
|
|
2284
|
+
);
|
|
2268
2285
|
};
|
|
2269
|
-
var buildCheckIcon = () =>
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2286
|
+
var buildCheckIcon = () => buildSvg(
|
|
2287
|
+
["svg", { class: "iti__country-check-svg", width: 14, height: 14, viewBox: "0 0 16 16", fill: "currentColor", focusable: "false", [ARIA.HIDDEN]: "true" }, [
|
|
2288
|
+
["path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" }]
|
|
2289
|
+
]]
|
|
2290
|
+
);
|
|
2291
|
+
var buildGlobeIcon = () => buildSvg(
|
|
2292
|
+
["svg", { width: 256, height: 256, viewBox: "0 0 512 512", class: "iti__globe-svg" }, [
|
|
2293
|
+
["path", { d: "M508 213a240 240 0 0 0-449-87l-2 5-2 5c-8 14-13 30-17 46a65 65 0 0 1 56 4c16-10 35-19 56-27l9-3c-6 23-10 48-10 74h-16l4 6c3 4 5 8 6 13h6c0 22 3 44 8 65l2 10-25-10-4 5 12 18 9 3 6 2 8 3 9 26 1 2 16-7h1l-5-13-1-2c24 6 49 9 75 10v26l11 10 7 7v-30l1-13c22 0 44-3 65-8l10-2-21 48-1 1a317 317 0 0 1-14 23l-21 5h-2c6 16 7 33 1 50a240 240 0 0 0 211-265m-401-56-11 6c19-44 54-79 98-98-11 20-21 44-29 69-21 6-40 15-58 23m154 182v4c-29-1-57-6-81-13-7-25-12-52-13-81h94zm0-109h-94c1-29 6-56 13-81 24-7 52-12 81-13zm0-112c-22 1-44 4-65 8l-10 2 12-30 9-17 1-2a332 332 0 0 1 13-23c13-4 26-6 40-7zm187 69 6 4c4 12 6 25 6 38v1h-68c-1-26-4-51-10-74l48 20 1 1 14 8zm-14-44 10 20c-20-11-43-21-68-29-8-25-18-49-29-69 37 16 67 44 87 78M279 49h1c13 1 27 3 39 7l14 23 1 2a343 343 0 0 1 12 26l2 5 6 16c-23-6-48-9-74-10h-1zm0 87h1c29 1 56 6 81 13 7 24 12 51 12 80v1h-94zm2 207h-2v-94h95c-1 29-6 56-13 81-24 7-51 12-80 13m86 60-20 10c11-20 21-43 29-68 25-8 48-18 68-29-16 37-43 67-77 87m87-115-7 5-16 9-2 1a337 337 0 0 1-47 21c6-24 9-49 10-75h68c0 13-2 27-6 39" }],
|
|
2294
|
+
["path", { d: "m261 428-2-2-22-21a40 40 0 0 0-32-11h-1a37 37 0 0 0-18 8l-1 1-4 2-2 2-5 4c-9-3-36-31-47-44s-32-45-34-55l3-2a151 151 0 0 0 11-9v-1a39 39 0 0 0 5-48l-3-3-11-19-3-4-5-7h-1l-3-3-4-3-5-2a35 35 0 0 0-16-3h-5c-4 1-14 5-24 11l-4 2-4 3-4 2c-9 8-17 17-18 27a380 380 0 0 0 212 259h3c12 0 25-10 36-21l10-12 6-11a39 39 0 0 0-8-40" }]
|
|
2295
|
+
]]
|
|
2296
|
+
);
|
|
2278
2297
|
|
|
2279
2298
|
// packages/core/src/js/core/countrySearch.ts
|
|
2299
|
+
var normaliseName = (s) => normaliseString(s).replace(/[^\p{L}]+/gu, " ").trim();
|
|
2280
2300
|
var buildSearchTokens = (countries) => {
|
|
2281
2301
|
const tokens = /* @__PURE__ */ new Map();
|
|
2282
2302
|
for (const c of countries) {
|
|
2283
|
-
const normalisedName =
|
|
2284
|
-
const
|
|
2303
|
+
const normalisedName = normaliseName(c.name);
|
|
2304
|
+
const words = normalisedName.split(" ").filter(Boolean);
|
|
2305
|
+
const initials = words.map((w) => w[0] || "").join("");
|
|
2285
2306
|
tokens.set(c.iso2, {
|
|
2286
2307
|
normalisedName,
|
|
2308
|
+
words,
|
|
2287
2309
|
initials,
|
|
2288
2310
|
dialCodePlus: `+${c.dialCode}`
|
|
2289
2311
|
});
|
|
@@ -2291,29 +2313,49 @@ var buildSearchTokens = (countries) => {
|
|
|
2291
2313
|
return tokens;
|
|
2292
2314
|
};
|
|
2293
2315
|
var getMatchedCountries = (countries, searchTokens, query) => {
|
|
2294
|
-
const
|
|
2316
|
+
const lowerQuery = normaliseString(query);
|
|
2317
|
+
const nameQuery = normaliseName(query);
|
|
2318
|
+
const skipNameBuckets = lowerQuery !== "" && nameQuery === "";
|
|
2295
2319
|
const iso2Matches = [];
|
|
2296
2320
|
const nameStartsWith = [];
|
|
2297
2321
|
const nameContains = [];
|
|
2298
2322
|
const dialCodeMatches = [];
|
|
2299
2323
|
const dialCodeContains = [];
|
|
2300
2324
|
const initialsMatches = [];
|
|
2325
|
+
const wordMatches = [];
|
|
2301
2326
|
for (const c of countries) {
|
|
2302
2327
|
const t = searchTokens.get(c.iso2);
|
|
2303
|
-
if (c.iso2 ===
|
|
2328
|
+
if (c.iso2 === lowerQuery) {
|
|
2304
2329
|
iso2Matches.push(c);
|
|
2305
|
-
} else if (t.normalisedName.startsWith(
|
|
2330
|
+
} else if (!skipNameBuckets && t.normalisedName.startsWith(nameQuery)) {
|
|
2306
2331
|
nameStartsWith.push(c);
|
|
2307
|
-
} else if (t.normalisedName.includes(
|
|
2332
|
+
} else if (!skipNameBuckets && t.normalisedName.includes(nameQuery)) {
|
|
2308
2333
|
nameContains.push(c);
|
|
2309
|
-
} else if (
|
|
2334
|
+
} else if (lowerQuery === c.dialCode || lowerQuery === t.dialCodePlus) {
|
|
2310
2335
|
dialCodeMatches.push(c);
|
|
2311
|
-
} else if (t.dialCodePlus.includes(
|
|
2336
|
+
} else if (t.dialCodePlus.includes(lowerQuery)) {
|
|
2312
2337
|
dialCodeContains.push(c);
|
|
2313
|
-
} else if (t.initials.includes(
|
|
2338
|
+
} else if (t.initials.includes(lowerQuery)) {
|
|
2314
2339
|
initialsMatches.push(c);
|
|
2315
2340
|
}
|
|
2316
2341
|
}
|
|
2342
|
+
const queryWords = nameQuery.split(" ").filter(Boolean);
|
|
2343
|
+
if (queryWords.length > 1 && iso2Matches.length === 0 && nameStartsWith.length === 0 && nameContains.length === 0) {
|
|
2344
|
+
const claimed = /* @__PURE__ */ new Set([
|
|
2345
|
+
...dialCodeMatches.map((c) => c.iso2),
|
|
2346
|
+
...dialCodeContains.map((c) => c.iso2),
|
|
2347
|
+
...initialsMatches.map((c) => c.iso2)
|
|
2348
|
+
]);
|
|
2349
|
+
for (const c of countries) {
|
|
2350
|
+
if (claimed.has(c.iso2)) {
|
|
2351
|
+
continue;
|
|
2352
|
+
}
|
|
2353
|
+
const t = searchTokens.get(c.iso2);
|
|
2354
|
+
if (queryWords.some((qw) => t.words.some((sw) => sw.startsWith(qw)))) {
|
|
2355
|
+
wordMatches.push(c);
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
}
|
|
2317
2359
|
const sortByPriority = (a, b) => a.priority - b.priority;
|
|
2318
2360
|
return [
|
|
2319
2361
|
...iso2Matches,
|
|
@@ -2322,14 +2364,15 @@ var getMatchedCountries = (countries, searchTokens, query) => {
|
|
|
2322
2364
|
// priority sort is only relevant when showing multiple countries with the same dial code (that's what the priority field is used to distinguish between)
|
|
2323
2365
|
...dialCodeMatches.sort(sortByPriority),
|
|
2324
2366
|
...dialCodeContains.sort(sortByPriority),
|
|
2325
|
-
...initialsMatches
|
|
2367
|
+
...initialsMatches,
|
|
2368
|
+
...wordMatches
|
|
2326
2369
|
];
|
|
2327
2370
|
};
|
|
2328
2371
|
var findFirstCountryStartingWith = (countries, searchTokens, query) => {
|
|
2329
|
-
const
|
|
2372
|
+
const nameQuery = normaliseName(query);
|
|
2330
2373
|
for (const c of countries) {
|
|
2331
2374
|
const { normalisedName } = searchTokens.get(c.iso2);
|
|
2332
|
-
if (normalisedName.startsWith(
|
|
2375
|
+
if (normalisedName.startsWith(nameQuery)) {
|
|
2333
2376
|
return c;
|
|
2334
2377
|
}
|
|
2335
2378
|
}
|
|
@@ -2627,7 +2670,7 @@ var UI = class _UI {
|
|
|
2627
2670
|
},
|
|
2628
2671
|
searchWrapper
|
|
2629
2672
|
);
|
|
2630
|
-
this.#searchIconEl.
|
|
2673
|
+
this.#searchIconEl.appendChild(buildSearchIcon());
|
|
2631
2674
|
this.#searchInputEl = createEl(
|
|
2632
2675
|
"input",
|
|
2633
2676
|
{
|
|
@@ -2656,7 +2699,7 @@ var UI = class _UI {
|
|
|
2656
2699
|
},
|
|
2657
2700
|
searchWrapper
|
|
2658
2701
|
);
|
|
2659
|
-
this.#searchClearButtonEl.
|
|
2702
|
+
this.#searchClearButtonEl.appendChild(buildClearIcon(this.#id));
|
|
2660
2703
|
this.#searchResultsLiveRegionEl = createEl(
|
|
2661
2704
|
"span",
|
|
2662
2705
|
{ class: "iti__a11y-text" },
|
|
@@ -3156,7 +3199,7 @@ var UI = class _UI {
|
|
|
3156
3199
|
{ class: "iti__country-check", [ARIA.HIDDEN]: "true" },
|
|
3157
3200
|
newListItem
|
|
3158
3201
|
);
|
|
3159
|
-
checkIcon.
|
|
3202
|
+
checkIcon.appendChild(buildCheckIcon());
|
|
3160
3203
|
this.#selectedListItemEl = newListItem;
|
|
3161
3204
|
if (this.#options.dropdownAlwaysOpen) {
|
|
3162
3205
|
this.#highlightListItem(newListItem);
|
|
@@ -3301,20 +3344,27 @@ var UI = class _UI {
|
|
|
3301
3344
|
}
|
|
3302
3345
|
if (this.#selectedCountryEl) {
|
|
3303
3346
|
const flagClass = iso2 && showFlags ? `${CLASSES.FLAG} iti__${iso2}` : `${CLASSES.FLAG} ${CLASSES.GLOBE}`;
|
|
3304
|
-
let ariaLabel, title
|
|
3347
|
+
let ariaLabel, title;
|
|
3348
|
+
let flagContent = null;
|
|
3305
3349
|
if (iso2) {
|
|
3306
3350
|
title = name;
|
|
3307
3351
|
ariaLabel = i18n.selectedCountryAriaLabel.replace("${countryName}", name).replace("${dialCode}", `+${dialCode}`);
|
|
3308
|
-
|
|
3352
|
+
if (!showFlags) {
|
|
3353
|
+
flagContent = buildGlobeIcon();
|
|
3354
|
+
}
|
|
3309
3355
|
} else {
|
|
3310
3356
|
title = i18n.noCountrySelected;
|
|
3311
3357
|
ariaLabel = i18n.noCountrySelected;
|
|
3312
|
-
|
|
3358
|
+
flagContent = buildGlobeIcon();
|
|
3313
3359
|
}
|
|
3314
3360
|
this.#selectedFlagEl.className = flagClass;
|
|
3315
3361
|
this.#selectedCountryEl.setAttribute("title", title);
|
|
3316
3362
|
this.#selectedCountryEl.setAttribute(ARIA.LABEL, ariaLabel);
|
|
3317
|
-
|
|
3363
|
+
if (flagContent) {
|
|
3364
|
+
this.#selectedFlagEl.replaceChildren(flagContent);
|
|
3365
|
+
} else {
|
|
3366
|
+
this.#selectedFlagEl.replaceChildren();
|
|
3367
|
+
}
|
|
3318
3368
|
}
|
|
3319
3369
|
if (separateDialCode) {
|
|
3320
3370
|
const fullDialCode = dialCode ? `+${dialCode}` : "";
|
|
@@ -4633,7 +4683,7 @@ var intlTelInput = Object.assign(
|
|
|
4633
4683
|
attachUtils,
|
|
4634
4684
|
startedLoadingUtils: false,
|
|
4635
4685
|
startedLoadingAutoCountry: false,
|
|
4636
|
-
version: "28.0.
|
|
4686
|
+
version: "28.0.5",
|
|
4637
4687
|
NUMBER_FORMAT,
|
|
4638
4688
|
NUMBER_TYPE,
|
|
4639
4689
|
VALIDATION_ERROR
|
|
@@ -2250,40 +2250,62 @@ var createEl = (tagName, attrs, container) => {
|
|
|
2250
2250
|
};
|
|
2251
2251
|
|
|
2252
2252
|
// packages/core/src/js/core/icons.ts
|
|
2253
|
-
var
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2253
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
2254
|
+
var buildSvg = ([tag, attrs, children]) => {
|
|
2255
|
+
const el = document.createElementNS(SVG_NS, tag);
|
|
2256
|
+
if (attrs) {
|
|
2257
|
+
for (const k in attrs) {
|
|
2258
|
+
el.setAttribute(k, String(attrs[k]));
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
if (children) {
|
|
2262
|
+
for (const c of children) {
|
|
2263
|
+
el.appendChild(buildSvg(c));
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
return el;
|
|
2267
|
+
};
|
|
2268
|
+
var buildSearchIcon = () => buildSvg(
|
|
2269
|
+
["svg", { class: "iti__search-icon-svg", width: 14, height: 14, viewBox: "0 0 24 24", focusable: "false", [ARIA.HIDDEN]: "true" }, [
|
|
2270
|
+
["circle", { cx: 11, cy: 11, r: 7 }],
|
|
2271
|
+
["line", { x1: 21, y1: 21, x2: 16.65, y2: 16.65 }]
|
|
2272
|
+
]]
|
|
2273
|
+
);
|
|
2258
2274
|
var buildClearIcon = (id) => {
|
|
2259
2275
|
const maskId = `iti-${id}-clear-mask`;
|
|
2260
|
-
return
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2276
|
+
return buildSvg(
|
|
2277
|
+
["svg", { class: "iti__search-clear-svg", width: 12, height: 12, viewBox: "0 0 16 16", [ARIA.HIDDEN]: "true", focusable: "false" }, [
|
|
2278
|
+
["mask", { id: maskId, maskUnits: "userSpaceOnUse" }, [
|
|
2279
|
+
["rect", { width: 16, height: 16, fill: "white" }],
|
|
2280
|
+
["path", { d: "M5.2 5.2 L10.8 10.8 M10.8 5.2 L5.2 10.8", stroke: "black", "stroke-linecap": "round", class: "iti__search-clear-x" }]
|
|
2281
|
+
]],
|
|
2282
|
+
["circle", { cx: 8, cy: 8, r: 8, class: "iti__search-clear-bg", mask: `url(#${maskId})` }]
|
|
2283
|
+
]]
|
|
2284
|
+
);
|
|
2268
2285
|
};
|
|
2269
|
-
var buildCheckIcon = () =>
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2286
|
+
var buildCheckIcon = () => buildSvg(
|
|
2287
|
+
["svg", { class: "iti__country-check-svg", width: 14, height: 14, viewBox: "0 0 16 16", fill: "currentColor", focusable: "false", [ARIA.HIDDEN]: "true" }, [
|
|
2288
|
+
["path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" }]
|
|
2289
|
+
]]
|
|
2290
|
+
);
|
|
2291
|
+
var buildGlobeIcon = () => buildSvg(
|
|
2292
|
+
["svg", { width: 256, height: 256, viewBox: "0 0 512 512", class: "iti__globe-svg" }, [
|
|
2293
|
+
["path", { d: "M508 213a240 240 0 0 0-449-87l-2 5-2 5c-8 14-13 30-17 46a65 65 0 0 1 56 4c16-10 35-19 56-27l9-3c-6 23-10 48-10 74h-16l4 6c3 4 5 8 6 13h6c0 22 3 44 8 65l2 10-25-10-4 5 12 18 9 3 6 2 8 3 9 26 1 2 16-7h1l-5-13-1-2c24 6 49 9 75 10v26l11 10 7 7v-30l1-13c22 0 44-3 65-8l10-2-21 48-1 1a317 317 0 0 1-14 23l-21 5h-2c6 16 7 33 1 50a240 240 0 0 0 211-265m-401-56-11 6c19-44 54-79 98-98-11 20-21 44-29 69-21 6-40 15-58 23m154 182v4c-29-1-57-6-81-13-7-25-12-52-13-81h94zm0-109h-94c1-29 6-56 13-81 24-7 52-12 81-13zm0-112c-22 1-44 4-65 8l-10 2 12-30 9-17 1-2a332 332 0 0 1 13-23c13-4 26-6 40-7zm187 69 6 4c4 12 6 25 6 38v1h-68c-1-26-4-51-10-74l48 20 1 1 14 8zm-14-44 10 20c-20-11-43-21-68-29-8-25-18-49-29-69 37 16 67 44 87 78M279 49h1c13 1 27 3 39 7l14 23 1 2a343 343 0 0 1 12 26l2 5 6 16c-23-6-48-9-74-10h-1zm0 87h1c29 1 56 6 81 13 7 24 12 51 12 80v1h-94zm2 207h-2v-94h95c-1 29-6 56-13 81-24 7-51 12-80 13m86 60-20 10c11-20 21-43 29-68 25-8 48-18 68-29-16 37-43 67-77 87m87-115-7 5-16 9-2 1a337 337 0 0 1-47 21c6-24 9-49 10-75h68c0 13-2 27-6 39" }],
|
|
2294
|
+
["path", { d: "m261 428-2-2-22-21a40 40 0 0 0-32-11h-1a37 37 0 0 0-18 8l-1 1-4 2-2 2-5 4c-9-3-36-31-47-44s-32-45-34-55l3-2a151 151 0 0 0 11-9v-1a39 39 0 0 0 5-48l-3-3-11-19-3-4-5-7h-1l-3-3-4-3-5-2a35 35 0 0 0-16-3h-5c-4 1-14 5-24 11l-4 2-4 3-4 2c-9 8-17 17-18 27a380 380 0 0 0 212 259h3c12 0 25-10 36-21l10-12 6-11a39 39 0 0 0-8-40" }]
|
|
2295
|
+
]]
|
|
2296
|
+
);
|
|
2278
2297
|
|
|
2279
2298
|
// packages/core/src/js/core/countrySearch.ts
|
|
2299
|
+
var normaliseName = (s) => normaliseString(s).replace(/[^\p{L}]+/gu, " ").trim();
|
|
2280
2300
|
var buildSearchTokens = (countries) => {
|
|
2281
2301
|
const tokens = /* @__PURE__ */ new Map();
|
|
2282
2302
|
for (const c of countries) {
|
|
2283
|
-
const normalisedName =
|
|
2284
|
-
const
|
|
2303
|
+
const normalisedName = normaliseName(c.name);
|
|
2304
|
+
const words = normalisedName.split(" ").filter(Boolean);
|
|
2305
|
+
const initials = words.map((w) => w[0] || "").join("");
|
|
2285
2306
|
tokens.set(c.iso2, {
|
|
2286
2307
|
normalisedName,
|
|
2308
|
+
words,
|
|
2287
2309
|
initials,
|
|
2288
2310
|
dialCodePlus: `+${c.dialCode}`
|
|
2289
2311
|
});
|
|
@@ -2291,29 +2313,49 @@ var buildSearchTokens = (countries) => {
|
|
|
2291
2313
|
return tokens;
|
|
2292
2314
|
};
|
|
2293
2315
|
var getMatchedCountries = (countries, searchTokens, query) => {
|
|
2294
|
-
const
|
|
2316
|
+
const lowerQuery = normaliseString(query);
|
|
2317
|
+
const nameQuery = normaliseName(query);
|
|
2318
|
+
const skipNameBuckets = lowerQuery !== "" && nameQuery === "";
|
|
2295
2319
|
const iso2Matches = [];
|
|
2296
2320
|
const nameStartsWith = [];
|
|
2297
2321
|
const nameContains = [];
|
|
2298
2322
|
const dialCodeMatches = [];
|
|
2299
2323
|
const dialCodeContains = [];
|
|
2300
2324
|
const initialsMatches = [];
|
|
2325
|
+
const wordMatches = [];
|
|
2301
2326
|
for (const c of countries) {
|
|
2302
2327
|
const t = searchTokens.get(c.iso2);
|
|
2303
|
-
if (c.iso2 ===
|
|
2328
|
+
if (c.iso2 === lowerQuery) {
|
|
2304
2329
|
iso2Matches.push(c);
|
|
2305
|
-
} else if (t.normalisedName.startsWith(
|
|
2330
|
+
} else if (!skipNameBuckets && t.normalisedName.startsWith(nameQuery)) {
|
|
2306
2331
|
nameStartsWith.push(c);
|
|
2307
|
-
} else if (t.normalisedName.includes(
|
|
2332
|
+
} else if (!skipNameBuckets && t.normalisedName.includes(nameQuery)) {
|
|
2308
2333
|
nameContains.push(c);
|
|
2309
|
-
} else if (
|
|
2334
|
+
} else if (lowerQuery === c.dialCode || lowerQuery === t.dialCodePlus) {
|
|
2310
2335
|
dialCodeMatches.push(c);
|
|
2311
|
-
} else if (t.dialCodePlus.includes(
|
|
2336
|
+
} else if (t.dialCodePlus.includes(lowerQuery)) {
|
|
2312
2337
|
dialCodeContains.push(c);
|
|
2313
|
-
} else if (t.initials.includes(
|
|
2338
|
+
} else if (t.initials.includes(lowerQuery)) {
|
|
2314
2339
|
initialsMatches.push(c);
|
|
2315
2340
|
}
|
|
2316
2341
|
}
|
|
2342
|
+
const queryWords = nameQuery.split(" ").filter(Boolean);
|
|
2343
|
+
if (queryWords.length > 1 && iso2Matches.length === 0 && nameStartsWith.length === 0 && nameContains.length === 0) {
|
|
2344
|
+
const claimed = /* @__PURE__ */ new Set([
|
|
2345
|
+
...dialCodeMatches.map((c) => c.iso2),
|
|
2346
|
+
...dialCodeContains.map((c) => c.iso2),
|
|
2347
|
+
...initialsMatches.map((c) => c.iso2)
|
|
2348
|
+
]);
|
|
2349
|
+
for (const c of countries) {
|
|
2350
|
+
if (claimed.has(c.iso2)) {
|
|
2351
|
+
continue;
|
|
2352
|
+
}
|
|
2353
|
+
const t = searchTokens.get(c.iso2);
|
|
2354
|
+
if (queryWords.some((qw) => t.words.some((sw) => sw.startsWith(qw)))) {
|
|
2355
|
+
wordMatches.push(c);
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
}
|
|
2317
2359
|
const sortByPriority = (a, b) => a.priority - b.priority;
|
|
2318
2360
|
return [
|
|
2319
2361
|
...iso2Matches,
|
|
@@ -2322,14 +2364,15 @@ var getMatchedCountries = (countries, searchTokens, query) => {
|
|
|
2322
2364
|
// priority sort is only relevant when showing multiple countries with the same dial code (that's what the priority field is used to distinguish between)
|
|
2323
2365
|
...dialCodeMatches.sort(sortByPriority),
|
|
2324
2366
|
...dialCodeContains.sort(sortByPriority),
|
|
2325
|
-
...initialsMatches
|
|
2367
|
+
...initialsMatches,
|
|
2368
|
+
...wordMatches
|
|
2326
2369
|
];
|
|
2327
2370
|
};
|
|
2328
2371
|
var findFirstCountryStartingWith = (countries, searchTokens, query) => {
|
|
2329
|
-
const
|
|
2372
|
+
const nameQuery = normaliseName(query);
|
|
2330
2373
|
for (const c of countries) {
|
|
2331
2374
|
const { normalisedName } = searchTokens.get(c.iso2);
|
|
2332
|
-
if (normalisedName.startsWith(
|
|
2375
|
+
if (normalisedName.startsWith(nameQuery)) {
|
|
2333
2376
|
return c;
|
|
2334
2377
|
}
|
|
2335
2378
|
}
|
|
@@ -2627,7 +2670,7 @@ var UI = class _UI {
|
|
|
2627
2670
|
},
|
|
2628
2671
|
searchWrapper
|
|
2629
2672
|
);
|
|
2630
|
-
this.#searchIconEl.
|
|
2673
|
+
this.#searchIconEl.appendChild(buildSearchIcon());
|
|
2631
2674
|
this.#searchInputEl = createEl(
|
|
2632
2675
|
"input",
|
|
2633
2676
|
{
|
|
@@ -2656,7 +2699,7 @@ var UI = class _UI {
|
|
|
2656
2699
|
},
|
|
2657
2700
|
searchWrapper
|
|
2658
2701
|
);
|
|
2659
|
-
this.#searchClearButtonEl.
|
|
2702
|
+
this.#searchClearButtonEl.appendChild(buildClearIcon(this.#id));
|
|
2660
2703
|
this.#searchResultsLiveRegionEl = createEl(
|
|
2661
2704
|
"span",
|
|
2662
2705
|
{ class: "iti__a11y-text" },
|
|
@@ -3156,7 +3199,7 @@ var UI = class _UI {
|
|
|
3156
3199
|
{ class: "iti__country-check", [ARIA.HIDDEN]: "true" },
|
|
3157
3200
|
newListItem
|
|
3158
3201
|
);
|
|
3159
|
-
checkIcon.
|
|
3202
|
+
checkIcon.appendChild(buildCheckIcon());
|
|
3160
3203
|
this.#selectedListItemEl = newListItem;
|
|
3161
3204
|
if (this.#options.dropdownAlwaysOpen) {
|
|
3162
3205
|
this.#highlightListItem(newListItem);
|
|
@@ -3301,20 +3344,27 @@ var UI = class _UI {
|
|
|
3301
3344
|
}
|
|
3302
3345
|
if (this.#selectedCountryEl) {
|
|
3303
3346
|
const flagClass = iso2 && showFlags ? `${CLASSES.FLAG} iti__${iso2}` : `${CLASSES.FLAG} ${CLASSES.GLOBE}`;
|
|
3304
|
-
let ariaLabel, title
|
|
3347
|
+
let ariaLabel, title;
|
|
3348
|
+
let flagContent = null;
|
|
3305
3349
|
if (iso2) {
|
|
3306
3350
|
title = name;
|
|
3307
3351
|
ariaLabel = i18n.selectedCountryAriaLabel.replace("${countryName}", name).replace("${dialCode}", `+${dialCode}`);
|
|
3308
|
-
|
|
3352
|
+
if (!showFlags) {
|
|
3353
|
+
flagContent = buildGlobeIcon();
|
|
3354
|
+
}
|
|
3309
3355
|
} else {
|
|
3310
3356
|
title = i18n.noCountrySelected;
|
|
3311
3357
|
ariaLabel = i18n.noCountrySelected;
|
|
3312
|
-
|
|
3358
|
+
flagContent = buildGlobeIcon();
|
|
3313
3359
|
}
|
|
3314
3360
|
this.#selectedFlagEl.className = flagClass;
|
|
3315
3361
|
this.#selectedCountryEl.setAttribute("title", title);
|
|
3316
3362
|
this.#selectedCountryEl.setAttribute(ARIA.LABEL, ariaLabel);
|
|
3317
|
-
|
|
3363
|
+
if (flagContent) {
|
|
3364
|
+
this.#selectedFlagEl.replaceChildren(flagContent);
|
|
3365
|
+
} else {
|
|
3366
|
+
this.#selectedFlagEl.replaceChildren();
|
|
3367
|
+
}
|
|
3318
3368
|
}
|
|
3319
3369
|
if (separateDialCode) {
|
|
3320
3370
|
const fullDialCode = dialCode ? `+${dialCode}` : "";
|
|
@@ -4633,7 +4683,7 @@ var intlTelInput = Object.assign(
|
|
|
4633
4683
|
attachUtils,
|
|
4634
4684
|
startedLoadingUtils: false,
|
|
4635
4685
|
startedLoadingAutoCountry: false,
|
|
4636
|
-
version: "28.0.
|
|
4686
|
+
version: "28.0.5",
|
|
4637
4687
|
NUMBER_FORMAT,
|
|
4638
4688
|
NUMBER_TYPE,
|
|
4639
4689
|
VALIDATION_ERROR
|
|
@@ -6125,59 +6175,37 @@ var _scope = {};
|
|
|
6125
6175
|
["0"]
|
|
6126
6176
|
]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
6127
6177
|
CK: [, [, , "[2-578]\\d{4}", , , , , , , [5]], [, , "(?:2\\d|3[13-7]|4[1-5])\\d{3}", , , , "21234"], [, , "[578]\\d{4}", , , , "71234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CK", 682, "00", , , , , , , , [[, "(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
6128
|
-
CL: [
|
|
6129
|
-
,
|
|
6130
|
-
[, , "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", , , , , , , [9, 10, 11]],
|
|
6131
|
-
[
|
|
6132
|
-
,
|
|
6133
|
-
,
|
|
6134
|
-
"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",
|
|
6135
|
-
,
|
|
6136
|
-
,
|
|
6137
|
-
,
|
|
6138
|
-
"600123456",
|
|
6139
|
-
,
|
|
6140
|
-
,
|
|
6141
|
-
[9]
|
|
6142
|
-
],
|
|
6143
|
-
[, , "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}", , , , "221234567", , , [9]],
|
|
6144
|
-
[, , "(?:123|8)00\\d{6}", , , , "800123456", , , [9, 11]],
|
|
6145
|
-
[, , , , , , , , , [-1]],
|
|
6146
|
-
[, , "600\\d{7,8}", , , , "6001234567", , , [10, 11]],
|
|
6147
|
-
[, , , , , , , , , [-1]],
|
|
6148
|
-
[, , "44\\d{7}", , , , "441234567", , , [9]],
|
|
6149
|
-
"CL",
|
|
6150
|
-
56,
|
|
6151
|
-
"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0",
|
|
6152
|
-
,
|
|
6178
|
+
CL: [, [, , "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", , , , , , , [9, 10, 11]], [
|
|
6153
6179
|
,
|
|
6154
6180
|
,
|
|
6181
|
+
"2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:[24]\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",
|
|
6155
6182
|
,
|
|
6156
6183
|
,
|
|
6157
6184
|
,
|
|
6185
|
+
"600123456",
|
|
6158
6186
|
,
|
|
6159
|
-
[[, "(\\d{4})", "$1", ["1(?:[03-589]|21)|[29]0|78"]], [, "(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], [
|
|
6160
|
-
,
|
|
6161
|
-
"(\\d{2})(\\d{3})(\\d{4})",
|
|
6162
|
-
"$1 $2 $3",
|
|
6163
|
-
["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],
|
|
6164
|
-
"($1)"
|
|
6165
|
-
], [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], [, "(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]],
|
|
6166
|
-
[[, "(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], [
|
|
6167
|
-
,
|
|
6168
|
-
"(\\d)(\\d{4})(\\d{4})",
|
|
6169
|
-
"$1 $2 $3",
|
|
6170
|
-
["9(?:10|[2-9])"]
|
|
6171
|
-
], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], [, "(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]],
|
|
6172
|
-
[, , , , , , , , , [-1]],
|
|
6173
|
-
,
|
|
6174
|
-
,
|
|
6175
|
-
[, , "600\\d{7,8}", , , , , , , [10, 11]],
|
|
6176
|
-
[, , , , , , , , , [-1]],
|
|
6177
6187
|
,
|
|
6188
|
+
[9]
|
|
6189
|
+
], [, , "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:[24]\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}", , , , "221234567", , , [9]], [, , "(?:123|8)00\\d{6}", , , , "800123456", , , [
|
|
6190
|
+
9,
|
|
6191
|
+
11
|
|
6192
|
+
]], [, , , , , , , , , [-1]], [, , "600\\d{7,8}", , , , "6001234567", , , [10, 11]], [, , , , , , , , , [-1]], [, , "44\\d{7}", , , , "441234567", , , [9]], "CL", 56, "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", , , , , , , , [
|
|
6193
|
+
[, "(\\d{4})", "$1", ["1(?:[03-589]|21)|[29]0|78"]],
|
|
6194
|
+
[, "(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"],
|
|
6195
|
+
[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]],
|
|
6196
|
+
[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]],
|
|
6197
|
+
[, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"],
|
|
6198
|
+
[, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]],
|
|
6199
|
+
[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"],
|
|
6200
|
+
[, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]],
|
|
6201
|
+
[, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]],
|
|
6202
|
+
[, "(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]
|
|
6203
|
+
], [[, "(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], [
|
|
6178
6204
|
,
|
|
6179
|
-
|
|
6180
|
-
|
|
6205
|
+
"(\\d)(\\d{4})(\\d{4})",
|
|
6206
|
+
"$1 $2 $3",
|
|
6207
|
+
["9(?:10|[2-9])"]
|
|
6208
|
+
], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], [, "(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]], [, , , , , , , , , [-1]], , , [, , "600\\d{7,8}", , , , , , , [10, 11]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
6181
6209
|
CM: [, [, , "[26]\\d{8}|88\\d{6,7}", , , , , , , [8, 9]], [, , "2(?:22|33)\\d{6}", , , , "222123456", , , [9]], [
|
|
6182
6210
|
,
|
|
6183
6211
|
,
|
|
@@ -6399,12 +6427,12 @@ var _scope = {};
|
|
|
6399
6427
|
,
|
|
6400
6428
|
,
|
|
6401
6429
|
[9]
|
|
6402
|
-
], [, , "
|
|
6430
|
+
], [, , "7060\\d{5}|(?:60[1-8]|7(?:0[2-5]|19|[2379]\\d))\\d{6}", , , , "601123456", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "9(?:0[05689]|76)\\d{6}", , , , "900123456", , , [9]], [, , "8[134]\\d{7}", , , , "811234567", , , [9]], [, , "70[01]\\d{6}", , , , "700123456", , , [9]], [, , "9[17]0\\d{6}", , , , "910123456", , , [9]], "CZ", 420, "00", , , , , , , , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], [, "(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], [, "(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], [
|
|
6403
6431
|
,
|
|
6404
|
-
"(\\d{
|
|
6432
|
+
"(\\d{3})(\\d{3})(\\d{3})(\\d{3})",
|
|
6405
6433
|
"$1 $2 $3 $4",
|
|
6406
6434
|
["9"]
|
|
6407
|
-
]
|
|
6435
|
+
]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "9(?:5\\d|7[2-4])\\d{6}", , , , "972123456", , , [9]], , , [, , "9(?:3\\d{9}|6\\d{7,10})", , , , "93123456789"]],
|
|
6408
6436
|
DE: [, [, , "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", , , , , , , [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [2, 3]], [
|
|
6409
6437
|
,
|
|
6410
6438
|
,
|
|
@@ -6417,14 +6445,8 @@ var _scope = {};
|
|
|
6417
6445
|
,
|
|
6418
6446
|
[5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
6419
6447
|
[2, 3, 4]
|
|
6420
|
-
], [, , "1(?:(?:
|
|
6421
|
-
[
|
|
6422
|
-
,
|
|
6423
|
-
"(\\d{2})(\\d{3,13})",
|
|
6424
|
-
"$1 $2",
|
|
6425
|
-
["3[02]|40|[68]9"],
|
|
6426
|
-
"0$1"
|
|
6427
|
-
],
|
|
6448
|
+
], [, , "1(?:6[023]|7\\d)\\d{7,8}|15(?:[0-25-9]\\d\\d|3(?:10|33))\\d{6}", , , , "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", , , , [
|
|
6449
|
+
[, "(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"],
|
|
6428
6450
|
[, "(\\d{6})", "$1", ["227", "2277"]],
|
|
6429
6451
|
[, "(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"],
|
|
6430
6452
|
[
|
|
@@ -7415,14 +7437,15 @@ var _scope = {};
|
|
|
7415
7437
|
], [
|
|
7416
7438
|
,
|
|
7417
7439
|
,
|
|
7418
|
-
"(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:12|[2-
|
|
7440
|
+
"(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:(?:12|[2-4]1|5[17]|6[13]|80)[0189]|7(?:1[0189]|86))|7(?:1(?:2[0189]|9[0-5])|3(?:2[5-8]|[34][017-9]|9[016-9])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:731|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|4[0189]|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-5])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:[024]\\d|3[05-8]|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}",
|
|
7419
7441
|
,
|
|
7420
7442
|
,
|
|
7421
7443
|
,
|
|
7422
7444
|
"8123456789",
|
|
7423
7445
|
,
|
|
7424
7446
|
,
|
|
7425
|
-
[10]
|
|
7447
|
+
[10],
|
|
7448
|
+
[6]
|
|
7426
7449
|
], [, , "000800\\d{7}|180(?:0\\d{4,9}|3\\d{9})", , , , "1800123456"], [, , "186[12]\\d{9}", , , , "1861123456789", , , [13]], [, , "1860\\d{7}", , , , "18603451234", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "IN", 91, "00", "0", , , "0", , , , [[, "(\\d{7})", "$1", ["575"]], [, "(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], , , 1], [, "(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], , , 1], [
|
|
7427
7450
|
,
|
|
7428
7451
|
"(\\d{3})(\\d{3})(\\d{4})",
|
|
@@ -7436,44 +7459,52 @@ var _scope = {};
|
|
|
7436
7459
|
"(\\d{3})(\\d{3})(\\d{4})",
|
|
7437
7460
|
"$1 $2 $3",
|
|
7438
7461
|
[
|
|
7439
|
-
"1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|
|
|
7440
|
-
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:
|
|
7441
|
-
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:
|
|
7462
|
+
"1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]",
|
|
7463
|
+
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]",
|
|
7464
|
+
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"
|
|
7442
7465
|
],
|
|
7443
7466
|
"0$1",
|
|
7444
7467
|
,
|
|
7445
7468
|
1
|
|
7446
|
-
], [
|
|
7447
|
-
"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807",
|
|
7448
|
-
"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]",
|
|
7449
|
-
"1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"
|
|
7450
|
-
], "0$1", , 1], [, "(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", [
|
|
7451
|
-
"18[06]",
|
|
7452
|
-
"18[06]0"
|
|
7453
|
-
], , , 1], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]], [, "(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], , , 1]], [[, "(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], , , 1], [, "(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], , , 1], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", [
|
|
7454
|
-
"11|2[02]|33|4[04]|79[1-7]|80[2-46]",
|
|
7455
|
-
"11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])",
|
|
7456
|
-
"11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"
|
|
7457
|
-
], "0$1", , 1], [
|
|
7469
|
+
], [
|
|
7458
7470
|
,
|
|
7459
|
-
"(\\d{
|
|
7471
|
+
"(\\d{4})(\\d{3})(\\d{3})",
|
|
7460
7472
|
"$1 $2 $3",
|
|
7461
|
-
[
|
|
7462
|
-
"1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]",
|
|
7463
|
-
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]",
|
|
7464
|
-
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"
|
|
7465
|
-
],
|
|
7473
|
+
["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],
|
|
7466
7474
|
"0$1",
|
|
7467
7475
|
,
|
|
7468
7476
|
1
|
|
7469
|
-
], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", [
|
|
7470
|
-
"
|
|
7471
|
-
"
|
|
7472
|
-
"
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
+
], [, "(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[06]0"], , , 1], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]], [, "(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], , , 1]], [
|
|
7478
|
+
[, "(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], , , 1],
|
|
7479
|
+
[, "(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], , , 1],
|
|
7480
|
+
[, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], , , 1],
|
|
7481
|
+
[, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", , 1],
|
|
7482
|
+
[
|
|
7483
|
+
,
|
|
7484
|
+
"(\\d{3})(\\d{3})(\\d{4})",
|
|
7485
|
+
"$1 $2 $3",
|
|
7486
|
+
[
|
|
7487
|
+
"1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]",
|
|
7488
|
+
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]",
|
|
7489
|
+
"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"
|
|
7490
|
+
],
|
|
7491
|
+
"0$1",
|
|
7492
|
+
,
|
|
7493
|
+
1
|
|
7494
|
+
],
|
|
7495
|
+
[
|
|
7496
|
+
,
|
|
7497
|
+
"(\\d{4})(\\d{3})(\\d{3})",
|
|
7498
|
+
"$1 $2 $3",
|
|
7499
|
+
["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],
|
|
7500
|
+
"0$1",
|
|
7501
|
+
,
|
|
7502
|
+
1
|
|
7503
|
+
],
|
|
7504
|
+
[, "(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", , 1],
|
|
7505
|
+
[, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[06]0"], , , 1],
|
|
7506
|
+
[, "(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], , , 1]
|
|
7507
|
+
], [, , , , , , , , , [-1]], , , [, , "1800\\d{4,9}|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"], [, , "140\\d{7}", , , , "1409305260", , , [10]], , , [, , , , , , , , , [-1]]],
|
|
7477
7508
|
IO: [
|
|
7478
7509
|
,
|
|
7479
7510
|
[, , "3\\d{6}", , , , , , , [7]],
|
|
@@ -7505,37 +7536,13 @@ var _scope = {};
|
|
|
7505
7536
|
,
|
|
7506
7537
|
[, , , , , , , , , [-1]]
|
|
7507
7538
|
],
|
|
7508
|
-
IQ: [
|
|
7539
|
+
IQ: [, [, , "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", , , , , , , [8, 9, 10], [6, 7]], [, , "1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}", , , , "12345678", , , [8, 9], [6, 7]], [, , "7[3-9]\\d{8}", , , , "7912345678", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "IQ", 964, "00", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], [
|
|
7509
7540
|
,
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
[
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
[, , , , , , , , , [-1]],
|
|
7516
|
-
[, , , , , , , , , [-1]],
|
|
7517
|
-
[, , , , , , , , , [-1]],
|
|
7518
|
-
"IQ",
|
|
7519
|
-
964,
|
|
7520
|
-
"00",
|
|
7521
|
-
"0",
|
|
7522
|
-
,
|
|
7523
|
-
,
|
|
7524
|
-
"0",
|
|
7525
|
-
,
|
|
7526
|
-
,
|
|
7527
|
-
,
|
|
7528
|
-
[[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]],
|
|
7529
|
-
,
|
|
7530
|
-
[, , , , , , , , , [-1]],
|
|
7531
|
-
,
|
|
7532
|
-
,
|
|
7533
|
-
[, , , , , , , , , [-1]],
|
|
7534
|
-
[, , , , , , , , , [-1]],
|
|
7535
|
-
,
|
|
7536
|
-
,
|
|
7537
|
-
[, , , , , , , , , [-1]]
|
|
7538
|
-
],
|
|
7541
|
+
"(\\d{2})(\\d{3})(\\d{3,4})",
|
|
7542
|
+
"$1 $2 $3",
|
|
7543
|
+
["[2-6]"],
|
|
7544
|
+
"0$1"
|
|
7545
|
+
], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
7539
7546
|
IR: [, [, , "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", , , , , , , [4, 5, 6, 7, 10], [8]], [, , "(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:[02689]0\\d|121)|4(?:111|40\\d))\\d{4}", , , , "2123456789", , , [6, 7, 10], [4, 5, 8]], [
|
|
7540
7547
|
,
|
|
7541
7548
|
,
|
|
@@ -9229,24 +9236,43 @@ var _scope = {};
|
|
|
9229
9236
|
,
|
|
9230
9237
|
,
|
|
9231
9238
|
[8]
|
|
9232
|
-
], [, , "
|
|
9239
|
+
], [, , "898[02-9]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-79])|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"]], [
|
|
9233
9240
|
,
|
|
9234
9241
|
"(\\d{4})(\\d{4})(\\d{3})",
|
|
9235
9242
|
"$1 $2 $3",
|
|
9236
9243
|
["7"]
|
|
9237
9244
|
], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]], [[, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [, "(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "7000\\d{7}", , , , "70001234567", , , [11]], , , [, , , , , , , , , [-1]]],
|
|
9238
|
-
SH: [
|
|
9245
|
+
SH: [
|
|
9239
9246
|
,
|
|
9247
|
+
[, , "(?:[256]\\d|8)\\d{3}", , , , , , , [4, 5]],
|
|
9248
|
+
[, , "2(?:[0-57-9]\\d|6[4-9])\\d\\d", , , , "22158"],
|
|
9249
|
+
[, , "[56]\\d{4}", , , , "51234", , , [5]],
|
|
9250
|
+
[, , , , , , , , , [-1]],
|
|
9251
|
+
[, , , , , , , , , [-1]],
|
|
9252
|
+
[, , , , , , , , , [-1]],
|
|
9253
|
+
[, , , , , , , , , [-1]],
|
|
9254
|
+
[, , "262\\d\\d", , , , "26212", , , [5]],
|
|
9255
|
+
"SH",
|
|
9256
|
+
290,
|
|
9257
|
+
"00",
|
|
9240
9258
|
,
|
|
9241
|
-
"[56]\\d{4}",
|
|
9242
9259
|
,
|
|
9243
9260
|
,
|
|
9244
9261
|
,
|
|
9245
|
-
"51234",
|
|
9246
9262
|
,
|
|
9247
9263
|
,
|
|
9248
|
-
|
|
9249
|
-
|
|
9264
|
+
,
|
|
9265
|
+
,
|
|
9266
|
+
,
|
|
9267
|
+
[, , , , , , , , , [-1]],
|
|
9268
|
+
1,
|
|
9269
|
+
"[256]",
|
|
9270
|
+
[, , , , , , , , , [-1]],
|
|
9271
|
+
[, , , , , , , , , [-1]],
|
|
9272
|
+
,
|
|
9273
|
+
,
|
|
9274
|
+
[, , , , , , , , , [-1]]
|
|
9275
|
+
],
|
|
9250
9276
|
SI: [
|
|
9251
9277
|
,
|
|
9252
9278
|
[, , "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", , , , , , , [5, 6, 7, 8]],
|
|
@@ -9278,139 +9304,142 @@ var _scope = {};
|
|
|
9278
9304
|
,
|
|
9279
9305
|
[, , , , , , , , , [-1]]
|
|
9280
9306
|
],
|
|
9281
|
-
SJ: [, [
|
|
9307
|
+
SJ: [, [
|
|
9282
9308
|
,
|
|
9283
9309
|
,
|
|
9284
|
-
"
|
|
9310
|
+
"0\\d{4}|(?:[489]\\d|79)\\d{6}",
|
|
9285
9311
|
,
|
|
9286
9312
|
,
|
|
9287
9313
|
,
|
|
9288
|
-
"81212345",
|
|
9289
9314
|
,
|
|
9290
9315
|
,
|
|
9291
|
-
[8]
|
|
9292
|
-
]],
|
|
9293
|
-
SK: [
|
|
9294
9316
|
,
|
|
9295
|
-
[,
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
[, , "800\\d{6}", , , , "800123456", , , [9]],
|
|
9299
|
-
[, , "9(?:00|[78]\\d)\\d{6}", , , , "900123456", , , [9]],
|
|
9300
|
-
[, , "8[5-9]\\d{7}", , , , "850123456", , , [9]],
|
|
9301
|
-
[, , , , , , , , , [-1]],
|
|
9302
|
-
[, , "6(?:02|5[0-4]|9[0-6])\\d{6}", , , , "690123456", , , [9]],
|
|
9303
|
-
"SK",
|
|
9304
|
-
421,
|
|
9305
|
-
"00",
|
|
9306
|
-
"0",
|
|
9317
|
+
[5, 8]
|
|
9318
|
+
], [, , "79\\d{6}", , , , "79123456", , , [8]], [, , "(?:4[015-8]|9\\d)\\d{6}", , , , "41234567", , , [8]], [, , "80[01]\\d{5}", , , , "80012345", , , [8]], [, , "82[09]\\d{5}", , , , "82012345", , , [8]], [, , "810(?:0[0-6]|[2-8]\\d)\\d{3}", , , , "81021234", , , [8]], [, , "880\\d{5}", , , , "88012345", , , [8]], [, , "85[0-5]\\d{5}", , , , "85012345", , , [8]], "SJ", 47, "00", , , , , , , , , , [, , , , , , , , , [-1]], , "79", [, , , , , , , , , [-1]], [, , "(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}", , , , "02000"], , , [, , "81[23]\\d{5}", , , , "81212345", , , [8]]],
|
|
9319
|
+
SK: [, [
|
|
9307
9320
|
,
|
|
9308
9321
|
,
|
|
9309
|
-
"
|
|
9322
|
+
"[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",
|
|
9310
9323
|
,
|
|
9311
9324
|
,
|
|
9312
9325
|
,
|
|
9313
|
-
[[, "(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], [, "(\\d{4})(\\d{3})", "$1 $2", ["909", "9090"], "0$1"], [, "(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[3-5]"], "0$1"]],
|
|
9314
|
-
[[, "(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", [
|
|
9315
|
-
"[3-5][1-8]1",
|
|
9316
|
-
"[3-5][1-8]1[67]"
|
|
9317
|
-
], "0$1"], [, "(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[3-5]"], "0$1"]],
|
|
9318
|
-
[, , "9090\\d{3}", , , , "9090123", , , [7]],
|
|
9319
9326
|
,
|
|
9320
9327
|
,
|
|
9321
|
-
[, , "9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}", , , , , , , [7, 9]],
|
|
9322
|
-
[, , "96\\d{7}", , , , "961234567", , , [9]],
|
|
9323
9328
|
,
|
|
9329
|
+
[6, 7, 9]
|
|
9330
|
+
], [, , "(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d", , , , "221234567"], [, , "909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}", , , , "912123456", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "9(?:00|[78]\\d)\\d{6}", , , , "900123456", , , [9]], [, , "8[5-9]\\d{7}", , , , "850123456", , , [9]], [, , , , , , , , , [-1]], [, , "6(?:02|5[0-4]|9[0-6])\\d{6}", , , , "690123456", , , [9]], "SK", 421, "00", "0", , , "0", , , , [[
|
|
9324
9331
|
,
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9332
|
+
"(\\d)(\\d{2})(\\d{3,4})",
|
|
9333
|
+
"$1 $2 $3",
|
|
9334
|
+
["21"],
|
|
9335
|
+
"0$1"
|
|
9336
|
+
], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], [, "(\\d{4})(\\d{3})", "$1 $2", ["909", "9090"], "0$1"], [, "(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[3-5]"], "0$1"]], [[, "(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], [
|
|
9329
9337
|
,
|
|
9330
|
-
"(
|
|
9338
|
+
"(\\d)(\\d{3})(\\d{3})(\\d{2})",
|
|
9339
|
+
"$1 $2 $3 $4",
|
|
9340
|
+
["2"],
|
|
9341
|
+
"0$1"
|
|
9342
|
+
], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[3-5]"], "0$1"]], [, , "9090\\d{3}", , , , "9090123", , , [7]], , , [, , "9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}", , , , , , , [7, 9]], [, , "96\\d{7}", , , , "961234567", , , [9]], , , [, , , , , , , , , [-1]]],
|
|
9343
|
+
SL: [, [, , "(?:[237-9]\\d|66)\\d{6}", , , , , , , [8], [6]], [, , "22[2-4][2-9]\\d{4}", , , , "22221234", , , , [6]], [, , "(?:25|3[0-5]|66|7\\d|8[08]|9[09])\\d{6}", , , , "25123456"], [, , , , , , , , , [-1]], [
|
|
9331
9344
|
,
|
|
9332
9345
|
,
|
|
9333
9346
|
,
|
|
9334
|
-
"25123456"
|
|
9335
|
-
], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SL", 232, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
9336
|
-
SM: [, [, , "(?:0549|[5-7]\\d)\\d{6}", , , , , , , [8, 10], [6]], [, , "0549(?:8[0157-9]|9\\d)\\d{4}", , , , "0549886377", , , [10], [6]], [, , "6[16]\\d{6}", , , , "66661212", , , [8]], [, , , , , , , , , [-1]], [, , "7[178]\\d{6}", , , , "71123456", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [
|
|
9337
9347
|
,
|
|
9338
9348
|
,
|
|
9339
|
-
"5[158]\\d{6}",
|
|
9340
9349
|
,
|
|
9341
9350
|
,
|
|
9342
9351
|
,
|
|
9343
|
-
"58001110",
|
|
9344
9352
|
,
|
|
9353
|
+
[-1]
|
|
9354
|
+
], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SL", 232, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
9355
|
+
SM: [
|
|
9345
9356
|
,
|
|
9346
|
-
[8]
|
|
9347
|
-
|
|
9348
|
-
|
|
9357
|
+
[, , "(?:0549|[5-7]\\d)\\d{6}", , , , , , , [8, 10], [6]],
|
|
9358
|
+
[, , "0549(?:8[0157-9]|9\\d)\\d{4}", , , , "0549886377", , , [10], [6]],
|
|
9359
|
+
[, , "6[16]\\d{6}", , , , "66661212", , , [8]],
|
|
9360
|
+
[, , , , , , , , , [-1]],
|
|
9361
|
+
[, , "7[178]\\d{6}", , , , "71123456", , , [8]],
|
|
9362
|
+
[, , , , , , , , , [-1]],
|
|
9363
|
+
[, , , , , , , , , [-1]],
|
|
9364
|
+
[, , "5[158]\\d{6}", , , , "58001110", , , [8]],
|
|
9365
|
+
"SM",
|
|
9366
|
+
378,
|
|
9367
|
+
"00",
|
|
9349
9368
|
,
|
|
9350
9369
|
,
|
|
9351
|
-
"7(?:[015-8]\\d|21|90)\\d{6}",
|
|
9352
9370
|
,
|
|
9371
|
+
"([89]\\d{5})$",
|
|
9372
|
+
"0549$1",
|
|
9353
9373
|
,
|
|
9354
9374
|
,
|
|
9355
|
-
"
|
|
9356
|
-
|
|
9357
|
-
|
|
9375
|
+
[[, "(\\d{6})", "$1", ["[89]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], [, "(\\d{4})(\\d{6})", "$1 $2", ["0"]]],
|
|
9376
|
+
[[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], [, "(\\d{4})(\\d{6})", "$1 $2", ["0"]]],
|
|
9377
|
+
[, , , , , , , , , [-1]],
|
|
9358
9378
|
,
|
|
9359
9379
|
,
|
|
9360
|
-
|
|
9380
|
+
[, , , , , , , , , [-1]],
|
|
9381
|
+
[, , , , , , , , , [-1]],
|
|
9361
9382
|
,
|
|
9362
9383
|
,
|
|
9384
|
+
[, , , , , , , , , [-1]]
|
|
9385
|
+
],
|
|
9386
|
+
SN: [
|
|
9387
|
+
,
|
|
9388
|
+
[, , "(?:[378]\\d|93)\\d{7}", , , , , , , [9]],
|
|
9389
|
+
[, , "3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}", , , , "301012345"],
|
|
9390
|
+
[, , "7(?:[015-8]\\d|21|90)\\d{6}", , , , "701234567"],
|
|
9391
|
+
[, , "800\\d{6}", , , , "800123456"],
|
|
9392
|
+
[, , "88[4689]\\d{6}", , , , "884123456"],
|
|
9393
|
+
[, , "81[02468]\\d{6}", , , , "810123456"],
|
|
9394
|
+
[, , , , , , , , , [-1]],
|
|
9395
|
+
[, , "(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}", , , , "933301234"],
|
|
9396
|
+
"SN",
|
|
9397
|
+
221,
|
|
9398
|
+
"00",
|
|
9363
9399
|
,
|
|
9364
|
-
"4012345",
|
|
9365
9400
|
,
|
|
9366
9401
|
,
|
|
9367
|
-
[6, 7]
|
|
9368
|
-
], [, , "(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}", , , , "71123456", , , [7, 8, 9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SO", 252, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], [, "(\\d{6})", "$1", ["[134]"]], [, "(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], [
|
|
9369
9402
|
,
|
|
9370
|
-
"(\\d)(\\d{7})",
|
|
9371
|
-
"$1 $2",
|
|
9372
|
-
["(?:2|90)4|[67]"]
|
|
9373
|
-
], [, "(\\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]]],
|
|
9374
|
-
SR: [, [, , "(?:[2-5]|[6-9]\\d)\\d{5}", , , , , , , [6, 7]], [, , "(?:2[1-3]|3[0-7]|4\\d|5[2-578])\\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]], [
|
|
9375
9403
|
,
|
|
9376
9404
|
,
|
|
9377
|
-
"(?:56|91\\d)\\d{4}",
|
|
9378
9405
|
,
|
|
9406
|
+
[[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]],
|
|
9379
9407
|
,
|
|
9408
|
+
[, , , , , , , , , [-1]],
|
|
9380
9409
|
,
|
|
9381
|
-
"561234"
|
|
9382
|
-
], "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]]],
|
|
9383
|
-
SS: [
|
|
9384
9410
|
,
|
|
9385
|
-
[, , "[19]\\d{8}", , , , , , , [9]],
|
|
9386
|
-
[, , "1[89]\\d{7}", , , , "181234567"],
|
|
9387
|
-
[, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"],
|
|
9388
|
-
[, , , , , , , , , [-1]],
|
|
9389
|
-
[, , , , , , , , , [-1]],
|
|
9390
|
-
[, , , , , , , , , [-1]],
|
|
9391
9411
|
[, , , , , , , , , [-1]],
|
|
9392
9412
|
[, , , , , , , , , [-1]],
|
|
9393
|
-
"SS",
|
|
9394
|
-
211,
|
|
9395
|
-
"00",
|
|
9396
|
-
"0",
|
|
9397
9413
|
,
|
|
9398
9414
|
,
|
|
9399
|
-
|
|
9415
|
+
[, , , , , , , , , [-1]]
|
|
9416
|
+
],
|
|
9417
|
+
SO: [, [, , "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", , , , , , , [6, 7, 8, 9]], [
|
|
9400
9418
|
,
|
|
9401
9419
|
,
|
|
9420
|
+
"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",
|
|
9402
9421
|
,
|
|
9403
|
-
[[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]],
|
|
9404
9422
|
,
|
|
9405
|
-
[, , , , , , , , , [-1]],
|
|
9406
9423
|
,
|
|
9424
|
+
"4012345",
|
|
9407
9425
|
,
|
|
9408
|
-
[, , , , , , , , , [-1]],
|
|
9409
|
-
[, , , , , , , , , [-1]],
|
|
9410
9426
|
,
|
|
9427
|
+
[6, 7]
|
|
9428
|
+
], [, , "(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}", , , , "71123456", , , [7, 8, 9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SO", 252, "00", "0", , , "0", , , , [
|
|
9429
|
+
[, "(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]],
|
|
9430
|
+
[, "(\\d{6})", "$1", ["[134]"]],
|
|
9431
|
+
[, "(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],
|
|
9432
|
+
[, "(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]],
|
|
9433
|
+
[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]],
|
|
9434
|
+
[, "(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]
|
|
9435
|
+
], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
9436
|
+
SR: [, [, , "(?:[2-5]|[6-9]\\d)\\d{5}", , , , , , , [6, 7]], [, , "(?:2[1-3]|3[0-7]|4\\d|5[2-578])\\d{4}", , , , "211234", , , [6]], [, , "(?:6[08]|7[124-7]|8[1-9])\\d{5}", , , , "7412345", , , [7]], [, , "80\\d{5}", , , , "8012345", , , [7]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:56|91\\d)\\d{4}", , , , "561234"], "SR", 597, "00", , , , , , , , [[
|
|
9411
9437
|
,
|
|
9412
|
-
|
|
9413
|
-
|
|
9438
|
+
"(\\d{2})(\\d{2})(\\d{2})",
|
|
9439
|
+
"$1-$2-$3",
|
|
9440
|
+
["56"]
|
|
9441
|
+
], [, "(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], [, "(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
9442
|
+
SS: [, [, , "[19]\\d{8}", , , , , , , [9]], [, , "1[89]\\d{7}", , , , "181234567"], [, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SS", 211, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
|
|
9414
9443
|
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]]],
|
|
9415
9444
|
SV: [, [, , "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", , , , , , , [7, 8, 11]], [
|
|
9416
9445
|
,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intl-tel-input/angular",
|
|
3
|
-
"version": "28.0.
|
|
3
|
+
"version": "28.0.5",
|
|
4
4
|
"description": "An Angular component for intl-tel-input, for entering, formatting, and validating international telephone numbers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"intl-tel-input": "^28.0.
|
|
37
|
+
"intl-tel-input": "^28.0.5"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@angular/common": ">=17",
|
|
@@ -55,14 +55,26 @@
|
|
|
55
55
|
"keywords": [
|
|
56
56
|
"intl-tel-input",
|
|
57
57
|
"angular",
|
|
58
|
+
"ngx",
|
|
58
59
|
"component",
|
|
60
|
+
"standalone",
|
|
61
|
+
"forms",
|
|
62
|
+
"reactive-forms",
|
|
59
63
|
"international",
|
|
64
|
+
"country",
|
|
65
|
+
"country-picker",
|
|
60
66
|
"telephone",
|
|
61
67
|
"phone",
|
|
68
|
+
"phone-number",
|
|
69
|
+
"tel",
|
|
70
|
+
"mobile",
|
|
71
|
+
"dial-code",
|
|
62
72
|
"input",
|
|
63
73
|
"flag",
|
|
64
74
|
"dropdown",
|
|
65
75
|
"validation",
|
|
76
|
+
"libphonenumber",
|
|
77
|
+
"formatting",
|
|
66
78
|
"typescript"
|
|
67
79
|
]
|
|
68
80
|
}
|