vue-layout-gitcode 1.9.66 → 1.9.68
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-CburLEnh.js → GloabarSearch-7NcKZdw9.js} +3 -3
- package/{MenuItem-CdO1Lg10.js → MenuItem-CzOsAXoR.js} +1 -1
- package/{ProjectMenuList-COr0OqlG.js → ProjectMenuList-BboUCIUJ.js} +8 -8
- package/{ProjectMenuListV2-C2yHf8nc.js → ProjectMenuListV2-BeFLtYVn.js} +3 -3
- package/{ProjectSearch-9LzwSXY1.js → ProjectSearch-DdWX-Ks4.js} +1 -1
- package/{SearchHistoryList-Dh874WSN.js → SearchHistoryList-DXxypElU.js} +5 -5
- package/{SearchPrefixTag-Cf3TSbIF.js → SearchPrefixTag-BxfuLsJO.js} +3 -3
- package/{SearchRecommed-Crwx31-E.js → SearchRecommed-DUZCYuSU.js} +2 -2
- package/{SearchScopeList-DIS57bod.js → SearchScopeList-DnXTLq-L.js} +3 -3
- package/{UserSearch-BpSnRnHt.js → UserSearch-4nDOnMWZ.js} +1 -1
- package/{index-Dc-VgC-b.js → index-BK3NX59H.js} +44 -47
- package/{index-BRcz5gFC.js → index-BxW9dopj.js} +1282 -1104
- package/{index-C0Cnm1DO.js → index-D4rG5Iv_.js} +4 -5
- package/{index-BMj5nTdp.js → index-MmsQo7D2.js} +1 -1
- package/index.d.ts +8 -8
- package/index.js +1 -1
- package/{notice-CQoE7UdC.js → notice-b032Oiev.js} +10 -12
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-YrKMrbv0.js → transWebUrl-C_zAkcQc.js} +1 -1
|
@@ -69,29 +69,29 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
69
69
|
return /px$/i.test(props.size) ? props.size : `${props.size}px`;
|
|
70
70
|
});
|
|
71
71
|
return (_ctx, _cache) => {
|
|
72
|
-
return !
|
|
72
|
+
return !__props.name.includes("gt-") ? (openBlock(), createBlock(unref(Icon), normalizeProps(mergeProps({ key: 0 }, props)), null, 16)) : __props.operable ? (openBlock(), createElementBlock("span", {
|
|
73
73
|
key: 1,
|
|
74
|
-
class: normalizeClass(["custom-icon-container", { disabled:
|
|
74
|
+
class: normalizeClass(["custom-icon-container", { disabled: __props.disabled }])
|
|
75
75
|
}, [
|
|
76
76
|
renderSlot(_ctx.$slots, "prefix", {}, void 0, true),
|
|
77
77
|
(openBlock(), createElementBlock("svg", {
|
|
78
|
-
class: normalizeClass(["icon gt-icon",
|
|
78
|
+
class: normalizeClass(["icon gt-icon", __props.iconClass]),
|
|
79
79
|
"aria-hidden": "true",
|
|
80
|
-
style: normalizeStyle({ color:
|
|
80
|
+
style: normalizeStyle({ color: __props.color, fontSize: fontSize.value, transform: `rotate(${__props.rotate})` })
|
|
81
81
|
}, [
|
|
82
82
|
createElementVNode("use", {
|
|
83
|
-
"xlink:href": `#${
|
|
83
|
+
"xlink:href": `#${__props.name}`
|
|
84
84
|
}, null, 8, _hoisted_1$w)
|
|
85
85
|
], 6)),
|
|
86
86
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
87
87
|
], 2)) : (openBlock(), createElementBlock("svg", {
|
|
88
88
|
key: 2,
|
|
89
|
-
class: normalizeClass(["icon gt-icon",
|
|
89
|
+
class: normalizeClass(["icon gt-icon", __props.iconClass]),
|
|
90
90
|
"aria-hidden": "true",
|
|
91
|
-
style: normalizeStyle(
|
|
91
|
+
style: normalizeStyle(__props.iconClass ? {} : { color: __props.color, fontSize: fontSize.value, transform: `rotate(${__props.rotate})` })
|
|
92
92
|
}, [
|
|
93
93
|
createElementVNode("use", {
|
|
94
|
-
"xlink:href": `#${
|
|
94
|
+
"xlink:href": `#${__props.name}`
|
|
95
95
|
}, null, 8, _hoisted_2$n)
|
|
96
96
|
], 6));
|
|
97
97
|
};
|
|
@@ -546,7 +546,7 @@ const LOGO_MAP = {
|
|
|
546
546
|
aiLogoDark: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-dark_atomgit.png"
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
|
-
/*! @license DOMPurify 3.
|
|
549
|
+
/*! @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 */
|
|
550
550
|
const {
|
|
551
551
|
entries,
|
|
552
552
|
setPrototypeOf,
|
|
@@ -574,12 +574,18 @@ if (!seal) {
|
|
|
574
574
|
};
|
|
575
575
|
}
|
|
576
576
|
if (!apply$1) {
|
|
577
|
-
apply$1 = function apply2(
|
|
578
|
-
|
|
577
|
+
apply$1 = function apply2(func, thisArg) {
|
|
578
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
579
|
+
args[_key - 2] = arguments[_key];
|
|
580
|
+
}
|
|
581
|
+
return func.apply(thisArg, args);
|
|
579
582
|
};
|
|
580
583
|
}
|
|
581
584
|
if (!construct) {
|
|
582
|
-
construct = function construct2(Func
|
|
585
|
+
construct = function construct2(Func) {
|
|
586
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
587
|
+
args[_key2 - 1] = arguments[_key2];
|
|
588
|
+
}
|
|
583
589
|
return new Func(...args);
|
|
584
590
|
};
|
|
585
591
|
}
|
|
@@ -602,18 +608,18 @@ function unapply(func) {
|
|
|
602
608
|
if (thisArg instanceof RegExp) {
|
|
603
609
|
thisArg.lastIndex = 0;
|
|
604
610
|
}
|
|
605
|
-
for (var
|
|
606
|
-
args[
|
|
611
|
+
for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
|
|
612
|
+
args[_key3 - 1] = arguments[_key3];
|
|
607
613
|
}
|
|
608
614
|
return apply$1(func, thisArg, args);
|
|
609
615
|
};
|
|
610
616
|
}
|
|
611
|
-
function unconstruct(
|
|
617
|
+
function unconstruct(Func) {
|
|
612
618
|
return function() {
|
|
613
|
-
for (var
|
|
614
|
-
args[
|
|
619
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
620
|
+
args[_key4] = arguments[_key4];
|
|
615
621
|
}
|
|
616
|
-
return construct(
|
|
622
|
+
return construct(Func, args);
|
|
617
623
|
};
|
|
618
624
|
}
|
|
619
625
|
function addToSet(set, array) {
|
|
@@ -680,15 +686,15 @@ function lookupGetter(object, prop) {
|
|
|
680
686
|
}
|
|
681
687
|
return fallbackValue;
|
|
682
688
|
}
|
|
683
|
-
const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
|
|
684
|
-
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
|
|
689
|
+
const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
|
|
690
|
+
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
|
|
685
691
|
const svgFilters = freeze(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
|
|
686
692
|
const svgDisallowed = freeze(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]);
|
|
687
693
|
const mathMl$1 = freeze(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
|
|
688
694
|
const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
|
|
689
695
|
const text = freeze(["#text"]);
|
|
690
|
-
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
|
|
691
|
-
const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
|
|
696
|
+
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
|
|
697
|
+
const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
|
|
692
698
|
const mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
|
|
693
699
|
const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
|
|
694
700
|
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
|
|
@@ -771,7 +777,7 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
771
777
|
function createDOMPurify() {
|
|
772
778
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
773
779
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
774
|
-
DOMPurify.version = "3.
|
|
780
|
+
DOMPurify.version = "3.3.0";
|
|
775
781
|
DOMPurify.removed = [];
|
|
776
782
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
777
783
|
DOMPurify.isSupported = false;
|
|
@@ -857,6 +863,20 @@ function createDOMPurify() {
|
|
|
857
863
|
}));
|
|
858
864
|
let FORBID_TAGS = null;
|
|
859
865
|
let FORBID_ATTR = null;
|
|
866
|
+
const EXTRA_ELEMENT_HANDLING = Object.seal(create$1(null, {
|
|
867
|
+
tagCheck: {
|
|
868
|
+
writable: true,
|
|
869
|
+
configurable: false,
|
|
870
|
+
enumerable: true,
|
|
871
|
+
value: null
|
|
872
|
+
},
|
|
873
|
+
attributeCheck: {
|
|
874
|
+
writable: true,
|
|
875
|
+
configurable: false,
|
|
876
|
+
enumerable: true,
|
|
877
|
+
value: null
|
|
878
|
+
}
|
|
879
|
+
}));
|
|
860
880
|
let ALLOW_ARIA_ATTR = true;
|
|
861
881
|
let ALLOW_DATA_ATTR = true;
|
|
862
882
|
let ALLOW_UNKNOWN_PROTOCOLS = false;
|
|
@@ -980,16 +1000,24 @@ function createDOMPurify() {
|
|
|
980
1000
|
}
|
|
981
1001
|
}
|
|
982
1002
|
if (cfg.ADD_TAGS) {
|
|
983
|
-
if (
|
|
984
|
-
|
|
1003
|
+
if (typeof cfg.ADD_TAGS === "function") {
|
|
1004
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
|
|
1005
|
+
} else {
|
|
1006
|
+
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
1007
|
+
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
1008
|
+
}
|
|
1009
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
985
1010
|
}
|
|
986
|
-
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
987
1011
|
}
|
|
988
1012
|
if (cfg.ADD_ATTR) {
|
|
989
|
-
if (
|
|
990
|
-
|
|
1013
|
+
if (typeof cfg.ADD_ATTR === "function") {
|
|
1014
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
|
|
1015
|
+
} else {
|
|
1016
|
+
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
1017
|
+
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
1018
|
+
}
|
|
1019
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
991
1020
|
}
|
|
992
|
-
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
993
1021
|
}
|
|
994
1022
|
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
995
1023
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
@@ -1195,7 +1223,7 @@ function createDOMPurify() {
|
|
|
1195
1223
|
_forceRemove(currentNode);
|
|
1196
1224
|
return true;
|
|
1197
1225
|
}
|
|
1198
|
-
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1226
|
+
if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {
|
|
1199
1227
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
1200
1228
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
1201
1229
|
return false;
|
|
@@ -1248,12 +1276,13 @@ function createDOMPurify() {
|
|
|
1248
1276
|
}
|
|
1249
1277
|
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName)) ;
|
|
1250
1278
|
else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName)) ;
|
|
1279
|
+
else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ;
|
|
1251
1280
|
else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1252
1281
|
if (
|
|
1253
1282
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1254
1283
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1255
1284
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
1256
|
-
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
1285
|
+
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
1257
1286
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1258
1287
|
lcName === "is" && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))
|
|
1259
1288
|
) ;
|
|
@@ -1308,7 +1337,11 @@ function createDOMPurify() {
|
|
|
1308
1337
|
_removeAttribute(name, currentNode);
|
|
1309
1338
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1310
1339
|
}
|
|
1311
|
-
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
1340
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, value)) {
|
|
1341
|
+
_removeAttribute(name, currentNode);
|
|
1342
|
+
continue;
|
|
1343
|
+
}
|
|
1344
|
+
if (lcName === "attributename" && stringMatch(value, "href")) {
|
|
1312
1345
|
_removeAttribute(name, currentNode);
|
|
1313
1346
|
continue;
|
|
1314
1347
|
}
|
|
@@ -1636,10 +1669,25 @@ function init(converter, defaultAttributes) {
|
|
|
1636
1669
|
}
|
|
1637
1670
|
var api = init(defaultConverter, { path: "/" });
|
|
1638
1671
|
/*!
|
|
1639
|
-
* shared v9.14.
|
|
1672
|
+
* shared v9.14.5
|
|
1640
1673
|
* (c) 2025 kazuya kawaguchi
|
|
1641
1674
|
* Released under the MIT License.
|
|
1642
1675
|
*/
|
|
1676
|
+
function warn(msg, err) {
|
|
1677
|
+
if (typeof console !== "undefined") {
|
|
1678
|
+
console.warn(`[intlify] ` + msg);
|
|
1679
|
+
if (err) {
|
|
1680
|
+
console.warn(err.stack);
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
const hasWarned = {};
|
|
1685
|
+
function warnOnce(msg) {
|
|
1686
|
+
if (!hasWarned[msg]) {
|
|
1687
|
+
hasWarned[msg] = true;
|
|
1688
|
+
warn(msg);
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1643
1691
|
const inBrowser = typeof window !== "undefined";
|
|
1644
1692
|
let mark;
|
|
1645
1693
|
let measure;
|
|
@@ -1675,7 +1723,7 @@ const friendlyJSONstringify = (json) => JSON.stringify(json).replace(/\u2028/g,
|
|
|
1675
1723
|
const isNumber$1 = (val) => typeof val === "number" && isFinite(val);
|
|
1676
1724
|
const isDate$1 = (val) => toTypeString(val) === "[object Date]";
|
|
1677
1725
|
const isRegExp$1 = (val) => toTypeString(val) === "[object RegExp]";
|
|
1678
|
-
const isEmptyObject = (val) => isPlainObject$1(val) && Object.keys(val).length === 0;
|
|
1726
|
+
const isEmptyObject$1 = (val) => isPlainObject$1(val) && Object.keys(val).length === 0;
|
|
1679
1727
|
const assign$1 = Object.assign;
|
|
1680
1728
|
const _create = Object.create;
|
|
1681
1729
|
const create = (obj = null) => _create(obj);
|
|
@@ -1684,19 +1732,43 @@ const getGlobalThis = () => {
|
|
|
1684
1732
|
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : create());
|
|
1685
1733
|
};
|
|
1686
1734
|
function escapeHtml(rawText) {
|
|
1687
|
-
return rawText.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
1735
|
+
return rawText.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/").replace(/=/g, "=");
|
|
1736
|
+
}
|
|
1737
|
+
function escapeAttributeValue(value) {
|
|
1738
|
+
return value.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
1739
|
+
}
|
|
1740
|
+
function sanitizeTranslatedHtml(html2) {
|
|
1741
|
+
html2 = html2.replace(/(\w+)\s*=\s*"([^"]*)"/g, (_, attrName, attrValue) => `${attrName}="${escapeAttributeValue(attrValue)}"`);
|
|
1742
|
+
html2 = html2.replace(/(\w+)\s*=\s*'([^']*)'/g, (_, attrName, attrValue) => `${attrName}='${escapeAttributeValue(attrValue)}'`);
|
|
1743
|
+
const eventHandlerPattern = /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi;
|
|
1744
|
+
if (eventHandlerPattern.test(html2)) {
|
|
1745
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1746
|
+
warn("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages.");
|
|
1747
|
+
}
|
|
1748
|
+
html2 = html2.replace(/(\s+)(on)(\w+\s*=)/gi, "$1on$3");
|
|
1749
|
+
}
|
|
1750
|
+
const javascriptUrlPattern = [
|
|
1751
|
+
// In href, src, action, formaction attributes
|
|
1752
|
+
/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
|
|
1753
|
+
// In style attributes within url()
|
|
1754
|
+
/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi
|
|
1755
|
+
];
|
|
1756
|
+
javascriptUrlPattern.forEach((pattern) => {
|
|
1757
|
+
html2 = html2.replace(pattern, "$1javascript:");
|
|
1758
|
+
});
|
|
1759
|
+
return html2;
|
|
1688
1760
|
}
|
|
1689
1761
|
const hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
1690
1762
|
function hasOwn(obj, key) {
|
|
1691
1763
|
return hasOwnProperty$1.call(obj, key);
|
|
1692
1764
|
}
|
|
1693
1765
|
const isArray$1 = Array.isArray;
|
|
1694
|
-
const isFunction$
|
|
1766
|
+
const isFunction$2 = (val) => typeof val === "function";
|
|
1695
1767
|
const isString$2 = (val) => typeof val === "string";
|
|
1696
1768
|
const isBoolean$1 = (val) => typeof val === "boolean";
|
|
1697
1769
|
const isObject$3 = (val) => val !== null && typeof val === "object";
|
|
1698
1770
|
const isPromise = (val) => {
|
|
1699
|
-
return isObject$3(val) && isFunction$
|
|
1771
|
+
return isObject$3(val) && isFunction$2(val.then) && isFunction$2(val.catch);
|
|
1700
1772
|
};
|
|
1701
1773
|
const objectToString = Object.prototype.toString;
|
|
1702
1774
|
const toTypeString = (value) => objectToString.call(value);
|
|
@@ -1747,21 +1819,6 @@ function incrementer(code2) {
|
|
|
1747
1819
|
let current = code2;
|
|
1748
1820
|
return () => ++current;
|
|
1749
1821
|
}
|
|
1750
|
-
function warn(msg, err) {
|
|
1751
|
-
if (typeof console !== "undefined") {
|
|
1752
|
-
console.warn(`[intlify] ` + msg);
|
|
1753
|
-
if (err) {
|
|
1754
|
-
console.warn(err.stack);
|
|
1755
|
-
}
|
|
1756
|
-
}
|
|
1757
|
-
}
|
|
1758
|
-
const hasWarned = {};
|
|
1759
|
-
function warnOnce(msg) {
|
|
1760
|
-
if (!hasWarned[msg]) {
|
|
1761
|
-
hasWarned[msg] = true;
|
|
1762
|
-
warn(msg);
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
1822
|
function createEmitter() {
|
|
1766
1823
|
const events = /* @__PURE__ */ new Map();
|
|
1767
1824
|
const emitter2 = {
|
|
@@ -1810,7 +1867,7 @@ function deepCopy(src, des) {
|
|
|
1810
1867
|
}
|
|
1811
1868
|
}
|
|
1812
1869
|
/*!
|
|
1813
|
-
* message-compiler v9.14.
|
|
1870
|
+
* message-compiler v9.14.5
|
|
1814
1871
|
* (c) 2025 kazuya kawaguchi
|
|
1815
1872
|
* Released under the MIT License.
|
|
1816
1873
|
*/
|
|
@@ -3360,7 +3417,7 @@ function baseCompile$1(source, options = {}) {
|
|
|
3360
3417
|
}
|
|
3361
3418
|
}
|
|
3362
3419
|
/*!
|
|
3363
|
-
* core-base v9.14.
|
|
3420
|
+
* core-base v9.14.5
|
|
3364
3421
|
* (c) 2025 kazuya kawaguchi
|
|
3365
3422
|
* Released under the MIT License.
|
|
3366
3423
|
*/
|
|
@@ -3877,7 +3934,7 @@ function resolveValue(obj, path) {
|
|
|
3877
3934
|
if (val === void 0) {
|
|
3878
3935
|
return null;
|
|
3879
3936
|
}
|
|
3880
|
-
if (isFunction$
|
|
3937
|
+
if (isFunction$2(last)) {
|
|
3881
3938
|
return null;
|
|
3882
3939
|
}
|
|
3883
3940
|
last = val;
|
|
@@ -3912,8 +3969,8 @@ function normalizeNamed(pluralIndex, props) {
|
|
|
3912
3969
|
function createMessageContext(options = {}) {
|
|
3913
3970
|
const locale2 = options.locale;
|
|
3914
3971
|
const pluralIndex = getPluralIndex(options);
|
|
3915
|
-
const pluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$
|
|
3916
|
-
const orgPluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$
|
|
3972
|
+
const pluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$2(options.pluralRules[locale2]) ? options.pluralRules[locale2] : pluralDefault;
|
|
3973
|
+
const orgPluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$2(options.pluralRules[locale2]) ? pluralDefault : void 0;
|
|
3917
3974
|
const plural = (messages) => {
|
|
3918
3975
|
return messages[pluralRule(pluralIndex, messages.length, orgPluralRule)];
|
|
3919
3976
|
};
|
|
@@ -3923,12 +3980,12 @@ function createMessageContext(options = {}) {
|
|
|
3923
3980
|
isNumber$1(options.pluralIndex) && normalizeNamed(pluralIndex, _named);
|
|
3924
3981
|
const named = (key) => _named[key];
|
|
3925
3982
|
function message(key) {
|
|
3926
|
-
const msg = isFunction$
|
|
3983
|
+
const msg = isFunction$2(options.messages) ? options.messages(key) : isObject$3(options.messages) ? options.messages[key] : false;
|
|
3927
3984
|
return !msg ? options.parent ? options.parent.message(key) : DEFAULT_MESSAGE : msg;
|
|
3928
3985
|
}
|
|
3929
3986
|
const _modifier = (name) => options.modifiers ? options.modifiers[name] : DEFAULT_MODIFIER;
|
|
3930
|
-
const normalize = isPlainObject$1(options.processor) && isFunction$
|
|
3931
|
-
const interpolate = isPlainObject$1(options.processor) && isFunction$
|
|
3987
|
+
const normalize = isPlainObject$1(options.processor) && isFunction$2(options.processor.normalize) ? options.processor.normalize : DEFAULT_NORMALIZE;
|
|
3988
|
+
const interpolate = isPlainObject$1(options.processor) && isFunction$2(options.processor.interpolate) ? options.processor.interpolate : DEFAULT_INTERPOLATE;
|
|
3932
3989
|
const type = isPlainObject$1(options.processor) && isString$2(options.processor.type) ? options.processor.type : DEFAULT_MESSAGE_DATA_TYPE;
|
|
3933
3990
|
const linked = (key, ...args) => {
|
|
3934
3991
|
const [arg1, arg2] = args;
|
|
@@ -4087,7 +4144,7 @@ function resolveLocale(locale2) {
|
|
|
4087
4144
|
if (isString$2(locale2)) {
|
|
4088
4145
|
return locale2;
|
|
4089
4146
|
} else {
|
|
4090
|
-
if (isFunction$
|
|
4147
|
+
if (isFunction$2(locale2)) {
|
|
4091
4148
|
if (locale2.resolvedOnce && _resolveLocale != null) {
|
|
4092
4149
|
return _resolveLocale;
|
|
4093
4150
|
} else if (locale2.constructor.name === "Function") {
|
|
@@ -4167,7 +4224,7 @@ function appendItemToChain(chain, target, blocks) {
|
|
|
4167
4224
|
}
|
|
4168
4225
|
return follow;
|
|
4169
4226
|
}
|
|
4170
|
-
const VERSION$3 = "9.14.
|
|
4227
|
+
const VERSION$3 = "9.14.5";
|
|
4171
4228
|
const NOT_REOSLVED = -1;
|
|
4172
4229
|
const DEFAULT_LOCALE = "en-US";
|
|
4173
4230
|
const MISSING_RESOLVE_VALUE = "";
|
|
@@ -4209,31 +4266,31 @@ const setFallbackContext = (context) => {
|
|
|
4209
4266
|
const getFallbackContext = () => _fallbackContext;
|
|
4210
4267
|
let _cid = 0;
|
|
4211
4268
|
function createCoreContext(options = {}) {
|
|
4212
|
-
const onWarn = isFunction$
|
|
4269
|
+
const onWarn = isFunction$2(options.onWarn) ? options.onWarn : warn;
|
|
4213
4270
|
const version = isString$2(options.version) ? options.version : VERSION$3;
|
|
4214
|
-
const locale2 = isString$2(options.locale) || isFunction$
|
|
4215
|
-
const _locale = isFunction$
|
|
4271
|
+
const locale2 = isString$2(options.locale) || isFunction$2(options.locale) ? options.locale : DEFAULT_LOCALE;
|
|
4272
|
+
const _locale = isFunction$2(locale2) ? DEFAULT_LOCALE : locale2;
|
|
4216
4273
|
const fallbackLocale = isArray$1(options.fallbackLocale) || isPlainObject$1(options.fallbackLocale) || isString$2(options.fallbackLocale) || options.fallbackLocale === false ? options.fallbackLocale : _locale;
|
|
4217
4274
|
const messages = isPlainObject$1(options.messages) ? options.messages : createResources(_locale);
|
|
4218
4275
|
const datetimeFormats = isPlainObject$1(options.datetimeFormats) ? options.datetimeFormats : createResources(_locale);
|
|
4219
4276
|
const numberFormats = isPlainObject$1(options.numberFormats) ? options.numberFormats : createResources(_locale);
|
|
4220
4277
|
const modifiers = assign$1(create(), options.modifiers, getDefaultLinkedModifiers());
|
|
4221
4278
|
const pluralRules = options.pluralRules || create();
|
|
4222
|
-
const missing = isFunction$
|
|
4279
|
+
const missing = isFunction$2(options.missing) ? options.missing : null;
|
|
4223
4280
|
const missingWarn = isBoolean$1(options.missingWarn) || isRegExp$1(options.missingWarn) ? options.missingWarn : true;
|
|
4224
4281
|
const fallbackWarn = isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
|
|
4225
4282
|
const fallbackFormat = !!options.fallbackFormat;
|
|
4226
4283
|
const unresolving = !!options.unresolving;
|
|
4227
|
-
const postTranslation = isFunction$
|
|
4284
|
+
const postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : null;
|
|
4228
4285
|
const processor = isPlainObject$1(options.processor) ? options.processor : null;
|
|
4229
4286
|
const warnHtmlMessage = isBoolean$1(options.warnHtmlMessage) ? options.warnHtmlMessage : true;
|
|
4230
4287
|
const escapeParameter = !!options.escapeParameter;
|
|
4231
|
-
const messageCompiler = isFunction$
|
|
4232
|
-
if (process.env.NODE_ENV !== "production" && true && true && isFunction$
|
|
4288
|
+
const messageCompiler = isFunction$2(options.messageCompiler) ? options.messageCompiler : _compiler;
|
|
4289
|
+
if (process.env.NODE_ENV !== "production" && true && true && isFunction$2(options.messageCompiler)) {
|
|
4233
4290
|
warnOnce(getWarnMessage$1(CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
4234
4291
|
}
|
|
4235
|
-
const messageResolver = isFunction$
|
|
4236
|
-
const localeFallbacker = isFunction$
|
|
4292
|
+
const messageResolver = isFunction$2(options.messageResolver) ? options.messageResolver : _resolver || resolveWithKeyValue;
|
|
4293
|
+
const localeFallbacker = isFunction$2(options.localeFallbacker) ? options.localeFallbacker : _fallbacker || fallbackWithSimple;
|
|
4237
4294
|
const fallbackContext = isObject$3(options.fallbackContext) ? options.fallbackContext : void 0;
|
|
4238
4295
|
const internalOptions = options;
|
|
4239
4296
|
const __datetimeFormatters = isObject$3(internalOptions.__datetimeFormatters) ? internalOptions.__datetimeFormatters : /* @__PURE__ */ new Map();
|
|
@@ -4491,7 +4548,7 @@ function compile(message, context) {
|
|
|
4491
4548
|
}
|
|
4492
4549
|
}
|
|
4493
4550
|
const NOOP_MESSAGE_FUNCTION = () => "";
|
|
4494
|
-
const isMessageFunction = (val) => isFunction$
|
|
4551
|
+
const isMessageFunction = (val) => isFunction$2(val);
|
|
4495
4552
|
function translate(context, ...args) {
|
|
4496
4553
|
const { fallbackFormat, postTranslation, unresolving, messageCompiler, fallbackLocale, messages } = context;
|
|
4497
4554
|
const [key, options] = parseTranslateArgs(...args);
|
|
@@ -4534,7 +4591,10 @@ function translate(context, ...args) {
|
|
|
4534
4591
|
const ctxOptions = getMessageContextOptions(context, targetLocale, message, options);
|
|
4535
4592
|
const msgContext = createMessageContext(ctxOptions);
|
|
4536
4593
|
const messaged = evaluateMessage(context, msg, msgContext);
|
|
4537
|
-
|
|
4594
|
+
let ret = postTranslation ? postTranslation(messaged, key) : messaged;
|
|
4595
|
+
if (escapeParameter && isString$2(ret)) {
|
|
4596
|
+
ret = sanitizeTranslatedHtml(ret);
|
|
4597
|
+
}
|
|
4538
4598
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
4539
4599
|
const payloads = {
|
|
4540
4600
|
timestamp: Date.now(),
|
|
@@ -4723,7 +4783,7 @@ function parseTranslateArgs(...args) {
|
|
|
4723
4783
|
options.plural = arg2;
|
|
4724
4784
|
} else if (isString$2(arg2)) {
|
|
4725
4785
|
options.default = arg2;
|
|
4726
|
-
} else if (isPlainObject$1(arg2) && !isEmptyObject(arg2)) {
|
|
4786
|
+
} else if (isPlainObject$1(arg2) && !isEmptyObject$1(arg2)) {
|
|
4727
4787
|
options.named = arg2;
|
|
4728
4788
|
} else if (isArray$1(arg2)) {
|
|
4729
4789
|
options.list = arg2;
|
|
@@ -4880,7 +4940,7 @@ function datetime(context, ...args) {
|
|
|
4880
4940
|
return unresolving ? NOT_REOSLVED : key;
|
|
4881
4941
|
}
|
|
4882
4942
|
let id = `${targetLocale}__${key}`;
|
|
4883
|
-
if (!isEmptyObject(overrides)) {
|
|
4943
|
+
if (!isEmptyObject$1(overrides)) {
|
|
4884
4944
|
id = `${id}__${JSON.stringify(overrides)}`;
|
|
4885
4945
|
}
|
|
4886
4946
|
let formatter = __datetimeFormatters.get(id);
|
|
@@ -5028,7 +5088,7 @@ function number(context, ...args) {
|
|
|
5028
5088
|
return unresolving ? NOT_REOSLVED : key;
|
|
5029
5089
|
}
|
|
5030
5090
|
let id = `${targetLocale}__${key}`;
|
|
5031
|
-
if (!isEmptyObject(overrides)) {
|
|
5091
|
+
if (!isEmptyObject$1(overrides)) {
|
|
5032
5092
|
id = `${id}__${JSON.stringify(overrides)}`;
|
|
5033
5093
|
}
|
|
5034
5094
|
let formatter = __numberFormatters.get(id);
|
|
@@ -5251,11 +5311,11 @@ function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
|
|
|
5251
5311
|
}
|
|
5252
5312
|
}
|
|
5253
5313
|
/*!
|
|
5254
|
-
* vue-i18n v9.14.
|
|
5314
|
+
* vue-i18n v9.14.5
|
|
5255
5315
|
* (c) 2025 kazuya kawaguchi
|
|
5256
5316
|
* Released under the MIT License.
|
|
5257
5317
|
*/
|
|
5258
|
-
const VERSION$2 = "9.14.
|
|
5318
|
+
const VERSION$2 = "9.14.5";
|
|
5259
5319
|
function initFeatureFlags() {
|
|
5260
5320
|
if (typeof __VUE_I18N_FULL_INSTALL__ !== "boolean") {
|
|
5261
5321
|
getGlobalThis().__VUE_I18N_FULL_INSTALL__ = true;
|
|
@@ -5547,9 +5607,9 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5547
5607
|
let _fallbackWarn = __root ? __root.fallbackWarn : isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
|
|
5548
5608
|
let _fallbackRoot = __root ? __root.fallbackRoot : isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
|
|
5549
5609
|
let _fallbackFormat = !!options.fallbackFormat;
|
|
5550
|
-
let _missing = isFunction$
|
|
5551
|
-
let _runtimeMissing = isFunction$
|
|
5552
|
-
let _postTranslation = isFunction$
|
|
5610
|
+
let _missing = isFunction$2(options.missing) ? options.missing : null;
|
|
5611
|
+
let _runtimeMissing = isFunction$2(options.missing) ? defineCoreMissingHandler(options.missing) : null;
|
|
5612
|
+
let _postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : null;
|
|
5553
5613
|
let _warnHtmlMessage = __root ? __root.warnHtmlMessage : isBoolean$1(options.warnHtmlMessage) ? options.warnHtmlMessage : true;
|
|
5554
5614
|
let _escapeParameter = !!options.escapeParameter;
|
|
5555
5615
|
const _modifiers = __root ? __root.modifiers : isPlainObject$1(options.modifiers) ? options.modifiers : {};
|
|
@@ -5619,7 +5679,7 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5619
5679
|
const datetimeFormats = /* @__PURE__ */ computed(() => _datetimeFormats.value);
|
|
5620
5680
|
const numberFormats = /* @__PURE__ */ computed(() => _numberFormats.value);
|
|
5621
5681
|
function getPostTranslationHandler() {
|
|
5622
|
-
return isFunction$
|
|
5682
|
+
return isFunction$2(_postTranslation) ? _postTranslation : null;
|
|
5623
5683
|
}
|
|
5624
5684
|
function setPostTranslationHandler(handler) {
|
|
5625
5685
|
_postTranslation = handler;
|
|
@@ -5970,14 +6030,14 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5970
6030
|
function convertComposerOptions(options) {
|
|
5971
6031
|
const locale2 = isString$2(options.locale) ? options.locale : DEFAULT_LOCALE;
|
|
5972
6032
|
const fallbackLocale = isString$2(options.fallbackLocale) || isArray$1(options.fallbackLocale) || isPlainObject$1(options.fallbackLocale) || options.fallbackLocale === false ? options.fallbackLocale : locale2;
|
|
5973
|
-
const missing = isFunction$
|
|
6033
|
+
const missing = isFunction$2(options.missing) ? options.missing : void 0;
|
|
5974
6034
|
const missingWarn = isBoolean$1(options.silentTranslationWarn) || isRegExp$1(options.silentTranslationWarn) ? !options.silentTranslationWarn : true;
|
|
5975
6035
|
const fallbackWarn = isBoolean$1(options.silentFallbackWarn) || isRegExp$1(options.silentFallbackWarn) ? !options.silentFallbackWarn : true;
|
|
5976
6036
|
const fallbackRoot = isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
|
|
5977
6037
|
const fallbackFormat = !!options.formatFallbackMessages;
|
|
5978
6038
|
const modifiers = isPlainObject$1(options.modifiers) ? options.modifiers : {};
|
|
5979
6039
|
const pluralizationRules = options.pluralizationRules;
|
|
5980
|
-
const postTranslation = isFunction$
|
|
6040
|
+
const postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : void 0;
|
|
5981
6041
|
const warnHtmlMessage = isString$2(options.warnHtmlInMessage) ? options.warnHtmlInMessage !== "off" : true;
|
|
5982
6042
|
const escapeParameter = !!options.escapeParameterHtml;
|
|
5983
6043
|
const inheritLocale = isBoolean$1(options.sync) ? options.sync : true;
|
|
@@ -6754,7 +6814,7 @@ function getLocaleMessageValue(messages) {
|
|
|
6754
6814
|
const value = {};
|
|
6755
6815
|
Object.keys(messages).forEach((key) => {
|
|
6756
6816
|
const v = messages[key];
|
|
6757
|
-
if (isFunction$
|
|
6817
|
+
if (isFunction$2(v) && "source" in v) {
|
|
6758
6818
|
value[key] = getMessageFunctionDetails(v);
|
|
6759
6819
|
} else if (isMessageAST(v) && v.loc && v.loc.source) {
|
|
6760
6820
|
value[key] = v.loc.source;
|
|
@@ -7222,7 +7282,7 @@ function getI18nInstance(instance) {
|
|
|
7222
7282
|
}
|
|
7223
7283
|
}
|
|
7224
7284
|
function getScope(options, componentOptions) {
|
|
7225
|
-
return isEmptyObject(options) ? "__i18n" in componentOptions ? "local" : "global" : !options.useScope ? "local" : options.useScope;
|
|
7285
|
+
return isEmptyObject$1(options) ? "__i18n" in componentOptions ? "local" : "global" : !options.useScope ? "local" : options.useScope;
|
|
7226
7286
|
}
|
|
7227
7287
|
function getGlobalComposer(i18n2) {
|
|
7228
7288
|
return i18n2.mode === "composition" ? i18n2.global : i18n2.global.__composer;
|
|
@@ -7314,8 +7374,8 @@ function useI18nForLegacy(instance, scope, root, options = {}) {
|
|
|
7314
7374
|
const _fallbackWarn = isLocalScope ? root.fallbackWarn : isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
|
|
7315
7375
|
const _fallbackRoot = isLocalScope ? root.fallbackRoot : isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
|
|
7316
7376
|
const _fallbackFormat = !!options.fallbackFormat;
|
|
7317
|
-
const _missing = isFunction$
|
|
7318
|
-
const _postTranslation = isFunction$
|
|
7377
|
+
const _missing = isFunction$2(options.missing) ? options.missing : null;
|
|
7378
|
+
const _postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : null;
|
|
7319
7379
|
const _warnHtmlMessage = isLocalScope ? root.warnHtmlMessage : isBoolean$1(options.warnHtmlMessage) ? options.warnHtmlMessage : true;
|
|
7320
7380
|
const _escapeParameter = !!options.escapeParameter;
|
|
7321
7381
|
const _modifiers = isLocalScope ? root.modifiers : isPlainObject$1(options.modifiers) ? options.modifiers : {};
|
|
@@ -8568,7 +8628,7 @@ const typeOfTest = (type) => (thing) => typeof thing === type;
|
|
|
8568
8628
|
const { isArray } = Array;
|
|
8569
8629
|
const isUndefined$1 = typeOfTest("undefined");
|
|
8570
8630
|
function isBuffer(val) {
|
|
8571
|
-
return val !== null && !isUndefined$1(val) && val.constructor !== null && !isUndefined$1(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
8631
|
+
return val !== null && !isUndefined$1(val) && val.constructor !== null && !isUndefined$1(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
8572
8632
|
}
|
|
8573
8633
|
const isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
8574
8634
|
function isArrayBufferView(val) {
|
|
@@ -8581,7 +8641,7 @@ function isArrayBufferView(val) {
|
|
|
8581
8641
|
return result2;
|
|
8582
8642
|
}
|
|
8583
8643
|
const isString = typeOfTest("string");
|
|
8584
|
-
const isFunction = typeOfTest("function");
|
|
8644
|
+
const isFunction$1 = typeOfTest("function");
|
|
8585
8645
|
const isNumber = typeOfTest("number");
|
|
8586
8646
|
const isObject$1 = (thing) => thing !== null && typeof thing === "object";
|
|
8587
8647
|
const isBoolean = (thing) => thing === true || thing === false;
|
|
@@ -8592,15 +8652,25 @@ const isPlainObject = (val) => {
|
|
|
8592
8652
|
const prototype2 = getPrototypeOf(val);
|
|
8593
8653
|
return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(toStringTag in val) && !(iterator in val);
|
|
8594
8654
|
};
|
|
8655
|
+
const isEmptyObject = (val) => {
|
|
8656
|
+
if (!isObject$1(val) || isBuffer(val)) {
|
|
8657
|
+
return false;
|
|
8658
|
+
}
|
|
8659
|
+
try {
|
|
8660
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
8661
|
+
} catch (e) {
|
|
8662
|
+
return false;
|
|
8663
|
+
}
|
|
8664
|
+
};
|
|
8595
8665
|
const isDate = kindOfTest("Date");
|
|
8596
8666
|
const isFile = kindOfTest("File");
|
|
8597
8667
|
const isBlob = kindOfTest("Blob");
|
|
8598
8668
|
const isFileList = kindOfTest("FileList");
|
|
8599
|
-
const isStream = (val) => isObject$1(val) && isFunction(val.pipe);
|
|
8669
|
+
const isStream = (val) => isObject$1(val) && isFunction$1(val.pipe);
|
|
8600
8670
|
const isFormData = (thing) => {
|
|
8601
8671
|
let kind;
|
|
8602
|
-
return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
|
|
8603
|
-
kind === "object" && isFunction(thing.toString) && thing.toString() === "[object FormData]"));
|
|
8672
|
+
return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
|
|
8673
|
+
kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
|
|
8604
8674
|
};
|
|
8605
8675
|
const isURLSearchParams = kindOfTest("URLSearchParams");
|
|
8606
8676
|
const [isReadableStream, isRequest, isResponse, isHeaders] = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest);
|
|
@@ -8619,6 +8689,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
8619
8689
|
fn.call(null, obj[i], i, obj);
|
|
8620
8690
|
}
|
|
8621
8691
|
} else {
|
|
8692
|
+
if (isBuffer(obj)) {
|
|
8693
|
+
return;
|
|
8694
|
+
}
|
|
8622
8695
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
8623
8696
|
const len = keys.length;
|
|
8624
8697
|
let key;
|
|
@@ -8629,6 +8702,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
8629
8702
|
}
|
|
8630
8703
|
}
|
|
8631
8704
|
function findKey(obj, key) {
|
|
8705
|
+
if (isBuffer(obj)) {
|
|
8706
|
+
return null;
|
|
8707
|
+
}
|
|
8632
8708
|
key = key.toLowerCase();
|
|
8633
8709
|
const keys = Object.keys(obj);
|
|
8634
8710
|
let i = keys.length;
|
|
@@ -8646,18 +8722,18 @@ const _global = (() => {
|
|
|
8646
8722
|
return typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : global;
|
|
8647
8723
|
})();
|
|
8648
8724
|
const isContextDefined = (context) => !isUndefined$1(context) && context !== _global;
|
|
8649
|
-
function merge() {
|
|
8650
|
-
const { caseless } = isContextDefined(this) && this || {};
|
|
8725
|
+
function merge$1() {
|
|
8726
|
+
const { caseless, skipUndefined } = isContextDefined(this) && this || {};
|
|
8651
8727
|
const result2 = {};
|
|
8652
8728
|
const assignValue = (val, key) => {
|
|
8653
8729
|
const targetKey = caseless && findKey(result2, key) || key;
|
|
8654
8730
|
if (isPlainObject(result2[targetKey]) && isPlainObject(val)) {
|
|
8655
|
-
result2[targetKey] = merge(result2[targetKey], val);
|
|
8731
|
+
result2[targetKey] = merge$1(result2[targetKey], val);
|
|
8656
8732
|
} else if (isPlainObject(val)) {
|
|
8657
|
-
result2[targetKey] = merge({}, val);
|
|
8733
|
+
result2[targetKey] = merge$1({}, val);
|
|
8658
8734
|
} else if (isArray(val)) {
|
|
8659
8735
|
result2[targetKey] = val.slice();
|
|
8660
|
-
} else {
|
|
8736
|
+
} else if (!skipUndefined || !isUndefined$1(val)) {
|
|
8661
8737
|
result2[targetKey] = val;
|
|
8662
8738
|
}
|
|
8663
8739
|
};
|
|
@@ -8668,7 +8744,7 @@ function merge() {
|
|
|
8668
8744
|
}
|
|
8669
8745
|
const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
8670
8746
|
forEach(b, (val, key) => {
|
|
8671
|
-
if (thisArg && isFunction(val)) {
|
|
8747
|
+
if (thisArg && isFunction$1(val)) {
|
|
8672
8748
|
a[key] = bind(val, thisArg);
|
|
8673
8749
|
} else {
|
|
8674
8750
|
a[key] = val;
|
|
@@ -8777,11 +8853,11 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
8777
8853
|
};
|
|
8778
8854
|
const freezeMethods = (obj) => {
|
|
8779
8855
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
8780
|
-
if (isFunction(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
|
|
8856
|
+
if (isFunction$1(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
|
|
8781
8857
|
return false;
|
|
8782
8858
|
}
|
|
8783
8859
|
const value = obj[name];
|
|
8784
|
-
if (!isFunction(value)) return;
|
|
8860
|
+
if (!isFunction$1(value)) return;
|
|
8785
8861
|
descriptor.enumerable = false;
|
|
8786
8862
|
if ("writable" in descriptor) {
|
|
8787
8863
|
descriptor.writable = false;
|
|
@@ -8810,7 +8886,7 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
8810
8886
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
8811
8887
|
};
|
|
8812
8888
|
function isSpecCompliantForm(thing) {
|
|
8813
|
-
return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
8889
|
+
return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
8814
8890
|
}
|
|
8815
8891
|
const toJSONObject = (obj) => {
|
|
8816
8892
|
const stack = new Array(10);
|
|
@@ -8819,6 +8895,9 @@ const toJSONObject = (obj) => {
|
|
|
8819
8895
|
if (stack.indexOf(source) >= 0) {
|
|
8820
8896
|
return;
|
|
8821
8897
|
}
|
|
8898
|
+
if (isBuffer(source)) {
|
|
8899
|
+
return source;
|
|
8900
|
+
}
|
|
8822
8901
|
if (!("toJSON" in source)) {
|
|
8823
8902
|
stack[i] = source;
|
|
8824
8903
|
const target = isArray(source) ? [] : {};
|
|
@@ -8835,7 +8914,7 @@ const toJSONObject = (obj) => {
|
|
|
8835
8914
|
return visit(obj, 0);
|
|
8836
8915
|
};
|
|
8837
8916
|
const isAsyncFn = kindOfTest("AsyncFunction");
|
|
8838
|
-
const isThenable = (thing) => thing && (isObject$1(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
|
|
8917
|
+
const isThenable = (thing) => thing && (isObject$1(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
|
|
8839
8918
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
8840
8919
|
if (setImmediateSupported) {
|
|
8841
8920
|
return setImmediate;
|
|
@@ -8853,10 +8932,10 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
8853
8932
|
})(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
|
|
8854
8933
|
})(
|
|
8855
8934
|
typeof setImmediate === "function",
|
|
8856
|
-
isFunction(_global.postMessage)
|
|
8935
|
+
isFunction$1(_global.postMessage)
|
|
8857
8936
|
);
|
|
8858
8937
|
const asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
8859
|
-
const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
8938
|
+
const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
|
|
8860
8939
|
const utils$1 = {
|
|
8861
8940
|
isArray,
|
|
8862
8941
|
isArrayBuffer,
|
|
@@ -8868,6 +8947,7 @@ const utils$1 = {
|
|
|
8868
8947
|
isBoolean,
|
|
8869
8948
|
isObject: isObject$1,
|
|
8870
8949
|
isPlainObject,
|
|
8950
|
+
isEmptyObject,
|
|
8871
8951
|
isReadableStream,
|
|
8872
8952
|
isRequest,
|
|
8873
8953
|
isResponse,
|
|
@@ -8877,13 +8957,13 @@ const utils$1 = {
|
|
|
8877
8957
|
isFile,
|
|
8878
8958
|
isBlob,
|
|
8879
8959
|
isRegExp,
|
|
8880
|
-
isFunction,
|
|
8960
|
+
isFunction: isFunction$1,
|
|
8881
8961
|
isStream,
|
|
8882
8962
|
isURLSearchParams,
|
|
8883
8963
|
isTypedArray,
|
|
8884
8964
|
isFileList,
|
|
8885
8965
|
forEach,
|
|
8886
|
-
merge,
|
|
8966
|
+
merge: merge$1,
|
|
8887
8967
|
extend,
|
|
8888
8968
|
trim,
|
|
8889
8969
|
stripBOM,
|
|
@@ -8982,9 +9062,13 @@ AxiosError$1.from = (error, code2, config, request, response, customProps) => {
|
|
|
8982
9062
|
}, (prop) => {
|
|
8983
9063
|
return prop !== "isAxiosError";
|
|
8984
9064
|
});
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
axiosError
|
|
9065
|
+
const msg = error && error.message ? error.message : "Error";
|
|
9066
|
+
const errCode = code2 == null && error ? error.code : code2;
|
|
9067
|
+
AxiosError$1.call(axiosError, msg, errCode, config, request, response);
|
|
9068
|
+
if (error && axiosError.cause == null) {
|
|
9069
|
+
Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
|
|
9070
|
+
}
|
|
9071
|
+
axiosError.name = error && error.name || "Error";
|
|
8988
9072
|
customProps && Object.assign(axiosError, customProps);
|
|
8989
9073
|
return axiosError;
|
|
8990
9074
|
};
|
|
@@ -9034,6 +9118,9 @@ function toFormData$1(obj, formData, options) {
|
|
|
9034
9118
|
if (utils$1.isDate(value)) {
|
|
9035
9119
|
return value.toISOString();
|
|
9036
9120
|
}
|
|
9121
|
+
if (utils$1.isBoolean(value)) {
|
|
9122
|
+
return value.toString();
|
|
9123
|
+
}
|
|
9037
9124
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
9038
9125
|
throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
|
|
9039
9126
|
}
|
|
@@ -9129,7 +9216,7 @@ prototype.toString = function toString2(encoder) {
|
|
|
9129
9216
|
}, "").join("&");
|
|
9130
9217
|
};
|
|
9131
9218
|
function encode(val) {
|
|
9132
|
-
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+")
|
|
9219
|
+
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
9133
9220
|
}
|
|
9134
9221
|
function buildURL(url, params, options) {
|
|
9135
9222
|
if (!params) {
|
|
@@ -9183,7 +9270,7 @@ class InterceptorManager {
|
|
|
9183
9270
|
*
|
|
9184
9271
|
* @param {Number} id The ID that was returned by `use`
|
|
9185
9272
|
*
|
|
9186
|
-
* @returns {
|
|
9273
|
+
* @returns {void}
|
|
9187
9274
|
*/
|
|
9188
9275
|
eject(id) {
|
|
9189
9276
|
if (this.handlers[id]) {
|
|
@@ -9256,15 +9343,16 @@ const platform = {
|
|
|
9256
9343
|
...platform$1
|
|
9257
9344
|
};
|
|
9258
9345
|
function toURLEncodedForm(data, options) {
|
|
9259
|
-
return toFormData$1(data, new platform.classes.URLSearchParams(),
|
|
9346
|
+
return toFormData$1(data, new platform.classes.URLSearchParams(), {
|
|
9260
9347
|
visitor: function(value, key, path, helpers) {
|
|
9261
9348
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
9262
9349
|
this.append(key, value.toString("base64"));
|
|
9263
9350
|
return false;
|
|
9264
9351
|
}
|
|
9265
9352
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
9266
|
-
}
|
|
9267
|
-
|
|
9353
|
+
},
|
|
9354
|
+
...options
|
|
9355
|
+
});
|
|
9268
9356
|
}
|
|
9269
9357
|
function parsePropPath(name) {
|
|
9270
9358
|
return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
@@ -9384,7 +9472,7 @@ const defaults = {
|
|
|
9384
9472
|
const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
|
|
9385
9473
|
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
9386
9474
|
try {
|
|
9387
|
-
return JSON.parse(data);
|
|
9475
|
+
return JSON.parse(data, this.parseReviver);
|
|
9388
9476
|
} catch (e) {
|
|
9389
9477
|
if (strictJSONParsing) {
|
|
9390
9478
|
if (e.name === "SyntaxError") {
|
|
@@ -9775,7 +9863,7 @@ function throttle(fn, freq) {
|
|
|
9775
9863
|
clearTimeout(timer);
|
|
9776
9864
|
timer = null;
|
|
9777
9865
|
}
|
|
9778
|
-
fn
|
|
9866
|
+
fn(...args);
|
|
9779
9867
|
};
|
|
9780
9868
|
const throttled = (...args) => {
|
|
9781
9869
|
const now2 = Date.now();
|
|
@@ -9838,20 +9926,33 @@ const isURLSameOrigin = platform.hasStandardBrowserEnv ? /* @__PURE__ */ ((origi
|
|
|
9838
9926
|
const cookies = platform.hasStandardBrowserEnv ? (
|
|
9839
9927
|
// Standard browser envs support document.cookie
|
|
9840
9928
|
{
|
|
9841
|
-
write(name, value, expires, path, domain, secure) {
|
|
9842
|
-
|
|
9843
|
-
|
|
9844
|
-
utils$1.
|
|
9845
|
-
|
|
9846
|
-
|
|
9929
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
9930
|
+
if (typeof document === "undefined") return;
|
|
9931
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
9932
|
+
if (utils$1.isNumber(expires)) {
|
|
9933
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
9934
|
+
}
|
|
9935
|
+
if (utils$1.isString(path)) {
|
|
9936
|
+
cookie.push(`path=${path}`);
|
|
9937
|
+
}
|
|
9938
|
+
if (utils$1.isString(domain)) {
|
|
9939
|
+
cookie.push(`domain=${domain}`);
|
|
9940
|
+
}
|
|
9941
|
+
if (secure === true) {
|
|
9942
|
+
cookie.push("secure");
|
|
9943
|
+
}
|
|
9944
|
+
if (utils$1.isString(sameSite)) {
|
|
9945
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
9946
|
+
}
|
|
9847
9947
|
document.cookie = cookie.join("; ");
|
|
9848
9948
|
},
|
|
9849
9949
|
read(name) {
|
|
9850
|
-
|
|
9851
|
-
|
|
9950
|
+
if (typeof document === "undefined") return null;
|
|
9951
|
+
const match = document.cookie.match(new RegExp("(?:^|; )" + name + "=([^;]*)"));
|
|
9952
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
9852
9953
|
},
|
|
9853
9954
|
remove(name) {
|
|
9854
|
-
this.write(name, "", Date.now() - 864e5);
|
|
9955
|
+
this.write(name, "", Date.now() - 864e5, "/");
|
|
9855
9956
|
}
|
|
9856
9957
|
}
|
|
9857
9958
|
) : (
|
|
@@ -9950,7 +10051,7 @@ function mergeConfig$1(config1, config2) {
|
|
|
9950
10051
|
validateStatus: mergeDirectKeys,
|
|
9951
10052
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
9952
10053
|
};
|
|
9953
|
-
utils$1.forEach(Object.keys(
|
|
10054
|
+
utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
9954
10055
|
const merge2 = mergeMap[prop] || mergeDeepProperties;
|
|
9955
10056
|
const configValue = merge2(config1[prop], config2[prop], prop);
|
|
9956
10057
|
utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
|
|
@@ -9968,13 +10069,17 @@ const resolveConfig = (config) => {
|
|
|
9968
10069
|
"Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
|
|
9969
10070
|
);
|
|
9970
10071
|
}
|
|
9971
|
-
let contentType;
|
|
9972
10072
|
if (utils$1.isFormData(data)) {
|
|
9973
10073
|
if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
|
|
9974
10074
|
headers.setContentType(void 0);
|
|
9975
|
-
} else if ((
|
|
9976
|
-
const
|
|
9977
|
-
|
|
10075
|
+
} else if (utils$1.isFunction(data.getHeaders)) {
|
|
10076
|
+
const formHeaders = data.getHeaders();
|
|
10077
|
+
const allowedHeaders = ["content-type", "content-length"];
|
|
10078
|
+
Object.entries(formHeaders).forEach(([key, val]) => {
|
|
10079
|
+
if (allowedHeaders.includes(key.toLowerCase())) {
|
|
10080
|
+
headers.set(key, val);
|
|
10081
|
+
}
|
|
10082
|
+
});
|
|
9978
10083
|
}
|
|
9979
10084
|
}
|
|
9980
10085
|
if (platform.hasStandardBrowserEnv) {
|
|
@@ -10052,8 +10157,11 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
10052
10157
|
reject(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config, request));
|
|
10053
10158
|
request = null;
|
|
10054
10159
|
};
|
|
10055
|
-
request.onerror = function handleError() {
|
|
10056
|
-
|
|
10160
|
+
request.onerror = function handleError(event) {
|
|
10161
|
+
const msg = event && event.message ? event.message : "Network Error";
|
|
10162
|
+
const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
|
|
10163
|
+
err.event = event || null;
|
|
10164
|
+
reject(err);
|
|
10057
10165
|
request = null;
|
|
10058
10166
|
};
|
|
10059
10167
|
request.ontimeout = function handleTimeout() {
|
|
@@ -10221,9 +10329,16 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
10221
10329
|
highWaterMark: 2
|
|
10222
10330
|
});
|
|
10223
10331
|
};
|
|
10224
|
-
const
|
|
10225
|
-
const
|
|
10226
|
-
const
|
|
10332
|
+
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
10333
|
+
const { isFunction } = utils$1;
|
|
10334
|
+
const globalFetchAPI = (({ Request, Response }) => ({
|
|
10335
|
+
Request,
|
|
10336
|
+
Response
|
|
10337
|
+
}))(utils$1.global);
|
|
10338
|
+
const {
|
|
10339
|
+
ReadableStream: ReadableStream$1,
|
|
10340
|
+
TextEncoder
|
|
10341
|
+
} = utils$1.global;
|
|
10227
10342
|
const test = (fn, ...args) => {
|
|
10228
10343
|
try {
|
|
10229
10344
|
return !!fn(...args);
|
|
@@ -10231,162 +10346,202 @@ const test = (fn, ...args) => {
|
|
|
10231
10346
|
return false;
|
|
10232
10347
|
}
|
|
10233
10348
|
};
|
|
10234
|
-
const
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
return duplexAccessed && !hasContentType;
|
|
10245
|
-
});
|
|
10246
|
-
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
10247
|
-
const supportsResponseStream = isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
10248
|
-
const resolvers = {
|
|
10249
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
10250
|
-
};
|
|
10251
|
-
isFetchSupported && ((res) => {
|
|
10252
|
-
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
10253
|
-
!resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
|
|
10254
|
-
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
10255
|
-
});
|
|
10256
|
-
});
|
|
10257
|
-
})(new Response());
|
|
10258
|
-
const getBodyLength = async (body) => {
|
|
10259
|
-
if (body == null) {
|
|
10260
|
-
return 0;
|
|
10261
|
-
}
|
|
10262
|
-
if (utils$1.isBlob(body)) {
|
|
10263
|
-
return body.size;
|
|
10349
|
+
const factory = (env) => {
|
|
10350
|
+
env = utils$1.merge.call({
|
|
10351
|
+
skipUndefined: true
|
|
10352
|
+
}, globalFetchAPI, env);
|
|
10353
|
+
const { fetch: envFetch, Request, Response } = env;
|
|
10354
|
+
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === "function";
|
|
10355
|
+
const isRequestSupported = isFunction(Request);
|
|
10356
|
+
const isResponseSupported = isFunction(Response);
|
|
10357
|
+
if (!isFetchSupported) {
|
|
10358
|
+
return false;
|
|
10264
10359
|
}
|
|
10265
|
-
|
|
10266
|
-
|
|
10360
|
+
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
|
|
10361
|
+
const encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
10362
|
+
const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
|
|
10363
|
+
let duplexAccessed = false;
|
|
10364
|
+
const hasContentType = new Request(platform.origin, {
|
|
10365
|
+
body: new ReadableStream$1(),
|
|
10267
10366
|
method: "POST",
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
return
|
|
10274
|
-
}
|
|
10275
|
-
if (utils$1.isURLSearchParams(body)) {
|
|
10276
|
-
body = body + "";
|
|
10277
|
-
}
|
|
10278
|
-
if (utils$1.isString(body)) {
|
|
10279
|
-
return (await encodeText(body)).byteLength;
|
|
10280
|
-
}
|
|
10281
|
-
};
|
|
10282
|
-
const resolveBodyLength = async (headers, body) => {
|
|
10283
|
-
const length = utils$1.toFiniteNumber(headers.getContentLength());
|
|
10284
|
-
return length == null ? getBodyLength(body) : length;
|
|
10285
|
-
};
|
|
10286
|
-
const fetchAdapter = isFetchSupported && (async (config) => {
|
|
10287
|
-
let {
|
|
10288
|
-
url,
|
|
10289
|
-
method,
|
|
10290
|
-
data,
|
|
10291
|
-
signal,
|
|
10292
|
-
cancelToken,
|
|
10293
|
-
timeout,
|
|
10294
|
-
onDownloadProgress,
|
|
10295
|
-
onUploadProgress,
|
|
10296
|
-
responseType,
|
|
10297
|
-
headers,
|
|
10298
|
-
withCredentials = "same-origin",
|
|
10299
|
-
fetchOptions
|
|
10300
|
-
} = resolveConfig(config);
|
|
10301
|
-
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
10302
|
-
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
10303
|
-
let request;
|
|
10304
|
-
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
10305
|
-
composedSignal.unsubscribe();
|
|
10367
|
+
get duplex() {
|
|
10368
|
+
duplexAccessed = true;
|
|
10369
|
+
return "half";
|
|
10370
|
+
}
|
|
10371
|
+
}).headers.has("Content-Type");
|
|
10372
|
+
return duplexAccessed && !hasContentType;
|
|
10306
10373
|
});
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10374
|
+
const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
10375
|
+
const resolvers = {
|
|
10376
|
+
stream: supportsResponseStream && ((res) => res.body)
|
|
10377
|
+
};
|
|
10378
|
+
isFetchSupported && (() => {
|
|
10379
|
+
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
10380
|
+
!resolvers[type] && (resolvers[type] = (res, config) => {
|
|
10381
|
+
let method = res && res[type];
|
|
10382
|
+
if (method) {
|
|
10383
|
+
return method.call(res);
|
|
10384
|
+
}
|
|
10385
|
+
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
10314
10386
|
});
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
const [onProgress, flush] = progressEventDecorator(
|
|
10321
|
-
requestContentLength,
|
|
10322
|
-
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
10323
|
-
);
|
|
10324
|
-
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
10325
|
-
}
|
|
10387
|
+
});
|
|
10388
|
+
})();
|
|
10389
|
+
const getBodyLength = async (body) => {
|
|
10390
|
+
if (body == null) {
|
|
10391
|
+
return 0;
|
|
10326
10392
|
}
|
|
10327
|
-
if (
|
|
10328
|
-
|
|
10393
|
+
if (utils$1.isBlob(body)) {
|
|
10394
|
+
return body.size;
|
|
10329
10395
|
}
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
method: method.toUpperCase(),
|
|
10335
|
-
headers: headers.normalize().toJSON(),
|
|
10336
|
-
body: data,
|
|
10337
|
-
duplex: "half",
|
|
10338
|
-
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
10339
|
-
});
|
|
10340
|
-
let response = await fetch(request);
|
|
10341
|
-
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
10342
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
10343
|
-
const options = {};
|
|
10344
|
-
["status", "statusText", "headers"].forEach((prop) => {
|
|
10345
|
-
options[prop] = response[prop];
|
|
10396
|
+
if (utils$1.isSpecCompliantForm(body)) {
|
|
10397
|
+
const _request = new Request(platform.origin, {
|
|
10398
|
+
method: "POST",
|
|
10399
|
+
body
|
|
10346
10400
|
});
|
|
10347
|
-
|
|
10348
|
-
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
10349
|
-
responseContentLength,
|
|
10350
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
10351
|
-
) || [];
|
|
10352
|
-
response = new Response(
|
|
10353
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
10354
|
-
flush && flush();
|
|
10355
|
-
unsubscribe && unsubscribe();
|
|
10356
|
-
}),
|
|
10357
|
-
options
|
|
10358
|
-
);
|
|
10401
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
10359
10402
|
}
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
|
-
|
|
10364
|
-
|
|
10365
|
-
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10403
|
+
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
|
10404
|
+
return body.byteLength;
|
|
10405
|
+
}
|
|
10406
|
+
if (utils$1.isURLSearchParams(body)) {
|
|
10407
|
+
body = body + "";
|
|
10408
|
+
}
|
|
10409
|
+
if (utils$1.isString(body)) {
|
|
10410
|
+
return (await encodeText(body)).byteLength;
|
|
10411
|
+
}
|
|
10412
|
+
};
|
|
10413
|
+
const resolveBodyLength = async (headers, body) => {
|
|
10414
|
+
const length = utils$1.toFiniteNumber(headers.getContentLength());
|
|
10415
|
+
return length == null ? getBodyLength(body) : length;
|
|
10416
|
+
};
|
|
10417
|
+
return async (config) => {
|
|
10418
|
+
let {
|
|
10419
|
+
url,
|
|
10420
|
+
method,
|
|
10421
|
+
data,
|
|
10422
|
+
signal,
|
|
10423
|
+
cancelToken,
|
|
10424
|
+
timeout,
|
|
10425
|
+
onDownloadProgress,
|
|
10426
|
+
onUploadProgress,
|
|
10427
|
+
responseType,
|
|
10428
|
+
headers,
|
|
10429
|
+
withCredentials = "same-origin",
|
|
10430
|
+
fetchOptions
|
|
10431
|
+
} = resolveConfig(config);
|
|
10432
|
+
let _fetch = envFetch || fetch;
|
|
10433
|
+
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
10434
|
+
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
10435
|
+
let request = null;
|
|
10436
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
10437
|
+
composedSignal.unsubscribe();
|
|
10372
10438
|
});
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10439
|
+
let requestContentLength;
|
|
10440
|
+
try {
|
|
10441
|
+
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
|
|
10442
|
+
let _request = new Request(url, {
|
|
10443
|
+
method: "POST",
|
|
10444
|
+
body: data,
|
|
10445
|
+
duplex: "half"
|
|
10446
|
+
});
|
|
10447
|
+
let contentTypeHeader;
|
|
10448
|
+
if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
|
|
10449
|
+
headers.setContentType(contentTypeHeader);
|
|
10380
10450
|
}
|
|
10381
|
-
|
|
10451
|
+
if (_request.body) {
|
|
10452
|
+
const [onProgress, flush] = progressEventDecorator(
|
|
10453
|
+
requestContentLength,
|
|
10454
|
+
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
10455
|
+
);
|
|
10456
|
+
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
10457
|
+
}
|
|
10458
|
+
}
|
|
10459
|
+
if (!utils$1.isString(withCredentials)) {
|
|
10460
|
+
withCredentials = withCredentials ? "include" : "omit";
|
|
10461
|
+
}
|
|
10462
|
+
const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
|
|
10463
|
+
const resolvedOptions = {
|
|
10464
|
+
...fetchOptions,
|
|
10465
|
+
signal: composedSignal,
|
|
10466
|
+
method: method.toUpperCase(),
|
|
10467
|
+
headers: headers.normalize().toJSON(),
|
|
10468
|
+
body: data,
|
|
10469
|
+
duplex: "half",
|
|
10470
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
10471
|
+
};
|
|
10472
|
+
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
10473
|
+
let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));
|
|
10474
|
+
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
10475
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
10476
|
+
const options = {};
|
|
10477
|
+
["status", "statusText", "headers"].forEach((prop) => {
|
|
10478
|
+
options[prop] = response[prop];
|
|
10479
|
+
});
|
|
10480
|
+
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
10481
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
10482
|
+
responseContentLength,
|
|
10483
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
10484
|
+
) || [];
|
|
10485
|
+
response = new Response(
|
|
10486
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
10487
|
+
flush && flush();
|
|
10488
|
+
unsubscribe && unsubscribe();
|
|
10489
|
+
}),
|
|
10490
|
+
options
|
|
10491
|
+
);
|
|
10492
|
+
}
|
|
10493
|
+
responseType = responseType || "text";
|
|
10494
|
+
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
|
|
10495
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
10496
|
+
return await new Promise((resolve, reject) => {
|
|
10497
|
+
settle(resolve, reject, {
|
|
10498
|
+
data: responseData,
|
|
10499
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
10500
|
+
status: response.status,
|
|
10501
|
+
statusText: response.statusText,
|
|
10502
|
+
config,
|
|
10503
|
+
request
|
|
10504
|
+
});
|
|
10505
|
+
});
|
|
10506
|
+
} catch (err) {
|
|
10507
|
+
unsubscribe && unsubscribe();
|
|
10508
|
+
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
10509
|
+
throw Object.assign(
|
|
10510
|
+
new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request),
|
|
10511
|
+
{
|
|
10512
|
+
cause: err.cause || err
|
|
10513
|
+
}
|
|
10514
|
+
);
|
|
10515
|
+
}
|
|
10516
|
+
throw AxiosError$1.from(err, err && err.code, config, request);
|
|
10382
10517
|
}
|
|
10383
|
-
|
|
10518
|
+
};
|
|
10519
|
+
};
|
|
10520
|
+
const seedCache = /* @__PURE__ */ new Map();
|
|
10521
|
+
const getFetch = (config) => {
|
|
10522
|
+
let env = config && config.env || {};
|
|
10523
|
+
const { fetch: fetch2, Request, Response } = env;
|
|
10524
|
+
const seeds = [
|
|
10525
|
+
Request,
|
|
10526
|
+
Response,
|
|
10527
|
+
fetch2
|
|
10528
|
+
];
|
|
10529
|
+
let len = seeds.length, i = len, seed, target, map = seedCache;
|
|
10530
|
+
while (i--) {
|
|
10531
|
+
seed = seeds[i];
|
|
10532
|
+
target = map.get(seed);
|
|
10533
|
+
target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env));
|
|
10534
|
+
map = target;
|
|
10384
10535
|
}
|
|
10385
|
-
|
|
10536
|
+
return target;
|
|
10537
|
+
};
|
|
10538
|
+
getFetch();
|
|
10386
10539
|
const knownAdapters = {
|
|
10387
10540
|
http: httpAdapter,
|
|
10388
10541
|
xhr: xhrAdapter,
|
|
10389
|
-
fetch:
|
|
10542
|
+
fetch: {
|
|
10543
|
+
get: getFetch
|
|
10544
|
+
}
|
|
10390
10545
|
};
|
|
10391
10546
|
utils$1.forEach(knownAdapters, (fn, value) => {
|
|
10392
10547
|
if (fn) {
|
|
@@ -10399,40 +10554,49 @@ utils$1.forEach(knownAdapters, (fn, value) => {
|
|
|
10399
10554
|
});
|
|
10400
10555
|
const renderReason = (reason) => `- ${reason}`;
|
|
10401
10556
|
const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
|
10402
|
-
|
|
10403
|
-
|
|
10404
|
-
|
|
10405
|
-
|
|
10406
|
-
|
|
10407
|
-
|
|
10408
|
-
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
10417
|
-
}
|
|
10418
|
-
}
|
|
10419
|
-
if (adapter) {
|
|
10420
|
-
break;
|
|
10557
|
+
function getAdapter$1(adapters2, config) {
|
|
10558
|
+
adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
|
|
10559
|
+
const { length } = adapters2;
|
|
10560
|
+
let nameOrAdapter;
|
|
10561
|
+
let adapter;
|
|
10562
|
+
const rejectedReasons = {};
|
|
10563
|
+
for (let i = 0; i < length; i++) {
|
|
10564
|
+
nameOrAdapter = adapters2[i];
|
|
10565
|
+
let id;
|
|
10566
|
+
adapter = nameOrAdapter;
|
|
10567
|
+
if (!isResolvedHandle(nameOrAdapter)) {
|
|
10568
|
+
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
10569
|
+
if (adapter === void 0) {
|
|
10570
|
+
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
10421
10571
|
}
|
|
10422
|
-
rejectedReasons[id || "#" + i] = adapter;
|
|
10423
10572
|
}
|
|
10424
|
-
if (
|
|
10425
|
-
|
|
10426
|
-
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
10427
|
-
);
|
|
10428
|
-
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
10429
|
-
throw new AxiosError$1(
|
|
10430
|
-
`There is no suitable adapter to dispatch the request ` + s,
|
|
10431
|
-
"ERR_NOT_SUPPORT"
|
|
10432
|
-
);
|
|
10573
|
+
if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
|
|
10574
|
+
break;
|
|
10433
10575
|
}
|
|
10434
|
-
|
|
10435
|
-
}
|
|
10576
|
+
rejectedReasons[id || "#" + i] = adapter;
|
|
10577
|
+
}
|
|
10578
|
+
if (!adapter) {
|
|
10579
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
10580
|
+
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
10581
|
+
);
|
|
10582
|
+
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
10583
|
+
throw new AxiosError$1(
|
|
10584
|
+
`There is no suitable adapter to dispatch the request ` + s,
|
|
10585
|
+
"ERR_NOT_SUPPORT"
|
|
10586
|
+
);
|
|
10587
|
+
}
|
|
10588
|
+
return adapter;
|
|
10589
|
+
}
|
|
10590
|
+
const adapters = {
|
|
10591
|
+
/**
|
|
10592
|
+
* Resolve an adapter from a list of adapter names or functions.
|
|
10593
|
+
* @type {Function}
|
|
10594
|
+
*/
|
|
10595
|
+
getAdapter: getAdapter$1,
|
|
10596
|
+
/**
|
|
10597
|
+
* Exposes all known adapters
|
|
10598
|
+
* @type {Object<string, Function|Object>}
|
|
10599
|
+
*/
|
|
10436
10600
|
adapters: knownAdapters
|
|
10437
10601
|
};
|
|
10438
10602
|
function throwIfCancellationRequested(config) {
|
|
@@ -10453,7 +10617,7 @@ function dispatchRequest(config) {
|
|
|
10453
10617
|
if (["post", "put", "patch"].indexOf(config.method) !== -1) {
|
|
10454
10618
|
config.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
10455
10619
|
}
|
|
10456
|
-
const adapter = adapters.getAdapter(config.adapter || defaults.adapter);
|
|
10620
|
+
const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);
|
|
10457
10621
|
return adapter(config).then(function onAdapterResolution(response) {
|
|
10458
10622
|
throwIfCancellationRequested(config);
|
|
10459
10623
|
response.data = transformData.call(
|
|
@@ -10478,7 +10642,7 @@ function dispatchRequest(config) {
|
|
|
10478
10642
|
return Promise.reject(reason);
|
|
10479
10643
|
});
|
|
10480
10644
|
}
|
|
10481
|
-
const VERSION$1 = "1.
|
|
10645
|
+
const VERSION$1 = "1.13.2";
|
|
10482
10646
|
const validators$1 = {};
|
|
10483
10647
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
10484
10648
|
validators$1[type] = function validator2(thing) {
|
|
@@ -10646,8 +10810,8 @@ let Axios$1 = class Axios {
|
|
|
10646
10810
|
let len;
|
|
10647
10811
|
if (!synchronousRequestInterceptors) {
|
|
10648
10812
|
const chain = [dispatchRequest.bind(this), void 0];
|
|
10649
|
-
chain.unshift
|
|
10650
|
-
chain.push
|
|
10813
|
+
chain.unshift(...requestInterceptorChain);
|
|
10814
|
+
chain.push(...responseInterceptorChain);
|
|
10651
10815
|
len = chain.length;
|
|
10652
10816
|
promise = Promise.resolve(config);
|
|
10653
10817
|
while (i < len) {
|
|
@@ -10657,7 +10821,6 @@ let Axios$1 = class Axios {
|
|
|
10657
10821
|
}
|
|
10658
10822
|
len = requestInterceptorChain.length;
|
|
10659
10823
|
let newConfig = config;
|
|
10660
|
-
i = 0;
|
|
10661
10824
|
while (i < len) {
|
|
10662
10825
|
const onFulfilled = requestInterceptorChain[i++];
|
|
10663
10826
|
const onRejected = requestInterceptorChain[i++];
|
|
@@ -10877,7 +11040,13 @@ const HttpStatusCode$1 = {
|
|
|
10877
11040
|
InsufficientStorage: 507,
|
|
10878
11041
|
LoopDetected: 508,
|
|
10879
11042
|
NotExtended: 510,
|
|
10880
|
-
NetworkAuthenticationRequired: 511
|
|
11043
|
+
NetworkAuthenticationRequired: 511,
|
|
11044
|
+
WebServerIsDown: 521,
|
|
11045
|
+
ConnectionTimedOut: 522,
|
|
11046
|
+
OriginIsUnreachable: 523,
|
|
11047
|
+
TimeoutOccurred: 524,
|
|
11048
|
+
SslHandshakeFailed: 525,
|
|
11049
|
+
InvalidSslCertificate: 526
|
|
10881
11050
|
};
|
|
10882
11051
|
Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
10883
11052
|
HttpStatusCode$1[value] = key;
|
|
@@ -11221,7 +11390,7 @@ const _hoisted_5$a = { class: "home-nav-text" };
|
|
|
11221
11390
|
const _hoisted_6$9 = { class: "home-nav-tooltip-wrapper" };
|
|
11222
11391
|
const _hoisted_7$6 = { class: "home-nav-text" };
|
|
11223
11392
|
const _hoisted_8$6 = {
|
|
11224
|
-
key:
|
|
11393
|
+
key: 2,
|
|
11225
11394
|
class: "tools-list"
|
|
11226
11395
|
};
|
|
11227
11396
|
const _hoisted_9$4 = { class: "home-nav-tooltip-wrapper" };
|
|
@@ -11304,6 +11473,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11304
11473
|
return [ToolsFloatDisplayItem.GROWTH_CENTER, ToolsFloatDisplayItem.ELSE, ToolsFloatDisplayItem.AD];
|
|
11305
11474
|
}
|
|
11306
11475
|
});
|
|
11476
|
+
const inviteVisible = computed(() => {
|
|
11477
|
+
return toolsFloatCollapseStatus.value === TOOLS_FLOAT_COLLAPSE_STATUS.EXPAND;
|
|
11478
|
+
});
|
|
11307
11479
|
const isModuleVisible = (auth) => {
|
|
11308
11480
|
if (auth === ToolsFloatDisplayItem.AD) {
|
|
11309
11481
|
return visibleItems.value.includes(auth);
|
|
@@ -11312,7 +11484,6 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11312
11484
|
};
|
|
11313
11485
|
const emits = __emit;
|
|
11314
11486
|
const toggleGrowthCenter = () => {
|
|
11315
|
-
debugger;
|
|
11316
11487
|
if (!props.isLogin) {
|
|
11317
11488
|
const reportGrowthCenterString = handleReportParamsByDomain("toolsFloat_growthCenter");
|
|
11318
11489
|
emitEvent("login", { loginTriggerSource: reportGrowthCenterString });
|
|
@@ -11505,7 +11676,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11505
11676
|
})
|
|
11506
11677
|
])) : createCommentVNode("", true),
|
|
11507
11678
|
createElementVNode("div", _hoisted_1$v, [
|
|
11508
|
-
|
|
11679
|
+
inviteVisible.value ? (openBlock(), createBlock(unref(Tooltip), {
|
|
11680
|
+
key: 0,
|
|
11509
11681
|
position: "left",
|
|
11510
11682
|
"overlay-class": "tools-tag-tooltip"
|
|
11511
11683
|
}, {
|
|
@@ -11530,9 +11702,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11530
11702
|
])
|
|
11531
11703
|
]),
|
|
11532
11704
|
_: 1
|
|
11533
|
-
}),
|
|
11705
|
+
})) : createCommentVNode("", true),
|
|
11534
11706
|
isModuleVisible(unref(ToolsFloatDisplayItem).GROWTH_CENTER) ? (openBlock(), createBlock(unref(Tooltip), {
|
|
11535
|
-
key:
|
|
11707
|
+
key: 1,
|
|
11536
11708
|
position: "left",
|
|
11537
11709
|
"overlay-class": "tools-tag-tooltip"
|
|
11538
11710
|
}, {
|
|
@@ -11545,7 +11717,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11545
11717
|
createElementVNode("div", {
|
|
11546
11718
|
class: "home-nav-link tools-questionnaire",
|
|
11547
11719
|
onClick: toggleGrowthCenter
|
|
11548
|
-
}, _cache[6] || (_cache[6] = [
|
|
11720
|
+
}, [..._cache[6] || (_cache[6] = [
|
|
11549
11721
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
11550
11722
|
createElementVNode("img", {
|
|
11551
11723
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
@@ -11553,7 +11725,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11553
11725
|
alt: ""
|
|
11554
11726
|
})
|
|
11555
11727
|
], -1)
|
|
11556
|
-
]))
|
|
11728
|
+
])])
|
|
11557
11729
|
]),
|
|
11558
11730
|
_: 1
|
|
11559
11731
|
})) : createCommentVNode("", true),
|
|
@@ -11576,7 +11748,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11576
11748
|
id: "gitcode-desk-btn",
|
|
11577
11749
|
class: "home-nav-item kefu",
|
|
11578
11750
|
onClick: showDesk
|
|
11579
|
-
}, _cache[7] || (_cache[7] = [
|
|
11751
|
+
}, [..._cache[7] || (_cache[7] = [
|
|
11580
11752
|
createElementVNode("img", {
|
|
11581
11753
|
class: "inline-block h-[20px] w-[20px]",
|
|
11582
11754
|
src: "https://cdn-static.gitcode.com/static/images/desk/kefu.png",
|
|
@@ -11586,7 +11758,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11586
11758
|
createElementVNode("div", null, "客"),
|
|
11587
11759
|
createElementVNode("div", null, "服")
|
|
11588
11760
|
], -1)
|
|
11589
|
-
]))
|
|
11761
|
+
])])
|
|
11590
11762
|
])
|
|
11591
11763
|
]),
|
|
11592
11764
|
_: 1
|
|
@@ -11620,8 +11792,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11620
11792
|
])
|
|
11621
11793
|
], -1))
|
|
11622
11794
|
]),
|
|
11623
|
-
_: 1
|
|
11624
|
-
__: [9]
|
|
11795
|
+
_: 1
|
|
11625
11796
|
}),
|
|
11626
11797
|
npsPopVisible.value ? (openBlock(), createBlock(unref(Popover), {
|
|
11627
11798
|
key: 0,
|
|
@@ -11640,9 +11811,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11640
11811
|
key: item.index,
|
|
11641
11812
|
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)]"]),
|
|
11642
11813
|
onClick: ($event) => swTab(item)
|
|
11643
|
-
}, _cache[11] || (_cache[11] = [
|
|
11814
|
+
}, [..._cache[11] || (_cache[11] = [
|
|
11644
11815
|
createElementVNode("span", { class: "cursor-pointer" }, null, -1)
|
|
11645
|
-
]), 10, _hoisted_18$2);
|
|
11816
|
+
])], 10, _hoisted_18$2);
|
|
11646
11817
|
}), 64))
|
|
11647
11818
|
]),
|
|
11648
11819
|
createElementVNode("div", null, [
|
|
@@ -11724,7 +11895,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11724
11895
|
trigger: "hover",
|
|
11725
11896
|
offset: { mainAxis: 22, crossAxis: 0 }
|
|
11726
11897
|
}, {
|
|
11727
|
-
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
11898
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
11728
11899
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
11729
11900
|
createElementVNode("img", {
|
|
11730
11901
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
@@ -11737,9 +11908,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11737
11908
|
alt: ""
|
|
11738
11909
|
})
|
|
11739
11910
|
], -1)
|
|
11740
|
-
])),
|
|
11741
|
-
_: 1
|
|
11742
|
-
__: [10]
|
|
11911
|
+
])]),
|
|
11912
|
+
_: 1
|
|
11743
11913
|
}, 8, ["content"])
|
|
11744
11914
|
])
|
|
11745
11915
|
]),
|
|
@@ -11787,7 +11957,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11787
11957
|
_: 1
|
|
11788
11958
|
}),
|
|
11789
11959
|
isModuleVisible(unref(ToolsFloatDisplayItem).AD) && activeAdItem.value && activeAdItem.value.imgUrl ? (openBlock(), createElementBlock("div", {
|
|
11790
|
-
key:
|
|
11960
|
+
key: 3,
|
|
11791
11961
|
class: "active-tips mt-[16px]",
|
|
11792
11962
|
onClick: withModifiers(handleActive, ["stop"])
|
|
11793
11963
|
}, [
|
|
@@ -11974,11 +12144,11 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11974
12144
|
});
|
|
11975
12145
|
return (_ctx, _cache) => {
|
|
11976
12146
|
const _component_router_link = resolveComponent("router-link");
|
|
11977
|
-
return
|
|
12147
|
+
return __props.to && !__props.disabled ? (openBlock(), createBlock(_component_router_link, {
|
|
11978
12148
|
key: 0,
|
|
11979
|
-
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline:
|
|
11980
|
-
to:
|
|
11981
|
-
target:
|
|
12149
|
+
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline: __props.underline }]),
|
|
12150
|
+
to: __props.to,
|
|
12151
|
+
target: __props.target
|
|
11982
12152
|
}, {
|
|
11983
12153
|
default: withCtx(() => [
|
|
11984
12154
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -11986,10 +12156,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11986
12156
|
_: 3
|
|
11987
12157
|
}, 8, ["class", "to", "target"])) : (openBlock(), createElementBlock("a", {
|
|
11988
12158
|
key: 1,
|
|
11989
|
-
class: normalizeClass(["g-link g-link-a", { hoverUnderline:
|
|
11990
|
-
href:
|
|
11991
|
-
target:
|
|
11992
|
-
disabled:
|
|
12159
|
+
class: normalizeClass(["g-link g-link-a", { hoverUnderline: __props.underline, noPointer: __props.noPointer }]),
|
|
12160
|
+
href: __props.disabled || !targetHref.value ? defaultHref.value : targetHref.value,
|
|
12161
|
+
target: __props.target,
|
|
12162
|
+
disabled: __props.disabled || __props.noPointer
|
|
11993
12163
|
}, [
|
|
11994
12164
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
11995
12165
|
], 10, _hoisted_1$u));
|
|
@@ -12590,12 +12760,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
12590
12760
|
key: 0,
|
|
12591
12761
|
"img-src": imgSrc.value,
|
|
12592
12762
|
name: placeholderName.value,
|
|
12593
|
-
width:
|
|
12594
|
-
height:
|
|
12595
|
-
"is-round":
|
|
12596
|
-
class: normalizeClass({ "devui-avatar-square": !
|
|
12763
|
+
width: __props.width,
|
|
12764
|
+
height: __props.height,
|
|
12765
|
+
"is-round": __props.is_round,
|
|
12766
|
+
class: normalizeClass({ "devui-avatar-square": !__props.is_round, "gavatar-custom": !imgSrc.value }),
|
|
12597
12767
|
onLoadError,
|
|
12598
|
-
style: normalizeStyle({ minWidth:
|
|
12768
|
+
style: normalizeStyle({ minWidth: __props.width + "px" })
|
|
12599
12769
|
}, null, 8, ["img-src", "name", "width", "height", "is-round", "class", "style"])) : createCommentVNode("", true);
|
|
12600
12770
|
};
|
|
12601
12771
|
}
|
|
@@ -12634,15 +12804,15 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12634
12804
|
return openBlock(), createBlock(unref(Tooltip), {
|
|
12635
12805
|
class: "flash-tag-message",
|
|
12636
12806
|
position: ["top", "bottom"],
|
|
12637
|
-
content:
|
|
12807
|
+
content: __props.message,
|
|
12638
12808
|
"overlay-class": "flash-tag-tooltip",
|
|
12639
|
-
disabled: unref(isPhone)() ||
|
|
12809
|
+
disabled: unref(isPhone)() || __props.disabled
|
|
12640
12810
|
}, {
|
|
12641
12811
|
default: withCtx(() => [
|
|
12642
12812
|
createElementVNode("span", mergeProps({
|
|
12643
|
-
class: ["gc-flash-tag cursor-default", { "gc-trusted-tag":
|
|
12813
|
+
class: ["gc-flash-tag cursor-default", { "gc-trusted-tag": __props.trusted, "cursor-pointer": __props.clickEnabled, "cursor-default": !__props.clickEnabled, "gc-icon-tag": __props.icon }]
|
|
12644
12814
|
}, _ctx.$attrs, { onClick: handleClick }), [
|
|
12645
|
-
|
|
12815
|
+
__props.icon ? (openBlock(), createElementBlock("img", {
|
|
12646
12816
|
key: 0,
|
|
12647
12817
|
class: "w-[16px] h-[16px]",
|
|
12648
12818
|
src: iconUrl.value
|
|
@@ -12723,7 +12893,7 @@ function getAugmentedNamespace(n) {
|
|
|
12723
12893
|
return a;
|
|
12724
12894
|
}
|
|
12725
12895
|
var relativeTime$1 = { exports: {} };
|
|
12726
|
-
(function(module, exports) {
|
|
12896
|
+
(function(module, exports$1) {
|
|
12727
12897
|
!function(r, e) {
|
|
12728
12898
|
module.exports = e();
|
|
12729
12899
|
}(commonjsGlobal, function() {
|
|
@@ -13294,7 +13464,7 @@ var locale = {
|
|
|
13294
13464
|
};
|
|
13295
13465
|
dayjs.locale(locale, null, true);
|
|
13296
13466
|
var timezone = { exports: {} };
|
|
13297
|
-
(function(module, exports) {
|
|
13467
|
+
(function(module, exports$1) {
|
|
13298
13468
|
!function(t2, e) {
|
|
13299
13469
|
module.exports = e();
|
|
13300
13470
|
}(commonjsGlobal, function() {
|
|
@@ -13357,7 +13527,7 @@ var timezone = { exports: {} };
|
|
|
13357
13527
|
var timezoneExports = timezone.exports;
|
|
13358
13528
|
const tz = /* @__PURE__ */ getDefaultExportFromCjs(timezoneExports);
|
|
13359
13529
|
var utc$1 = { exports: {} };
|
|
13360
|
-
(function(module, exports) {
|
|
13530
|
+
(function(module, exports$1) {
|
|
13361
13531
|
!function(t2, i) {
|
|
13362
13532
|
module.exports = i();
|
|
13363
13533
|
}(commonjsGlobal, function() {
|
|
@@ -13373,16 +13543,16 @@ var utc$1 = { exports: {} };
|
|
|
13373
13543
|
}, u.local = function() {
|
|
13374
13544
|
return n(this.toDate(), { locale: this.$L, utc: false });
|
|
13375
13545
|
};
|
|
13376
|
-
var
|
|
13546
|
+
var r = u.parse;
|
|
13377
13547
|
u.parse = function(t3) {
|
|
13378
|
-
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset),
|
|
13548
|
+
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset), r.call(this, t3);
|
|
13379
13549
|
};
|
|
13380
|
-
var
|
|
13550
|
+
var o = u.init;
|
|
13381
13551
|
u.init = function() {
|
|
13382
13552
|
if (this.$u) {
|
|
13383
13553
|
var t3 = this.$d;
|
|
13384
13554
|
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();
|
|
13385
|
-
} else
|
|
13555
|
+
} else o.call(this);
|
|
13386
13556
|
};
|
|
13387
13557
|
var a = u.utcOffset;
|
|
13388
13558
|
u.utcOffset = function(s2, f2) {
|
|
@@ -13395,13 +13565,12 @@ var utc$1 = { exports: {} };
|
|
|
13395
13565
|
var f3 = ("" + s3[0]).match(e) || ["-", 0, 0], n3 = f3[0], u3 = 60 * +f3[1] + +f3[2];
|
|
13396
13566
|
return 0 === u3 ? 0 : "+" === n3 ? u3 : -u3;
|
|
13397
13567
|
}(s2), null === s2)) return this;
|
|
13398
|
-
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2
|
|
13399
|
-
if (
|
|
13400
|
-
|
|
13401
|
-
|
|
13402
|
-
|
|
13403
|
-
|
|
13404
|
-
return o2;
|
|
13568
|
+
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2;
|
|
13569
|
+
if (0 === u2) return this.utc(f2);
|
|
13570
|
+
var r2 = this.clone();
|
|
13571
|
+
if (f2) return r2.$offset = u2, r2.$u = false, r2;
|
|
13572
|
+
var o2 = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
13573
|
+
return (r2 = this.local().add(u2 + o2, t2)).$offset = u2, r2.$x.$localOffset = o2, r2;
|
|
13405
13574
|
};
|
|
13406
13575
|
var h2 = u.format;
|
|
13407
13576
|
u.format = function(t3) {
|
|
@@ -13631,7 +13800,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13631
13800
|
});
|
|
13632
13801
|
return (_ctx, _cache) => {
|
|
13633
13802
|
var _a, _b;
|
|
13634
|
-
return
|
|
13803
|
+
return __props.scene === unref(SceneValue).org && !__props.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
13635
13804
|
createVNode(GLink, {
|
|
13636
13805
|
to: { name: "homepage" },
|
|
13637
13806
|
class: "flex flex-1 items-center gap-[8px]"
|
|
@@ -13655,21 +13824,21 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13655
13824
|
createVNode(unref(Button), {
|
|
13656
13825
|
onClick: _cache[0] || (_cache[0] = ($event) => {
|
|
13657
13826
|
var _a2;
|
|
13658
|
-
return handleOrgFollow((_a2 =
|
|
13827
|
+
return handleOrgFollow((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow);
|
|
13659
13828
|
}),
|
|
13660
13829
|
class: "org-layout-toolbar-follow"
|
|
13661
13830
|
}, {
|
|
13662
13831
|
default: withCtx(() => {
|
|
13663
13832
|
var _a2;
|
|
13664
13833
|
return [
|
|
13665
|
-
createElementVNode("span", _hoisted_3$k, toDisplayString$1(((_a2 =
|
|
13834
|
+
createElementVNode("span", _hoisted_3$k, toDisplayString$1(((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
|
|
13666
13835
|
];
|
|
13667
13836
|
}),
|
|
13668
13837
|
_: 1
|
|
13669
13838
|
})
|
|
13670
|
-
])) :
|
|
13839
|
+
])) : __props.scene === unref(SceneValue).repo && !__props.errorCode ? (openBlock(), createBlock(unref(Skeleton), {
|
|
13671
13840
|
key: 1,
|
|
13672
|
-
loading: (_a =
|
|
13841
|
+
loading: (_a = __props.repoProps) == null ? void 0 : _a.repoNameLoading,
|
|
13673
13842
|
rows: 1
|
|
13674
13843
|
}, {
|
|
13675
13844
|
placeholder: withCtx(() => [
|
|
@@ -13692,7 +13861,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13692
13861
|
default: withCtx(() => {
|
|
13693
13862
|
var _a3, _b3, _c2, _d2;
|
|
13694
13863
|
return [
|
|
13695
|
-
!((_a3 =
|
|
13864
|
+
!((_a3 = __props.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$A, {
|
|
13696
13865
|
key: 0,
|
|
13697
13866
|
class: normalizeClass({ "g-border": isOrg.value }),
|
|
13698
13867
|
src: (_c2 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c2.avatar_url,
|
|
@@ -13708,7 +13877,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13708
13877
|
_: 1
|
|
13709
13878
|
}, 8, ["href"]),
|
|
13710
13879
|
createElementVNode("div", _hoisted_8$5, [
|
|
13711
|
-
!((_b2 =
|
|
13880
|
+
!((_b2 = __props.repoProps) == null ? void 0 : _b2.isGhMirrors) ? (openBlock(), createElementBlock("div", {
|
|
13712
13881
|
key: 0,
|
|
13713
13882
|
ref_key: "breadcrumbRef",
|
|
13714
13883
|
ref: breadcrumbRef,
|
|
@@ -13743,7 +13912,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13743
13912
|
key: 1,
|
|
13744
13913
|
ref_key: "breadcrumbNextRef",
|
|
13745
13914
|
ref: breadcrumbNextRef,
|
|
13746
|
-
class: normalizeClass(["g-repo-layout-breadcrumb-next max-md:w-full flex items-end gap-[8px]", [((_c =
|
|
13915
|
+
class: normalizeClass(["g-repo-layout-breadcrumb-next max-md:w-full flex items-end gap-[8px]", [((_c = __props.repoProps) == null ? void 0 : _c.isGhMirrors) ? "max-w-full" : "max-w-[60%]"]])
|
|
13747
13916
|
}, [
|
|
13748
13917
|
createVNode(GLink, {
|
|
13749
13918
|
class: "linkTx",
|
|
@@ -13766,11 +13935,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13766
13935
|
type: "gstar",
|
|
13767
13936
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.graduation")}`
|
|
13768
13937
|
}, {
|
|
13769
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
13770
|
-
createTextVNode("G-Star ")
|
|
13771
|
-
])),
|
|
13772
|
-
_: 1
|
|
13773
|
-
__: [2]
|
|
13938
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
13939
|
+
createTextVNode("G-Star ", -1)
|
|
13940
|
+
])]),
|
|
13941
|
+
_: 1
|
|
13774
13942
|
}, 8, ["message"])
|
|
13775
13943
|
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
13776
13944
|
createVNode(_sfc_main$z, {
|
|
@@ -13779,11 +13947,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13779
13947
|
type: "incubation",
|
|
13780
13948
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.incubation")}`
|
|
13781
13949
|
}, {
|
|
13782
|
-
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
13783
|
-
createTextVNode(" G-Star ")
|
|
13784
|
-
])),
|
|
13785
|
-
_: 1
|
|
13786
|
-
__: [3]
|
|
13950
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
13951
|
+
createTextVNode(" G-Star ", -1)
|
|
13952
|
+
])]),
|
|
13953
|
+
_: 1
|
|
13787
13954
|
}, 8, ["message"])
|
|
13788
13955
|
])) : createCommentVNode("", true),
|
|
13789
13956
|
unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
@@ -13795,7 +13962,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13795
13962
|
href: "/trusted"
|
|
13796
13963
|
}, null, 8, ["message"])
|
|
13797
13964
|
])) : createCommentVNode("", true),
|
|
13798
|
-
((_d =
|
|
13965
|
+
((_d = __props.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_15$1, [
|
|
13799
13966
|
createVNode(GIcon, {
|
|
13800
13967
|
size: "16px",
|
|
13801
13968
|
class: "ml-[4px]",
|
|
@@ -13814,7 +13981,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13814
13981
|
}, null, 8, ["name"]),
|
|
13815
13982
|
createElementVNode("span", _hoisted_16$1, toDisplayString$1((_f = topicTag.value) == null ? void 0 : _f.suffix), 1)
|
|
13816
13983
|
])) : createCommentVNode("", true),
|
|
13817
|
-
((_g =
|
|
13984
|
+
((_g = __props.repoProps) == null ? void 0 : _g.isGhMirrors) && showTimeTopic.value && !unref(isPhone)() ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
|
|
13818
13985
|
createVNode(GIcon, {
|
|
13819
13986
|
name: "gt-line-time",
|
|
13820
13987
|
color: "var(--devui-shape-icon-fill)",
|
|
@@ -13828,7 +13995,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13828
13995
|
];
|
|
13829
13996
|
}),
|
|
13830
13997
|
_: 1
|
|
13831
|
-
}, 8, ["loading"])) :
|
|
13998
|
+
}, 8, ["loading"])) : __props.scene === unref(SceneValue).user && ((_b = __props.userProps) == null ? void 0 : _b.isOtherUser) ? (openBlock(), createElementBlock("div", _hoisted_20$1, [
|
|
13832
13999
|
createVNode(GLink, {
|
|
13833
14000
|
to: { name: "homepage" },
|
|
13834
14001
|
class: "flex flex-1 items-center gap-[8px]"
|
|
@@ -13886,7 +14053,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13886
14053
|
onClick: handleClick
|
|
13887
14054
|
}, [
|
|
13888
14055
|
createElementVNode("img", {
|
|
13889
|
-
src:
|
|
14056
|
+
src: __props.config.logo_url,
|
|
13890
14057
|
alt: "claim power"
|
|
13891
14058
|
}, null, 8, _hoisted_1$r)
|
|
13892
14059
|
])) : createCommentVNode("", true);
|
|
@@ -13940,10 +14107,10 @@ var hasRequiredCore;
|
|
|
13940
14107
|
function requireCore() {
|
|
13941
14108
|
if (hasRequiredCore) return core.exports;
|
|
13942
14109
|
hasRequiredCore = 1;
|
|
13943
|
-
(function(module, exports) {
|
|
13944
|
-
(function(root,
|
|
14110
|
+
(function(module, exports$1) {
|
|
14111
|
+
(function(root, factory2) {
|
|
13945
14112
|
{
|
|
13946
|
-
module.exports =
|
|
14113
|
+
module.exports = factory2();
|
|
13947
14114
|
}
|
|
13948
14115
|
})(commonjsGlobal, function() {
|
|
13949
14116
|
var CryptoJS = CryptoJS || function(Math2, undefined$1) {
|
|
@@ -14547,10 +14714,10 @@ var hasRequiredEncBase64;
|
|
|
14547
14714
|
function requireEncBase64() {
|
|
14548
14715
|
if (hasRequiredEncBase64) return encBase64.exports;
|
|
14549
14716
|
hasRequiredEncBase64 = 1;
|
|
14550
|
-
(function(module, exports) {
|
|
14551
|
-
(function(root,
|
|
14717
|
+
(function(module, exports$1) {
|
|
14718
|
+
(function(root, factory2) {
|
|
14552
14719
|
{
|
|
14553
|
-
module.exports =
|
|
14720
|
+
module.exports = factory2(requireCore());
|
|
14554
14721
|
}
|
|
14555
14722
|
})(commonjsGlobal, function(CryptoJS) {
|
|
14556
14723
|
(function() {
|
|
@@ -14654,10 +14821,10 @@ var hasRequiredMd5;
|
|
|
14654
14821
|
function requireMd5() {
|
|
14655
14822
|
if (hasRequiredMd5) return md5.exports;
|
|
14656
14823
|
hasRequiredMd5 = 1;
|
|
14657
|
-
(function(module, exports) {
|
|
14658
|
-
(function(root,
|
|
14824
|
+
(function(module, exports$1) {
|
|
14825
|
+
(function(root, factory2) {
|
|
14659
14826
|
{
|
|
14660
|
-
module.exports =
|
|
14827
|
+
module.exports = factory2(requireCore());
|
|
14661
14828
|
}
|
|
14662
14829
|
})(commonjsGlobal, function(CryptoJS) {
|
|
14663
14830
|
(function(Math2) {
|
|
@@ -14833,10 +15000,10 @@ var hasRequiredSha1;
|
|
|
14833
15000
|
function requireSha1() {
|
|
14834
15001
|
if (hasRequiredSha1) return sha1.exports;
|
|
14835
15002
|
hasRequiredSha1 = 1;
|
|
14836
|
-
(function(module, exports) {
|
|
14837
|
-
(function(root,
|
|
15003
|
+
(function(module, exports$1) {
|
|
15004
|
+
(function(root, factory2) {
|
|
14838
15005
|
{
|
|
14839
|
-
module.exports =
|
|
15006
|
+
module.exports = factory2(requireCore());
|
|
14840
15007
|
}
|
|
14841
15008
|
})(commonjsGlobal, function(CryptoJS) {
|
|
14842
15009
|
(function() {
|
|
@@ -14923,10 +15090,10 @@ var hasRequiredHmac;
|
|
|
14923
15090
|
function requireHmac() {
|
|
14924
15091
|
if (hasRequiredHmac) return hmac.exports;
|
|
14925
15092
|
hasRequiredHmac = 1;
|
|
14926
|
-
(function(module, exports) {
|
|
14927
|
-
(function(root,
|
|
15093
|
+
(function(module, exports$1) {
|
|
15094
|
+
(function(root, factory2) {
|
|
14928
15095
|
{
|
|
14929
|
-
module.exports =
|
|
15096
|
+
module.exports = factory2(requireCore());
|
|
14930
15097
|
}
|
|
14931
15098
|
})(commonjsGlobal, function(CryptoJS) {
|
|
14932
15099
|
(function() {
|
|
@@ -15028,10 +15195,10 @@ var hasRequiredEvpkdf;
|
|
|
15028
15195
|
function requireEvpkdf() {
|
|
15029
15196
|
if (hasRequiredEvpkdf) return evpkdf.exports;
|
|
15030
15197
|
hasRequiredEvpkdf = 1;
|
|
15031
|
-
(function(module, exports) {
|
|
15032
|
-
(function(root,
|
|
15198
|
+
(function(module, exports$1) {
|
|
15199
|
+
(function(root, factory2, undef) {
|
|
15033
15200
|
{
|
|
15034
|
-
module.exports =
|
|
15201
|
+
module.exports = factory2(requireCore(), requireSha1(), requireHmac());
|
|
15035
15202
|
}
|
|
15036
15203
|
})(commonjsGlobal, function(CryptoJS) {
|
|
15037
15204
|
(function() {
|
|
@@ -15118,10 +15285,10 @@ var hasRequiredCipherCore;
|
|
|
15118
15285
|
function requireCipherCore() {
|
|
15119
15286
|
if (hasRequiredCipherCore) return cipherCore.exports;
|
|
15120
15287
|
hasRequiredCipherCore = 1;
|
|
15121
|
-
(function(module, exports) {
|
|
15122
|
-
(function(root,
|
|
15288
|
+
(function(module, exports$1) {
|
|
15289
|
+
(function(root, factory2, undef) {
|
|
15123
15290
|
{
|
|
15124
|
-
module.exports =
|
|
15291
|
+
module.exports = factory2(requireCore(), requireEvpkdf());
|
|
15125
15292
|
}
|
|
15126
15293
|
})(commonjsGlobal, function(CryptoJS) {
|
|
15127
15294
|
CryptoJS.lib.Cipher || function(undefined$1) {
|
|
@@ -15756,10 +15923,10 @@ function requireCipherCore() {
|
|
|
15756
15923
|
})(cipherCore);
|
|
15757
15924
|
return cipherCore.exports;
|
|
15758
15925
|
}
|
|
15759
|
-
(function(module, exports) {
|
|
15760
|
-
(function(root,
|
|
15926
|
+
(function(module, exports$1) {
|
|
15927
|
+
(function(root, factory2, undef) {
|
|
15761
15928
|
{
|
|
15762
|
-
module.exports =
|
|
15929
|
+
module.exports = factory2(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
15763
15930
|
}
|
|
15764
15931
|
})(commonjsGlobal, function(CryptoJS) {
|
|
15765
15932
|
(function() {
|
|
@@ -15905,10 +16072,10 @@ function requireCipherCore() {
|
|
|
15905
16072
|
var aesExports = aes.exports;
|
|
15906
16073
|
const AES = /* @__PURE__ */ getDefaultExportFromCjs(aesExports);
|
|
15907
16074
|
var padPkcs7 = { exports: {} };
|
|
15908
|
-
(function(module, exports) {
|
|
15909
|
-
(function(root,
|
|
16075
|
+
(function(module, exports$1) {
|
|
16076
|
+
(function(root, factory2, undef) {
|
|
15910
16077
|
{
|
|
15911
|
-
module.exports =
|
|
16078
|
+
module.exports = factory2(requireCore(), requireCipherCore());
|
|
15912
16079
|
}
|
|
15913
16080
|
})(commonjsGlobal, function(CryptoJS) {
|
|
15914
16081
|
return CryptoJS.pad.Pkcs7;
|
|
@@ -15917,10 +16084,10 @@ var padPkcs7 = { exports: {} };
|
|
|
15917
16084
|
var padPkcs7Exports = padPkcs7.exports;
|
|
15918
16085
|
const Pkcs7 = /* @__PURE__ */ getDefaultExportFromCjs(padPkcs7Exports);
|
|
15919
16086
|
var encUtf8 = { exports: {} };
|
|
15920
|
-
(function(module, exports) {
|
|
15921
|
-
(function(root,
|
|
16087
|
+
(function(module, exports$1) {
|
|
16088
|
+
(function(root, factory2) {
|
|
15922
16089
|
{
|
|
15923
|
-
module.exports =
|
|
16090
|
+
module.exports = factory2(requireCore());
|
|
15924
16091
|
}
|
|
15925
16092
|
})(commonjsGlobal, function(CryptoJS) {
|
|
15926
16093
|
return CryptoJS.enc.Utf8;
|
|
@@ -16402,7 +16569,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
16402
16569
|
return (_ctx, _cache) => {
|
|
16403
16570
|
return openBlock(), createBlock(GLink, {
|
|
16404
16571
|
variant: "text",
|
|
16405
|
-
class: normalizeClass(["g-toolbar-docs",
|
|
16572
|
+
class: normalizeClass(["g-toolbar-docs", __props.whiteColor ? "white" : "black"]),
|
|
16406
16573
|
href: unref(currentHelpDocsAiCommunityUrl)(),
|
|
16407
16574
|
target: "_blank"
|
|
16408
16575
|
}, {
|
|
@@ -16761,14 +16928,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16761
16928
|
}, [
|
|
16762
16929
|
createVNode(GLink, {
|
|
16763
16930
|
class: "g-user-drawer-info pl-[32px] pr-[16px] cursor-pointer",
|
|
16764
|
-
href: `${unref(layoutConfig2).VITE_HOST}/${
|
|
16931
|
+
href: `${unref(layoutConfig2).VITE_HOST}/${__props.accountInfo.username}`,
|
|
16765
16932
|
key: "myPage",
|
|
16766
|
-
target:
|
|
16933
|
+
target: __props.isChatBot ? "_blank" : ""
|
|
16767
16934
|
}, {
|
|
16768
16935
|
default: withCtx(() => [
|
|
16769
16936
|
createVNode(_sfc_main$A, {
|
|
16770
|
-
name:
|
|
16771
|
-
src:
|
|
16937
|
+
name: __props.accountInfo.nickname,
|
|
16938
|
+
src: __props.accountInfo.avatar,
|
|
16772
16939
|
width: 52,
|
|
16773
16940
|
height: 52
|
|
16774
16941
|
}, null, 8, ["name", "src"]),
|
|
@@ -16776,12 +16943,12 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16776
16943
|
createElementVNode("div", _hoisted_2$j, [
|
|
16777
16944
|
createElementVNode("p", {
|
|
16778
16945
|
class: "g-user-drawer-info-list-name ellipsis",
|
|
16779
|
-
title:
|
|
16780
|
-
}, toDisplayString$1(
|
|
16946
|
+
title: __props.accountInfo.nickname
|
|
16947
|
+
}, toDisplayString$1(__props.accountInfo.nickname), 9, _hoisted_3$i),
|
|
16781
16948
|
createElementVNode("p", {
|
|
16782
16949
|
class: "g-user-drawer-info-list-id ellipsis",
|
|
16783
|
-
title:
|
|
16784
|
-
}, "@" + toDisplayString$1(
|
|
16950
|
+
title: __props.accountInfo.username
|
|
16951
|
+
}, "@" + toDisplayString$1(__props.accountInfo.username), 9, _hoisted_4$d)
|
|
16785
16952
|
]),
|
|
16786
16953
|
createVNode(GIcon, {
|
|
16787
16954
|
name: "gt-line-right",
|
|
@@ -16791,13 +16958,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16791
16958
|
]),
|
|
16792
16959
|
_: 1
|
|
16793
16960
|
}, 8, ["href", "target"]),
|
|
16794
|
-
!
|
|
16961
|
+
!__props.inAIHub ? (openBlock(), createBlock(UserLevel, {
|
|
16795
16962
|
key: 0,
|
|
16796
|
-
accountInfo:
|
|
16963
|
+
accountInfo: __props.accountInfo
|
|
16797
16964
|
}, null, 8, ["accountInfo"])) : createCommentVNode("", true),
|
|
16798
16965
|
(openBlock(true), createElementBlock(Fragment, null, renderList(userMenuList.value, (block, index2) => {
|
|
16799
16966
|
return openBlock(), createElementBlock("div", {
|
|
16800
|
-
class: normalizeClass(["g-user-drawer-block", { "!pt-[0px]": index2 === 0 &&
|
|
16967
|
+
class: normalizeClass(["g-user-drawer-block", { "!pt-[0px]": index2 === 0 && __props.inAIHub }]),
|
|
16801
16968
|
key: index2
|
|
16802
16969
|
}, [
|
|
16803
16970
|
block.component ? (openBlock(), createBlock(resolveDynamicComponent(block.component), {
|
|
@@ -16807,7 +16974,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16807
16974
|
key: item.id
|
|
16808
16975
|
}, { ref_for: true }, item, {
|
|
16809
16976
|
onClick: ($event) => handleClick(item),
|
|
16810
|
-
target:
|
|
16977
|
+
target: __props.isChatBot && !item.action ? "_blank" : item.target || ""
|
|
16811
16978
|
}), {
|
|
16812
16979
|
default: withCtx(() => [
|
|
16813
16980
|
item.icon ? (openBlock(), createBlock(GIcon, {
|
|
@@ -16956,9 +17123,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16956
17123
|
name: accountInfo.value.nickname,
|
|
16957
17124
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16958
17125
|
}, null, 8, ["name", "src"]),
|
|
16959
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$i, _cache[4] || (_cache[4] = [
|
|
17126
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$i, [..._cache[4] || (_cache[4] = [
|
|
16960
17127
|
createElementVNode("div", null, null, -1)
|
|
16961
|
-
]))) : createCommentVNode("", true)
|
|
17128
|
+
])])) : createCommentVNode("", true)
|
|
16962
17129
|
])
|
|
16963
17130
|
])) : (openBlock(), createBlock(unref(Dropdown), {
|
|
16964
17131
|
key: 1,
|
|
@@ -16987,9 +17154,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16987
17154
|
name: accountInfo.value.nickname,
|
|
16988
17155
|
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
16989
17156
|
}, null, 8, ["name", "src"]),
|
|
16990
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, _cache[5] || (_cache[5] = [
|
|
17157
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, [..._cache[5] || (_cache[5] = [
|
|
16991
17158
|
createElementVNode("div", null, null, -1)
|
|
16992
|
-
]))) : createCommentVNode("", true)
|
|
17159
|
+
])])) : createCommentVNode("", true)
|
|
16993
17160
|
])
|
|
16994
17161
|
]),
|
|
16995
17162
|
_: 1
|
|
@@ -17137,13 +17304,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17137
17304
|
var _a;
|
|
17138
17305
|
const layoutConfig2 = useLayoutConfig();
|
|
17139
17306
|
const { t: $t } = i18n.global;
|
|
17140
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17141
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17142
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17143
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17144
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17145
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17146
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17307
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DdWX-Ks4.js"));
|
|
17308
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-4nDOnMWZ.js"));
|
|
17309
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-7NcKZdw9.js"));
|
|
17310
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DXxypElU.js"));
|
|
17311
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DnXTLq-L.js"));
|
|
17312
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BxfuLsJO.js"));
|
|
17313
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DUZCYuSU.js"));
|
|
17147
17314
|
const props = __props;
|
|
17148
17315
|
const repoInfo = inject("repoInfo");
|
|
17149
17316
|
const orgInfo = inject("orgInfo");
|
|
@@ -17599,9 +17766,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17599
17766
|
});
|
|
17600
17767
|
return (_ctx, _cache) => {
|
|
17601
17768
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
17602
|
-
!
|
|
17769
|
+
!__props.inAIHub ? (openBlock(), createElementBlock("div", {
|
|
17603
17770
|
key: 0,
|
|
17604
|
-
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(
|
|
17771
|
+
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(__props.isShowStickyNotice) ? "focusSearch-sticky-notice" : ""]),
|
|
17605
17772
|
onClick: _cache[6] || (_cache[6] = withModifiers(() => {
|
|
17606
17773
|
}, ["stop"]))
|
|
17607
17774
|
}, [
|
|
@@ -17614,7 +17781,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17614
17781
|
createVNode(unref(Dropdown), {
|
|
17615
17782
|
align: "start",
|
|
17616
17783
|
position: ["bottom", "bottom-start"],
|
|
17617
|
-
"overlay-class":
|
|
17784
|
+
"overlay-class": __props.isShowStickyNotice ? "history-box-sticky-notice history-box" : "history-box",
|
|
17618
17785
|
trigger: "manually",
|
|
17619
17786
|
visible: dropDownVisible.value,
|
|
17620
17787
|
"close-scope": "none",
|
|
@@ -17769,7 +17936,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17769
17936
|
_: 3
|
|
17770
17937
|
}, 8, ["overlay-class", "visible"])
|
|
17771
17938
|
], 2)) : createCommentVNode("", true),
|
|
17772
|
-
|
|
17939
|
+
__props.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
17773
17940
|
createVNode(unref(Input), {
|
|
17774
17941
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
17775
17942
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
@@ -17892,7 +18059,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17892
18059
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17893
18060
|
}
|
|
17894
18061
|
};
|
|
17895
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18062
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-b032Oiev.js"));
|
|
17896
18063
|
function clearNotice() {
|
|
17897
18064
|
if (localStorage$2.getItem("validator_email")) {
|
|
17898
18065
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18321,7 +18488,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18321
18488
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
18322
18489
|
}, [
|
|
18323
18490
|
createElementVNode("div", {
|
|
18324
|
-
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" : "",
|
|
18491
|
+
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" : "", __props.headerBorder ? "oldBorder" : "", headerClassName.value, isIndexHead.value && !showHeaderShadow.value ? "bg-transparent" : ""]]),
|
|
18325
18492
|
ref_key: "headerRef",
|
|
18326
18493
|
ref: headerRef,
|
|
18327
18494
|
style: normalizeStyle(detailBgStyle.value)
|
|
@@ -18359,13 +18526,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18359
18526
|
class: "cursor-pointer hover:!text-[var(--theme-stress-text)] g-toolbar-left-asideicon",
|
|
18360
18527
|
color: "var(--theme-aide-text)"
|
|
18361
18528
|
})) : createCommentVNode("", true),
|
|
18362
|
-
showNameAndIcon.value &&
|
|
18529
|
+
showNameAndIcon.value && __props.independence || inAIHub.value ? (openBlock(), createBlock(GLink, {
|
|
18363
18530
|
key: 1,
|
|
18364
18531
|
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
18365
18532
|
style: normalizeStyle(logoStyle.value),
|
|
18366
18533
|
href: inAIHub.value ? `${unref(layoutConfig2).VITE_AI_HOST}` : `${unref(layoutConfig2).VITE_HOST}?p=seo`
|
|
18367
18534
|
}, null, 8, ["class", "style", "href"])) : createCommentVNode("", true),
|
|
18368
|
-
showNameAndIcon.value && !
|
|
18535
|
+
showNameAndIcon.value && !__props.independence ? (openBlock(), createBlock(GLink, {
|
|
18369
18536
|
key: 2,
|
|
18370
18537
|
class: normalizeClass(["g-toolbar-left-logo", [inAIHub.value ? "ai-logo" : ""]]),
|
|
18371
18538
|
style: normalizeStyle(logoStyle.value),
|
|
@@ -18378,12 +18545,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18378
18545
|
}, [
|
|
18379
18546
|
_ctx.$slots.headerCustom ? renderSlot(_ctx.$slots, "headerCustom", { key: 0 }, void 0, true) : isModuleVisible(unref(HeaderDisplayItem).CUSTOM_CONTENT) && !showNameAndIcon.value ? (openBlock(), createBlock(HeaderCustom, {
|
|
18380
18547
|
key: 1,
|
|
18381
|
-
scene:
|
|
18382
|
-
isLogin:
|
|
18383
|
-
errorCode: (_a2 =
|
|
18384
|
-
orgProps: (_b =
|
|
18385
|
-
repoProps: (_c =
|
|
18386
|
-
userProps: (_d =
|
|
18548
|
+
scene: __props.sceneValue,
|
|
18549
|
+
isLogin: __props.isLogin,
|
|
18550
|
+
errorCode: (_a2 = __props.headerCustomProps) == null ? void 0 : _a2.errorCode,
|
|
18551
|
+
orgProps: (_b = __props.headerCustomProps) == null ? void 0 : _b.orgProps,
|
|
18552
|
+
repoProps: (_c = __props.headerCustomProps) == null ? void 0 : _c.repoProps,
|
|
18553
|
+
userProps: (_d = __props.headerCustomProps) == null ? void 0 : _d.userProps,
|
|
18387
18554
|
onFollowDevCommunity: _cache[1] || (_cache[1] = ($event) => emit("followDevCommunity", $event)),
|
|
18388
18555
|
onFollowUser: _cache[2] || (_cache[2] = ($event) => emit("followUser"))
|
|
18389
18556
|
}, {
|
|
@@ -18402,7 +18569,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18402
18569
|
(openBlock(), createBlock(Search, {
|
|
18403
18570
|
inAIHub: inAIHub.value,
|
|
18404
18571
|
key: _ctx.$route.fullPath,
|
|
18405
|
-
sceneValue:
|
|
18572
|
+
sceneValue: __props.sceneValue,
|
|
18406
18573
|
isShowStickyNotice: isShowStickyNoticeByClose.value
|
|
18407
18574
|
}, {
|
|
18408
18575
|
searchRecommend: withCtx(() => [
|
|
@@ -18421,7 +18588,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18421
18588
|
createElementVNode("div", _hoisted_4$9, [
|
|
18422
18589
|
createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"])
|
|
18423
18590
|
]),
|
|
18424
|
-
!
|
|
18591
|
+
!__props.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18425
18592
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18426
18593
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
18427
18594
|
key: 0,
|
|
@@ -18463,10 +18630,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18463
18630
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
|
|
18464
18631
|
key: 3,
|
|
18465
18632
|
isChatBot: isChatBot.value,
|
|
18466
|
-
loginOutFinish:
|
|
18633
|
+
loginOutFinish: __props.loginOutFinish,
|
|
18467
18634
|
inAIHub: inAIHub.value,
|
|
18468
|
-
independence:
|
|
18469
|
-
userMenus:
|
|
18635
|
+
independence: __props.independence,
|
|
18636
|
+
userMenus: __props.userMenus
|
|
18470
18637
|
}, null, 8, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
|
|
18471
18638
|
], 64))
|
|
18472
18639
|
], 2)
|
|
@@ -18694,9 +18861,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18694
18861
|
const layoutConfig2 = useLayoutConfig();
|
|
18695
18862
|
const { t: t2 } = i18n.global;
|
|
18696
18863
|
const route = useRoute();
|
|
18697
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18698
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18699
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18864
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-CzOsAXoR.js"));
|
|
18865
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BeFLtYVn.js"));
|
|
18866
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BboUCIUJ.js"));
|
|
18700
18867
|
const props = __props;
|
|
18701
18868
|
console.log("slotKeys", props.slotKeys);
|
|
18702
18869
|
console.log("props", props);
|
|
@@ -18863,9 +19030,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18863
19030
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filterList.value, (item) => {
|
|
18864
19031
|
return openBlock(), createBlock(resolveDynamicComponent(renderComponent(item)), mergeProps({
|
|
18865
19032
|
key: item.id,
|
|
18866
|
-
isLogin:
|
|
19033
|
+
isLogin: __props.isLogin,
|
|
18867
19034
|
item,
|
|
18868
|
-
slotKeys:
|
|
19035
|
+
slotKeys: __props.slotKeys
|
|
18869
19036
|
}, { ref_for: true }, getProps(item)), createSlots({ _: 2 }, [
|
|
18870
19037
|
renderList(mainSiteSlotKeys.value, (key) => {
|
|
18871
19038
|
return {
|
|
@@ -18887,9 +19054,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18887
19054
|
}, {
|
|
18888
19055
|
default: withCtx(() => [
|
|
18889
19056
|
(openBlock(), createBlock(resolveDynamicComponent(LayoutSlotComponent(key)), mergeProps({ ref_for: true }, getProps(item), {
|
|
18890
|
-
slotKeys:
|
|
19057
|
+
slotKeys: __props.slotKeys,
|
|
18891
19058
|
item,
|
|
18892
|
-
isLogin:
|
|
19059
|
+
isLogin: __props.isLogin
|
|
18893
19060
|
}), null, 16, ["slotKeys", "item", "isLogin"]))
|
|
18894
19061
|
]),
|
|
18895
19062
|
_: 2
|
|
@@ -19049,17 +19216,17 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
19049
19216
|
withDirectives(createElementVNode("div", _hoisted_2$b, [
|
|
19050
19217
|
createVNode(_sfc_main$k)
|
|
19051
19218
|
], 512), [
|
|
19052
|
-
[vShow,
|
|
19219
|
+
[vShow, __props.showThemeSetting]
|
|
19053
19220
|
]),
|
|
19054
19221
|
withDirectives(createElementVNode("div", _hoisted_3$b, [
|
|
19055
19222
|
createVNode(_sfc_main$l)
|
|
19056
19223
|
], 512), [
|
|
19057
|
-
[vShow,
|
|
19224
|
+
[vShow, __props.showLangSetting]
|
|
19058
19225
|
])
|
|
19059
19226
|
]),
|
|
19060
19227
|
default: withCtx(() => [
|
|
19061
19228
|
createElementVNode("div", {
|
|
19062
|
-
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little":
|
|
19229
|
+
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little": __props.asideSetShowLittle }])
|
|
19063
19230
|
}, [
|
|
19064
19231
|
createVNode(GIcon, {
|
|
19065
19232
|
name: "gt-line-setting",
|
|
@@ -19227,7 +19394,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19227
19394
|
target: "_blank",
|
|
19228
19395
|
rel: "noopener noreferrer"
|
|
19229
19396
|
}, "CSDN", -1)),
|
|
19230
|
-
_cache[2] || (_cache[2] = createTextVNode(" | ")),
|
|
19397
|
+
_cache[2] || (_cache[2] = createTextVNode(" | ", -1)),
|
|
19231
19398
|
createElementVNode("a", _hoisted_8$2, toDisplayString$1(unref(t2)("gitCodeLayout.home.HWCloud")), 1)
|
|
19232
19399
|
], 2),
|
|
19233
19400
|
createElementVNode("p", _hoisted_9$2, [
|
|
@@ -19240,7 +19407,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19240
19407
|
]),
|
|
19241
19408
|
_: 1
|
|
19242
19409
|
}, 8, ["href"]),
|
|
19243
|
-
_cache[3] || (_cache[3] = createTextVNode(" | ")),
|
|
19410
|
+
_cache[3] || (_cache[3] = createTextVNode(" | ", -1)),
|
|
19244
19411
|
createVNode(GLink, {
|
|
19245
19412
|
target: "_blank",
|
|
19246
19413
|
href: unref(copyright).beian_url
|
|
@@ -19382,11 +19549,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19382
19549
|
});
|
|
19383
19550
|
return (_ctx, _cache) => {
|
|
19384
19551
|
return openBlock(), createBlock(unref(Aside), {
|
|
19385
|
-
class: normalizeClass(["config-aside-content", { "side-bar-content-shot":
|
|
19552
|
+
class: normalizeClass(["config-aside-content", { "side-bar-content-shot": __props.asideSetShowLittle }])
|
|
19386
19553
|
}, {
|
|
19387
19554
|
default: withCtx(() => [
|
|
19388
19555
|
createElementVNode("div", {
|
|
19389
|
-
class: normalizeClass(["config-aside__content", { "side-bar-content-shot":
|
|
19556
|
+
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": __props.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
|
|
19390
19557
|
}, [
|
|
19391
19558
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
19392
19559
|
createElementVNode("div", {
|
|
@@ -19406,10 +19573,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19406
19573
|
}, [
|
|
19407
19574
|
createVNode(Area, {
|
|
19408
19575
|
list: getAreaItem(item),
|
|
19409
|
-
isLogin:
|
|
19576
|
+
isLogin: __props.isLogin,
|
|
19410
19577
|
slotKeys: layoutSlotKeys.value,
|
|
19411
|
-
sceneValue:
|
|
19412
|
-
asideSetShowLittle:
|
|
19578
|
+
sceneValue: __props.sceneValue,
|
|
19579
|
+
asideSetShowLittle: __props.asideSetShowLittle
|
|
19413
19580
|
}, createSlots({ _: 2 }, [
|
|
19414
19581
|
renderList(layoutSlotKeys.value, (key) => {
|
|
19415
19582
|
return {
|
|
@@ -19420,24 +19587,24 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19420
19587
|
};
|
|
19421
19588
|
})
|
|
19422
19589
|
]), 1032, ["list", "isLogin", "slotKeys", "sceneValue", "asideSetShowLittle"]),
|
|
19423
|
-
!
|
|
19590
|
+
!__props.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$7)) : createCommentVNode("", true)
|
|
19424
19591
|
], 64);
|
|
19425
19592
|
}), 128)),
|
|
19426
|
-
!
|
|
19593
|
+
!__props.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).LINK) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
19427
19594
|
_cache[0] || (_cache[0] = createElementVNode("hr", { class: "line mt-[16px] mb-[16px]" }, null, -1)),
|
|
19428
19595
|
createVNode(SubMenuList)
|
|
19429
19596
|
], 64)) : createCommentVNode("", true)
|
|
19430
19597
|
])),
|
|
19431
|
-
!
|
|
19598
|
+
!__props.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).SITE_INFO) ? (openBlock(), createBlock(ContactInfo, { key: 2 })) : createCommentVNode("", true)
|
|
19432
19599
|
], 34),
|
|
19433
19600
|
showPreferencesSetting.value ? (openBlock(), createElementBlock("div", {
|
|
19434
19601
|
key: 0,
|
|
19435
|
-
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little":
|
|
19602
|
+
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little": __props.asideSetShowLittle }])
|
|
19436
19603
|
}, [
|
|
19437
19604
|
createVNode(_sfc_main$j, {
|
|
19438
|
-
"show-lang-setting":
|
|
19439
|
-
"show-theme-setting":
|
|
19440
|
-
asideSetShowLittle:
|
|
19605
|
+
"show-lang-setting": __props.showLangSetting,
|
|
19606
|
+
"show-theme-setting": __props.showThemeSetting,
|
|
19607
|
+
asideSetShowLittle: __props.asideSetShowLittle
|
|
19441
19608
|
}, null, 8, ["show-lang-setting", "show-theme-setting", "asideSetShowLittle"])
|
|
19442
19609
|
], 2)) : createCommentVNode("", true)
|
|
19443
19610
|
])), [
|
|
@@ -19580,19 +19747,19 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19580
19747
|
key: 0,
|
|
19581
19748
|
class: normalizeClass(["left-side-bar", { oldWhite: asideSetShowLittleMode.value, higherZIndex: unref(SITE_STATUS).DISABLE }]),
|
|
19582
19749
|
style: normalizeStyle({ width: mainMarginLeftWidth.value + "px", top: unref(headerHeight2) + "px" }),
|
|
19583
|
-
sceneValue:
|
|
19750
|
+
sceneValue: __props.sceneValue,
|
|
19584
19751
|
asideDefaultWidth: mainMarginLeftWidth.value,
|
|
19585
19752
|
asideSetShowLittle: asideSetShowLittleMode.value,
|
|
19586
|
-
isLogin:
|
|
19587
|
-
showPreferencesSetting:
|
|
19588
|
-
showThemeSetting:
|
|
19589
|
-
showLangSetting:
|
|
19590
|
-
independence:
|
|
19591
|
-
slotKeys:
|
|
19592
|
-
collapseMode:
|
|
19593
|
-
disableFlatMode:
|
|
19753
|
+
isLogin: __props.isLogin,
|
|
19754
|
+
showPreferencesSetting: __props.showPreferencesSetting,
|
|
19755
|
+
showThemeSetting: __props.showThemeSetting,
|
|
19756
|
+
showLangSetting: __props.showLangSetting,
|
|
19757
|
+
independence: __props.independence,
|
|
19758
|
+
slotKeys: __props.slotKeys,
|
|
19759
|
+
collapseMode: __props.collapseMode,
|
|
19760
|
+
disableFlatMode: __props.disableFlatMode
|
|
19594
19761
|
}, createSlots({ _: 2 }, [
|
|
19595
|
-
renderList(
|
|
19762
|
+
renderList(__props.slotKeys, (key) => {
|
|
19596
19763
|
return {
|
|
19597
19764
|
name: key,
|
|
19598
19765
|
fn: withCtx(() => [
|
|
@@ -19614,8 +19781,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19614
19781
|
createVNode(GLink, {
|
|
19615
19782
|
class: "g-toolbar-left-logo",
|
|
19616
19783
|
style: normalizeStyle(logoStyle.value),
|
|
19617
|
-
to:
|
|
19618
|
-
href:
|
|
19784
|
+
to: __props.independence ? "" : { name: "home" },
|
|
19785
|
+
href: __props.independence ? unref(transformUrl)(unref(layoutConfig2).VITE_HOST) : ""
|
|
19619
19786
|
}, null, 8, ["style", "to", "href"]),
|
|
19620
19787
|
createVNode(unref(Button), {
|
|
19621
19788
|
class: "cursor-pointer draw-side-bar-close",
|
|
@@ -19625,14 +19792,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19625
19792
|
})
|
|
19626
19793
|
]),
|
|
19627
19794
|
createVNode(ConfigAideContent, mergeProps(props, {
|
|
19628
|
-
sceneValue:
|
|
19795
|
+
sceneValue: __props.sceneValue,
|
|
19629
19796
|
asideDefaultWidth: 240,
|
|
19630
|
-
isLogin:
|
|
19631
|
-
showPreferencesSetting:
|
|
19632
|
-
showThemeSetting:
|
|
19633
|
-
showLangSetting:
|
|
19634
|
-
independence:
|
|
19635
|
-
slotKeys:
|
|
19797
|
+
isLogin: __props.isLogin,
|
|
19798
|
+
showPreferencesSetting: __props.showPreferencesSetting,
|
|
19799
|
+
showThemeSetting: __props.showThemeSetting,
|
|
19800
|
+
showLangSetting: __props.showLangSetting,
|
|
19801
|
+
independence: __props.independence,
|
|
19802
|
+
slotKeys: __props.slotKeys
|
|
19636
19803
|
}), null, 16, ["sceneValue", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting", "independence", "slotKeys"])
|
|
19637
19804
|
]),
|
|
19638
19805
|
_: 1
|
|
@@ -20254,12 +20421,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20254
20421
|
showLangSetting: "",
|
|
20255
20422
|
showThemeSetting: ""
|
|
20256
20423
|
}, {
|
|
20257
|
-
home: withCtx(() => _cache[2] || (_cache[2] = [
|
|
20424
|
+
home: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
20258
20425
|
createElementVNode("div", null, "首页hover-插槽", -1)
|
|
20259
|
-
])),
|
|
20260
|
-
issues: withCtx(() => _cache[3] || (_cache[3] = [
|
|
20426
|
+
])]),
|
|
20427
|
+
issues: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
20261
20428
|
createElementVNode("div", null, "issues hover-插槽", -1)
|
|
20262
|
-
])),
|
|
20429
|
+
])]),
|
|
20263
20430
|
_: 1
|
|
20264
20431
|
}, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence", "collapseMode"])
|
|
20265
20432
|
]),
|
|
@@ -20298,21 +20465,19 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
20298
20465
|
key: "是",
|
|
20299
20466
|
value: true
|
|
20300
20467
|
}, {
|
|
20301
|
-
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
20302
|
-
createTextVNode("是")
|
|
20303
|
-
])),
|
|
20304
|
-
_: 1
|
|
20305
|
-
__: [4]
|
|
20468
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
20469
|
+
createTextVNode("是", -1)
|
|
20470
|
+
])]),
|
|
20471
|
+
_: 1
|
|
20306
20472
|
})),
|
|
20307
20473
|
(openBlock(), createBlock(unref(Radio), {
|
|
20308
20474
|
key: "否",
|
|
20309
20475
|
value: false
|
|
20310
20476
|
}, {
|
|
20311
|
-
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
20312
|
-
createTextVNode("否")
|
|
20313
|
-
])),
|
|
20314
|
-
_: 1
|
|
20315
|
-
__: [5]
|
|
20477
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
20478
|
+
createTextVNode("否", -1)
|
|
20479
|
+
])]),
|
|
20480
|
+
_: 1
|
|
20316
20481
|
}))
|
|
20317
20482
|
]),
|
|
20318
20483
|
_: 1
|
|
@@ -21121,13 +21286,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
21121
21286
|
});
|
|
21122
21287
|
return (_ctx, _cache) => {
|
|
21123
21288
|
return openBlock(), createElementBlock("div", {
|
|
21124
|
-
class: normalizeClass(["flex flex-1 g-input-button", [inputBtnClassName.value,
|
|
21289
|
+
class: normalizeClass(["flex flex-1 g-input-button", [inputBtnClassName.value, __props.error ? "g-input-button-error" : ""]])
|
|
21125
21290
|
}, [
|
|
21126
21291
|
createVNode(unref(Input), {
|
|
21127
21292
|
modelValue: unref(vModels),
|
|
21128
21293
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
21129
|
-
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label:
|
|
21130
|
-
autocomplete:
|
|
21294
|
+
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: __props.placeholder }),
|
|
21295
|
+
autocomplete: __props.autocomplete,
|
|
21131
21296
|
onChange: handleChange,
|
|
21132
21297
|
onFocus: handleInputFocus,
|
|
21133
21298
|
onBlur: handleInputBlur
|
|
@@ -21137,7 +21302,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
21137
21302
|
onClick: withModifiers(handleClick, ["stop"]),
|
|
21138
21303
|
class: normalizeClass([
|
|
21139
21304
|
"g-input-button-append",
|
|
21140
|
-
DisabledBtn.value || !
|
|
21305
|
+
DisabledBtn.value || !__props.hasMobile ? "g-input-button-append-inactive" : "g-input-button-append-active"
|
|
21141
21306
|
])
|
|
21142
21307
|
}, [
|
|
21143
21308
|
createElementVNode("span", _hoisted_1$a, toDisplayString$1(BtnText.value), 1)
|
|
@@ -21284,8 +21449,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
21284
21449
|
key: 1,
|
|
21285
21450
|
modelValue: unref(vModels),
|
|
21286
21451
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(vModels) ? vModels.value = $event : null)
|
|
21287
|
-
},
|
|
21288
|
-
placeholder:
|
|
21452
|
+
}, __props.prop, {
|
|
21453
|
+
placeholder: __props.placeholder,
|
|
21289
21454
|
onChange: handleChange
|
|
21290
21455
|
}), {
|
|
21291
21456
|
prepend: withCtx(() => [
|
|
@@ -21537,23 +21702,23 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21537
21702
|
rules: GroupRules,
|
|
21538
21703
|
ref_key: "FormRef",
|
|
21539
21704
|
ref: FormRef,
|
|
21540
|
-
"show-feedback":
|
|
21541
|
-
disabled:
|
|
21542
|
-
"message-type":
|
|
21543
|
-
layout:
|
|
21544
|
-
size:
|
|
21545
|
-
"label-size":
|
|
21546
|
-
"label-align":
|
|
21705
|
+
"show-feedback": __props.showFeedback,
|
|
21706
|
+
disabled: __props.disabled,
|
|
21707
|
+
"message-type": __props.MessageType,
|
|
21708
|
+
layout: __props.layout,
|
|
21709
|
+
size: __props.size,
|
|
21710
|
+
"label-size": __props.labelSize,
|
|
21711
|
+
"label-align": __props.labelAlign,
|
|
21547
21712
|
class: "GForm",
|
|
21548
21713
|
onInput: handleFormInput,
|
|
21549
21714
|
requirePosition: "right"
|
|
21550
21715
|
}, {
|
|
21551
21716
|
default: withCtx(() => [
|
|
21552
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
21717
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.DataList, (formItem) => {
|
|
21553
21718
|
return openBlock(), createBlock(unref(FormItem), {
|
|
21554
21719
|
key: formItem.key,
|
|
21555
21720
|
field: formItem.key,
|
|
21556
|
-
label:
|
|
21721
|
+
label: __props.showLabel ? formItem.label : "",
|
|
21557
21722
|
"help-tips": formItem.help,
|
|
21558
21723
|
"extra-info": formItem.extra,
|
|
21559
21724
|
style: normalizeStyle({ width: getItemWidth.value(formItem) })
|
|
@@ -21582,12 +21747,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21582
21747
|
}, { ref_for: true }, formItem.props, {
|
|
21583
21748
|
hasMobile: !!Data[(_b = formItem.props) == null ? void 0 : _b.aliasKey],
|
|
21584
21749
|
text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
|
|
21585
|
-
error:
|
|
21750
|
+
error: __props.errors.msgError,
|
|
21586
21751
|
autocomplete: autocompleteCalc((_c = formItem.props) == null ? void 0 : _c.autocomplete)
|
|
21587
21752
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "onUpdate:countdown", "placeholder", "hasMobile", "text", "error", "autocomplete"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
21588
21753
|
key: 2,
|
|
21589
21754
|
country: Data.country,
|
|
21590
|
-
class:
|
|
21755
|
+
class: __props.formErrors["mobile"] ? "input-select-error" : "",
|
|
21591
21756
|
modelValue: Data[formItem.key],
|
|
21592
21757
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
21593
21758
|
onSelectChange: _cache[0] || (_cache[0] = (evt) => handleSelectChange("country", evt)),
|
|
@@ -21647,7 +21812,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
21647
21812
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
21648
21813
|
createElementVNode("div", _hoisted_2$6, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")), 1),
|
|
21649
21814
|
createElementVNode("div", _hoisted_3$6, [
|
|
21650
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
21815
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.logos, (icon) => {
|
|
21651
21816
|
return openBlock(), createElementBlock("div", {
|
|
21652
21817
|
key: icon.alt,
|
|
21653
21818
|
class: "rounded-[50%] w-[40px] h-[40px] border-[1px] icon-wrap border-solid cursor-pointer otherInfo-icon"
|
|
@@ -21753,7 +21918,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
21753
21918
|
return (_ctx, _cache) => {
|
|
21754
21919
|
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
21755
21920
|
createVNode(unref(Checkbox), {
|
|
21756
|
-
"model-value":
|
|
21921
|
+
"model-value": __props.modelValue,
|
|
21757
21922
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
21758
21923
|
size: "sm"
|
|
21759
21924
|
}, {
|
|
@@ -21772,7 +21937,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
21772
21937
|
_: 1
|
|
21773
21938
|
}, 8, ["model-value"]),
|
|
21774
21939
|
createVNode(unref(Checkbox), {
|
|
21775
|
-
"model-value":
|
|
21940
|
+
"model-value": __props.dataShareChecked,
|
|
21776
21941
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (val) => emits("update:dataShareChecked", val)),
|
|
21777
21942
|
size: "sm"
|
|
21778
21943
|
}, {
|
|
@@ -21821,7 +21986,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
21821
21986
|
return (_ctx, _cache) => {
|
|
21822
21987
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
21823
21988
|
createVNode(unref(Checkbox), {
|
|
21824
|
-
"model-value":
|
|
21989
|
+
"model-value": __props.modelValue,
|
|
21825
21990
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = (val) => emits("update:modelValue", val)),
|
|
21826
21991
|
size: "sm",
|
|
21827
21992
|
class: "mt-[6px] agree-module flex items-center"
|
|
@@ -21842,7 +22007,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
21842
22007
|
_: 3
|
|
21843
22008
|
}, 8, ["model-value"]),
|
|
21844
22009
|
createVNode(unref(Checkbox), {
|
|
21845
|
-
"model-value":
|
|
22010
|
+
"model-value": __props.dataShareChecked,
|
|
21846
22011
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = (val) => emits("update:dataShareChecked", val)),
|
|
21847
22012
|
size: "sm",
|
|
21848
22013
|
class: "mb-[12px]"
|
|
@@ -21884,14 +22049,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
21884
22049
|
return (_ctx, _cache) => {
|
|
21885
22050
|
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
21886
22051
|
createElementVNode("div", _hoisted_2$3, [
|
|
21887
|
-
|
|
22052
|
+
__props.showBack ? (openBlock(), createElementBlock("img", {
|
|
21888
22053
|
key: 0,
|
|
21889
|
-
src:
|
|
22054
|
+
src: __props.icon,
|
|
21890
22055
|
class: "w-[24px] cursor-pointer",
|
|
21891
22056
|
onClick: withModifiers(handleClick, ["stop"])
|
|
21892
22057
|
}, null, 8, _hoisted_3$3)) : createCommentVNode("", true)
|
|
21893
22058
|
]),
|
|
21894
|
-
|
|
22059
|
+
__props.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString$1(__props.title), 1)) : createCommentVNode("", true)
|
|
21895
22060
|
]);
|
|
21896
22061
|
};
|
|
21897
22062
|
}
|
|
@@ -21925,7 +22090,7 @@ const verifyCodeRegExp4 = /^\d{4}$/;
|
|
|
21925
22090
|
const verifyCodeRegExp6 = /^\d{6}$/;
|
|
21926
22091
|
const mobileRegExp = /^1[3-9]\d{9}$/;
|
|
21927
22092
|
const usernameRegExp = /^(?!-)[a-zA-Z][a-zA-Z0-9_-]{1,49}$/;
|
|
21928
|
-
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, [["(?:(?:2(?:(?:[0-26-9]\\d|3[0-8]|5[0135-9])\\d|4(?:[02-9]\\d|10))|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90))|7(?:[013-57-9]\\d|2[0-8])\\d)\\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)|(?: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-478])\\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-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", "[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|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-389]|94[0-478])\\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]|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-389]|94[0-478])\\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", "[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-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", ["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|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-7]))\\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", "(?: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, "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", "(?:[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]|68|[78]\\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", "[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-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-5]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "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-68]))\\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[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-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}"]]] } };
|
|
22093
|
+
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|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,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(?: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-8]|5[0-5]|8[0-7]))\\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", "(?:[267]\\d\\d|500)\\d{5}|(?: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}"]]] } };
|
|
21929
22094
|
function withMetadataArgument(func, _arguments) {
|
|
21930
22095
|
var args = Array.prototype.slice.call(_arguments);
|
|
21931
22096
|
args.push(metadata);
|
|
@@ -21953,32 +22118,39 @@ var objectConstructor = {}.constructor;
|
|
|
21953
22118
|
function isObject(object) {
|
|
21954
22119
|
return object !== void 0 && object !== null && object.constructor === objectConstructor;
|
|
21955
22120
|
}
|
|
21956
|
-
function _typeof$
|
|
22121
|
+
function _typeof$7(o) {
|
|
21957
22122
|
"@babel/helpers - typeof";
|
|
21958
|
-
return _typeof$
|
|
21959
|
-
return typeof
|
|
21960
|
-
} : function(
|
|
21961
|
-
return
|
|
21962
|
-
}, _typeof$
|
|
22123
|
+
return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
22124
|
+
return typeof o2;
|
|
22125
|
+
} : function(o2) {
|
|
22126
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
22127
|
+
}, _typeof$7(o);
|
|
21963
22128
|
}
|
|
21964
|
-
function _classCallCheck$2(
|
|
21965
|
-
if (!(
|
|
21966
|
-
throw new TypeError("Cannot call a class as a function");
|
|
21967
|
-
}
|
|
22129
|
+
function _classCallCheck$2(a, n) {
|
|
22130
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
21968
22131
|
}
|
|
21969
|
-
function _defineProperties$1(
|
|
21970
|
-
for (var
|
|
21971
|
-
var
|
|
21972
|
-
|
|
21973
|
-
descriptor.configurable = true;
|
|
21974
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
21975
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
22132
|
+
function _defineProperties$1(e, r) {
|
|
22133
|
+
for (var t2 = 0; t2 < r.length; t2++) {
|
|
22134
|
+
var o = r[t2];
|
|
22135
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$6(o.key), o);
|
|
21976
22136
|
}
|
|
21977
22137
|
}
|
|
21978
|
-
function _createClass$2(
|
|
21979
|
-
|
|
21980
|
-
|
|
21981
|
-
|
|
22138
|
+
function _createClass$2(e, r, t2) {
|
|
22139
|
+
return r && _defineProperties$1(e.prototype, r), Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
22140
|
+
}
|
|
22141
|
+
function _toPropertyKey$6(t2) {
|
|
22142
|
+
var i = _toPrimitive$6(t2, "string");
|
|
22143
|
+
return "symbol" == _typeof$7(i) ? i : i + "";
|
|
22144
|
+
}
|
|
22145
|
+
function _toPrimitive$6(t2, r) {
|
|
22146
|
+
if ("object" != _typeof$7(t2) || !t2) return t2;
|
|
22147
|
+
var e = t2[Symbol.toPrimitive];
|
|
22148
|
+
if (void 0 !== e) {
|
|
22149
|
+
var i = e.call(t2, r);
|
|
22150
|
+
if ("object" != _typeof$7(i)) return i;
|
|
22151
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22152
|
+
}
|
|
22153
|
+
return String(t2);
|
|
21982
22154
|
}
|
|
21983
22155
|
var V3 = "1.2.0";
|
|
21984
22156
|
var V4 = "1.7.35";
|
|
@@ -21991,7 +22163,7 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
21991
22163
|
this.metadata = metadata2;
|
|
21992
22164
|
setVersion.call(this, metadata2);
|
|
21993
22165
|
}
|
|
21994
|
-
_createClass$2(Metadata2, [{
|
|
22166
|
+
return _createClass$2(Metadata2, [{
|
|
21995
22167
|
key: "getCountries",
|
|
21996
22168
|
value: function getCountries() {
|
|
21997
22169
|
return Object.keys(this.metadata.countries).filter(function(_) {
|
|
@@ -22196,7 +22368,6 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
22196
22368
|
return this.numberingPlan !== void 0;
|
|
22197
22369
|
}
|
|
22198
22370
|
}]);
|
|
22199
|
-
return Metadata2;
|
|
22200
22371
|
}();
|
|
22201
22372
|
var NumberingPlan = /* @__PURE__ */ function() {
|
|
22202
22373
|
function NumberingPlan2(metadata2, globalMetadataObject) {
|
|
@@ -22205,7 +22376,7 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
22205
22376
|
this.metadata = metadata2;
|
|
22206
22377
|
setVersion.call(this, globalMetadataObject.metadata);
|
|
22207
22378
|
}
|
|
22208
|
-
_createClass$2(NumberingPlan2, [{
|
|
22379
|
+
return _createClass$2(NumberingPlan2, [{
|
|
22209
22380
|
key: "callingCode",
|
|
22210
22381
|
value: function callingCode() {
|
|
22211
22382
|
return this.metadata[0];
|
|
@@ -22344,7 +22515,6 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
22344
22515
|
return this.metadata[13] || DEFAULT_EXT_PREFIX;
|
|
22345
22516
|
}
|
|
22346
22517
|
}]);
|
|
22347
|
-
return NumberingPlan2;
|
|
22348
22518
|
}();
|
|
22349
22519
|
var Format = /* @__PURE__ */ function() {
|
|
22350
22520
|
function Format2(format2, metadata2) {
|
|
@@ -22352,7 +22522,7 @@ var Format = /* @__PURE__ */ function() {
|
|
|
22352
22522
|
this._format = format2;
|
|
22353
22523
|
this.metadata = metadata2;
|
|
22354
22524
|
}
|
|
22355
|
-
_createClass$2(Format2, [{
|
|
22525
|
+
return _createClass$2(Format2, [{
|
|
22356
22526
|
key: "pattern",
|
|
22357
22527
|
value: function pattern() {
|
|
22358
22528
|
return this._format[0];
|
|
@@ -22395,7 +22565,6 @@ var Format = /* @__PURE__ */ function() {
|
|
|
22395
22565
|
return this._format[5] || this.format();
|
|
22396
22566
|
}
|
|
22397
22567
|
}]);
|
|
22398
|
-
return Format2;
|
|
22399
22568
|
}();
|
|
22400
22569
|
var FIRST_GROUP_ONLY_PREFIX_PATTERN = /^\(?\$1\)?$/;
|
|
22401
22570
|
var Type = /* @__PURE__ */ function() {
|
|
@@ -22404,7 +22573,7 @@ var Type = /* @__PURE__ */ function() {
|
|
|
22404
22573
|
this.type = type;
|
|
22405
22574
|
this.metadata = metadata2;
|
|
22406
22575
|
}
|
|
22407
|
-
_createClass$2(Type2, [{
|
|
22576
|
+
return _createClass$2(Type2, [{
|
|
22408
22577
|
key: "pattern",
|
|
22409
22578
|
value: function pattern() {
|
|
22410
22579
|
if (this.metadata.v1) return this.type;
|
|
@@ -22417,7 +22586,6 @@ var Type = /* @__PURE__ */ function() {
|
|
|
22417
22586
|
return this.type[1] || this.metadata.possibleLengths();
|
|
22418
22587
|
}
|
|
22419
22588
|
}]);
|
|
22420
|
-
return Type2;
|
|
22421
22589
|
}();
|
|
22422
22590
|
function getType(types, type) {
|
|
22423
22591
|
switch (type) {
|
|
@@ -22452,12 +22620,12 @@ function validateMetadata(metadata2) {
|
|
|
22452
22620
|
}
|
|
22453
22621
|
}
|
|
22454
22622
|
var typeOf = function typeOf2(_) {
|
|
22455
|
-
return _typeof$
|
|
22623
|
+
return _typeof$7(_);
|
|
22456
22624
|
};
|
|
22457
22625
|
function getCountryCallingCode(country, metadata2) {
|
|
22458
22626
|
metadata2 = new Metadata(metadata2);
|
|
22459
22627
|
if (metadata2.hasCountry(country)) {
|
|
22460
|
-
return metadata2.
|
|
22628
|
+
return metadata2.selectNumberingPlan(country).countryCallingCode();
|
|
22461
22629
|
}
|
|
22462
22630
|
throw new Error("Unknown country: ".concat(country));
|
|
22463
22631
|
}
|
|
@@ -22483,10 +22651,14 @@ function setVersion(metadata2) {
|
|
|
22483
22651
|
}
|
|
22484
22652
|
}
|
|
22485
22653
|
}
|
|
22486
|
-
function checkNumberLength(nationalNumber, metadata2) {
|
|
22487
|
-
return checkNumberLengthForType(nationalNumber, void 0, metadata2);
|
|
22654
|
+
function checkNumberLength(nationalNumber, country, metadata2) {
|
|
22655
|
+
return checkNumberLengthForType(nationalNumber, country, void 0, metadata2);
|
|
22488
22656
|
}
|
|
22489
|
-
function checkNumberLengthForType(nationalNumber, type, metadata2) {
|
|
22657
|
+
function checkNumberLengthForType(nationalNumber, country, type, metadata2) {
|
|
22658
|
+
if (country) {
|
|
22659
|
+
metadata2 = new Metadata(metadata2.metadata);
|
|
22660
|
+
metadata2.selectNumberingPlan(country);
|
|
22661
|
+
}
|
|
22490
22662
|
var type_info = metadata2.type(type);
|
|
22491
22663
|
var possible_lengths = type_info && type_info.possibleLengths() || metadata2.possibleLengths();
|
|
22492
22664
|
if (!possible_lengths) {
|
|
@@ -22523,7 +22695,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
22523
22695
|
if (!metadata2.hasCountry(input.country)) {
|
|
22524
22696
|
throw new Error("Unknown country: ".concat(input.country));
|
|
22525
22697
|
}
|
|
22526
|
-
metadata2.
|
|
22698
|
+
metadata2.selectNumberingPlan(input.country);
|
|
22527
22699
|
} else {
|
|
22528
22700
|
if (!input.countryCallingCode) {
|
|
22529
22701
|
throw new Error("Invalid phone number object passed");
|
|
@@ -22532,7 +22704,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
22532
22704
|
}
|
|
22533
22705
|
}
|
|
22534
22706
|
if (metadata2.possibleLengths()) {
|
|
22535
|
-
return isPossibleNumber(input.phone || input.nationalNumber, metadata2);
|
|
22707
|
+
return isPossibleNumber(input.phone || input.nationalNumber, input.country, metadata2);
|
|
22536
22708
|
} else {
|
|
22537
22709
|
if (input.countryCallingCode && metadata2.isNonGeographicCallingCode(input.countryCallingCode)) {
|
|
22538
22710
|
return true;
|
|
@@ -22541,45 +22713,41 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
22541
22713
|
}
|
|
22542
22714
|
}
|
|
22543
22715
|
}
|
|
22544
|
-
function isPossibleNumber(nationalNumber, metadata2) {
|
|
22545
|
-
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
22716
|
+
function isPossibleNumber(nationalNumber, country, metadata2) {
|
|
22717
|
+
switch (checkNumberLength(nationalNumber, country, metadata2)) {
|
|
22546
22718
|
case "IS_POSSIBLE":
|
|
22547
22719
|
return true;
|
|
22548
22720
|
default:
|
|
22549
22721
|
return false;
|
|
22550
22722
|
}
|
|
22551
22723
|
}
|
|
22552
|
-
function matchesEntirely(text2,
|
|
22724
|
+
function matchesEntirely(text2, regularExpressionText) {
|
|
22553
22725
|
text2 = text2 || "";
|
|
22554
|
-
return new RegExp("^(?:" +
|
|
22555
|
-
}
|
|
22556
|
-
function _createForOfIteratorHelperLoose$
|
|
22557
|
-
var
|
|
22558
|
-
if (
|
|
22559
|
-
if (Array.isArray(
|
|
22560
|
-
|
|
22561
|
-
var
|
|
22726
|
+
return new RegExp("^(?:" + regularExpressionText + ")$").test(text2);
|
|
22727
|
+
}
|
|
22728
|
+
function _createForOfIteratorHelperLoose$2(r, e) {
|
|
22729
|
+
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
22730
|
+
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
22731
|
+
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$3(r)) || e) {
|
|
22732
|
+
t2 && (r = t2);
|
|
22733
|
+
var o = 0;
|
|
22562
22734
|
return function() {
|
|
22563
|
-
|
|
22564
|
-
return { done: false, value: o[i++] };
|
|
22735
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
22565
22736
|
};
|
|
22566
22737
|
}
|
|
22567
22738
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22568
22739
|
}
|
|
22569
|
-
function _unsupportedIterableToArray$
|
|
22570
|
-
if (
|
|
22571
|
-
|
|
22572
|
-
|
|
22573
|
-
|
|
22574
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
22575
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$4(o, minLen);
|
|
22576
|
-
}
|
|
22577
|
-
function _arrayLikeToArray$4(arr, len) {
|
|
22578
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
22579
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
22580
|
-
arr2[i] = arr[i];
|
|
22740
|
+
function _unsupportedIterableToArray$3(r, a) {
|
|
22741
|
+
if (r) {
|
|
22742
|
+
if ("string" == typeof r) return _arrayLikeToArray$3(r, a);
|
|
22743
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
22744
|
+
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$3(r, a) : void 0;
|
|
22581
22745
|
}
|
|
22582
|
-
|
|
22746
|
+
}
|
|
22747
|
+
function _arrayLikeToArray$3(r, a) {
|
|
22748
|
+
(null == a || a > r.length) && (a = r.length);
|
|
22749
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
22750
|
+
return n;
|
|
22583
22751
|
}
|
|
22584
22752
|
var NON_FIXED_LINE_PHONE_TYPES = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
22585
22753
|
function getNumberType(input, options, metadata2) {
|
|
@@ -22605,7 +22773,7 @@ function getNumberType(input, options, metadata2) {
|
|
|
22605
22773
|
}
|
|
22606
22774
|
return "FIXED_LINE";
|
|
22607
22775
|
}
|
|
22608
|
-
for (var _iterator = _createForOfIteratorHelperLoose$
|
|
22776
|
+
for (var _iterator = _createForOfIteratorHelperLoose$2(NON_FIXED_LINE_PHONE_TYPES), _step; !(_step = _iterator()).done; ) {
|
|
22609
22777
|
var type = _step.value;
|
|
22610
22778
|
if (isNumberTypeEqualTo(nationalNumber, type, metadata2)) {
|
|
22611
22779
|
return type;
|
|
@@ -22724,7 +22892,63 @@ function extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2) {
|
|
|
22724
22892
|
nationalNumber: number2
|
|
22725
22893
|
};
|
|
22726
22894
|
}
|
|
22727
|
-
function
|
|
22895
|
+
function _createForOfIteratorHelperLoose$1(r, e) {
|
|
22896
|
+
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
22897
|
+
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
22898
|
+
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$2(r)) || e) {
|
|
22899
|
+
t2 && (r = t2);
|
|
22900
|
+
var o = 0;
|
|
22901
|
+
return function() {
|
|
22902
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
22903
|
+
};
|
|
22904
|
+
}
|
|
22905
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22906
|
+
}
|
|
22907
|
+
function _unsupportedIterableToArray$2(r, a) {
|
|
22908
|
+
if (r) {
|
|
22909
|
+
if ("string" == typeof r) return _arrayLikeToArray$2(r, a);
|
|
22910
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
22911
|
+
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;
|
|
22912
|
+
}
|
|
22913
|
+
}
|
|
22914
|
+
function _arrayLikeToArray$2(r, a) {
|
|
22915
|
+
(null == a || a > r.length) && (a = r.length);
|
|
22916
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
22917
|
+
return n;
|
|
22918
|
+
}
|
|
22919
|
+
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
22920
|
+
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
22921
|
+
metadata2 = new Metadata(metadata2);
|
|
22922
|
+
for (var _iterator = _createForOfIteratorHelperLoose$1(countries), _step; !(_step = _iterator()).done; ) {
|
|
22923
|
+
var country = _step.value;
|
|
22924
|
+
metadata2.selectNumberingPlan(country);
|
|
22925
|
+
if (metadata2.leadingDigits()) {
|
|
22926
|
+
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
22927
|
+
return country;
|
|
22928
|
+
}
|
|
22929
|
+
} else if (getNumberType({
|
|
22930
|
+
phone: nationalPhoneNumber,
|
|
22931
|
+
country
|
|
22932
|
+
}, void 0, metadata2.metadata)) {
|
|
22933
|
+
return country;
|
|
22934
|
+
}
|
|
22935
|
+
}
|
|
22936
|
+
}
|
|
22937
|
+
function getCountryByCallingCode(callingCode, _ref) {
|
|
22938
|
+
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
22939
|
+
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
22940
|
+
if (!possibleCountries) {
|
|
22941
|
+
return;
|
|
22942
|
+
}
|
|
22943
|
+
if (possibleCountries.length === 1) {
|
|
22944
|
+
return possibleCountries[0];
|
|
22945
|
+
}
|
|
22946
|
+
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
22947
|
+
countries: possibleCountries,
|
|
22948
|
+
metadata: metadata2.metadata
|
|
22949
|
+
});
|
|
22950
|
+
}
|
|
22951
|
+
function extractNationalNumber(number2, country, metadata2) {
|
|
22728
22952
|
var _extractNationalNumbe = extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2), carrierCode = _extractNationalNumbe.carrierCode, nationalNumber = _extractNationalNumbe.nationalNumber;
|
|
22729
22953
|
if (nationalNumber !== number2) {
|
|
22730
22954
|
if (!shouldHaveExtractedNationalPrefix(number2, nationalNumber, metadata2)) {
|
|
@@ -22732,8 +22956,14 @@ function extractNationalNumber(number2, metadata2) {
|
|
|
22732
22956
|
nationalNumber: number2
|
|
22733
22957
|
};
|
|
22734
22958
|
}
|
|
22735
|
-
if (metadata2.possibleLengths()) {
|
|
22736
|
-
if (!
|
|
22959
|
+
if (metadata2.numberingPlan.possibleLengths()) {
|
|
22960
|
+
if (!country) {
|
|
22961
|
+
country = getCountryByCallingCode(metadata2.numberingPlan.callingCode(), {
|
|
22962
|
+
nationalNumber,
|
|
22963
|
+
metadata: metadata2
|
|
22964
|
+
});
|
|
22965
|
+
}
|
|
22966
|
+
if (!isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2)) {
|
|
22737
22967
|
return {
|
|
22738
22968
|
nationalNumber: number2
|
|
22739
22969
|
};
|
|
@@ -22751,8 +22981,8 @@ function shouldHaveExtractedNationalPrefix(nationalNumberBefore, nationalNumberA
|
|
|
22751
22981
|
}
|
|
22752
22982
|
return true;
|
|
22753
22983
|
}
|
|
22754
|
-
function isPossibleIncompleteNationalNumber(nationalNumber, metadata2) {
|
|
22755
|
-
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
22984
|
+
function isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2) {
|
|
22985
|
+
switch (checkNumberLength(nationalNumber, country, metadata2)) {
|
|
22756
22986
|
case "TOO_SHORT":
|
|
22757
22987
|
case "INVALID_LENGTH":
|
|
22758
22988
|
return false;
|
|
@@ -22760,15 +22990,15 @@ function isPossibleIncompleteNationalNumber(nationalNumber, metadata2) {
|
|
|
22760
22990
|
return true;
|
|
22761
22991
|
}
|
|
22762
22992
|
}
|
|
22763
|
-
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
22764
|
-
var countryCallingCode =
|
|
22993
|
+
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, defaultCountry, defaultCallingCode, metadata2) {
|
|
22994
|
+
var countryCallingCode = defaultCountry ? getCountryCallingCode(defaultCountry, metadata2) : defaultCallingCode;
|
|
22765
22995
|
if (number2.indexOf(countryCallingCode) === 0) {
|
|
22766
22996
|
metadata2 = new Metadata(metadata2);
|
|
22767
|
-
metadata2.selectNumberingPlan(
|
|
22997
|
+
metadata2.selectNumberingPlan(defaultCountry, countryCallingCode);
|
|
22768
22998
|
var possibleShorterNumber = number2.slice(countryCallingCode.length);
|
|
22769
|
-
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, metadata2), possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;
|
|
22770
|
-
var _extractNationalNumbe2 = extractNationalNumber(number2, metadata2), nationalNumber = _extractNationalNumbe2.nationalNumber;
|
|
22771
|
-
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber, metadata2) === "TOO_LONG") {
|
|
22999
|
+
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, country, metadata2), possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;
|
|
23000
|
+
var _extractNationalNumbe2 = extractNationalNumber(number2, country, metadata2), nationalNumber = _extractNationalNumbe2.nationalNumber;
|
|
23001
|
+
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber, country, metadata2) === "TOO_LONG") {
|
|
22772
23002
|
return {
|
|
22773
23003
|
countryCallingCode,
|
|
22774
23004
|
number: possibleShorterNumber
|
|
@@ -22779,19 +23009,19 @@ function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2
|
|
|
22779
23009
|
number: number2
|
|
22780
23010
|
};
|
|
22781
23011
|
}
|
|
22782
|
-
function extractCountryCallingCode(number2, country,
|
|
23012
|
+
function extractCountryCallingCode(number2, country, defaultCountry, defaultCallingCode, metadata2) {
|
|
22783
23013
|
if (!number2) {
|
|
22784
23014
|
return {};
|
|
22785
23015
|
}
|
|
22786
23016
|
var isNumberWithIddPrefix;
|
|
22787
23017
|
if (number2[0] !== "+") {
|
|
22788
|
-
var numberWithoutIDD = stripIddPrefix(number2,
|
|
23018
|
+
var numberWithoutIDD = stripIddPrefix(number2, defaultCountry, defaultCallingCode, metadata2);
|
|
22789
23019
|
if (numberWithoutIDD && numberWithoutIDD !== number2) {
|
|
22790
23020
|
isNumberWithIddPrefix = true;
|
|
22791
23021
|
number2 = "+" + numberWithoutIDD;
|
|
22792
23022
|
} else {
|
|
22793
|
-
if (
|
|
22794
|
-
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
23023
|
+
if (defaultCountry || defaultCallingCode) {
|
|
23024
|
+
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, defaultCountry, defaultCallingCode, metadata2), countryCallingCode = _extractCountryCallin.countryCallingCode, shorterNumber = _extractCountryCallin.number;
|
|
22795
23025
|
if (countryCallingCode) {
|
|
22796
23026
|
return {
|
|
22797
23027
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
@@ -22915,63 +23145,6 @@ function formatRFC3966(_ref) {
|
|
|
22915
23145
|
}
|
|
22916
23146
|
return "tel:".concat(number2).concat(ext ? ";ext=" + ext : "");
|
|
22917
23147
|
}
|
|
22918
|
-
function _createForOfIteratorHelperLoose$2(o, allowArrayLike) {
|
|
22919
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
22920
|
-
if (it) return (it = it.call(o)).next.bind(it);
|
|
22921
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray$3(o)) || allowArrayLike) {
|
|
22922
|
-
if (it) o = it;
|
|
22923
|
-
var i = 0;
|
|
22924
|
-
return function() {
|
|
22925
|
-
if (i >= o.length) return { done: true };
|
|
22926
|
-
return { done: false, value: o[i++] };
|
|
22927
|
-
};
|
|
22928
|
-
}
|
|
22929
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22930
|
-
}
|
|
22931
|
-
function _unsupportedIterableToArray$3(o, minLen) {
|
|
22932
|
-
if (!o) return;
|
|
22933
|
-
if (typeof o === "string") return _arrayLikeToArray$3(o, minLen);
|
|
22934
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
22935
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
22936
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
22937
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen);
|
|
22938
|
-
}
|
|
22939
|
-
function _arrayLikeToArray$3(arr, len) {
|
|
22940
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
22941
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
22942
|
-
arr2[i] = arr[i];
|
|
22943
|
-
}
|
|
22944
|
-
return arr2;
|
|
22945
|
-
}
|
|
22946
|
-
function ownKeys$6(object, enumerableOnly) {
|
|
22947
|
-
var keys = Object.keys(object);
|
|
22948
|
-
if (Object.getOwnPropertySymbols) {
|
|
22949
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
22950
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
22951
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
22952
|
-
})), keys.push.apply(keys, symbols);
|
|
22953
|
-
}
|
|
22954
|
-
return keys;
|
|
22955
|
-
}
|
|
22956
|
-
function _objectSpread$6(target) {
|
|
22957
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
22958
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
22959
|
-
i % 2 ? ownKeys$6(Object(source), true).forEach(function(key) {
|
|
22960
|
-
_defineProperty$6(target, key, source[key]);
|
|
22961
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function(key) {
|
|
22962
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
22963
|
-
});
|
|
22964
|
-
}
|
|
22965
|
-
return target;
|
|
22966
|
-
}
|
|
22967
|
-
function _defineProperty$6(obj, key, value) {
|
|
22968
|
-
if (key in obj) {
|
|
22969
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
22970
|
-
} else {
|
|
22971
|
-
obj[key] = value;
|
|
22972
|
-
}
|
|
22973
|
-
return obj;
|
|
22974
|
-
}
|
|
22975
23148
|
var DEFAULT_OPTIONS = {
|
|
22976
23149
|
formatExtension: function formatExtension(formattedNumber, extension, metadata2) {
|
|
22977
23150
|
return "".concat(formattedNumber).concat(metadata2.ext()).concat(extension);
|
|
@@ -22979,7 +23152,7 @@ var DEFAULT_OPTIONS = {
|
|
|
22979
23152
|
};
|
|
22980
23153
|
function formatNumber(input, format2, options, metadata2) {
|
|
22981
23154
|
if (options) {
|
|
22982
|
-
options =
|
|
23155
|
+
options = merge({}, DEFAULT_OPTIONS, options);
|
|
22983
23156
|
} else {
|
|
22984
23157
|
options = DEFAULT_OPTIONS;
|
|
22985
23158
|
}
|
|
@@ -22988,7 +23161,7 @@ function formatNumber(input, format2, options, metadata2) {
|
|
|
22988
23161
|
if (!metadata2.hasCountry(input.country)) {
|
|
22989
23162
|
throw new Error("Unknown country: ".concat(input.country));
|
|
22990
23163
|
}
|
|
22991
|
-
metadata2.
|
|
23164
|
+
metadata2.selectNumberingPlan(input.country);
|
|
22992
23165
|
} else if (input.countryCallingCode) {
|
|
22993
23166
|
metadata2.selectNumberingPlan(input.countryCallingCode);
|
|
22994
23167
|
} else return input.phone || "";
|
|
@@ -23036,19 +23209,16 @@ function formatNationalNumber(number2, carrierCode, formatAs, metadata2, options
|
|
|
23036
23209
|
withNationalPrefix: format2.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && options && options.nationalPrefix === false ? false : true
|
|
23037
23210
|
});
|
|
23038
23211
|
}
|
|
23039
|
-
function chooseFormatForNumber(availableFormats,
|
|
23040
|
-
|
|
23041
|
-
var format2 = _step.value;
|
|
23212
|
+
function chooseFormatForNumber(availableFormats, nationalNumber) {
|
|
23213
|
+
return pickFirstMatchingElement(availableFormats, function(format2) {
|
|
23042
23214
|
if (format2.leadingDigitsPatterns().length > 0) {
|
|
23043
23215
|
var lastLeadingDigitsPattern = format2.leadingDigitsPatterns()[format2.leadingDigitsPatterns().length - 1];
|
|
23044
|
-
if (
|
|
23045
|
-
|
|
23216
|
+
if (nationalNumber.search(lastLeadingDigitsPattern) !== 0) {
|
|
23217
|
+
return false;
|
|
23046
23218
|
}
|
|
23047
23219
|
}
|
|
23048
|
-
|
|
23049
|
-
|
|
23050
|
-
}
|
|
23051
|
-
}
|
|
23220
|
+
return matchesEntirely(nationalNumber, format2.pattern());
|
|
23221
|
+
});
|
|
23052
23222
|
}
|
|
23053
23223
|
function addExtension(formattedNumber, ext, metadata2, formatExtension2) {
|
|
23054
23224
|
return ext ? formatExtension2(formattedNumber, ext, metadata2) : formattedNumber;
|
|
@@ -23067,53 +23237,87 @@ function formatIDD(nationalNumber, carrierCode, countryCallingCode, fromCountry,
|
|
|
23067
23237
|
return "".concat(iddPrefix, " ").concat(countryCallingCode, " ").concat(formatNationalNumber(nationalNumber, null, "INTERNATIONAL", metadata2));
|
|
23068
23238
|
}
|
|
23069
23239
|
}
|
|
23070
|
-
function
|
|
23071
|
-
var
|
|
23072
|
-
|
|
23073
|
-
|
|
23074
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
23075
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23076
|
-
})), keys.push.apply(keys, symbols);
|
|
23240
|
+
function merge() {
|
|
23241
|
+
var i = 1;
|
|
23242
|
+
for (var _len = arguments.length, objects = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
23243
|
+
objects[_key] = arguments[_key];
|
|
23077
23244
|
}
|
|
23078
|
-
|
|
23079
|
-
|
|
23080
|
-
|
|
23081
|
-
|
|
23082
|
-
|
|
23083
|
-
|
|
23084
|
-
|
|
23085
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
23086
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
23087
|
-
});
|
|
23245
|
+
while (i < objects.length) {
|
|
23246
|
+
if (objects[i]) {
|
|
23247
|
+
for (var key in objects[i]) {
|
|
23248
|
+
objects[0][key] = objects[i][key];
|
|
23249
|
+
}
|
|
23250
|
+
}
|
|
23251
|
+
i++;
|
|
23088
23252
|
}
|
|
23089
|
-
return
|
|
23253
|
+
return objects[0];
|
|
23090
23254
|
}
|
|
23091
|
-
function
|
|
23092
|
-
|
|
23093
|
-
|
|
23094
|
-
|
|
23095
|
-
|
|
23255
|
+
function pickFirstMatchingElement(elements, testFunction) {
|
|
23256
|
+
var i = 0;
|
|
23257
|
+
while (i < elements.length) {
|
|
23258
|
+
if (testFunction(elements[i])) {
|
|
23259
|
+
return elements[i];
|
|
23260
|
+
}
|
|
23261
|
+
i++;
|
|
23096
23262
|
}
|
|
23097
|
-
return obj;
|
|
23098
23263
|
}
|
|
23099
|
-
function
|
|
23100
|
-
|
|
23101
|
-
|
|
23264
|
+
function _typeof$6(o) {
|
|
23265
|
+
"@babel/helpers - typeof";
|
|
23266
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23267
|
+
return typeof o2;
|
|
23268
|
+
} : function(o2) {
|
|
23269
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23270
|
+
}, _typeof$6(o);
|
|
23271
|
+
}
|
|
23272
|
+
function ownKeys$5(e, r) {
|
|
23273
|
+
var t2 = Object.keys(e);
|
|
23274
|
+
if (Object.getOwnPropertySymbols) {
|
|
23275
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
23276
|
+
r && (o = o.filter(function(r2) {
|
|
23277
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
23278
|
+
})), t2.push.apply(t2, o);
|
|
23279
|
+
}
|
|
23280
|
+
return t2;
|
|
23281
|
+
}
|
|
23282
|
+
function _objectSpread$5(e) {
|
|
23283
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
23284
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
23285
|
+
r % 2 ? ownKeys$5(Object(t2), true).forEach(function(r2) {
|
|
23286
|
+
_defineProperty$5(e, r2, t2[r2]);
|
|
23287
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$5(Object(t2)).forEach(function(r2) {
|
|
23288
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
23289
|
+
});
|
|
23102
23290
|
}
|
|
23291
|
+
return e;
|
|
23292
|
+
}
|
|
23293
|
+
function _defineProperty$5(e, r, t2) {
|
|
23294
|
+
return (r = _toPropertyKey$5(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
23295
|
+
}
|
|
23296
|
+
function _classCallCheck$1(a, n) {
|
|
23297
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
23103
23298
|
}
|
|
23104
|
-
function _defineProperties(
|
|
23105
|
-
for (var
|
|
23106
|
-
var
|
|
23107
|
-
|
|
23108
|
-
descriptor.configurable = true;
|
|
23109
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
23110
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
23299
|
+
function _defineProperties(e, r) {
|
|
23300
|
+
for (var t2 = 0; t2 < r.length; t2++) {
|
|
23301
|
+
var o = r[t2];
|
|
23302
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$5(o.key), o);
|
|
23111
23303
|
}
|
|
23112
23304
|
}
|
|
23113
|
-
function _createClass$1(
|
|
23114
|
-
|
|
23115
|
-
|
|
23116
|
-
|
|
23305
|
+
function _createClass$1(e, r, t2) {
|
|
23306
|
+
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
23307
|
+
}
|
|
23308
|
+
function _toPropertyKey$5(t2) {
|
|
23309
|
+
var i = _toPrimitive$5(t2, "string");
|
|
23310
|
+
return "symbol" == _typeof$6(i) ? i : i + "";
|
|
23311
|
+
}
|
|
23312
|
+
function _toPrimitive$5(t2, r) {
|
|
23313
|
+
if ("object" != _typeof$6(t2) || !t2) return t2;
|
|
23314
|
+
var e = t2[Symbol.toPrimitive];
|
|
23315
|
+
if (void 0 !== e) {
|
|
23316
|
+
var i = e.call(t2, r);
|
|
23317
|
+
if ("object" != _typeof$6(i)) return i;
|
|
23318
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23319
|
+
}
|
|
23320
|
+
return String(t2);
|
|
23117
23321
|
}
|
|
23118
23322
|
var PhoneNumber = /* @__PURE__ */ function() {
|
|
23119
23323
|
function PhoneNumber2(countryOrCountryCallingCode, nationalNumber, metadata2) {
|
|
@@ -23124,22 +23328,20 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
23124
23328
|
if (typeof countryOrCountryCallingCode !== "string") {
|
|
23125
23329
|
throw new TypeError("First argument must be a string");
|
|
23126
23330
|
}
|
|
23127
|
-
if (
|
|
23128
|
-
|
|
23129
|
-
|
|
23331
|
+
if (countryOrCountryCallingCode[0] === "+" && !nationalNumber) {
|
|
23332
|
+
throw new TypeError("`metadata` argument not passed");
|
|
23333
|
+
}
|
|
23334
|
+
if (isObject(nationalNumber) && isObject(nationalNumber.countries)) {
|
|
23335
|
+
metadata2 = nationalNumber;
|
|
23336
|
+
var e164Number = countryOrCountryCallingCode;
|
|
23337
|
+
if (!E164_NUMBER_REGEXP.test(e164Number)) {
|
|
23338
|
+
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
23130
23339
|
}
|
|
23131
|
-
|
|
23132
|
-
|
|
23133
|
-
|
|
23134
|
-
|
|
23135
|
-
|
|
23136
|
-
}
|
|
23137
|
-
var _extractCountryCallin = extractCountryCallingCode(e164Number, void 0, void 0, metadata2), _countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
23138
|
-
nationalNumber = number2;
|
|
23139
|
-
countryOrCountryCallingCode = _countryCallingCode;
|
|
23140
|
-
if (!nationalNumber) {
|
|
23141
|
-
throw new Error("Invalid `number` argument passed: too short");
|
|
23142
|
-
}
|
|
23340
|
+
var _extractCountryCallin = extractCountryCallingCode(e164Number, void 0, void 0, void 0, metadata2), _countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
23341
|
+
nationalNumber = number2;
|
|
23342
|
+
countryOrCountryCallingCode = _countryCallingCode;
|
|
23343
|
+
if (!nationalNumber) {
|
|
23344
|
+
throw new Error("Invalid `number` argument passed: too short");
|
|
23143
23345
|
}
|
|
23144
23346
|
}
|
|
23145
23347
|
if (!nationalNumber) {
|
|
@@ -23158,7 +23360,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
23158
23360
|
return metadata2;
|
|
23159
23361
|
};
|
|
23160
23362
|
}
|
|
23161
|
-
_createClass$1(PhoneNumber2, [{
|
|
23363
|
+
return _createClass$1(PhoneNumber2, [{
|
|
23162
23364
|
key: "setExt",
|
|
23163
23365
|
value: function setExt(ext) {
|
|
23164
23366
|
this.ext = ext;
|
|
@@ -23242,7 +23444,6 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
23242
23444
|
return this.format("RFC3966", options);
|
|
23243
23445
|
}
|
|
23244
23446
|
}]);
|
|
23245
|
-
return PhoneNumber2;
|
|
23246
23447
|
}();
|
|
23247
23448
|
var isCountryCode = function isCountryCode2(value) {
|
|
23248
23449
|
return /^[A-Z]{2}$/.test(value);
|
|
@@ -23264,131 +23465,95 @@ function getCountryAndCountryCallingCode(countryOrCountryCallingCode, metadataJs
|
|
|
23264
23465
|
};
|
|
23265
23466
|
}
|
|
23266
23467
|
var E164_NUMBER_REGEXP = /^\+\d+$/;
|
|
23267
|
-
function _typeof(
|
|
23468
|
+
function _typeof$5(o) {
|
|
23268
23469
|
"@babel/helpers - typeof";
|
|
23269
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(
|
|
23270
|
-
return typeof
|
|
23271
|
-
} : function(
|
|
23272
|
-
return
|
|
23273
|
-
}, _typeof(
|
|
23274
|
-
}
|
|
23275
|
-
function _createClass(
|
|
23276
|
-
Object.defineProperty(
|
|
23277
|
-
|
|
23278
|
-
|
|
23279
|
-
|
|
23280
|
-
|
|
23281
|
-
|
|
23282
|
-
|
|
23283
|
-
}
|
|
23284
|
-
function
|
|
23285
|
-
if (
|
|
23286
|
-
|
|
23287
|
-
|
|
23288
|
-
|
|
23289
|
-
|
|
23290
|
-
if (
|
|
23291
|
-
|
|
23292
|
-
|
|
23293
|
-
|
|
23294
|
-
|
|
23295
|
-
|
|
23296
|
-
|
|
23297
|
-
|
|
23298
|
-
|
|
23299
|
-
|
|
23300
|
-
|
|
23301
|
-
|
|
23302
|
-
|
|
23303
|
-
|
|
23304
|
-
|
|
23305
|
-
function _possibleConstructorReturn(self2, call) {
|
|
23306
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
23307
|
-
return call;
|
|
23308
|
-
} else if (call !== void 0) {
|
|
23309
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
23310
|
-
}
|
|
23311
|
-
return _assertThisInitialized(self2);
|
|
23312
|
-
}
|
|
23313
|
-
function _assertThisInitialized(self2) {
|
|
23314
|
-
if (self2 === void 0) {
|
|
23315
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
23316
|
-
}
|
|
23317
|
-
return self2;
|
|
23318
|
-
}
|
|
23319
|
-
function _wrapNativeSuper(Class) {
|
|
23320
|
-
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
23321
|
-
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
23322
|
-
if (Class2 === null || !_isNativeFunction(Class2)) return Class2;
|
|
23323
|
-
if (typeof Class2 !== "function") {
|
|
23324
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
23325
|
-
}
|
|
23326
|
-
if (typeof _cache !== "undefined") {
|
|
23327
|
-
if (_cache.has(Class2)) return _cache.get(Class2);
|
|
23328
|
-
_cache.set(Class2, Wrapper);
|
|
23470
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23471
|
+
return typeof o2;
|
|
23472
|
+
} : function(o2) {
|
|
23473
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23474
|
+
}, _typeof$5(o);
|
|
23475
|
+
}
|
|
23476
|
+
function _createClass(e, r, t2) {
|
|
23477
|
+
return Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
23478
|
+
}
|
|
23479
|
+
function _classCallCheck(a, n) {
|
|
23480
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
23481
|
+
}
|
|
23482
|
+
function _callSuper(t2, o, e) {
|
|
23483
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t2, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t2).constructor) : o.apply(t2, e));
|
|
23484
|
+
}
|
|
23485
|
+
function _possibleConstructorReturn(t2, e) {
|
|
23486
|
+
if (e && ("object" == _typeof$5(e) || "function" == typeof e)) return e;
|
|
23487
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
23488
|
+
return _assertThisInitialized(t2);
|
|
23489
|
+
}
|
|
23490
|
+
function _assertThisInitialized(e) {
|
|
23491
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
23492
|
+
return e;
|
|
23493
|
+
}
|
|
23494
|
+
function _inherits(t2, e) {
|
|
23495
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
23496
|
+
t2.prototype = Object.create(e && e.prototype, { constructor: { value: t2, writable: true, configurable: true } }), Object.defineProperty(t2, "prototype", { writable: false }), e && _setPrototypeOf(t2, e);
|
|
23497
|
+
}
|
|
23498
|
+
function _wrapNativeSuper(t2) {
|
|
23499
|
+
var r = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0;
|
|
23500
|
+
return _wrapNativeSuper = function _wrapNativeSuper2(t3) {
|
|
23501
|
+
if (null === t3 || !_isNativeFunction(t3)) return t3;
|
|
23502
|
+
if ("function" != typeof t3) throw new TypeError("Super expression must either be null or a function");
|
|
23503
|
+
if (void 0 !== r) {
|
|
23504
|
+
if (r.has(t3)) return r.get(t3);
|
|
23505
|
+
r.set(t3, Wrapper);
|
|
23329
23506
|
}
|
|
23330
23507
|
function Wrapper() {
|
|
23331
|
-
return _construct(
|
|
23508
|
+
return _construct(t3, arguments, _getPrototypeOf(this).constructor);
|
|
23332
23509
|
}
|
|
23333
|
-
Wrapper.prototype = Object.create(
|
|
23334
|
-
|
|
23335
|
-
};
|
|
23336
|
-
return _wrapNativeSuper(Class);
|
|
23510
|
+
return Wrapper.prototype = Object.create(t3.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }), _setPrototypeOf(Wrapper, t3);
|
|
23511
|
+
}, _wrapNativeSuper(t2);
|
|
23337
23512
|
}
|
|
23338
|
-
function _construct(
|
|
23339
|
-
if (_isNativeReflectConstruct())
|
|
23340
|
-
|
|
23341
|
-
|
|
23342
|
-
|
|
23343
|
-
|
|
23344
|
-
a.push.apply(a, args2);
|
|
23345
|
-
var Constructor = Function.bind.apply(Parent2, a);
|
|
23346
|
-
var instance = new Constructor();
|
|
23347
|
-
if (Class2) _setPrototypeOf(instance, Class2.prototype);
|
|
23348
|
-
return instance;
|
|
23349
|
-
};
|
|
23350
|
-
}
|
|
23351
|
-
return _construct.apply(null, arguments);
|
|
23513
|
+
function _construct(t2, e, r) {
|
|
23514
|
+
if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
|
|
23515
|
+
var o = [null];
|
|
23516
|
+
o.push.apply(o, e);
|
|
23517
|
+
var p = new (t2.bind.apply(t2, o))();
|
|
23518
|
+
return r && _setPrototypeOf(p, r.prototype), p;
|
|
23352
23519
|
}
|
|
23353
23520
|
function _isNativeReflectConstruct() {
|
|
23354
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
23355
|
-
if (Reflect.construct.sham) return false;
|
|
23356
|
-
if (typeof Proxy === "function") return true;
|
|
23357
23521
|
try {
|
|
23358
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
23522
|
+
var t2 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
23359
23523
|
}));
|
|
23360
|
-
|
|
23361
|
-
} catch (e) {
|
|
23362
|
-
return false;
|
|
23524
|
+
} catch (t3) {
|
|
23363
23525
|
}
|
|
23526
|
+
return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
|
|
23527
|
+
return !!t2;
|
|
23528
|
+
})();
|
|
23364
23529
|
}
|
|
23365
|
-
function _isNativeFunction(
|
|
23366
|
-
|
|
23530
|
+
function _isNativeFunction(t2) {
|
|
23531
|
+
try {
|
|
23532
|
+
return -1 !== Function.toString.call(t2).indexOf("[native code]");
|
|
23533
|
+
} catch (n) {
|
|
23534
|
+
return "function" == typeof t2;
|
|
23535
|
+
}
|
|
23367
23536
|
}
|
|
23368
|
-
function _setPrototypeOf(
|
|
23369
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
23370
|
-
|
|
23371
|
-
|
|
23372
|
-
};
|
|
23373
|
-
return _setPrototypeOf(o, p);
|
|
23537
|
+
function _setPrototypeOf(t2, e) {
|
|
23538
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t3, e2) {
|
|
23539
|
+
return t3.__proto__ = e2, t3;
|
|
23540
|
+
}, _setPrototypeOf(t2, e);
|
|
23374
23541
|
}
|
|
23375
|
-
function _getPrototypeOf(
|
|
23376
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function
|
|
23377
|
-
return
|
|
23378
|
-
};
|
|
23379
|
-
return _getPrototypeOf(o);
|
|
23542
|
+
function _getPrototypeOf(t2) {
|
|
23543
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t3) {
|
|
23544
|
+
return t3.__proto__ || Object.getPrototypeOf(t3);
|
|
23545
|
+
}, _getPrototypeOf(t2);
|
|
23380
23546
|
}
|
|
23381
23547
|
var ParseError = /* @__PURE__ */ function(_Error) {
|
|
23382
|
-
_inherits(ParseError2, _Error);
|
|
23383
|
-
var _super = _createSuper(ParseError2);
|
|
23384
23548
|
function ParseError2(code2) {
|
|
23385
23549
|
var _this;
|
|
23386
23550
|
_classCallCheck(this, ParseError2);
|
|
23387
|
-
_this =
|
|
23388
|
-
Object.setPrototypeOf(
|
|
23551
|
+
_this = _callSuper(this, ParseError2, [code2]);
|
|
23552
|
+
Object.setPrototypeOf(_this, ParseError2.prototype);
|
|
23389
23553
|
_this.name = _this.constructor.name;
|
|
23390
23554
|
return _this;
|
|
23391
23555
|
}
|
|
23556
|
+
_inherits(ParseError2, _Error);
|
|
23392
23557
|
return _createClass(ParseError2);
|
|
23393
23558
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
23394
23559
|
var EXTN_PATTERN = new RegExp("(?:" + createExtensionPattern() + ")$", "i");
|
|
@@ -23485,43 +23650,39 @@ var DIGITS = {
|
|
|
23485
23650
|
function parseDigit(character) {
|
|
23486
23651
|
return DIGITS[character];
|
|
23487
23652
|
}
|
|
23488
|
-
function _createForOfIteratorHelperLoose
|
|
23489
|
-
var
|
|
23490
|
-
if (
|
|
23491
|
-
if (Array.isArray(
|
|
23492
|
-
|
|
23493
|
-
var
|
|
23653
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
23654
|
+
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
23655
|
+
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
23656
|
+
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$1(r)) || e) {
|
|
23657
|
+
t2 && (r = t2);
|
|
23658
|
+
var o = 0;
|
|
23494
23659
|
return function() {
|
|
23495
|
-
|
|
23496
|
-
return { done: false, value: o[i++] };
|
|
23660
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
23497
23661
|
};
|
|
23498
23662
|
}
|
|
23499
23663
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23500
23664
|
}
|
|
23501
|
-
function _unsupportedIterableToArray$
|
|
23502
|
-
if (
|
|
23503
|
-
|
|
23504
|
-
|
|
23505
|
-
|
|
23506
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
23507
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen);
|
|
23508
|
-
}
|
|
23509
|
-
function _arrayLikeToArray$2(arr, len) {
|
|
23510
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
23511
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
23512
|
-
arr2[i] = arr[i];
|
|
23665
|
+
function _unsupportedIterableToArray$1(r, a) {
|
|
23666
|
+
if (r) {
|
|
23667
|
+
if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
|
|
23668
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
23669
|
+
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$1(r, a) : void 0;
|
|
23513
23670
|
}
|
|
23514
|
-
|
|
23671
|
+
}
|
|
23672
|
+
function _arrayLikeToArray$1(r, a) {
|
|
23673
|
+
(null == a || a > r.length) && (a = r.length);
|
|
23674
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
23675
|
+
return n;
|
|
23515
23676
|
}
|
|
23516
23677
|
function parseIncompletePhoneNumber(string) {
|
|
23517
23678
|
var result2 = "";
|
|
23518
|
-
for (var _iterator = _createForOfIteratorHelperLoose
|
|
23679
|
+
for (var _iterator = _createForOfIteratorHelperLoose(string.split("")), _step; !(_step = _iterator()).done; ) {
|
|
23519
23680
|
var character = _step.value;
|
|
23520
23681
|
result2 += parsePhoneNumberCharacter(character, result2) || "";
|
|
23521
23682
|
}
|
|
23522
23683
|
return result2;
|
|
23523
23684
|
}
|
|
23524
|
-
function parsePhoneNumberCharacter(character, prevParsedCharacters,
|
|
23685
|
+
function parsePhoneNumberCharacter(character, prevParsedCharacters, eventListener) {
|
|
23525
23686
|
if (character === "+") {
|
|
23526
23687
|
if (prevParsedCharacters) {
|
|
23527
23688
|
return;
|
|
@@ -23530,66 +23691,6 @@ function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent2)
|
|
|
23530
23691
|
}
|
|
23531
23692
|
return parseDigit(character);
|
|
23532
23693
|
}
|
|
23533
|
-
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
23534
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
23535
|
-
if (it) return (it = it.call(o)).next.bind(it);
|
|
23536
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike) {
|
|
23537
|
-
if (it) o = it;
|
|
23538
|
-
var i = 0;
|
|
23539
|
-
return function() {
|
|
23540
|
-
if (i >= o.length) return { done: true };
|
|
23541
|
-
return { done: false, value: o[i++] };
|
|
23542
|
-
};
|
|
23543
|
-
}
|
|
23544
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23545
|
-
}
|
|
23546
|
-
function _unsupportedIterableToArray$1(o, minLen) {
|
|
23547
|
-
if (!o) return;
|
|
23548
|
-
if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
|
|
23549
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
23550
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
23551
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
23552
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
23553
|
-
}
|
|
23554
|
-
function _arrayLikeToArray$1(arr, len) {
|
|
23555
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
23556
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
23557
|
-
arr2[i] = arr[i];
|
|
23558
|
-
}
|
|
23559
|
-
return arr2;
|
|
23560
|
-
}
|
|
23561
|
-
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
23562
|
-
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
23563
|
-
metadata2 = new Metadata(metadata2);
|
|
23564
|
-
for (var _iterator = _createForOfIteratorHelperLoose(countries), _step; !(_step = _iterator()).done; ) {
|
|
23565
|
-
var country = _step.value;
|
|
23566
|
-
metadata2.country(country);
|
|
23567
|
-
if (metadata2.leadingDigits()) {
|
|
23568
|
-
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
23569
|
-
return country;
|
|
23570
|
-
}
|
|
23571
|
-
} else if (getNumberType({
|
|
23572
|
-
phone: nationalPhoneNumber,
|
|
23573
|
-
country
|
|
23574
|
-
}, void 0, metadata2.metadata)) {
|
|
23575
|
-
return country;
|
|
23576
|
-
}
|
|
23577
|
-
}
|
|
23578
|
-
}
|
|
23579
|
-
function getCountryByCallingCode(callingCode, _ref) {
|
|
23580
|
-
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
23581
|
-
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
23582
|
-
if (!possibleCountries) {
|
|
23583
|
-
return;
|
|
23584
|
-
}
|
|
23585
|
-
if (possibleCountries.length === 1) {
|
|
23586
|
-
return possibleCountries[0];
|
|
23587
|
-
}
|
|
23588
|
-
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
23589
|
-
countries: possibleCountries,
|
|
23590
|
-
metadata: metadata2.metadata
|
|
23591
|
-
});
|
|
23592
|
-
}
|
|
23593
23694
|
var PLUS_SIGN = "+";
|
|
23594
23695
|
var RFC3966_VISUAL_SEPARATOR_ = "[\\-\\.\\(\\)]?";
|
|
23595
23696
|
var RFC3966_PHONE_DIGIT_ = "([" + VALID_DIGITS + "]|" + RFC3966_VISUAL_SEPARATOR_ + ")";
|
|
@@ -23725,7 +23826,7 @@ function parse(text2, options, metadata2) {
|
|
|
23725
23826
|
countryCallingCode,
|
|
23726
23827
|
carrierCode,
|
|
23727
23828
|
valid,
|
|
23728
|
-
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber, metadata2) ? true : false,
|
|
23829
|
+
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber, country, metadata2) ? true : false,
|
|
23729
23830
|
phone: nationalNumber,
|
|
23730
23831
|
ext
|
|
23731
23832
|
};
|
|
@@ -23785,7 +23886,7 @@ function result(country, nationalNumber, ext) {
|
|
|
23785
23886
|
return result2;
|
|
23786
23887
|
}
|
|
23787
23888
|
function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCallingCode, metadata2) {
|
|
23788
|
-
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), defaultCountry, defaultCallingCode, metadata2.metadata), countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource, countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
23889
|
+
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), void 0, defaultCountry, defaultCallingCode, metadata2.metadata), countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource, countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
23789
23890
|
var country;
|
|
23790
23891
|
if (countryCallingCode) {
|
|
23791
23892
|
metadata2.selectNumberingPlan(countryCallingCode);
|
|
@@ -23802,7 +23903,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
23802
23903
|
countryCallingCode
|
|
23803
23904
|
};
|
|
23804
23905
|
}
|
|
23805
|
-
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2), metadata2), nationalNumber = _extractNationalNumbe.nationalNumber, carrierCode = _extractNationalNumbe.carrierCode;
|
|
23906
|
+
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2), country, metadata2), nationalNumber = _extractNationalNumbe.nationalNumber, carrierCode = _extractNationalNumbe.carrierCode;
|
|
23806
23907
|
var exactCountry = getCountryByCallingCode(countryCallingCode, {
|
|
23807
23908
|
nationalNumber,
|
|
23808
23909
|
metadata: metadata2
|
|
@@ -23811,7 +23912,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
23811
23912
|
country = exactCountry;
|
|
23812
23913
|
if (exactCountry === "001") ;
|
|
23813
23914
|
else {
|
|
23814
|
-
metadata2.
|
|
23915
|
+
metadata2.selectNumberingPlan(country);
|
|
23815
23916
|
}
|
|
23816
23917
|
}
|
|
23817
23918
|
return {
|
|
@@ -23822,116 +23923,142 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
23822
23923
|
carrierCode
|
|
23823
23924
|
};
|
|
23824
23925
|
}
|
|
23825
|
-
function
|
|
23826
|
-
|
|
23926
|
+
function _typeof$4(o) {
|
|
23927
|
+
"@babel/helpers - typeof";
|
|
23928
|
+
return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23929
|
+
return typeof o2;
|
|
23930
|
+
} : function(o2) {
|
|
23931
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23932
|
+
}, _typeof$4(o);
|
|
23933
|
+
}
|
|
23934
|
+
function ownKeys$4(e, r) {
|
|
23935
|
+
var t2 = Object.keys(e);
|
|
23827
23936
|
if (Object.getOwnPropertySymbols) {
|
|
23828
|
-
var
|
|
23829
|
-
|
|
23830
|
-
return Object.getOwnPropertyDescriptor(
|
|
23831
|
-
})),
|
|
23832
|
-
}
|
|
23833
|
-
return
|
|
23834
|
-
}
|
|
23835
|
-
function _objectSpread$4(
|
|
23836
|
-
for (var
|
|
23837
|
-
var
|
|
23838
|
-
|
|
23839
|
-
_defineProperty$4(
|
|
23840
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
23841
|
-
Object.defineProperty(
|
|
23937
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
23938
|
+
r && (o = o.filter(function(r2) {
|
|
23939
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
23940
|
+
})), t2.push.apply(t2, o);
|
|
23941
|
+
}
|
|
23942
|
+
return t2;
|
|
23943
|
+
}
|
|
23944
|
+
function _objectSpread$4(e) {
|
|
23945
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
23946
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
23947
|
+
r % 2 ? ownKeys$4(Object(t2), true).forEach(function(r2) {
|
|
23948
|
+
_defineProperty$4(e, r2, t2[r2]);
|
|
23949
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$4(Object(t2)).forEach(function(r2) {
|
|
23950
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
23842
23951
|
});
|
|
23843
23952
|
}
|
|
23844
|
-
return
|
|
23953
|
+
return e;
|
|
23845
23954
|
}
|
|
23846
|
-
function _defineProperty$4(
|
|
23847
|
-
|
|
23848
|
-
|
|
23849
|
-
|
|
23850
|
-
|
|
23955
|
+
function _defineProperty$4(e, r, t2) {
|
|
23956
|
+
return (r = _toPropertyKey$4(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
23957
|
+
}
|
|
23958
|
+
function _toPropertyKey$4(t2) {
|
|
23959
|
+
var i = _toPrimitive$4(t2, "string");
|
|
23960
|
+
return "symbol" == _typeof$4(i) ? i : i + "";
|
|
23961
|
+
}
|
|
23962
|
+
function _toPrimitive$4(t2, r) {
|
|
23963
|
+
if ("object" != _typeof$4(t2) || !t2) return t2;
|
|
23964
|
+
var e = t2[Symbol.toPrimitive];
|
|
23965
|
+
if (void 0 !== e) {
|
|
23966
|
+
var i = e.call(t2, r);
|
|
23967
|
+
if ("object" != _typeof$4(i)) return i;
|
|
23968
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23851
23969
|
}
|
|
23852
|
-
return
|
|
23970
|
+
return ("string" === r ? String : Number)(t2);
|
|
23853
23971
|
}
|
|
23854
23972
|
function parsePhoneNumberWithError(text2, options, metadata2) {
|
|
23855
23973
|
return parse(text2, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
23856
23974
|
v2: true
|
|
23857
23975
|
}), metadata2);
|
|
23858
23976
|
}
|
|
23859
|
-
function
|
|
23860
|
-
|
|
23977
|
+
function _typeof$3(o) {
|
|
23978
|
+
"@babel/helpers - typeof";
|
|
23979
|
+
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23980
|
+
return typeof o2;
|
|
23981
|
+
} : function(o2) {
|
|
23982
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23983
|
+
}, _typeof$3(o);
|
|
23984
|
+
}
|
|
23985
|
+
function ownKeys$3(e, r) {
|
|
23986
|
+
var t2 = Object.keys(e);
|
|
23861
23987
|
if (Object.getOwnPropertySymbols) {
|
|
23862
|
-
var
|
|
23863
|
-
|
|
23864
|
-
return Object.getOwnPropertyDescriptor(
|
|
23865
|
-
})),
|
|
23866
|
-
}
|
|
23867
|
-
return
|
|
23868
|
-
}
|
|
23869
|
-
function _objectSpread$3(
|
|
23870
|
-
for (var
|
|
23871
|
-
var
|
|
23872
|
-
|
|
23873
|
-
_defineProperty$3(
|
|
23874
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
23875
|
-
Object.defineProperty(
|
|
23988
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
23989
|
+
r && (o = o.filter(function(r2) {
|
|
23990
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
23991
|
+
})), t2.push.apply(t2, o);
|
|
23992
|
+
}
|
|
23993
|
+
return t2;
|
|
23994
|
+
}
|
|
23995
|
+
function _objectSpread$3(e) {
|
|
23996
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
23997
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
23998
|
+
r % 2 ? ownKeys$3(Object(t2), true).forEach(function(r2) {
|
|
23999
|
+
_defineProperty$3(e, r2, t2[r2]);
|
|
24000
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$3(Object(t2)).forEach(function(r2) {
|
|
24001
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
23876
24002
|
});
|
|
23877
24003
|
}
|
|
23878
|
-
return
|
|
24004
|
+
return e;
|
|
23879
24005
|
}
|
|
23880
|
-
function _defineProperty$3(
|
|
23881
|
-
|
|
23882
|
-
|
|
23883
|
-
|
|
23884
|
-
|
|
24006
|
+
function _defineProperty$3(e, r, t2) {
|
|
24007
|
+
return (r = _toPropertyKey$3(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
24008
|
+
}
|
|
24009
|
+
function _toPropertyKey$3(t2) {
|
|
24010
|
+
var i = _toPrimitive$3(t2, "string");
|
|
24011
|
+
return "symbol" == _typeof$3(i) ? i : i + "";
|
|
24012
|
+
}
|
|
24013
|
+
function _toPrimitive$3(t2, r) {
|
|
24014
|
+
if ("object" != _typeof$3(t2) || !t2) return t2;
|
|
24015
|
+
var e = t2[Symbol.toPrimitive];
|
|
24016
|
+
if (void 0 !== e) {
|
|
24017
|
+
var i = e.call(t2, r);
|
|
24018
|
+
if ("object" != _typeof$3(i)) return i;
|
|
24019
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23885
24020
|
}
|
|
23886
|
-
return
|
|
24021
|
+
return ("string" === r ? String : Number)(t2);
|
|
23887
24022
|
}
|
|
23888
|
-
function _slicedToArray(
|
|
23889
|
-
return _arrayWithHoles(
|
|
24023
|
+
function _slicedToArray(r, e) {
|
|
24024
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
23890
24025
|
}
|
|
23891
24026
|
function _nonIterableRest() {
|
|
23892
24027
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23893
24028
|
}
|
|
23894
|
-
function _unsupportedIterableToArray(
|
|
23895
|
-
if (
|
|
23896
|
-
|
|
23897
|
-
|
|
23898
|
-
|
|
23899
|
-
|
|
23900
|
-
|
|
23901
|
-
|
|
23902
|
-
|
|
23903
|
-
|
|
23904
|
-
|
|
23905
|
-
|
|
23906
|
-
|
|
23907
|
-
|
|
23908
|
-
|
|
23909
|
-
|
|
23910
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
23911
|
-
if (_i == null) return;
|
|
23912
|
-
var _arr = [];
|
|
23913
|
-
var _n = true;
|
|
23914
|
-
var _d = false;
|
|
23915
|
-
var _s, _e;
|
|
23916
|
-
try {
|
|
23917
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
23918
|
-
_arr.push(_s.value);
|
|
23919
|
-
if (i && _arr.length === i) break;
|
|
23920
|
-
}
|
|
23921
|
-
} catch (err) {
|
|
23922
|
-
_d = true;
|
|
23923
|
-
_e = err;
|
|
23924
|
-
} finally {
|
|
24029
|
+
function _unsupportedIterableToArray(r, a) {
|
|
24030
|
+
if (r) {
|
|
24031
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
24032
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
24033
|
+
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(r, a) : void 0;
|
|
24034
|
+
}
|
|
24035
|
+
}
|
|
24036
|
+
function _arrayLikeToArray(r, a) {
|
|
24037
|
+
(null == a || a > r.length) && (a = r.length);
|
|
24038
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
24039
|
+
return n;
|
|
24040
|
+
}
|
|
24041
|
+
function _iterableToArrayLimit(r, l) {
|
|
24042
|
+
var t2 = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
24043
|
+
if (null != t2) {
|
|
24044
|
+
var e, n, i, u, a = [], f = true, o = false;
|
|
23925
24045
|
try {
|
|
23926
|
-
if (
|
|
24046
|
+
if (i = (t2 = t2.call(r)).next, 0 === l) ;
|
|
24047
|
+
else for (; !(f = (e = i.call(t2)).done) && (a.push(e.value), a.length !== l); f = true) ;
|
|
24048
|
+
} catch (r2) {
|
|
24049
|
+
o = true, n = r2;
|
|
23927
24050
|
} finally {
|
|
23928
|
-
|
|
24051
|
+
try {
|
|
24052
|
+
if (!f && null != t2["return"] && (u = t2["return"](), Object(u) !== u)) return;
|
|
24053
|
+
} finally {
|
|
24054
|
+
if (o) throw n;
|
|
24055
|
+
}
|
|
23929
24056
|
}
|
|
24057
|
+
return a;
|
|
23930
24058
|
}
|
|
23931
|
-
return _arr;
|
|
23932
24059
|
}
|
|
23933
|
-
function _arrayWithHoles(
|
|
23934
|
-
if (Array.isArray(
|
|
24060
|
+
function _arrayWithHoles(r) {
|
|
24061
|
+
if (Array.isArray(r)) return r;
|
|
23935
24062
|
}
|
|
23936
24063
|
function normalizeArguments(args) {
|
|
23937
24064
|
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];
|
|
@@ -23968,34 +24095,51 @@ function normalizeArguments(args) {
|
|
|
23968
24095
|
metadata: metadata2
|
|
23969
24096
|
};
|
|
23970
24097
|
}
|
|
23971
|
-
function
|
|
23972
|
-
|
|
24098
|
+
function _typeof$2(o) {
|
|
24099
|
+
"@babel/helpers - typeof";
|
|
24100
|
+
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
24101
|
+
return typeof o2;
|
|
24102
|
+
} : function(o2) {
|
|
24103
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
24104
|
+
}, _typeof$2(o);
|
|
24105
|
+
}
|
|
24106
|
+
function ownKeys$2(e, r) {
|
|
24107
|
+
var t2 = Object.keys(e);
|
|
23973
24108
|
if (Object.getOwnPropertySymbols) {
|
|
23974
|
-
var
|
|
23975
|
-
|
|
23976
|
-
return Object.getOwnPropertyDescriptor(
|
|
23977
|
-
})),
|
|
23978
|
-
}
|
|
23979
|
-
return
|
|
23980
|
-
}
|
|
23981
|
-
function _objectSpread$2(
|
|
23982
|
-
for (var
|
|
23983
|
-
var
|
|
23984
|
-
|
|
23985
|
-
_defineProperty$2(
|
|
23986
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
23987
|
-
Object.defineProperty(
|
|
24109
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
24110
|
+
r && (o = o.filter(function(r2) {
|
|
24111
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
24112
|
+
})), t2.push.apply(t2, o);
|
|
24113
|
+
}
|
|
24114
|
+
return t2;
|
|
24115
|
+
}
|
|
24116
|
+
function _objectSpread$2(e) {
|
|
24117
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
24118
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
24119
|
+
r % 2 ? ownKeys$2(Object(t2), true).forEach(function(r2) {
|
|
24120
|
+
_defineProperty$2(e, r2, t2[r2]);
|
|
24121
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$2(Object(t2)).forEach(function(r2) {
|
|
24122
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
23988
24123
|
});
|
|
23989
24124
|
}
|
|
23990
|
-
return
|
|
24125
|
+
return e;
|
|
23991
24126
|
}
|
|
23992
|
-
function _defineProperty$2(
|
|
23993
|
-
|
|
23994
|
-
|
|
23995
|
-
|
|
23996
|
-
|
|
24127
|
+
function _defineProperty$2(e, r, t2) {
|
|
24128
|
+
return (r = _toPropertyKey$2(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
24129
|
+
}
|
|
24130
|
+
function _toPropertyKey$2(t2) {
|
|
24131
|
+
var i = _toPrimitive$2(t2, "string");
|
|
24132
|
+
return "symbol" == _typeof$2(i) ? i : i + "";
|
|
24133
|
+
}
|
|
24134
|
+
function _toPrimitive$2(t2, r) {
|
|
24135
|
+
if ("object" != _typeof$2(t2) || !t2) return t2;
|
|
24136
|
+
var e = t2[Symbol.toPrimitive];
|
|
24137
|
+
if (void 0 !== e) {
|
|
24138
|
+
var i = e.call(t2, r);
|
|
24139
|
+
if ("object" != _typeof$2(i)) return i;
|
|
24140
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23997
24141
|
}
|
|
23998
|
-
return
|
|
24142
|
+
return ("string" === r ? String : Number)(t2);
|
|
23999
24143
|
}
|
|
24000
24144
|
function parsePhoneNumber(text2, options, metadata2) {
|
|
24001
24145
|
if (options && options.defaultCountry && !isSupportedCountry(options.defaultCountry, metadata2)) {
|
|
@@ -24012,34 +24156,51 @@ function parsePhoneNumber(text2, options, metadata2) {
|
|
|
24012
24156
|
}
|
|
24013
24157
|
}
|
|
24014
24158
|
}
|
|
24015
|
-
function
|
|
24016
|
-
|
|
24159
|
+
function _typeof$1(o) {
|
|
24160
|
+
"@babel/helpers - typeof";
|
|
24161
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
24162
|
+
return typeof o2;
|
|
24163
|
+
} : function(o2) {
|
|
24164
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
24165
|
+
}, _typeof$1(o);
|
|
24166
|
+
}
|
|
24167
|
+
function ownKeys$1(e, r) {
|
|
24168
|
+
var t2 = Object.keys(e);
|
|
24017
24169
|
if (Object.getOwnPropertySymbols) {
|
|
24018
|
-
var
|
|
24019
|
-
|
|
24020
|
-
return Object.getOwnPropertyDescriptor(
|
|
24021
|
-
})),
|
|
24022
|
-
}
|
|
24023
|
-
return
|
|
24024
|
-
}
|
|
24025
|
-
function _objectSpread$1(
|
|
24026
|
-
for (var
|
|
24027
|
-
var
|
|
24028
|
-
|
|
24029
|
-
_defineProperty$1(
|
|
24030
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
24031
|
-
Object.defineProperty(
|
|
24170
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
24171
|
+
r && (o = o.filter(function(r2) {
|
|
24172
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
24173
|
+
})), t2.push.apply(t2, o);
|
|
24174
|
+
}
|
|
24175
|
+
return t2;
|
|
24176
|
+
}
|
|
24177
|
+
function _objectSpread$1(e) {
|
|
24178
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
24179
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
24180
|
+
r % 2 ? ownKeys$1(Object(t2), true).forEach(function(r2) {
|
|
24181
|
+
_defineProperty$1(e, r2, t2[r2]);
|
|
24182
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$1(Object(t2)).forEach(function(r2) {
|
|
24183
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
24032
24184
|
});
|
|
24033
24185
|
}
|
|
24034
|
-
return
|
|
24186
|
+
return e;
|
|
24035
24187
|
}
|
|
24036
|
-
function _defineProperty$1(
|
|
24037
|
-
|
|
24038
|
-
|
|
24039
|
-
|
|
24040
|
-
|
|
24188
|
+
function _defineProperty$1(e, r, t2) {
|
|
24189
|
+
return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
24190
|
+
}
|
|
24191
|
+
function _toPropertyKey$1(t2) {
|
|
24192
|
+
var i = _toPrimitive$1(t2, "string");
|
|
24193
|
+
return "symbol" == _typeof$1(i) ? i : i + "";
|
|
24194
|
+
}
|
|
24195
|
+
function _toPrimitive$1(t2, r) {
|
|
24196
|
+
if ("object" != _typeof$1(t2) || !t2) return t2;
|
|
24197
|
+
var e = t2[Symbol.toPrimitive];
|
|
24198
|
+
if (void 0 !== e) {
|
|
24199
|
+
var i = e.call(t2, r);
|
|
24200
|
+
if ("object" != _typeof$1(i)) return i;
|
|
24201
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
24041
24202
|
}
|
|
24042
|
-
return
|
|
24203
|
+
return ("string" === r ? String : Number)(t2);
|
|
24043
24204
|
}
|
|
24044
24205
|
function isValidPhoneNumber$1() {
|
|
24045
24206
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -24049,34 +24210,51 @@ function isValidPhoneNumber$1() {
|
|
|
24049
24210
|
var phoneNumber = parsePhoneNumber(text2, options, metadata2);
|
|
24050
24211
|
return phoneNumber && phoneNumber.isValid() || false;
|
|
24051
24212
|
}
|
|
24052
|
-
function
|
|
24053
|
-
|
|
24213
|
+
function _typeof(o) {
|
|
24214
|
+
"@babel/helpers - typeof";
|
|
24215
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
24216
|
+
return typeof o2;
|
|
24217
|
+
} : function(o2) {
|
|
24218
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
24219
|
+
}, _typeof(o);
|
|
24220
|
+
}
|
|
24221
|
+
function ownKeys(e, r) {
|
|
24222
|
+
var t2 = Object.keys(e);
|
|
24054
24223
|
if (Object.getOwnPropertySymbols) {
|
|
24055
|
-
var
|
|
24056
|
-
|
|
24057
|
-
return Object.getOwnPropertyDescriptor(
|
|
24058
|
-
})),
|
|
24059
|
-
}
|
|
24060
|
-
return
|
|
24061
|
-
}
|
|
24062
|
-
function _objectSpread(
|
|
24063
|
-
for (var
|
|
24064
|
-
var
|
|
24065
|
-
|
|
24066
|
-
_defineProperty(
|
|
24067
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
24068
|
-
Object.defineProperty(
|
|
24224
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
24225
|
+
r && (o = o.filter(function(r2) {
|
|
24226
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
24227
|
+
})), t2.push.apply(t2, o);
|
|
24228
|
+
}
|
|
24229
|
+
return t2;
|
|
24230
|
+
}
|
|
24231
|
+
function _objectSpread(e) {
|
|
24232
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
24233
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
24234
|
+
r % 2 ? ownKeys(Object(t2), true).forEach(function(r2) {
|
|
24235
|
+
_defineProperty(e, r2, t2[r2]);
|
|
24236
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys(Object(t2)).forEach(function(r2) {
|
|
24237
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
24069
24238
|
});
|
|
24070
24239
|
}
|
|
24071
|
-
return
|
|
24240
|
+
return e;
|
|
24072
24241
|
}
|
|
24073
|
-
function _defineProperty(
|
|
24074
|
-
|
|
24075
|
-
|
|
24076
|
-
|
|
24077
|
-
|
|
24242
|
+
function _defineProperty(e, r, t2) {
|
|
24243
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
24244
|
+
}
|
|
24245
|
+
function _toPropertyKey(t2) {
|
|
24246
|
+
var i = _toPrimitive(t2, "string");
|
|
24247
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
24248
|
+
}
|
|
24249
|
+
function _toPrimitive(t2, r) {
|
|
24250
|
+
if ("object" != _typeof(t2) || !t2) return t2;
|
|
24251
|
+
var e = t2[Symbol.toPrimitive];
|
|
24252
|
+
if (void 0 !== e) {
|
|
24253
|
+
var i = e.call(t2, r);
|
|
24254
|
+
if ("object" != _typeof(i)) return i;
|
|
24255
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
24078
24256
|
}
|
|
24079
|
-
return
|
|
24257
|
+
return ("string" === r ? String : Number)(t2);
|
|
24080
24258
|
}
|
|
24081
24259
|
function isPossiblePhoneNumber$1() {
|
|
24082
24260
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -24279,7 +24457,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24279
24457
|
createVNode(unref(Button), {
|
|
24280
24458
|
variant: "solid",
|
|
24281
24459
|
class: "w-[126px]",
|
|
24282
|
-
disabled: !
|
|
24460
|
+
disabled: !__props.dataShareChecked,
|
|
24283
24461
|
onClick: handleConfirm
|
|
24284
24462
|
}, {
|
|
24285
24463
|
default: withCtx(() => [
|
|
@@ -24308,7 +24486,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
24308
24486
|
createElementVNode("span", null, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.tips.ifYouDoNotAgrWe")), 1)
|
|
24309
24487
|
]),
|
|
24310
24488
|
createVNode(unref(Checkbox), {
|
|
24311
|
-
"model-value":
|
|
24489
|
+
"model-value": __props.dataShareChecked,
|
|
24312
24490
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = (val) => emits("update:dataShareChecked", val)),
|
|
24313
24491
|
size: "sm",
|
|
24314
24492
|
class: "mt-[12px]"
|
|
@@ -24558,7 +24736,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24558
24736
|
]),
|
|
24559
24737
|
createElementVNode("div", _hoisted_11$1, [
|
|
24560
24738
|
createElementVNode("div", _hoisted_12$1, [
|
|
24561
|
-
!
|
|
24739
|
+
!__props.hideBack ? (openBlock(), createElementBlock("div", {
|
|
24562
24740
|
key: 0,
|
|
24563
24741
|
onClick: _cache[1] || (_cache[1] = ($event) => emits("back"))
|
|
24564
24742
|
}, [
|
|
@@ -24586,7 +24764,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24586
24764
|
}
|
|
24587
24765
|
});
|
|
24588
24766
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24589
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24767
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-D4rG5Iv_.js"));
|
|
24590
24768
|
const useSlidCaptcha = () => {
|
|
24591
24769
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24592
24770
|
const open = (config) => {
|
|
@@ -24605,7 +24783,7 @@ const useSlidCaptcha = () => {
|
|
|
24605
24783
|
close: unMount
|
|
24606
24784
|
};
|
|
24607
24785
|
};
|
|
24608
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
24786
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-MmsQo7D2.js"));
|
|
24609
24787
|
const useYunpianCaptcha = () => {
|
|
24610
24788
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
24611
24789
|
const open = (config) => {
|
|
@@ -24634,7 +24812,7 @@ const useYunpianCaptcha = () => {
|
|
|
24634
24812
|
const _sfc_main$3 = {};
|
|
24635
24813
|
const _hoisted_1$2 = { class: "content-loading" };
|
|
24636
24814
|
function _sfc_render(_ctx, _cache) {
|
|
24637
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2, _cache[0] || (_cache[0] = [
|
|
24815
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [..._cache[0] || (_cache[0] = [
|
|
24638
24816
|
createElementVNode("div", { class: "content-loading-title" }, [
|
|
24639
24817
|
createElementVNode("div", { class: "w-full flex-center" }, [
|
|
24640
24818
|
createElementVNode("img", {
|
|
@@ -24645,7 +24823,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
24645
24823
|
]),
|
|
24646
24824
|
createElementVNode("span", null, "loading...")
|
|
24647
24825
|
], -1)
|
|
24648
|
-
]));
|
|
24826
|
+
])]);
|
|
24649
24827
|
}
|
|
24650
24828
|
const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render], ["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24651
24829
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -24661,15 +24839,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
24661
24839
|
setup(__props) {
|
|
24662
24840
|
return (_ctx, _cache) => {
|
|
24663
24841
|
return openBlock(), createElementBlock("div", {
|
|
24664
|
-
class: normalizeClass(["g-data-panel i-data-panel", { "g-card":
|
|
24842
|
+
class: normalizeClass(["g-data-panel i-data-panel", { "g-card": __props.card, "g-border": __props.border }])
|
|
24665
24843
|
}, [
|
|
24666
24844
|
renderSlot(_ctx.$slots, "header", {}, void 0, true),
|
|
24667
|
-
|
|
24668
|
-
|
|
24845
|
+
__props.loading ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
|
|
24846
|
+
__props.skeleton ? (openBlock(), createBlock(unref(Skeleton), {
|
|
24669
24847
|
key: 0,
|
|
24670
24848
|
class: "p-20",
|
|
24671
|
-
rows:
|
|
24672
|
-
}, null, 8, ["rows"])) :
|
|
24849
|
+
rows: __props.skeletonRow
|
|
24850
|
+
}, null, 8, ["rows"])) : __props.animation ? (openBlock(), createBlock(ContentLoading, {
|
|
24673
24851
|
key: 1,
|
|
24674
24852
|
name: "loading",
|
|
24675
24853
|
class: "w-full h-full flex-center"
|
|
@@ -26013,11 +26191,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26013
26191
|
modelValue: unref(vModels),
|
|
26014
26192
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
26015
26193
|
"show-close": false,
|
|
26016
|
-
"lock-scroll":
|
|
26017
|
-
draggable:
|
|
26018
|
-
escapable:
|
|
26194
|
+
"lock-scroll": __props.lockScroll,
|
|
26195
|
+
draggable: __props.draggable,
|
|
26196
|
+
escapable: __props.escapable,
|
|
26019
26197
|
"before-close": handleClose,
|
|
26020
|
-
"append-to-body":
|
|
26198
|
+
"append-to-body": __props.appendToBody,
|
|
26021
26199
|
class: normalizeClass([
|
|
26022
26200
|
"login-modal",
|
|
26023
26201
|
formType.value === "login" ? "login-modal-l" : "login-modal-r",
|
|
@@ -26254,7 +26432,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26254
26432
|
])
|
|
26255
26433
|
], 2),
|
|
26256
26434
|
createElementVNode("div", _hoisted_40, [
|
|
26257
|
-
|
|
26435
|
+
__props.openHarmonyGuide ? (openBlock(), createElementBlock("div", {
|
|
26258
26436
|
key: 0,
|
|
26259
26437
|
class: "text-[var(--theme-link)] flex items-center mt-[12px] cursor-pointer",
|
|
26260
26438
|
onClick: withModifiers(handleRegisterHarmony, ["stop"])
|
|
@@ -26347,7 +26525,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
26347
26525
|
class: "login-modal-title flex-1"
|
|
26348
26526
|
}, null, 8, ["icon", "title", "show-title", "show-back"]),
|
|
26349
26527
|
createElementVNode("div", _hoisted_2, [
|
|
26350
|
-
|
|
26528
|
+
__props.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
|
|
26351
26529
|
key: 0,
|
|
26352
26530
|
onClick: onClickModalClose,
|
|
26353
26531
|
name: "gt-close",
|