vue-layout-gitcode 1.10.4 → 1.10.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/{GloabarSearch-By3gMqr5.js → GloabarSearch-DE6yg5WO.js} +3 -3
- package/{MenuItem-Cm9MfzFK.js → MenuItem-DbkBMWXk.js} +1 -1
- package/{ProjectMenuList-Bc9kQJxY.js → ProjectMenuList-CC8q9Vs8.js} +8 -8
- package/{ProjectMenuListV2-hrS6FDx2.js → ProjectMenuListV2-Cq0XI_gH.js} +3 -3
- package/{ProjectSearch-Dn7KpEXq.js → ProjectSearch-DP4mdU20.js} +1 -1
- package/{SearchHistoryList-BhGjwV79.js → SearchHistoryList-x6o0K-RJ.js} +5 -5
- package/{SearchPrefixTag-DnMJrNAb.js → SearchPrefixTag-DOds9Jt2.js} +3 -3
- package/{SearchRecommed-DrJjIXTk.js → SearchRecommed-C3xneFLl.js} +2 -2
- package/{SearchScopeList-RzX52eKP.js → SearchScopeList-CCrcO_Uc.js} +3 -3
- package/{UserSearch-B9_DTuGr.js → UserSearch-CM0x_99f.js} +1 -1
- package/{index-hbNP7Gxd.js → index-Bi2-Ajqt.js} +994 -1228
- package/{index-vy7s96fo.js → index-BuOdNCQf.js} +3 -3
- package/{index-iC2vZB0n.js → index-DN4cdFnh.js} +1 -1
- package/{index-R5u6vIQd.js → index-L6eIbpC-.js} +41 -41
- package/index.js +1 -1
- package/{notice-IqJyqZQT.js → notice-C7DFXBHP.js} +8 -8
- package/package.json +2 -2
- package/style.css +1 -1
- package/{transWebUrl-htNmNx0Y.js → transWebUrl-DcTAoihL.js} +1 -1
- package/index-dzjfyxs4.js +0 -335
|
@@ -70,29 +70,29 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
70
70
|
return /px$/i.test(props.size) ? props.size : `${props.size}px`;
|
|
71
71
|
});
|
|
72
72
|
return (_ctx, _cache) => {
|
|
73
|
-
return !
|
|
73
|
+
return !_ctx.name.includes("gt-") ? (openBlock(), createBlock(unref(Icon), normalizeProps(mergeProps({ key: 0 }, props)), null, 16)) : _ctx.operable ? (openBlock(), createElementBlock("span", {
|
|
74
74
|
key: 1,
|
|
75
|
-
class: normalizeClass(["custom-icon-container", { disabled:
|
|
75
|
+
class: normalizeClass(["custom-icon-container", { disabled: _ctx.disabled }])
|
|
76
76
|
}, [
|
|
77
77
|
renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
|
|
78
78
|
(openBlock(), createElementBlock("svg", {
|
|
79
|
-
class: normalizeClass(["icon gt-icon",
|
|
79
|
+
class: normalizeClass(["icon gt-icon", _ctx.iconClass]),
|
|
80
80
|
"aria-hidden": "true",
|
|
81
|
-
style: normalizeStyle({ color:
|
|
81
|
+
style: normalizeStyle({ color: _ctx.color, fontSize: fontSize.value, transform: `rotate(${_ctx.rotate})` })
|
|
82
82
|
}, [
|
|
83
83
|
createElementVNode("use", {
|
|
84
|
-
"xlink:href": `#${
|
|
84
|
+
"xlink:href": `#${_ctx.name}`
|
|
85
85
|
}, null, 8, _hoisted_1$w)
|
|
86
86
|
], 6)),
|
|
87
87
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
88
88
|
], 2)) : (openBlock(), createElementBlock("svg", {
|
|
89
89
|
key: 2,
|
|
90
|
-
class: normalizeClass(["icon gt-icon",
|
|
90
|
+
class: normalizeClass(["icon gt-icon", _ctx.iconClass]),
|
|
91
91
|
"aria-hidden": "true",
|
|
92
|
-
style: normalizeStyle(
|
|
92
|
+
style: normalizeStyle(_ctx.iconClass ? {} : { color: _ctx.color, fontSize: fontSize.value, transform: `rotate(${_ctx.rotate})` })
|
|
93
93
|
}, [
|
|
94
94
|
createElementVNode("use", {
|
|
95
|
-
"xlink:href": `#${
|
|
95
|
+
"xlink:href": `#${_ctx.name}`
|
|
96
96
|
}, null, 8, _hoisted_2$n)
|
|
97
97
|
], 6));
|
|
98
98
|
};
|
|
@@ -547,7 +547,7 @@ const LOGO_MAP = {
|
|
|
547
547
|
aiLogoDark: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-dark_atomgit.png"
|
|
548
548
|
}
|
|
549
549
|
};
|
|
550
|
-
/*! @license DOMPurify 3.3.
|
|
550
|
+
/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
|
|
551
551
|
const {
|
|
552
552
|
entries,
|
|
553
553
|
setPrototypeOf,
|
|
@@ -778,7 +778,7 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
778
778
|
function createDOMPurify() {
|
|
779
779
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
780
780
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
781
|
-
DOMPurify.version = "3.3.
|
|
781
|
+
DOMPurify.version = "3.3.0";
|
|
782
782
|
DOMPurify.removed = [];
|
|
783
783
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
784
784
|
DOMPurify.isSupported = false;
|
|
@@ -1029,12 +1029,6 @@ function createDOMPurify() {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
1031
1031
|
}
|
|
1032
|
-
if (cfg.ADD_FORBID_CONTENTS) {
|
|
1033
|
-
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
1034
|
-
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
1035
|
-
}
|
|
1036
|
-
addToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);
|
|
1037
|
-
}
|
|
1038
1032
|
if (KEEP_CONTENT) {
|
|
1039
1033
|
ALLOWED_TAGS["#text"] = true;
|
|
1040
1034
|
}
|
|
@@ -1676,25 +1670,10 @@ function init(converter, defaultAttributes) {
|
|
|
1676
1670
|
}
|
|
1677
1671
|
var api = init(defaultConverter, { path: "/" });
|
|
1678
1672
|
/*!
|
|
1679
|
-
* shared v9.14.
|
|
1673
|
+
* shared v9.14.3
|
|
1680
1674
|
* (c) 2025 kazuya kawaguchi
|
|
1681
1675
|
* Released under the MIT License.
|
|
1682
1676
|
*/
|
|
1683
|
-
function warn(msg, err) {
|
|
1684
|
-
if (typeof console !== "undefined") {
|
|
1685
|
-
console.warn(`[intlify] ` + msg);
|
|
1686
|
-
if (err) {
|
|
1687
|
-
console.warn(err.stack);
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
}
|
|
1691
|
-
const hasWarned = {};
|
|
1692
|
-
function warnOnce(msg) {
|
|
1693
|
-
if (!hasWarned[msg]) {
|
|
1694
|
-
hasWarned[msg] = true;
|
|
1695
|
-
warn(msg);
|
|
1696
|
-
}
|
|
1697
|
-
}
|
|
1698
1677
|
const inBrowser = typeof window !== "undefined";
|
|
1699
1678
|
let mark;
|
|
1700
1679
|
let measure;
|
|
@@ -1739,31 +1718,7 @@ const getGlobalThis = () => {
|
|
|
1739
1718
|
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : create());
|
|
1740
1719
|
};
|
|
1741
1720
|
function escapeHtml(rawText) {
|
|
1742
|
-
return rawText.replace(
|
|
1743
|
-
}
|
|
1744
|
-
function escapeAttributeValue(value) {
|
|
1745
|
-
return value.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1746
|
-
}
|
|
1747
|
-
function sanitizeTranslatedHtml(html2) {
|
|
1748
|
-
html2 = html2.replace(/(\w+)\s*=\s*"([^"]*)"/g, (_, attrName, attrValue) => `${attrName}="${escapeAttributeValue(attrValue)}"`);
|
|
1749
|
-
html2 = html2.replace(/(\w+)\s*=\s*'([^']*)'/g, (_, attrName, attrValue) => `${attrName}='${escapeAttributeValue(attrValue)}'`);
|
|
1750
|
-
const eventHandlerPattern = /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi;
|
|
1751
|
-
if (eventHandlerPattern.test(html2)) {
|
|
1752
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1753
|
-
warn("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages.");
|
|
1754
|
-
}
|
|
1755
|
-
html2 = html2.replace(/(\s+)(on)(\w+\s*=)/gi, "$1on$3");
|
|
1756
|
-
}
|
|
1757
|
-
const javascriptUrlPattern = [
|
|
1758
|
-
// In href, src, action, formaction attributes
|
|
1759
|
-
/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
|
|
1760
|
-
// In style attributes within url()
|
|
1761
|
-
/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi
|
|
1762
|
-
];
|
|
1763
|
-
javascriptUrlPattern.forEach((pattern) => {
|
|
1764
|
-
html2 = html2.replace(pattern, "$1javascript:");
|
|
1765
|
-
});
|
|
1766
|
-
return html2;
|
|
1721
|
+
return rawText.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
1767
1722
|
}
|
|
1768
1723
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
1769
1724
|
function hasOwn(obj, key) {
|
|
@@ -1826,6 +1781,21 @@ function incrementer(code2) {
|
|
|
1826
1781
|
let current = code2;
|
|
1827
1782
|
return () => ++current;
|
|
1828
1783
|
}
|
|
1784
|
+
function warn(msg, err) {
|
|
1785
|
+
if (typeof console !== "undefined") {
|
|
1786
|
+
console.warn(`[intlify] ` + msg);
|
|
1787
|
+
if (err) {
|
|
1788
|
+
console.warn(err.stack);
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
const hasWarned = {};
|
|
1793
|
+
function warnOnce(msg) {
|
|
1794
|
+
if (!hasWarned[msg]) {
|
|
1795
|
+
hasWarned[msg] = true;
|
|
1796
|
+
warn(msg);
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1829
1799
|
function createEmitter() {
|
|
1830
1800
|
const events = /* @__PURE__ */ new Map();
|
|
1831
1801
|
const emitter2 = {
|
|
@@ -1874,7 +1844,7 @@ function deepCopy(src, des) {
|
|
|
1874
1844
|
}
|
|
1875
1845
|
}
|
|
1876
1846
|
/*!
|
|
1877
|
-
* message-compiler v9.14.
|
|
1847
|
+
* message-compiler v9.14.3
|
|
1878
1848
|
* (c) 2025 kazuya kawaguchi
|
|
1879
1849
|
* Released under the MIT License.
|
|
1880
1850
|
*/
|
|
@@ -3424,7 +3394,7 @@ function baseCompile$1(source, options = {}) {
|
|
|
3424
3394
|
}
|
|
3425
3395
|
}
|
|
3426
3396
|
/*!
|
|
3427
|
-
* core-base v9.14.
|
|
3397
|
+
* core-base v9.14.3
|
|
3428
3398
|
* (c) 2025 kazuya kawaguchi
|
|
3429
3399
|
* Released under the MIT License.
|
|
3430
3400
|
*/
|
|
@@ -3439,76 +3409,6 @@ function initFeatureFlags$1() {
|
|
|
3439
3409
|
getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
|
|
3440
3410
|
}
|
|
3441
3411
|
}
|
|
3442
|
-
function isMessageAST(val) {
|
|
3443
|
-
return isObject$2(val) && resolveType(val) === 0 && (hasOwn(val, "b") || hasOwn(val, "body"));
|
|
3444
|
-
}
|
|
3445
|
-
const PROPS_BODY = ["b", "body"];
|
|
3446
|
-
function resolveBody(node) {
|
|
3447
|
-
return resolveProps(node, PROPS_BODY);
|
|
3448
|
-
}
|
|
3449
|
-
const PROPS_CASES = ["c", "cases"];
|
|
3450
|
-
function resolveCases(node) {
|
|
3451
|
-
return resolveProps(node, PROPS_CASES, []);
|
|
3452
|
-
}
|
|
3453
|
-
const PROPS_STATIC = ["s", "static"];
|
|
3454
|
-
function resolveStatic(node) {
|
|
3455
|
-
return resolveProps(node, PROPS_STATIC);
|
|
3456
|
-
}
|
|
3457
|
-
const PROPS_ITEMS = ["i", "items"];
|
|
3458
|
-
function resolveItems(node) {
|
|
3459
|
-
return resolveProps(node, PROPS_ITEMS, []);
|
|
3460
|
-
}
|
|
3461
|
-
const PROPS_TYPE = ["t", "type"];
|
|
3462
|
-
function resolveType(node) {
|
|
3463
|
-
return resolveProps(node, PROPS_TYPE);
|
|
3464
|
-
}
|
|
3465
|
-
const PROPS_VALUE = ["v", "value"];
|
|
3466
|
-
function resolveValue$1(node, type) {
|
|
3467
|
-
const resolved = resolveProps(node, PROPS_VALUE);
|
|
3468
|
-
if (resolved != null) {
|
|
3469
|
-
return resolved;
|
|
3470
|
-
} else {
|
|
3471
|
-
throw createUnhandleNodeError(type);
|
|
3472
|
-
}
|
|
3473
|
-
}
|
|
3474
|
-
const PROPS_MODIFIER = ["m", "modifier"];
|
|
3475
|
-
function resolveLinkedModifier(node) {
|
|
3476
|
-
return resolveProps(node, PROPS_MODIFIER);
|
|
3477
|
-
}
|
|
3478
|
-
const PROPS_KEY = ["k", "key"];
|
|
3479
|
-
function resolveLinkedKey(node) {
|
|
3480
|
-
const resolved = resolveProps(node, PROPS_KEY);
|
|
3481
|
-
if (resolved) {
|
|
3482
|
-
return resolved;
|
|
3483
|
-
} else {
|
|
3484
|
-
throw createUnhandleNodeError(
|
|
3485
|
-
6
|
|
3486
|
-
/* NodeTypes.Linked */
|
|
3487
|
-
);
|
|
3488
|
-
}
|
|
3489
|
-
}
|
|
3490
|
-
function resolveProps(node, props, defaultValue) {
|
|
3491
|
-
for (let i = 0; i < props.length; i++) {
|
|
3492
|
-
const prop = props[i];
|
|
3493
|
-
if (hasOwn(node, prop) && node[prop] != null) {
|
|
3494
|
-
return node[prop];
|
|
3495
|
-
}
|
|
3496
|
-
}
|
|
3497
|
-
return defaultValue;
|
|
3498
|
-
}
|
|
3499
|
-
const AST_NODE_PROPS_KEYS = [
|
|
3500
|
-
...PROPS_BODY,
|
|
3501
|
-
...PROPS_CASES,
|
|
3502
|
-
...PROPS_STATIC,
|
|
3503
|
-
...PROPS_ITEMS,
|
|
3504
|
-
...PROPS_KEY,
|
|
3505
|
-
...PROPS_MODIFIER,
|
|
3506
|
-
...PROPS_VALUE,
|
|
3507
|
-
...PROPS_TYPE
|
|
3508
|
-
];
|
|
3509
|
-
function createUnhandleNodeError(type) {
|
|
3510
|
-
return new Error(`unhandled node type: ${type}`);
|
|
3511
|
-
}
|
|
3512
3412
|
const pathStateMachine = [];
|
|
3513
3413
|
pathStateMachine[
|
|
3514
3414
|
0
|
|
@@ -3915,7 +3815,7 @@ const cache = /* @__PURE__ */ new Map();
|
|
|
3915
3815
|
function resolveWithKeyValue(obj, path) {
|
|
3916
3816
|
return isObject$2(obj) ? obj[path] : null;
|
|
3917
3817
|
}
|
|
3918
|
-
function resolveValue(obj, path) {
|
|
3818
|
+
function resolveValue$1(obj, path) {
|
|
3919
3819
|
if (!isObject$2(obj)) {
|
|
3920
3820
|
return null;
|
|
3921
3821
|
}
|
|
@@ -3933,11 +3833,7 @@ function resolveValue(obj, path) {
|
|
|
3933
3833
|
let last = obj;
|
|
3934
3834
|
let i = 0;
|
|
3935
3835
|
while (i < len) {
|
|
3936
|
-
const
|
|
3937
|
-
if (AST_NODE_PROPS_KEYS.includes(key) && isMessageAST(last)) {
|
|
3938
|
-
return null;
|
|
3939
|
-
}
|
|
3940
|
-
const val = last[key];
|
|
3836
|
+
const val = last[hit[i]];
|
|
3941
3837
|
if (val === void 0) {
|
|
3942
3838
|
return null;
|
|
3943
3839
|
}
|
|
@@ -4231,7 +4127,7 @@ function appendItemToChain(chain, target, blocks) {
|
|
|
4231
4127
|
}
|
|
4232
4128
|
return follow;
|
|
4233
4129
|
}
|
|
4234
|
-
const VERSION$1 = "9.14.
|
|
4130
|
+
const VERSION$1 = "9.14.3";
|
|
4235
4131
|
const NOT_REOSLVED = -1;
|
|
4236
4132
|
const DEFAULT_LOCALE = "en-US";
|
|
4237
4133
|
const MISSING_RESOLVE_VALUE = "";
|
|
@@ -4418,6 +4314,14 @@ function formatParts(ctx, ast) {
|
|
|
4418
4314
|
return formatMessageParts(ctx, body);
|
|
4419
4315
|
}
|
|
4420
4316
|
}
|
|
4317
|
+
const PROPS_BODY = ["b", "body"];
|
|
4318
|
+
function resolveBody(node) {
|
|
4319
|
+
return resolveProps(node, PROPS_BODY);
|
|
4320
|
+
}
|
|
4321
|
+
const PROPS_CASES = ["c", "cases"];
|
|
4322
|
+
function resolveCases(node) {
|
|
4323
|
+
return resolveProps(node, PROPS_CASES, []);
|
|
4324
|
+
}
|
|
4421
4325
|
function formatMessageParts(ctx, node) {
|
|
4422
4326
|
const static_ = resolveStatic(node);
|
|
4423
4327
|
if (static_ != null) {
|
|
@@ -4427,14 +4331,22 @@ function formatMessageParts(ctx, node) {
|
|
|
4427
4331
|
return ctx.normalize(messages);
|
|
4428
4332
|
}
|
|
4429
4333
|
}
|
|
4334
|
+
const PROPS_STATIC = ["s", "static"];
|
|
4335
|
+
function resolveStatic(node) {
|
|
4336
|
+
return resolveProps(node, PROPS_STATIC);
|
|
4337
|
+
}
|
|
4338
|
+
const PROPS_ITEMS = ["i", "items"];
|
|
4339
|
+
function resolveItems(node) {
|
|
4340
|
+
return resolveProps(node, PROPS_ITEMS, []);
|
|
4341
|
+
}
|
|
4430
4342
|
function formatMessagePart(ctx, node) {
|
|
4431
4343
|
const type = resolveType(node);
|
|
4432
4344
|
switch (type) {
|
|
4433
4345
|
case 3: {
|
|
4434
|
-
return resolveValue
|
|
4346
|
+
return resolveValue(node, type);
|
|
4435
4347
|
}
|
|
4436
4348
|
case 9: {
|
|
4437
|
-
return resolveValue
|
|
4349
|
+
return resolveValue(node, type);
|
|
4438
4350
|
}
|
|
4439
4351
|
case 4: {
|
|
4440
4352
|
const named = node;
|
|
@@ -4463,15 +4375,56 @@ function formatMessagePart(ctx, node) {
|
|
|
4463
4375
|
return ctx.linked(formatMessagePart(ctx, key), modifier ? formatMessagePart(ctx, modifier) : void 0, ctx.type);
|
|
4464
4376
|
}
|
|
4465
4377
|
case 7: {
|
|
4466
|
-
return resolveValue
|
|
4378
|
+
return resolveValue(node, type);
|
|
4467
4379
|
}
|
|
4468
4380
|
case 8: {
|
|
4469
|
-
return resolveValue
|
|
4381
|
+
return resolveValue(node, type);
|
|
4470
4382
|
}
|
|
4471
4383
|
default:
|
|
4472
4384
|
throw new Error(`unhandled node on format message part: ${type}`);
|
|
4473
4385
|
}
|
|
4474
4386
|
}
|
|
4387
|
+
const PROPS_TYPE = ["t", "type"];
|
|
4388
|
+
function resolveType(node) {
|
|
4389
|
+
return resolveProps(node, PROPS_TYPE);
|
|
4390
|
+
}
|
|
4391
|
+
const PROPS_VALUE = ["v", "value"];
|
|
4392
|
+
function resolveValue(node, type) {
|
|
4393
|
+
const resolved = resolveProps(node, PROPS_VALUE);
|
|
4394
|
+
if (resolved) {
|
|
4395
|
+
return resolved;
|
|
4396
|
+
} else {
|
|
4397
|
+
throw createUnhandleNodeError(type);
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
const PROPS_MODIFIER = ["m", "modifier"];
|
|
4401
|
+
function resolveLinkedModifier(node) {
|
|
4402
|
+
return resolveProps(node, PROPS_MODIFIER);
|
|
4403
|
+
}
|
|
4404
|
+
const PROPS_KEY = ["k", "key"];
|
|
4405
|
+
function resolveLinkedKey(node) {
|
|
4406
|
+
const resolved = resolveProps(node, PROPS_KEY);
|
|
4407
|
+
if (resolved) {
|
|
4408
|
+
return resolved;
|
|
4409
|
+
} else {
|
|
4410
|
+
throw createUnhandleNodeError(
|
|
4411
|
+
6
|
|
4412
|
+
/* NodeTypes.Linked */
|
|
4413
|
+
);
|
|
4414
|
+
}
|
|
4415
|
+
}
|
|
4416
|
+
function resolveProps(node, props, defaultValue) {
|
|
4417
|
+
for (let i = 0; i < props.length; i++) {
|
|
4418
|
+
const prop = props[i];
|
|
4419
|
+
if (hasOwn(node, prop) && node[prop] != null) {
|
|
4420
|
+
return node[prop];
|
|
4421
|
+
}
|
|
4422
|
+
}
|
|
4423
|
+
return defaultValue;
|
|
4424
|
+
}
|
|
4425
|
+
function createUnhandleNodeError(type) {
|
|
4426
|
+
return new Error(`unhandled node type: ${type}`);
|
|
4427
|
+
}
|
|
4475
4428
|
const WARN_MESSAGE = `Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.`;
|
|
4476
4429
|
function checkHtmlMessage(source, warnHtmlMessage) {
|
|
4477
4430
|
if (warnHtmlMessage && detectHtmlTag(source)) {
|
|
@@ -4487,6 +4440,9 @@ reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-forma
|
|
|
4487
4440
|
(message compiler warning message: ${_warn.message})`);
|
|
4488
4441
|
}
|
|
4489
4442
|
}
|
|
4443
|
+
function isMessageAST(val) {
|
|
4444
|
+
return isObject$2(val) && resolveType(val) === 0 && (hasOwn(val, "b") || hasOwn(val, "body"));
|
|
4445
|
+
}
|
|
4490
4446
|
function baseCompile(message, options = {}) {
|
|
4491
4447
|
let detectError = false;
|
|
4492
4448
|
const onError = options.onError || defaultOnError;
|
|
@@ -4598,10 +4554,7 @@ function translate(context, ...args) {
|
|
|
4598
4554
|
const ctxOptions = getMessageContextOptions(context, targetLocale, message, options);
|
|
4599
4555
|
const msgContext = createMessageContext(ctxOptions);
|
|
4600
4556
|
const messaged = evaluateMessage(context, msg, msgContext);
|
|
4601
|
-
|
|
4602
|
-
if (escapeParameter && isString$1(ret)) {
|
|
4603
|
-
ret = sanitizeTranslatedHtml(ret);
|
|
4604
|
-
}
|
|
4557
|
+
const ret = postTranslation ? postTranslation(messaged, key) : messaged;
|
|
4605
4558
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
4606
4559
|
const payloads = {
|
|
4607
4560
|
timestamp: Date.now(),
|
|
@@ -5318,11 +5271,11 @@ function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
|
|
|
5318
5271
|
}
|
|
5319
5272
|
}
|
|
5320
5273
|
/*!
|
|
5321
|
-
* vue-i18n v9.14.
|
|
5274
|
+
* vue-i18n v9.14.3
|
|
5322
5275
|
* (c) 2025 kazuya kawaguchi
|
|
5323
5276
|
* Released under the MIT License.
|
|
5324
5277
|
*/
|
|
5325
|
-
const VERSION = "9.14.
|
|
5278
|
+
const VERSION = "9.14.3";
|
|
5326
5279
|
function initFeatureFlags() {
|
|
5327
5280
|
if (typeof __VUE_I18N_FULL_INSTALL__ !== "boolean") {
|
|
5328
5281
|
getGlobalThis().__VUE_I18N_FULL_INSTALL__ = true;
|
|
@@ -5455,9 +5408,6 @@ function handleFlatJson(obj) {
|
|
|
5455
5408
|
if (!isObject$2(obj)) {
|
|
5456
5409
|
return obj;
|
|
5457
5410
|
}
|
|
5458
|
-
if (isMessageAST(obj)) {
|
|
5459
|
-
return obj;
|
|
5460
|
-
}
|
|
5461
5411
|
for (const key in obj) {
|
|
5462
5412
|
if (!hasOwn(obj, key)) {
|
|
5463
5413
|
continue;
|
|
@@ -5488,20 +5438,11 @@ function handleFlatJson(obj) {
|
|
|
5488
5438
|
currentObj = currentObj[subKeys[i]];
|
|
5489
5439
|
}
|
|
5490
5440
|
if (!hasStringValue) {
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
delete obj[key];
|
|
5494
|
-
} else {
|
|
5495
|
-
if (!AST_NODE_PROPS_KEYS.includes(subKeys[lastIndex])) {
|
|
5496
|
-
delete obj[key];
|
|
5497
|
-
}
|
|
5498
|
-
}
|
|
5441
|
+
currentObj[subKeys[lastIndex]] = obj[key];
|
|
5442
|
+
delete obj[key];
|
|
5499
5443
|
}
|
|
5500
|
-
if (
|
|
5501
|
-
|
|
5502
|
-
if (isObject$2(target)) {
|
|
5503
|
-
handleFlatJson(target);
|
|
5504
|
-
}
|
|
5444
|
+
if (isObject$2(currentObj[subKeys[lastIndex]])) {
|
|
5445
|
+
handleFlatJson(currentObj[subKeys[lastIndex]]);
|
|
5505
5446
|
}
|
|
5506
5447
|
}
|
|
5507
5448
|
}
|
|
@@ -7692,7 +7633,7 @@ if (__INTLIFY_JIT_COMPILATION__) {
|
|
|
7692
7633
|
} else {
|
|
7693
7634
|
registerMessageCompiler(compileToFunction);
|
|
7694
7635
|
}
|
|
7695
|
-
registerMessageResolver(resolveValue);
|
|
7636
|
+
registerMessageResolver(resolveValue$1);
|
|
7696
7637
|
registerLocaleFallbacker(fallbackWithLocaleChain);
|
|
7697
7638
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
7698
7639
|
const target = getGlobalThis();
|
|
@@ -7783,6 +7724,7 @@ const gitCodeLayout$1 = {
|
|
|
7783
7724
|
openSourcePioneer: "开源先锋",
|
|
7784
7725
|
contributingStar: "贡献之星",
|
|
7785
7726
|
myNotebook: "我的 Notebook",
|
|
7727
|
+
myCloudSpace: "我的 云开发环境",
|
|
7786
7728
|
mySpace: "我的 Spaces",
|
|
7787
7729
|
aihub: {
|
|
7788
7730
|
documentCenter: "文档中心"
|
|
@@ -8128,6 +8070,7 @@ const gitCodeLayout = {
|
|
|
8128
8070
|
openSourcePioneer: "Open Source Pioneer",
|
|
8129
8071
|
contributingStar: "Star Contributor",
|
|
8130
8072
|
myNotebook: "Your Notebook",
|
|
8073
|
+
myCloudSpace: "Your Cloud Development",
|
|
8131
8074
|
mySpace: "Your Spaces",
|
|
8132
8075
|
aihub: {
|
|
8133
8076
|
documentCenter: "Docs"
|
|
@@ -9270,7 +9213,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
9270
9213
|
createElementVNode("div", {
|
|
9271
9214
|
class: "home-nav-link tools-questionnaire",
|
|
9272
9215
|
onClick: toggleGrowthCenter
|
|
9273
|
-
},
|
|
9216
|
+
}, _cache[6] || (_cache[6] = [
|
|
9274
9217
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
9275
9218
|
createElementVNode("img", {
|
|
9276
9219
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
@@ -9278,7 +9221,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
9278
9221
|
alt: ""
|
|
9279
9222
|
})
|
|
9280
9223
|
], -1)
|
|
9281
|
-
])
|
|
9224
|
+
]))
|
|
9282
9225
|
]),
|
|
9283
9226
|
_: 1
|
|
9284
9227
|
})) : createCommentVNode("", true),
|
|
@@ -9301,7 +9244,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
9301
9244
|
id: "gitcode-desk-btn",
|
|
9302
9245
|
class: "home-nav-item kefu",
|
|
9303
9246
|
onClick: showDesk
|
|
9304
|
-
},
|
|
9247
|
+
}, _cache[7] || (_cache[7] = [
|
|
9305
9248
|
createElementVNode("img", {
|
|
9306
9249
|
class: "inline-block h-[20px] w-[20px]",
|
|
9307
9250
|
src: "https://cdn-static.gitcode.com/static/images/desk/kefu.png",
|
|
@@ -9311,7 +9254,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
9311
9254
|
createElementVNode("div", null, "客"),
|
|
9312
9255
|
createElementVNode("div", null, "服")
|
|
9313
9256
|
], -1)
|
|
9314
|
-
])
|
|
9257
|
+
]))
|
|
9315
9258
|
])
|
|
9316
9259
|
]),
|
|
9317
9260
|
_: 1
|
|
@@ -9364,9 +9307,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
9364
9307
|
key: item.index,
|
|
9365
9308
|
class: normalizeClass(["tab-item w-8 h-1 mr-1 cursor-pointer", opinionStep.value === item.index ? "bg-[var(--theme-home-step-active-bg)]" : "bg-[var(--theme-home-step-bg)]"]),
|
|
9366
9309
|
onClick: ($event) => swTab(item)
|
|
9367
|
-
},
|
|
9310
|
+
}, _cache[11] || (_cache[11] = [
|
|
9368
9311
|
createElementVNode("span", { class: "cursor-pointer" }, null, -1)
|
|
9369
|
-
])
|
|
9312
|
+
]), 10, _hoisted_18$2);
|
|
9370
9313
|
}), 64))
|
|
9371
9314
|
]),
|
|
9372
9315
|
createElementVNode("div", null, [
|
|
@@ -9448,7 +9391,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
9448
9391
|
trigger: "hover",
|
|
9449
9392
|
offset: { mainAxis: 22, crossAxis: 0 }
|
|
9450
9393
|
}, {
|
|
9451
|
-
default: withCtx(() =>
|
|
9394
|
+
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
9452
9395
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
9453
9396
|
createElementVNode("img", {
|
|
9454
9397
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
@@ -9461,7 +9404,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
9461
9404
|
alt: ""
|
|
9462
9405
|
})
|
|
9463
9406
|
], -1)
|
|
9464
|
-
])
|
|
9407
|
+
])),
|
|
9465
9408
|
_: 1
|
|
9466
9409
|
}, 8, ["content"])
|
|
9467
9410
|
])
|
|
@@ -9697,11 +9640,11 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
9697
9640
|
});
|
|
9698
9641
|
return (_ctx, _cache) => {
|
|
9699
9642
|
const _component_router_link = resolveComponent("router-link");
|
|
9700
|
-
return
|
|
9643
|
+
return _ctx.to && !_ctx.disabled ? (openBlock(), createBlock(_component_router_link, {
|
|
9701
9644
|
key: 0,
|
|
9702
|
-
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline:
|
|
9703
|
-
to:
|
|
9704
|
-
target:
|
|
9645
|
+
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline: _ctx.underline }]),
|
|
9646
|
+
to: _ctx.to,
|
|
9647
|
+
target: _ctx.target
|
|
9705
9648
|
}, {
|
|
9706
9649
|
default: withCtx(() => [
|
|
9707
9650
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -9709,10 +9652,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
9709
9652
|
_: 3
|
|
9710
9653
|
}, 8, ["class", "to", "target"])) : (openBlock(), createElementBlock("a", {
|
|
9711
9654
|
key: 1,
|
|
9712
|
-
class: normalizeClass(["g-link g-link-a", { hoverUnderline:
|
|
9713
|
-
href:
|
|
9714
|
-
target:
|
|
9715
|
-
disabled:
|
|
9655
|
+
class: normalizeClass(["g-link g-link-a", { hoverUnderline: _ctx.underline, noPointer: _ctx.noPointer }]),
|
|
9656
|
+
href: _ctx.disabled || !targetHref.value ? defaultHref.value : targetHref.value,
|
|
9657
|
+
target: _ctx.target,
|
|
9658
|
+
disabled: _ctx.disabled || _ctx.noPointer
|
|
9716
9659
|
}, [
|
|
9717
9660
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
9718
9661
|
], 10, _hoisted_1$u));
|
|
@@ -10313,12 +10256,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
10313
10256
|
key: 0,
|
|
10314
10257
|
"img-src": imgSrc.value,
|
|
10315
10258
|
name: placeholderName.value,
|
|
10316
|
-
width:
|
|
10317
|
-
height:
|
|
10318
|
-
"is-round":
|
|
10319
|
-
class: normalizeClass({ "devui-avatar-square": !
|
|
10259
|
+
width: _ctx.width,
|
|
10260
|
+
height: _ctx.height,
|
|
10261
|
+
"is-round": _ctx.is_round,
|
|
10262
|
+
class: normalizeClass({ "devui-avatar-square": !_ctx.is_round, "gavatar-custom": !imgSrc.value }),
|
|
10320
10263
|
onLoadError,
|
|
10321
|
-
style: normalizeStyle({ minWidth:
|
|
10264
|
+
style: normalizeStyle({ minWidth: _ctx.width + "px" })
|
|
10322
10265
|
}, null, 8, ["img-src", "name", "width", "height", "is-round", "class", "style"])) : createCommentVNode("", true);
|
|
10323
10266
|
};
|
|
10324
10267
|
}
|
|
@@ -10357,15 +10300,15 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
10357
10300
|
return openBlock(), createBlock(unref(Tooltip), {
|
|
10358
10301
|
class: "flash-tag-message",
|
|
10359
10302
|
position: ["top", "bottom"],
|
|
10360
|
-
content:
|
|
10303
|
+
content: _ctx.message,
|
|
10361
10304
|
"overlay-class": "flash-tag-tooltip",
|
|
10362
|
-
disabled: unref(isPhone)() ||
|
|
10305
|
+
disabled: unref(isPhone)() || _ctx.disabled
|
|
10363
10306
|
}, {
|
|
10364
10307
|
default: withCtx(() => [
|
|
10365
10308
|
createElementVNode("span", mergeProps({
|
|
10366
|
-
class: ["gc-flash-tag cursor-default", { "gc-trusted-tag":
|
|
10309
|
+
class: ["gc-flash-tag cursor-default", { "gc-trusted-tag": _ctx.trusted, "cursor-pointer": _ctx.clickEnabled, "cursor-default": !_ctx.clickEnabled, "gc-icon-tag": _ctx.icon }]
|
|
10367
10310
|
}, _ctx.$attrs, { onClick: handleClick }), [
|
|
10368
|
-
|
|
10311
|
+
_ctx.icon ? (openBlock(), createElementBlock("img", {
|
|
10369
10312
|
key: 0,
|
|
10370
10313
|
class: "w-[16px] h-[16px]",
|
|
10371
10314
|
src: iconUrl.value
|
|
@@ -10446,7 +10389,7 @@ function getAugmentedNamespace(n) {
|
|
|
10446
10389
|
return a;
|
|
10447
10390
|
}
|
|
10448
10391
|
var relativeTime$1 = { exports: {} };
|
|
10449
|
-
(function(module, exports
|
|
10392
|
+
(function(module, exports) {
|
|
10450
10393
|
!function(r, e) {
|
|
10451
10394
|
module.exports = e();
|
|
10452
10395
|
}(commonjsGlobal, function() {
|
|
@@ -11017,7 +10960,7 @@ var locale = {
|
|
|
11017
10960
|
};
|
|
11018
10961
|
dayjs.locale(locale, null, true);
|
|
11019
10962
|
var timezone = { exports: {} };
|
|
11020
|
-
(function(module, exports
|
|
10963
|
+
(function(module, exports) {
|
|
11021
10964
|
!function(t2, e) {
|
|
11022
10965
|
module.exports = e();
|
|
11023
10966
|
}(commonjsGlobal, function() {
|
|
@@ -11080,7 +11023,7 @@ var timezone = { exports: {} };
|
|
|
11080
11023
|
var timezoneExports = timezone.exports;
|
|
11081
11024
|
const tz = /* @__PURE__ */ getDefaultExportFromCjs(timezoneExports);
|
|
11082
11025
|
var utc$1 = { exports: {} };
|
|
11083
|
-
(function(module, exports
|
|
11026
|
+
(function(module, exports) {
|
|
11084
11027
|
!function(t2, i) {
|
|
11085
11028
|
module.exports = i();
|
|
11086
11029
|
}(commonjsGlobal, function() {
|
|
@@ -11096,16 +11039,16 @@ var utc$1 = { exports: {} };
|
|
|
11096
11039
|
}, u.local = function() {
|
|
11097
11040
|
return n(this.toDate(), { locale: this.$L, utc: false });
|
|
11098
11041
|
};
|
|
11099
|
-
var
|
|
11042
|
+
var o = u.parse;
|
|
11100
11043
|
u.parse = function(t3) {
|
|
11101
|
-
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset),
|
|
11044
|
+
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset), o.call(this, t3);
|
|
11102
11045
|
};
|
|
11103
|
-
var
|
|
11046
|
+
var r = u.init;
|
|
11104
11047
|
u.init = function() {
|
|
11105
11048
|
if (this.$u) {
|
|
11106
11049
|
var t3 = this.$d;
|
|
11107
11050
|
this.$y = t3.getUTCFullYear(), this.$M = t3.getUTCMonth(), this.$D = t3.getUTCDate(), this.$W = t3.getUTCDay(), this.$H = t3.getUTCHours(), this.$m = t3.getUTCMinutes(), this.$s = t3.getUTCSeconds(), this.$ms = t3.getUTCMilliseconds();
|
|
11108
|
-
} else
|
|
11051
|
+
} else r.call(this);
|
|
11109
11052
|
};
|
|
11110
11053
|
var a = u.utcOffset;
|
|
11111
11054
|
u.utcOffset = function(s2, f2) {
|
|
@@ -11118,12 +11061,13 @@ var utc$1 = { exports: {} };
|
|
|
11118
11061
|
var f3 = ("" + s3[0]).match(e) || ["-", 0, 0], n3 = f3[0], u3 = 60 * +f3[1] + +f3[2];
|
|
11119
11062
|
return 0 === u3 ? 0 : "+" === n3 ? u3 : -u3;
|
|
11120
11063
|
}(s2), null === s2)) return this;
|
|
11121
|
-
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2;
|
|
11122
|
-
if (0 ===
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11126
|
-
|
|
11064
|
+
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2, o2 = this;
|
|
11065
|
+
if (f2) return o2.$offset = u2, o2.$u = 0 === s2, o2;
|
|
11066
|
+
if (0 !== s2) {
|
|
11067
|
+
var r2 = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
11068
|
+
(o2 = this.local().add(u2 + r2, t2)).$offset = u2, o2.$x.$localOffset = r2;
|
|
11069
|
+
} else o2 = this.utc();
|
|
11070
|
+
return o2;
|
|
11127
11071
|
};
|
|
11128
11072
|
var h2 = u.format;
|
|
11129
11073
|
u.format = function(t3) {
|
|
@@ -11353,7 +11297,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11353
11297
|
});
|
|
11354
11298
|
return (_ctx, _cache) => {
|
|
11355
11299
|
var _a, _b;
|
|
11356
|
-
return
|
|
11300
|
+
return _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
11357
11301
|
createVNode(GLink, {
|
|
11358
11302
|
to: { name: "homepage" },
|
|
11359
11303
|
class: "flex flex-1 items-center gap-[8px]"
|
|
@@ -11377,21 +11321,21 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11377
11321
|
createVNode(unref(Button), {
|
|
11378
11322
|
onClick: _cache[0] || (_cache[0] = ($event) => {
|
|
11379
11323
|
var _a2;
|
|
11380
|
-
return handleOrgFollow((_a2 =
|
|
11324
|
+
return handleOrgFollow((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow);
|
|
11381
11325
|
}),
|
|
11382
11326
|
class: "org-layout-toolbar-follow"
|
|
11383
11327
|
}, {
|
|
11384
11328
|
default: withCtx(() => {
|
|
11385
11329
|
var _a2;
|
|
11386
11330
|
return [
|
|
11387
|
-
createElementVNode("span", _hoisted_3$k, toDisplayString$1(((_a2 =
|
|
11331
|
+
createElementVNode("span", _hoisted_3$k, toDisplayString$1(((_a2 = _ctx.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
|
|
11388
11332
|
];
|
|
11389
11333
|
}),
|
|
11390
11334
|
_: 1
|
|
11391
11335
|
})
|
|
11392
|
-
])) :
|
|
11336
|
+
])) : _ctx.scene === unref(SceneValue).repo && !_ctx.errorCode ? (openBlock(), createBlock(unref(Skeleton), {
|
|
11393
11337
|
key: 1,
|
|
11394
|
-
loading: (_a =
|
|
11338
|
+
loading: (_a = _ctx.repoProps) == null ? void 0 : _a.repoNameLoading,
|
|
11395
11339
|
rows: 1
|
|
11396
11340
|
}, {
|
|
11397
11341
|
placeholder: withCtx(() => [
|
|
@@ -11414,7 +11358,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11414
11358
|
default: withCtx(() => {
|
|
11415
11359
|
var _a3, _b3, _c2, _d2;
|
|
11416
11360
|
return [
|
|
11417
|
-
!((_a3 =
|
|
11361
|
+
!((_a3 = _ctx.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$A, {
|
|
11418
11362
|
key: 0,
|
|
11419
11363
|
class: normalizeClass({ "g-border": isOrg.value }),
|
|
11420
11364
|
src: (_c2 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c2.avatar_url,
|
|
@@ -11430,7 +11374,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11430
11374
|
_: 1
|
|
11431
11375
|
}, 8, ["href"]),
|
|
11432
11376
|
createElementVNode("div", _hoisted_8$5, [
|
|
11433
|
-
!((_b2 =
|
|
11377
|
+
!((_b2 = _ctx.repoProps) == null ? void 0 : _b2.isGhMirrors) ? (openBlock(), createElementBlock("div", {
|
|
11434
11378
|
key: 0,
|
|
11435
11379
|
ref_key: "breadcrumbRef",
|
|
11436
11380
|
ref: breadcrumbRef,
|
|
@@ -11465,7 +11409,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11465
11409
|
key: 1,
|
|
11466
11410
|
ref_key: "breadcrumbNextRef",
|
|
11467
11411
|
ref: breadcrumbNextRef,
|
|
11468
|
-
class: normalizeClass(["g-repo-layout-breadcrumb-next max-md:w-full flex items-end gap-[8px]", [((_c =
|
|
11412
|
+
class: normalizeClass(["g-repo-layout-breadcrumb-next max-md:w-full flex items-end gap-[8px]", [((_c = _ctx.repoProps) == null ? void 0 : _c.isGhMirrors) ? "max-w-full" : "max-w-[60%]"]])
|
|
11469
11413
|
}, [
|
|
11470
11414
|
createVNode(GLink, {
|
|
11471
11415
|
class: "linkTx",
|
|
@@ -11488,9 +11432,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11488
11432
|
type: "gstar",
|
|
11489
11433
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.graduation")}`
|
|
11490
11434
|
}, {
|
|
11491
|
-
default: withCtx(() =>
|
|
11492
|
-
createTextVNode("G-Star "
|
|
11493
|
-
])
|
|
11435
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
11436
|
+
createTextVNode("G-Star ")
|
|
11437
|
+
])),
|
|
11494
11438
|
_: 1
|
|
11495
11439
|
}, 8, ["message"])
|
|
11496
11440
|
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
@@ -11500,9 +11444,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11500
11444
|
type: "incubation",
|
|
11501
11445
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.incubation")}`
|
|
11502
11446
|
}, {
|
|
11503
|
-
default: withCtx(() =>
|
|
11504
|
-
createTextVNode(" G-Star "
|
|
11505
|
-
])
|
|
11447
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
11448
|
+
createTextVNode(" G-Star ")
|
|
11449
|
+
])),
|
|
11506
11450
|
_: 1
|
|
11507
11451
|
}, 8, ["message"])
|
|
11508
11452
|
])) : createCommentVNode("", true),
|
|
@@ -11515,7 +11459,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11515
11459
|
href: "/trusted"
|
|
11516
11460
|
}, null, 8, ["message"])
|
|
11517
11461
|
])) : createCommentVNode("", true),
|
|
11518
|
-
((_d =
|
|
11462
|
+
((_d = _ctx.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_15$1, [
|
|
11519
11463
|
createVNode(GIcon, {
|
|
11520
11464
|
size: "16px",
|
|
11521
11465
|
class: "ml-[4px]",
|
|
@@ -11534,7 +11478,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11534
11478
|
}, null, 8, ["name"]),
|
|
11535
11479
|
createElementVNode("span", _hoisted_16$1, toDisplayString$1((_f = topicTag.value) == null ? void 0 : _f.suffix), 1)
|
|
11536
11480
|
])) : createCommentVNode("", true),
|
|
11537
|
-
((_g =
|
|
11481
|
+
((_g = _ctx.repoProps) == null ? void 0 : _g.isGhMirrors) && showTimeTopic.value && !unref(isPhone)() ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
|
|
11538
11482
|
createVNode(GIcon, {
|
|
11539
11483
|
name: "gt-line-time",
|
|
11540
11484
|
color: "var(--devui-shape-icon-fill)",
|
|
@@ -11548,7 +11492,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11548
11492
|
];
|
|
11549
11493
|
}),
|
|
11550
11494
|
_: 1
|
|
11551
|
-
}, 8, ["loading"])) :
|
|
11495
|
+
}, 8, ["loading"])) : _ctx.scene === unref(SceneValue).user && ((_b = _ctx.userProps) == null ? void 0 : _b.isOtherUser) ? (openBlock(), createElementBlock("div", _hoisted_20$1, [
|
|
11552
11496
|
createVNode(GLink, {
|
|
11553
11497
|
to: { name: "homepage" },
|
|
11554
11498
|
class: "flex flex-1 items-center gap-[8px]"
|
|
@@ -11606,7 +11550,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
11606
11550
|
onClick: handleClick
|
|
11607
11551
|
}, [
|
|
11608
11552
|
createElementVNode("img", {
|
|
11609
|
-
src:
|
|
11553
|
+
src: _ctx.config.logo_url,
|
|
11610
11554
|
alt: "claim power"
|
|
11611
11555
|
}, null, 8, _hoisted_1$r)
|
|
11612
11556
|
])) : createCommentVNode("", true);
|
|
@@ -11660,7 +11604,7 @@ var hasRequiredCore;
|
|
|
11660
11604
|
function requireCore() {
|
|
11661
11605
|
if (hasRequiredCore) return core.exports;
|
|
11662
11606
|
hasRequiredCore = 1;
|
|
11663
|
-
(function(module, exports
|
|
11607
|
+
(function(module, exports) {
|
|
11664
11608
|
(function(root, factory) {
|
|
11665
11609
|
{
|
|
11666
11610
|
module.exports = factory();
|
|
@@ -12267,7 +12211,7 @@ var hasRequiredEncBase64;
|
|
|
12267
12211
|
function requireEncBase64() {
|
|
12268
12212
|
if (hasRequiredEncBase64) return encBase64.exports;
|
|
12269
12213
|
hasRequiredEncBase64 = 1;
|
|
12270
|
-
(function(module, exports
|
|
12214
|
+
(function(module, exports) {
|
|
12271
12215
|
(function(root, factory) {
|
|
12272
12216
|
{
|
|
12273
12217
|
module.exports = factory(requireCore());
|
|
@@ -12374,7 +12318,7 @@ var hasRequiredMd5;
|
|
|
12374
12318
|
function requireMd5() {
|
|
12375
12319
|
if (hasRequiredMd5) return md5.exports;
|
|
12376
12320
|
hasRequiredMd5 = 1;
|
|
12377
|
-
(function(module, exports
|
|
12321
|
+
(function(module, exports) {
|
|
12378
12322
|
(function(root, factory) {
|
|
12379
12323
|
{
|
|
12380
12324
|
module.exports = factory(requireCore());
|
|
@@ -12553,7 +12497,7 @@ var hasRequiredSha1;
|
|
|
12553
12497
|
function requireSha1() {
|
|
12554
12498
|
if (hasRequiredSha1) return sha1.exports;
|
|
12555
12499
|
hasRequiredSha1 = 1;
|
|
12556
|
-
(function(module, exports
|
|
12500
|
+
(function(module, exports) {
|
|
12557
12501
|
(function(root, factory) {
|
|
12558
12502
|
{
|
|
12559
12503
|
module.exports = factory(requireCore());
|
|
@@ -12643,7 +12587,7 @@ var hasRequiredHmac;
|
|
|
12643
12587
|
function requireHmac() {
|
|
12644
12588
|
if (hasRequiredHmac) return hmac.exports;
|
|
12645
12589
|
hasRequiredHmac = 1;
|
|
12646
|
-
(function(module, exports
|
|
12590
|
+
(function(module, exports) {
|
|
12647
12591
|
(function(root, factory) {
|
|
12648
12592
|
{
|
|
12649
12593
|
module.exports = factory(requireCore());
|
|
@@ -12748,7 +12692,7 @@ var hasRequiredEvpkdf;
|
|
|
12748
12692
|
function requireEvpkdf() {
|
|
12749
12693
|
if (hasRequiredEvpkdf) return evpkdf.exports;
|
|
12750
12694
|
hasRequiredEvpkdf = 1;
|
|
12751
|
-
(function(module, exports
|
|
12695
|
+
(function(module, exports) {
|
|
12752
12696
|
(function(root, factory, undef) {
|
|
12753
12697
|
{
|
|
12754
12698
|
module.exports = factory(requireCore(), requireSha1(), requireHmac());
|
|
@@ -12838,7 +12782,7 @@ var hasRequiredCipherCore;
|
|
|
12838
12782
|
function requireCipherCore() {
|
|
12839
12783
|
if (hasRequiredCipherCore) return cipherCore.exports;
|
|
12840
12784
|
hasRequiredCipherCore = 1;
|
|
12841
|
-
(function(module, exports
|
|
12785
|
+
(function(module, exports) {
|
|
12842
12786
|
(function(root, factory, undef) {
|
|
12843
12787
|
{
|
|
12844
12788
|
module.exports = factory(requireCore(), requireEvpkdf());
|
|
@@ -13397,15 +13341,11 @@ function requireCipherCore() {
|
|
|
13397
13341
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
13398
13342
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
13399
13343
|
*/
|
|
13400
|
-
execute: function(password, keySize, ivSize, salt
|
|
13344
|
+
execute: function(password, keySize, ivSize, salt) {
|
|
13401
13345
|
if (!salt) {
|
|
13402
13346
|
salt = WordArray.random(64 / 8);
|
|
13403
13347
|
}
|
|
13404
|
-
|
|
13405
|
-
var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
|
|
13406
|
-
} else {
|
|
13407
|
-
var key = EvpKDF.create({ keySize: keySize + ivSize, hasher }).compute(password, salt);
|
|
13408
|
-
}
|
|
13348
|
+
var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
|
|
13409
13349
|
var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);
|
|
13410
13350
|
key.sigBytes = keySize * 4;
|
|
13411
13351
|
return CipherParams.create({ key, iv, salt });
|
|
@@ -13439,7 +13379,7 @@ function requireCipherCore() {
|
|
|
13439
13379
|
*/
|
|
13440
13380
|
encrypt: function(cipher, message, password, cfg) {
|
|
13441
13381
|
cfg = this.cfg.extend(cfg);
|
|
13442
|
-
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize
|
|
13382
|
+
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize);
|
|
13443
13383
|
cfg.iv = derivedParams.iv;
|
|
13444
13384
|
var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
|
|
13445
13385
|
ciphertext.mixIn(derivedParams);
|
|
@@ -13465,7 +13405,7 @@ function requireCipherCore() {
|
|
|
13465
13405
|
decrypt: function(cipher, ciphertext, password, cfg) {
|
|
13466
13406
|
cfg = this.cfg.extend(cfg);
|
|
13467
13407
|
ciphertext = this._parse(ciphertext, cfg.format);
|
|
13468
|
-
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt
|
|
13408
|
+
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt);
|
|
13469
13409
|
cfg.iv = derivedParams.iv;
|
|
13470
13410
|
var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
|
|
13471
13411
|
return plaintext;
|
|
@@ -13476,7 +13416,7 @@ function requireCipherCore() {
|
|
|
13476
13416
|
})(cipherCore);
|
|
13477
13417
|
return cipherCore.exports;
|
|
13478
13418
|
}
|
|
13479
|
-
(function(module, exports
|
|
13419
|
+
(function(module, exports) {
|
|
13480
13420
|
(function(root, factory, undef) {
|
|
13481
13421
|
{
|
|
13482
13422
|
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
@@ -13625,7 +13565,7 @@ function requireCipherCore() {
|
|
|
13625
13565
|
var aesExports = aes.exports;
|
|
13626
13566
|
const AES = /* @__PURE__ */ getDefaultExportFromCjs(aesExports);
|
|
13627
13567
|
var padPkcs7 = { exports: {} };
|
|
13628
|
-
(function(module, exports
|
|
13568
|
+
(function(module, exports) {
|
|
13629
13569
|
(function(root, factory, undef) {
|
|
13630
13570
|
{
|
|
13631
13571
|
module.exports = factory(requireCore(), requireCipherCore());
|
|
@@ -13637,7 +13577,7 @@ var padPkcs7 = { exports: {} };
|
|
|
13637
13577
|
var padPkcs7Exports = padPkcs7.exports;
|
|
13638
13578
|
const Pkcs7 = /* @__PURE__ */ getDefaultExportFromCjs(padPkcs7Exports);
|
|
13639
13579
|
var encUtf8 = { exports: {} };
|
|
13640
|
-
(function(module, exports
|
|
13580
|
+
(function(module, exports) {
|
|
13641
13581
|
(function(root, factory) {
|
|
13642
13582
|
{
|
|
13643
13583
|
module.exports = factory(requireCore());
|
|
@@ -13770,15 +13710,14 @@ function headRequest(request) {
|
|
|
13770
13710
|
},
|
|
13771
13711
|
/** 获取gitcode手机号验证码 */
|
|
13772
13712
|
verifyRegisterCode(data) {
|
|
13773
|
-
const { mobile, type, raw_data, captchaId, token, authenticate
|
|
13713
|
+
const { mobile, type, raw_data, captchaId, token, authenticate } = data;
|
|
13774
13714
|
const requestData = filterApiParams({
|
|
13775
13715
|
biz_enum: type,
|
|
13776
13716
|
mobile,
|
|
13777
13717
|
raw_data: raw_data || "",
|
|
13778
13718
|
captcha_id: captchaId,
|
|
13779
13719
|
token,
|
|
13780
|
-
authenticate
|
|
13781
|
-
validate
|
|
13720
|
+
authenticate
|
|
13782
13721
|
});
|
|
13783
13722
|
return reqCatch(
|
|
13784
13723
|
() => request({
|
|
@@ -13790,14 +13729,13 @@ function headRequest(request) {
|
|
|
13790
13729
|
},
|
|
13791
13730
|
/** 快捷注册短信验证 */
|
|
13792
13731
|
getQuickLoginMsg(data) {
|
|
13793
|
-
const { mobile, biz_enum, captchaId, token, authenticate
|
|
13732
|
+
const { mobile, biz_enum, captchaId, token, authenticate } = data;
|
|
13794
13733
|
const requestData = filterApiParams({
|
|
13795
13734
|
mobile,
|
|
13796
13735
|
biz_enum: biz_enum || "LOGIN",
|
|
13797
13736
|
captcha_id: captchaId,
|
|
13798
13737
|
token,
|
|
13799
|
-
authenticate
|
|
13800
|
-
validate
|
|
13738
|
+
authenticate
|
|
13801
13739
|
});
|
|
13802
13740
|
return reqCatch(
|
|
13803
13741
|
() => request({
|
|
@@ -13808,10 +13746,10 @@ function headRequest(request) {
|
|
|
13808
13746
|
);
|
|
13809
13747
|
},
|
|
13810
13748
|
/** 重置密码 - 获取手机或者邮箱验证码 */
|
|
13811
|
-
getMobileEmailCode({ mobile_email = "", captcha_id = "", token = "", authenticate = ""
|
|
13749
|
+
getMobileEmailCode({ mobile_email = "", captcha_id = "", token = "", authenticate = "" }) {
|
|
13812
13750
|
return reqCatch(
|
|
13813
13751
|
() => request({
|
|
13814
|
-
url: `/api/v1/user/forgetCode?mobile_email=${mobile_email}&captcha_id=${captcha_id}&token=${token}&authenticate=${authenticate}
|
|
13752
|
+
url: `/api/v1/user/forgetCode?mobile_email=${mobile_email}&captcha_id=${captcha_id}&token=${token}&authenticate=${authenticate}`
|
|
13815
13753
|
})
|
|
13816
13754
|
);
|
|
13817
13755
|
},
|
|
@@ -13901,8 +13839,7 @@ function headRequest(request) {
|
|
|
13901
13839
|
password: cryptoCode.toString(),
|
|
13902
13840
|
captcha_id: data == null ? void 0 : data.captchaId,
|
|
13903
13841
|
token: data == null ? void 0 : data.token,
|
|
13904
|
-
authenticate: data == null ? void 0 : data.authenticate
|
|
13905
|
-
validate: data == null ? void 0 : data.validate
|
|
13842
|
+
authenticate: data == null ? void 0 : data.authenticate
|
|
13906
13843
|
});
|
|
13907
13844
|
return reqCatch(
|
|
13908
13845
|
() => request({
|
|
@@ -14003,15 +13940,6 @@ function headRequest(request) {
|
|
|
14003
13940
|
})
|
|
14004
13941
|
);
|
|
14005
13942
|
},
|
|
14006
|
-
/** 获取配置的图片验证码类型 */
|
|
14007
|
-
getCaptchaType() {
|
|
14008
|
-
return reqCatch(
|
|
14009
|
-
() => request({
|
|
14010
|
-
url: `/uc/api/v1/captcha/config `,
|
|
14011
|
-
method: "get"
|
|
14012
|
-
})
|
|
14013
|
-
);
|
|
14014
|
-
},
|
|
14015
13943
|
// mfa 恢复码登陆
|
|
14016
13944
|
postMfaRecover(data) {
|
|
14017
13945
|
return reqCatchV2(
|
|
@@ -14120,8 +14048,9 @@ const _sfc_main$v = /* @__PURE__ */ Object.assign({
|
|
|
14120
14048
|
(openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
|
|
14121
14049
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
14122
14050
|
item.show !== false ? (openBlock(), createBlock(OptionLink, mergeProps({
|
|
14123
|
-
key: item.label
|
|
14124
|
-
|
|
14051
|
+
key: item.label,
|
|
14052
|
+
ref_for: true
|
|
14053
|
+
}, item, {
|
|
14125
14054
|
onClick: ($event) => handleClick(item)
|
|
14126
14055
|
}), {
|
|
14127
14056
|
default: withCtx(() => [
|
|
@@ -14168,7 +14097,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
14168
14097
|
return (_ctx, _cache) => {
|
|
14169
14098
|
return openBlock(), createBlock(GLink, {
|
|
14170
14099
|
variant: "text",
|
|
14171
|
-
class: normalizeClass(["g-toolbar-docs",
|
|
14100
|
+
class: normalizeClass(["g-toolbar-docs", _ctx.whiteColor ? "white" : "black"]),
|
|
14172
14101
|
href: unref(currentHelpDocsAiCommunityUrl)(),
|
|
14173
14102
|
target: "_blank"
|
|
14174
14103
|
}, {
|
|
@@ -14427,7 +14356,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
14427
14356
|
{ id: "myOrg", label: t2("gitCodeLayout.header.myOrg"), icon: "gt-plane-organization", to: getRouterLink({ name: "settingOrganization" }) },
|
|
14428
14357
|
{ id: "myRepo", label: t2("gitCodeLayout.header.myRepo"), icon: "gt-plane-projectHome1", to: getRouterLink("settingRepo") },
|
|
14429
14358
|
{ id: "myNotebook", label: t2("gitCodeLayout.header.myNotebook"), icon: "gt-plane-Notebook", to: getRouterLink("myNotebook") },
|
|
14430
|
-
{ id: "
|
|
14359
|
+
{ id: "myCloudSpace", label: t2("gitCodeLayout.header.myCloudSpace"), icon: "gt-plane-cloud", href: "https://devstation.connect.huaweicloud.com/devdesktop/webide" },
|
|
14360
|
+
{ id: "mySpaces", label: t2("gitCodeLayout.header.mySpace"), icon: "gt-plane-Space", href: getRouterLink("userSpaces") },
|
|
14431
14361
|
{ id: "myStar", label: t2("gitCodeLayout.header.myStar"), icon: "gt-plane-star", to: getRouterLink("userStars") }
|
|
14432
14362
|
],
|
|
14433
14363
|
[
|
|
@@ -14451,6 +14381,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
14451
14381
|
{ id: "myOrg", label: t2("gitCodeLayout.header.myOrg"), icon: "gt-plane-organization", link: "/setting/organization" },
|
|
14452
14382
|
{ id: "myRepo", label: t2("gitCodeLayout.header.myRepo"), icon: "gt-plane-projectHome1", link: "/setting/repo" },
|
|
14453
14383
|
{ id: "myNotebook", label: t2("gitCodeLayout.header.myNotebook"), icon: "gt-plane-Notebook", show: props.inAIHub, link: `/user/${userInfo.value.username}/notebook` },
|
|
14384
|
+
{ id: "myCloudSpace", label: t2("gitCodeLayout.header.myCloudSpace"), icon: "gt-plane-cloud", link: "https://devstation.connect.huaweicloud.com/devdesktop/webide" },
|
|
14454
14385
|
{ id: "mySpaces", label: t2("gitCodeLayout.header.mySpace"), icon: "gt-plane-Space", show: props.inAIHub, link: `/user/${userInfo.value.username}/spaces` },
|
|
14455
14386
|
{ id: "myStar", label: t2("gitCodeLayout.header.myStar"), icon: "gt-plane-star", link: `/user/${userInfo.value.username}/stars` }
|
|
14456
14387
|
],
|
|
@@ -14527,14 +14458,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
14527
14458
|
}, [
|
|
14528
14459
|
createVNode(GLink, {
|
|
14529
14460
|
class: "g-user-drawer-info pl-[32px] pr-[16px] cursor-pointer",
|
|
14530
|
-
href: `${unref(layoutConfig2).VITE_HOST}/${
|
|
14461
|
+
href: `${unref(layoutConfig2).VITE_HOST}/${_ctx.accountInfo.username}`,
|
|
14531
14462
|
key: "myPage",
|
|
14532
|
-
target:
|
|
14463
|
+
target: _ctx.isChatBot ? "_blank" : ""
|
|
14533
14464
|
}, {
|
|
14534
14465
|
default: withCtx(() => [
|
|
14535
14466
|
createVNode(_sfc_main$A, {
|
|
14536
|
-
name:
|
|
14537
|
-
src:
|
|
14467
|
+
name: _ctx.accountInfo.nickname,
|
|
14468
|
+
src: _ctx.accountInfo.avatar,
|
|
14538
14469
|
width: 52,
|
|
14539
14470
|
height: 52
|
|
14540
14471
|
}, null, 8, ["name", "src"]),
|
|
@@ -14542,12 +14473,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
14542
14473
|
createElementVNode("div", _hoisted_2$j, [
|
|
14543
14474
|
createElementVNode("p", {
|
|
14544
14475
|
class: "g-user-drawer-info-list-name ellipsis",
|
|
14545
|
-
title:
|
|
14546
|
-
}, toDisplayString$1(
|
|
14476
|
+
title: _ctx.accountInfo.nickname
|
|
14477
|
+
}, toDisplayString$1(_ctx.accountInfo.nickname), 9, _hoisted_3$i),
|
|
14547
14478
|
createElementVNode("p", {
|
|
14548
14479
|
class: "g-user-drawer-info-list-id ellipsis",
|
|
14549
|
-
title:
|
|
14550
|
-
}, "@" + toDisplayString$1(
|
|
14480
|
+
title: _ctx.accountInfo.username
|
|
14481
|
+
}, "@" + toDisplayString$1(_ctx.accountInfo.username), 9, _hoisted_4$d)
|
|
14551
14482
|
]),
|
|
14552
14483
|
createVNode(GIcon, {
|
|
14553
14484
|
name: "gt-line-right",
|
|
@@ -14557,23 +14488,24 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
14557
14488
|
]),
|
|
14558
14489
|
_: 1
|
|
14559
14490
|
}, 8, ["href", "target"]),
|
|
14560
|
-
!
|
|
14491
|
+
!_ctx.inAIHub ? (openBlock(), createBlock(UserLevel, {
|
|
14561
14492
|
key: 0,
|
|
14562
|
-
accountInfo:
|
|
14493
|
+
accountInfo: _ctx.accountInfo
|
|
14563
14494
|
}, null, 8, ["accountInfo"])) : createCommentVNode("", true),
|
|
14564
14495
|
(openBlock(true), createElementBlock(Fragment, null, renderList(userMenuList.value, (block, index2) => {
|
|
14565
14496
|
return openBlock(), createElementBlock("div", {
|
|
14566
|
-
class: normalizeClass(["g-user-drawer-block", { "!pt-[0px]": index2 === 0 &&
|
|
14497
|
+
class: normalizeClass(["g-user-drawer-block", { "!pt-[0px]": index2 === 0 && _ctx.inAIHub }]),
|
|
14567
14498
|
key: index2
|
|
14568
14499
|
}, [
|
|
14569
14500
|
block.component ? (openBlock(), createBlock(resolveDynamicComponent(block.component), {
|
|
14570
14501
|
key: block.id
|
|
14571
14502
|
})) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(block, (item) => {
|
|
14572
14503
|
return openBlock(), createBlock(OptionLink, mergeProps({
|
|
14573
|
-
key: item.id
|
|
14574
|
-
|
|
14504
|
+
key: item.id,
|
|
14505
|
+
ref_for: true
|
|
14506
|
+
}, item, {
|
|
14575
14507
|
onClick: ($event) => handleClick(item),
|
|
14576
|
-
target:
|
|
14508
|
+
target: _ctx.isChatBot && !item.action ? "_blank" : item.target || ""
|
|
14577
14509
|
}), {
|
|
14578
14510
|
default: withCtx(() => [
|
|
14579
14511
|
item.icon ? (openBlock(), createBlock(GIcon, {
|
|
@@ -14742,9 +14674,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14742
14674
|
name: accountInfo.value.nickname,
|
|
14743
14675
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
14744
14676
|
}, null, 8, ["name", "src"]),
|
|
14745
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$i,
|
|
14677
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$i, _cache[4] || (_cache[4] = [
|
|
14746
14678
|
createElementVNode("div", null, null, -1)
|
|
14747
|
-
])
|
|
14679
|
+
]))) : createCommentVNode("", true)
|
|
14748
14680
|
])
|
|
14749
14681
|
])) : (openBlock(), createBlock(unref(Dropdown), {
|
|
14750
14682
|
key: 1,
|
|
@@ -14773,9 +14705,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
14773
14705
|
name: accountInfo.value.nickname,
|
|
14774
14706
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
14775
14707
|
}, null, 8, ["name", "src"]),
|
|
14776
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$c,
|
|
14708
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, _cache[5] || (_cache[5] = [
|
|
14777
14709
|
createElementVNode("div", null, null, -1)
|
|
14778
|
-
])
|
|
14710
|
+
]))) : createCommentVNode("", true)
|
|
14779
14711
|
])
|
|
14780
14712
|
]),
|
|
14781
14713
|
_: 1
|
|
@@ -14923,13 +14855,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
14923
14855
|
var _a;
|
|
14924
14856
|
const layoutConfig2 = useLayoutConfig();
|
|
14925
14857
|
const { t: $t } = i18n.global;
|
|
14926
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
14927
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
14928
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
14929
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
14930
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
14931
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
14932
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
14858
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DP4mdU20.js"));
|
|
14859
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-CM0x_99f.js"));
|
|
14860
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DE6yg5WO.js"));
|
|
14861
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-x6o0K-RJ.js"));
|
|
14862
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CCrcO_Uc.js"));
|
|
14863
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-DOds9Jt2.js"));
|
|
14864
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-C3xneFLl.js"));
|
|
14933
14865
|
const props = __props;
|
|
14934
14866
|
const repoInfo = inject("repoInfo");
|
|
14935
14867
|
const orgInfo = inject("orgInfo");
|
|
@@ -15385,9 +15317,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15385
15317
|
});
|
|
15386
15318
|
return (_ctx, _cache) => {
|
|
15387
15319
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
15388
|
-
!
|
|
15320
|
+
!_ctx.inAIHub ? (openBlock(), createElementBlock("div", {
|
|
15389
15321
|
key: 0,
|
|
15390
|
-
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(
|
|
15322
|
+
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(_ctx.isShowStickyNotice) ? "focusSearch-sticky-notice" : ""]),
|
|
15391
15323
|
onClick: _cache[6] || (_cache[6] = withModifiers(() => {
|
|
15392
15324
|
}, ["stop"]))
|
|
15393
15325
|
}, [
|
|
@@ -15400,7 +15332,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15400
15332
|
createVNode(unref(Dropdown), {
|
|
15401
15333
|
align: "start",
|
|
15402
15334
|
position: ["bottom", "bottom-start"],
|
|
15403
|
-
"overlay-class":
|
|
15335
|
+
"overlay-class": _ctx.isShowStickyNotice ? "history-box-sticky-notice history-box" : "history-box",
|
|
15404
15336
|
trigger: "manually",
|
|
15405
15337
|
visible: dropDownVisible.value,
|
|
15406
15338
|
"close-scope": "none",
|
|
@@ -15555,7 +15487,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15555
15487
|
_: 3
|
|
15556
15488
|
}, 8, ["overlay-class", "visible"])
|
|
15557
15489
|
], 2)) : createCommentVNode("", true),
|
|
15558
|
-
|
|
15490
|
+
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
15559
15491
|
createVNode(unref(Input), {
|
|
15560
15492
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
15561
15493
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
@@ -15678,7 +15610,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
15678
15610
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
15679
15611
|
}
|
|
15680
15612
|
};
|
|
15681
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
15613
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-C7DFXBHP.js"));
|
|
15682
15614
|
function clearNotice() {
|
|
15683
15615
|
if (localStorage$2.getItem("validator_email")) {
|
|
15684
15616
|
localStorage$2.removeItem("validator_email");
|
|
@@ -16107,7 +16039,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16107
16039
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
16108
16040
|
}, [
|
|
16109
16041
|
createElementVNode("div", {
|
|
16110
|
-
class: normalizeClass(["g-header allow-click-stop fixed z-20 bg-[var(--theme-default-bg)]", [inAIHub.value ? "ai-hub border-b border-gray-100 " : "", isHome.value && showHeaderShadow.value ? "head-shadow" : "",
|
|
16042
|
+
class: normalizeClass(["g-header allow-click-stop fixed z-20 bg-[var(--theme-default-bg)]", [inAIHub.value ? "ai-hub border-b border-gray-100 " : "", isHome.value && showHeaderShadow.value ? "head-shadow" : "", _ctx.headerBorder ? "oldBorder" : "", headerClassName.value, isIndexHead.value && !showHeaderShadow.value ? "bg-transparent" : ""]]),
|
|
16111
16043
|
ref_key: "headerRef",
|
|
16112
16044
|
ref: headerRef,
|
|
16113
16045
|
style: normalizeStyle(detailBgStyle.value)
|
|
@@ -16145,13 +16077,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16145
16077
|
class: "cursor-pointer hover:!text-[var(--theme-stress-text)] g-toolbar-left-asideicon",
|
|
16146
16078
|
color: "var(--theme-aide-text)"
|
|
16147
16079
|
})) : createCommentVNode("", true),
|
|
16148
|
-
showNameAndIcon.value &&
|
|
16080
|
+
showNameAndIcon.value && _ctx.independence || inAIHub.value ? (openBlock(), createBlock(GLink, {
|
|
16149
16081
|
key: 1,
|
|
16150
16082
|
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
16151
16083
|
style: normalizeStyle(logoStyle.value),
|
|
16152
16084
|
href: inAIHub.value ? `${unref(layoutConfig2).VITE_AI_HOST}` : `${unref(layoutConfig2).VITE_HOST}?p=seo`
|
|
16153
16085
|
}, null, 8, ["class", "style", "href"])) : createCommentVNode("", true),
|
|
16154
|
-
showNameAndIcon.value && !
|
|
16086
|
+
showNameAndIcon.value && !_ctx.independence ? (openBlock(), createBlock(GLink, {
|
|
16155
16087
|
key: 2,
|
|
16156
16088
|
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
16157
16089
|
style: normalizeStyle(logoStyle.value),
|
|
@@ -16164,12 +16096,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16164
16096
|
}, [
|
|
16165
16097
|
_ctx.$slots.headerCustom ? renderSlot(_ctx.$slots, "headerCustom", { key: 0 }, void 0, true) : isModuleVisible(unref(HeaderDisplayItem).CUSTOM_CONTENT) && !showNameAndIcon.value ? (openBlock(), createBlock(HeaderCustom, {
|
|
16166
16098
|
key: 1,
|
|
16167
|
-
scene:
|
|
16168
|
-
isLogin:
|
|
16169
|
-
errorCode: (_a2 =
|
|
16170
|
-
orgProps: (_b =
|
|
16171
|
-
repoProps: (_c =
|
|
16172
|
-
userProps: (_d =
|
|
16099
|
+
scene: _ctx.sceneValue,
|
|
16100
|
+
isLogin: _ctx.isLogin,
|
|
16101
|
+
errorCode: (_a2 = _ctx.headerCustomProps) == null ? void 0 : _a2.errorCode,
|
|
16102
|
+
orgProps: (_b = _ctx.headerCustomProps) == null ? void 0 : _b.orgProps,
|
|
16103
|
+
repoProps: (_c = _ctx.headerCustomProps) == null ? void 0 : _c.repoProps,
|
|
16104
|
+
userProps: (_d = _ctx.headerCustomProps) == null ? void 0 : _d.userProps,
|
|
16173
16105
|
onFollowDevCommunity: _cache[1] || (_cache[1] = ($event) => emit("followDevCommunity", $event)),
|
|
16174
16106
|
onFollowUser: _cache[2] || (_cache[2] = ($event) => emit("followUser"))
|
|
16175
16107
|
}, {
|
|
@@ -16188,7 +16120,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16188
16120
|
(openBlock(), createBlock(Search, {
|
|
16189
16121
|
inAIHub: inAIHub.value,
|
|
16190
16122
|
key: _ctx.$route.fullPath,
|
|
16191
|
-
sceneValue:
|
|
16123
|
+
sceneValue: _ctx.sceneValue,
|
|
16192
16124
|
isShowStickyNotice: isShowStickyNoticeByClose.value
|
|
16193
16125
|
}, {
|
|
16194
16126
|
searchRecommend: withCtx(() => [
|
|
@@ -16207,7 +16139,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16207
16139
|
createElementVNode("div", _hoisted_4$9, [
|
|
16208
16140
|
createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"])
|
|
16209
16141
|
]),
|
|
16210
|
-
!
|
|
16142
|
+
!_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16211
16143
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16212
16144
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
16213
16145
|
key: 0,
|
|
@@ -16249,10 +16181,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16249
16181
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
|
|
16250
16182
|
key: 3,
|
|
16251
16183
|
isChatBot: isChatBot.value,
|
|
16252
|
-
loginOutFinish:
|
|
16184
|
+
loginOutFinish: _ctx.loginOutFinish,
|
|
16253
16185
|
inAIHub: inAIHub.value,
|
|
16254
|
-
independence:
|
|
16255
|
-
userMenus:
|
|
16186
|
+
independence: _ctx.independence,
|
|
16187
|
+
userMenus: _ctx.userMenus
|
|
16256
16188
|
}, null, 8, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
|
|
16257
16189
|
], 64))
|
|
16258
16190
|
], 2)
|
|
@@ -16480,9 +16412,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
16480
16412
|
const layoutConfig2 = useLayoutConfig();
|
|
16481
16413
|
const { t: t2 } = i18n.global;
|
|
16482
16414
|
const route = useRoute();
|
|
16483
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
16484
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
16485
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
16415
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-DbkBMWXk.js"));
|
|
16416
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-Cq0XI_gH.js"));
|
|
16417
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-CC8q9Vs8.js"));
|
|
16486
16418
|
const props = __props;
|
|
16487
16419
|
console.log("slotKeys", props.slotKeys);
|
|
16488
16420
|
console.log("props", props);
|
|
@@ -16649,10 +16581,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
16649
16581
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filterList.value, (item) => {
|
|
16650
16582
|
return openBlock(), createBlock(resolveDynamicComponent(renderComponent(item)), mergeProps({
|
|
16651
16583
|
key: item.id,
|
|
16652
|
-
isLogin:
|
|
16584
|
+
isLogin: _ctx.isLogin,
|
|
16653
16585
|
item,
|
|
16654
|
-
slotKeys:
|
|
16655
|
-
|
|
16586
|
+
slotKeys: _ctx.slotKeys,
|
|
16587
|
+
ref_for: true
|
|
16588
|
+
}, getProps(item)), createSlots({ _: 2 }, [
|
|
16656
16589
|
renderList(mainSiteSlotKeys.value, (key) => {
|
|
16657
16590
|
return {
|
|
16658
16591
|
name: key,
|
|
@@ -16673,9 +16606,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
16673
16606
|
}, {
|
|
16674
16607
|
default: withCtx(() => [
|
|
16675
16608
|
(openBlock(), createBlock(resolveDynamicComponent(LayoutSlotComponent(key)), mergeProps({ ref_for: true }, getProps(item), {
|
|
16676
|
-
slotKeys:
|
|
16609
|
+
slotKeys: _ctx.slotKeys,
|
|
16677
16610
|
item,
|
|
16678
|
-
isLogin:
|
|
16611
|
+
isLogin: _ctx.isLogin
|
|
16679
16612
|
}), null, 16, ["slotKeys", "item", "isLogin"]))
|
|
16680
16613
|
]),
|
|
16681
16614
|
_: 2
|
|
@@ -16742,8 +16675,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
16742
16675
|
createElementVNode("div", _hoisted_2$d, [
|
|
16743
16676
|
(openBlock(true), createElementBlock(Fragment, null, renderList(linkList.value, (item) => {
|
|
16744
16677
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
16745
|
-
key: item.label
|
|
16746
|
-
|
|
16678
|
+
key: item.label,
|
|
16679
|
+
ref_for: true
|
|
16680
|
+
}, item, {
|
|
16747
16681
|
class: ["tools-item-wrapper-checkbox-item", { "checked": unref(lang) === item.value }],
|
|
16748
16682
|
onClick: ($event) => handleClick(item),
|
|
16749
16683
|
title: item.value
|
|
@@ -16794,8 +16728,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
16794
16728
|
createElementVNode("div", _hoisted_2$c, [
|
|
16795
16729
|
(openBlock(true), createElementBlock(Fragment, null, renderList(themeList.value, (item) => {
|
|
16796
16730
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
16797
|
-
key: item.value
|
|
16798
|
-
|
|
16731
|
+
key: item.value,
|
|
16732
|
+
ref_for: true
|
|
16733
|
+
}, item, {
|
|
16799
16734
|
class: ["tools-item-wrapper-checkbox-item", { checked: activeTheme.value === item.value }],
|
|
16800
16735
|
onClick: ($event) => handleClick(item),
|
|
16801
16736
|
title: item.value
|
|
@@ -16835,17 +16770,17 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
16835
16770
|
withDirectives(createElementVNode("div", _hoisted_2$b, [
|
|
16836
16771
|
createVNode(_sfc_main$k)
|
|
16837
16772
|
], 512), [
|
|
16838
|
-
[vShow,
|
|
16773
|
+
[vShow, _ctx.showThemeSetting]
|
|
16839
16774
|
]),
|
|
16840
16775
|
withDirectives(createElementVNode("div", _hoisted_3$b, [
|
|
16841
16776
|
createVNode(_sfc_main$l)
|
|
16842
16777
|
], 512), [
|
|
16843
|
-
[vShow,
|
|
16778
|
+
[vShow, _ctx.showLangSetting]
|
|
16844
16779
|
])
|
|
16845
16780
|
]),
|
|
16846
16781
|
default: withCtx(() => [
|
|
16847
16782
|
createElementVNode("div", {
|
|
16848
|
-
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little":
|
|
16783
|
+
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little": _ctx.asideSetShowLittle }])
|
|
16849
16784
|
}, [
|
|
16850
16785
|
createVNode(GIcon, {
|
|
16851
16786
|
name: "gt-line-setting",
|
|
@@ -17013,7 +16948,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
17013
16948
|
target: "_blank",
|
|
17014
16949
|
rel: "noopener noreferrer"
|
|
17015
16950
|
}, "CSDN", -1)),
|
|
17016
|
-
_cache[2] || (_cache[2] = createTextVNode(" | "
|
|
16951
|
+
_cache[2] || (_cache[2] = createTextVNode(" | ")),
|
|
17017
16952
|
createElementVNode("a", _hoisted_8$2, toDisplayString$1(unref(t2)("gitCodeLayout.home.HWCloud")), 1)
|
|
17018
16953
|
], 2),
|
|
17019
16954
|
createElementVNode("p", _hoisted_9$2, [
|
|
@@ -17026,7 +16961,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
17026
16961
|
]),
|
|
17027
16962
|
_: 1
|
|
17028
16963
|
}, 8, ["href"]),
|
|
17029
|
-
_cache[3] || (_cache[3] = createTextVNode(" | "
|
|
16964
|
+
_cache[3] || (_cache[3] = createTextVNode(" | ")),
|
|
17030
16965
|
createVNode(GLink, {
|
|
17031
16966
|
target: "_blank",
|
|
17032
16967
|
href: unref(copyright).beian_url
|
|
@@ -17168,11 +17103,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
17168
17103
|
});
|
|
17169
17104
|
return (_ctx, _cache) => {
|
|
17170
17105
|
return openBlock(), createBlock(unref(Aside), {
|
|
17171
|
-
class: normalizeClass(["config-aside-content", { "side-bar-content-shot":
|
|
17106
|
+
class: normalizeClass(["config-aside-content", { "side-bar-content-shot": _ctx.asideSetShowLittle }])
|
|
17172
17107
|
}, {
|
|
17173
17108
|
default: withCtx(() => [
|
|
17174
17109
|
createElementVNode("div", {
|
|
17175
|
-
class: normalizeClass(["config-aside__content", { "side-bar-content-shot":
|
|
17110
|
+
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": _ctx.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
|
|
17176
17111
|
}, [
|
|
17177
17112
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
17178
17113
|
createElementVNode("div", {
|
|
@@ -17192,10 +17127,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
17192
17127
|
}, [
|
|
17193
17128
|
createVNode(Area, {
|
|
17194
17129
|
list: getAreaItem(item),
|
|
17195
|
-
isLogin:
|
|
17130
|
+
isLogin: _ctx.isLogin,
|
|
17196
17131
|
slotKeys: layoutSlotKeys.value,
|
|
17197
|
-
sceneValue:
|
|
17198
|
-
asideSetShowLittle:
|
|
17132
|
+
sceneValue: _ctx.sceneValue,
|
|
17133
|
+
asideSetShowLittle: _ctx.asideSetShowLittle
|
|
17199
17134
|
}, createSlots({ _: 2 }, [
|
|
17200
17135
|
renderList(layoutSlotKeys.value, (key) => {
|
|
17201
17136
|
return {
|
|
@@ -17206,24 +17141,24 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
17206
17141
|
};
|
|
17207
17142
|
})
|
|
17208
17143
|
]), 1032, ["list", "isLogin", "slotKeys", "sceneValue", "asideSetShowLittle"]),
|
|
17209
|
-
!
|
|
17144
|
+
!_ctx.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$7)) : createCommentVNode("", true)
|
|
17210
17145
|
], 64);
|
|
17211
17146
|
}), 128)),
|
|
17212
|
-
!
|
|
17147
|
+
!_ctx.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).LINK) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
17213
17148
|
_cache[0] || (_cache[0] = createElementVNode("hr", { class: "line mt-[16px] mb-[16px]" }, null, -1)),
|
|
17214
17149
|
createVNode(SubMenuList)
|
|
17215
17150
|
], 64)) : createCommentVNode("", true)
|
|
17216
17151
|
])),
|
|
17217
|
-
!
|
|
17152
|
+
!_ctx.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).SITE_INFO) ? (openBlock(), createBlock(ContactInfo, { key: 2 })) : createCommentVNode("", true)
|
|
17218
17153
|
], 34),
|
|
17219
17154
|
showPreferencesSetting.value ? (openBlock(), createElementBlock("div", {
|
|
17220
17155
|
key: 0,
|
|
17221
|
-
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little":
|
|
17156
|
+
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little": _ctx.asideSetShowLittle }])
|
|
17222
17157
|
}, [
|
|
17223
17158
|
createVNode(_sfc_main$j, {
|
|
17224
|
-
"show-lang-setting":
|
|
17225
|
-
"show-theme-setting":
|
|
17226
|
-
asideSetShowLittle:
|
|
17159
|
+
"show-lang-setting": _ctx.showLangSetting,
|
|
17160
|
+
"show-theme-setting": _ctx.showThemeSetting,
|
|
17161
|
+
asideSetShowLittle: _ctx.asideSetShowLittle
|
|
17227
17162
|
}, null, 8, ["show-lang-setting", "show-theme-setting", "asideSetShowLittle"])
|
|
17228
17163
|
], 2)) : createCommentVNode("", true)
|
|
17229
17164
|
])), [
|
|
@@ -17366,19 +17301,19 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
17366
17301
|
key: 0,
|
|
17367
17302
|
class: normalizeClass(["left-side-bar", { oldWhite: asideSetShowLittleMode.value, higherZIndex: unref(SITE_STATUS).DISABLE }]),
|
|
17368
17303
|
style: normalizeStyle({ width: mainMarginLeftWidth.value + "px", top: unref(headerHeight2) + "px" }),
|
|
17369
|
-
sceneValue:
|
|
17304
|
+
sceneValue: _ctx.sceneValue,
|
|
17370
17305
|
asideDefaultWidth: mainMarginLeftWidth.value,
|
|
17371
17306
|
asideSetShowLittle: asideSetShowLittleMode.value,
|
|
17372
|
-
isLogin:
|
|
17373
|
-
showPreferencesSetting:
|
|
17374
|
-
showThemeSetting:
|
|
17375
|
-
showLangSetting:
|
|
17376
|
-
independence:
|
|
17377
|
-
slotKeys:
|
|
17378
|
-
collapseMode:
|
|
17379
|
-
disableFlatMode:
|
|
17307
|
+
isLogin: _ctx.isLogin,
|
|
17308
|
+
showPreferencesSetting: _ctx.showPreferencesSetting,
|
|
17309
|
+
showThemeSetting: _ctx.showThemeSetting,
|
|
17310
|
+
showLangSetting: _ctx.showLangSetting,
|
|
17311
|
+
independence: _ctx.independence,
|
|
17312
|
+
slotKeys: _ctx.slotKeys,
|
|
17313
|
+
collapseMode: _ctx.collapseMode,
|
|
17314
|
+
disableFlatMode: _ctx.disableFlatMode
|
|
17380
17315
|
}, createSlots({ _: 2 }, [
|
|
17381
|
-
renderList(
|
|
17316
|
+
renderList(_ctx.slotKeys, (key) => {
|
|
17382
17317
|
return {
|
|
17383
17318
|
name: key,
|
|
17384
17319
|
fn: withCtx(() => [
|
|
@@ -17400,8 +17335,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
17400
17335
|
createVNode(GLink, {
|
|
17401
17336
|
class: "g-toolbar-left-logo",
|
|
17402
17337
|
style: normalizeStyle(logoStyle.value),
|
|
17403
|
-
to:
|
|
17404
|
-
href:
|
|
17338
|
+
to: _ctx.independence ? "" : { name: "home" },
|
|
17339
|
+
href: _ctx.independence ? unref(transformUrl)(unref(layoutConfig2).VITE_HOST) : ""
|
|
17405
17340
|
}, null, 8, ["style", "to", "href"]),
|
|
17406
17341
|
createVNode(unref(Button), {
|
|
17407
17342
|
class: "cursor-pointer draw-side-bar-close",
|
|
@@ -17411,14 +17346,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
17411
17346
|
})
|
|
17412
17347
|
]),
|
|
17413
17348
|
createVNode(ConfigAideContent, mergeProps(props, {
|
|
17414
|
-
sceneValue:
|
|
17349
|
+
sceneValue: _ctx.sceneValue,
|
|
17415
17350
|
asideDefaultWidth: 240,
|
|
17416
|
-
isLogin:
|
|
17417
|
-
showPreferencesSetting:
|
|
17418
|
-
showThemeSetting:
|
|
17419
|
-
showLangSetting:
|
|
17420
|
-
independence:
|
|
17421
|
-
slotKeys:
|
|
17351
|
+
isLogin: _ctx.isLogin,
|
|
17352
|
+
showPreferencesSetting: _ctx.showPreferencesSetting,
|
|
17353
|
+
showThemeSetting: _ctx.showThemeSetting,
|
|
17354
|
+
showLangSetting: _ctx.showLangSetting,
|
|
17355
|
+
independence: _ctx.independence,
|
|
17356
|
+
slotKeys: _ctx.slotKeys
|
|
17422
17357
|
}), null, 16, ["sceneValue", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting", "independence", "slotKeys"])
|
|
17423
17358
|
]),
|
|
17424
17359
|
_: 1
|
|
@@ -18040,12 +17975,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18040
17975
|
showLangSetting: "",
|
|
18041
17976
|
showThemeSetting: ""
|
|
18042
17977
|
}, {
|
|
18043
|
-
home: withCtx(() =>
|
|
17978
|
+
home: withCtx(() => _cache[2] || (_cache[2] = [
|
|
18044
17979
|
createElementVNode("div", null, "首页hover-插槽", -1)
|
|
18045
|
-
])
|
|
18046
|
-
issues: withCtx(() =>
|
|
17980
|
+
])),
|
|
17981
|
+
issues: withCtx(() => _cache[3] || (_cache[3] = [
|
|
18047
17982
|
createElementVNode("div", null, "issues hover-插槽", -1)
|
|
18048
|
-
])
|
|
17983
|
+
])),
|
|
18049
17984
|
_: 1
|
|
18050
17985
|
}, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence", "collapseMode"])
|
|
18051
17986
|
]),
|
|
@@ -18084,18 +18019,18 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
18084
18019
|
key: "是",
|
|
18085
18020
|
value: true
|
|
18086
18021
|
}, {
|
|
18087
|
-
default: withCtx(() =>
|
|
18088
|
-
createTextVNode("是"
|
|
18089
|
-
])
|
|
18022
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
18023
|
+
createTextVNode("是")
|
|
18024
|
+
])),
|
|
18090
18025
|
_: 1
|
|
18091
18026
|
})),
|
|
18092
18027
|
(openBlock(), createBlock(unref(Radio), {
|
|
18093
18028
|
key: "否",
|
|
18094
18029
|
value: false
|
|
18095
18030
|
}, {
|
|
18096
|
-
default: withCtx(() =>
|
|
18097
|
-
createTextVNode("否"
|
|
18098
|
-
])
|
|
18031
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
18032
|
+
createTextVNode("否")
|
|
18033
|
+
])),
|
|
18099
18034
|
_: 1
|
|
18100
18035
|
}))
|
|
18101
18036
|
]),
|
|
@@ -18255,6 +18190,8 @@ async function csdnloginCheck(route, loginCallback, request) {
|
|
|
18255
18190
|
}
|
|
18256
18191
|
const layoutConfig = useLayoutConfig();
|
|
18257
18192
|
const { t: t$2 } = i18n.global;
|
|
18193
|
+
const GRAPH_CODE = 400017;
|
|
18194
|
+
const YUNPIAN_GRAPH_CODE = 400018;
|
|
18258
18195
|
const REMOTE_LOGIN_CODE = 400015;
|
|
18259
18196
|
const MAX_MOBILE_COUNT = 10;
|
|
18260
18197
|
const createLoginConfig = (request) => {
|
|
@@ -18284,34 +18221,23 @@ const createLoginConfig = (request) => {
|
|
|
18284
18221
|
}
|
|
18285
18222
|
},
|
|
18286
18223
|
// 密码登录
|
|
18287
|
-
async password({
|
|
18288
|
-
|
|
18289
|
-
loginParams,
|
|
18290
|
-
graphValidate,
|
|
18291
|
-
lintRemoteLogin,
|
|
18292
|
-
yunpianGraphValidate,
|
|
18293
|
-
yiDunGraphValidate
|
|
18294
|
-
}) {
|
|
18295
|
-
var _a, _b, _c, _d;
|
|
18224
|
+
async password({ param, loginParams, graphValidate, lintRemoteLogin, yunpianGraphValidate }) {
|
|
18225
|
+
var _a, _b, _c;
|
|
18296
18226
|
const { validFunc, successFunc = () => {
|
|
18297
18227
|
}, failFunc = () => {
|
|
18298
|
-
}
|
|
18228
|
+
} } = param;
|
|
18299
18229
|
const check = validFunc ? await validFunc() : true;
|
|
18300
18230
|
if (!check) return;
|
|
18301
18231
|
const result2 = await API.toLogin(loginParams);
|
|
18302
|
-
if (((_a = result2 == null ? void 0 : result2.error) == null ? void 0 : _a.error_code)
|
|
18232
|
+
if (((_a = result2 == null ? void 0 : result2.error) == null ? void 0 : _a.error_code) === GRAPH_CODE) {
|
|
18303
18233
|
graphValidate();
|
|
18304
18234
|
return;
|
|
18305
18235
|
}
|
|
18306
|
-
if (((_b = result2 == null ? void 0 : result2.error) == null ? void 0 : _b.error_code)
|
|
18236
|
+
if (((_b = result2 == null ? void 0 : result2.error) == null ? void 0 : _b.error_code) === YUNPIAN_GRAPH_CODE) {
|
|
18307
18237
|
yunpianGraphValidate();
|
|
18308
18238
|
return;
|
|
18309
18239
|
}
|
|
18310
|
-
if (((_c = result2 == null ? void 0 : result2.error) == null ? void 0 : _c.error_code)
|
|
18311
|
-
yiDunGraphValidate();
|
|
18312
|
-
return;
|
|
18313
|
-
}
|
|
18314
|
-
if (((_d = result2 == null ? void 0 : result2.error) == null ? void 0 : _d.error_code) === REMOTE_LOGIN_CODE) {
|
|
18240
|
+
if (((_c = result2 == null ? void 0 : result2.error) == null ? void 0 : _c.error_code) === REMOTE_LOGIN_CODE) {
|
|
18315
18241
|
lintRemoteLogin();
|
|
18316
18242
|
return;
|
|
18317
18243
|
}
|
|
@@ -18956,13 +18882,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
18956
18882
|
});
|
|
18957
18883
|
return (_ctx, _cache) => {
|
|
18958
18884
|
return openBlock(), createElementBlock("div", {
|
|
18959
|
-
class: normalizeClass(["flex flex-1 g-input-button", [inputBtnClassName.value,
|
|
18885
|
+
class: normalizeClass(["flex flex-1 g-input-button", [inputBtnClassName.value, _ctx.error ? "g-input-button-error" : ""]])
|
|
18960
18886
|
}, [
|
|
18961
18887
|
createVNode(unref(Input), {
|
|
18962
18888
|
modelValue: unref(vModels),
|
|
18963
18889
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
18964
|
-
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label:
|
|
18965
|
-
autocomplete:
|
|
18890
|
+
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: _ctx.placeholder }),
|
|
18891
|
+
autocomplete: _ctx.autocomplete,
|
|
18966
18892
|
onChange: handleChange,
|
|
18967
18893
|
onFocus: handleInputFocus,
|
|
18968
18894
|
onBlur: handleInputBlur
|
|
@@ -18972,7 +18898,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
18972
18898
|
onClick: withModifiers(handleClick, ["stop"]),
|
|
18973
18899
|
class: normalizeClass([
|
|
18974
18900
|
"g-input-button-append",
|
|
18975
|
-
DisabledBtn.value || !
|
|
18901
|
+
DisabledBtn.value || !_ctx.hasMobile ? "g-input-button-append-inactive" : "g-input-button-append-active"
|
|
18976
18902
|
])
|
|
18977
18903
|
}, [
|
|
18978
18904
|
createElementVNode("span", _hoisted_1$a, toDisplayString$1(BtnText.value), 1)
|
|
@@ -19119,8 +19045,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
19119
19045
|
key: 1,
|
|
19120
19046
|
modelValue: unref(vModels),
|
|
19121
19047
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(vModels) ? vModels.value = $event : null)
|
|
19122
|
-
},
|
|
19123
|
-
placeholder:
|
|
19048
|
+
}, _ctx.prop, {
|
|
19049
|
+
placeholder: _ctx.placeholder,
|
|
19124
19050
|
onChange: handleChange
|
|
19125
19051
|
}), {
|
|
19126
19052
|
prepend: withCtx(() => [
|
|
@@ -19372,23 +19298,23 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19372
19298
|
rules: GroupRules,
|
|
19373
19299
|
ref_key: "FormRef",
|
|
19374
19300
|
ref: FormRef,
|
|
19375
|
-
"show-feedback":
|
|
19376
|
-
disabled:
|
|
19377
|
-
"message-type":
|
|
19378
|
-
layout:
|
|
19379
|
-
size:
|
|
19380
|
-
"label-size":
|
|
19381
|
-
"label-align":
|
|
19301
|
+
"show-feedback": _ctx.showFeedback,
|
|
19302
|
+
disabled: _ctx.disabled,
|
|
19303
|
+
"message-type": _ctx.MessageType,
|
|
19304
|
+
layout: _ctx.layout,
|
|
19305
|
+
size: _ctx.size,
|
|
19306
|
+
"label-size": _ctx.labelSize,
|
|
19307
|
+
"label-align": _ctx.labelAlign,
|
|
19382
19308
|
class: "g-form",
|
|
19383
19309
|
onInput: handleFormInput,
|
|
19384
19310
|
requirePosition: "right"
|
|
19385
19311
|
}, {
|
|
19386
19312
|
default: withCtx(() => [
|
|
19387
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
19313
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.DataList, (formItem) => {
|
|
19388
19314
|
return openBlock(), createBlock(unref(FormItem), {
|
|
19389
19315
|
key: formItem.key,
|
|
19390
19316
|
field: formItem.key,
|
|
19391
|
-
label:
|
|
19317
|
+
label: _ctx.showLabel ? formItem.label : "",
|
|
19392
19318
|
"help-tips": formItem.help,
|
|
19393
19319
|
"extra-info": formItem.extra,
|
|
19394
19320
|
style: normalizeStyle({ width: getItemWidth.value(formItem) })
|
|
@@ -19401,8 +19327,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19401
19327
|
modelValue: Data[formItem.key],
|
|
19402
19328
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
19403
19329
|
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label }),
|
|
19404
|
-
onChange: () => handleChange(formItem.key)
|
|
19405
|
-
|
|
19330
|
+
onChange: () => handleChange(formItem.key),
|
|
19331
|
+
ref_for: true
|
|
19332
|
+
}, formItem.props, {
|
|
19406
19333
|
autocomplete: autocompleteCalc((_a = formItem.props) == null ? void 0 : _a.autocomplete),
|
|
19407
19334
|
autofocus: formItem.key === "username",
|
|
19408
19335
|
spellcheck: false
|
|
@@ -19413,22 +19340,24 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19413
19340
|
onChange: ($event) => handleChange(formItem.key),
|
|
19414
19341
|
onClick: ($event) => handleOperate(formItem),
|
|
19415
19342
|
"onUpdate:countdown": ($event) => updateCountdown(formItem),
|
|
19416
|
-
placeholder: formItem.label
|
|
19417
|
-
|
|
19343
|
+
placeholder: formItem.label,
|
|
19344
|
+
ref_for: true
|
|
19345
|
+
}, formItem.props, {
|
|
19418
19346
|
hasMobile: !!Data[(_b = formItem.props) == null ? void 0 : _b.aliasKey],
|
|
19419
19347
|
text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
|
|
19420
|
-
error:
|
|
19348
|
+
error: _ctx.errors.msgError,
|
|
19421
19349
|
autocomplete: autocompleteCalc((_c = formItem.props) == null ? void 0 : _c.autocomplete)
|
|
19422
19350
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "onUpdate:countdown", "placeholder", "hasMobile", "text", "error", "autocomplete"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
19423
19351
|
key: 2,
|
|
19424
19352
|
country: Data.country,
|
|
19425
|
-
class:
|
|
19353
|
+
class: _ctx.formErrors["mobile"] ? "input-select-error" : "",
|
|
19426
19354
|
modelValue: Data[formItem.key],
|
|
19427
19355
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
19428
19356
|
onSelectChange: _cache[0] || (_cache[0] = (evt) => handleSelectChange("country", evt)),
|
|
19429
19357
|
onChange: ($event) => handleChange(formItem.key),
|
|
19430
|
-
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label })
|
|
19431
|
-
|
|
19358
|
+
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: formItem.label }),
|
|
19359
|
+
ref_for: true
|
|
19360
|
+
}, formItem.props, {
|
|
19432
19361
|
editableSelect: formItem.editableSelect
|
|
19433
19362
|
}), null, 16, ["country", "class", "modelValue", "onUpdate:modelValue", "onChange", "placeholder", "editableSelect"])) : (openBlock(), createBlock(resolveDynamicComponent(formItem.render), mergeProps({
|
|
19434
19363
|
key: formItem.key,
|
|
@@ -19436,8 +19365,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19436
19365
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
19437
19366
|
onChange: ($event) => handleChange(formItem.key),
|
|
19438
19367
|
onClick: handleClick,
|
|
19439
|
-
placeholder: formItem.label
|
|
19440
|
-
|
|
19368
|
+
placeholder: formItem.label,
|
|
19369
|
+
ref_for: true
|
|
19370
|
+
}, formItem.props), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "placeholder"]))
|
|
19441
19371
|
];
|
|
19442
19372
|
}),
|
|
19443
19373
|
_: 2
|
|
@@ -19482,7 +19412,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
19482
19412
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
19483
19413
|
createElementVNode("div", _hoisted_2$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")), 1),
|
|
19484
19414
|
createElementVNode("div", _hoisted_3$6, [
|
|
19485
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
19415
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.logos, (icon) => {
|
|
19486
19416
|
return openBlock(), createElementBlock("div", {
|
|
19487
19417
|
key: icon.alt,
|
|
19488
19418
|
class: "rounded-[50%] w-[40px] h-[40px] border-[1px] icon-wrap border-solid cursor-pointer otherInfo-icon"
|
|
@@ -19588,7 +19518,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
19588
19518
|
return (_ctx, _cache) => {
|
|
19589
19519
|
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
19590
19520
|
createVNode(unref(Checkbox), {
|
|
19591
|
-
"model-value":
|
|
19521
|
+
"model-value": _ctx.modelValue,
|
|
19592
19522
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
19593
19523
|
size: "sm"
|
|
19594
19524
|
}, {
|
|
@@ -19607,7 +19537,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
19607
19537
|
_: 1
|
|
19608
19538
|
}, 8, ["model-value"]),
|
|
19609
19539
|
createVNode(unref(Checkbox), {
|
|
19610
|
-
"model-value":
|
|
19540
|
+
"model-value": _ctx.dataShareChecked,
|
|
19611
19541
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (val) => emits("update:dataShareChecked", val)),
|
|
19612
19542
|
size: "sm"
|
|
19613
19543
|
}, {
|
|
@@ -19656,7 +19586,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19656
19586
|
return (_ctx, _cache) => {
|
|
19657
19587
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
19658
19588
|
createVNode(unref(Checkbox), {
|
|
19659
|
-
"model-value":
|
|
19589
|
+
"model-value": _ctx.modelValue,
|
|
19660
19590
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
19661
19591
|
size: "sm",
|
|
19662
19592
|
class: "mt-[6px] agree-module flex items-center"
|
|
@@ -19677,7 +19607,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19677
19607
|
_: 3
|
|
19678
19608
|
}, 8, ["model-value"]),
|
|
19679
19609
|
createVNode(unref(Checkbox), {
|
|
19680
|
-
"model-value":
|
|
19610
|
+
"model-value": _ctx.dataShareChecked,
|
|
19681
19611
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (val) => emits("update:dataShareChecked", val)),
|
|
19682
19612
|
size: "sm",
|
|
19683
19613
|
class: "mb-[12px]"
|
|
@@ -19719,14 +19649,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
19719
19649
|
return (_ctx, _cache) => {
|
|
19720
19650
|
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
19721
19651
|
createElementVNode("div", _hoisted_2$3, [
|
|
19722
|
-
|
|
19652
|
+
_ctx.showBack ? (openBlock(), createElementBlock("img", {
|
|
19723
19653
|
key: 0,
|
|
19724
|
-
src:
|
|
19654
|
+
src: _ctx.icon,
|
|
19725
19655
|
class: "w-[24px] cursor-pointer",
|
|
19726
19656
|
onClick: withModifiers(handleClick, ["stop"])
|
|
19727
19657
|
}, null, 8, _hoisted_3$3)) : createCommentVNode("", true)
|
|
19728
19658
|
]),
|
|
19729
|
-
|
|
19659
|
+
_ctx.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString$1(_ctx.title), 1)) : createCommentVNode("", true)
|
|
19730
19660
|
]);
|
|
19731
19661
|
};
|
|
19732
19662
|
}
|
|
@@ -19760,7 +19690,7 @@ const verifyCodeRegExp4 = /^\d{4}$/;
|
|
|
19760
19690
|
const verifyCodeRegExp6 = /^\d{6}$/;
|
|
19761
19691
|
const mobileRegExp = /^1[3-9]\d{9}$/;
|
|
19762
19692
|
const usernameRegExp = /^(?!-)[a-zA-Z][a-zA-Z0-9_-]{1,49}$/;
|
|
19763
|
-
const metadata = { "version": 4, "country_calling_codes": { "1": ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], "7": ["RU", "KZ"], "20": ["EG"], "27": ["ZA"], "30": ["GR"], "31": ["NL"], "32": ["BE"], "33": ["FR"], "34": ["ES"], "36": ["HU"], "39": ["IT", "VA"], "40": ["RO"], "41": ["CH"], "43": ["AT"], "44": ["GB", "GG", "IM", "JE"], "45": ["DK"], "46": ["SE"], "47": ["NO", "SJ"], "48": ["PL"], "49": ["DE"], "51": ["PE"], "52": ["MX"], "53": ["CU"], "54": ["AR"], "55": ["BR"], "56": ["CL"], "57": ["CO"], "58": ["VE"], "60": ["MY"], "61": ["AU", "CC", "CX"], "62": ["ID"], "63": ["PH"], "64": ["NZ"], "65": ["SG"], "66": ["TH"], "81": ["JP"], "82": ["KR"], "84": ["VN"], "86": ["CN"], "90": ["TR"], "91": ["IN"], "92": ["PK"], "93": ["AF"], "94": ["LK"], "95": ["MM"], "98": ["IR"], "211": ["SS"], "212": ["MA", "EH"], "213": ["DZ"], "216": ["TN"], "218": ["LY"], "220": ["GM"], "221": ["SN"], "222": ["MR"], "223": ["ML"], "224": ["GN"], "225": ["CI"], "226": ["BF"], "227": ["NE"], "228": ["TG"], "229": ["BJ"], "230": ["MU"], "231": ["LR"], "232": ["SL"], "233": ["GH"], "234": ["NG"], "235": ["TD"], "236": ["CF"], "237": ["CM"], "238": ["CV"], "239": ["ST"], "240": ["GQ"], "241": ["GA"], "242": ["CG"], "243": ["CD"], "244": ["AO"], "245": ["GW"], "246": ["IO"], "247": ["AC"], "248": ["SC"], "249": ["SD"], "250": ["RW"], "251": ["ET"], "252": ["SO"], "253": ["DJ"], "254": ["KE"], "255": ["TZ"], "256": ["UG"], "257": ["BI"], "258": ["MZ"], "260": ["ZM"], "261": ["MG"], "262": ["RE", "YT"], "263": ["ZW"], "264": ["NA"], "265": ["MW"], "266": ["LS"], "267": ["BW"], "268": ["SZ"], "269": ["KM"], "290": ["SH", "TA"], "291": ["ER"], "297": ["AW"], "298": ["FO"], "299": ["GL"], "350": ["GI"], "351": ["PT"], "352": ["LU"], "353": ["IE"], "354": ["IS"], "355": ["AL"], "356": ["MT"], "357": ["CY"], "358": ["FI", "AX"], "359": ["BG"], "370": ["LT"], "371": ["LV"], "372": ["EE"], "373": ["MD"], "374": ["AM"], "375": ["BY"], "376": ["AD"], "377": ["MC"], "378": ["SM"], "380": ["UA"], "381": ["RS"], "382": ["ME"], "383": ["XK"], "385": ["HR"], "386": ["SI"], "387": ["BA"], "389": ["MK"], "420": ["CZ"], "421": ["SK"], "423": ["LI"], "500": ["FK"], "501": ["BZ"], "502": ["GT"], "503": ["SV"], "504": ["HN"], "505": ["NI"], "506": ["CR"], "507": ["PA"], "508": ["PM"], "509": ["HT"], "590": ["GP", "BL", "MF"], "591": ["BO"], "592": ["GY"], "593": ["EC"], "594": ["GF"], "595": ["PY"], "596": ["MQ"], "597": ["SR"], "598": ["UY"], "599": ["CW", "BQ"], "670": ["TL"], "672": ["NF"], "673": ["BN"], "674": ["NR"], "675": ["PG"], "676": ["TO"], "677": ["SB"], "678": ["VU"], "679": ["FJ"], "680": ["PW"], "681": ["WF"], "682": ["CK"], "683": ["NU"], "685": ["WS"], "686": ["KI"], "687": ["NC"], "688": ["TV"], "689": ["PF"], "690": ["TK"], "691": ["FM"], "692": ["MH"], "850": ["KP"], "852": ["HK"], "853": ["MO"], "855": ["KH"], "856": ["LA"], "880": ["BD"], "886": ["TW"], "960": ["MV"], "961": ["LB"], "962": ["JO"], "963": ["SY"], "964": ["IQ"], "965": ["KW"], "966": ["SA"], "967": ["YE"], "968": ["OM"], "970": ["PS"], "971": ["AE"], "972": ["IL"], "973": ["BH"], "974": ["QA"], "975": ["BT"], "976": ["MN"], "977": ["NP"], "992": ["TJ"], "993": ["TM"], "994": ["AZ"], "995": ["GE"], "996": ["KG"], "998": ["UZ"] }, "countries": { "AC": ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], "AD": ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], "AE": ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], "AF": ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], "AG": ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], "AI": ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], "AL": ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], "AM": ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], "AO": ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], "AR": ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], "AS": ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], "AT": ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], "AU": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "AW": ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], "AX": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], "AZ": ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], "BA": ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], "BB": ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], "BD": ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], "BE": ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], "BF": ["226", "00", "(?:[025-7]\\d|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], "BG": ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], "BH": ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], "BI": ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], "BJ": ["229", "00", "(?:01\\d|8)\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], "BL": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "BM": ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], "BN": ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], "BO": ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], "BQ": ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], "BR": ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], "BS": ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], "BT": ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\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]"]]]], "BW": ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\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"]]]], "BY": ["375", "810", "(?:[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], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], "BZ": ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], "CA": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], "CC": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CD": ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], "CF": ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], "CG": ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], "CH": ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], "CI": ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], "CK": ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], "CL": ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\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])"]], ["(\\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"]]]], "CM": ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], "CN": ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], "CO": ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], "CR": ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], "CU": ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], "CV": ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], "CW": ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], "CX": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CY": ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], "CZ": ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\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"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], "DE": ["49", "00", "[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], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\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"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], "DJ": ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], "DK": ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], "DM": ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], "DO": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], "DZ": ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], "EC": ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], "EE": ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "EG": ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], "EH": ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], "ER": ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], "ES": ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], "ET": ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], "FI": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], "FJ": ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "FK": ["500", "00", "[2-7]\\d{4}", [5]], "FM": ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], "FO": ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], "FR": ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], "GA": ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], "GB": ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], "GD": ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], "GE": ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], "GF": ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], "GG": ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], "GH": ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], "GI": ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], "GL": ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], "GM": ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "GN": ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], "GP": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "GQ": ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], "GR": ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], "GT": ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "GU": ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], "GW": ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], "GY": ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "HK": ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "HN": ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], "HR": ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], "HT": ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], "HU": ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], "ID": ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], "IE": ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "IL": ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], "IM": ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], "IN": ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\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)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\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], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["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]", "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]", "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]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["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", "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]", "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]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], "IO": ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], "IQ": ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\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"]], "0"], "IR": ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], "IS": ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "IT": ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], "JE": ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], "JM": ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], "JO": ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], "JP": ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], "KE": ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], "KG": ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "KH": ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "KI": ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], "KM": ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], "KN": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], "KP": ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], "KR": ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], "KW": ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], "KY": ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], "KZ": ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|7", 0, "8~10"], "LA": ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], "LB": ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], "LC": ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], "LI": ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], "LK": ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], "LR": ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], "LS": ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], "LT": ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], "LU": ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], "LV": ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], "LY": ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], "MA": ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:[19]|2[2-46-9]|3[3-9])|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], "MC": ["377", "00", "(?:[3489]|[67]\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[67]"], "0$1"]], "0"], "MD": ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], "ME": ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], "MF": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "MG": ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], "MH": ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], "MK": ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], "ML": ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], "MM": ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], "MN": ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], "MO": ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], "MP": ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], "MQ": ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "MR": ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], "MS": ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], "MT": ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], "MU": ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], "MV": ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MW": ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], "MX": ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MY": ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], "MZ": ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "NA": ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "NC": ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], "NE": ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], "NF": ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], "NG": ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], "NI": ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], "NL": ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], "NO": ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], "NP": ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], "NR": ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], "NU": ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], "NZ": ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], "OM": ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], "PA": ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], "PE": ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], "PF": ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "PG": ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "PH": ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], "PK": ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], "PL": ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], "PM": ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "PR": ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], "PS": ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "PT": ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], "PW": ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "PY": ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], "QA": ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], "RE": ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], "RO": ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], "RS": ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], "RU": ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, 0, [["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}", [10]], ["9\\d{9}", [10]], ["8(?:0[04]|108\\d{3})\\d{7}"], ["80[39]\\d{7}", [10]], ["808\\d{7}", [10]]], "8~10"], "RW": ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], "SA": ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], "SB": ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], "SC": ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "SD": ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "SE": ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], "SG": ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\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"]]]], "SH": ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], "SI": ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], "SJ": ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], "SK": ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\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)(\\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"]], "0"], "SL": ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], "SM": ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], "SN": ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\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]"]]]], "SO": ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\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]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\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]"]]], "0"], "SR": ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\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]"]]]], "SS": ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "ST": ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], "SV": ["503", "00", "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], "SX": ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], "SY": ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], "SZ": ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], "TA": ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], "TC": ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], "TD": ["235", "00|16", "(?:22|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "TG": ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], "TH": ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "TJ": ["992", "810", "(?:[0-57-9]\\d|66)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["\\d"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], "TK": ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], "TL": ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], "TM": ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], "TN": ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], "TO": ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], "TR": ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], "TT": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], "TV": ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "TW": ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], "TZ": ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], "UA": ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], "UG": ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], "US": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], "UY": ["598", "0(?:0|1[3-9]\\d)", "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], [["(\\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"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], "UZ": ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], "VA": ["39", "00", "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], 0, 0, 0, 0, 0, 0, "06698"], "VC": ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], "VE": ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], "VG": ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], "VI": ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], "VN": ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], "VU": ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], "WF": ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "WS": ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "XK": ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], "YE": ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], "YT": ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], "ZA": ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "ZM": ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], "ZW": ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, "nonGeographic": { "800": ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], "808": ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], "870": ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], "878": ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], "881": ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], "882": ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], "883": ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], "888": ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], "979": ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
19693
|
+
const metadata = { "version": 4, "country_calling_codes": { "1": ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], "7": ["RU", "KZ"], "20": ["EG"], "27": ["ZA"], "30": ["GR"], "31": ["NL"], "32": ["BE"], "33": ["FR"], "34": ["ES"], "36": ["HU"], "39": ["IT", "VA"], "40": ["RO"], "41": ["CH"], "43": ["AT"], "44": ["GB", "GG", "IM", "JE"], "45": ["DK"], "46": ["SE"], "47": ["NO", "SJ"], "48": ["PL"], "49": ["DE"], "51": ["PE"], "52": ["MX"], "53": ["CU"], "54": ["AR"], "55": ["BR"], "56": ["CL"], "57": ["CO"], "58": ["VE"], "60": ["MY"], "61": ["AU", "CC", "CX"], "62": ["ID"], "63": ["PH"], "64": ["NZ"], "65": ["SG"], "66": ["TH"], "81": ["JP"], "82": ["KR"], "84": ["VN"], "86": ["CN"], "90": ["TR"], "91": ["IN"], "92": ["PK"], "93": ["AF"], "94": ["LK"], "95": ["MM"], "98": ["IR"], "211": ["SS"], "212": ["MA", "EH"], "213": ["DZ"], "216": ["TN"], "218": ["LY"], "220": ["GM"], "221": ["SN"], "222": ["MR"], "223": ["ML"], "224": ["GN"], "225": ["CI"], "226": ["BF"], "227": ["NE"], "228": ["TG"], "229": ["BJ"], "230": ["MU"], "231": ["LR"], "232": ["SL"], "233": ["GH"], "234": ["NG"], "235": ["TD"], "236": ["CF"], "237": ["CM"], "238": ["CV"], "239": ["ST"], "240": ["GQ"], "241": ["GA"], "242": ["CG"], "243": ["CD"], "244": ["AO"], "245": ["GW"], "246": ["IO"], "247": ["AC"], "248": ["SC"], "249": ["SD"], "250": ["RW"], "251": ["ET"], "252": ["SO"], "253": ["DJ"], "254": ["KE"], "255": ["TZ"], "256": ["UG"], "257": ["BI"], "258": ["MZ"], "260": ["ZM"], "261": ["MG"], "262": ["RE", "YT"], "263": ["ZW"], "264": ["NA"], "265": ["MW"], "266": ["LS"], "267": ["BW"], "268": ["SZ"], "269": ["KM"], "290": ["SH", "TA"], "291": ["ER"], "297": ["AW"], "298": ["FO"], "299": ["GL"], "350": ["GI"], "351": ["PT"], "352": ["LU"], "353": ["IE"], "354": ["IS"], "355": ["AL"], "356": ["MT"], "357": ["CY"], "358": ["FI", "AX"], "359": ["BG"], "370": ["LT"], "371": ["LV"], "372": ["EE"], "373": ["MD"], "374": ["AM"], "375": ["BY"], "376": ["AD"], "377": ["MC"], "378": ["SM"], "380": ["UA"], "381": ["RS"], "382": ["ME"], "383": ["XK"], "385": ["HR"], "386": ["SI"], "387": ["BA"], "389": ["MK"], "420": ["CZ"], "421": ["SK"], "423": ["LI"], "500": ["FK"], "501": ["BZ"], "502": ["GT"], "503": ["SV"], "504": ["HN"], "505": ["NI"], "506": ["CR"], "507": ["PA"], "508": ["PM"], "509": ["HT"], "590": ["GP", "BL", "MF"], "591": ["BO"], "592": ["GY"], "593": ["EC"], "594": ["GF"], "595": ["PY"], "596": ["MQ"], "597": ["SR"], "598": ["UY"], "599": ["CW", "BQ"], "670": ["TL"], "672": ["NF"], "673": ["BN"], "674": ["NR"], "675": ["PG"], "676": ["TO"], "677": ["SB"], "678": ["VU"], "679": ["FJ"], "680": ["PW"], "681": ["WF"], "682": ["CK"], "683": ["NU"], "685": ["WS"], "686": ["KI"], "687": ["NC"], "688": ["TV"], "689": ["PF"], "690": ["TK"], "691": ["FM"], "692": ["MH"], "850": ["KP"], "852": ["HK"], "853": ["MO"], "855": ["KH"], "856": ["LA"], "880": ["BD"], "886": ["TW"], "960": ["MV"], "961": ["LB"], "962": ["JO"], "963": ["SY"], "964": ["IQ"], "965": ["KW"], "966": ["SA"], "967": ["YE"], "968": ["OM"], "970": ["PS"], "971": ["AE"], "972": ["IL"], "973": ["BH"], "974": ["QA"], "975": ["BT"], "976": ["MN"], "977": ["NP"], "992": ["TJ"], "993": ["TM"], "994": ["AZ"], "995": ["GE"], "996": ["KG"], "998": ["UZ"] }, "countries": { "AC": ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], "AD": ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], "AE": ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], "AF": ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], "AG": ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], "AI": ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], "AL": ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], "AM": ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], "AO": ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], "AR": ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], "AS": ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], "AT": ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], "AU": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "AW": ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], "AX": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], "AZ": ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], "BA": ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], "BB": ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], "BD": ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], "BE": ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], "BF": ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], "BG": ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], "BH": ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], "BI": ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], "BJ": ["229", "00", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], "BL": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "BM": ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], "BN": ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], "BO": ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], "BQ": ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], "BR": ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], "BS": ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], "BT": ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\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"]]]], "BW": ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\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"]]]], "BY": ["375", "810", "(?:[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], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], "BZ": ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], "CA": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], "CC": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CD": ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], "CF": ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], "CG": ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], "CH": ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], "CI": ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], "CK": ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], "CL": ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\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[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[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"]]]], "CM": ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], "CN": ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], "CO": ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], "CR": ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], "CU": ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], "CV": ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], "CW": ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], "CX": ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], "CY": ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], "CZ": ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\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"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], "DE": ["49", "00", "[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], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\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"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], "DJ": ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], "DK": ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], "DM": ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], "DO": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], "DZ": ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], "EC": ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], "EE": ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "EG": ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], "EH": ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], "ER": ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], "ES": ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], "ET": ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], "FI": ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], "FJ": ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "FK": ["500", "00", "[2-7]\\d{4}", [5]], "FM": ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], "FO": ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], "FR": ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], "GA": ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], "GB": ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], "GD": ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], "GE": ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], "GF": ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], "GG": ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], "GH": ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], "GI": ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], "GL": ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], "GM": ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "GN": ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], "GP": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "GQ": ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], "GR": ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], "GT": ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], "GU": ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], "GW": ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], "GY": ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "HK": ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "HN": ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], "HR": ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], "HT": ["509", "00", "(?:[2-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], "HU": ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], "ID": ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], "IE": ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "IL": ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], "IM": ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0", "1624$1", 0, "74576|(?:16|7[56])24"], "IN": ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\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)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\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], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["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]", "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]", "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]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["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", "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]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|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]|8[124-6])\\d|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]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], "IO": ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], "IQ": ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\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"]], "0"], "IR": ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], "IS": ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "IT": ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], "JE": ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], "JM": ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], "JO": ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], "JP": ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0", 0, "(000[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], "KE": ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], "KG": ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "KH": ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "KI": ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], "KM": ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], "KN": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], "KP": ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], "KR": ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], "KW": ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], "KY": ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], "KZ": ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], "LA": ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["30[0135-9]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], "LB": ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], "LC": ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], "LI": ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], "LK": ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], "LR": ["231", "00", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], "LS": ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], "LT": ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], "LU": ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], "LV": ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], "LY": ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], "MA": ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], "MC": ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], "MD": ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], "ME": ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], "MF": ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], "MG": ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], "MH": ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], "MK": ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], "ML": ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], "MM": ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], "MN": ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], "MO": ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], "MP": ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], "MQ": ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "MR": ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], "MS": ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], "MT": ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], "MU": ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], "MV": ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MW": ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], "MX": ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "MY": ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], "MZ": ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], "NA": ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "NC": ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], "NE": ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], "NF": ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], "NG": ["234", "009", "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", [8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], "NI": ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], "NL": ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], "NO": ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], "NP": ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], "NR": ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], "NU": ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], "NZ": ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], "OM": ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], "PA": ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], "PE": ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], "PF": ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "PG": ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "PH": ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], "PK": ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], "PL": ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], "PM": ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], "PR": ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], "PS": ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "PT": ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], "PW": ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], "PY": ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], "QA": ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[16]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], "RE": ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], "RO": ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], "RS": ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], "RU": ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "3[04-689]|[489]", 0, "8~10"], "RW": ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], "SA": ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], "SB": ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], "SC": ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "SD": ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "SE": ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], "SG": ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\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"]]]], "SH": ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], "SI": ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], "SJ": ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], "SK": ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\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)(\\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"]], "0"], "SL": ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], "SM": ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], "SN": ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\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]"]]]], "SO": ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\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]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\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]"]]], "0"], "SR": ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\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-8]"]]]], "SS": ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], "ST": ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], "SV": ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], "SX": ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], "SY": ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], "SZ": ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], "TA": ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], "TC": ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], "TD": ["235", "00|16", "(?:22|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], "TG": ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], "TH": ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], "TJ": ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], "TK": ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], "TL": ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], "TM": ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], "TN": ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], "TO": ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], "TR": ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], "TT": ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], "TV": ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "TW": ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], "TZ": ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], "UA": ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], "UG": ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], "US": ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], "UY": ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\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"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], "UZ": ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], "VA": ["39", "00", "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], 0, 0, 0, 0, 0, 0, "06698"], "VC": ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], "VE": ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], "VG": ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], "VI": ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], "VN": ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], "VU": ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], "WF": ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], "WS": ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], "XK": ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], "YE": ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], "YT": ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], "ZA": ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], "ZM": ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], "ZW": ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, "nonGeographic": { "800": ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], "808": ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], "870": ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], "878": ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], "881": ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], "882": ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], "883": ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], "888": ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], "979": ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
19764
19694
|
function withMetadataArgument(func, _arguments) {
|
|
19765
19695
|
var args = Array.prototype.slice.call(_arguments);
|
|
19766
19696
|
args.push(metadata);
|
|
@@ -19788,39 +19718,32 @@ var objectConstructor = {}.constructor;
|
|
|
19788
19718
|
function isObject(object) {
|
|
19789
19719
|
return object !== void 0 && object !== null && object.constructor === objectConstructor;
|
|
19790
19720
|
}
|
|
19791
|
-
function _typeof$
|
|
19721
|
+
function _typeof$1(obj) {
|
|
19792
19722
|
"@babel/helpers - typeof";
|
|
19793
|
-
return _typeof$
|
|
19794
|
-
return typeof
|
|
19795
|
-
} : function(
|
|
19796
|
-
return
|
|
19797
|
-
}, _typeof$
|
|
19798
|
-
}
|
|
19799
|
-
function _classCallCheck$2(a, n) {
|
|
19800
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
19723
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
19724
|
+
return typeof obj2;
|
|
19725
|
+
} : function(obj2) {
|
|
19726
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
19727
|
+
}, _typeof$1(obj);
|
|
19801
19728
|
}
|
|
19802
|
-
function
|
|
19803
|
-
|
|
19804
|
-
|
|
19805
|
-
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$6(o.key), o);
|
|
19729
|
+
function _classCallCheck$2(instance, Constructor) {
|
|
19730
|
+
if (!(instance instanceof Constructor)) {
|
|
19731
|
+
throw new TypeError("Cannot call a class as a function");
|
|
19806
19732
|
}
|
|
19807
19733
|
}
|
|
19808
|
-
function
|
|
19809
|
-
|
|
19810
|
-
|
|
19811
|
-
|
|
19812
|
-
|
|
19813
|
-
|
|
19814
|
-
|
|
19815
|
-
function _toPrimitive$6(t2, r) {
|
|
19816
|
-
if ("object" != _typeof$7(t2) || !t2) return t2;
|
|
19817
|
-
var e = t2[Symbol.toPrimitive];
|
|
19818
|
-
if (void 0 !== e) {
|
|
19819
|
-
var i = e.call(t2, r);
|
|
19820
|
-
if ("object" != _typeof$7(i)) return i;
|
|
19821
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
19734
|
+
function _defineProperties$1(target, props) {
|
|
19735
|
+
for (var i = 0; i < props.length; i++) {
|
|
19736
|
+
var descriptor = props[i];
|
|
19737
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
19738
|
+
descriptor.configurable = true;
|
|
19739
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
19740
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19822
19741
|
}
|
|
19823
|
-
|
|
19742
|
+
}
|
|
19743
|
+
function _createClass$2(Constructor, protoProps, staticProps) {
|
|
19744
|
+
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
19745
|
+
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
19746
|
+
return Constructor;
|
|
19824
19747
|
}
|
|
19825
19748
|
var V3 = "1.2.0";
|
|
19826
19749
|
var V4 = "1.7.35";
|
|
@@ -19833,7 +19756,7 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
19833
19756
|
this.metadata = metadata2;
|
|
19834
19757
|
setVersion.call(this, metadata2);
|
|
19835
19758
|
}
|
|
19836
|
-
|
|
19759
|
+
_createClass$2(Metadata2, [{
|
|
19837
19760
|
key: "getCountries",
|
|
19838
19761
|
value: function getCountries() {
|
|
19839
19762
|
return Object.keys(this.metadata.countries).filter(function(_) {
|
|
@@ -20038,6 +19961,7 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
20038
19961
|
return this.numberingPlan !== void 0;
|
|
20039
19962
|
}
|
|
20040
19963
|
}]);
|
|
19964
|
+
return Metadata2;
|
|
20041
19965
|
}();
|
|
20042
19966
|
var NumberingPlan = /* @__PURE__ */ function() {
|
|
20043
19967
|
function NumberingPlan2(metadata2, globalMetadataObject) {
|
|
@@ -20046,7 +19970,7 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
20046
19970
|
this.metadata = metadata2;
|
|
20047
19971
|
setVersion.call(this, globalMetadataObject.metadata);
|
|
20048
19972
|
}
|
|
20049
|
-
|
|
19973
|
+
_createClass$2(NumberingPlan2, [{
|
|
20050
19974
|
key: "callingCode",
|
|
20051
19975
|
value: function callingCode() {
|
|
20052
19976
|
return this.metadata[0];
|
|
@@ -20185,6 +20109,7 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
20185
20109
|
return this.metadata[13] || DEFAULT_EXT_PREFIX;
|
|
20186
20110
|
}
|
|
20187
20111
|
}]);
|
|
20112
|
+
return NumberingPlan2;
|
|
20188
20113
|
}();
|
|
20189
20114
|
var Format = /* @__PURE__ */ function() {
|
|
20190
20115
|
function Format2(format2, metadata2) {
|
|
@@ -20192,7 +20117,7 @@ var Format = /* @__PURE__ */ function() {
|
|
|
20192
20117
|
this._format = format2;
|
|
20193
20118
|
this.metadata = metadata2;
|
|
20194
20119
|
}
|
|
20195
|
-
|
|
20120
|
+
_createClass$2(Format2, [{
|
|
20196
20121
|
key: "pattern",
|
|
20197
20122
|
value: function pattern() {
|
|
20198
20123
|
return this._format[0];
|
|
@@ -20235,6 +20160,7 @@ var Format = /* @__PURE__ */ function() {
|
|
|
20235
20160
|
return this._format[5] || this.format();
|
|
20236
20161
|
}
|
|
20237
20162
|
}]);
|
|
20163
|
+
return Format2;
|
|
20238
20164
|
}();
|
|
20239
20165
|
var FIRST_GROUP_ONLY_PREFIX_PATTERN = /^\(?\$1\)?$/;
|
|
20240
20166
|
var Type = /* @__PURE__ */ function() {
|
|
@@ -20243,7 +20169,7 @@ var Type = /* @__PURE__ */ function() {
|
|
|
20243
20169
|
this.type = type;
|
|
20244
20170
|
this.metadata = metadata2;
|
|
20245
20171
|
}
|
|
20246
|
-
|
|
20172
|
+
_createClass$2(Type2, [{
|
|
20247
20173
|
key: "pattern",
|
|
20248
20174
|
value: function pattern() {
|
|
20249
20175
|
if (this.metadata.v1) return this.type;
|
|
@@ -20256,6 +20182,7 @@ var Type = /* @__PURE__ */ function() {
|
|
|
20256
20182
|
return this.type[1] || this.metadata.possibleLengths();
|
|
20257
20183
|
}
|
|
20258
20184
|
}]);
|
|
20185
|
+
return Type2;
|
|
20259
20186
|
}();
|
|
20260
20187
|
function getType(types, type) {
|
|
20261
20188
|
switch (type) {
|
|
@@ -20290,12 +20217,12 @@ function validateMetadata(metadata2) {
|
|
|
20290
20217
|
}
|
|
20291
20218
|
}
|
|
20292
20219
|
var typeOf = function typeOf2(_) {
|
|
20293
|
-
return _typeof$
|
|
20220
|
+
return _typeof$1(_);
|
|
20294
20221
|
};
|
|
20295
20222
|
function getCountryCallingCode(country, metadata2) {
|
|
20296
20223
|
metadata2 = new Metadata(metadata2);
|
|
20297
20224
|
if (metadata2.hasCountry(country)) {
|
|
20298
|
-
return metadata2.
|
|
20225
|
+
return metadata2.country(country).countryCallingCode();
|
|
20299
20226
|
}
|
|
20300
20227
|
throw new Error("Unknown country: ".concat(country));
|
|
20301
20228
|
}
|
|
@@ -20321,14 +20248,10 @@ function setVersion(metadata2) {
|
|
|
20321
20248
|
}
|
|
20322
20249
|
}
|
|
20323
20250
|
}
|
|
20324
|
-
function checkNumberLength(nationalNumber,
|
|
20325
|
-
return checkNumberLengthForType(nationalNumber,
|
|
20251
|
+
function checkNumberLength(nationalNumber, metadata2) {
|
|
20252
|
+
return checkNumberLengthForType(nationalNumber, void 0, metadata2);
|
|
20326
20253
|
}
|
|
20327
|
-
function checkNumberLengthForType(nationalNumber,
|
|
20328
|
-
if (country) {
|
|
20329
|
-
metadata2 = new Metadata(metadata2.metadata);
|
|
20330
|
-
metadata2.selectNumberingPlan(country);
|
|
20331
|
-
}
|
|
20254
|
+
function checkNumberLengthForType(nationalNumber, type, metadata2) {
|
|
20332
20255
|
var type_info = metadata2.type(type);
|
|
20333
20256
|
var possible_lengths = type_info && type_info.possibleLengths() || metadata2.possibleLengths();
|
|
20334
20257
|
if (!possible_lengths) {
|
|
@@ -20365,7 +20288,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
20365
20288
|
if (!metadata2.hasCountry(input.country)) {
|
|
20366
20289
|
throw new Error("Unknown country: ".concat(input.country));
|
|
20367
20290
|
}
|
|
20368
|
-
metadata2.
|
|
20291
|
+
metadata2.country(input.country);
|
|
20369
20292
|
} else {
|
|
20370
20293
|
if (!input.countryCallingCode) {
|
|
20371
20294
|
throw new Error("Invalid phone number object passed");
|
|
@@ -20374,7 +20297,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
20374
20297
|
}
|
|
20375
20298
|
}
|
|
20376
20299
|
if (metadata2.possibleLengths()) {
|
|
20377
|
-
return isPossibleNumber(input.phone || input.nationalNumber,
|
|
20300
|
+
return isPossibleNumber(input.phone || input.nationalNumber, metadata2);
|
|
20378
20301
|
} else {
|
|
20379
20302
|
if (input.countryCallingCode && metadata2.isNonGeographicCallingCode(input.countryCallingCode)) {
|
|
20380
20303
|
return true;
|
|
@@ -20383,41 +20306,45 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
20383
20306
|
}
|
|
20384
20307
|
}
|
|
20385
20308
|
}
|
|
20386
|
-
function isPossibleNumber(nationalNumber,
|
|
20387
|
-
switch (checkNumberLength(nationalNumber,
|
|
20309
|
+
function isPossibleNumber(nationalNumber, metadata2) {
|
|
20310
|
+
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
20388
20311
|
case "IS_POSSIBLE":
|
|
20389
20312
|
return true;
|
|
20390
20313
|
default:
|
|
20391
20314
|
return false;
|
|
20392
20315
|
}
|
|
20393
20316
|
}
|
|
20394
|
-
function matchesEntirely(text2,
|
|
20317
|
+
function matchesEntirely(text2, regular_expression) {
|
|
20395
20318
|
text2 = text2 || "";
|
|
20396
|
-
return new RegExp("^(?:" +
|
|
20397
|
-
}
|
|
20398
|
-
function _createForOfIteratorHelperLoose$
|
|
20399
|
-
var
|
|
20400
|
-
if (
|
|
20401
|
-
if (Array.isArray(
|
|
20402
|
-
|
|
20403
|
-
var
|
|
20319
|
+
return new RegExp("^(?:" + regular_expression + ")$").test(text2);
|
|
20320
|
+
}
|
|
20321
|
+
function _createForOfIteratorHelperLoose$3(o, allowArrayLike) {
|
|
20322
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
20323
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
20324
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray$4(o)) || allowArrayLike) {
|
|
20325
|
+
if (it) o = it;
|
|
20326
|
+
var i = 0;
|
|
20404
20327
|
return function() {
|
|
20405
|
-
|
|
20328
|
+
if (i >= o.length) return { done: true };
|
|
20329
|
+
return { done: false, value: o[i++] };
|
|
20406
20330
|
};
|
|
20407
20331
|
}
|
|
20408
20332
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20409
20333
|
}
|
|
20410
|
-
function _unsupportedIterableToArray$
|
|
20411
|
-
if (
|
|
20412
|
-
|
|
20413
|
-
|
|
20414
|
-
|
|
20415
|
-
|
|
20334
|
+
function _unsupportedIterableToArray$4(o, minLen) {
|
|
20335
|
+
if (!o) return;
|
|
20336
|
+
if (typeof o === "string") return _arrayLikeToArray$4(o, minLen);
|
|
20337
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
20338
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
20339
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
20340
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$4(o, minLen);
|
|
20416
20341
|
}
|
|
20417
|
-
function _arrayLikeToArray$
|
|
20418
|
-
(
|
|
20419
|
-
for (var
|
|
20420
|
-
|
|
20342
|
+
function _arrayLikeToArray$4(arr, len) {
|
|
20343
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
20344
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
20345
|
+
arr2[i] = arr[i];
|
|
20346
|
+
}
|
|
20347
|
+
return arr2;
|
|
20421
20348
|
}
|
|
20422
20349
|
var NON_FIXED_LINE_PHONE_TYPES = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
20423
20350
|
function getNumberType(input, options, metadata2) {
|
|
@@ -20443,7 +20370,7 @@ function getNumberType(input, options, metadata2) {
|
|
|
20443
20370
|
}
|
|
20444
20371
|
return "FIXED_LINE";
|
|
20445
20372
|
}
|
|
20446
|
-
for (var _iterator = _createForOfIteratorHelperLoose$
|
|
20373
|
+
for (var _iterator = _createForOfIteratorHelperLoose$3(NON_FIXED_LINE_PHONE_TYPES), _step; !(_step = _iterator()).done; ) {
|
|
20447
20374
|
var type = _step.value;
|
|
20448
20375
|
if (isNumberTypeEqualTo(nationalNumber, type, metadata2)) {
|
|
20449
20376
|
return type;
|
|
@@ -20562,63 +20489,7 @@ function extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2) {
|
|
|
20562
20489
|
nationalNumber: number2
|
|
20563
20490
|
};
|
|
20564
20491
|
}
|
|
20565
|
-
function
|
|
20566
|
-
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
20567
|
-
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
20568
|
-
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$2(r)) || e) {
|
|
20569
|
-
t2 && (r = t2);
|
|
20570
|
-
var o = 0;
|
|
20571
|
-
return function() {
|
|
20572
|
-
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
20573
|
-
};
|
|
20574
|
-
}
|
|
20575
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20576
|
-
}
|
|
20577
|
-
function _unsupportedIterableToArray$2(r, a) {
|
|
20578
|
-
if (r) {
|
|
20579
|
-
if ("string" == typeof r) return _arrayLikeToArray$2(r, a);
|
|
20580
|
-
var t2 = {}.toString.call(r).slice(8, -1);
|
|
20581
|
-
return "Object" === t2 && r.constructor && (t2 = r.constructor.name), "Map" === t2 || "Set" === t2 ? Array.from(r) : "Arguments" === t2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t2) ? _arrayLikeToArray$2(r, a) : void 0;
|
|
20582
|
-
}
|
|
20583
|
-
}
|
|
20584
|
-
function _arrayLikeToArray$2(r, a) {
|
|
20585
|
-
(null == a || a > r.length) && (a = r.length);
|
|
20586
|
-
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
20587
|
-
return n;
|
|
20588
|
-
}
|
|
20589
|
-
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
20590
|
-
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
20591
|
-
metadata2 = new Metadata(metadata2);
|
|
20592
|
-
for (var _iterator = _createForOfIteratorHelperLoose$1(countries), _step; !(_step = _iterator()).done; ) {
|
|
20593
|
-
var country = _step.value;
|
|
20594
|
-
metadata2.selectNumberingPlan(country);
|
|
20595
|
-
if (metadata2.leadingDigits()) {
|
|
20596
|
-
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
20597
|
-
return country;
|
|
20598
|
-
}
|
|
20599
|
-
} else if (getNumberType({
|
|
20600
|
-
phone: nationalPhoneNumber,
|
|
20601
|
-
country
|
|
20602
|
-
}, void 0, metadata2.metadata)) {
|
|
20603
|
-
return country;
|
|
20604
|
-
}
|
|
20605
|
-
}
|
|
20606
|
-
}
|
|
20607
|
-
function getCountryByCallingCode(callingCode, _ref) {
|
|
20608
|
-
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
20609
|
-
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
20610
|
-
if (!possibleCountries) {
|
|
20611
|
-
return;
|
|
20612
|
-
}
|
|
20613
|
-
if (possibleCountries.length === 1) {
|
|
20614
|
-
return possibleCountries[0];
|
|
20615
|
-
}
|
|
20616
|
-
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
20617
|
-
countries: possibleCountries,
|
|
20618
|
-
metadata: metadata2.metadata
|
|
20619
|
-
});
|
|
20620
|
-
}
|
|
20621
|
-
function extractNationalNumber(number2, country, metadata2) {
|
|
20492
|
+
function extractNationalNumber(number2, metadata2) {
|
|
20622
20493
|
var _extractNationalNumbe = extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2), carrierCode = _extractNationalNumbe.carrierCode, nationalNumber = _extractNationalNumbe.nationalNumber;
|
|
20623
20494
|
if (nationalNumber !== number2) {
|
|
20624
20495
|
if (!shouldHaveExtractedNationalPrefix(number2, nationalNumber, metadata2)) {
|
|
@@ -20626,14 +20497,8 @@ function extractNationalNumber(number2, country, metadata2) {
|
|
|
20626
20497
|
nationalNumber: number2
|
|
20627
20498
|
};
|
|
20628
20499
|
}
|
|
20629
|
-
if (metadata2.
|
|
20630
|
-
if (!
|
|
20631
|
-
country = getCountryByCallingCode(metadata2.numberingPlan.callingCode(), {
|
|
20632
|
-
nationalNumber,
|
|
20633
|
-
metadata: metadata2
|
|
20634
|
-
});
|
|
20635
|
-
}
|
|
20636
|
-
if (!isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2)) {
|
|
20500
|
+
if (metadata2.possibleLengths()) {
|
|
20501
|
+
if (!isPossibleIncompleteNationalNumber(nationalNumber, metadata2)) {
|
|
20637
20502
|
return {
|
|
20638
20503
|
nationalNumber: number2
|
|
20639
20504
|
};
|
|
@@ -20651,8 +20516,8 @@ function shouldHaveExtractedNationalPrefix(nationalNumberBefore, nationalNumberA
|
|
|
20651
20516
|
}
|
|
20652
20517
|
return true;
|
|
20653
20518
|
}
|
|
20654
|
-
function isPossibleIncompleteNationalNumber(nationalNumber,
|
|
20655
|
-
switch (checkNumberLength(nationalNumber,
|
|
20519
|
+
function isPossibleIncompleteNationalNumber(nationalNumber, metadata2) {
|
|
20520
|
+
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
20656
20521
|
case "TOO_SHORT":
|
|
20657
20522
|
case "INVALID_LENGTH":
|
|
20658
20523
|
return false;
|
|
@@ -20660,15 +20525,15 @@ function isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2)
|
|
|
20660
20525
|
return true;
|
|
20661
20526
|
}
|
|
20662
20527
|
}
|
|
20663
|
-
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
20664
|
-
var countryCallingCode =
|
|
20528
|
+
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, callingCode, metadata2) {
|
|
20529
|
+
var countryCallingCode = country ? getCountryCallingCode(country, metadata2) : callingCode;
|
|
20665
20530
|
if (number2.indexOf(countryCallingCode) === 0) {
|
|
20666
20531
|
metadata2 = new Metadata(metadata2);
|
|
20667
|
-
metadata2.selectNumberingPlan(
|
|
20532
|
+
metadata2.selectNumberingPlan(country, callingCode);
|
|
20668
20533
|
var possibleShorterNumber = number2.slice(countryCallingCode.length);
|
|
20669
|
-
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber,
|
|
20670
|
-
var _extractNationalNumbe2 = extractNationalNumber(number2,
|
|
20671
|
-
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber,
|
|
20534
|
+
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, metadata2), possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;
|
|
20535
|
+
var _extractNationalNumbe2 = extractNationalNumber(number2, metadata2), nationalNumber = _extractNationalNumbe2.nationalNumber;
|
|
20536
|
+
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber, metadata2) === "TOO_LONG") {
|
|
20672
20537
|
return {
|
|
20673
20538
|
countryCallingCode,
|
|
20674
20539
|
number: possibleShorterNumber
|
|
@@ -20679,19 +20544,19 @@ function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2
|
|
|
20679
20544
|
number: number2
|
|
20680
20545
|
};
|
|
20681
20546
|
}
|
|
20682
|
-
function extractCountryCallingCode(number2, country,
|
|
20547
|
+
function extractCountryCallingCode(number2, country, callingCode, metadata2) {
|
|
20683
20548
|
if (!number2) {
|
|
20684
20549
|
return {};
|
|
20685
20550
|
}
|
|
20686
20551
|
var isNumberWithIddPrefix;
|
|
20687
20552
|
if (number2[0] !== "+") {
|
|
20688
|
-
var numberWithoutIDD = stripIddPrefix(number2,
|
|
20553
|
+
var numberWithoutIDD = stripIddPrefix(number2, country, callingCode, metadata2);
|
|
20689
20554
|
if (numberWithoutIDD && numberWithoutIDD !== number2) {
|
|
20690
20555
|
isNumberWithIddPrefix = true;
|
|
20691
20556
|
number2 = "+" + numberWithoutIDD;
|
|
20692
20557
|
} else {
|
|
20693
|
-
if (
|
|
20694
|
-
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
20558
|
+
if (country || callingCode) {
|
|
20559
|
+
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, callingCode, metadata2), countryCallingCode = _extractCountryCallin.countryCallingCode, shorterNumber = _extractCountryCallin.number;
|
|
20695
20560
|
if (countryCallingCode) {
|
|
20696
20561
|
return {
|
|
20697
20562
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
@@ -20815,6 +20680,63 @@ function formatRFC3966(_ref) {
|
|
|
20815
20680
|
}
|
|
20816
20681
|
return "tel:".concat(number2).concat(ext ? ";ext=" + ext : "");
|
|
20817
20682
|
}
|
|
20683
|
+
function _createForOfIteratorHelperLoose$2(o, allowArrayLike) {
|
|
20684
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
20685
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
20686
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray$3(o)) || allowArrayLike) {
|
|
20687
|
+
if (it) o = it;
|
|
20688
|
+
var i = 0;
|
|
20689
|
+
return function() {
|
|
20690
|
+
if (i >= o.length) return { done: true };
|
|
20691
|
+
return { done: false, value: o[i++] };
|
|
20692
|
+
};
|
|
20693
|
+
}
|
|
20694
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20695
|
+
}
|
|
20696
|
+
function _unsupportedIterableToArray$3(o, minLen) {
|
|
20697
|
+
if (!o) return;
|
|
20698
|
+
if (typeof o === "string") return _arrayLikeToArray$3(o, minLen);
|
|
20699
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
20700
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
20701
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
20702
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen);
|
|
20703
|
+
}
|
|
20704
|
+
function _arrayLikeToArray$3(arr, len) {
|
|
20705
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
20706
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
20707
|
+
arr2[i] = arr[i];
|
|
20708
|
+
}
|
|
20709
|
+
return arr2;
|
|
20710
|
+
}
|
|
20711
|
+
function ownKeys$6(object, enumerableOnly) {
|
|
20712
|
+
var keys = Object.keys(object);
|
|
20713
|
+
if (Object.getOwnPropertySymbols) {
|
|
20714
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
20715
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
20716
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
20717
|
+
})), keys.push.apply(keys, symbols);
|
|
20718
|
+
}
|
|
20719
|
+
return keys;
|
|
20720
|
+
}
|
|
20721
|
+
function _objectSpread$6(target) {
|
|
20722
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
20723
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
20724
|
+
i % 2 ? ownKeys$6(Object(source), true).forEach(function(key) {
|
|
20725
|
+
_defineProperty$6(target, key, source[key]);
|
|
20726
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function(key) {
|
|
20727
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
20728
|
+
});
|
|
20729
|
+
}
|
|
20730
|
+
return target;
|
|
20731
|
+
}
|
|
20732
|
+
function _defineProperty$6(obj, key, value) {
|
|
20733
|
+
if (key in obj) {
|
|
20734
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
20735
|
+
} else {
|
|
20736
|
+
obj[key] = value;
|
|
20737
|
+
}
|
|
20738
|
+
return obj;
|
|
20739
|
+
}
|
|
20818
20740
|
var DEFAULT_OPTIONS = {
|
|
20819
20741
|
formatExtension: function formatExtension(formattedNumber, extension, metadata2) {
|
|
20820
20742
|
return "".concat(formattedNumber).concat(metadata2.ext()).concat(extension);
|
|
@@ -20822,7 +20744,7 @@ var DEFAULT_OPTIONS = {
|
|
|
20822
20744
|
};
|
|
20823
20745
|
function formatNumber(input, format2, options, metadata2) {
|
|
20824
20746
|
if (options) {
|
|
20825
|
-
options =
|
|
20747
|
+
options = _objectSpread$6(_objectSpread$6({}, DEFAULT_OPTIONS), options);
|
|
20826
20748
|
} else {
|
|
20827
20749
|
options = DEFAULT_OPTIONS;
|
|
20828
20750
|
}
|
|
@@ -20831,7 +20753,7 @@ function formatNumber(input, format2, options, metadata2) {
|
|
|
20831
20753
|
if (!metadata2.hasCountry(input.country)) {
|
|
20832
20754
|
throw new Error("Unknown country: ".concat(input.country));
|
|
20833
20755
|
}
|
|
20834
|
-
metadata2.
|
|
20756
|
+
metadata2.country(input.country);
|
|
20835
20757
|
} else if (input.countryCallingCode) {
|
|
20836
20758
|
metadata2.selectNumberingPlan(input.countryCallingCode);
|
|
20837
20759
|
} else return input.phone || "";
|
|
@@ -20879,16 +20801,19 @@ function formatNationalNumber(number2, carrierCode, formatAs, metadata2, options
|
|
|
20879
20801
|
withNationalPrefix: format2.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && options && options.nationalPrefix === false ? false : true
|
|
20880
20802
|
});
|
|
20881
20803
|
}
|
|
20882
|
-
function chooseFormatForNumber(availableFormats,
|
|
20883
|
-
|
|
20804
|
+
function chooseFormatForNumber(availableFormats, nationalNnumber) {
|
|
20805
|
+
for (var _iterator = _createForOfIteratorHelperLoose$2(availableFormats), _step; !(_step = _iterator()).done; ) {
|
|
20806
|
+
var format2 = _step.value;
|
|
20884
20807
|
if (format2.leadingDigitsPatterns().length > 0) {
|
|
20885
20808
|
var lastLeadingDigitsPattern = format2.leadingDigitsPatterns()[format2.leadingDigitsPatterns().length - 1];
|
|
20886
|
-
if (
|
|
20887
|
-
|
|
20809
|
+
if (nationalNnumber.search(lastLeadingDigitsPattern) !== 0) {
|
|
20810
|
+
continue;
|
|
20888
20811
|
}
|
|
20889
20812
|
}
|
|
20890
|
-
|
|
20891
|
-
|
|
20813
|
+
if (matchesEntirely(nationalNnumber, format2.pattern())) {
|
|
20814
|
+
return format2;
|
|
20815
|
+
}
|
|
20816
|
+
}
|
|
20892
20817
|
}
|
|
20893
20818
|
function addExtension(formattedNumber, ext, metadata2, formatExtension2) {
|
|
20894
20819
|
return ext ? formatExtension2(formattedNumber, ext, metadata2) : formattedNumber;
|
|
@@ -20907,87 +20832,53 @@ function formatIDD(nationalNumber, carrierCode, countryCallingCode, fromCountry,
|
|
|
20907
20832
|
return "".concat(iddPrefix, " ").concat(countryCallingCode, " ").concat(formatNationalNumber(nationalNumber, null, "INTERNATIONAL", metadata2));
|
|
20908
20833
|
}
|
|
20909
20834
|
}
|
|
20910
|
-
function
|
|
20911
|
-
var
|
|
20912
|
-
|
|
20913
|
-
|
|
20914
|
-
|
|
20915
|
-
|
|
20916
|
-
|
|
20917
|
-
for (var key in objects[i]) {
|
|
20918
|
-
objects[0][key] = objects[i][key];
|
|
20919
|
-
}
|
|
20920
|
-
}
|
|
20921
|
-
i++;
|
|
20922
|
-
}
|
|
20923
|
-
return objects[0];
|
|
20924
|
-
}
|
|
20925
|
-
function pickFirstMatchingElement(elements, testFunction) {
|
|
20926
|
-
var i = 0;
|
|
20927
|
-
while (i < elements.length) {
|
|
20928
|
-
if (testFunction(elements[i])) {
|
|
20929
|
-
return elements[i];
|
|
20930
|
-
}
|
|
20931
|
-
i++;
|
|
20835
|
+
function ownKeys$5(object, enumerableOnly) {
|
|
20836
|
+
var keys = Object.keys(object);
|
|
20837
|
+
if (Object.getOwnPropertySymbols) {
|
|
20838
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
20839
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
20840
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
20841
|
+
})), keys.push.apply(keys, symbols);
|
|
20932
20842
|
}
|
|
20843
|
+
return keys;
|
|
20933
20844
|
}
|
|
20934
|
-
function
|
|
20935
|
-
|
|
20936
|
-
|
|
20937
|
-
|
|
20938
|
-
|
|
20939
|
-
|
|
20940
|
-
|
|
20941
|
-
}
|
|
20942
|
-
function ownKeys$5(e, r) {
|
|
20943
|
-
var t2 = Object.keys(e);
|
|
20944
|
-
if (Object.getOwnPropertySymbols) {
|
|
20945
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
20946
|
-
r && (o = o.filter(function(r2) {
|
|
20947
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
20948
|
-
})), t2.push.apply(t2, o);
|
|
20949
|
-
}
|
|
20950
|
-
return t2;
|
|
20951
|
-
}
|
|
20952
|
-
function _objectSpread$5(e) {
|
|
20953
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
20954
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
20955
|
-
r % 2 ? ownKeys$5(Object(t2), true).forEach(function(r2) {
|
|
20956
|
-
_defineProperty$5(e, r2, t2[r2]);
|
|
20957
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$5(Object(t2)).forEach(function(r2) {
|
|
20958
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
20845
|
+
function _objectSpread$5(target) {
|
|
20846
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
20847
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
20848
|
+
i % 2 ? ownKeys$5(Object(source), true).forEach(function(key) {
|
|
20849
|
+
_defineProperty$5(target, key, source[key]);
|
|
20850
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
20851
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
20959
20852
|
});
|
|
20960
20853
|
}
|
|
20961
|
-
return
|
|
20962
|
-
}
|
|
20963
|
-
function _defineProperty$5(e, r, t2) {
|
|
20964
|
-
return (r = _toPropertyKey$5(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
20965
|
-
}
|
|
20966
|
-
function _classCallCheck$1(a, n) {
|
|
20967
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
20854
|
+
return target;
|
|
20968
20855
|
}
|
|
20969
|
-
function
|
|
20970
|
-
|
|
20971
|
-
|
|
20972
|
-
|
|
20856
|
+
function _defineProperty$5(obj, key, value) {
|
|
20857
|
+
if (key in obj) {
|
|
20858
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
20859
|
+
} else {
|
|
20860
|
+
obj[key] = value;
|
|
20973
20861
|
}
|
|
20862
|
+
return obj;
|
|
20974
20863
|
}
|
|
20975
|
-
function
|
|
20976
|
-
|
|
20977
|
-
|
|
20978
|
-
|
|
20979
|
-
var i = _toPrimitive$5(t2, "string");
|
|
20980
|
-
return "symbol" == _typeof$6(i) ? i : i + "";
|
|
20864
|
+
function _classCallCheck$1(instance, Constructor) {
|
|
20865
|
+
if (!(instance instanceof Constructor)) {
|
|
20866
|
+
throw new TypeError("Cannot call a class as a function");
|
|
20867
|
+
}
|
|
20981
20868
|
}
|
|
20982
|
-
function
|
|
20983
|
-
|
|
20984
|
-
|
|
20985
|
-
|
|
20986
|
-
|
|
20987
|
-
if ("
|
|
20988
|
-
|
|
20869
|
+
function _defineProperties(target, props) {
|
|
20870
|
+
for (var i = 0; i < props.length; i++) {
|
|
20871
|
+
var descriptor = props[i];
|
|
20872
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
20873
|
+
descriptor.configurable = true;
|
|
20874
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
20875
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
20989
20876
|
}
|
|
20990
|
-
|
|
20877
|
+
}
|
|
20878
|
+
function _createClass$1(Constructor, protoProps, staticProps) {
|
|
20879
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
20880
|
+
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
20881
|
+
return Constructor;
|
|
20991
20882
|
}
|
|
20992
20883
|
var PhoneNumber = /* @__PURE__ */ function() {
|
|
20993
20884
|
function PhoneNumber2(countryOrCountryCallingCode, nationalNumber, metadata2) {
|
|
@@ -20998,20 +20889,22 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
20998
20889
|
if (typeof countryOrCountryCallingCode !== "string") {
|
|
20999
20890
|
throw new TypeError("First argument must be a string");
|
|
21000
20891
|
}
|
|
21001
|
-
if (countryOrCountryCallingCode
|
|
21002
|
-
|
|
21003
|
-
|
|
21004
|
-
if (isObject(nationalNumber) && isObject(nationalNumber.countries)) {
|
|
21005
|
-
metadata2 = nationalNumber;
|
|
21006
|
-
var e164Number = countryOrCountryCallingCode;
|
|
21007
|
-
if (!E164_NUMBER_REGEXP.test(e164Number)) {
|
|
21008
|
-
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
20892
|
+
if (typeof countryOrCountryCallingCode === "string") {
|
|
20893
|
+
if (countryOrCountryCallingCode[0] === "+" && !nationalNumber) {
|
|
20894
|
+
throw new TypeError("`metadata` argument not passed");
|
|
21009
20895
|
}
|
|
21010
|
-
|
|
21011
|
-
|
|
21012
|
-
|
|
21013
|
-
|
|
21014
|
-
|
|
20896
|
+
if (isObject(nationalNumber) && isObject(nationalNumber.countries)) {
|
|
20897
|
+
metadata2 = nationalNumber;
|
|
20898
|
+
var e164Number = countryOrCountryCallingCode;
|
|
20899
|
+
if (!E164_NUMBER_REGEXP.test(e164Number)) {
|
|
20900
|
+
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
20901
|
+
}
|
|
20902
|
+
var _extractCountryCallin = extractCountryCallingCode(e164Number, void 0, void 0, metadata2), _countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
20903
|
+
nationalNumber = number2;
|
|
20904
|
+
countryOrCountryCallingCode = _countryCallingCode;
|
|
20905
|
+
if (!nationalNumber) {
|
|
20906
|
+
throw new Error("Invalid `number` argument passed: too short");
|
|
20907
|
+
}
|
|
21015
20908
|
}
|
|
21016
20909
|
}
|
|
21017
20910
|
if (!nationalNumber) {
|
|
@@ -21030,7 +20923,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
21030
20923
|
return metadata2;
|
|
21031
20924
|
};
|
|
21032
20925
|
}
|
|
21033
|
-
|
|
20926
|
+
_createClass$1(PhoneNumber2, [{
|
|
21034
20927
|
key: "setExt",
|
|
21035
20928
|
value: function setExt(ext) {
|
|
21036
20929
|
this.ext = ext;
|
|
@@ -21114,6 +21007,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
21114
21007
|
return this.format("RFC3966", options);
|
|
21115
21008
|
}
|
|
21116
21009
|
}]);
|
|
21010
|
+
return PhoneNumber2;
|
|
21117
21011
|
}();
|
|
21118
21012
|
var isCountryCode = function isCountryCode2(value) {
|
|
21119
21013
|
return /^[A-Z]{2}$/.test(value);
|
|
@@ -21135,95 +21029,131 @@ function getCountryAndCountryCallingCode(countryOrCountryCallingCode, metadataJs
|
|
|
21135
21029
|
};
|
|
21136
21030
|
}
|
|
21137
21031
|
var E164_NUMBER_REGEXP = /^\+\d+$/;
|
|
21138
|
-
function _typeof
|
|
21032
|
+
function _typeof(obj) {
|
|
21139
21033
|
"@babel/helpers - typeof";
|
|
21140
|
-
return _typeof
|
|
21141
|
-
return typeof
|
|
21142
|
-
} : function(
|
|
21143
|
-
return
|
|
21144
|
-
}, _typeof
|
|
21145
|
-
}
|
|
21146
|
-
function _createClass(
|
|
21147
|
-
|
|
21148
|
-
|
|
21149
|
-
|
|
21150
|
-
|
|
21151
|
-
|
|
21152
|
-
|
|
21153
|
-
|
|
21154
|
-
}
|
|
21155
|
-
function
|
|
21156
|
-
if (
|
|
21157
|
-
|
|
21158
|
-
|
|
21159
|
-
}
|
|
21160
|
-
|
|
21161
|
-
if (
|
|
21162
|
-
|
|
21163
|
-
|
|
21164
|
-
|
|
21165
|
-
|
|
21166
|
-
|
|
21167
|
-
|
|
21168
|
-
|
|
21169
|
-
|
|
21170
|
-
|
|
21171
|
-
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21034
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
21035
|
+
return typeof obj2;
|
|
21036
|
+
} : function(obj2) {
|
|
21037
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
21038
|
+
}, _typeof(obj);
|
|
21039
|
+
}
|
|
21040
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
21041
|
+
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
21042
|
+
return Constructor;
|
|
21043
|
+
}
|
|
21044
|
+
function _classCallCheck(instance, Constructor) {
|
|
21045
|
+
if (!(instance instanceof Constructor)) {
|
|
21046
|
+
throw new TypeError("Cannot call a class as a function");
|
|
21047
|
+
}
|
|
21048
|
+
}
|
|
21049
|
+
function _inherits(subClass, superClass) {
|
|
21050
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
21051
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
21052
|
+
}
|
|
21053
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
21054
|
+
Object.defineProperty(subClass, "prototype", { writable: false });
|
|
21055
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
21056
|
+
}
|
|
21057
|
+
function _createSuper(Derived) {
|
|
21058
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
21059
|
+
return function _createSuperInternal() {
|
|
21060
|
+
var Super = _getPrototypeOf(Derived), result2;
|
|
21061
|
+
if (hasNativeReflectConstruct) {
|
|
21062
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
21063
|
+
result2 = Reflect.construct(Super, arguments, NewTarget);
|
|
21064
|
+
} else {
|
|
21065
|
+
result2 = Super.apply(this, arguments);
|
|
21066
|
+
}
|
|
21067
|
+
return _possibleConstructorReturn(this, result2);
|
|
21068
|
+
};
|
|
21069
|
+
}
|
|
21070
|
+
function _possibleConstructorReturn(self2, call) {
|
|
21071
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
21072
|
+
return call;
|
|
21073
|
+
} else if (call !== void 0) {
|
|
21074
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
21075
|
+
}
|
|
21076
|
+
return _assertThisInitialized(self2);
|
|
21077
|
+
}
|
|
21078
|
+
function _assertThisInitialized(self2) {
|
|
21079
|
+
if (self2 === void 0) {
|
|
21080
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
21081
|
+
}
|
|
21082
|
+
return self2;
|
|
21083
|
+
}
|
|
21084
|
+
function _wrapNativeSuper(Class) {
|
|
21085
|
+
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
21086
|
+
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
21087
|
+
if (Class2 === null || !_isNativeFunction(Class2)) return Class2;
|
|
21088
|
+
if (typeof Class2 !== "function") {
|
|
21089
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
21090
|
+
}
|
|
21091
|
+
if (typeof _cache !== "undefined") {
|
|
21092
|
+
if (_cache.has(Class2)) return _cache.get(Class2);
|
|
21093
|
+
_cache.set(Class2, Wrapper);
|
|
21176
21094
|
}
|
|
21177
21095
|
function Wrapper() {
|
|
21178
|
-
return _construct(
|
|
21096
|
+
return _construct(Class2, arguments, _getPrototypeOf(this).constructor);
|
|
21179
21097
|
}
|
|
21180
|
-
|
|
21181
|
-
|
|
21098
|
+
Wrapper.prototype = Object.create(Class2.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } });
|
|
21099
|
+
return _setPrototypeOf(Wrapper, Class2);
|
|
21100
|
+
};
|
|
21101
|
+
return _wrapNativeSuper(Class);
|
|
21182
21102
|
}
|
|
21183
|
-
function _construct(
|
|
21184
|
-
if (_isNativeReflectConstruct())
|
|
21185
|
-
|
|
21186
|
-
|
|
21187
|
-
|
|
21188
|
-
|
|
21103
|
+
function _construct(Parent, args, Class) {
|
|
21104
|
+
if (_isNativeReflectConstruct()) {
|
|
21105
|
+
_construct = Reflect.construct;
|
|
21106
|
+
} else {
|
|
21107
|
+
_construct = function _construct2(Parent2, args2, Class2) {
|
|
21108
|
+
var a = [null];
|
|
21109
|
+
a.push.apply(a, args2);
|
|
21110
|
+
var Constructor = Function.bind.apply(Parent2, a);
|
|
21111
|
+
var instance = new Constructor();
|
|
21112
|
+
if (Class2) _setPrototypeOf(instance, Class2.prototype);
|
|
21113
|
+
return instance;
|
|
21114
|
+
};
|
|
21115
|
+
}
|
|
21116
|
+
return _construct.apply(null, arguments);
|
|
21189
21117
|
}
|
|
21190
21118
|
function _isNativeReflectConstruct() {
|
|
21119
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
21120
|
+
if (Reflect.construct.sham) return false;
|
|
21121
|
+
if (typeof Proxy === "function") return true;
|
|
21191
21122
|
try {
|
|
21192
|
-
|
|
21123
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
21193
21124
|
}));
|
|
21194
|
-
|
|
21125
|
+
return true;
|
|
21126
|
+
} catch (e) {
|
|
21127
|
+
return false;
|
|
21195
21128
|
}
|
|
21196
|
-
return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
|
|
21197
|
-
return !!t2;
|
|
21198
|
-
})();
|
|
21199
21129
|
}
|
|
21200
|
-
function _isNativeFunction(
|
|
21201
|
-
|
|
21202
|
-
return -1 !== Function.toString.call(t2).indexOf("[native code]");
|
|
21203
|
-
} catch (n) {
|
|
21204
|
-
return "function" == typeof t2;
|
|
21205
|
-
}
|
|
21130
|
+
function _isNativeFunction(fn) {
|
|
21131
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
21206
21132
|
}
|
|
21207
|
-
function _setPrototypeOf(
|
|
21208
|
-
|
|
21209
|
-
|
|
21210
|
-
|
|
21133
|
+
function _setPrototypeOf(o, p) {
|
|
21134
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf2(o2, p2) {
|
|
21135
|
+
o2.__proto__ = p2;
|
|
21136
|
+
return o2;
|
|
21137
|
+
};
|
|
21138
|
+
return _setPrototypeOf(o, p);
|
|
21211
21139
|
}
|
|
21212
|
-
function _getPrototypeOf(
|
|
21213
|
-
|
|
21214
|
-
return
|
|
21215
|
-
}
|
|
21140
|
+
function _getPrototypeOf(o) {
|
|
21141
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o2) {
|
|
21142
|
+
return o2.__proto__ || Object.getPrototypeOf(o2);
|
|
21143
|
+
};
|
|
21144
|
+
return _getPrototypeOf(o);
|
|
21216
21145
|
}
|
|
21217
21146
|
var ParseError = /* @__PURE__ */ function(_Error) {
|
|
21147
|
+
_inherits(ParseError2, _Error);
|
|
21148
|
+
var _super = _createSuper(ParseError2);
|
|
21218
21149
|
function ParseError2(code2) {
|
|
21219
21150
|
var _this;
|
|
21220
21151
|
_classCallCheck(this, ParseError2);
|
|
21221
|
-
_this =
|
|
21222
|
-
Object.setPrototypeOf(_this, ParseError2.prototype);
|
|
21152
|
+
_this = _super.call(this, code2);
|
|
21153
|
+
Object.setPrototypeOf(_assertThisInitialized(_this), ParseError2.prototype);
|
|
21223
21154
|
_this.name = _this.constructor.name;
|
|
21224
21155
|
return _this;
|
|
21225
21156
|
}
|
|
21226
|
-
_inherits(ParseError2, _Error);
|
|
21227
21157
|
return _createClass(ParseError2);
|
|
21228
21158
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
21229
21159
|
var EXTN_PATTERN = new RegExp("(?:" + createExtensionPattern() + ")$", "i");
|
|
@@ -21320,39 +21250,43 @@ var DIGITS = {
|
|
|
21320
21250
|
function parseDigit(character) {
|
|
21321
21251
|
return DIGITS[character];
|
|
21322
21252
|
}
|
|
21323
|
-
function _createForOfIteratorHelperLoose(
|
|
21324
|
-
var
|
|
21325
|
-
if (
|
|
21326
|
-
if (Array.isArray(
|
|
21327
|
-
|
|
21328
|
-
var
|
|
21253
|
+
function _createForOfIteratorHelperLoose$1(o, allowArrayLike) {
|
|
21254
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
21255
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
21256
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike) {
|
|
21257
|
+
if (it) o = it;
|
|
21258
|
+
var i = 0;
|
|
21329
21259
|
return function() {
|
|
21330
|
-
|
|
21260
|
+
if (i >= o.length) return { done: true };
|
|
21261
|
+
return { done: false, value: o[i++] };
|
|
21331
21262
|
};
|
|
21332
21263
|
}
|
|
21333
21264
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21334
21265
|
}
|
|
21335
|
-
function _unsupportedIterableToArray$
|
|
21336
|
-
if (
|
|
21337
|
-
|
|
21338
|
-
|
|
21339
|
-
|
|
21340
|
-
|
|
21266
|
+
function _unsupportedIterableToArray$2(o, minLen) {
|
|
21267
|
+
if (!o) return;
|
|
21268
|
+
if (typeof o === "string") return _arrayLikeToArray$2(o, minLen);
|
|
21269
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
21270
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
21271
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
21272
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen);
|
|
21341
21273
|
}
|
|
21342
|
-
function _arrayLikeToArray$
|
|
21343
|
-
(
|
|
21344
|
-
for (var
|
|
21345
|
-
|
|
21274
|
+
function _arrayLikeToArray$2(arr, len) {
|
|
21275
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
21276
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
21277
|
+
arr2[i] = arr[i];
|
|
21278
|
+
}
|
|
21279
|
+
return arr2;
|
|
21346
21280
|
}
|
|
21347
21281
|
function parseIncompletePhoneNumber(string) {
|
|
21348
21282
|
var result2 = "";
|
|
21349
|
-
for (var _iterator = _createForOfIteratorHelperLoose(string.split("")), _step; !(_step = _iterator()).done; ) {
|
|
21283
|
+
for (var _iterator = _createForOfIteratorHelperLoose$1(string.split("")), _step; !(_step = _iterator()).done; ) {
|
|
21350
21284
|
var character = _step.value;
|
|
21351
21285
|
result2 += parsePhoneNumberCharacter(character, result2) || "";
|
|
21352
21286
|
}
|
|
21353
21287
|
return result2;
|
|
21354
21288
|
}
|
|
21355
|
-
function parsePhoneNumberCharacter(character, prevParsedCharacters,
|
|
21289
|
+
function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent2) {
|
|
21356
21290
|
if (character === "+") {
|
|
21357
21291
|
if (prevParsedCharacters) {
|
|
21358
21292
|
return;
|
|
@@ -21361,6 +21295,66 @@ function parsePhoneNumberCharacter(character, prevParsedCharacters, eventListene
|
|
|
21361
21295
|
}
|
|
21362
21296
|
return parseDigit(character);
|
|
21363
21297
|
}
|
|
21298
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
21299
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
21300
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
21301
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike) {
|
|
21302
|
+
if (it) o = it;
|
|
21303
|
+
var i = 0;
|
|
21304
|
+
return function() {
|
|
21305
|
+
if (i >= o.length) return { done: true };
|
|
21306
|
+
return { done: false, value: o[i++] };
|
|
21307
|
+
};
|
|
21308
|
+
}
|
|
21309
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21310
|
+
}
|
|
21311
|
+
function _unsupportedIterableToArray$1(o, minLen) {
|
|
21312
|
+
if (!o) return;
|
|
21313
|
+
if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
|
|
21314
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
21315
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
21316
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
21317
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
21318
|
+
}
|
|
21319
|
+
function _arrayLikeToArray$1(arr, len) {
|
|
21320
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
21321
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
21322
|
+
arr2[i] = arr[i];
|
|
21323
|
+
}
|
|
21324
|
+
return arr2;
|
|
21325
|
+
}
|
|
21326
|
+
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
21327
|
+
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
21328
|
+
metadata2 = new Metadata(metadata2);
|
|
21329
|
+
for (var _iterator = _createForOfIteratorHelperLoose(countries), _step; !(_step = _iterator()).done; ) {
|
|
21330
|
+
var country = _step.value;
|
|
21331
|
+
metadata2.country(country);
|
|
21332
|
+
if (metadata2.leadingDigits()) {
|
|
21333
|
+
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
21334
|
+
return country;
|
|
21335
|
+
}
|
|
21336
|
+
} else if (getNumberType({
|
|
21337
|
+
phone: nationalPhoneNumber,
|
|
21338
|
+
country
|
|
21339
|
+
}, void 0, metadata2.metadata)) {
|
|
21340
|
+
return country;
|
|
21341
|
+
}
|
|
21342
|
+
}
|
|
21343
|
+
}
|
|
21344
|
+
function getCountryByCallingCode(callingCode, _ref) {
|
|
21345
|
+
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
21346
|
+
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
21347
|
+
if (!possibleCountries) {
|
|
21348
|
+
return;
|
|
21349
|
+
}
|
|
21350
|
+
if (possibleCountries.length === 1) {
|
|
21351
|
+
return possibleCountries[0];
|
|
21352
|
+
}
|
|
21353
|
+
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
21354
|
+
countries: possibleCountries,
|
|
21355
|
+
metadata: metadata2.metadata
|
|
21356
|
+
});
|
|
21357
|
+
}
|
|
21364
21358
|
var PLUS_SIGN = "+";
|
|
21365
21359
|
var RFC3966_VISUAL_SEPARATOR_ = "[\\-\\.\\(\\)]?";
|
|
21366
21360
|
var RFC3966_PHONE_DIGIT_ = "([" + VALID_DIGITS + "]|" + RFC3966_VISUAL_SEPARATOR_ + ")";
|
|
@@ -21496,7 +21490,7 @@ function parse(text2, options, metadata2) {
|
|
|
21496
21490
|
countryCallingCode,
|
|
21497
21491
|
carrierCode,
|
|
21498
21492
|
valid,
|
|
21499
|
-
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber,
|
|
21493
|
+
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber, metadata2) ? true : false,
|
|
21500
21494
|
phone: nationalNumber,
|
|
21501
21495
|
ext
|
|
21502
21496
|
};
|
|
@@ -21556,7 +21550,7 @@ function result(country, nationalNumber, ext) {
|
|
|
21556
21550
|
return result2;
|
|
21557
21551
|
}
|
|
21558
21552
|
function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCallingCode, metadata2) {
|
|
21559
|
-
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber),
|
|
21553
|
+
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), defaultCountry, defaultCallingCode, metadata2.metadata), countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource, countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
21560
21554
|
var country;
|
|
21561
21555
|
if (countryCallingCode) {
|
|
21562
21556
|
metadata2.selectNumberingPlan(countryCallingCode);
|
|
@@ -21573,7 +21567,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
21573
21567
|
countryCallingCode
|
|
21574
21568
|
};
|
|
21575
21569
|
}
|
|
21576
|
-
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2),
|
|
21570
|
+
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2), metadata2), nationalNumber = _extractNationalNumbe.nationalNumber, carrierCode = _extractNationalNumbe.carrierCode;
|
|
21577
21571
|
var exactCountry = getCountryByCallingCode(countryCallingCode, {
|
|
21578
21572
|
nationalNumber,
|
|
21579
21573
|
metadata: metadata2
|
|
@@ -21582,7 +21576,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
21582
21576
|
country = exactCountry;
|
|
21583
21577
|
if (exactCountry === "001") ;
|
|
21584
21578
|
else {
|
|
21585
|
-
metadata2.
|
|
21579
|
+
metadata2.country(country);
|
|
21586
21580
|
}
|
|
21587
21581
|
}
|
|
21588
21582
|
return {
|
|
@@ -21593,142 +21587,116 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
21593
21587
|
carrierCode
|
|
21594
21588
|
};
|
|
21595
21589
|
}
|
|
21596
|
-
function
|
|
21597
|
-
|
|
21598
|
-
return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
21599
|
-
return typeof o2;
|
|
21600
|
-
} : function(o2) {
|
|
21601
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
21602
|
-
}, _typeof$4(o);
|
|
21603
|
-
}
|
|
21604
|
-
function ownKeys$4(e, r) {
|
|
21605
|
-
var t2 = Object.keys(e);
|
|
21590
|
+
function ownKeys$4(object, enumerableOnly) {
|
|
21591
|
+
var keys = Object.keys(object);
|
|
21606
21592
|
if (Object.getOwnPropertySymbols) {
|
|
21607
|
-
var
|
|
21608
|
-
|
|
21609
|
-
return Object.getOwnPropertyDescriptor(
|
|
21610
|
-
})),
|
|
21611
|
-
}
|
|
21612
|
-
return t2;
|
|
21613
|
-
}
|
|
21614
|
-
function _objectSpread$4(e) {
|
|
21615
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
21616
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
21617
|
-
r % 2 ? ownKeys$4(Object(t2), true).forEach(function(r2) {
|
|
21618
|
-
_defineProperty$4(e, r2, t2[r2]);
|
|
21619
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$4(Object(t2)).forEach(function(r2) {
|
|
21620
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
21621
|
-
});
|
|
21593
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
21594
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
21595
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21596
|
+
})), keys.push.apply(keys, symbols);
|
|
21622
21597
|
}
|
|
21623
|
-
return
|
|
21624
|
-
}
|
|
21625
|
-
function _defineProperty$4(e, r, t2) {
|
|
21626
|
-
return (r = _toPropertyKey$4(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
21598
|
+
return keys;
|
|
21627
21599
|
}
|
|
21628
|
-
function
|
|
21629
|
-
var i =
|
|
21630
|
-
|
|
21600
|
+
function _objectSpread$4(target) {
|
|
21601
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
21602
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
21603
|
+
i % 2 ? ownKeys$4(Object(source), true).forEach(function(key) {
|
|
21604
|
+
_defineProperty$4(target, key, source[key]);
|
|
21605
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function(key) {
|
|
21606
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21607
|
+
});
|
|
21608
|
+
}
|
|
21609
|
+
return target;
|
|
21631
21610
|
}
|
|
21632
|
-
function
|
|
21633
|
-
if (
|
|
21634
|
-
|
|
21635
|
-
|
|
21636
|
-
|
|
21637
|
-
if ("object" != _typeof$4(i)) return i;
|
|
21638
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
21611
|
+
function _defineProperty$4(obj, key, value) {
|
|
21612
|
+
if (key in obj) {
|
|
21613
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
21614
|
+
} else {
|
|
21615
|
+
obj[key] = value;
|
|
21639
21616
|
}
|
|
21640
|
-
return
|
|
21617
|
+
return obj;
|
|
21641
21618
|
}
|
|
21642
21619
|
function parsePhoneNumberWithError(text2, options, metadata2) {
|
|
21643
21620
|
return parse(text2, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
21644
21621
|
v2: true
|
|
21645
21622
|
}), metadata2);
|
|
21646
21623
|
}
|
|
21647
|
-
function
|
|
21648
|
-
|
|
21649
|
-
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
21650
|
-
return typeof o2;
|
|
21651
|
-
} : function(o2) {
|
|
21652
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
21653
|
-
}, _typeof$3(o);
|
|
21654
|
-
}
|
|
21655
|
-
function ownKeys$3(e, r) {
|
|
21656
|
-
var t2 = Object.keys(e);
|
|
21624
|
+
function ownKeys$3(object, enumerableOnly) {
|
|
21625
|
+
var keys = Object.keys(object);
|
|
21657
21626
|
if (Object.getOwnPropertySymbols) {
|
|
21658
|
-
var
|
|
21659
|
-
|
|
21660
|
-
return Object.getOwnPropertyDescriptor(
|
|
21661
|
-
})),
|
|
21662
|
-
}
|
|
21663
|
-
return t2;
|
|
21664
|
-
}
|
|
21665
|
-
function _objectSpread$3(e) {
|
|
21666
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
21667
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
21668
|
-
r % 2 ? ownKeys$3(Object(t2), true).forEach(function(r2) {
|
|
21669
|
-
_defineProperty$3(e, r2, t2[r2]);
|
|
21670
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$3(Object(t2)).forEach(function(r2) {
|
|
21671
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
21672
|
-
});
|
|
21627
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
21628
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
21629
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21630
|
+
})), keys.push.apply(keys, symbols);
|
|
21673
21631
|
}
|
|
21674
|
-
return
|
|
21675
|
-
}
|
|
21676
|
-
function _defineProperty$3(e, r, t2) {
|
|
21677
|
-
return (r = _toPropertyKey$3(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
21632
|
+
return keys;
|
|
21678
21633
|
}
|
|
21679
|
-
function
|
|
21680
|
-
var i =
|
|
21681
|
-
|
|
21634
|
+
function _objectSpread$3(target) {
|
|
21635
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
21636
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
21637
|
+
i % 2 ? ownKeys$3(Object(source), true).forEach(function(key) {
|
|
21638
|
+
_defineProperty$3(target, key, source[key]);
|
|
21639
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function(key) {
|
|
21640
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21641
|
+
});
|
|
21642
|
+
}
|
|
21643
|
+
return target;
|
|
21682
21644
|
}
|
|
21683
|
-
function
|
|
21684
|
-
if (
|
|
21685
|
-
|
|
21686
|
-
|
|
21687
|
-
|
|
21688
|
-
if ("object" != _typeof$3(i)) return i;
|
|
21689
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
21645
|
+
function _defineProperty$3(obj, key, value) {
|
|
21646
|
+
if (key in obj) {
|
|
21647
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
21648
|
+
} else {
|
|
21649
|
+
obj[key] = value;
|
|
21690
21650
|
}
|
|
21691
|
-
return
|
|
21651
|
+
return obj;
|
|
21692
21652
|
}
|
|
21693
|
-
function _slicedToArray(
|
|
21694
|
-
return _arrayWithHoles(
|
|
21653
|
+
function _slicedToArray(arr, i) {
|
|
21654
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
21695
21655
|
}
|
|
21696
21656
|
function _nonIterableRest() {
|
|
21697
21657
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
21698
21658
|
}
|
|
21699
|
-
function _unsupportedIterableToArray(
|
|
21700
|
-
if (
|
|
21701
|
-
|
|
21702
|
-
|
|
21703
|
-
|
|
21704
|
-
|
|
21705
|
-
|
|
21706
|
-
|
|
21707
|
-
|
|
21708
|
-
|
|
21709
|
-
|
|
21710
|
-
|
|
21711
|
-
|
|
21712
|
-
|
|
21713
|
-
|
|
21714
|
-
|
|
21659
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
21660
|
+
if (!o) return;
|
|
21661
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
21662
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
21663
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
21664
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
21665
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
21666
|
+
}
|
|
21667
|
+
function _arrayLikeToArray(arr, len) {
|
|
21668
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
21669
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
21670
|
+
arr2[i] = arr[i];
|
|
21671
|
+
}
|
|
21672
|
+
return arr2;
|
|
21673
|
+
}
|
|
21674
|
+
function _iterableToArrayLimit(arr, i) {
|
|
21675
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
21676
|
+
if (_i == null) return;
|
|
21677
|
+
var _arr = [];
|
|
21678
|
+
var _n = true;
|
|
21679
|
+
var _d = false;
|
|
21680
|
+
var _s, _e;
|
|
21681
|
+
try {
|
|
21682
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
21683
|
+
_arr.push(_s.value);
|
|
21684
|
+
if (i && _arr.length === i) break;
|
|
21685
|
+
}
|
|
21686
|
+
} catch (err) {
|
|
21687
|
+
_d = true;
|
|
21688
|
+
_e = err;
|
|
21689
|
+
} finally {
|
|
21715
21690
|
try {
|
|
21716
|
-
if (
|
|
21717
|
-
else for (; !(f = (e = i.call(t2)).done) && (a.push(e.value), a.length !== l); f = true) ;
|
|
21718
|
-
} catch (r2) {
|
|
21719
|
-
o = true, n = r2;
|
|
21691
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
21720
21692
|
} finally {
|
|
21721
|
-
|
|
21722
|
-
if (!f && null != t2["return"] && (u = t2["return"](), Object(u) !== u)) return;
|
|
21723
|
-
} finally {
|
|
21724
|
-
if (o) throw n;
|
|
21725
|
-
}
|
|
21693
|
+
if (_d) throw _e;
|
|
21726
21694
|
}
|
|
21727
|
-
return a;
|
|
21728
21695
|
}
|
|
21696
|
+
return _arr;
|
|
21729
21697
|
}
|
|
21730
|
-
function _arrayWithHoles(
|
|
21731
|
-
if (Array.isArray(
|
|
21698
|
+
function _arrayWithHoles(arr) {
|
|
21699
|
+
if (Array.isArray(arr)) return arr;
|
|
21732
21700
|
}
|
|
21733
21701
|
function normalizeArguments(args) {
|
|
21734
21702
|
var _Array$prototype$slic = Array.prototype.slice.call(args), _Array$prototype$slic2 = _slicedToArray(_Array$prototype$slic, 4), arg_1 = _Array$prototype$slic2[0], arg_2 = _Array$prototype$slic2[1], arg_3 = _Array$prototype$slic2[2], arg_4 = _Array$prototype$slic2[3];
|
|
@@ -21765,51 +21733,34 @@ function normalizeArguments(args) {
|
|
|
21765
21733
|
metadata: metadata2
|
|
21766
21734
|
};
|
|
21767
21735
|
}
|
|
21768
|
-
function
|
|
21769
|
-
|
|
21770
|
-
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
21771
|
-
return typeof o2;
|
|
21772
|
-
} : function(o2) {
|
|
21773
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
21774
|
-
}, _typeof$2(o);
|
|
21775
|
-
}
|
|
21776
|
-
function ownKeys$2(e, r) {
|
|
21777
|
-
var t2 = Object.keys(e);
|
|
21736
|
+
function ownKeys$2(object, enumerableOnly) {
|
|
21737
|
+
var keys = Object.keys(object);
|
|
21778
21738
|
if (Object.getOwnPropertySymbols) {
|
|
21779
|
-
var
|
|
21780
|
-
|
|
21781
|
-
return Object.getOwnPropertyDescriptor(
|
|
21782
|
-
})),
|
|
21783
|
-
}
|
|
21784
|
-
return t2;
|
|
21785
|
-
}
|
|
21786
|
-
function _objectSpread$2(e) {
|
|
21787
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
21788
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
21789
|
-
r % 2 ? ownKeys$2(Object(t2), true).forEach(function(r2) {
|
|
21790
|
-
_defineProperty$2(e, r2, t2[r2]);
|
|
21791
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$2(Object(t2)).forEach(function(r2) {
|
|
21792
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
21793
|
-
});
|
|
21739
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
21740
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
21741
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21742
|
+
})), keys.push.apply(keys, symbols);
|
|
21794
21743
|
}
|
|
21795
|
-
return
|
|
21796
|
-
}
|
|
21797
|
-
function _defineProperty$2(e, r, t2) {
|
|
21798
|
-
return (r = _toPropertyKey$2(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
21744
|
+
return keys;
|
|
21799
21745
|
}
|
|
21800
|
-
function
|
|
21801
|
-
var i =
|
|
21802
|
-
|
|
21746
|
+
function _objectSpread$2(target) {
|
|
21747
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
21748
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
21749
|
+
i % 2 ? ownKeys$2(Object(source), true).forEach(function(key) {
|
|
21750
|
+
_defineProperty$2(target, key, source[key]);
|
|
21751
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function(key) {
|
|
21752
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21753
|
+
});
|
|
21754
|
+
}
|
|
21755
|
+
return target;
|
|
21803
21756
|
}
|
|
21804
|
-
function
|
|
21805
|
-
if (
|
|
21806
|
-
|
|
21807
|
-
|
|
21808
|
-
|
|
21809
|
-
if ("object" != _typeof$2(i)) return i;
|
|
21810
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
21757
|
+
function _defineProperty$2(obj, key, value) {
|
|
21758
|
+
if (key in obj) {
|
|
21759
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
21760
|
+
} else {
|
|
21761
|
+
obj[key] = value;
|
|
21811
21762
|
}
|
|
21812
|
-
return
|
|
21763
|
+
return obj;
|
|
21813
21764
|
}
|
|
21814
21765
|
function parsePhoneNumber(text2, options, metadata2) {
|
|
21815
21766
|
if (options && options.defaultCountry && !isSupportedCountry(options.defaultCountry, metadata2)) {
|
|
@@ -21826,51 +21777,34 @@ function parsePhoneNumber(text2, options, metadata2) {
|
|
|
21826
21777
|
}
|
|
21827
21778
|
}
|
|
21828
21779
|
}
|
|
21829
|
-
function
|
|
21830
|
-
|
|
21831
|
-
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
21832
|
-
return typeof o2;
|
|
21833
|
-
} : function(o2) {
|
|
21834
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
21835
|
-
}, _typeof$1(o);
|
|
21836
|
-
}
|
|
21837
|
-
function ownKeys$1(e, r) {
|
|
21838
|
-
var t2 = Object.keys(e);
|
|
21780
|
+
function ownKeys$1(object, enumerableOnly) {
|
|
21781
|
+
var keys = Object.keys(object);
|
|
21839
21782
|
if (Object.getOwnPropertySymbols) {
|
|
21840
|
-
var
|
|
21841
|
-
|
|
21842
|
-
return Object.getOwnPropertyDescriptor(
|
|
21843
|
-
})),
|
|
21844
|
-
}
|
|
21845
|
-
return t2;
|
|
21846
|
-
}
|
|
21847
|
-
function _objectSpread$1(e) {
|
|
21848
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
21849
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
21850
|
-
r % 2 ? ownKeys$1(Object(t2), true).forEach(function(r2) {
|
|
21851
|
-
_defineProperty$1(e, r2, t2[r2]);
|
|
21852
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$1(Object(t2)).forEach(function(r2) {
|
|
21853
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
21854
|
-
});
|
|
21783
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
21784
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
21785
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21786
|
+
})), keys.push.apply(keys, symbols);
|
|
21855
21787
|
}
|
|
21856
|
-
return
|
|
21857
|
-
}
|
|
21858
|
-
function _defineProperty$1(e, r, t2) {
|
|
21859
|
-
return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
21788
|
+
return keys;
|
|
21860
21789
|
}
|
|
21861
|
-
function
|
|
21862
|
-
var i =
|
|
21863
|
-
|
|
21790
|
+
function _objectSpread$1(target) {
|
|
21791
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
21792
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
21793
|
+
i % 2 ? ownKeys$1(Object(source), true).forEach(function(key) {
|
|
21794
|
+
_defineProperty$1(target, key, source[key]);
|
|
21795
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function(key) {
|
|
21796
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21797
|
+
});
|
|
21798
|
+
}
|
|
21799
|
+
return target;
|
|
21864
21800
|
}
|
|
21865
|
-
function
|
|
21866
|
-
if (
|
|
21867
|
-
|
|
21868
|
-
|
|
21869
|
-
|
|
21870
|
-
if ("object" != _typeof$1(i)) return i;
|
|
21871
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
21801
|
+
function _defineProperty$1(obj, key, value) {
|
|
21802
|
+
if (key in obj) {
|
|
21803
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
21804
|
+
} else {
|
|
21805
|
+
obj[key] = value;
|
|
21872
21806
|
}
|
|
21873
|
-
return
|
|
21807
|
+
return obj;
|
|
21874
21808
|
}
|
|
21875
21809
|
function isValidPhoneNumber$1() {
|
|
21876
21810
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -21880,51 +21814,34 @@ function isValidPhoneNumber$1() {
|
|
|
21880
21814
|
var phoneNumber = parsePhoneNumber(text2, options, metadata2);
|
|
21881
21815
|
return phoneNumber && phoneNumber.isValid() || false;
|
|
21882
21816
|
}
|
|
21883
|
-
function
|
|
21884
|
-
|
|
21885
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
21886
|
-
return typeof o2;
|
|
21887
|
-
} : function(o2) {
|
|
21888
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
21889
|
-
}, _typeof(o);
|
|
21890
|
-
}
|
|
21891
|
-
function ownKeys(e, r) {
|
|
21892
|
-
var t2 = Object.keys(e);
|
|
21817
|
+
function ownKeys(object, enumerableOnly) {
|
|
21818
|
+
var keys = Object.keys(object);
|
|
21893
21819
|
if (Object.getOwnPropertySymbols) {
|
|
21894
|
-
var
|
|
21895
|
-
|
|
21896
|
-
return Object.getOwnPropertyDescriptor(
|
|
21897
|
-
})),
|
|
21898
|
-
}
|
|
21899
|
-
return t2;
|
|
21900
|
-
}
|
|
21901
|
-
function _objectSpread(e) {
|
|
21902
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
21903
|
-
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
21904
|
-
r % 2 ? ownKeys(Object(t2), true).forEach(function(r2) {
|
|
21905
|
-
_defineProperty(e, r2, t2[r2]);
|
|
21906
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys(Object(t2)).forEach(function(r2) {
|
|
21907
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
21908
|
-
});
|
|
21820
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
21821
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
21822
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21823
|
+
})), keys.push.apply(keys, symbols);
|
|
21909
21824
|
}
|
|
21910
|
-
return
|
|
21911
|
-
}
|
|
21912
|
-
function _defineProperty(e, r, t2) {
|
|
21913
|
-
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
21825
|
+
return keys;
|
|
21914
21826
|
}
|
|
21915
|
-
function
|
|
21916
|
-
var i =
|
|
21917
|
-
|
|
21827
|
+
function _objectSpread(target) {
|
|
21828
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
21829
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
21830
|
+
i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
|
21831
|
+
_defineProperty(target, key, source[key]);
|
|
21832
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
21833
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
21834
|
+
});
|
|
21835
|
+
}
|
|
21836
|
+
return target;
|
|
21918
21837
|
}
|
|
21919
|
-
function
|
|
21920
|
-
if (
|
|
21921
|
-
|
|
21922
|
-
|
|
21923
|
-
|
|
21924
|
-
if ("object" != _typeof(i)) return i;
|
|
21925
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
21838
|
+
function _defineProperty(obj, key, value) {
|
|
21839
|
+
if (key in obj) {
|
|
21840
|
+
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
21841
|
+
} else {
|
|
21842
|
+
obj[key] = value;
|
|
21926
21843
|
}
|
|
21927
|
-
return
|
|
21844
|
+
return obj;
|
|
21928
21845
|
}
|
|
21929
21846
|
function isPossiblePhoneNumber$1() {
|
|
21930
21847
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -22127,7 +22044,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22127
22044
|
createVNode(unref(Button), {
|
|
22128
22045
|
variant: "solid",
|
|
22129
22046
|
class: "w-[126px]",
|
|
22130
|
-
disabled: !
|
|
22047
|
+
disabled: !_ctx.dataShareChecked,
|
|
22131
22048
|
onClick: handleConfirm
|
|
22132
22049
|
}, {
|
|
22133
22050
|
default: withCtx(() => [
|
|
@@ -22156,7 +22073,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
22156
22073
|
createElementVNode("span", null, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.ifYouDoNotAgrWe")), 1)
|
|
22157
22074
|
]),
|
|
22158
22075
|
createVNode(unref(Checkbox), {
|
|
22159
|
-
"model-value":
|
|
22076
|
+
"model-value": _ctx.dataShareChecked,
|
|
22160
22077
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = (val) => emits("update:dataShareChecked", val)),
|
|
22161
22078
|
size: "sm",
|
|
22162
22079
|
class: "mt-[12px]"
|
|
@@ -22406,7 +22323,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
22406
22323
|
]),
|
|
22407
22324
|
createElementVNode("div", _hoisted_11$1, [
|
|
22408
22325
|
createElementVNode("div", _hoisted_12$1, [
|
|
22409
|
-
!
|
|
22326
|
+
!_ctx.hideBack ? (openBlock(), createElementBlock("div", {
|
|
22410
22327
|
key: 0,
|
|
22411
22328
|
onClick: _cache[1] || (_cache[1] = ($event) => emits("back"))
|
|
22412
22329
|
}, [
|
|
@@ -22434,7 +22351,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
22434
22351
|
}
|
|
22435
22352
|
});
|
|
22436
22353
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
22437
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
22354
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-BuOdNCQf.js"));
|
|
22438
22355
|
const useSlidCaptcha = () => {
|
|
22439
22356
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
22440
22357
|
const open = (config) => {
|
|
@@ -22453,7 +22370,7 @@ const useSlidCaptcha = () => {
|
|
|
22453
22370
|
close: unMount
|
|
22454
22371
|
};
|
|
22455
22372
|
};
|
|
22456
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
22373
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-DN4cdFnh.js"));
|
|
22457
22374
|
const useYunpianCaptcha = () => {
|
|
22458
22375
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
22459
22376
|
const open = (config) => {
|
|
@@ -22479,41 +22396,10 @@ const useYunpianCaptcha = () => {
|
|
|
22479
22396
|
close: unMount
|
|
22480
22397
|
};
|
|
22481
22398
|
};
|
|
22482
|
-
const YiDunCaptcha = defineAsyncComponent(() => import("./index-dzjfyxs4.js"));
|
|
22483
|
-
const useYiDunCaptcha = () => {
|
|
22484
|
-
const { mount, unMount } = usePopup("yidun-captcha-popup");
|
|
22485
|
-
const open = (config) => {
|
|
22486
|
-
if (!(config == null ? void 0 : config.captchaId)) {
|
|
22487
|
-
console.error("易盾验证码 captchaId 不能为空");
|
|
22488
|
-
return;
|
|
22489
|
-
}
|
|
22490
|
-
mount(YiDunCaptcha, {
|
|
22491
|
-
captchaId: config.captchaId,
|
|
22492
|
-
modelValue: true,
|
|
22493
|
-
onSuccess: (resData) => {
|
|
22494
|
-
var _a;
|
|
22495
|
-
unMount();
|
|
22496
|
-
(_a = config == null ? void 0 : config.onSuccess) == null ? void 0 : _a.call(config, resData);
|
|
22497
|
-
},
|
|
22498
|
-
onClose: () => unMount(),
|
|
22499
|
-
onFallback: () => {
|
|
22500
|
-
unMount();
|
|
22501
|
-
nextTick(() => {
|
|
22502
|
-
var _a;
|
|
22503
|
-
(_a = config == null ? void 0 : config.onFallback) == null ? void 0 : _a.call(config, config == null ? void 0 : config.onSuccess);
|
|
22504
|
-
});
|
|
22505
|
-
}
|
|
22506
|
-
});
|
|
22507
|
-
};
|
|
22508
|
-
return {
|
|
22509
|
-
open,
|
|
22510
|
-
close: unMount
|
|
22511
|
-
};
|
|
22512
|
-
};
|
|
22513
22399
|
const _sfc_main$3 = {};
|
|
22514
22400
|
const _hoisted_1$2 = { class: "content-loading" };
|
|
22515
22401
|
function _sfc_render(_ctx, _cache) {
|
|
22516
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2,
|
|
22402
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, _cache[0] || (_cache[0] = [
|
|
22517
22403
|
createElementVNode("div", { class: "content-loading-title" }, [
|
|
22518
22404
|
createElementVNode("div", { class: "w-full flex-center" }, [
|
|
22519
22405
|
createElementVNode("img", {
|
|
@@ -22524,7 +22410,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
22524
22410
|
]),
|
|
22525
22411
|
createElementVNode("span", null, "loading...")
|
|
22526
22412
|
], -1)
|
|
22527
|
-
])
|
|
22413
|
+
]));
|
|
22528
22414
|
}
|
|
22529
22415
|
const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render], ["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
22530
22416
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -22540,15 +22426,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
22540
22426
|
setup(__props) {
|
|
22541
22427
|
return (_ctx, _cache) => {
|
|
22542
22428
|
return openBlock(), createElementBlock("div", {
|
|
22543
|
-
class: normalizeClass(["g-data-panel i-data-panel", { "g-card":
|
|
22429
|
+
class: normalizeClass(["g-data-panel i-data-panel", { "g-card": _ctx.card, "g-border": _ctx.border }])
|
|
22544
22430
|
}, [
|
|
22545
22431
|
renderSlot(_ctx.$slots, "header", {}, void 0, true),
|
|
22546
|
-
|
|
22547
|
-
|
|
22432
|
+
_ctx.loading ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
|
|
22433
|
+
_ctx.skeleton ? (openBlock(), createBlock(unref(Skeleton), {
|
|
22548
22434
|
key: 0,
|
|
22549
22435
|
class: "p-20",
|
|
22550
|
-
rows:
|
|
22551
|
-
}, null, 8, ["rows"])) :
|
|
22436
|
+
rows: _ctx.skeletonRow
|
|
22437
|
+
}, null, 8, ["rows"])) : _ctx.animation ? (openBlock(), createBlock(ContentLoading, {
|
|
22552
22438
|
key: 1,
|
|
22553
22439
|
name: "loading",
|
|
22554
22440
|
class: "w-full h-full flex-center"
|
|
@@ -23245,20 +23131,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23245
23131
|
extraData: {}
|
|
23246
23132
|
});
|
|
23247
23133
|
};
|
|
23248
|
-
|
|
23249
|
-
provider: "SELF"
|
|
23250
|
-
});
|
|
23251
|
-
const getCurrentCaptchaType = async () => {
|
|
23252
|
-
var _a;
|
|
23253
|
-
const res = await API.getCaptchaType();
|
|
23254
|
-
if (!res.error) {
|
|
23255
|
-
captchaType.value = ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.data) || { provider: "SELF" };
|
|
23256
|
-
}
|
|
23257
|
-
};
|
|
23258
|
-
const captchaMode = ref("yunpian");
|
|
23134
|
+
let captchaMode = "yunpian";
|
|
23259
23135
|
const slidCaptcha = useSlidCaptcha();
|
|
23260
23136
|
const yunpianCaptcha = useYunpianCaptcha();
|
|
23261
|
-
const yiDunCaptcha = useYiDunCaptcha();
|
|
23262
23137
|
const LoginCheck = async () => {
|
|
23263
23138
|
let agreementFlag = false;
|
|
23264
23139
|
if (!status.value || !dataShareChecked.value) {
|
|
@@ -23368,156 +23243,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23368
23243
|
}
|
|
23369
23244
|
});
|
|
23370
23245
|
};
|
|
23371
|
-
const getYiDunCaptchaId = ({ scene, isDomesticNumber = true }) => {
|
|
23372
|
-
var _a, _b, _c;
|
|
23373
|
-
if (captchaType.value.provider !== "YIDUN") {
|
|
23374
|
-
return "";
|
|
23375
|
-
}
|
|
23376
|
-
if (scene === "password") {
|
|
23377
|
-
return (_a = captchaType.value.international) == null ? void 0 : _a.captcha_id;
|
|
23378
|
-
}
|
|
23379
|
-
if (scene === "sendCode") {
|
|
23380
|
-
return isDomesticNumber ? (_b = captchaType.value.domestic) == null ? void 0 : _b.captcha_id : (_c = captchaType.value.international) == null ? void 0 : _c.captcha_id;
|
|
23381
|
-
}
|
|
23382
|
-
return "";
|
|
23383
|
-
};
|
|
23384
|
-
const handleCaptchaVerification = (conf, options = {}) => {
|
|
23385
|
-
try {
|
|
23386
|
-
const { isDomesticNumber = true, checkCondition, extraParams = {} } = options;
|
|
23387
|
-
if (checkCondition && !checkCondition(conf)) {
|
|
23388
|
-
return false;
|
|
23389
|
-
}
|
|
23390
|
-
if (captchaMode.value === "yunpian") {
|
|
23391
|
-
yunpianCaptcha.open({
|
|
23392
|
-
onSuccess: (captchaData) => {
|
|
23393
|
-
handleCountDown({
|
|
23394
|
-
...conf,
|
|
23395
|
-
token: captchaData == null ? void 0 : captchaData.token,
|
|
23396
|
-
authenticate: captchaData == null ? void 0 : captchaData.authenticate,
|
|
23397
|
-
captchaId: captchaData == null ? void 0 : captchaData.captchaId,
|
|
23398
|
-
...extraParams
|
|
23399
|
-
});
|
|
23400
|
-
},
|
|
23401
|
-
onFallback: (originalOnSuccess) => {
|
|
23402
|
-
captchaMode.value = "tianai";
|
|
23403
|
-
slidCaptcha.open({
|
|
23404
|
-
onSuccess: (captchaData) => originalOnSuccess == null ? void 0 : originalOnSuccess({
|
|
23405
|
-
captchaId: captchaData.id
|
|
23406
|
-
})
|
|
23407
|
-
});
|
|
23408
|
-
}
|
|
23409
|
-
});
|
|
23410
|
-
return true;
|
|
23411
|
-
}
|
|
23412
|
-
if (captchaMode.value === "tianai") {
|
|
23413
|
-
slidCaptcha.open({
|
|
23414
|
-
onSuccess: (captchaData) => {
|
|
23415
|
-
handleCountDown({
|
|
23416
|
-
...conf,
|
|
23417
|
-
captchaId: captchaData.id,
|
|
23418
|
-
...extraParams
|
|
23419
|
-
});
|
|
23420
|
-
}
|
|
23421
|
-
});
|
|
23422
|
-
return true;
|
|
23423
|
-
}
|
|
23424
|
-
if (captchaMode.value === "yidun") {
|
|
23425
|
-
const currentCaptchaId = getYiDunCaptchaId({ scene: "sendCode", isDomesticNumber });
|
|
23426
|
-
if (!currentCaptchaId) {
|
|
23427
|
-
console.error("易盾验证码 ID 未获取到,降级到天爱验证码");
|
|
23428
|
-
captchaMode.value = "tianai";
|
|
23429
|
-
slidCaptcha.open({
|
|
23430
|
-
onSuccess: (captchaData) => {
|
|
23431
|
-
handleCountDown({
|
|
23432
|
-
...conf,
|
|
23433
|
-
captchaId: captchaData.id,
|
|
23434
|
-
...extraParams
|
|
23435
|
-
});
|
|
23436
|
-
}
|
|
23437
|
-
});
|
|
23438
|
-
return true;
|
|
23439
|
-
}
|
|
23440
|
-
yiDunCaptcha.open({
|
|
23441
|
-
captchaId: currentCaptchaId,
|
|
23442
|
-
onSuccess: (captchaData) => {
|
|
23443
|
-
handleCountDown({
|
|
23444
|
-
...conf,
|
|
23445
|
-
token: captchaData == null ? void 0 : captchaData.token,
|
|
23446
|
-
authenticate: captchaData == null ? void 0 : captchaData.authenticate,
|
|
23447
|
-
captchaId: currentCaptchaId,
|
|
23448
|
-
validate: captchaData == null ? void 0 : captchaData.validate,
|
|
23449
|
-
...extraParams
|
|
23450
|
-
});
|
|
23451
|
-
},
|
|
23452
|
-
onFallback: (originalOnSuccess) => {
|
|
23453
|
-
captchaMode.value = "tianai";
|
|
23454
|
-
slidCaptcha.open({
|
|
23455
|
-
onSuccess: (captchaData) => originalOnSuccess == null ? void 0 : originalOnSuccess({
|
|
23456
|
-
captchaId: captchaData.id
|
|
23457
|
-
})
|
|
23458
|
-
});
|
|
23459
|
-
}
|
|
23460
|
-
});
|
|
23461
|
-
return true;
|
|
23462
|
-
}
|
|
23463
|
-
console.warn(`未知的验证码模式: ${captchaMode.value},降级到天爱验证码`);
|
|
23464
|
-
captchaMode.value = "tianai";
|
|
23465
|
-
slidCaptcha.open({
|
|
23466
|
-
onSuccess: (captchaData) => {
|
|
23467
|
-
handleCountDown({
|
|
23468
|
-
...conf,
|
|
23469
|
-
captchaId: captchaData.id,
|
|
23470
|
-
...extraParams
|
|
23471
|
-
});
|
|
23472
|
-
}
|
|
23473
|
-
});
|
|
23474
|
-
return true;
|
|
23475
|
-
} catch (error) {
|
|
23476
|
-
console.error("处理验证码时发生错误:", error);
|
|
23477
|
-
try {
|
|
23478
|
-
captchaMode.value = "tianai";
|
|
23479
|
-
slidCaptcha.open({
|
|
23480
|
-
onSuccess: (captchaData) => {
|
|
23481
|
-
handleCountDown({
|
|
23482
|
-
...conf,
|
|
23483
|
-
captchaId: captchaData.id,
|
|
23484
|
-
...options.extraParams
|
|
23485
|
-
});
|
|
23486
|
-
}
|
|
23487
|
-
});
|
|
23488
|
-
return true;
|
|
23489
|
-
} catch (fallbackError) {
|
|
23490
|
-
console.error("降级验证码也失败:", fallbackError);
|
|
23491
|
-
return false;
|
|
23492
|
-
}
|
|
23493
|
-
}
|
|
23494
|
-
};
|
|
23495
|
-
const yiDunGraphValidate = () => {
|
|
23496
|
-
loading.value = false;
|
|
23497
|
-
const currentCaptchaId = getYiDunCaptchaId({ scene: "password" });
|
|
23498
|
-
if (!currentCaptchaId) {
|
|
23499
|
-
console.error("验证码 ID 未获取到");
|
|
23500
|
-
return;
|
|
23501
|
-
}
|
|
23502
|
-
yiDunCaptcha.open({
|
|
23503
|
-
captchaId: currentCaptchaId,
|
|
23504
|
-
onSuccess: (captchaData) => {
|
|
23505
|
-
handleConfirm({
|
|
23506
|
-
validate: captchaData == null ? void 0 : captchaData.validate,
|
|
23507
|
-
token: captchaData == null ? void 0 : captchaData.token,
|
|
23508
|
-
authenticate: captchaData == null ? void 0 : captchaData.authenticate,
|
|
23509
|
-
captchaId: currentCaptchaId
|
|
23510
|
-
});
|
|
23511
|
-
},
|
|
23512
|
-
onFallback: (originalOnSuccess) => {
|
|
23513
|
-
slidCaptcha.open({
|
|
23514
|
-
onSuccess: (captchaData) => originalOnSuccess == null ? void 0 : originalOnSuccess({
|
|
23515
|
-
captchaId: captchaData.id
|
|
23516
|
-
})
|
|
23517
|
-
});
|
|
23518
|
-
}
|
|
23519
|
-
});
|
|
23520
|
-
};
|
|
23521
23246
|
const errForRemoteLogin = ref(false);
|
|
23522
23247
|
const handleRemoteLogin = () => {
|
|
23523
23248
|
errForRemoteLogin.value = true;
|
|
@@ -23566,7 +23291,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23566
23291
|
const passwordParams = {
|
|
23567
23292
|
type: "password",
|
|
23568
23293
|
...res,
|
|
23569
|
-
validate: info == null ? void 0 : info.validate,
|
|
23570
23294
|
captchaId: info == null ? void 0 : info.captchaId,
|
|
23571
23295
|
token: info == null ? void 0 : info.token,
|
|
23572
23296
|
authenticate: info == null ? void 0 : info.authenticate
|
|
@@ -23577,14 +23301,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23577
23301
|
successFunc: loginSuccess,
|
|
23578
23302
|
failFunc: loginFail,
|
|
23579
23303
|
loginDeviceType: "pc",
|
|
23580
|
-
country
|
|
23581
|
-
captchaType: captchaType.value
|
|
23304
|
+
country
|
|
23582
23305
|
},
|
|
23583
23306
|
loginParams: passwordParams,
|
|
23584
|
-
lintRemoteLogin: handleRemoteLogin,
|
|
23585
23307
|
graphValidate,
|
|
23586
|
-
|
|
23587
|
-
|
|
23308
|
+
lintRemoteLogin: handleRemoteLogin,
|
|
23309
|
+
yunpianGraphValidate
|
|
23588
23310
|
});
|
|
23589
23311
|
break;
|
|
23590
23312
|
}
|
|
@@ -23669,8 +23391,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23669
23391
|
mobile,
|
|
23670
23392
|
captchaId: conf == null ? void 0 : conf.captchaId,
|
|
23671
23393
|
token: conf == null ? void 0 : conf.token,
|
|
23672
|
-
authenticate: conf == null ? void 0 : conf.authenticate
|
|
23673
|
-
validate: conf == null ? void 0 : conf.validate
|
|
23394
|
+
authenticate: conf == null ? void 0 : conf.authenticate
|
|
23674
23395
|
});
|
|
23675
23396
|
break;
|
|
23676
23397
|
}
|
|
@@ -23679,8 +23400,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23679
23400
|
mobile_email: mobile,
|
|
23680
23401
|
captcha_id: conf == null ? void 0 : conf.captchaId,
|
|
23681
23402
|
token: conf == null ? void 0 : conf.token,
|
|
23682
|
-
authenticate: conf == null ? void 0 : conf.authenticate
|
|
23683
|
-
validate: conf == null ? void 0 : conf.validate
|
|
23403
|
+
authenticate: conf == null ? void 0 : conf.authenticate
|
|
23684
23404
|
});
|
|
23685
23405
|
res = await API.getMobileEmailCode(requestData);
|
|
23686
23406
|
break;
|
|
@@ -23691,8 +23411,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23691
23411
|
type: "BINDING_MOBILE",
|
|
23692
23412
|
captchaId: conf == null ? void 0 : conf.captchaId,
|
|
23693
23413
|
token: conf == null ? void 0 : conf.token,
|
|
23694
|
-
authenticate: conf == null ? void 0 : conf.authenticate
|
|
23695
|
-
validate: conf == null ? void 0 : conf.validate
|
|
23414
|
+
authenticate: conf == null ? void 0 : conf.authenticate
|
|
23696
23415
|
});
|
|
23697
23416
|
break;
|
|
23698
23417
|
}
|
|
@@ -23702,8 +23421,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23702
23421
|
type: "REGISTER",
|
|
23703
23422
|
captchaId: conf == null ? void 0 : conf.captchaId,
|
|
23704
23423
|
token: conf == null ? void 0 : conf.token,
|
|
23705
|
-
authenticate: conf == null ? void 0 : conf.authenticate
|
|
23706
|
-
validate: conf == null ? void 0 : conf.validate
|
|
23424
|
+
authenticate: conf == null ? void 0 : conf.authenticate
|
|
23707
23425
|
});
|
|
23708
23426
|
break;
|
|
23709
23427
|
}
|
|
@@ -23711,7 +23429,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23711
23429
|
return res;
|
|
23712
23430
|
};
|
|
23713
23431
|
const handleCountDown = async (conf) => {
|
|
23714
|
-
var _a, _b, _c
|
|
23432
|
+
var _a, _b, _c;
|
|
23715
23433
|
const formData = await FormRef.value.ValidateFormKeys([conf.key]);
|
|
23716
23434
|
const mobile = getPhone(conf);
|
|
23717
23435
|
if (formData.type === "success") {
|
|
@@ -23723,49 +23441,98 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23723
23441
|
const isDomesticNumber = country === "CN" || !country;
|
|
23724
23442
|
const isLoginOrRegister = formType.value === "login" || formType.value === "register";
|
|
23725
23443
|
if (!isDomesticNumber && !conf.noVerificationRequired && isLoginOrRegister) {
|
|
23726
|
-
if (
|
|
23727
|
-
|
|
23728
|
-
|
|
23729
|
-
|
|
23730
|
-
|
|
23731
|
-
|
|
23732
|
-
|
|
23444
|
+
if (captchaMode === "yunpian") {
|
|
23445
|
+
yunpianCaptcha.open({
|
|
23446
|
+
onSuccess: (captchaData) => {
|
|
23447
|
+
handleCountDown({
|
|
23448
|
+
...conf,
|
|
23449
|
+
token: captchaData == null ? void 0 : captchaData.token,
|
|
23450
|
+
authenticate: captchaData == null ? void 0 : captchaData.authenticate,
|
|
23451
|
+
captchaId: captchaData == null ? void 0 : captchaData.captchaId,
|
|
23452
|
+
noVerificationRequired: true,
|
|
23453
|
+
smsReported: true
|
|
23454
|
+
});
|
|
23455
|
+
},
|
|
23456
|
+
onFallback: (originalOnSuccess) => {
|
|
23457
|
+
captchaMode = "tianai";
|
|
23458
|
+
slidCaptcha.open({
|
|
23459
|
+
onSuccess: (captchaData) => originalOnSuccess == null ? void 0 : originalOnSuccess({
|
|
23460
|
+
captchaId: captchaData.id
|
|
23461
|
+
})
|
|
23462
|
+
});
|
|
23463
|
+
}
|
|
23464
|
+
});
|
|
23465
|
+
return;
|
|
23466
|
+
} else if (captchaMode === "tianai") {
|
|
23467
|
+
slidCaptcha.open({
|
|
23468
|
+
onSuccess: (captchaData) => handleCountDown({ ...conf, captchaId: captchaData.id, noVerificationRequired: true, smsReported: true })
|
|
23469
|
+
});
|
|
23733
23470
|
return;
|
|
23734
23471
|
}
|
|
23735
23472
|
}
|
|
23736
23473
|
if (formType.value === "forget") {
|
|
23737
|
-
|
|
23738
|
-
|
|
23739
|
-
|
|
23740
|
-
|
|
23741
|
-
|
|
23742
|
-
|
|
23743
|
-
|
|
23744
|
-
|
|
23745
|
-
|
|
23474
|
+
if (captchaMode === "yunpian") {
|
|
23475
|
+
if (!conf.token || !conf.authenticate) {
|
|
23476
|
+
yunpianCaptcha.open({
|
|
23477
|
+
onSuccess: (captchaData) => {
|
|
23478
|
+
handleCountDown({
|
|
23479
|
+
...conf,
|
|
23480
|
+
token: captchaData == null ? void 0 : captchaData.token,
|
|
23481
|
+
authenticate: captchaData == null ? void 0 : captchaData.authenticate,
|
|
23482
|
+
captchaId: captchaData == null ? void 0 : captchaData.captchaId,
|
|
23483
|
+
smsReported: true
|
|
23484
|
+
});
|
|
23485
|
+
},
|
|
23486
|
+
onFallback: (originalOnSuccess) => {
|
|
23487
|
+
captchaMode = "tianai";
|
|
23488
|
+
slidCaptcha.open({
|
|
23489
|
+
onSuccess: (captchaData) => originalOnSuccess == null ? void 0 : originalOnSuccess({
|
|
23490
|
+
captchaId: captchaData.id
|
|
23491
|
+
})
|
|
23492
|
+
});
|
|
23493
|
+
}
|
|
23494
|
+
});
|
|
23746
23495
|
return;
|
|
23747
23496
|
}
|
|
23497
|
+
} else if (captchaMode === "tianai" && !conf.captchaId) {
|
|
23498
|
+
slidCaptcha.open({
|
|
23499
|
+
onSuccess: (captchaData) => {
|
|
23500
|
+
handleCountDown({ ...conf, captchaId: captchaData.id, smsReported: true });
|
|
23501
|
+
}
|
|
23502
|
+
});
|
|
23503
|
+
return;
|
|
23748
23504
|
}
|
|
23749
23505
|
}
|
|
23750
23506
|
if (tabPanel.value === "verifyCode" || ["register", "forget", "bindPhone"].includes(formType.value)) {
|
|
23751
23507
|
const verifyCodeRes = await handleCountDownSubmission(conf, mobile);
|
|
23752
23508
|
if (["login", "register", "bindPhone"].includes(formType.value)) {
|
|
23753
|
-
if ((_b = verifyCodeRes == null ? void 0 : verifyCodeRes.error) == null ? void 0 : _b.error_code) {
|
|
23754
|
-
|
|
23755
|
-
|
|
23756
|
-
|
|
23757
|
-
|
|
23758
|
-
|
|
23759
|
-
|
|
23760
|
-
|
|
23761
|
-
|
|
23762
|
-
|
|
23763
|
-
|
|
23509
|
+
if (((_b = verifyCodeRes == null ? void 0 : verifyCodeRes.error) == null ? void 0 : _b.error_code) === GRAPH_CODE) {
|
|
23510
|
+
captchaMode = "tianai";
|
|
23511
|
+
slidCaptcha.open({
|
|
23512
|
+
onSuccess: (captchaData) => handleCountDown({ ...conf, captchaId: captchaData.id, smsReported: true })
|
|
23513
|
+
});
|
|
23514
|
+
return;
|
|
23515
|
+
}
|
|
23516
|
+
if (((_c = verifyCodeRes == null ? void 0 : verifyCodeRes.error) == null ? void 0 : _c.error_code) === YUNPIAN_GRAPH_CODE) {
|
|
23517
|
+
captchaMode = "yunpian";
|
|
23518
|
+
yunpianCaptcha.open({
|
|
23519
|
+
onSuccess: (captchaData) => handleCountDown({
|
|
23520
|
+
...conf,
|
|
23521
|
+
token: captchaData == null ? void 0 : captchaData.token,
|
|
23522
|
+
authenticate: captchaData == null ? void 0 : captchaData.authenticate,
|
|
23523
|
+
captchaId: captchaData == null ? void 0 : captchaData.captchaId,
|
|
23764
23524
|
smsReported: true
|
|
23525
|
+
}),
|
|
23526
|
+
onFallback: (originalOnSuccess) => {
|
|
23527
|
+
captchaMode = "tianai";
|
|
23528
|
+
slidCaptcha.open({
|
|
23529
|
+
onSuccess: (captchaData) => originalOnSuccess == null ? void 0 : originalOnSuccess({
|
|
23530
|
+
captchaId: captchaData.id
|
|
23531
|
+
})
|
|
23532
|
+
});
|
|
23765
23533
|
}
|
|
23766
|
-
})
|
|
23767
|
-
|
|
23768
|
-
}
|
|
23534
|
+
});
|
|
23535
|
+
return;
|
|
23769
23536
|
}
|
|
23770
23537
|
}
|
|
23771
23538
|
if (!(verifyCodeRes == null ? void 0 : verifyCodeRes.error)) {
|
|
@@ -24200,7 +23967,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24200
23967
|
const resetPwdDirectly = ref(false);
|
|
24201
23968
|
const resetPwdWhiteList = ["change_password"];
|
|
24202
23969
|
onMounted(() => {
|
|
24203
|
-
getCurrentCaptchaType();
|
|
24204
23970
|
if (tabPanel.value === "miniProgram" && formType.value === "login") {
|
|
24205
23971
|
getMiniProgramQrCode();
|
|
24206
23972
|
}
|
|
@@ -24216,11 +23982,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24216
23982
|
modelValue: unref(vModels),
|
|
24217
23983
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
24218
23984
|
"show-close": false,
|
|
24219
|
-
"lock-scroll":
|
|
24220
|
-
draggable:
|
|
24221
|
-
escapable:
|
|
23985
|
+
"lock-scroll": _ctx.lockScroll,
|
|
23986
|
+
draggable: _ctx.draggable,
|
|
23987
|
+
escapable: _ctx.escapable,
|
|
24222
23988
|
"before-close": handleClose,
|
|
24223
|
-
"append-to-body":
|
|
23989
|
+
"append-to-body": _ctx.appendToBody,
|
|
24224
23990
|
class: normalizeClass([
|
|
24225
23991
|
"login-modal",
|
|
24226
23992
|
formType.value === "login" ? "login-modal-l" : "login-modal-r",
|
|
@@ -24240,7 +24006,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24240
24006
|
class: "login-modal-title flex-1"
|
|
24241
24007
|
}, null, 8, ["icon", "title", "show-title", "show-back"]),
|
|
24242
24008
|
createElementVNode("div", _hoisted_2, [
|
|
24243
|
-
|
|
24009
|
+
_ctx.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
|
|
24244
24010
|
key: 0,
|
|
24245
24011
|
onClick: onClickModalClose,
|
|
24246
24012
|
name: "gt-close",
|
|
@@ -24565,7 +24331,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24565
24331
|
])
|
|
24566
24332
|
], 2),
|
|
24567
24333
|
createElementVNode("div", _hoisted_61, [
|
|
24568
|
-
|
|
24334
|
+
_ctx.openHarmonyGuide ? (openBlock(), createElementBlock("div", {
|
|
24569
24335
|
key: 0,
|
|
24570
24336
|
class: "text-[var(--theme-link)] flex items-center mt-[12px] cursor-pointer",
|
|
24571
24337
|
onClick: withModifiers(handleRegisterHarmony, ["stop"])
|