vue-layout-gitcode 1.9.28 → 1.9.29
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-DDOckMzO.js → GloabarSearch-CYbxO53m.js} +3 -3
- package/{MenuItem-CDYxkcXM.js → MenuItem-BzfsHOS8.js} +1 -1
- package/{ProjectMenuList-DaLWbAPX.js → ProjectMenuList-DNJhKWy9.js} +8 -8
- package/{ProjectMenuListV2-CF4W563B.js → ProjectMenuListV2-Cuer5wbZ.js} +3 -3
- package/{ProjectSearch-CCUaFrCC.js → ProjectSearch-BiVlYUvU.js} +1 -1
- package/{SearchHistoryList-CxS3Szb4.js → SearchHistoryList-BDzp2qOk.js} +5 -5
- package/{SearchPrefixTag-CREXyzSs.js → SearchPrefixTag-Dzpz56Q7.js} +3 -3
- package/{SearchRecommed-C_5TZJEF.js → SearchRecommed-XVMGN5hX.js} +2 -2
- package/{SearchScopeList-CcWqIF2K.js → SearchScopeList-DZK2-jED.js} +3 -3
- package/{UserSearch-ohIQpNeq.js → UserSearch-C93v1HCj.js} +1 -1
- package/{index-dcVHs-AT.js → index-BCbmXnEe.js} +41 -44
- package/{index-DDgb4Ag3.js → index-BFMUY2xH.js} +1 -1
- package/{index-BZ7_y5h7.js → index-DPtyg6To.js} +4 -5
- package/{index-CLfTP62H.js → index-VjkkdK3E.js} +1158 -1029
- package/index.d.ts +8 -8
- package/index.js +1 -1
- package/{notice-DNuxLGSS.js → notice-DGmmTvcV.js} +8 -10
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-WRdeWRg2.js → transWebUrl-BY5OiAkU.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$l)
|
|
96
96
|
], 6));
|
|
97
97
|
};
|
|
@@ -511,7 +511,7 @@ const TOOLS_FLOAT_COLLAPSE_STATUS = {
|
|
|
511
511
|
const TOOLS_FLOAT_COLLAPSE_STATUS_KEY_FOR_REPO = "asideTool_collapse_status_repo";
|
|
512
512
|
const TOOLS_FLOAT_COLLAPSE_STATUS_KEY = "asideTool_collapse_status";
|
|
513
513
|
const TOOLS_FLOAT_COLLAPSE_DATE_KEY = "asideTool_collapse_date";
|
|
514
|
-
/*! @license DOMPurify 3.
|
|
514
|
+
/*! @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 */
|
|
515
515
|
const {
|
|
516
516
|
entries,
|
|
517
517
|
setPrototypeOf,
|
|
@@ -539,12 +539,18 @@ if (!seal) {
|
|
|
539
539
|
};
|
|
540
540
|
}
|
|
541
541
|
if (!apply$1) {
|
|
542
|
-
apply$1 = function apply2(
|
|
543
|
-
|
|
542
|
+
apply$1 = function apply2(func, thisArg) {
|
|
543
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
544
|
+
args[_key - 2] = arguments[_key];
|
|
545
|
+
}
|
|
546
|
+
return func.apply(thisArg, args);
|
|
544
547
|
};
|
|
545
548
|
}
|
|
546
549
|
if (!construct) {
|
|
547
|
-
construct = function construct2(Func
|
|
550
|
+
construct = function construct2(Func) {
|
|
551
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
552
|
+
args[_key2 - 1] = arguments[_key2];
|
|
553
|
+
}
|
|
548
554
|
return new Func(...args);
|
|
549
555
|
};
|
|
550
556
|
}
|
|
@@ -567,18 +573,18 @@ function unapply(func) {
|
|
|
567
573
|
if (thisArg instanceof RegExp) {
|
|
568
574
|
thisArg.lastIndex = 0;
|
|
569
575
|
}
|
|
570
|
-
for (var
|
|
571
|
-
args[
|
|
576
|
+
for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
|
|
577
|
+
args[_key3 - 1] = arguments[_key3];
|
|
572
578
|
}
|
|
573
579
|
return apply$1(func, thisArg, args);
|
|
574
580
|
};
|
|
575
581
|
}
|
|
576
|
-
function unconstruct(
|
|
582
|
+
function unconstruct(Func) {
|
|
577
583
|
return function() {
|
|
578
|
-
for (var
|
|
579
|
-
args[
|
|
584
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
585
|
+
args[_key4] = arguments[_key4];
|
|
580
586
|
}
|
|
581
|
-
return construct(
|
|
587
|
+
return construct(Func, args);
|
|
582
588
|
};
|
|
583
589
|
}
|
|
584
590
|
function addToSet(set, array) {
|
|
@@ -645,15 +651,15 @@ function lookupGetter(object, prop) {
|
|
|
645
651
|
}
|
|
646
652
|
return fallbackValue;
|
|
647
653
|
}
|
|
648
|
-
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"]);
|
|
649
|
-
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"]);
|
|
654
|
+
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"]);
|
|
655
|
+
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"]);
|
|
650
656
|
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"]);
|
|
651
657
|
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"]);
|
|
652
658
|
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"]);
|
|
653
659
|
const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
|
|
654
660
|
const text = freeze(["#text"]);
|
|
655
|
-
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"]);
|
|
656
|
-
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"]);
|
|
661
|
+
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"]);
|
|
662
|
+
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"]);
|
|
657
663
|
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"]);
|
|
658
664
|
const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
|
|
659
665
|
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
|
|
@@ -736,7 +742,7 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
736
742
|
function createDOMPurify() {
|
|
737
743
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
738
744
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
739
|
-
DOMPurify.version = "3.
|
|
745
|
+
DOMPurify.version = "3.3.0";
|
|
740
746
|
DOMPurify.removed = [];
|
|
741
747
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
742
748
|
DOMPurify.isSupported = false;
|
|
@@ -822,6 +828,20 @@ function createDOMPurify() {
|
|
|
822
828
|
}));
|
|
823
829
|
let FORBID_TAGS = null;
|
|
824
830
|
let FORBID_ATTR = null;
|
|
831
|
+
const EXTRA_ELEMENT_HANDLING = Object.seal(create$1(null, {
|
|
832
|
+
tagCheck: {
|
|
833
|
+
writable: true,
|
|
834
|
+
configurable: false,
|
|
835
|
+
enumerable: true,
|
|
836
|
+
value: null
|
|
837
|
+
},
|
|
838
|
+
attributeCheck: {
|
|
839
|
+
writable: true,
|
|
840
|
+
configurable: false,
|
|
841
|
+
enumerable: true,
|
|
842
|
+
value: null
|
|
843
|
+
}
|
|
844
|
+
}));
|
|
825
845
|
let ALLOW_ARIA_ATTR = true;
|
|
826
846
|
let ALLOW_DATA_ATTR = true;
|
|
827
847
|
let ALLOW_UNKNOWN_PROTOCOLS = false;
|
|
@@ -945,16 +965,24 @@ function createDOMPurify() {
|
|
|
945
965
|
}
|
|
946
966
|
}
|
|
947
967
|
if (cfg.ADD_TAGS) {
|
|
948
|
-
if (
|
|
949
|
-
|
|
968
|
+
if (typeof cfg.ADD_TAGS === "function") {
|
|
969
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
|
|
970
|
+
} else {
|
|
971
|
+
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
972
|
+
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
973
|
+
}
|
|
974
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
950
975
|
}
|
|
951
|
-
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
952
976
|
}
|
|
953
977
|
if (cfg.ADD_ATTR) {
|
|
954
|
-
if (
|
|
955
|
-
|
|
978
|
+
if (typeof cfg.ADD_ATTR === "function") {
|
|
979
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
|
|
980
|
+
} else {
|
|
981
|
+
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
982
|
+
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
983
|
+
}
|
|
984
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
956
985
|
}
|
|
957
|
-
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
958
986
|
}
|
|
959
987
|
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
960
988
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
@@ -1160,7 +1188,7 @@ function createDOMPurify() {
|
|
|
1160
1188
|
_forceRemove(currentNode);
|
|
1161
1189
|
return true;
|
|
1162
1190
|
}
|
|
1163
|
-
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1191
|
+
if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {
|
|
1164
1192
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
1165
1193
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
1166
1194
|
return false;
|
|
@@ -1213,12 +1241,13 @@ function createDOMPurify() {
|
|
|
1213
1241
|
}
|
|
1214
1242
|
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName)) ;
|
|
1215
1243
|
else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName)) ;
|
|
1244
|
+
else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ;
|
|
1216
1245
|
else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1217
1246
|
if (
|
|
1218
1247
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1219
1248
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1220
1249
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
1221
|
-
_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
|
|
1250
|
+
_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
|
|
1222
1251
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1223
1252
|
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))
|
|
1224
1253
|
) ;
|
|
@@ -1273,7 +1302,11 @@ function createDOMPurify() {
|
|
|
1273
1302
|
_removeAttribute(name, currentNode);
|
|
1274
1303
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1275
1304
|
}
|
|
1276
|
-
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
1305
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, value)) {
|
|
1306
|
+
_removeAttribute(name, currentNode);
|
|
1307
|
+
continue;
|
|
1308
|
+
}
|
|
1309
|
+
if (lcName === "attributename" && stringMatch(value, "href")) {
|
|
1277
1310
|
_removeAttribute(name, currentNode);
|
|
1278
1311
|
continue;
|
|
1279
1312
|
}
|
|
@@ -1695,12 +1728,12 @@ function hasOwn(obj, key) {
|
|
|
1695
1728
|
return hasOwnProperty$1.call(obj, key);
|
|
1696
1729
|
}
|
|
1697
1730
|
const isArray$1 = Array.isArray;
|
|
1698
|
-
const isFunction$
|
|
1731
|
+
const isFunction$2 = (val) => typeof val === "function";
|
|
1699
1732
|
const isString$2 = (val) => typeof val === "string";
|
|
1700
1733
|
const isBoolean$1 = (val) => typeof val === "boolean";
|
|
1701
1734
|
const isObject$3 = (val) => val !== null && typeof val === "object";
|
|
1702
1735
|
const isPromise = (val) => {
|
|
1703
|
-
return isObject$3(val) && isFunction$
|
|
1736
|
+
return isObject$3(val) && isFunction$2(val.then) && isFunction$2(val.catch);
|
|
1704
1737
|
};
|
|
1705
1738
|
const objectToString = Object.prototype.toString;
|
|
1706
1739
|
const toTypeString = (value) => objectToString.call(value);
|
|
@@ -3866,7 +3899,7 @@ function resolveValue(obj, path) {
|
|
|
3866
3899
|
if (val === void 0) {
|
|
3867
3900
|
return null;
|
|
3868
3901
|
}
|
|
3869
|
-
if (isFunction$
|
|
3902
|
+
if (isFunction$2(last)) {
|
|
3870
3903
|
return null;
|
|
3871
3904
|
}
|
|
3872
3905
|
last = val;
|
|
@@ -3901,8 +3934,8 @@ function normalizeNamed(pluralIndex, props) {
|
|
|
3901
3934
|
function createMessageContext(options = {}) {
|
|
3902
3935
|
const locale2 = options.locale;
|
|
3903
3936
|
const pluralIndex = getPluralIndex(options);
|
|
3904
|
-
const pluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$
|
|
3905
|
-
const orgPluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$
|
|
3937
|
+
const pluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$2(options.pluralRules[locale2]) ? options.pluralRules[locale2] : pluralDefault;
|
|
3938
|
+
const orgPluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$2(options.pluralRules[locale2]) ? pluralDefault : void 0;
|
|
3906
3939
|
const plural = (messages) => {
|
|
3907
3940
|
return messages[pluralRule(pluralIndex, messages.length, orgPluralRule)];
|
|
3908
3941
|
};
|
|
@@ -3912,12 +3945,12 @@ function createMessageContext(options = {}) {
|
|
|
3912
3945
|
isNumber$1(options.pluralIndex) && normalizeNamed(pluralIndex, _named);
|
|
3913
3946
|
const named = (key) => _named[key];
|
|
3914
3947
|
function message(key) {
|
|
3915
|
-
const msg = isFunction$
|
|
3948
|
+
const msg = isFunction$2(options.messages) ? options.messages(key) : isObject$3(options.messages) ? options.messages[key] : false;
|
|
3916
3949
|
return !msg ? options.parent ? options.parent.message(key) : DEFAULT_MESSAGE : msg;
|
|
3917
3950
|
}
|
|
3918
3951
|
const _modifier = (name) => options.modifiers ? options.modifiers[name] : DEFAULT_MODIFIER;
|
|
3919
|
-
const normalize = isPlainObject$1(options.processor) && isFunction$
|
|
3920
|
-
const interpolate = isPlainObject$1(options.processor) && isFunction$
|
|
3952
|
+
const normalize = isPlainObject$1(options.processor) && isFunction$2(options.processor.normalize) ? options.processor.normalize : DEFAULT_NORMALIZE;
|
|
3953
|
+
const interpolate = isPlainObject$1(options.processor) && isFunction$2(options.processor.interpolate) ? options.processor.interpolate : DEFAULT_INTERPOLATE;
|
|
3921
3954
|
const type = isPlainObject$1(options.processor) && isString$2(options.processor.type) ? options.processor.type : DEFAULT_MESSAGE_DATA_TYPE;
|
|
3922
3955
|
const linked = (key, ...args) => {
|
|
3923
3956
|
const [arg1, arg2] = args;
|
|
@@ -4076,7 +4109,7 @@ function resolveLocale(locale2) {
|
|
|
4076
4109
|
if (isString$2(locale2)) {
|
|
4077
4110
|
return locale2;
|
|
4078
4111
|
} else {
|
|
4079
|
-
if (isFunction$
|
|
4112
|
+
if (isFunction$2(locale2)) {
|
|
4080
4113
|
if (locale2.resolvedOnce && _resolveLocale != null) {
|
|
4081
4114
|
return _resolveLocale;
|
|
4082
4115
|
} else if (locale2.constructor.name === "Function") {
|
|
@@ -4198,31 +4231,31 @@ const setFallbackContext = (context) => {
|
|
|
4198
4231
|
const getFallbackContext = () => _fallbackContext;
|
|
4199
4232
|
let _cid = 0;
|
|
4200
4233
|
function createCoreContext(options = {}) {
|
|
4201
|
-
const onWarn = isFunction$
|
|
4234
|
+
const onWarn = isFunction$2(options.onWarn) ? options.onWarn : warn;
|
|
4202
4235
|
const version = isString$2(options.version) ? options.version : VERSION$3;
|
|
4203
|
-
const locale2 = isString$2(options.locale) || isFunction$
|
|
4204
|
-
const _locale = isFunction$
|
|
4236
|
+
const locale2 = isString$2(options.locale) || isFunction$2(options.locale) ? options.locale : DEFAULT_LOCALE;
|
|
4237
|
+
const _locale = isFunction$2(locale2) ? DEFAULT_LOCALE : locale2;
|
|
4205
4238
|
const fallbackLocale = isArray$1(options.fallbackLocale) || isPlainObject$1(options.fallbackLocale) || isString$2(options.fallbackLocale) || options.fallbackLocale === false ? options.fallbackLocale : _locale;
|
|
4206
4239
|
const messages = isPlainObject$1(options.messages) ? options.messages : createResources(_locale);
|
|
4207
4240
|
const datetimeFormats = isPlainObject$1(options.datetimeFormats) ? options.datetimeFormats : createResources(_locale);
|
|
4208
4241
|
const numberFormats = isPlainObject$1(options.numberFormats) ? options.numberFormats : createResources(_locale);
|
|
4209
4242
|
const modifiers = assign$1(create(), options.modifiers, getDefaultLinkedModifiers());
|
|
4210
4243
|
const pluralRules = options.pluralRules || create();
|
|
4211
|
-
const missing = isFunction$
|
|
4244
|
+
const missing = isFunction$2(options.missing) ? options.missing : null;
|
|
4212
4245
|
const missingWarn = isBoolean$1(options.missingWarn) || isRegExp$1(options.missingWarn) ? options.missingWarn : true;
|
|
4213
4246
|
const fallbackWarn = isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
|
|
4214
4247
|
const fallbackFormat = !!options.fallbackFormat;
|
|
4215
4248
|
const unresolving = !!options.unresolving;
|
|
4216
|
-
const postTranslation = isFunction$
|
|
4249
|
+
const postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : null;
|
|
4217
4250
|
const processor = isPlainObject$1(options.processor) ? options.processor : null;
|
|
4218
4251
|
const warnHtmlMessage = isBoolean$1(options.warnHtmlMessage) ? options.warnHtmlMessage : true;
|
|
4219
4252
|
const escapeParameter = !!options.escapeParameter;
|
|
4220
|
-
const messageCompiler = isFunction$
|
|
4221
|
-
if (process.env.NODE_ENV !== "production" && true && true && isFunction$
|
|
4253
|
+
const messageCompiler = isFunction$2(options.messageCompiler) ? options.messageCompiler : _compiler;
|
|
4254
|
+
if (process.env.NODE_ENV !== "production" && true && true && isFunction$2(options.messageCompiler)) {
|
|
4222
4255
|
warnOnce(getWarnMessage$1(CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
4223
4256
|
}
|
|
4224
|
-
const messageResolver = isFunction$
|
|
4225
|
-
const localeFallbacker = isFunction$
|
|
4257
|
+
const messageResolver = isFunction$2(options.messageResolver) ? options.messageResolver : _resolver || resolveWithKeyValue;
|
|
4258
|
+
const localeFallbacker = isFunction$2(options.localeFallbacker) ? options.localeFallbacker : _fallbacker || fallbackWithSimple;
|
|
4226
4259
|
const fallbackContext = isObject$3(options.fallbackContext) ? options.fallbackContext : void 0;
|
|
4227
4260
|
const internalOptions = options;
|
|
4228
4261
|
const __datetimeFormatters = isObject$3(internalOptions.__datetimeFormatters) ? internalOptions.__datetimeFormatters : /* @__PURE__ */ new Map();
|
|
@@ -4480,7 +4513,7 @@ function compile(message, context) {
|
|
|
4480
4513
|
}
|
|
4481
4514
|
}
|
|
4482
4515
|
const NOOP_MESSAGE_FUNCTION = () => "";
|
|
4483
|
-
const isMessageFunction = (val) => isFunction$
|
|
4516
|
+
const isMessageFunction = (val) => isFunction$2(val);
|
|
4484
4517
|
function translate(context, ...args) {
|
|
4485
4518
|
const { fallbackFormat, postTranslation, unresolving, messageCompiler, fallbackLocale, messages } = context;
|
|
4486
4519
|
const [key, options] = parseTranslateArgs(...args);
|
|
@@ -5539,9 +5572,9 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5539
5572
|
let _fallbackWarn = __root ? __root.fallbackWarn : isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
|
|
5540
5573
|
let _fallbackRoot = __root ? __root.fallbackRoot : isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
|
|
5541
5574
|
let _fallbackFormat = !!options.fallbackFormat;
|
|
5542
|
-
let _missing = isFunction$
|
|
5543
|
-
let _runtimeMissing = isFunction$
|
|
5544
|
-
let _postTranslation = isFunction$
|
|
5575
|
+
let _missing = isFunction$2(options.missing) ? options.missing : null;
|
|
5576
|
+
let _runtimeMissing = isFunction$2(options.missing) ? defineCoreMissingHandler(options.missing) : null;
|
|
5577
|
+
let _postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : null;
|
|
5545
5578
|
let _warnHtmlMessage = __root ? __root.warnHtmlMessage : isBoolean$1(options.warnHtmlMessage) ? options.warnHtmlMessage : true;
|
|
5546
5579
|
let _escapeParameter = !!options.escapeParameter;
|
|
5547
5580
|
const _modifiers = __root ? __root.modifiers : isPlainObject$1(options.modifiers) ? options.modifiers : {};
|
|
@@ -5611,7 +5644,7 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5611
5644
|
const datetimeFormats = /* @__PURE__ */ computed(() => _datetimeFormats.value);
|
|
5612
5645
|
const numberFormats = /* @__PURE__ */ computed(() => _numberFormats.value);
|
|
5613
5646
|
function getPostTranslationHandler() {
|
|
5614
|
-
return isFunction$
|
|
5647
|
+
return isFunction$2(_postTranslation) ? _postTranslation : null;
|
|
5615
5648
|
}
|
|
5616
5649
|
function setPostTranslationHandler(handler) {
|
|
5617
5650
|
_postTranslation = handler;
|
|
@@ -5962,14 +5995,14 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5962
5995
|
function convertComposerOptions(options) {
|
|
5963
5996
|
const locale2 = isString$2(options.locale) ? options.locale : DEFAULT_LOCALE;
|
|
5964
5997
|
const fallbackLocale = isString$2(options.fallbackLocale) || isArray$1(options.fallbackLocale) || isPlainObject$1(options.fallbackLocale) || options.fallbackLocale === false ? options.fallbackLocale : locale2;
|
|
5965
|
-
const missing = isFunction$
|
|
5998
|
+
const missing = isFunction$2(options.missing) ? options.missing : void 0;
|
|
5966
5999
|
const missingWarn = isBoolean$1(options.silentTranslationWarn) || isRegExp$1(options.silentTranslationWarn) ? !options.silentTranslationWarn : true;
|
|
5967
6000
|
const fallbackWarn = isBoolean$1(options.silentFallbackWarn) || isRegExp$1(options.silentFallbackWarn) ? !options.silentFallbackWarn : true;
|
|
5968
6001
|
const fallbackRoot = isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
|
|
5969
6002
|
const fallbackFormat = !!options.formatFallbackMessages;
|
|
5970
6003
|
const modifiers = isPlainObject$1(options.modifiers) ? options.modifiers : {};
|
|
5971
6004
|
const pluralizationRules = options.pluralizationRules;
|
|
5972
|
-
const postTranslation = isFunction$
|
|
6005
|
+
const postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : void 0;
|
|
5973
6006
|
const warnHtmlMessage = isString$2(options.warnHtmlInMessage) ? options.warnHtmlInMessage !== "off" : true;
|
|
5974
6007
|
const escapeParameter = !!options.escapeParameterHtml;
|
|
5975
6008
|
const inheritLocale = isBoolean$1(options.sync) ? options.sync : true;
|
|
@@ -6746,7 +6779,7 @@ function getLocaleMessageValue(messages) {
|
|
|
6746
6779
|
const value = {};
|
|
6747
6780
|
Object.keys(messages).forEach((key) => {
|
|
6748
6781
|
const v = messages[key];
|
|
6749
|
-
if (isFunction$
|
|
6782
|
+
if (isFunction$2(v) && "source" in v) {
|
|
6750
6783
|
value[key] = getMessageFunctionDetails(v);
|
|
6751
6784
|
} else if (isMessageAST(v) && v.loc && v.loc.source) {
|
|
6752
6785
|
value[key] = v.loc.source;
|
|
@@ -7306,8 +7339,8 @@ function useI18nForLegacy(instance, scope, root, options = {}) {
|
|
|
7306
7339
|
const _fallbackWarn = isLocalScope ? root.fallbackWarn : isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
|
|
7307
7340
|
const _fallbackRoot = isLocalScope ? root.fallbackRoot : isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
|
|
7308
7341
|
const _fallbackFormat = !!options.fallbackFormat;
|
|
7309
|
-
const _missing = isFunction$
|
|
7310
|
-
const _postTranslation = isFunction$
|
|
7342
|
+
const _missing = isFunction$2(options.missing) ? options.missing : null;
|
|
7343
|
+
const _postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : null;
|
|
7311
7344
|
const _warnHtmlMessage = isLocalScope ? root.warnHtmlMessage : isBoolean$1(options.warnHtmlMessage) ? options.warnHtmlMessage : true;
|
|
7312
7345
|
const _escapeParameter = !!options.escapeParameter;
|
|
7313
7346
|
const _modifiers = isLocalScope ? root.modifiers : isPlainObject$1(options.modifiers) ? options.modifiers : {};
|
|
@@ -8269,7 +8302,8 @@ function setI18nLanguage(i18n2, locale2) {
|
|
|
8269
8302
|
setLocale(i18n2, locale2);
|
|
8270
8303
|
}
|
|
8271
8304
|
const getLocaleLang = () => {
|
|
8272
|
-
const
|
|
8305
|
+
const allCookies = api.get();
|
|
8306
|
+
const cookieLang = allCookies[LANG_KEY];
|
|
8273
8307
|
const localStorageLang = localStorage.getItem(LANG_KEY);
|
|
8274
8308
|
const storedLang = [LANG_EN, LANG_ZH].includes(cookieLang) ? cookieLang : localStorageLang;
|
|
8275
8309
|
let localLang = storedLang || LANG_ZH;
|
|
@@ -8498,7 +8532,7 @@ const typeOfTest = (type) => (thing) => typeof thing === type;
|
|
|
8498
8532
|
const { isArray } = Array;
|
|
8499
8533
|
const isUndefined$1 = typeOfTest("undefined");
|
|
8500
8534
|
function isBuffer(val) {
|
|
8501
|
-
return val !== null && !isUndefined$1(val) && val.constructor !== null && !isUndefined$1(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
8535
|
+
return val !== null && !isUndefined$1(val) && val.constructor !== null && !isUndefined$1(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
8502
8536
|
}
|
|
8503
8537
|
const isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
8504
8538
|
function isArrayBufferView(val) {
|
|
@@ -8511,7 +8545,7 @@ function isArrayBufferView(val) {
|
|
|
8511
8545
|
return result2;
|
|
8512
8546
|
}
|
|
8513
8547
|
const isString = typeOfTest("string");
|
|
8514
|
-
const isFunction = typeOfTest("function");
|
|
8548
|
+
const isFunction$1 = typeOfTest("function");
|
|
8515
8549
|
const isNumber = typeOfTest("number");
|
|
8516
8550
|
const isObject$1 = (thing) => thing !== null && typeof thing === "object";
|
|
8517
8551
|
const isBoolean = (thing) => thing === true || thing === false;
|
|
@@ -8536,11 +8570,11 @@ const isDate = kindOfTest("Date");
|
|
|
8536
8570
|
const isFile = kindOfTest("File");
|
|
8537
8571
|
const isBlob = kindOfTest("Blob");
|
|
8538
8572
|
const isFileList = kindOfTest("FileList");
|
|
8539
|
-
const isStream = (val) => isObject$1(val) && isFunction(val.pipe);
|
|
8573
|
+
const isStream = (val) => isObject$1(val) && isFunction$1(val.pipe);
|
|
8540
8574
|
const isFormData = (thing) => {
|
|
8541
8575
|
let kind;
|
|
8542
|
-
return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
|
|
8543
|
-
kind === "object" && isFunction(thing.toString) && thing.toString() === "[object FormData]"));
|
|
8576
|
+
return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
|
|
8577
|
+
kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
|
|
8544
8578
|
};
|
|
8545
8579
|
const isURLSearchParams = kindOfTest("URLSearchParams");
|
|
8546
8580
|
const [isReadableStream, isRequest, isResponse, isHeaders] = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest);
|
|
@@ -8592,18 +8626,18 @@ const _global = (() => {
|
|
|
8592
8626
|
return typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : global;
|
|
8593
8627
|
})();
|
|
8594
8628
|
const isContextDefined = (context) => !isUndefined$1(context) && context !== _global;
|
|
8595
|
-
function merge() {
|
|
8596
|
-
const { caseless } = isContextDefined(this) && this || {};
|
|
8629
|
+
function merge$1() {
|
|
8630
|
+
const { caseless, skipUndefined } = isContextDefined(this) && this || {};
|
|
8597
8631
|
const result2 = {};
|
|
8598
8632
|
const assignValue = (val, key) => {
|
|
8599
8633
|
const targetKey = caseless && findKey(result2, key) || key;
|
|
8600
8634
|
if (isPlainObject(result2[targetKey]) && isPlainObject(val)) {
|
|
8601
|
-
result2[targetKey] = merge(result2[targetKey], val);
|
|
8635
|
+
result2[targetKey] = merge$1(result2[targetKey], val);
|
|
8602
8636
|
} else if (isPlainObject(val)) {
|
|
8603
|
-
result2[targetKey] = merge({}, val);
|
|
8637
|
+
result2[targetKey] = merge$1({}, val);
|
|
8604
8638
|
} else if (isArray(val)) {
|
|
8605
8639
|
result2[targetKey] = val.slice();
|
|
8606
|
-
} else {
|
|
8640
|
+
} else if (!skipUndefined || !isUndefined$1(val)) {
|
|
8607
8641
|
result2[targetKey] = val;
|
|
8608
8642
|
}
|
|
8609
8643
|
};
|
|
@@ -8614,7 +8648,7 @@ function merge() {
|
|
|
8614
8648
|
}
|
|
8615
8649
|
const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
8616
8650
|
forEach(b, (val, key) => {
|
|
8617
|
-
if (thisArg && isFunction(val)) {
|
|
8651
|
+
if (thisArg && isFunction$1(val)) {
|
|
8618
8652
|
a[key] = bind(val, thisArg);
|
|
8619
8653
|
} else {
|
|
8620
8654
|
a[key] = val;
|
|
@@ -8723,11 +8757,11 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
8723
8757
|
};
|
|
8724
8758
|
const freezeMethods = (obj) => {
|
|
8725
8759
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
8726
|
-
if (isFunction(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
|
|
8760
|
+
if (isFunction$1(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
|
|
8727
8761
|
return false;
|
|
8728
8762
|
}
|
|
8729
8763
|
const value = obj[name];
|
|
8730
|
-
if (!isFunction(value)) return;
|
|
8764
|
+
if (!isFunction$1(value)) return;
|
|
8731
8765
|
descriptor.enumerable = false;
|
|
8732
8766
|
if ("writable" in descriptor) {
|
|
8733
8767
|
descriptor.writable = false;
|
|
@@ -8756,7 +8790,7 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
8756
8790
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
8757
8791
|
};
|
|
8758
8792
|
function isSpecCompliantForm(thing) {
|
|
8759
|
-
return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
8793
|
+
return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
|
|
8760
8794
|
}
|
|
8761
8795
|
const toJSONObject = (obj) => {
|
|
8762
8796
|
const stack = new Array(10);
|
|
@@ -8784,7 +8818,7 @@ const toJSONObject = (obj) => {
|
|
|
8784
8818
|
return visit(obj, 0);
|
|
8785
8819
|
};
|
|
8786
8820
|
const isAsyncFn = kindOfTest("AsyncFunction");
|
|
8787
|
-
const isThenable = (thing) => thing && (isObject$1(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
|
|
8821
|
+
const isThenable = (thing) => thing && (isObject$1(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
|
|
8788
8822
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
8789
8823
|
if (setImmediateSupported) {
|
|
8790
8824
|
return setImmediate;
|
|
@@ -8802,10 +8836,10 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
8802
8836
|
})(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
|
|
8803
8837
|
})(
|
|
8804
8838
|
typeof setImmediate === "function",
|
|
8805
|
-
isFunction(_global.postMessage)
|
|
8839
|
+
isFunction$1(_global.postMessage)
|
|
8806
8840
|
);
|
|
8807
8841
|
const asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
8808
|
-
const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
8842
|
+
const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
|
|
8809
8843
|
const utils$1 = {
|
|
8810
8844
|
isArray,
|
|
8811
8845
|
isArrayBuffer,
|
|
@@ -8827,13 +8861,13 @@ const utils$1 = {
|
|
|
8827
8861
|
isFile,
|
|
8828
8862
|
isBlob,
|
|
8829
8863
|
isRegExp,
|
|
8830
|
-
isFunction,
|
|
8864
|
+
isFunction: isFunction$1,
|
|
8831
8865
|
isStream,
|
|
8832
8866
|
isURLSearchParams,
|
|
8833
8867
|
isTypedArray,
|
|
8834
8868
|
isFileList,
|
|
8835
8869
|
forEach,
|
|
8836
|
-
merge,
|
|
8870
|
+
merge: merge$1,
|
|
8837
8871
|
extend,
|
|
8838
8872
|
trim,
|
|
8839
8873
|
stripBOM,
|
|
@@ -8932,9 +8966,13 @@ AxiosError$1.from = (error, code2, config, request, response, customProps) => {
|
|
|
8932
8966
|
}, (prop) => {
|
|
8933
8967
|
return prop !== "isAxiosError";
|
|
8934
8968
|
});
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
axiosError
|
|
8969
|
+
const msg = error && error.message ? error.message : "Error";
|
|
8970
|
+
const errCode = code2 == null && error ? error.code : code2;
|
|
8971
|
+
AxiosError$1.call(axiosError, msg, errCode, config, request, response);
|
|
8972
|
+
if (error && axiosError.cause == null) {
|
|
8973
|
+
Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
|
|
8974
|
+
}
|
|
8975
|
+
axiosError.name = error && error.name || "Error";
|
|
8938
8976
|
customProps && Object.assign(axiosError, customProps);
|
|
8939
8977
|
return axiosError;
|
|
8940
8978
|
};
|
|
@@ -9082,7 +9120,7 @@ prototype.toString = function toString2(encoder) {
|
|
|
9082
9120
|
}, "").join("&");
|
|
9083
9121
|
};
|
|
9084
9122
|
function encode(val) {
|
|
9085
|
-
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+")
|
|
9123
|
+
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
9086
9124
|
}
|
|
9087
9125
|
function buildURL(url, params, options) {
|
|
9088
9126
|
if (!params) {
|
|
@@ -9136,7 +9174,7 @@ class InterceptorManager {
|
|
|
9136
9174
|
*
|
|
9137
9175
|
* @param {Number} id The ID that was returned by `use`
|
|
9138
9176
|
*
|
|
9139
|
-
* @returns {
|
|
9177
|
+
* @returns {void}
|
|
9140
9178
|
*/
|
|
9141
9179
|
eject(id) {
|
|
9142
9180
|
if (this.handlers[id]) {
|
|
@@ -9338,7 +9376,7 @@ const defaults = {
|
|
|
9338
9376
|
const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
|
|
9339
9377
|
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
9340
9378
|
try {
|
|
9341
|
-
return JSON.parse(data);
|
|
9379
|
+
return JSON.parse(data, this.parseReviver);
|
|
9342
9380
|
} catch (e) {
|
|
9343
9381
|
if (strictJSONParsing) {
|
|
9344
9382
|
if (e.name === "SyntaxError") {
|
|
@@ -9792,20 +9830,33 @@ const isURLSameOrigin = platform.hasStandardBrowserEnv ? /* @__PURE__ */ ((origi
|
|
|
9792
9830
|
const cookies = platform.hasStandardBrowserEnv ? (
|
|
9793
9831
|
// Standard browser envs support document.cookie
|
|
9794
9832
|
{
|
|
9795
|
-
write(name, value, expires, path, domain, secure) {
|
|
9796
|
-
|
|
9797
|
-
|
|
9798
|
-
utils$1.
|
|
9799
|
-
|
|
9800
|
-
|
|
9833
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
9834
|
+
if (typeof document === "undefined") return;
|
|
9835
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
9836
|
+
if (utils$1.isNumber(expires)) {
|
|
9837
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
9838
|
+
}
|
|
9839
|
+
if (utils$1.isString(path)) {
|
|
9840
|
+
cookie.push(`path=${path}`);
|
|
9841
|
+
}
|
|
9842
|
+
if (utils$1.isString(domain)) {
|
|
9843
|
+
cookie.push(`domain=${domain}`);
|
|
9844
|
+
}
|
|
9845
|
+
if (secure === true) {
|
|
9846
|
+
cookie.push("secure");
|
|
9847
|
+
}
|
|
9848
|
+
if (utils$1.isString(sameSite)) {
|
|
9849
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
9850
|
+
}
|
|
9801
9851
|
document.cookie = cookie.join("; ");
|
|
9802
9852
|
},
|
|
9803
9853
|
read(name) {
|
|
9804
|
-
|
|
9805
|
-
|
|
9854
|
+
if (typeof document === "undefined") return null;
|
|
9855
|
+
const match = document.cookie.match(new RegExp("(?:^|; )" + name + "=([^;]*)"));
|
|
9856
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
9806
9857
|
},
|
|
9807
9858
|
remove(name) {
|
|
9808
|
-
this.write(name, "", Date.now() - 864e5);
|
|
9859
|
+
this.write(name, "", Date.now() - 864e5, "/");
|
|
9809
9860
|
}
|
|
9810
9861
|
}
|
|
9811
9862
|
) : (
|
|
@@ -9922,13 +9973,17 @@ const resolveConfig = (config) => {
|
|
|
9922
9973
|
"Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
|
|
9923
9974
|
);
|
|
9924
9975
|
}
|
|
9925
|
-
let contentType;
|
|
9926
9976
|
if (utils$1.isFormData(data)) {
|
|
9927
9977
|
if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
|
|
9928
9978
|
headers.setContentType(void 0);
|
|
9929
|
-
} else if ((
|
|
9930
|
-
const
|
|
9931
|
-
|
|
9979
|
+
} else if (utils$1.isFunction(data.getHeaders)) {
|
|
9980
|
+
const formHeaders = data.getHeaders();
|
|
9981
|
+
const allowedHeaders = ["content-type", "content-length"];
|
|
9982
|
+
Object.entries(formHeaders).forEach(([key, val]) => {
|
|
9983
|
+
if (allowedHeaders.includes(key.toLowerCase())) {
|
|
9984
|
+
headers.set(key, val);
|
|
9985
|
+
}
|
|
9986
|
+
});
|
|
9932
9987
|
}
|
|
9933
9988
|
}
|
|
9934
9989
|
if (platform.hasStandardBrowserEnv) {
|
|
@@ -10006,8 +10061,11 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
10006
10061
|
reject(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config, request));
|
|
10007
10062
|
request = null;
|
|
10008
10063
|
};
|
|
10009
|
-
request.onerror = function handleError() {
|
|
10010
|
-
|
|
10064
|
+
request.onerror = function handleError(event) {
|
|
10065
|
+
const msg = event && event.message ? event.message : "Network Error";
|
|
10066
|
+
const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
|
|
10067
|
+
err.event = event || null;
|
|
10068
|
+
reject(err);
|
|
10011
10069
|
request = null;
|
|
10012
10070
|
};
|
|
10013
10071
|
request.ontimeout = function handleTimeout() {
|
|
@@ -10175,9 +10233,16 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
10175
10233
|
highWaterMark: 2
|
|
10176
10234
|
});
|
|
10177
10235
|
};
|
|
10178
|
-
const
|
|
10179
|
-
const
|
|
10180
|
-
const
|
|
10236
|
+
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
10237
|
+
const { isFunction } = utils$1;
|
|
10238
|
+
const globalFetchAPI = (({ Request, Response }) => ({
|
|
10239
|
+
Request,
|
|
10240
|
+
Response
|
|
10241
|
+
}))(utils$1.global);
|
|
10242
|
+
const {
|
|
10243
|
+
ReadableStream: ReadableStream$1,
|
|
10244
|
+
TextEncoder
|
|
10245
|
+
} = utils$1.global;
|
|
10181
10246
|
const test = (fn, ...args) => {
|
|
10182
10247
|
try {
|
|
10183
10248
|
return !!fn(...args);
|
|
@@ -10185,162 +10250,202 @@ const test = (fn, ...args) => {
|
|
|
10185
10250
|
return false;
|
|
10186
10251
|
}
|
|
10187
10252
|
};
|
|
10188
|
-
const
|
|
10189
|
-
|
|
10190
|
-
|
|
10191
|
-
|
|
10192
|
-
|
|
10193
|
-
|
|
10194
|
-
|
|
10195
|
-
|
|
10196
|
-
|
|
10197
|
-
|
|
10198
|
-
return duplexAccessed && !hasContentType;
|
|
10199
|
-
});
|
|
10200
|
-
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
10201
|
-
const supportsResponseStream = isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
10202
|
-
const resolvers = {
|
|
10203
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
10204
|
-
};
|
|
10205
|
-
isFetchSupported && ((res) => {
|
|
10206
|
-
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
10207
|
-
!resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
|
|
10208
|
-
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
10209
|
-
});
|
|
10210
|
-
});
|
|
10211
|
-
})(new Response());
|
|
10212
|
-
const getBodyLength = async (body) => {
|
|
10213
|
-
if (body == null) {
|
|
10214
|
-
return 0;
|
|
10215
|
-
}
|
|
10216
|
-
if (utils$1.isBlob(body)) {
|
|
10217
|
-
return body.size;
|
|
10253
|
+
const factory = (env) => {
|
|
10254
|
+
env = utils$1.merge.call({
|
|
10255
|
+
skipUndefined: true
|
|
10256
|
+
}, globalFetchAPI, env);
|
|
10257
|
+
const { fetch: envFetch, Request, Response } = env;
|
|
10258
|
+
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === "function";
|
|
10259
|
+
const isRequestSupported = isFunction(Request);
|
|
10260
|
+
const isResponseSupported = isFunction(Response);
|
|
10261
|
+
if (!isFetchSupported) {
|
|
10262
|
+
return false;
|
|
10218
10263
|
}
|
|
10219
|
-
|
|
10220
|
-
|
|
10264
|
+
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
|
|
10265
|
+
const encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
10266
|
+
const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
|
|
10267
|
+
let duplexAccessed = false;
|
|
10268
|
+
const hasContentType = new Request(platform.origin, {
|
|
10269
|
+
body: new ReadableStream$1(),
|
|
10221
10270
|
method: "POST",
|
|
10222
|
-
|
|
10223
|
-
|
|
10224
|
-
|
|
10225
|
-
|
|
10226
|
-
|
|
10227
|
-
return
|
|
10228
|
-
}
|
|
10229
|
-
if (utils$1.isURLSearchParams(body)) {
|
|
10230
|
-
body = body + "";
|
|
10231
|
-
}
|
|
10232
|
-
if (utils$1.isString(body)) {
|
|
10233
|
-
return (await encodeText(body)).byteLength;
|
|
10234
|
-
}
|
|
10235
|
-
};
|
|
10236
|
-
const resolveBodyLength = async (headers, body) => {
|
|
10237
|
-
const length = utils$1.toFiniteNumber(headers.getContentLength());
|
|
10238
|
-
return length == null ? getBodyLength(body) : length;
|
|
10239
|
-
};
|
|
10240
|
-
const fetchAdapter = isFetchSupported && (async (config) => {
|
|
10241
|
-
let {
|
|
10242
|
-
url,
|
|
10243
|
-
method,
|
|
10244
|
-
data,
|
|
10245
|
-
signal,
|
|
10246
|
-
cancelToken,
|
|
10247
|
-
timeout,
|
|
10248
|
-
onDownloadProgress,
|
|
10249
|
-
onUploadProgress,
|
|
10250
|
-
responseType,
|
|
10251
|
-
headers,
|
|
10252
|
-
withCredentials = "same-origin",
|
|
10253
|
-
fetchOptions
|
|
10254
|
-
} = resolveConfig(config);
|
|
10255
|
-
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
10256
|
-
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
10257
|
-
let request;
|
|
10258
|
-
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
10259
|
-
composedSignal.unsubscribe();
|
|
10271
|
+
get duplex() {
|
|
10272
|
+
duplexAccessed = true;
|
|
10273
|
+
return "half";
|
|
10274
|
+
}
|
|
10275
|
+
}).headers.has("Content-Type");
|
|
10276
|
+
return duplexAccessed && !hasContentType;
|
|
10260
10277
|
});
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10278
|
+
const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
10279
|
+
const resolvers = {
|
|
10280
|
+
stream: supportsResponseStream && ((res) => res.body)
|
|
10281
|
+
};
|
|
10282
|
+
isFetchSupported && (() => {
|
|
10283
|
+
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
|
|
10284
|
+
!resolvers[type] && (resolvers[type] = (res, config) => {
|
|
10285
|
+
let method = res && res[type];
|
|
10286
|
+
if (method) {
|
|
10287
|
+
return method.call(res);
|
|
10288
|
+
}
|
|
10289
|
+
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
10268
10290
|
});
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
const [onProgress, flush] = progressEventDecorator(
|
|
10275
|
-
requestContentLength,
|
|
10276
|
-
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
10277
|
-
);
|
|
10278
|
-
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
10279
|
-
}
|
|
10291
|
+
});
|
|
10292
|
+
})();
|
|
10293
|
+
const getBodyLength = async (body) => {
|
|
10294
|
+
if (body == null) {
|
|
10295
|
+
return 0;
|
|
10280
10296
|
}
|
|
10281
|
-
if (
|
|
10282
|
-
|
|
10297
|
+
if (utils$1.isBlob(body)) {
|
|
10298
|
+
return body.size;
|
|
10283
10299
|
}
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
method: method.toUpperCase(),
|
|
10289
|
-
headers: headers.normalize().toJSON(),
|
|
10290
|
-
body: data,
|
|
10291
|
-
duplex: "half",
|
|
10292
|
-
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
10293
|
-
});
|
|
10294
|
-
let response = await fetch(request, fetchOptions);
|
|
10295
|
-
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
10296
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
10297
|
-
const options = {};
|
|
10298
|
-
["status", "statusText", "headers"].forEach((prop) => {
|
|
10299
|
-
options[prop] = response[prop];
|
|
10300
|
+
if (utils$1.isSpecCompliantForm(body)) {
|
|
10301
|
+
const _request = new Request(platform.origin, {
|
|
10302
|
+
method: "POST",
|
|
10303
|
+
body
|
|
10300
10304
|
});
|
|
10301
|
-
|
|
10302
|
-
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
10303
|
-
responseContentLength,
|
|
10304
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
10305
|
-
) || [];
|
|
10306
|
-
response = new Response(
|
|
10307
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
10308
|
-
flush && flush();
|
|
10309
|
-
unsubscribe && unsubscribe();
|
|
10310
|
-
}),
|
|
10311
|
-
options
|
|
10312
|
-
);
|
|
10305
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
10313
10306
|
}
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10307
|
+
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
|
10308
|
+
return body.byteLength;
|
|
10309
|
+
}
|
|
10310
|
+
if (utils$1.isURLSearchParams(body)) {
|
|
10311
|
+
body = body + "";
|
|
10312
|
+
}
|
|
10313
|
+
if (utils$1.isString(body)) {
|
|
10314
|
+
return (await encodeText(body)).byteLength;
|
|
10315
|
+
}
|
|
10316
|
+
};
|
|
10317
|
+
const resolveBodyLength = async (headers, body) => {
|
|
10318
|
+
const length = utils$1.toFiniteNumber(headers.getContentLength());
|
|
10319
|
+
return length == null ? getBodyLength(body) : length;
|
|
10320
|
+
};
|
|
10321
|
+
return async (config) => {
|
|
10322
|
+
let {
|
|
10323
|
+
url,
|
|
10324
|
+
method,
|
|
10325
|
+
data,
|
|
10326
|
+
signal,
|
|
10327
|
+
cancelToken,
|
|
10328
|
+
timeout,
|
|
10329
|
+
onDownloadProgress,
|
|
10330
|
+
onUploadProgress,
|
|
10331
|
+
responseType,
|
|
10332
|
+
headers,
|
|
10333
|
+
withCredentials = "same-origin",
|
|
10334
|
+
fetchOptions
|
|
10335
|
+
} = resolveConfig(config);
|
|
10336
|
+
let _fetch = envFetch || fetch;
|
|
10337
|
+
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
10338
|
+
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
10339
|
+
let request = null;
|
|
10340
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
10341
|
+
composedSignal.unsubscribe();
|
|
10326
10342
|
});
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10343
|
+
let requestContentLength;
|
|
10344
|
+
try {
|
|
10345
|
+
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
|
|
10346
|
+
let _request = new Request(url, {
|
|
10347
|
+
method: "POST",
|
|
10348
|
+
body: data,
|
|
10349
|
+
duplex: "half"
|
|
10350
|
+
});
|
|
10351
|
+
let contentTypeHeader;
|
|
10352
|
+
if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
|
|
10353
|
+
headers.setContentType(contentTypeHeader);
|
|
10334
10354
|
}
|
|
10335
|
-
|
|
10355
|
+
if (_request.body) {
|
|
10356
|
+
const [onProgress, flush] = progressEventDecorator(
|
|
10357
|
+
requestContentLength,
|
|
10358
|
+
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
10359
|
+
);
|
|
10360
|
+
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
10361
|
+
}
|
|
10362
|
+
}
|
|
10363
|
+
if (!utils$1.isString(withCredentials)) {
|
|
10364
|
+
withCredentials = withCredentials ? "include" : "omit";
|
|
10365
|
+
}
|
|
10366
|
+
const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
|
|
10367
|
+
const resolvedOptions = {
|
|
10368
|
+
...fetchOptions,
|
|
10369
|
+
signal: composedSignal,
|
|
10370
|
+
method: method.toUpperCase(),
|
|
10371
|
+
headers: headers.normalize().toJSON(),
|
|
10372
|
+
body: data,
|
|
10373
|
+
duplex: "half",
|
|
10374
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
10375
|
+
};
|
|
10376
|
+
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
10377
|
+
let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));
|
|
10378
|
+
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
10379
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
10380
|
+
const options = {};
|
|
10381
|
+
["status", "statusText", "headers"].forEach((prop) => {
|
|
10382
|
+
options[prop] = response[prop];
|
|
10383
|
+
});
|
|
10384
|
+
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
10385
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
10386
|
+
responseContentLength,
|
|
10387
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
10388
|
+
) || [];
|
|
10389
|
+
response = new Response(
|
|
10390
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
10391
|
+
flush && flush();
|
|
10392
|
+
unsubscribe && unsubscribe();
|
|
10393
|
+
}),
|
|
10394
|
+
options
|
|
10395
|
+
);
|
|
10396
|
+
}
|
|
10397
|
+
responseType = responseType || "text";
|
|
10398
|
+
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
|
|
10399
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
10400
|
+
return await new Promise((resolve, reject) => {
|
|
10401
|
+
settle(resolve, reject, {
|
|
10402
|
+
data: responseData,
|
|
10403
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
10404
|
+
status: response.status,
|
|
10405
|
+
statusText: response.statusText,
|
|
10406
|
+
config,
|
|
10407
|
+
request
|
|
10408
|
+
});
|
|
10409
|
+
});
|
|
10410
|
+
} catch (err) {
|
|
10411
|
+
unsubscribe && unsubscribe();
|
|
10412
|
+
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
10413
|
+
throw Object.assign(
|
|
10414
|
+
new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request),
|
|
10415
|
+
{
|
|
10416
|
+
cause: err.cause || err
|
|
10417
|
+
}
|
|
10418
|
+
);
|
|
10419
|
+
}
|
|
10420
|
+
throw AxiosError$1.from(err, err && err.code, config, request);
|
|
10336
10421
|
}
|
|
10337
|
-
|
|
10422
|
+
};
|
|
10423
|
+
};
|
|
10424
|
+
const seedCache = /* @__PURE__ */ new Map();
|
|
10425
|
+
const getFetch = (config) => {
|
|
10426
|
+
let env = config && config.env || {};
|
|
10427
|
+
const { fetch: fetch2, Request, Response } = env;
|
|
10428
|
+
const seeds = [
|
|
10429
|
+
Request,
|
|
10430
|
+
Response,
|
|
10431
|
+
fetch2
|
|
10432
|
+
];
|
|
10433
|
+
let len = seeds.length, i = len, seed, target, map = seedCache;
|
|
10434
|
+
while (i--) {
|
|
10435
|
+
seed = seeds[i];
|
|
10436
|
+
target = map.get(seed);
|
|
10437
|
+
target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env));
|
|
10438
|
+
map = target;
|
|
10338
10439
|
}
|
|
10339
|
-
|
|
10440
|
+
return target;
|
|
10441
|
+
};
|
|
10442
|
+
getFetch();
|
|
10340
10443
|
const knownAdapters = {
|
|
10341
10444
|
http: httpAdapter,
|
|
10342
10445
|
xhr: xhrAdapter,
|
|
10343
|
-
fetch:
|
|
10446
|
+
fetch: {
|
|
10447
|
+
get: getFetch
|
|
10448
|
+
}
|
|
10344
10449
|
};
|
|
10345
10450
|
utils$1.forEach(knownAdapters, (fn, value) => {
|
|
10346
10451
|
if (fn) {
|
|
@@ -10353,40 +10458,49 @@ utils$1.forEach(knownAdapters, (fn, value) => {
|
|
|
10353
10458
|
});
|
|
10354
10459
|
const renderReason = (reason) => `- ${reason}`;
|
|
10355
10460
|
const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
|
-
|
|
10364
|
-
|
|
10365
|
-
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
10371
|
-
}
|
|
10372
|
-
}
|
|
10373
|
-
if (adapter) {
|
|
10374
|
-
break;
|
|
10461
|
+
function getAdapter$1(adapters2, config) {
|
|
10462
|
+
adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
|
|
10463
|
+
const { length } = adapters2;
|
|
10464
|
+
let nameOrAdapter;
|
|
10465
|
+
let adapter;
|
|
10466
|
+
const rejectedReasons = {};
|
|
10467
|
+
for (let i = 0; i < length; i++) {
|
|
10468
|
+
nameOrAdapter = adapters2[i];
|
|
10469
|
+
let id;
|
|
10470
|
+
adapter = nameOrAdapter;
|
|
10471
|
+
if (!isResolvedHandle(nameOrAdapter)) {
|
|
10472
|
+
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
10473
|
+
if (adapter === void 0) {
|
|
10474
|
+
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
10375
10475
|
}
|
|
10376
|
-
rejectedReasons[id || "#" + i] = adapter;
|
|
10377
10476
|
}
|
|
10378
|
-
if (
|
|
10379
|
-
|
|
10380
|
-
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
10381
|
-
);
|
|
10382
|
-
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
10383
|
-
throw new AxiosError$1(
|
|
10384
|
-
`There is no suitable adapter to dispatch the request ` + s,
|
|
10385
|
-
"ERR_NOT_SUPPORT"
|
|
10386
|
-
);
|
|
10477
|
+
if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
|
|
10478
|
+
break;
|
|
10387
10479
|
}
|
|
10388
|
-
|
|
10389
|
-
}
|
|
10480
|
+
rejectedReasons[id || "#" + i] = adapter;
|
|
10481
|
+
}
|
|
10482
|
+
if (!adapter) {
|
|
10483
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
10484
|
+
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
10485
|
+
);
|
|
10486
|
+
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
10487
|
+
throw new AxiosError$1(
|
|
10488
|
+
`There is no suitable adapter to dispatch the request ` + s,
|
|
10489
|
+
"ERR_NOT_SUPPORT"
|
|
10490
|
+
);
|
|
10491
|
+
}
|
|
10492
|
+
return adapter;
|
|
10493
|
+
}
|
|
10494
|
+
const adapters = {
|
|
10495
|
+
/**
|
|
10496
|
+
* Resolve an adapter from a list of adapter names or functions.
|
|
10497
|
+
* @type {Function}
|
|
10498
|
+
*/
|
|
10499
|
+
getAdapter: getAdapter$1,
|
|
10500
|
+
/**
|
|
10501
|
+
* Exposes all known adapters
|
|
10502
|
+
* @type {Object<string, Function|Object>}
|
|
10503
|
+
*/
|
|
10390
10504
|
adapters: knownAdapters
|
|
10391
10505
|
};
|
|
10392
10506
|
function throwIfCancellationRequested(config) {
|
|
@@ -10407,7 +10521,7 @@ function dispatchRequest(config) {
|
|
|
10407
10521
|
if (["post", "put", "patch"].indexOf(config.method) !== -1) {
|
|
10408
10522
|
config.headers.setContentType("application/x-www-form-urlencoded", false);
|
|
10409
10523
|
}
|
|
10410
|
-
const adapter = adapters.getAdapter(config.adapter || defaults.adapter);
|
|
10524
|
+
const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);
|
|
10411
10525
|
return adapter(config).then(function onAdapterResolution(response) {
|
|
10412
10526
|
throwIfCancellationRequested(config);
|
|
10413
10527
|
response.data = transformData.call(
|
|
@@ -10432,7 +10546,7 @@ function dispatchRequest(config) {
|
|
|
10432
10546
|
return Promise.reject(reason);
|
|
10433
10547
|
});
|
|
10434
10548
|
}
|
|
10435
|
-
const VERSION$1 = "1.
|
|
10549
|
+
const VERSION$1 = "1.13.2";
|
|
10436
10550
|
const validators$1 = {};
|
|
10437
10551
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
10438
10552
|
validators$1[type] = function validator2(thing) {
|
|
@@ -10611,7 +10725,6 @@ let Axios$1 = class Axios {
|
|
|
10611
10725
|
}
|
|
10612
10726
|
len = requestInterceptorChain.length;
|
|
10613
10727
|
let newConfig = config;
|
|
10614
|
-
i = 0;
|
|
10615
10728
|
while (i < len) {
|
|
10616
10729
|
const onFulfilled = requestInterceptorChain[i++];
|
|
10617
10730
|
const onRejected = requestInterceptorChain[i++];
|
|
@@ -10831,7 +10944,13 @@ const HttpStatusCode$1 = {
|
|
|
10831
10944
|
InsufficientStorage: 507,
|
|
10832
10945
|
LoopDetected: 508,
|
|
10833
10946
|
NotExtended: 510,
|
|
10834
|
-
NetworkAuthenticationRequired: 511
|
|
10947
|
+
NetworkAuthenticationRequired: 511,
|
|
10948
|
+
WebServerIsDown: 521,
|
|
10949
|
+
ConnectionTimedOut: 522,
|
|
10950
|
+
OriginIsUnreachable: 523,
|
|
10951
|
+
TimeoutOccurred: 524,
|
|
10952
|
+
SslHandshakeFailed: 525,
|
|
10953
|
+
InvalidSslCertificate: 526
|
|
10835
10954
|
};
|
|
10836
10955
|
Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
10837
10956
|
HttpStatusCode$1[value] = key;
|
|
@@ -11379,7 +11498,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11379
11498
|
createElementVNode("div", {
|
|
11380
11499
|
class: "home-nav-link tools-questionnaire",
|
|
11381
11500
|
onClick: toggleGrowthCenter
|
|
11382
|
-
}, _cache[6] || (_cache[6] = [
|
|
11501
|
+
}, [..._cache[6] || (_cache[6] = [
|
|
11383
11502
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
11384
11503
|
createElementVNode("img", {
|
|
11385
11504
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
@@ -11387,7 +11506,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11387
11506
|
alt: ""
|
|
11388
11507
|
})
|
|
11389
11508
|
], -1)
|
|
11390
|
-
]))
|
|
11509
|
+
])])
|
|
11391
11510
|
]),
|
|
11392
11511
|
_: 1
|
|
11393
11512
|
})) : createCommentVNode("", true),
|
|
@@ -11410,7 +11529,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11410
11529
|
id: "gitcode-desk-btn",
|
|
11411
11530
|
class: "home-nav-item kefu",
|
|
11412
11531
|
onClick: showDesk
|
|
11413
|
-
}, _cache[7] || (_cache[7] = [
|
|
11532
|
+
}, [..._cache[7] || (_cache[7] = [
|
|
11414
11533
|
createElementVNode("img", {
|
|
11415
11534
|
class: "inline-block h-[20px] w-[20px]",
|
|
11416
11535
|
src: "https://cdn-static.gitcode.com/static/images/desk/kefu.png",
|
|
@@ -11420,7 +11539,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11420
11539
|
createElementVNode("div", null, "客"),
|
|
11421
11540
|
createElementVNode("div", null, "服")
|
|
11422
11541
|
], -1)
|
|
11423
|
-
]))
|
|
11542
|
+
])])
|
|
11424
11543
|
])
|
|
11425
11544
|
]),
|
|
11426
11545
|
_: 1
|
|
@@ -11454,8 +11573,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11454
11573
|
])
|
|
11455
11574
|
], -1))
|
|
11456
11575
|
]),
|
|
11457
|
-
_: 1
|
|
11458
|
-
__: [9]
|
|
11576
|
+
_: 1
|
|
11459
11577
|
}),
|
|
11460
11578
|
npsPopVisible.value ? (openBlock(), createBlock(unref(Popover), {
|
|
11461
11579
|
key: 0,
|
|
@@ -11474,9 +11592,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11474
11592
|
key: item.index,
|
|
11475
11593
|
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)]"]),
|
|
11476
11594
|
onClick: ($event) => swTab(item)
|
|
11477
|
-
}, _cache[11] || (_cache[11] = [
|
|
11595
|
+
}, [..._cache[11] || (_cache[11] = [
|
|
11478
11596
|
createElementVNode("span", { class: "cursor-pointer" }, null, -1)
|
|
11479
|
-
]), 10, _hoisted_18$2);
|
|
11597
|
+
])], 10, _hoisted_18$2);
|
|
11480
11598
|
}), 64))
|
|
11481
11599
|
]),
|
|
11482
11600
|
createElementVNode("div", null, [
|
|
@@ -11558,7 +11676,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11558
11676
|
trigger: "hover",
|
|
11559
11677
|
offset: { mainAxis: 22, crossAxis: 0 }
|
|
11560
11678
|
}, {
|
|
11561
|
-
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
11679
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
11562
11680
|
createElementVNode("div", { class: "home-nav-item" }, [
|
|
11563
11681
|
createElementVNode("img", {
|
|
11564
11682
|
class: "common-icon inline-block h-[20px] w-[20px]",
|
|
@@ -11571,9 +11689,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
11571
11689
|
alt: ""
|
|
11572
11690
|
})
|
|
11573
11691
|
], -1)
|
|
11574
|
-
])),
|
|
11575
|
-
_: 1
|
|
11576
|
-
__: [10]
|
|
11692
|
+
])]),
|
|
11693
|
+
_: 1
|
|
11577
11694
|
}, 8, ["content"])
|
|
11578
11695
|
])
|
|
11579
11696
|
]),
|
|
@@ -11808,11 +11925,11 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11808
11925
|
});
|
|
11809
11926
|
return (_ctx, _cache) => {
|
|
11810
11927
|
const _component_router_link = resolveComponent("router-link");
|
|
11811
|
-
return
|
|
11928
|
+
return __props.to && !__props.disabled ? (openBlock(), createBlock(_component_router_link, {
|
|
11812
11929
|
key: 0,
|
|
11813
|
-
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline:
|
|
11814
|
-
to:
|
|
11815
|
-
target:
|
|
11930
|
+
class: normalizeClass(["g-link g-link-router-link", { hoverUnderline: __props.underline }]),
|
|
11931
|
+
to: __props.to,
|
|
11932
|
+
target: __props.target
|
|
11816
11933
|
}, {
|
|
11817
11934
|
default: withCtx(() => [
|
|
11818
11935
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -11820,10 +11937,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11820
11937
|
_: 3
|
|
11821
11938
|
}, 8, ["class", "to", "target"])) : (openBlock(), createElementBlock("a", {
|
|
11822
11939
|
key: 1,
|
|
11823
|
-
class: normalizeClass(["g-link g-link-a", { hoverUnderline:
|
|
11824
|
-
href:
|
|
11825
|
-
target:
|
|
11826
|
-
disabled:
|
|
11940
|
+
class: normalizeClass(["g-link g-link-a", { hoverUnderline: __props.underline, noPointer: __props.noPointer }]),
|
|
11941
|
+
href: __props.disabled || !targetHref.value ? defaultHref.value : targetHref.value,
|
|
11942
|
+
target: __props.target,
|
|
11943
|
+
disabled: __props.disabled || __props.noPointer
|
|
11827
11944
|
}, [
|
|
11828
11945
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
11829
11946
|
], 10, _hoisted_1$u));
|
|
@@ -12413,12 +12530,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
12413
12530
|
return openBlock(), createBlock(unref(Avatar), {
|
|
12414
12531
|
"img-src": imgSrc.value,
|
|
12415
12532
|
name: placeholderName.value,
|
|
12416
|
-
width:
|
|
12417
|
-
height:
|
|
12418
|
-
"is-round":
|
|
12419
|
-
class: normalizeClass({ "devui-avatar-square": !
|
|
12533
|
+
width: __props.width,
|
|
12534
|
+
height: __props.height,
|
|
12535
|
+
"is-round": __props.is_round,
|
|
12536
|
+
class: normalizeClass({ "devui-avatar-square": !__props.is_round, "gavatar-custom": !imgSrc.value }),
|
|
12420
12537
|
onLoadError,
|
|
12421
|
-
style: normalizeStyle({ minWidth:
|
|
12538
|
+
style: normalizeStyle({ minWidth: __props.width + "px" })
|
|
12422
12539
|
}, null, 8, ["img-src", "name", "width", "height", "is-round", "class", "style"]);
|
|
12423
12540
|
};
|
|
12424
12541
|
}
|
|
@@ -12457,15 +12574,15 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
12457
12574
|
return openBlock(), createBlock(unref(Tooltip), {
|
|
12458
12575
|
class: "flash-tag-message",
|
|
12459
12576
|
position: ["top", "bottom"],
|
|
12460
|
-
content:
|
|
12577
|
+
content: __props.message,
|
|
12461
12578
|
"overlay-class": "flash-tag-tooltip",
|
|
12462
|
-
disabled: unref(isPhone)() ||
|
|
12579
|
+
disabled: unref(isPhone)() || __props.disabled
|
|
12463
12580
|
}, {
|
|
12464
12581
|
default: withCtx(() => [
|
|
12465
12582
|
createElementVNode("span", mergeProps({
|
|
12466
|
-
class: ["gc-flash-tag cursor-default", { "gc-trusted-tag":
|
|
12583
|
+
class: ["gc-flash-tag cursor-default", { "gc-trusted-tag": __props.trusted, "cursor-pointer": __props.clickEnabled, "cursor-default": !__props.clickEnabled, "gc-icon-tag": __props.icon }]
|
|
12467
12584
|
}, _ctx.$attrs, { onClick: handleClick }), [
|
|
12468
|
-
|
|
12585
|
+
__props.icon ? (openBlock(), createElementBlock("img", {
|
|
12469
12586
|
key: 0,
|
|
12470
12587
|
class: "w-[16px] h-[16px]",
|
|
12471
12588
|
src: iconUrl.value
|
|
@@ -12546,7 +12663,7 @@ function getAugmentedNamespace(n) {
|
|
|
12546
12663
|
return a;
|
|
12547
12664
|
}
|
|
12548
12665
|
var relativeTime$1 = { exports: {} };
|
|
12549
|
-
(function(module, exports) {
|
|
12666
|
+
(function(module, exports$1) {
|
|
12550
12667
|
!function(r, e) {
|
|
12551
12668
|
module.exports = e();
|
|
12552
12669
|
}(commonjsGlobal, function() {
|
|
@@ -13117,7 +13234,7 @@ var locale = {
|
|
|
13117
13234
|
};
|
|
13118
13235
|
dayjs.locale(locale, null, true);
|
|
13119
13236
|
var timezone = { exports: {} };
|
|
13120
|
-
(function(module, exports) {
|
|
13237
|
+
(function(module, exports$1) {
|
|
13121
13238
|
!function(t2, e) {
|
|
13122
13239
|
module.exports = e();
|
|
13123
13240
|
}(commonjsGlobal, function() {
|
|
@@ -13180,7 +13297,7 @@ var timezone = { exports: {} };
|
|
|
13180
13297
|
var timezoneExports = timezone.exports;
|
|
13181
13298
|
const tz = /* @__PURE__ */ getDefaultExportFromCjs(timezoneExports);
|
|
13182
13299
|
var utc$1 = { exports: {} };
|
|
13183
|
-
(function(module, exports) {
|
|
13300
|
+
(function(module, exports$1) {
|
|
13184
13301
|
!function(t2, i) {
|
|
13185
13302
|
module.exports = i();
|
|
13186
13303
|
}(commonjsGlobal, function() {
|
|
@@ -13196,16 +13313,16 @@ var utc$1 = { exports: {} };
|
|
|
13196
13313
|
}, u.local = function() {
|
|
13197
13314
|
return n(this.toDate(), { locale: this.$L, utc: false });
|
|
13198
13315
|
};
|
|
13199
|
-
var
|
|
13316
|
+
var r = u.parse;
|
|
13200
13317
|
u.parse = function(t3) {
|
|
13201
|
-
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset),
|
|
13318
|
+
t3.utc && (this.$u = true), this.$utils().u(t3.$offset) || (this.$offset = t3.$offset), r.call(this, t3);
|
|
13202
13319
|
};
|
|
13203
|
-
var
|
|
13320
|
+
var o = u.init;
|
|
13204
13321
|
u.init = function() {
|
|
13205
13322
|
if (this.$u) {
|
|
13206
13323
|
var t3 = this.$d;
|
|
13207
13324
|
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();
|
|
13208
|
-
} else
|
|
13325
|
+
} else o.call(this);
|
|
13209
13326
|
};
|
|
13210
13327
|
var a = u.utcOffset;
|
|
13211
13328
|
u.utcOffset = function(s2, f2) {
|
|
@@ -13218,13 +13335,12 @@ var utc$1 = { exports: {} };
|
|
|
13218
13335
|
var f3 = ("" + s3[0]).match(e) || ["-", 0, 0], n3 = f3[0], u3 = 60 * +f3[1] + +f3[2];
|
|
13219
13336
|
return 0 === u3 ? 0 : "+" === n3 ? u3 : -u3;
|
|
13220
13337
|
}(s2), null === s2)) return this;
|
|
13221
|
-
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2
|
|
13222
|
-
if (
|
|
13223
|
-
|
|
13224
|
-
|
|
13225
|
-
|
|
13226
|
-
|
|
13227
|
-
return o2;
|
|
13338
|
+
var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2;
|
|
13339
|
+
if (0 === u2) return this.utc(f2);
|
|
13340
|
+
var r2 = this.clone();
|
|
13341
|
+
if (f2) return r2.$offset = u2, r2.$u = false, r2;
|
|
13342
|
+
var o2 = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
13343
|
+
return (r2 = this.local().add(u2 + o2, t2)).$offset = u2, r2.$x.$localOffset = o2, r2;
|
|
13228
13344
|
};
|
|
13229
13345
|
var h2 = u.format;
|
|
13230
13346
|
u.format = function(t3) {
|
|
@@ -13454,7 +13570,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13454
13570
|
});
|
|
13455
13571
|
return (_ctx, _cache) => {
|
|
13456
13572
|
var _a, _b;
|
|
13457
|
-
return
|
|
13573
|
+
return __props.scene === unref(SceneValue).org && !__props.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
13458
13574
|
createVNode(GLink, {
|
|
13459
13575
|
to: { name: "homepage" },
|
|
13460
13576
|
class: "flex flex-1 items-center gap-[8px]"
|
|
@@ -13478,21 +13594,21 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13478
13594
|
createVNode(unref(Button), {
|
|
13479
13595
|
onClick: _cache[0] || (_cache[0] = ($event) => {
|
|
13480
13596
|
var _a2;
|
|
13481
|
-
return handleOrgFollow((_a2 =
|
|
13597
|
+
return handleOrgFollow((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow);
|
|
13482
13598
|
}),
|
|
13483
13599
|
class: "org-layout-toolbar-follow"
|
|
13484
13600
|
}, {
|
|
13485
13601
|
default: withCtx(() => {
|
|
13486
13602
|
var _a2;
|
|
13487
13603
|
return [
|
|
13488
|
-
createElementVNode("span", _hoisted_3$g, toDisplayString$1(((_a2 =
|
|
13604
|
+
createElementVNode("span", _hoisted_3$g, toDisplayString$1(((_a2 = __props.orgProps) == null ? void 0 : _a2.isOrgFollow) ? unref(t2)("gitCodeLayout.home.alreadyFollowed") : unref(t2)("gitCodeLayout.home.focusOn")), 1)
|
|
13489
13605
|
];
|
|
13490
13606
|
}),
|
|
13491
13607
|
_: 1
|
|
13492
13608
|
})
|
|
13493
|
-
])) :
|
|
13609
|
+
])) : __props.scene === unref(SceneValue).repo && !__props.errorCode ? (openBlock(), createBlock(unref(Skeleton), {
|
|
13494
13610
|
key: 1,
|
|
13495
|
-
loading: (_a =
|
|
13611
|
+
loading: (_a = __props.repoProps) == null ? void 0 : _a.repoNameLoading,
|
|
13496
13612
|
rows: 1
|
|
13497
13613
|
}, {
|
|
13498
13614
|
placeholder: withCtx(() => [
|
|
@@ -13515,7 +13631,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13515
13631
|
default: withCtx(() => {
|
|
13516
13632
|
var _a3, _b3, _c2, _d2;
|
|
13517
13633
|
return [
|
|
13518
|
-
!((_a3 =
|
|
13634
|
+
!((_a3 = __props.repoProps) == null ? void 0 : _a3.isGhMirrors) ? (openBlock(), createBlock(_sfc_main$A, {
|
|
13519
13635
|
key: 0,
|
|
13520
13636
|
class: normalizeClass({ "g-border": isOrg.value }),
|
|
13521
13637
|
src: (_c2 = (_b3 = unref(repoInfo)) == null ? void 0 : _b3.namespace) == null ? void 0 : _c2.avatar_url,
|
|
@@ -13531,7 +13647,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13531
13647
|
_: 1
|
|
13532
13648
|
}, 8, ["href"]),
|
|
13533
13649
|
createElementVNode("div", _hoisted_8$5, [
|
|
13534
|
-
!((_b2 =
|
|
13650
|
+
!((_b2 = __props.repoProps) == null ? void 0 : _b2.isGhMirrors) ? (openBlock(), createElementBlock("div", {
|
|
13535
13651
|
key: 0,
|
|
13536
13652
|
ref_key: "breadcrumbRef",
|
|
13537
13653
|
ref: breadcrumbRef,
|
|
@@ -13566,7 +13682,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13566
13682
|
key: 1,
|
|
13567
13683
|
ref_key: "breadcrumbNextRef",
|
|
13568
13684
|
ref: breadcrumbNextRef,
|
|
13569
|
-
class: normalizeClass(["g-repo-layout-breadcrumb-next max-md:w-full flex items-end gap-[8px]", [((_c =
|
|
13685
|
+
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%]"]])
|
|
13570
13686
|
}, [
|
|
13571
13687
|
createVNode(GLink, {
|
|
13572
13688
|
class: "linkTx",
|
|
@@ -13589,11 +13705,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13589
13705
|
type: "gstar",
|
|
13590
13706
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.graduation")}`
|
|
13591
13707
|
}, {
|
|
13592
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
13708
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
13593
13709
|
createTextVNode("G-Star ", -1)
|
|
13594
|
-
])),
|
|
13595
|
-
_: 1
|
|
13596
|
-
__: [2]
|
|
13710
|
+
])]),
|
|
13711
|
+
_: 1
|
|
13597
13712
|
}, 8, ["message"])
|
|
13598
13713
|
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
13599
13714
|
createVNode(_sfc_main$z, {
|
|
@@ -13602,11 +13717,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13602
13717
|
type: "incubation",
|
|
13603
13718
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.incubation")}`
|
|
13604
13719
|
}, {
|
|
13605
|
-
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
13720
|
+
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
13606
13721
|
createTextVNode(" G-Star ", -1)
|
|
13607
|
-
])),
|
|
13608
|
-
_: 1
|
|
13609
|
-
__: [3]
|
|
13722
|
+
])]),
|
|
13723
|
+
_: 1
|
|
13610
13724
|
}, 8, ["message"])
|
|
13611
13725
|
])) : createCommentVNode("", true),
|
|
13612
13726
|
unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
@@ -13618,7 +13732,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13618
13732
|
href: "/trusted"
|
|
13619
13733
|
}, null, 8, ["message"])
|
|
13620
13734
|
])) : createCommentVNode("", true),
|
|
13621
|
-
((_d =
|
|
13735
|
+
((_d = __props.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_15$1, [
|
|
13622
13736
|
createVNode(GIcon, {
|
|
13623
13737
|
size: "16px",
|
|
13624
13738
|
class: "ml-[4px]",
|
|
@@ -13637,7 +13751,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13637
13751
|
}, null, 8, ["name"]),
|
|
13638
13752
|
createElementVNode("span", _hoisted_16$1, toDisplayString$1((_f = topicTag.value) == null ? void 0 : _f.suffix), 1)
|
|
13639
13753
|
])) : createCommentVNode("", true),
|
|
13640
|
-
((_g =
|
|
13754
|
+
((_g = __props.repoProps) == null ? void 0 : _g.isGhMirrors) && showTimeTopic.value && !unref(isPhone)() ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
|
|
13641
13755
|
createVNode(GIcon, {
|
|
13642
13756
|
name: "gt-line-time",
|
|
13643
13757
|
color: "var(--devui-shape-icon-fill)",
|
|
@@ -13651,7 +13765,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
13651
13765
|
];
|
|
13652
13766
|
}),
|
|
13653
13767
|
_: 1
|
|
13654
|
-
}, 8, ["loading"])) :
|
|
13768
|
+
}, 8, ["loading"])) : __props.scene === unref(SceneValue).user && ((_b = __props.userProps) == null ? void 0 : _b.isOtherUser) ? (openBlock(), createElementBlock("div", _hoisted_20$1, [
|
|
13655
13769
|
createVNode(GLink, {
|
|
13656
13770
|
to: { name: "homepage" },
|
|
13657
13771
|
class: "flex flex-1 items-center gap-[8px]"
|
|
@@ -13801,7 +13915,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
13801
13915
|
onClick: handleClick
|
|
13802
13916
|
}, [
|
|
13803
13917
|
createElementVNode("img", {
|
|
13804
|
-
src:
|
|
13918
|
+
src: __props.config.logo_url,
|
|
13805
13919
|
alt: "claim power"
|
|
13806
13920
|
}, null, 8, _hoisted_1$q)
|
|
13807
13921
|
])) : createCommentVNode("", true);
|
|
@@ -13855,10 +13969,10 @@ var hasRequiredCore;
|
|
|
13855
13969
|
function requireCore() {
|
|
13856
13970
|
if (hasRequiredCore) return core.exports;
|
|
13857
13971
|
hasRequiredCore = 1;
|
|
13858
|
-
(function(module, exports) {
|
|
13859
|
-
(function(root,
|
|
13972
|
+
(function(module, exports$1) {
|
|
13973
|
+
(function(root, factory2) {
|
|
13860
13974
|
{
|
|
13861
|
-
module.exports =
|
|
13975
|
+
module.exports = factory2();
|
|
13862
13976
|
}
|
|
13863
13977
|
})(commonjsGlobal, function() {
|
|
13864
13978
|
var CryptoJS = CryptoJS || function(Math2, undefined$1) {
|
|
@@ -14462,10 +14576,10 @@ var hasRequiredEncBase64;
|
|
|
14462
14576
|
function requireEncBase64() {
|
|
14463
14577
|
if (hasRequiredEncBase64) return encBase64.exports;
|
|
14464
14578
|
hasRequiredEncBase64 = 1;
|
|
14465
|
-
(function(module, exports) {
|
|
14466
|
-
(function(root,
|
|
14579
|
+
(function(module, exports$1) {
|
|
14580
|
+
(function(root, factory2) {
|
|
14467
14581
|
{
|
|
14468
|
-
module.exports =
|
|
14582
|
+
module.exports = factory2(requireCore());
|
|
14469
14583
|
}
|
|
14470
14584
|
})(commonjsGlobal, function(CryptoJS) {
|
|
14471
14585
|
(function() {
|
|
@@ -14569,10 +14683,10 @@ var hasRequiredMd5;
|
|
|
14569
14683
|
function requireMd5() {
|
|
14570
14684
|
if (hasRequiredMd5) return md5.exports;
|
|
14571
14685
|
hasRequiredMd5 = 1;
|
|
14572
|
-
(function(module, exports) {
|
|
14573
|
-
(function(root,
|
|
14686
|
+
(function(module, exports$1) {
|
|
14687
|
+
(function(root, factory2) {
|
|
14574
14688
|
{
|
|
14575
|
-
module.exports =
|
|
14689
|
+
module.exports = factory2(requireCore());
|
|
14576
14690
|
}
|
|
14577
14691
|
})(commonjsGlobal, function(CryptoJS) {
|
|
14578
14692
|
(function(Math2) {
|
|
@@ -14748,10 +14862,10 @@ var hasRequiredSha1;
|
|
|
14748
14862
|
function requireSha1() {
|
|
14749
14863
|
if (hasRequiredSha1) return sha1.exports;
|
|
14750
14864
|
hasRequiredSha1 = 1;
|
|
14751
|
-
(function(module, exports) {
|
|
14752
|
-
(function(root,
|
|
14865
|
+
(function(module, exports$1) {
|
|
14866
|
+
(function(root, factory2) {
|
|
14753
14867
|
{
|
|
14754
|
-
module.exports =
|
|
14868
|
+
module.exports = factory2(requireCore());
|
|
14755
14869
|
}
|
|
14756
14870
|
})(commonjsGlobal, function(CryptoJS) {
|
|
14757
14871
|
(function() {
|
|
@@ -14838,10 +14952,10 @@ var hasRequiredHmac;
|
|
|
14838
14952
|
function requireHmac() {
|
|
14839
14953
|
if (hasRequiredHmac) return hmac.exports;
|
|
14840
14954
|
hasRequiredHmac = 1;
|
|
14841
|
-
(function(module, exports) {
|
|
14842
|
-
(function(root,
|
|
14955
|
+
(function(module, exports$1) {
|
|
14956
|
+
(function(root, factory2) {
|
|
14843
14957
|
{
|
|
14844
|
-
module.exports =
|
|
14958
|
+
module.exports = factory2(requireCore());
|
|
14845
14959
|
}
|
|
14846
14960
|
})(commonjsGlobal, function(CryptoJS) {
|
|
14847
14961
|
(function() {
|
|
@@ -14943,10 +15057,10 @@ var hasRequiredEvpkdf;
|
|
|
14943
15057
|
function requireEvpkdf() {
|
|
14944
15058
|
if (hasRequiredEvpkdf) return evpkdf.exports;
|
|
14945
15059
|
hasRequiredEvpkdf = 1;
|
|
14946
|
-
(function(module, exports) {
|
|
14947
|
-
(function(root,
|
|
15060
|
+
(function(module, exports$1) {
|
|
15061
|
+
(function(root, factory2, undef) {
|
|
14948
15062
|
{
|
|
14949
|
-
module.exports =
|
|
15063
|
+
module.exports = factory2(requireCore(), requireSha1(), requireHmac());
|
|
14950
15064
|
}
|
|
14951
15065
|
})(commonjsGlobal, function(CryptoJS) {
|
|
14952
15066
|
(function() {
|
|
@@ -15033,10 +15147,10 @@ var hasRequiredCipherCore;
|
|
|
15033
15147
|
function requireCipherCore() {
|
|
15034
15148
|
if (hasRequiredCipherCore) return cipherCore.exports;
|
|
15035
15149
|
hasRequiredCipherCore = 1;
|
|
15036
|
-
(function(module, exports) {
|
|
15037
|
-
(function(root,
|
|
15150
|
+
(function(module, exports$1) {
|
|
15151
|
+
(function(root, factory2, undef) {
|
|
15038
15152
|
{
|
|
15039
|
-
module.exports =
|
|
15153
|
+
module.exports = factory2(requireCore(), requireEvpkdf());
|
|
15040
15154
|
}
|
|
15041
15155
|
})(commonjsGlobal, function(CryptoJS) {
|
|
15042
15156
|
CryptoJS.lib.Cipher || function(undefined$1) {
|
|
@@ -15671,10 +15785,10 @@ function requireCipherCore() {
|
|
|
15671
15785
|
})(cipherCore);
|
|
15672
15786
|
return cipherCore.exports;
|
|
15673
15787
|
}
|
|
15674
|
-
(function(module, exports) {
|
|
15675
|
-
(function(root,
|
|
15788
|
+
(function(module, exports$1) {
|
|
15789
|
+
(function(root, factory2, undef) {
|
|
15676
15790
|
{
|
|
15677
|
-
module.exports =
|
|
15791
|
+
module.exports = factory2(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
15678
15792
|
}
|
|
15679
15793
|
})(commonjsGlobal, function(CryptoJS) {
|
|
15680
15794
|
(function() {
|
|
@@ -15820,10 +15934,10 @@ function requireCipherCore() {
|
|
|
15820
15934
|
var aesExports = aes.exports;
|
|
15821
15935
|
const AES = /* @__PURE__ */ getDefaultExportFromCjs(aesExports);
|
|
15822
15936
|
var padPkcs7 = { exports: {} };
|
|
15823
|
-
(function(module, exports) {
|
|
15824
|
-
(function(root,
|
|
15937
|
+
(function(module, exports$1) {
|
|
15938
|
+
(function(root, factory2, undef) {
|
|
15825
15939
|
{
|
|
15826
|
-
module.exports =
|
|
15940
|
+
module.exports = factory2(requireCore(), requireCipherCore());
|
|
15827
15941
|
}
|
|
15828
15942
|
})(commonjsGlobal, function(CryptoJS) {
|
|
15829
15943
|
return CryptoJS.pad.Pkcs7;
|
|
@@ -15832,10 +15946,10 @@ var padPkcs7 = { exports: {} };
|
|
|
15832
15946
|
var padPkcs7Exports = padPkcs7.exports;
|
|
15833
15947
|
const Pkcs7 = /* @__PURE__ */ getDefaultExportFromCjs(padPkcs7Exports);
|
|
15834
15948
|
var encUtf8 = { exports: {} };
|
|
15835
|
-
(function(module, exports) {
|
|
15836
|
-
(function(root,
|
|
15949
|
+
(function(module, exports$1) {
|
|
15950
|
+
(function(root, factory2) {
|
|
15837
15951
|
{
|
|
15838
|
-
module.exports =
|
|
15952
|
+
module.exports = factory2(requireCore());
|
|
15839
15953
|
}
|
|
15840
15954
|
})(commonjsGlobal, function(CryptoJS) {
|
|
15841
15955
|
return CryptoJS.enc.Utf8;
|
|
@@ -16317,7 +16431,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
16317
16431
|
return (_ctx, _cache) => {
|
|
16318
16432
|
return openBlock(), createBlock(GLink, {
|
|
16319
16433
|
variant: "text",
|
|
16320
|
-
class: normalizeClass(["g-toolbar-docs",
|
|
16434
|
+
class: normalizeClass(["g-toolbar-docs", __props.whiteColor ? "white" : "black"]),
|
|
16321
16435
|
href: "https://docs.gitcode.com/docs/help/home/ai-community/",
|
|
16322
16436
|
target: "_blank"
|
|
16323
16437
|
}, {
|
|
@@ -16802,9 +16916,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16802
16916
|
name: accountInfo.value.nickname,
|
|
16803
16917
|
src: accountInfo.value.avatar
|
|
16804
16918
|
}, null, 8, ["name", "src"]),
|
|
16805
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$g, _cache[4] || (_cache[4] = [
|
|
16919
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$g, [..._cache[4] || (_cache[4] = [
|
|
16806
16920
|
createElementVNode("div", null, null, -1)
|
|
16807
|
-
]))) : createCommentVNode("", true)
|
|
16921
|
+
])])) : createCommentVNode("", true)
|
|
16808
16922
|
])
|
|
16809
16923
|
])) : (openBlock(), createBlock(unref(Dropdown), {
|
|
16810
16924
|
key: 1,
|
|
@@ -16832,9 +16946,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16832
16946
|
name: accountInfo.value.nickname,
|
|
16833
16947
|
src: accountInfo.value.avatar
|
|
16834
16948
|
}, null, 8, ["name", "src"]),
|
|
16835
|
-
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$a, _cache[5] || (_cache[5] = [
|
|
16949
|
+
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$a, [..._cache[5] || (_cache[5] = [
|
|
16836
16950
|
createElementVNode("div", null, null, -1)
|
|
16837
|
-
]))) : createCommentVNode("", true)
|
|
16951
|
+
])])) : createCommentVNode("", true)
|
|
16838
16952
|
])
|
|
16839
16953
|
]),
|
|
16840
16954
|
_: 1
|
|
@@ -16981,13 +17095,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16981
17095
|
var _a;
|
|
16982
17096
|
const layoutConfig2 = useLayoutConfig();
|
|
16983
17097
|
const { t: $t } = i18n.global;
|
|
16984
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
16985
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
16986
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
16987
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
16988
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
16989
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
16990
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17098
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BiVlYUvU.js"));
|
|
17099
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-C93v1HCj.js"));
|
|
17100
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CYbxO53m.js"));
|
|
17101
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BDzp2qOk.js"));
|
|
17102
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DZK2-jED.js"));
|
|
17103
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-Dzpz56Q7.js"));
|
|
17104
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-XVMGN5hX.js"));
|
|
16991
17105
|
const props = __props;
|
|
16992
17106
|
const repoInfo = inject("repoInfo");
|
|
16993
17107
|
const orgInfo = inject("orgInfo");
|
|
@@ -17443,9 +17557,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17443
17557
|
});
|
|
17444
17558
|
return (_ctx, _cache) => {
|
|
17445
17559
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
17446
|
-
!
|
|
17560
|
+
!__props.inAIHub ? (openBlock(), createElementBlock("div", {
|
|
17447
17561
|
key: 0,
|
|
17448
|
-
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(
|
|
17562
|
+
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(__props.isShowStickyNotice) ? "focusSearch-sticky-notice" : ""]),
|
|
17449
17563
|
onClick: _cache[6] || (_cache[6] = withModifiers(() => {
|
|
17450
17564
|
}, ["stop"]))
|
|
17451
17565
|
}, [
|
|
@@ -17458,7 +17572,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17458
17572
|
createVNode(unref(Dropdown), {
|
|
17459
17573
|
align: "start",
|
|
17460
17574
|
position: ["bottom", "bottom-start"],
|
|
17461
|
-
"overlay-class":
|
|
17575
|
+
"overlay-class": __props.isShowStickyNotice ? "history-box-sticky-notice history-box" : "history-box",
|
|
17462
17576
|
trigger: "manually",
|
|
17463
17577
|
visible: dropDownVisible.value,
|
|
17464
17578
|
"close-scope": "none",
|
|
@@ -17613,7 +17727,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17613
17727
|
_: 3
|
|
17614
17728
|
}, 8, ["overlay-class", "visible"])
|
|
17615
17729
|
], 2)) : createCommentVNode("", true),
|
|
17616
|
-
|
|
17730
|
+
__props.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
|
|
17617
17731
|
createVNode(unref(Input), {
|
|
17618
17732
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
17619
17733
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
@@ -17641,7 +17755,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17641
17755
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17642
17756
|
}
|
|
17643
17757
|
};
|
|
17644
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17758
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-DGmmTvcV.js"));
|
|
17645
17759
|
function clearNotice() {
|
|
17646
17760
|
if (localStorage$2.getItem("validator_email")) {
|
|
17647
17761
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18045,7 +18159,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18045
18159
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
18046
18160
|
}, [
|
|
18047
18161
|
createElementVNode("div", {
|
|
18048
|
-
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" : "",
|
|
18162
|
+
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" : ""]]),
|
|
18049
18163
|
ref_key: "headerRef",
|
|
18050
18164
|
ref: headerRef,
|
|
18051
18165
|
style: normalizeStyle(detailBgStyle.value)
|
|
@@ -18082,12 +18196,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18082
18196
|
class: "cursor-pointer hover:!text-[var(--theme-stress-text)] g-toolbar-left-asideicon",
|
|
18083
18197
|
color: "var(--theme-aide-text)"
|
|
18084
18198
|
})) : createCommentVNode("", true),
|
|
18085
|
-
showNameAndIcon.value &&
|
|
18199
|
+
showNameAndIcon.value && __props.independence || inAIHub.value ? (openBlock(), createBlock(GLink, {
|
|
18086
18200
|
key: 1,
|
|
18087
18201
|
class: normalizeClass(["g-toolbar-left-logo", [unref(currentTheme), inAIHub.value ? "ai-logo" : ""]]),
|
|
18088
18202
|
href: inAIHub.value ? `${unref(layoutConfig2).VITE_AI_HOST}` : `${unref(layoutConfig2).VITE_HOST}?p=seo`
|
|
18089
18203
|
}, null, 8, ["class", "href"])) : createCommentVNode("", true),
|
|
18090
|
-
showNameAndIcon.value && !
|
|
18204
|
+
showNameAndIcon.value && !__props.independence ? (openBlock(), createBlock(GLink, {
|
|
18091
18205
|
key: 2,
|
|
18092
18206
|
class: normalizeClass(["g-toolbar-left-logo", [unref(currentTheme), inAIHub.value ? "ai-logo" : ""]]),
|
|
18093
18207
|
to: { name: "home" }
|
|
@@ -18099,12 +18213,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18099
18213
|
}, [
|
|
18100
18214
|
_ctx.$slots.headerCustom ? renderSlot(_ctx.$slots, "headerCustom", { key: 0 }, void 0, true) : isModuleVisible(unref(HeaderDisplayItem).CUSTOM_CONTENT) && !showNameAndIcon.value ? (openBlock(), createBlock(HeaderCustom, {
|
|
18101
18215
|
key: 1,
|
|
18102
|
-
scene:
|
|
18103
|
-
isLogin:
|
|
18104
|
-
errorCode: (_a2 =
|
|
18105
|
-
orgProps: (_b =
|
|
18106
|
-
repoProps: (_c =
|
|
18107
|
-
userProps: (_d =
|
|
18216
|
+
scene: __props.sceneValue,
|
|
18217
|
+
isLogin: __props.isLogin,
|
|
18218
|
+
errorCode: (_a2 = __props.headerCustomProps) == null ? void 0 : _a2.errorCode,
|
|
18219
|
+
orgProps: (_b = __props.headerCustomProps) == null ? void 0 : _b.orgProps,
|
|
18220
|
+
repoProps: (_c = __props.headerCustomProps) == null ? void 0 : _c.repoProps,
|
|
18221
|
+
userProps: (_d = __props.headerCustomProps) == null ? void 0 : _d.userProps,
|
|
18108
18222
|
onFollowDevCommunity: _cache[1] || (_cache[1] = ($event) => emit("followDevCommunity", $event)),
|
|
18109
18223
|
onFollowUser: _cache[2] || (_cache[2] = ($event) => emit("followUser"))
|
|
18110
18224
|
}, {
|
|
@@ -18123,7 +18237,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18123
18237
|
(openBlock(), createBlock(Search, {
|
|
18124
18238
|
inAIHub: inAIHub.value,
|
|
18125
18239
|
key: _ctx.$route.fullPath,
|
|
18126
|
-
sceneValue:
|
|
18240
|
+
sceneValue: __props.sceneValue,
|
|
18127
18241
|
isShowStickyNotice: isShowStickyNoticeByClose.value
|
|
18128
18242
|
}, {
|
|
18129
18243
|
searchRecommend: withCtx(() => [
|
|
@@ -18143,7 +18257,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18143
18257
|
createVNode(ClaimPower, { config: claimPowerConfig.value }, null, 8, ["config"]),
|
|
18144
18258
|
isModuleVisible(unref(HeaderDisplayItem).DEEPSEEK_BUTTON) ? (openBlock(), createBlock(ChatBot, { key: 0 })) : createCommentVNode("", true)
|
|
18145
18259
|
]),
|
|
18146
|
-
!
|
|
18260
|
+
!__props.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18147
18261
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
18148
18262
|
unref(isMobile) ? (openBlock(), createElementBlock("section", {
|
|
18149
18263
|
key: 0,
|
|
@@ -18185,10 +18299,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18185
18299
|
isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
|
|
18186
18300
|
key: 3,
|
|
18187
18301
|
isChatBot: isChatBot.value,
|
|
18188
|
-
loginOutFinish:
|
|
18302
|
+
loginOutFinish: __props.loginOutFinish,
|
|
18189
18303
|
inAIHub: inAIHub.value,
|
|
18190
|
-
independence:
|
|
18191
|
-
userMenus:
|
|
18304
|
+
independence: __props.independence,
|
|
18305
|
+
userMenus: __props.userMenus
|
|
18192
18306
|
}, null, 8, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
|
|
18193
18307
|
], 64))
|
|
18194
18308
|
], 2)
|
|
@@ -18395,9 +18509,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18395
18509
|
const layoutConfig2 = useLayoutConfig();
|
|
18396
18510
|
const { t: t2 } = i18n.global;
|
|
18397
18511
|
const route = useRoute();
|
|
18398
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18399
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18400
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18512
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-BzfsHOS8.js"));
|
|
18513
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-Cuer5wbZ.js"));
|
|
18514
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DNJhKWy9.js"));
|
|
18401
18515
|
const props = __props;
|
|
18402
18516
|
console.log("slotKeys", props.slotKeys);
|
|
18403
18517
|
console.log("props", props);
|
|
@@ -18564,9 +18678,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18564
18678
|
(openBlock(true), createElementBlock(Fragment, null, renderList(filterList.value, (item) => {
|
|
18565
18679
|
return openBlock(), createBlock(resolveDynamicComponent(renderComponent(item)), mergeProps({
|
|
18566
18680
|
key: item.id,
|
|
18567
|
-
isLogin:
|
|
18681
|
+
isLogin: __props.isLogin,
|
|
18568
18682
|
item,
|
|
18569
|
-
slotKeys:
|
|
18683
|
+
slotKeys: __props.slotKeys
|
|
18570
18684
|
}, { ref_for: true }, getProps(item)), createSlots({ _: 2 }, [
|
|
18571
18685
|
renderList(mainSiteSlotKeys.value, (key) => {
|
|
18572
18686
|
return {
|
|
@@ -18588,9 +18702,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18588
18702
|
}, {
|
|
18589
18703
|
default: withCtx(() => [
|
|
18590
18704
|
(openBlock(), createBlock(resolveDynamicComponent(LayoutSlotComponent(key)), mergeProps({ ref_for: true }, getProps(item), {
|
|
18591
|
-
slotKeys:
|
|
18705
|
+
slotKeys: __props.slotKeys,
|
|
18592
18706
|
item,
|
|
18593
|
-
isLogin:
|
|
18707
|
+
isLogin: __props.isLogin
|
|
18594
18708
|
}), null, 16, ["slotKeys", "item", "isLogin"]))
|
|
18595
18709
|
]),
|
|
18596
18710
|
_: 2
|
|
@@ -18610,7 +18724,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18610
18724
|
});
|
|
18611
18725
|
const Area = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18612
18726
|
function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
18613
|
-
const
|
|
18727
|
+
const allCookies = api.get();
|
|
18728
|
+
const storedValue = allCookies[key] || localStorage.getItem(key);
|
|
18614
18729
|
const initialValue = storedValue || defaultValue;
|
|
18615
18730
|
const value = ref(initialValue);
|
|
18616
18731
|
if (!storedValue) {
|
|
@@ -18621,6 +18736,7 @@ function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
|
18621
18736
|
(newValue) => {
|
|
18622
18737
|
if (newValue) {
|
|
18623
18738
|
api.set(key, newValue, options);
|
|
18739
|
+
localStorage.setItem(key, newValue);
|
|
18624
18740
|
} else {
|
|
18625
18741
|
api.remove(key, { domain: COOKIE_DOMAIN });
|
|
18626
18742
|
}
|
|
@@ -18748,17 +18864,17 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18748
18864
|
withDirectives(createElementVNode("div", _hoisted_2$a, [
|
|
18749
18865
|
createVNode(_sfc_main$k)
|
|
18750
18866
|
], 512), [
|
|
18751
|
-
[vShow,
|
|
18867
|
+
[vShow, __props.showThemeSetting]
|
|
18752
18868
|
]),
|
|
18753
18869
|
withDirectives(createElementVNode("div", _hoisted_3$8, [
|
|
18754
18870
|
createVNode(_sfc_main$l)
|
|
18755
18871
|
], 512), [
|
|
18756
|
-
[vShow,
|
|
18872
|
+
[vShow, __props.showLangSetting]
|
|
18757
18873
|
])
|
|
18758
18874
|
]),
|
|
18759
18875
|
default: withCtx(() => [
|
|
18760
18876
|
createElementVNode("div", {
|
|
18761
|
-
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little":
|
|
18877
|
+
class: normalizeClass(["aside-footer-tools-item", { "aside-footer-tools-item-little": __props.asideSetShowLittle }])
|
|
18762
18878
|
}, [
|
|
18763
18879
|
createVNode(GIcon, {
|
|
18764
18880
|
name: "gt-line-setting",
|
|
@@ -19057,11 +19173,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19057
19173
|
});
|
|
19058
19174
|
return (_ctx, _cache) => {
|
|
19059
19175
|
return openBlock(), createBlock(unref(Aside), {
|
|
19060
|
-
class: normalizeClass(["config-aside-content", { "side-bar-content-shot":
|
|
19176
|
+
class: normalizeClass(["config-aside-content", { "side-bar-content-shot": __props.asideSetShowLittle }])
|
|
19061
19177
|
}, {
|
|
19062
19178
|
default: withCtx(() => [
|
|
19063
19179
|
createElementVNode("div", {
|
|
19064
|
-
class: normalizeClass(["config-aside__content", { "side-bar-content-shot":
|
|
19180
|
+
class: normalizeClass(["config-aside__content", { "side-bar-content-shot": __props.asideSetShowLittle, "shot-isCh": !unref(isEn) }])
|
|
19065
19181
|
}, [
|
|
19066
19182
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
19067
19183
|
createElementVNode("div", {
|
|
@@ -19081,10 +19197,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19081
19197
|
}, [
|
|
19082
19198
|
createVNode(Area, {
|
|
19083
19199
|
list: getAreaItem(item),
|
|
19084
|
-
isLogin:
|
|
19200
|
+
isLogin: __props.isLogin,
|
|
19085
19201
|
slotKeys: layoutSlotKeys.value,
|
|
19086
|
-
sceneValue:
|
|
19087
|
-
asideSetShowLittle:
|
|
19202
|
+
sceneValue: __props.sceneValue,
|
|
19203
|
+
asideSetShowLittle: __props.asideSetShowLittle
|
|
19088
19204
|
}, createSlots({ _: 2 }, [
|
|
19089
19205
|
renderList(layoutSlotKeys.value, (key) => {
|
|
19090
19206
|
return {
|
|
@@ -19095,24 +19211,24 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19095
19211
|
};
|
|
19096
19212
|
})
|
|
19097
19213
|
]), 1032, ["list", "isLogin", "slotKeys", "sceneValue", "asideSetShowLittle"]),
|
|
19098
|
-
!
|
|
19214
|
+
!__props.asideSetShowLittle && index2 !== displayArea.value.length - 1 ? (openBlock(), createElementBlock("hr", _hoisted_4$6)) : createCommentVNode("", true)
|
|
19099
19215
|
], 64);
|
|
19100
19216
|
}), 128)),
|
|
19101
|
-
!
|
|
19217
|
+
!__props.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).LINK) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
19102
19218
|
_cache[0] || (_cache[0] = createElementVNode("hr", { class: "line mt-[16px] mb-[16px]" }, null, -1)),
|
|
19103
19219
|
createVNode(SubMenuList)
|
|
19104
19220
|
], 64)) : createCommentVNode("", true)
|
|
19105
19221
|
])),
|
|
19106
|
-
!
|
|
19222
|
+
!__props.asideSetShowLittle && isModuleVisible(unref(AsideDisplayItem).SITE_INFO) ? (openBlock(), createBlock(ContactInfo, { key: 2 })) : createCommentVNode("", true)
|
|
19107
19223
|
], 34),
|
|
19108
19224
|
showPreferencesSetting.value ? (openBlock(), createElementBlock("div", {
|
|
19109
19225
|
key: 0,
|
|
19110
|
-
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little":
|
|
19226
|
+
class: normalizeClass(["aside-footer-tools", { "aside-footer-tools-little": __props.asideSetShowLittle }])
|
|
19111
19227
|
}, [
|
|
19112
19228
|
createVNode(_sfc_main$j, {
|
|
19113
|
-
"show-lang-setting":
|
|
19114
|
-
"show-theme-setting":
|
|
19115
|
-
asideSetShowLittle:
|
|
19229
|
+
"show-lang-setting": __props.showLangSetting,
|
|
19230
|
+
"show-theme-setting": __props.showThemeSetting,
|
|
19231
|
+
asideSetShowLittle: __props.asideSetShowLittle
|
|
19116
19232
|
}, null, 8, ["show-lang-setting", "show-theme-setting", "asideSetShowLittle"])
|
|
19117
19233
|
], 2)) : createCommentVNode("", true)
|
|
19118
19234
|
])), [
|
|
@@ -19244,19 +19360,19 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19244
19360
|
key: 0,
|
|
19245
19361
|
class: normalizeClass(["left-side-bar", { oldWhite: asideSetShowLittleMode.value }]),
|
|
19246
19362
|
style: normalizeStyle({ width: mainMarginLeftWidth.value + "px" }),
|
|
19247
|
-
sceneValue:
|
|
19363
|
+
sceneValue: __props.sceneValue,
|
|
19248
19364
|
asideDefaultWidth: mainMarginLeftWidth.value,
|
|
19249
19365
|
asideSetShowLittle: asideSetShowLittleMode.value,
|
|
19250
|
-
isLogin:
|
|
19251
|
-
showPreferencesSetting:
|
|
19252
|
-
showThemeSetting:
|
|
19253
|
-
showLangSetting:
|
|
19254
|
-
independence:
|
|
19255
|
-
slotKeys:
|
|
19256
|
-
collapseMode:
|
|
19257
|
-
disableFlatMode:
|
|
19366
|
+
isLogin: __props.isLogin,
|
|
19367
|
+
showPreferencesSetting: __props.showPreferencesSetting,
|
|
19368
|
+
showThemeSetting: __props.showThemeSetting,
|
|
19369
|
+
showLangSetting: __props.showLangSetting,
|
|
19370
|
+
independence: __props.independence,
|
|
19371
|
+
slotKeys: __props.slotKeys,
|
|
19372
|
+
collapseMode: __props.collapseMode,
|
|
19373
|
+
disableFlatMode: __props.disableFlatMode
|
|
19258
19374
|
}, createSlots({ _: 2 }, [
|
|
19259
|
-
renderList(
|
|
19375
|
+
renderList(__props.slotKeys, (key) => {
|
|
19260
19376
|
return {
|
|
19261
19377
|
name: key,
|
|
19262
19378
|
fn: withCtx(() => [
|
|
@@ -19277,8 +19393,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19277
19393
|
createElementVNode("div", _hoisted_1$d, [
|
|
19278
19394
|
createVNode(GLink, {
|
|
19279
19395
|
class: normalizeClass(["g-toolbar-left-logo", unref(currentTheme)]),
|
|
19280
|
-
to:
|
|
19281
|
-
href:
|
|
19396
|
+
to: __props.independence ? "" : { name: "home" },
|
|
19397
|
+
href: __props.independence ? unref(layoutConfig2).VITE_HOST : ""
|
|
19282
19398
|
}, null, 8, ["class", "to", "href"]),
|
|
19283
19399
|
createVNode(unref(Button), {
|
|
19284
19400
|
class: "cursor-pointer draw-side-bar-close",
|
|
@@ -19288,14 +19404,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19288
19404
|
})
|
|
19289
19405
|
]),
|
|
19290
19406
|
createVNode(ConfigAideContent, mergeProps(props, {
|
|
19291
|
-
sceneValue:
|
|
19407
|
+
sceneValue: __props.sceneValue,
|
|
19292
19408
|
asideDefaultWidth: 240,
|
|
19293
|
-
isLogin:
|
|
19294
|
-
showPreferencesSetting:
|
|
19295
|
-
showThemeSetting:
|
|
19296
|
-
showLangSetting:
|
|
19297
|
-
independence:
|
|
19298
|
-
slotKeys:
|
|
19409
|
+
isLogin: __props.isLogin,
|
|
19410
|
+
showPreferencesSetting: __props.showPreferencesSetting,
|
|
19411
|
+
showThemeSetting: __props.showThemeSetting,
|
|
19412
|
+
showLangSetting: __props.showLangSetting,
|
|
19413
|
+
independence: __props.independence,
|
|
19414
|
+
slotKeys: __props.slotKeys
|
|
19299
19415
|
}), null, 16, ["sceneValue", "isLogin", "showPreferencesSetting", "showThemeSetting", "showLangSetting", "independence", "slotKeys"])
|
|
19300
19416
|
]),
|
|
19301
19417
|
_: 1
|
|
@@ -19915,12 +20031,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
19915
20031
|
slotKeys: ["home", "issues"],
|
|
19916
20032
|
collapseMode: sceneSelected.value == unref(SceneValue).repo
|
|
19917
20033
|
}, {
|
|
19918
|
-
home: withCtx(() => _cache[2] || (_cache[2] = [
|
|
20034
|
+
home: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
19919
20035
|
createElementVNode("div", null, "首页hover-插槽", -1)
|
|
19920
|
-
])),
|
|
19921
|
-
issues: withCtx(() => _cache[3] || (_cache[3] = [
|
|
20036
|
+
])]),
|
|
20037
|
+
issues: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
19922
20038
|
createElementVNode("div", null, "issues hover-插槽", -1)
|
|
19923
|
-
])),
|
|
20039
|
+
])]),
|
|
19924
20040
|
_: 1
|
|
19925
20041
|
}, 8, ["sceneValue", "userInfo", "isLogin", "request", "globalStore", "independence", "collapseMode"])
|
|
19926
20042
|
]),
|
|
@@ -19959,21 +20075,19 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
19959
20075
|
key: "是",
|
|
19960
20076
|
value: true
|
|
19961
20077
|
}, {
|
|
19962
|
-
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
20078
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
19963
20079
|
createTextVNode("是", -1)
|
|
19964
|
-
])),
|
|
19965
|
-
_: 1
|
|
19966
|
-
__: [4]
|
|
20080
|
+
])]),
|
|
20081
|
+
_: 1
|
|
19967
20082
|
})),
|
|
19968
20083
|
(openBlock(), createBlock(unref(Radio), {
|
|
19969
20084
|
key: "否",
|
|
19970
20085
|
value: false
|
|
19971
20086
|
}, {
|
|
19972
|
-
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
20087
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
19973
20088
|
createTextVNode("否", -1)
|
|
19974
|
-
])),
|
|
19975
|
-
_: 1
|
|
19976
|
-
__: [5]
|
|
20089
|
+
])]),
|
|
20090
|
+
_: 1
|
|
19977
20091
|
}))
|
|
19978
20092
|
]),
|
|
19979
20093
|
_: 1
|
|
@@ -20778,13 +20892,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
20778
20892
|
});
|
|
20779
20893
|
return (_ctx, _cache) => {
|
|
20780
20894
|
return openBlock(), createElementBlock("div", {
|
|
20781
|
-
class: normalizeClass(["flex flex-1 g-input-button", [inputBtnClassName.value,
|
|
20895
|
+
class: normalizeClass(["flex flex-1 g-input-button", [inputBtnClassName.value, __props.error ? "g-input-button-error" : ""]])
|
|
20782
20896
|
}, [
|
|
20783
20897
|
createVNode(unref(Input), {
|
|
20784
20898
|
modelValue: unref(vModels),
|
|
20785
20899
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
20786
|
-
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label:
|
|
20787
|
-
autocomplete:
|
|
20900
|
+
placeholder: unref($t)("gitCodeLayout.LoginModal.rule.pleaseFill", { label: __props.placeholder }),
|
|
20901
|
+
autocomplete: __props.autocomplete,
|
|
20788
20902
|
onChange: handleChange,
|
|
20789
20903
|
onFocus: handleInputFocus,
|
|
20790
20904
|
onBlur: handleInputBlur
|
|
@@ -20794,7 +20908,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
20794
20908
|
onClick: withModifiers(handleClick, ["stop"]),
|
|
20795
20909
|
class: normalizeClass([
|
|
20796
20910
|
"g-input-button-append",
|
|
20797
|
-
DisabledBtn.value || !
|
|
20911
|
+
DisabledBtn.value || !__props.hasMobile ? "g-input-button-append-inactive" : "g-input-button-append-active"
|
|
20798
20912
|
])
|
|
20799
20913
|
}, [
|
|
20800
20914
|
createElementVNode("span", _hoisted_1$a, toDisplayString$1(BtnText.value), 1)
|
|
@@ -20941,8 +21055,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
20941
21055
|
key: 1,
|
|
20942
21056
|
modelValue: unref(vModels),
|
|
20943
21057
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(vModels) ? vModels.value = $event : null)
|
|
20944
|
-
},
|
|
20945
|
-
placeholder:
|
|
21058
|
+
}, __props.prop, {
|
|
21059
|
+
placeholder: __props.placeholder,
|
|
20946
21060
|
onChange: handleChange
|
|
20947
21061
|
}), {
|
|
20948
21062
|
prepend: withCtx(() => [
|
|
@@ -21194,23 +21308,23 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21194
21308
|
rules: GroupRules,
|
|
21195
21309
|
ref_key: "FormRef",
|
|
21196
21310
|
ref: FormRef,
|
|
21197
|
-
"show-feedback":
|
|
21198
|
-
disabled:
|
|
21199
|
-
"message-type":
|
|
21200
|
-
layout:
|
|
21201
|
-
size:
|
|
21202
|
-
"label-size":
|
|
21203
|
-
"label-align":
|
|
21311
|
+
"show-feedback": __props.showFeedback,
|
|
21312
|
+
disabled: __props.disabled,
|
|
21313
|
+
"message-type": __props.MessageType,
|
|
21314
|
+
layout: __props.layout,
|
|
21315
|
+
size: __props.size,
|
|
21316
|
+
"label-size": __props.labelSize,
|
|
21317
|
+
"label-align": __props.labelAlign,
|
|
21204
21318
|
class: "GForm",
|
|
21205
21319
|
onInput: handleFormInput,
|
|
21206
21320
|
requirePosition: "right"
|
|
21207
21321
|
}, {
|
|
21208
21322
|
default: withCtx(() => [
|
|
21209
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
21323
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.DataList, (formItem) => {
|
|
21210
21324
|
return openBlock(), createBlock(unref(FormItem), {
|
|
21211
21325
|
key: formItem.key,
|
|
21212
21326
|
field: formItem.key,
|
|
21213
|
-
label:
|
|
21327
|
+
label: __props.showLabel ? formItem.label : "",
|
|
21214
21328
|
"help-tips": formItem.help,
|
|
21215
21329
|
"extra-info": formItem.extra,
|
|
21216
21330
|
style: normalizeStyle({ width: getItemWidth.value(formItem) })
|
|
@@ -21239,12 +21353,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
21239
21353
|
}, { ref_for: true }, formItem.props, {
|
|
21240
21354
|
hasMobile: !!Data[(_b = formItem.props) == null ? void 0 : _b.aliasKey],
|
|
21241
21355
|
text: unref($t)("gitCodeLayout.userSetting.account.getVerificationCode"),
|
|
21242
|
-
error:
|
|
21356
|
+
error: __props.errors.msgError,
|
|
21243
21357
|
autocomplete: autocompleteCalc((_c = formItem.props) == null ? void 0 : _c.autocomplete)
|
|
21244
21358
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "onChange", "onClick", "onUpdate:countdown", "placeholder", "hasMobile", "text", "error", "autocomplete"])) : formItem.type === "inputSelect" ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
21245
21359
|
key: 2,
|
|
21246
21360
|
country: Data.country,
|
|
21247
|
-
class:
|
|
21361
|
+
class: __props.formErrors["mobile"] ? "input-select-error" : "",
|
|
21248
21362
|
modelValue: Data[formItem.key],
|
|
21249
21363
|
"onUpdate:modelValue": ($event) => Data[formItem.key] = $event,
|
|
21250
21364
|
onSelectChange: _cache[0] || (_cache[0] = (evt) => handleSelectChange("country", evt)),
|
|
@@ -21304,7 +21418,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
21304
21418
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
21305
21419
|
createElementVNode("div", _hoisted_2$5, toDisplayString$1(unref($t)("gitCodeLayout.LoginModal.subtitle.otherLogin")), 1),
|
|
21306
21420
|
createElementVNode("div", _hoisted_3$3, [
|
|
21307
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
21421
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.logos, (icon) => {
|
|
21308
21422
|
return openBlock(), createElementBlock("div", {
|
|
21309
21423
|
key: icon.alt,
|
|
21310
21424
|
class: "rounded-[50%] w-[40px] h-[40px] border-[1px] icon-wrap border-solid cursor-pointer otherInfo-icon"
|
|
@@ -21409,11 +21523,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
21409
21523
|
createElementVNode("a", {
|
|
21410
21524
|
class: "text-[var(--devui-link)] cursor-pointer mx-[1px] text-[12px]",
|
|
21411
21525
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleClick("agreement"), ["stop"]))
|
|
21412
|
-
}, toDisplayString$1(
|
|
21526
|
+
}, toDisplayString$1(__props.agreementText || unref($t)("gitCodeLayout.LoginModal.link.agreement")), 1),
|
|
21413
21527
|
createElementVNode("a", {
|
|
21414
21528
|
class: "text-[var(--devui-link)] cursor-pointer mx-[1px] text-[12px]",
|
|
21415
21529
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleClick("privacy"), ["stop"]))
|
|
21416
|
-
}, toDisplayString$1(
|
|
21530
|
+
}, toDisplayString$1(__props.privacyText || unref($t)("gitCodeLayout.LoginModal.link.privacyPolicy")), 1),
|
|
21417
21531
|
renderSlot(_ctx.$slots, "default")
|
|
21418
21532
|
]),
|
|
21419
21533
|
_: 3
|
|
@@ -21445,14 +21559,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
21445
21559
|
return (_ctx, _cache) => {
|
|
21446
21560
|
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
21447
21561
|
createElementVNode("div", _hoisted_2$3, [
|
|
21448
|
-
|
|
21562
|
+
__props.showBack ? (openBlock(), createElementBlock("img", {
|
|
21449
21563
|
key: 0,
|
|
21450
|
-
src:
|
|
21564
|
+
src: __props.icon,
|
|
21451
21565
|
class: "w-[24px] cursor-pointer",
|
|
21452
21566
|
onClick: withModifiers(handleClick, ["stop"])
|
|
21453
21567
|
}, null, 8, _hoisted_3$2)) : createCommentVNode("", true)
|
|
21454
21568
|
]),
|
|
21455
|
-
|
|
21569
|
+
__props.showTitle ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString$1(__props.title), 1)) : createCommentVNode("", true)
|
|
21456
21570
|
]);
|
|
21457
21571
|
};
|
|
21458
21572
|
}
|
|
@@ -21486,7 +21600,7 @@ const verifyCodeRegExp4 = /^\d{4}$/;
|
|
|
21486
21600
|
const verifyCodeRegExp6 = /^\d{6}$/;
|
|
21487
21601
|
const mobileRegExp = /^1[3-9]\d{9}$/;
|
|
21488
21602
|
const usernameRegExp = /^(?!-)[a-zA-Z][a-zA-Z0-9_-]{1,49}$/;
|
|
21489
|
-
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|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|[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-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", "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, "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|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-8]|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, 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]|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|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{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[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}|(?:[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}"]]] } };
|
|
21603
|
+
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}"]]] } };
|
|
21490
21604
|
function withMetadataArgument(func, _arguments) {
|
|
21491
21605
|
var args = Array.prototype.slice.call(_arguments);
|
|
21492
21606
|
args.push(metadata);
|
|
@@ -21514,32 +21628,39 @@ var objectConstructor = {}.constructor;
|
|
|
21514
21628
|
function isObject(object) {
|
|
21515
21629
|
return object !== void 0 && object !== null && object.constructor === objectConstructor;
|
|
21516
21630
|
}
|
|
21517
|
-
function _typeof$
|
|
21631
|
+
function _typeof$7(o) {
|
|
21518
21632
|
"@babel/helpers - typeof";
|
|
21519
|
-
return _typeof$
|
|
21520
|
-
return typeof
|
|
21521
|
-
} : function(
|
|
21522
|
-
return
|
|
21523
|
-
}, _typeof$
|
|
21633
|
+
return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
21634
|
+
return typeof o2;
|
|
21635
|
+
} : function(o2) {
|
|
21636
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
21637
|
+
}, _typeof$7(o);
|
|
21524
21638
|
}
|
|
21525
|
-
function _classCallCheck$2(
|
|
21526
|
-
if (!(
|
|
21527
|
-
throw new TypeError("Cannot call a class as a function");
|
|
21528
|
-
}
|
|
21639
|
+
function _classCallCheck$2(a, n) {
|
|
21640
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
21529
21641
|
}
|
|
21530
|
-
function _defineProperties$1(
|
|
21531
|
-
for (var
|
|
21532
|
-
var
|
|
21533
|
-
|
|
21534
|
-
descriptor.configurable = true;
|
|
21535
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
21536
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
21642
|
+
function _defineProperties$1(e, r) {
|
|
21643
|
+
for (var t2 = 0; t2 < r.length; t2++) {
|
|
21644
|
+
var o = r[t2];
|
|
21645
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$6(o.key), o);
|
|
21537
21646
|
}
|
|
21538
21647
|
}
|
|
21539
|
-
function _createClass$2(
|
|
21540
|
-
|
|
21541
|
-
|
|
21542
|
-
|
|
21648
|
+
function _createClass$2(e, r, t2) {
|
|
21649
|
+
return r && _defineProperties$1(e.prototype, r), Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
21650
|
+
}
|
|
21651
|
+
function _toPropertyKey$6(t2) {
|
|
21652
|
+
var i = _toPrimitive$6(t2, "string");
|
|
21653
|
+
return "symbol" == _typeof$7(i) ? i : i + "";
|
|
21654
|
+
}
|
|
21655
|
+
function _toPrimitive$6(t2, r) {
|
|
21656
|
+
if ("object" != _typeof$7(t2) || !t2) return t2;
|
|
21657
|
+
var e = t2[Symbol.toPrimitive];
|
|
21658
|
+
if (void 0 !== e) {
|
|
21659
|
+
var i = e.call(t2, r);
|
|
21660
|
+
if ("object" != _typeof$7(i)) return i;
|
|
21661
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
21662
|
+
}
|
|
21663
|
+
return String(t2);
|
|
21543
21664
|
}
|
|
21544
21665
|
var V3 = "1.2.0";
|
|
21545
21666
|
var V4 = "1.7.35";
|
|
@@ -21552,7 +21673,7 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
21552
21673
|
this.metadata = metadata2;
|
|
21553
21674
|
setVersion.call(this, metadata2);
|
|
21554
21675
|
}
|
|
21555
|
-
_createClass$2(Metadata2, [{
|
|
21676
|
+
return _createClass$2(Metadata2, [{
|
|
21556
21677
|
key: "getCountries",
|
|
21557
21678
|
value: function getCountries() {
|
|
21558
21679
|
return Object.keys(this.metadata.countries).filter(function(_) {
|
|
@@ -21757,7 +21878,6 @@ var Metadata = /* @__PURE__ */ function() {
|
|
|
21757
21878
|
return this.numberingPlan !== void 0;
|
|
21758
21879
|
}
|
|
21759
21880
|
}]);
|
|
21760
|
-
return Metadata2;
|
|
21761
21881
|
}();
|
|
21762
21882
|
var NumberingPlan = /* @__PURE__ */ function() {
|
|
21763
21883
|
function NumberingPlan2(metadata2, globalMetadataObject) {
|
|
@@ -21766,7 +21886,7 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
21766
21886
|
this.metadata = metadata2;
|
|
21767
21887
|
setVersion.call(this, globalMetadataObject.metadata);
|
|
21768
21888
|
}
|
|
21769
|
-
_createClass$2(NumberingPlan2, [{
|
|
21889
|
+
return _createClass$2(NumberingPlan2, [{
|
|
21770
21890
|
key: "callingCode",
|
|
21771
21891
|
value: function callingCode() {
|
|
21772
21892
|
return this.metadata[0];
|
|
@@ -21905,7 +22025,6 @@ var NumberingPlan = /* @__PURE__ */ function() {
|
|
|
21905
22025
|
return this.metadata[13] || DEFAULT_EXT_PREFIX;
|
|
21906
22026
|
}
|
|
21907
22027
|
}]);
|
|
21908
|
-
return NumberingPlan2;
|
|
21909
22028
|
}();
|
|
21910
22029
|
var Format = /* @__PURE__ */ function() {
|
|
21911
22030
|
function Format2(format2, metadata2) {
|
|
@@ -21913,7 +22032,7 @@ var Format = /* @__PURE__ */ function() {
|
|
|
21913
22032
|
this._format = format2;
|
|
21914
22033
|
this.metadata = metadata2;
|
|
21915
22034
|
}
|
|
21916
|
-
_createClass$2(Format2, [{
|
|
22035
|
+
return _createClass$2(Format2, [{
|
|
21917
22036
|
key: "pattern",
|
|
21918
22037
|
value: function pattern() {
|
|
21919
22038
|
return this._format[0];
|
|
@@ -21956,7 +22075,6 @@ var Format = /* @__PURE__ */ function() {
|
|
|
21956
22075
|
return this._format[5] || this.format();
|
|
21957
22076
|
}
|
|
21958
22077
|
}]);
|
|
21959
|
-
return Format2;
|
|
21960
22078
|
}();
|
|
21961
22079
|
var FIRST_GROUP_ONLY_PREFIX_PATTERN = /^\(?\$1\)?$/;
|
|
21962
22080
|
var Type = /* @__PURE__ */ function() {
|
|
@@ -21965,7 +22083,7 @@ var Type = /* @__PURE__ */ function() {
|
|
|
21965
22083
|
this.type = type;
|
|
21966
22084
|
this.metadata = metadata2;
|
|
21967
22085
|
}
|
|
21968
|
-
_createClass$2(Type2, [{
|
|
22086
|
+
return _createClass$2(Type2, [{
|
|
21969
22087
|
key: "pattern",
|
|
21970
22088
|
value: function pattern() {
|
|
21971
22089
|
if (this.metadata.v1) return this.type;
|
|
@@ -21978,7 +22096,6 @@ var Type = /* @__PURE__ */ function() {
|
|
|
21978
22096
|
return this.type[1] || this.metadata.possibleLengths();
|
|
21979
22097
|
}
|
|
21980
22098
|
}]);
|
|
21981
|
-
return Type2;
|
|
21982
22099
|
}();
|
|
21983
22100
|
function getType(types, type) {
|
|
21984
22101
|
switch (type) {
|
|
@@ -22013,12 +22130,12 @@ function validateMetadata(metadata2) {
|
|
|
22013
22130
|
}
|
|
22014
22131
|
}
|
|
22015
22132
|
var typeOf = function typeOf2(_) {
|
|
22016
|
-
return _typeof$
|
|
22133
|
+
return _typeof$7(_);
|
|
22017
22134
|
};
|
|
22018
22135
|
function getCountryCallingCode(country, metadata2) {
|
|
22019
22136
|
metadata2 = new Metadata(metadata2);
|
|
22020
22137
|
if (metadata2.hasCountry(country)) {
|
|
22021
|
-
return metadata2.
|
|
22138
|
+
return metadata2.selectNumberingPlan(country).countryCallingCode();
|
|
22022
22139
|
}
|
|
22023
22140
|
throw new Error("Unknown country: ".concat(country));
|
|
22024
22141
|
}
|
|
@@ -22044,10 +22161,14 @@ function setVersion(metadata2) {
|
|
|
22044
22161
|
}
|
|
22045
22162
|
}
|
|
22046
22163
|
}
|
|
22047
|
-
function checkNumberLength(nationalNumber, metadata2) {
|
|
22048
|
-
return checkNumberLengthForType(nationalNumber, void 0, metadata2);
|
|
22164
|
+
function checkNumberLength(nationalNumber, country, metadata2) {
|
|
22165
|
+
return checkNumberLengthForType(nationalNumber, country, void 0, metadata2);
|
|
22049
22166
|
}
|
|
22050
|
-
function checkNumberLengthForType(nationalNumber, type, metadata2) {
|
|
22167
|
+
function checkNumberLengthForType(nationalNumber, country, type, metadata2) {
|
|
22168
|
+
if (country) {
|
|
22169
|
+
metadata2 = new Metadata(metadata2.metadata);
|
|
22170
|
+
metadata2.selectNumberingPlan(country);
|
|
22171
|
+
}
|
|
22051
22172
|
var type_info = metadata2.type(type);
|
|
22052
22173
|
var possible_lengths = type_info && type_info.possibleLengths() || metadata2.possibleLengths();
|
|
22053
22174
|
if (!possible_lengths) {
|
|
@@ -22084,7 +22205,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
22084
22205
|
if (!metadata2.hasCountry(input.country)) {
|
|
22085
22206
|
throw new Error("Unknown country: ".concat(input.country));
|
|
22086
22207
|
}
|
|
22087
|
-
metadata2.
|
|
22208
|
+
metadata2.selectNumberingPlan(input.country);
|
|
22088
22209
|
} else {
|
|
22089
22210
|
if (!input.countryCallingCode) {
|
|
22090
22211
|
throw new Error("Invalid phone number object passed");
|
|
@@ -22093,7 +22214,7 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
22093
22214
|
}
|
|
22094
22215
|
}
|
|
22095
22216
|
if (metadata2.possibleLengths()) {
|
|
22096
|
-
return isPossibleNumber(input.phone || input.nationalNumber, metadata2);
|
|
22217
|
+
return isPossibleNumber(input.phone || input.nationalNumber, input.country, metadata2);
|
|
22097
22218
|
} else {
|
|
22098
22219
|
if (input.countryCallingCode && metadata2.isNonGeographicCallingCode(input.countryCallingCode)) {
|
|
22099
22220
|
return true;
|
|
@@ -22102,45 +22223,41 @@ function isPossiblePhoneNumber$2(input, options, metadata2) {
|
|
|
22102
22223
|
}
|
|
22103
22224
|
}
|
|
22104
22225
|
}
|
|
22105
|
-
function isPossibleNumber(nationalNumber, metadata2) {
|
|
22106
|
-
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
22226
|
+
function isPossibleNumber(nationalNumber, country, metadata2) {
|
|
22227
|
+
switch (checkNumberLength(nationalNumber, country, metadata2)) {
|
|
22107
22228
|
case "IS_POSSIBLE":
|
|
22108
22229
|
return true;
|
|
22109
22230
|
default:
|
|
22110
22231
|
return false;
|
|
22111
22232
|
}
|
|
22112
22233
|
}
|
|
22113
|
-
function matchesEntirely(text2,
|
|
22234
|
+
function matchesEntirely(text2, regularExpressionText) {
|
|
22114
22235
|
text2 = text2 || "";
|
|
22115
|
-
return new RegExp("^(?:" +
|
|
22116
|
-
}
|
|
22117
|
-
function _createForOfIteratorHelperLoose$
|
|
22118
|
-
var
|
|
22119
|
-
if (
|
|
22120
|
-
if (Array.isArray(
|
|
22121
|
-
|
|
22122
|
-
var
|
|
22236
|
+
return new RegExp("^(?:" + regularExpressionText + ")$").test(text2);
|
|
22237
|
+
}
|
|
22238
|
+
function _createForOfIteratorHelperLoose$2(r, e) {
|
|
22239
|
+
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
22240
|
+
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
22241
|
+
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$3(r)) || e) {
|
|
22242
|
+
t2 && (r = t2);
|
|
22243
|
+
var o = 0;
|
|
22123
22244
|
return function() {
|
|
22124
|
-
|
|
22125
|
-
return { done: false, value: o[i++] };
|
|
22245
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
22126
22246
|
};
|
|
22127
22247
|
}
|
|
22128
22248
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22129
22249
|
}
|
|
22130
|
-
function _unsupportedIterableToArray$
|
|
22131
|
-
if (
|
|
22132
|
-
|
|
22133
|
-
|
|
22134
|
-
|
|
22135
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
22136
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$4(o, minLen);
|
|
22137
|
-
}
|
|
22138
|
-
function _arrayLikeToArray$4(arr, len) {
|
|
22139
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
22140
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
22141
|
-
arr2[i] = arr[i];
|
|
22250
|
+
function _unsupportedIterableToArray$3(r, a) {
|
|
22251
|
+
if (r) {
|
|
22252
|
+
if ("string" == typeof r) return _arrayLikeToArray$3(r, a);
|
|
22253
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
22254
|
+
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;
|
|
22142
22255
|
}
|
|
22143
|
-
|
|
22256
|
+
}
|
|
22257
|
+
function _arrayLikeToArray$3(r, a) {
|
|
22258
|
+
(null == a || a > r.length) && (a = r.length);
|
|
22259
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
22260
|
+
return n;
|
|
22144
22261
|
}
|
|
22145
22262
|
var NON_FIXED_LINE_PHONE_TYPES = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
22146
22263
|
function getNumberType(input, options, metadata2) {
|
|
@@ -22166,7 +22283,7 @@ function getNumberType(input, options, metadata2) {
|
|
|
22166
22283
|
}
|
|
22167
22284
|
return "FIXED_LINE";
|
|
22168
22285
|
}
|
|
22169
|
-
for (var _iterator = _createForOfIteratorHelperLoose$
|
|
22286
|
+
for (var _iterator = _createForOfIteratorHelperLoose$2(NON_FIXED_LINE_PHONE_TYPES), _step; !(_step = _iterator()).done; ) {
|
|
22170
22287
|
var type = _step.value;
|
|
22171
22288
|
if (isNumberTypeEqualTo(nationalNumber, type, metadata2)) {
|
|
22172
22289
|
return type;
|
|
@@ -22285,7 +22402,63 @@ function extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2) {
|
|
|
22285
22402
|
nationalNumber: number2
|
|
22286
22403
|
};
|
|
22287
22404
|
}
|
|
22288
|
-
function
|
|
22405
|
+
function _createForOfIteratorHelperLoose$1(r, e) {
|
|
22406
|
+
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
22407
|
+
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
22408
|
+
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$2(r)) || e) {
|
|
22409
|
+
t2 && (r = t2);
|
|
22410
|
+
var o = 0;
|
|
22411
|
+
return function() {
|
|
22412
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
22413
|
+
};
|
|
22414
|
+
}
|
|
22415
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22416
|
+
}
|
|
22417
|
+
function _unsupportedIterableToArray$2(r, a) {
|
|
22418
|
+
if (r) {
|
|
22419
|
+
if ("string" == typeof r) return _arrayLikeToArray$2(r, a);
|
|
22420
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
22421
|
+
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;
|
|
22422
|
+
}
|
|
22423
|
+
}
|
|
22424
|
+
function _arrayLikeToArray$2(r, a) {
|
|
22425
|
+
(null == a || a > r.length) && (a = r.length);
|
|
22426
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
22427
|
+
return n;
|
|
22428
|
+
}
|
|
22429
|
+
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
22430
|
+
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
22431
|
+
metadata2 = new Metadata(metadata2);
|
|
22432
|
+
for (var _iterator = _createForOfIteratorHelperLoose$1(countries), _step; !(_step = _iterator()).done; ) {
|
|
22433
|
+
var country = _step.value;
|
|
22434
|
+
metadata2.selectNumberingPlan(country);
|
|
22435
|
+
if (metadata2.leadingDigits()) {
|
|
22436
|
+
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
22437
|
+
return country;
|
|
22438
|
+
}
|
|
22439
|
+
} else if (getNumberType({
|
|
22440
|
+
phone: nationalPhoneNumber,
|
|
22441
|
+
country
|
|
22442
|
+
}, void 0, metadata2.metadata)) {
|
|
22443
|
+
return country;
|
|
22444
|
+
}
|
|
22445
|
+
}
|
|
22446
|
+
}
|
|
22447
|
+
function getCountryByCallingCode(callingCode, _ref) {
|
|
22448
|
+
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
22449
|
+
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
22450
|
+
if (!possibleCountries) {
|
|
22451
|
+
return;
|
|
22452
|
+
}
|
|
22453
|
+
if (possibleCountries.length === 1) {
|
|
22454
|
+
return possibleCountries[0];
|
|
22455
|
+
}
|
|
22456
|
+
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
22457
|
+
countries: possibleCountries,
|
|
22458
|
+
metadata: metadata2.metadata
|
|
22459
|
+
});
|
|
22460
|
+
}
|
|
22461
|
+
function extractNationalNumber(number2, country, metadata2) {
|
|
22289
22462
|
var _extractNationalNumbe = extractNationalNumberFromPossiblyIncompleteNumber(number2, metadata2), carrierCode = _extractNationalNumbe.carrierCode, nationalNumber = _extractNationalNumbe.nationalNumber;
|
|
22290
22463
|
if (nationalNumber !== number2) {
|
|
22291
22464
|
if (!shouldHaveExtractedNationalPrefix(number2, nationalNumber, metadata2)) {
|
|
@@ -22293,8 +22466,14 @@ function extractNationalNumber(number2, metadata2) {
|
|
|
22293
22466
|
nationalNumber: number2
|
|
22294
22467
|
};
|
|
22295
22468
|
}
|
|
22296
|
-
if (metadata2.possibleLengths()) {
|
|
22297
|
-
if (!
|
|
22469
|
+
if (metadata2.numberingPlan.possibleLengths()) {
|
|
22470
|
+
if (!country) {
|
|
22471
|
+
country = getCountryByCallingCode(metadata2.numberingPlan.callingCode(), {
|
|
22472
|
+
nationalNumber,
|
|
22473
|
+
metadata: metadata2
|
|
22474
|
+
});
|
|
22475
|
+
}
|
|
22476
|
+
if (!isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2)) {
|
|
22298
22477
|
return {
|
|
22299
22478
|
nationalNumber: number2
|
|
22300
22479
|
};
|
|
@@ -22312,8 +22491,8 @@ function shouldHaveExtractedNationalPrefix(nationalNumberBefore, nationalNumberA
|
|
|
22312
22491
|
}
|
|
22313
22492
|
return true;
|
|
22314
22493
|
}
|
|
22315
|
-
function isPossibleIncompleteNationalNumber(nationalNumber, metadata2) {
|
|
22316
|
-
switch (checkNumberLength(nationalNumber, metadata2)) {
|
|
22494
|
+
function isPossibleIncompleteNationalNumber(nationalNumber, country, metadata2) {
|
|
22495
|
+
switch (checkNumberLength(nationalNumber, country, metadata2)) {
|
|
22317
22496
|
case "TOO_SHORT":
|
|
22318
22497
|
case "INVALID_LENGTH":
|
|
22319
22498
|
return false;
|
|
@@ -22321,15 +22500,15 @@ function isPossibleIncompleteNationalNumber(nationalNumber, metadata2) {
|
|
|
22321
22500
|
return true;
|
|
22322
22501
|
}
|
|
22323
22502
|
}
|
|
22324
|
-
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
22325
|
-
var countryCallingCode =
|
|
22503
|
+
function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, defaultCountry, defaultCallingCode, metadata2) {
|
|
22504
|
+
var countryCallingCode = defaultCountry ? getCountryCallingCode(defaultCountry, metadata2) : defaultCallingCode;
|
|
22326
22505
|
if (number2.indexOf(countryCallingCode) === 0) {
|
|
22327
22506
|
metadata2 = new Metadata(metadata2);
|
|
22328
|
-
metadata2.selectNumberingPlan(
|
|
22507
|
+
metadata2.selectNumberingPlan(defaultCountry, countryCallingCode);
|
|
22329
22508
|
var possibleShorterNumber = number2.slice(countryCallingCode.length);
|
|
22330
|
-
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, metadata2), possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;
|
|
22331
|
-
var _extractNationalNumbe2 = extractNationalNumber(number2, metadata2), nationalNumber = _extractNationalNumbe2.nationalNumber;
|
|
22332
|
-
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber, metadata2) === "TOO_LONG") {
|
|
22509
|
+
var _extractNationalNumbe = extractNationalNumber(possibleShorterNumber, country, metadata2), possibleShorterNationalNumber = _extractNationalNumbe.nationalNumber;
|
|
22510
|
+
var _extractNationalNumbe2 = extractNationalNumber(number2, country, metadata2), nationalNumber = _extractNationalNumbe2.nationalNumber;
|
|
22511
|
+
if (!matchesEntirely(nationalNumber, metadata2.nationalNumberPattern()) && matchesEntirely(possibleShorterNationalNumber, metadata2.nationalNumberPattern()) || checkNumberLength(nationalNumber, country, metadata2) === "TOO_LONG") {
|
|
22333
22512
|
return {
|
|
22334
22513
|
countryCallingCode,
|
|
22335
22514
|
number: possibleShorterNumber
|
|
@@ -22340,19 +22519,19 @@ function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2
|
|
|
22340
22519
|
number: number2
|
|
22341
22520
|
};
|
|
22342
22521
|
}
|
|
22343
|
-
function extractCountryCallingCode(number2, country,
|
|
22522
|
+
function extractCountryCallingCode(number2, country, defaultCountry, defaultCallingCode, metadata2) {
|
|
22344
22523
|
if (!number2) {
|
|
22345
22524
|
return {};
|
|
22346
22525
|
}
|
|
22347
22526
|
var isNumberWithIddPrefix;
|
|
22348
22527
|
if (number2[0] !== "+") {
|
|
22349
|
-
var numberWithoutIDD = stripIddPrefix(number2,
|
|
22528
|
+
var numberWithoutIDD = stripIddPrefix(number2, defaultCountry, defaultCallingCode, metadata2);
|
|
22350
22529
|
if (numberWithoutIDD && numberWithoutIDD !== number2) {
|
|
22351
22530
|
isNumberWithIddPrefix = true;
|
|
22352
22531
|
number2 = "+" + numberWithoutIDD;
|
|
22353
22532
|
} else {
|
|
22354
|
-
if (
|
|
22355
|
-
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country,
|
|
22533
|
+
if (defaultCountry || defaultCallingCode) {
|
|
22534
|
+
var _extractCountryCallin = extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(number2, country, defaultCountry, defaultCallingCode, metadata2), countryCallingCode = _extractCountryCallin.countryCallingCode, shorterNumber = _extractCountryCallin.number;
|
|
22356
22535
|
if (countryCallingCode) {
|
|
22357
22536
|
return {
|
|
22358
22537
|
countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
|
|
@@ -22476,63 +22655,6 @@ function formatRFC3966(_ref) {
|
|
|
22476
22655
|
}
|
|
22477
22656
|
return "tel:".concat(number2).concat(ext ? ";ext=" + ext : "");
|
|
22478
22657
|
}
|
|
22479
|
-
function _createForOfIteratorHelperLoose$2(o, allowArrayLike) {
|
|
22480
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
22481
|
-
if (it) return (it = it.call(o)).next.bind(it);
|
|
22482
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray$3(o)) || allowArrayLike) {
|
|
22483
|
-
if (it) o = it;
|
|
22484
|
-
var i = 0;
|
|
22485
|
-
return function() {
|
|
22486
|
-
if (i >= o.length) return { done: true };
|
|
22487
|
-
return { done: false, value: o[i++] };
|
|
22488
|
-
};
|
|
22489
|
-
}
|
|
22490
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
22491
|
-
}
|
|
22492
|
-
function _unsupportedIterableToArray$3(o, minLen) {
|
|
22493
|
-
if (!o) return;
|
|
22494
|
-
if (typeof o === "string") return _arrayLikeToArray$3(o, minLen);
|
|
22495
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
22496
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
22497
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
22498
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$3(o, minLen);
|
|
22499
|
-
}
|
|
22500
|
-
function _arrayLikeToArray$3(arr, len) {
|
|
22501
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
22502
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
22503
|
-
arr2[i] = arr[i];
|
|
22504
|
-
}
|
|
22505
|
-
return arr2;
|
|
22506
|
-
}
|
|
22507
|
-
function ownKeys$6(object, enumerableOnly) {
|
|
22508
|
-
var keys = Object.keys(object);
|
|
22509
|
-
if (Object.getOwnPropertySymbols) {
|
|
22510
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
22511
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
22512
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
22513
|
-
})), keys.push.apply(keys, symbols);
|
|
22514
|
-
}
|
|
22515
|
-
return keys;
|
|
22516
|
-
}
|
|
22517
|
-
function _objectSpread$6(target) {
|
|
22518
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
22519
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
22520
|
-
i % 2 ? ownKeys$6(Object(source), true).forEach(function(key) {
|
|
22521
|
-
_defineProperty$6(target, key, source[key]);
|
|
22522
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function(key) {
|
|
22523
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
22524
|
-
});
|
|
22525
|
-
}
|
|
22526
|
-
return target;
|
|
22527
|
-
}
|
|
22528
|
-
function _defineProperty$6(obj, key, value) {
|
|
22529
|
-
if (key in obj) {
|
|
22530
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
22531
|
-
} else {
|
|
22532
|
-
obj[key] = value;
|
|
22533
|
-
}
|
|
22534
|
-
return obj;
|
|
22535
|
-
}
|
|
22536
22658
|
var DEFAULT_OPTIONS = {
|
|
22537
22659
|
formatExtension: function formatExtension(formattedNumber, extension, metadata2) {
|
|
22538
22660
|
return "".concat(formattedNumber).concat(metadata2.ext()).concat(extension);
|
|
@@ -22540,7 +22662,7 @@ var DEFAULT_OPTIONS = {
|
|
|
22540
22662
|
};
|
|
22541
22663
|
function formatNumber(input, format2, options, metadata2) {
|
|
22542
22664
|
if (options) {
|
|
22543
|
-
options =
|
|
22665
|
+
options = merge({}, DEFAULT_OPTIONS, options);
|
|
22544
22666
|
} else {
|
|
22545
22667
|
options = DEFAULT_OPTIONS;
|
|
22546
22668
|
}
|
|
@@ -22549,7 +22671,7 @@ function formatNumber(input, format2, options, metadata2) {
|
|
|
22549
22671
|
if (!metadata2.hasCountry(input.country)) {
|
|
22550
22672
|
throw new Error("Unknown country: ".concat(input.country));
|
|
22551
22673
|
}
|
|
22552
|
-
metadata2.
|
|
22674
|
+
metadata2.selectNumberingPlan(input.country);
|
|
22553
22675
|
} else if (input.countryCallingCode) {
|
|
22554
22676
|
metadata2.selectNumberingPlan(input.countryCallingCode);
|
|
22555
22677
|
} else return input.phone || "";
|
|
@@ -22597,19 +22719,16 @@ function formatNationalNumber(number2, carrierCode, formatAs, metadata2, options
|
|
|
22597
22719
|
withNationalPrefix: format2.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && options && options.nationalPrefix === false ? false : true
|
|
22598
22720
|
});
|
|
22599
22721
|
}
|
|
22600
|
-
function chooseFormatForNumber(availableFormats,
|
|
22601
|
-
|
|
22602
|
-
var format2 = _step.value;
|
|
22722
|
+
function chooseFormatForNumber(availableFormats, nationalNumber) {
|
|
22723
|
+
return pickFirstMatchingElement(availableFormats, function(format2) {
|
|
22603
22724
|
if (format2.leadingDigitsPatterns().length > 0) {
|
|
22604
22725
|
var lastLeadingDigitsPattern = format2.leadingDigitsPatterns()[format2.leadingDigitsPatterns().length - 1];
|
|
22605
|
-
if (
|
|
22606
|
-
|
|
22726
|
+
if (nationalNumber.search(lastLeadingDigitsPattern) !== 0) {
|
|
22727
|
+
return false;
|
|
22607
22728
|
}
|
|
22608
22729
|
}
|
|
22609
|
-
|
|
22610
|
-
|
|
22611
|
-
}
|
|
22612
|
-
}
|
|
22730
|
+
return matchesEntirely(nationalNumber, format2.pattern());
|
|
22731
|
+
});
|
|
22613
22732
|
}
|
|
22614
22733
|
function addExtension(formattedNumber, ext, metadata2, formatExtension2) {
|
|
22615
22734
|
return ext ? formatExtension2(formattedNumber, ext, metadata2) : formattedNumber;
|
|
@@ -22628,53 +22747,87 @@ function formatIDD(nationalNumber, carrierCode, countryCallingCode, fromCountry,
|
|
|
22628
22747
|
return "".concat(iddPrefix, " ").concat(countryCallingCode, " ").concat(formatNationalNumber(nationalNumber, null, "INTERNATIONAL", metadata2));
|
|
22629
22748
|
}
|
|
22630
22749
|
}
|
|
22631
|
-
function
|
|
22632
|
-
var
|
|
22633
|
-
|
|
22634
|
-
|
|
22635
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
22636
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
22637
|
-
})), keys.push.apply(keys, symbols);
|
|
22750
|
+
function merge() {
|
|
22751
|
+
var i = 1;
|
|
22752
|
+
for (var _len = arguments.length, objects = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
22753
|
+
objects[_key] = arguments[_key];
|
|
22638
22754
|
}
|
|
22639
|
-
|
|
22640
|
-
|
|
22641
|
-
|
|
22642
|
-
|
|
22643
|
-
|
|
22644
|
-
|
|
22645
|
-
|
|
22646
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
22647
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
22648
|
-
});
|
|
22755
|
+
while (i < objects.length) {
|
|
22756
|
+
if (objects[i]) {
|
|
22757
|
+
for (var key in objects[i]) {
|
|
22758
|
+
objects[0][key] = objects[i][key];
|
|
22759
|
+
}
|
|
22760
|
+
}
|
|
22761
|
+
i++;
|
|
22649
22762
|
}
|
|
22650
|
-
return
|
|
22763
|
+
return objects[0];
|
|
22651
22764
|
}
|
|
22652
|
-
function
|
|
22653
|
-
|
|
22654
|
-
|
|
22655
|
-
|
|
22656
|
-
|
|
22765
|
+
function pickFirstMatchingElement(elements, testFunction) {
|
|
22766
|
+
var i = 0;
|
|
22767
|
+
while (i < elements.length) {
|
|
22768
|
+
if (testFunction(elements[i])) {
|
|
22769
|
+
return elements[i];
|
|
22770
|
+
}
|
|
22771
|
+
i++;
|
|
22657
22772
|
}
|
|
22658
|
-
return obj;
|
|
22659
22773
|
}
|
|
22660
|
-
function
|
|
22661
|
-
|
|
22662
|
-
|
|
22774
|
+
function _typeof$6(o) {
|
|
22775
|
+
"@babel/helpers - typeof";
|
|
22776
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
22777
|
+
return typeof o2;
|
|
22778
|
+
} : function(o2) {
|
|
22779
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
22780
|
+
}, _typeof$6(o);
|
|
22781
|
+
}
|
|
22782
|
+
function ownKeys$5(e, r) {
|
|
22783
|
+
var t2 = Object.keys(e);
|
|
22784
|
+
if (Object.getOwnPropertySymbols) {
|
|
22785
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
22786
|
+
r && (o = o.filter(function(r2) {
|
|
22787
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
22788
|
+
})), t2.push.apply(t2, o);
|
|
22789
|
+
}
|
|
22790
|
+
return t2;
|
|
22791
|
+
}
|
|
22792
|
+
function _objectSpread$5(e) {
|
|
22793
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
22794
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
22795
|
+
r % 2 ? ownKeys$5(Object(t2), true).forEach(function(r2) {
|
|
22796
|
+
_defineProperty$5(e, r2, t2[r2]);
|
|
22797
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$5(Object(t2)).forEach(function(r2) {
|
|
22798
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
22799
|
+
});
|
|
22663
22800
|
}
|
|
22801
|
+
return e;
|
|
22802
|
+
}
|
|
22803
|
+
function _defineProperty$5(e, r, t2) {
|
|
22804
|
+
return (r = _toPropertyKey$5(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
22664
22805
|
}
|
|
22665
|
-
function
|
|
22666
|
-
|
|
22667
|
-
|
|
22668
|
-
|
|
22669
|
-
|
|
22670
|
-
|
|
22671
|
-
Object.defineProperty(
|
|
22806
|
+
function _classCallCheck$1(a, n) {
|
|
22807
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
22808
|
+
}
|
|
22809
|
+
function _defineProperties(e, r) {
|
|
22810
|
+
for (var t2 = 0; t2 < r.length; t2++) {
|
|
22811
|
+
var o = r[t2];
|
|
22812
|
+
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey$5(o.key), o);
|
|
22672
22813
|
}
|
|
22673
22814
|
}
|
|
22674
|
-
function _createClass$1(
|
|
22675
|
-
|
|
22676
|
-
|
|
22677
|
-
|
|
22815
|
+
function _createClass$1(e, r, t2) {
|
|
22816
|
+
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
22817
|
+
}
|
|
22818
|
+
function _toPropertyKey$5(t2) {
|
|
22819
|
+
var i = _toPrimitive$5(t2, "string");
|
|
22820
|
+
return "symbol" == _typeof$6(i) ? i : i + "";
|
|
22821
|
+
}
|
|
22822
|
+
function _toPrimitive$5(t2, r) {
|
|
22823
|
+
if ("object" != _typeof$6(t2) || !t2) return t2;
|
|
22824
|
+
var e = t2[Symbol.toPrimitive];
|
|
22825
|
+
if (void 0 !== e) {
|
|
22826
|
+
var i = e.call(t2, r);
|
|
22827
|
+
if ("object" != _typeof$6(i)) return i;
|
|
22828
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22829
|
+
}
|
|
22830
|
+
return String(t2);
|
|
22678
22831
|
}
|
|
22679
22832
|
var PhoneNumber = /* @__PURE__ */ function() {
|
|
22680
22833
|
function PhoneNumber2(countryOrCountryCallingCode, nationalNumber, metadata2) {
|
|
@@ -22694,7 +22847,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
22694
22847
|
if (!E164_NUMBER_REGEXP.test(e164Number)) {
|
|
22695
22848
|
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
22696
22849
|
}
|
|
22697
|
-
var _extractCountryCallin = extractCountryCallingCode(e164Number, void 0, void 0, metadata2), _countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
22850
|
+
var _extractCountryCallin = extractCountryCallingCode(e164Number, void 0, void 0, void 0, metadata2), _countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
22698
22851
|
nationalNumber = number2;
|
|
22699
22852
|
countryOrCountryCallingCode = _countryCallingCode;
|
|
22700
22853
|
if (!nationalNumber) {
|
|
@@ -22717,7 +22870,7 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
22717
22870
|
return metadata2;
|
|
22718
22871
|
};
|
|
22719
22872
|
}
|
|
22720
|
-
_createClass$1(PhoneNumber2, [{
|
|
22873
|
+
return _createClass$1(PhoneNumber2, [{
|
|
22721
22874
|
key: "setExt",
|
|
22722
22875
|
value: function setExt(ext) {
|
|
22723
22876
|
this.ext = ext;
|
|
@@ -22801,7 +22954,6 @@ var PhoneNumber = /* @__PURE__ */ function() {
|
|
|
22801
22954
|
return this.format("RFC3966", options);
|
|
22802
22955
|
}
|
|
22803
22956
|
}]);
|
|
22804
|
-
return PhoneNumber2;
|
|
22805
22957
|
}();
|
|
22806
22958
|
var isCountryCode = function isCountryCode2(value) {
|
|
22807
22959
|
return /^[A-Z]{2}$/.test(value);
|
|
@@ -22823,131 +22975,95 @@ function getCountryAndCountryCallingCode(countryOrCountryCallingCode, metadataJs
|
|
|
22823
22975
|
};
|
|
22824
22976
|
}
|
|
22825
22977
|
var E164_NUMBER_REGEXP = /^\+\d+$/;
|
|
22826
|
-
function _typeof(
|
|
22978
|
+
function _typeof$5(o) {
|
|
22827
22979
|
"@babel/helpers - typeof";
|
|
22828
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(
|
|
22829
|
-
return typeof
|
|
22830
|
-
} : function(
|
|
22831
|
-
return
|
|
22832
|
-
}, _typeof(
|
|
22833
|
-
}
|
|
22834
|
-
function _createClass(
|
|
22835
|
-
Object.defineProperty(
|
|
22836
|
-
|
|
22837
|
-
|
|
22838
|
-
|
|
22839
|
-
|
|
22840
|
-
|
|
22841
|
-
|
|
22842
|
-
}
|
|
22843
|
-
function
|
|
22844
|
-
if (
|
|
22845
|
-
|
|
22846
|
-
|
|
22847
|
-
|
|
22848
|
-
|
|
22849
|
-
if (
|
|
22850
|
-
|
|
22851
|
-
|
|
22852
|
-
|
|
22853
|
-
|
|
22854
|
-
|
|
22855
|
-
|
|
22856
|
-
|
|
22857
|
-
|
|
22858
|
-
|
|
22859
|
-
|
|
22860
|
-
|
|
22861
|
-
|
|
22862
|
-
|
|
22863
|
-
|
|
22864
|
-
function _possibleConstructorReturn(self2, call) {
|
|
22865
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
22866
|
-
return call;
|
|
22867
|
-
} else if (call !== void 0) {
|
|
22868
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
22869
|
-
}
|
|
22870
|
-
return _assertThisInitialized(self2);
|
|
22871
|
-
}
|
|
22872
|
-
function _assertThisInitialized(self2) {
|
|
22873
|
-
if (self2 === void 0) {
|
|
22874
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
22875
|
-
}
|
|
22876
|
-
return self2;
|
|
22877
|
-
}
|
|
22878
|
-
function _wrapNativeSuper(Class) {
|
|
22879
|
-
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
22880
|
-
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
22881
|
-
if (Class2 === null || !_isNativeFunction(Class2)) return Class2;
|
|
22882
|
-
if (typeof Class2 !== "function") {
|
|
22883
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
22884
|
-
}
|
|
22885
|
-
if (typeof _cache !== "undefined") {
|
|
22886
|
-
if (_cache.has(Class2)) return _cache.get(Class2);
|
|
22887
|
-
_cache.set(Class2, Wrapper);
|
|
22980
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
22981
|
+
return typeof o2;
|
|
22982
|
+
} : function(o2) {
|
|
22983
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
22984
|
+
}, _typeof$5(o);
|
|
22985
|
+
}
|
|
22986
|
+
function _createClass(e, r, t2) {
|
|
22987
|
+
return Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
22988
|
+
}
|
|
22989
|
+
function _classCallCheck(a, n) {
|
|
22990
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
22991
|
+
}
|
|
22992
|
+
function _callSuper(t2, o, e) {
|
|
22993
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t2, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t2).constructor) : o.apply(t2, e));
|
|
22994
|
+
}
|
|
22995
|
+
function _possibleConstructorReturn(t2, e) {
|
|
22996
|
+
if (e && ("object" == _typeof$5(e) || "function" == typeof e)) return e;
|
|
22997
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
22998
|
+
return _assertThisInitialized(t2);
|
|
22999
|
+
}
|
|
23000
|
+
function _assertThisInitialized(e) {
|
|
23001
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
23002
|
+
return e;
|
|
23003
|
+
}
|
|
23004
|
+
function _inherits(t2, e) {
|
|
23005
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
23006
|
+
t2.prototype = Object.create(e && e.prototype, { constructor: { value: t2, writable: true, configurable: true } }), Object.defineProperty(t2, "prototype", { writable: false }), e && _setPrototypeOf(t2, e);
|
|
23007
|
+
}
|
|
23008
|
+
function _wrapNativeSuper(t2) {
|
|
23009
|
+
var r = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0;
|
|
23010
|
+
return _wrapNativeSuper = function _wrapNativeSuper2(t3) {
|
|
23011
|
+
if (null === t3 || !_isNativeFunction(t3)) return t3;
|
|
23012
|
+
if ("function" != typeof t3) throw new TypeError("Super expression must either be null or a function");
|
|
23013
|
+
if (void 0 !== r) {
|
|
23014
|
+
if (r.has(t3)) return r.get(t3);
|
|
23015
|
+
r.set(t3, Wrapper);
|
|
22888
23016
|
}
|
|
22889
23017
|
function Wrapper() {
|
|
22890
|
-
return _construct(
|
|
23018
|
+
return _construct(t3, arguments, _getPrototypeOf(this).constructor);
|
|
22891
23019
|
}
|
|
22892
|
-
Wrapper.prototype = Object.create(
|
|
22893
|
-
|
|
22894
|
-
};
|
|
22895
|
-
return _wrapNativeSuper(Class);
|
|
23020
|
+
return Wrapper.prototype = Object.create(t3.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }), _setPrototypeOf(Wrapper, t3);
|
|
23021
|
+
}, _wrapNativeSuper(t2);
|
|
22896
23022
|
}
|
|
22897
|
-
function _construct(
|
|
22898
|
-
if (_isNativeReflectConstruct())
|
|
22899
|
-
|
|
22900
|
-
|
|
22901
|
-
|
|
22902
|
-
|
|
22903
|
-
a.push.apply(a, args2);
|
|
22904
|
-
var Constructor = Function.bind.apply(Parent2, a);
|
|
22905
|
-
var instance = new Constructor();
|
|
22906
|
-
if (Class2) _setPrototypeOf(instance, Class2.prototype);
|
|
22907
|
-
return instance;
|
|
22908
|
-
};
|
|
22909
|
-
}
|
|
22910
|
-
return _construct.apply(null, arguments);
|
|
23023
|
+
function _construct(t2, e, r) {
|
|
23024
|
+
if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
|
|
23025
|
+
var o = [null];
|
|
23026
|
+
o.push.apply(o, e);
|
|
23027
|
+
var p = new (t2.bind.apply(t2, o))();
|
|
23028
|
+
return r && _setPrototypeOf(p, r.prototype), p;
|
|
22911
23029
|
}
|
|
22912
23030
|
function _isNativeReflectConstruct() {
|
|
22913
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
22914
|
-
if (Reflect.construct.sham) return false;
|
|
22915
|
-
if (typeof Proxy === "function") return true;
|
|
22916
23031
|
try {
|
|
22917
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
23032
|
+
var t2 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
22918
23033
|
}));
|
|
22919
|
-
|
|
22920
|
-
} catch (e) {
|
|
22921
|
-
return false;
|
|
23034
|
+
} catch (t3) {
|
|
22922
23035
|
}
|
|
23036
|
+
return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
|
|
23037
|
+
return !!t2;
|
|
23038
|
+
})();
|
|
22923
23039
|
}
|
|
22924
|
-
function _isNativeFunction(
|
|
22925
|
-
|
|
23040
|
+
function _isNativeFunction(t2) {
|
|
23041
|
+
try {
|
|
23042
|
+
return -1 !== Function.toString.call(t2).indexOf("[native code]");
|
|
23043
|
+
} catch (n) {
|
|
23044
|
+
return "function" == typeof t2;
|
|
23045
|
+
}
|
|
22926
23046
|
}
|
|
22927
|
-
function _setPrototypeOf(
|
|
22928
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
22929
|
-
|
|
22930
|
-
|
|
22931
|
-
};
|
|
22932
|
-
return _setPrototypeOf(o, p);
|
|
23047
|
+
function _setPrototypeOf(t2, e) {
|
|
23048
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t3, e2) {
|
|
23049
|
+
return t3.__proto__ = e2, t3;
|
|
23050
|
+
}, _setPrototypeOf(t2, e);
|
|
22933
23051
|
}
|
|
22934
|
-
function _getPrototypeOf(
|
|
22935
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function
|
|
22936
|
-
return
|
|
22937
|
-
};
|
|
22938
|
-
return _getPrototypeOf(o);
|
|
23052
|
+
function _getPrototypeOf(t2) {
|
|
23053
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t3) {
|
|
23054
|
+
return t3.__proto__ || Object.getPrototypeOf(t3);
|
|
23055
|
+
}, _getPrototypeOf(t2);
|
|
22939
23056
|
}
|
|
22940
23057
|
var ParseError = /* @__PURE__ */ function(_Error) {
|
|
22941
|
-
_inherits(ParseError2, _Error);
|
|
22942
|
-
var _super = _createSuper(ParseError2);
|
|
22943
23058
|
function ParseError2(code2) {
|
|
22944
23059
|
var _this;
|
|
22945
23060
|
_classCallCheck(this, ParseError2);
|
|
22946
|
-
_this =
|
|
22947
|
-
Object.setPrototypeOf(
|
|
23061
|
+
_this = _callSuper(this, ParseError2, [code2]);
|
|
23062
|
+
Object.setPrototypeOf(_this, ParseError2.prototype);
|
|
22948
23063
|
_this.name = _this.constructor.name;
|
|
22949
23064
|
return _this;
|
|
22950
23065
|
}
|
|
23066
|
+
_inherits(ParseError2, _Error);
|
|
22951
23067
|
return _createClass(ParseError2);
|
|
22952
23068
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
22953
23069
|
var EXTN_PATTERN = new RegExp("(?:" + createExtensionPattern() + ")$", "i");
|
|
@@ -23044,43 +23160,39 @@ var DIGITS = {
|
|
|
23044
23160
|
function parseDigit(character) {
|
|
23045
23161
|
return DIGITS[character];
|
|
23046
23162
|
}
|
|
23047
|
-
function _createForOfIteratorHelperLoose
|
|
23048
|
-
var
|
|
23049
|
-
if (
|
|
23050
|
-
if (Array.isArray(
|
|
23051
|
-
|
|
23052
|
-
var
|
|
23163
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
23164
|
+
var t2 = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
23165
|
+
if (t2) return (t2 = t2.call(r)).next.bind(t2);
|
|
23166
|
+
if (Array.isArray(r) || (t2 = _unsupportedIterableToArray$1(r)) || e) {
|
|
23167
|
+
t2 && (r = t2);
|
|
23168
|
+
var o = 0;
|
|
23053
23169
|
return function() {
|
|
23054
|
-
|
|
23055
|
-
return { done: false, value: o[i++] };
|
|
23170
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
23056
23171
|
};
|
|
23057
23172
|
}
|
|
23058
23173
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23059
23174
|
}
|
|
23060
|
-
function _unsupportedIterableToArray$
|
|
23061
|
-
if (
|
|
23062
|
-
|
|
23063
|
-
|
|
23064
|
-
|
|
23065
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
23066
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen);
|
|
23067
|
-
}
|
|
23068
|
-
function _arrayLikeToArray$2(arr, len) {
|
|
23069
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
23070
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
23071
|
-
arr2[i] = arr[i];
|
|
23175
|
+
function _unsupportedIterableToArray$1(r, a) {
|
|
23176
|
+
if (r) {
|
|
23177
|
+
if ("string" == typeof r) return _arrayLikeToArray$1(r, a);
|
|
23178
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
23179
|
+
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;
|
|
23072
23180
|
}
|
|
23073
|
-
|
|
23181
|
+
}
|
|
23182
|
+
function _arrayLikeToArray$1(r, a) {
|
|
23183
|
+
(null == a || a > r.length) && (a = r.length);
|
|
23184
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
23185
|
+
return n;
|
|
23074
23186
|
}
|
|
23075
23187
|
function parseIncompletePhoneNumber(string) {
|
|
23076
23188
|
var result2 = "";
|
|
23077
|
-
for (var _iterator = _createForOfIteratorHelperLoose
|
|
23189
|
+
for (var _iterator = _createForOfIteratorHelperLoose(string.split("")), _step; !(_step = _iterator()).done; ) {
|
|
23078
23190
|
var character = _step.value;
|
|
23079
23191
|
result2 += parsePhoneNumberCharacter(character, result2) || "";
|
|
23080
23192
|
}
|
|
23081
23193
|
return result2;
|
|
23082
23194
|
}
|
|
23083
|
-
function parsePhoneNumberCharacter(character, prevParsedCharacters,
|
|
23195
|
+
function parsePhoneNumberCharacter(character, prevParsedCharacters, eventListener) {
|
|
23084
23196
|
if (character === "+") {
|
|
23085
23197
|
if (prevParsedCharacters) {
|
|
23086
23198
|
return;
|
|
@@ -23089,66 +23201,6 @@ function parsePhoneNumberCharacter(character, prevParsedCharacters, emitEvent2)
|
|
|
23089
23201
|
}
|
|
23090
23202
|
return parseDigit(character);
|
|
23091
23203
|
}
|
|
23092
|
-
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
23093
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
23094
|
-
if (it) return (it = it.call(o)).next.bind(it);
|
|
23095
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray$1(o)) || allowArrayLike) {
|
|
23096
|
-
if (it) o = it;
|
|
23097
|
-
var i = 0;
|
|
23098
|
-
return function() {
|
|
23099
|
-
if (i >= o.length) return { done: true };
|
|
23100
|
-
return { done: false, value: o[i++] };
|
|
23101
|
-
};
|
|
23102
|
-
}
|
|
23103
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23104
|
-
}
|
|
23105
|
-
function _unsupportedIterableToArray$1(o, minLen) {
|
|
23106
|
-
if (!o) return;
|
|
23107
|
-
if (typeof o === "string") return _arrayLikeToArray$1(o, minLen);
|
|
23108
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
23109
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
23110
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
23111
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);
|
|
23112
|
-
}
|
|
23113
|
-
function _arrayLikeToArray$1(arr, len) {
|
|
23114
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
23115
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
23116
|
-
arr2[i] = arr[i];
|
|
23117
|
-
}
|
|
23118
|
-
return arr2;
|
|
23119
|
-
}
|
|
23120
|
-
function getCountryByNationalNumber(nationalPhoneNumber, _ref) {
|
|
23121
|
-
var countries = _ref.countries, metadata2 = _ref.metadata;
|
|
23122
|
-
metadata2 = new Metadata(metadata2);
|
|
23123
|
-
for (var _iterator = _createForOfIteratorHelperLoose(countries), _step; !(_step = _iterator()).done; ) {
|
|
23124
|
-
var country = _step.value;
|
|
23125
|
-
metadata2.country(country);
|
|
23126
|
-
if (metadata2.leadingDigits()) {
|
|
23127
|
-
if (nationalPhoneNumber && nationalPhoneNumber.search(metadata2.leadingDigits()) === 0) {
|
|
23128
|
-
return country;
|
|
23129
|
-
}
|
|
23130
|
-
} else if (getNumberType({
|
|
23131
|
-
phone: nationalPhoneNumber,
|
|
23132
|
-
country
|
|
23133
|
-
}, void 0, metadata2.metadata)) {
|
|
23134
|
-
return country;
|
|
23135
|
-
}
|
|
23136
|
-
}
|
|
23137
|
-
}
|
|
23138
|
-
function getCountryByCallingCode(callingCode, _ref) {
|
|
23139
|
-
var nationalPhoneNumber = _ref.nationalNumber, metadata2 = _ref.metadata;
|
|
23140
|
-
var possibleCountries = metadata2.getCountryCodesForCallingCode(callingCode);
|
|
23141
|
-
if (!possibleCountries) {
|
|
23142
|
-
return;
|
|
23143
|
-
}
|
|
23144
|
-
if (possibleCountries.length === 1) {
|
|
23145
|
-
return possibleCountries[0];
|
|
23146
|
-
}
|
|
23147
|
-
return getCountryByNationalNumber(nationalPhoneNumber, {
|
|
23148
|
-
countries: possibleCountries,
|
|
23149
|
-
metadata: metadata2.metadata
|
|
23150
|
-
});
|
|
23151
|
-
}
|
|
23152
23204
|
var PLUS_SIGN = "+";
|
|
23153
23205
|
var RFC3966_VISUAL_SEPARATOR_ = "[\\-\\.\\(\\)]?";
|
|
23154
23206
|
var RFC3966_PHONE_DIGIT_ = "([" + VALID_DIGITS + "]|" + RFC3966_VISUAL_SEPARATOR_ + ")";
|
|
@@ -23284,7 +23336,7 @@ function parse(text2, options, metadata2) {
|
|
|
23284
23336
|
countryCallingCode,
|
|
23285
23337
|
carrierCode,
|
|
23286
23338
|
valid,
|
|
23287
|
-
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber, metadata2) ? true : false,
|
|
23339
|
+
possible: valid ? true : options.extended === true && metadata2.possibleLengths() && isPossibleNumber(nationalNumber, country, metadata2) ? true : false,
|
|
23288
23340
|
phone: nationalNumber,
|
|
23289
23341
|
ext
|
|
23290
23342
|
};
|
|
@@ -23344,7 +23396,7 @@ function result(country, nationalNumber, ext) {
|
|
|
23344
23396
|
return result2;
|
|
23345
23397
|
}
|
|
23346
23398
|
function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCallingCode, metadata2) {
|
|
23347
|
-
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), defaultCountry, defaultCallingCode, metadata2.metadata), countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource, countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
23399
|
+
var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), void 0, defaultCountry, defaultCallingCode, metadata2.metadata), countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource, countryCallingCode = _extractCountryCallin.countryCallingCode, number2 = _extractCountryCallin.number;
|
|
23348
23400
|
var country;
|
|
23349
23401
|
if (countryCallingCode) {
|
|
23350
23402
|
metadata2.selectNumberingPlan(countryCallingCode);
|
|
@@ -23361,7 +23413,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
23361
23413
|
countryCallingCode
|
|
23362
23414
|
};
|
|
23363
23415
|
}
|
|
23364
|
-
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2), metadata2), nationalNumber = _extractNationalNumbe.nationalNumber, carrierCode = _extractNationalNumbe.carrierCode;
|
|
23416
|
+
var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number2), country, metadata2), nationalNumber = _extractNationalNumbe.nationalNumber, carrierCode = _extractNationalNumbe.carrierCode;
|
|
23365
23417
|
var exactCountry = getCountryByCallingCode(countryCallingCode, {
|
|
23366
23418
|
nationalNumber,
|
|
23367
23419
|
metadata: metadata2
|
|
@@ -23370,7 +23422,7 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
23370
23422
|
country = exactCountry;
|
|
23371
23423
|
if (exactCountry === "001") ;
|
|
23372
23424
|
else {
|
|
23373
|
-
metadata2.
|
|
23425
|
+
metadata2.selectNumberingPlan(country);
|
|
23374
23426
|
}
|
|
23375
23427
|
}
|
|
23376
23428
|
return {
|
|
@@ -23381,116 +23433,142 @@ function parsePhoneNumber$1(formattedPhoneNumber, defaultCountry, defaultCalling
|
|
|
23381
23433
|
carrierCode
|
|
23382
23434
|
};
|
|
23383
23435
|
}
|
|
23384
|
-
function
|
|
23385
|
-
|
|
23436
|
+
function _typeof$4(o) {
|
|
23437
|
+
"@babel/helpers - typeof";
|
|
23438
|
+
return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23439
|
+
return typeof o2;
|
|
23440
|
+
} : function(o2) {
|
|
23441
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23442
|
+
}, _typeof$4(o);
|
|
23443
|
+
}
|
|
23444
|
+
function ownKeys$4(e, r) {
|
|
23445
|
+
var t2 = Object.keys(e);
|
|
23386
23446
|
if (Object.getOwnPropertySymbols) {
|
|
23387
|
-
var
|
|
23388
|
-
|
|
23389
|
-
return Object.getOwnPropertyDescriptor(
|
|
23390
|
-
})),
|
|
23391
|
-
}
|
|
23392
|
-
return
|
|
23393
|
-
}
|
|
23394
|
-
function _objectSpread$4(
|
|
23395
|
-
for (var
|
|
23396
|
-
var
|
|
23397
|
-
|
|
23398
|
-
_defineProperty$4(
|
|
23399
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
23400
|
-
Object.defineProperty(
|
|
23447
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
23448
|
+
r && (o = o.filter(function(r2) {
|
|
23449
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
23450
|
+
})), t2.push.apply(t2, o);
|
|
23451
|
+
}
|
|
23452
|
+
return t2;
|
|
23453
|
+
}
|
|
23454
|
+
function _objectSpread$4(e) {
|
|
23455
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
23456
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
23457
|
+
r % 2 ? ownKeys$4(Object(t2), true).forEach(function(r2) {
|
|
23458
|
+
_defineProperty$4(e, r2, t2[r2]);
|
|
23459
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$4(Object(t2)).forEach(function(r2) {
|
|
23460
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
23401
23461
|
});
|
|
23402
23462
|
}
|
|
23403
|
-
return
|
|
23463
|
+
return e;
|
|
23404
23464
|
}
|
|
23405
|
-
function _defineProperty$4(
|
|
23406
|
-
|
|
23407
|
-
|
|
23408
|
-
|
|
23409
|
-
|
|
23465
|
+
function _defineProperty$4(e, r, t2) {
|
|
23466
|
+
return (r = _toPropertyKey$4(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
23467
|
+
}
|
|
23468
|
+
function _toPropertyKey$4(t2) {
|
|
23469
|
+
var i = _toPrimitive$4(t2, "string");
|
|
23470
|
+
return "symbol" == _typeof$4(i) ? i : i + "";
|
|
23471
|
+
}
|
|
23472
|
+
function _toPrimitive$4(t2, r) {
|
|
23473
|
+
if ("object" != _typeof$4(t2) || !t2) return t2;
|
|
23474
|
+
var e = t2[Symbol.toPrimitive];
|
|
23475
|
+
if (void 0 !== e) {
|
|
23476
|
+
var i = e.call(t2, r);
|
|
23477
|
+
if ("object" != _typeof$4(i)) return i;
|
|
23478
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23410
23479
|
}
|
|
23411
|
-
return
|
|
23480
|
+
return ("string" === r ? String : Number)(t2);
|
|
23412
23481
|
}
|
|
23413
23482
|
function parsePhoneNumberWithError(text2, options, metadata2) {
|
|
23414
23483
|
return parse(text2, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
23415
23484
|
v2: true
|
|
23416
23485
|
}), metadata2);
|
|
23417
23486
|
}
|
|
23418
|
-
function
|
|
23419
|
-
|
|
23487
|
+
function _typeof$3(o) {
|
|
23488
|
+
"@babel/helpers - typeof";
|
|
23489
|
+
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23490
|
+
return typeof o2;
|
|
23491
|
+
} : function(o2) {
|
|
23492
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23493
|
+
}, _typeof$3(o);
|
|
23494
|
+
}
|
|
23495
|
+
function ownKeys$3(e, r) {
|
|
23496
|
+
var t2 = Object.keys(e);
|
|
23420
23497
|
if (Object.getOwnPropertySymbols) {
|
|
23421
|
-
var
|
|
23422
|
-
|
|
23423
|
-
return Object.getOwnPropertyDescriptor(
|
|
23424
|
-
})),
|
|
23425
|
-
}
|
|
23426
|
-
return
|
|
23427
|
-
}
|
|
23428
|
-
function _objectSpread$3(
|
|
23429
|
-
for (var
|
|
23430
|
-
var
|
|
23431
|
-
|
|
23432
|
-
_defineProperty$3(
|
|
23433
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
23434
|
-
Object.defineProperty(
|
|
23498
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
23499
|
+
r && (o = o.filter(function(r2) {
|
|
23500
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
23501
|
+
})), t2.push.apply(t2, o);
|
|
23502
|
+
}
|
|
23503
|
+
return t2;
|
|
23504
|
+
}
|
|
23505
|
+
function _objectSpread$3(e) {
|
|
23506
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
23507
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
23508
|
+
r % 2 ? ownKeys$3(Object(t2), true).forEach(function(r2) {
|
|
23509
|
+
_defineProperty$3(e, r2, t2[r2]);
|
|
23510
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$3(Object(t2)).forEach(function(r2) {
|
|
23511
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
23435
23512
|
});
|
|
23436
23513
|
}
|
|
23437
|
-
return
|
|
23514
|
+
return e;
|
|
23438
23515
|
}
|
|
23439
|
-
function _defineProperty$3(
|
|
23440
|
-
|
|
23441
|
-
|
|
23442
|
-
|
|
23443
|
-
|
|
23516
|
+
function _defineProperty$3(e, r, t2) {
|
|
23517
|
+
return (r = _toPropertyKey$3(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
23518
|
+
}
|
|
23519
|
+
function _toPropertyKey$3(t2) {
|
|
23520
|
+
var i = _toPrimitive$3(t2, "string");
|
|
23521
|
+
return "symbol" == _typeof$3(i) ? i : i + "";
|
|
23522
|
+
}
|
|
23523
|
+
function _toPrimitive$3(t2, r) {
|
|
23524
|
+
if ("object" != _typeof$3(t2) || !t2) return t2;
|
|
23525
|
+
var e = t2[Symbol.toPrimitive];
|
|
23526
|
+
if (void 0 !== e) {
|
|
23527
|
+
var i = e.call(t2, r);
|
|
23528
|
+
if ("object" != _typeof$3(i)) return i;
|
|
23529
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23444
23530
|
}
|
|
23445
|
-
return
|
|
23531
|
+
return ("string" === r ? String : Number)(t2);
|
|
23446
23532
|
}
|
|
23447
|
-
function _slicedToArray(
|
|
23448
|
-
return _arrayWithHoles(
|
|
23533
|
+
function _slicedToArray(r, e) {
|
|
23534
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
23449
23535
|
}
|
|
23450
23536
|
function _nonIterableRest() {
|
|
23451
23537
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23452
23538
|
}
|
|
23453
|
-
function _unsupportedIterableToArray(
|
|
23454
|
-
if (
|
|
23455
|
-
|
|
23456
|
-
|
|
23457
|
-
|
|
23458
|
-
|
|
23459
|
-
|
|
23460
|
-
|
|
23461
|
-
|
|
23462
|
-
|
|
23463
|
-
|
|
23464
|
-
|
|
23465
|
-
|
|
23466
|
-
|
|
23467
|
-
|
|
23468
|
-
|
|
23469
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
23470
|
-
if (_i == null) return;
|
|
23471
|
-
var _arr = [];
|
|
23472
|
-
var _n = true;
|
|
23473
|
-
var _d = false;
|
|
23474
|
-
var _s, _e;
|
|
23475
|
-
try {
|
|
23476
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
23477
|
-
_arr.push(_s.value);
|
|
23478
|
-
if (i && _arr.length === i) break;
|
|
23479
|
-
}
|
|
23480
|
-
} catch (err) {
|
|
23481
|
-
_d = true;
|
|
23482
|
-
_e = err;
|
|
23483
|
-
} finally {
|
|
23539
|
+
function _unsupportedIterableToArray(r, a) {
|
|
23540
|
+
if (r) {
|
|
23541
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
23542
|
+
var t2 = {}.toString.call(r).slice(8, -1);
|
|
23543
|
+
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;
|
|
23544
|
+
}
|
|
23545
|
+
}
|
|
23546
|
+
function _arrayLikeToArray(r, a) {
|
|
23547
|
+
(null == a || a > r.length) && (a = r.length);
|
|
23548
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
23549
|
+
return n;
|
|
23550
|
+
}
|
|
23551
|
+
function _iterableToArrayLimit(r, l) {
|
|
23552
|
+
var t2 = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
23553
|
+
if (null != t2) {
|
|
23554
|
+
var e, n, i, u, a = [], f = true, o = false;
|
|
23484
23555
|
try {
|
|
23485
|
-
if (
|
|
23556
|
+
if (i = (t2 = t2.call(r)).next, 0 === l) ;
|
|
23557
|
+
else for (; !(f = (e = i.call(t2)).done) && (a.push(e.value), a.length !== l); f = true) ;
|
|
23558
|
+
} catch (r2) {
|
|
23559
|
+
o = true, n = r2;
|
|
23486
23560
|
} finally {
|
|
23487
|
-
|
|
23561
|
+
try {
|
|
23562
|
+
if (!f && null != t2["return"] && (u = t2["return"](), Object(u) !== u)) return;
|
|
23563
|
+
} finally {
|
|
23564
|
+
if (o) throw n;
|
|
23565
|
+
}
|
|
23488
23566
|
}
|
|
23567
|
+
return a;
|
|
23489
23568
|
}
|
|
23490
|
-
return _arr;
|
|
23491
23569
|
}
|
|
23492
|
-
function _arrayWithHoles(
|
|
23493
|
-
if (Array.isArray(
|
|
23570
|
+
function _arrayWithHoles(r) {
|
|
23571
|
+
if (Array.isArray(r)) return r;
|
|
23494
23572
|
}
|
|
23495
23573
|
function normalizeArguments(args) {
|
|
23496
23574
|
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];
|
|
@@ -23527,34 +23605,51 @@ function normalizeArguments(args) {
|
|
|
23527
23605
|
metadata: metadata2
|
|
23528
23606
|
};
|
|
23529
23607
|
}
|
|
23530
|
-
function
|
|
23531
|
-
|
|
23608
|
+
function _typeof$2(o) {
|
|
23609
|
+
"@babel/helpers - typeof";
|
|
23610
|
+
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23611
|
+
return typeof o2;
|
|
23612
|
+
} : function(o2) {
|
|
23613
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23614
|
+
}, _typeof$2(o);
|
|
23615
|
+
}
|
|
23616
|
+
function ownKeys$2(e, r) {
|
|
23617
|
+
var t2 = Object.keys(e);
|
|
23532
23618
|
if (Object.getOwnPropertySymbols) {
|
|
23533
|
-
var
|
|
23534
|
-
|
|
23535
|
-
return Object.getOwnPropertyDescriptor(
|
|
23536
|
-
})),
|
|
23537
|
-
}
|
|
23538
|
-
return
|
|
23539
|
-
}
|
|
23540
|
-
function _objectSpread$2(
|
|
23541
|
-
for (var
|
|
23542
|
-
var
|
|
23543
|
-
|
|
23544
|
-
_defineProperty$2(
|
|
23545
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
23546
|
-
Object.defineProperty(
|
|
23619
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
23620
|
+
r && (o = o.filter(function(r2) {
|
|
23621
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
23622
|
+
})), t2.push.apply(t2, o);
|
|
23623
|
+
}
|
|
23624
|
+
return t2;
|
|
23625
|
+
}
|
|
23626
|
+
function _objectSpread$2(e) {
|
|
23627
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
23628
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
23629
|
+
r % 2 ? ownKeys$2(Object(t2), true).forEach(function(r2) {
|
|
23630
|
+
_defineProperty$2(e, r2, t2[r2]);
|
|
23631
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$2(Object(t2)).forEach(function(r2) {
|
|
23632
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
23547
23633
|
});
|
|
23548
23634
|
}
|
|
23549
|
-
return
|
|
23635
|
+
return e;
|
|
23550
23636
|
}
|
|
23551
|
-
function _defineProperty$2(
|
|
23552
|
-
|
|
23553
|
-
|
|
23554
|
-
|
|
23555
|
-
|
|
23637
|
+
function _defineProperty$2(e, r, t2) {
|
|
23638
|
+
return (r = _toPropertyKey$2(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
23639
|
+
}
|
|
23640
|
+
function _toPropertyKey$2(t2) {
|
|
23641
|
+
var i = _toPrimitive$2(t2, "string");
|
|
23642
|
+
return "symbol" == _typeof$2(i) ? i : i + "";
|
|
23643
|
+
}
|
|
23644
|
+
function _toPrimitive$2(t2, r) {
|
|
23645
|
+
if ("object" != _typeof$2(t2) || !t2) return t2;
|
|
23646
|
+
var e = t2[Symbol.toPrimitive];
|
|
23647
|
+
if (void 0 !== e) {
|
|
23648
|
+
var i = e.call(t2, r);
|
|
23649
|
+
if ("object" != _typeof$2(i)) return i;
|
|
23650
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23556
23651
|
}
|
|
23557
|
-
return
|
|
23652
|
+
return ("string" === r ? String : Number)(t2);
|
|
23558
23653
|
}
|
|
23559
23654
|
function parsePhoneNumber(text2, options, metadata2) {
|
|
23560
23655
|
if (options && options.defaultCountry && !isSupportedCountry(options.defaultCountry, metadata2)) {
|
|
@@ -23571,34 +23666,51 @@ function parsePhoneNumber(text2, options, metadata2) {
|
|
|
23571
23666
|
}
|
|
23572
23667
|
}
|
|
23573
23668
|
}
|
|
23574
|
-
function
|
|
23575
|
-
|
|
23669
|
+
function _typeof$1(o) {
|
|
23670
|
+
"@babel/helpers - typeof";
|
|
23671
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23672
|
+
return typeof o2;
|
|
23673
|
+
} : function(o2) {
|
|
23674
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23675
|
+
}, _typeof$1(o);
|
|
23676
|
+
}
|
|
23677
|
+
function ownKeys$1(e, r) {
|
|
23678
|
+
var t2 = Object.keys(e);
|
|
23576
23679
|
if (Object.getOwnPropertySymbols) {
|
|
23577
|
-
var
|
|
23578
|
-
|
|
23579
|
-
return Object.getOwnPropertyDescriptor(
|
|
23580
|
-
})),
|
|
23581
|
-
}
|
|
23582
|
-
return
|
|
23583
|
-
}
|
|
23584
|
-
function _objectSpread$1(
|
|
23585
|
-
for (var
|
|
23586
|
-
var
|
|
23587
|
-
|
|
23588
|
-
_defineProperty$1(
|
|
23589
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
23590
|
-
Object.defineProperty(
|
|
23680
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
23681
|
+
r && (o = o.filter(function(r2) {
|
|
23682
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
23683
|
+
})), t2.push.apply(t2, o);
|
|
23684
|
+
}
|
|
23685
|
+
return t2;
|
|
23686
|
+
}
|
|
23687
|
+
function _objectSpread$1(e) {
|
|
23688
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
23689
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
23690
|
+
r % 2 ? ownKeys$1(Object(t2), true).forEach(function(r2) {
|
|
23691
|
+
_defineProperty$1(e, r2, t2[r2]);
|
|
23692
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys$1(Object(t2)).forEach(function(r2) {
|
|
23693
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
23591
23694
|
});
|
|
23592
23695
|
}
|
|
23593
|
-
return
|
|
23696
|
+
return e;
|
|
23594
23697
|
}
|
|
23595
|
-
function _defineProperty$1(
|
|
23596
|
-
|
|
23597
|
-
|
|
23598
|
-
|
|
23599
|
-
|
|
23698
|
+
function _defineProperty$1(e, r, t2) {
|
|
23699
|
+
return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
23700
|
+
}
|
|
23701
|
+
function _toPropertyKey$1(t2) {
|
|
23702
|
+
var i = _toPrimitive$1(t2, "string");
|
|
23703
|
+
return "symbol" == _typeof$1(i) ? i : i + "";
|
|
23704
|
+
}
|
|
23705
|
+
function _toPrimitive$1(t2, r) {
|
|
23706
|
+
if ("object" != _typeof$1(t2) || !t2) return t2;
|
|
23707
|
+
var e = t2[Symbol.toPrimitive];
|
|
23708
|
+
if (void 0 !== e) {
|
|
23709
|
+
var i = e.call(t2, r);
|
|
23710
|
+
if ("object" != _typeof$1(i)) return i;
|
|
23711
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23600
23712
|
}
|
|
23601
|
-
return
|
|
23713
|
+
return ("string" === r ? String : Number)(t2);
|
|
23602
23714
|
}
|
|
23603
23715
|
function isValidPhoneNumber$1() {
|
|
23604
23716
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -23608,34 +23720,51 @@ function isValidPhoneNumber$1() {
|
|
|
23608
23720
|
var phoneNumber = parsePhoneNumber(text2, options, metadata2);
|
|
23609
23721
|
return phoneNumber && phoneNumber.isValid() || false;
|
|
23610
23722
|
}
|
|
23611
|
-
function
|
|
23612
|
-
|
|
23723
|
+
function _typeof(o) {
|
|
23724
|
+
"@babel/helpers - typeof";
|
|
23725
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23726
|
+
return typeof o2;
|
|
23727
|
+
} : function(o2) {
|
|
23728
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23729
|
+
}, _typeof(o);
|
|
23730
|
+
}
|
|
23731
|
+
function ownKeys(e, r) {
|
|
23732
|
+
var t2 = Object.keys(e);
|
|
23613
23733
|
if (Object.getOwnPropertySymbols) {
|
|
23614
|
-
var
|
|
23615
|
-
|
|
23616
|
-
return Object.getOwnPropertyDescriptor(
|
|
23617
|
-
})),
|
|
23618
|
-
}
|
|
23619
|
-
return
|
|
23620
|
-
}
|
|
23621
|
-
function _objectSpread(
|
|
23622
|
-
for (var
|
|
23623
|
-
var
|
|
23624
|
-
|
|
23625
|
-
_defineProperty(
|
|
23626
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
23627
|
-
Object.defineProperty(
|
|
23734
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
23735
|
+
r && (o = o.filter(function(r2) {
|
|
23736
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
23737
|
+
})), t2.push.apply(t2, o);
|
|
23738
|
+
}
|
|
23739
|
+
return t2;
|
|
23740
|
+
}
|
|
23741
|
+
function _objectSpread(e) {
|
|
23742
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
23743
|
+
var t2 = null != arguments[r] ? arguments[r] : {};
|
|
23744
|
+
r % 2 ? ownKeys(Object(t2), true).forEach(function(r2) {
|
|
23745
|
+
_defineProperty(e, r2, t2[r2]);
|
|
23746
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t2)) : ownKeys(Object(t2)).forEach(function(r2) {
|
|
23747
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t2, r2));
|
|
23628
23748
|
});
|
|
23629
23749
|
}
|
|
23630
|
-
return
|
|
23750
|
+
return e;
|
|
23631
23751
|
}
|
|
23632
|
-
function _defineProperty(
|
|
23633
|
-
|
|
23634
|
-
|
|
23635
|
-
|
|
23636
|
-
|
|
23752
|
+
function _defineProperty(e, r, t2) {
|
|
23753
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t2, enumerable: true, configurable: true, writable: true }) : e[r] = t2, e;
|
|
23754
|
+
}
|
|
23755
|
+
function _toPropertyKey(t2) {
|
|
23756
|
+
var i = _toPrimitive(t2, "string");
|
|
23757
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
23758
|
+
}
|
|
23759
|
+
function _toPrimitive(t2, r) {
|
|
23760
|
+
if ("object" != _typeof(t2) || !t2) return t2;
|
|
23761
|
+
var e = t2[Symbol.toPrimitive];
|
|
23762
|
+
if (void 0 !== e) {
|
|
23763
|
+
var i = e.call(t2, r);
|
|
23764
|
+
if ("object" != _typeof(i)) return i;
|
|
23765
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
23637
23766
|
}
|
|
23638
|
-
return
|
|
23767
|
+
return ("string" === r ? String : Number)(t2);
|
|
23639
23768
|
}
|
|
23640
23769
|
function isPossiblePhoneNumber$1() {
|
|
23641
23770
|
var _normalizeArguments = normalizeArguments(arguments), text2 = _normalizeArguments.text, options = _normalizeArguments.options, metadata2 = _normalizeArguments.metadata;
|
|
@@ -24090,7 +24219,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24090
24219
|
]),
|
|
24091
24220
|
createElementVNode("div", _hoisted_11$1, [
|
|
24092
24221
|
createElementVNode("div", _hoisted_12$1, [
|
|
24093
|
-
!
|
|
24222
|
+
!__props.hideBack ? (openBlock(), createElementBlock("div", {
|
|
24094
24223
|
key: 0,
|
|
24095
24224
|
onClick: _cache[1] || (_cache[1] = ($event) => emits("back"))
|
|
24096
24225
|
}, [
|
|
@@ -24118,7 +24247,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24118
24247
|
}
|
|
24119
24248
|
});
|
|
24120
24249
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24121
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24250
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-DPtyg6To.js"));
|
|
24122
24251
|
const useSlidCaptcha = () => {
|
|
24123
24252
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24124
24253
|
const open = (config) => {
|
|
@@ -24137,7 +24266,7 @@ const useSlidCaptcha = () => {
|
|
|
24137
24266
|
close: unMount
|
|
24138
24267
|
};
|
|
24139
24268
|
};
|
|
24140
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
24269
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-BFMUY2xH.js"));
|
|
24141
24270
|
const useYunpianCaptcha = () => {
|
|
24142
24271
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
24143
24272
|
const open = (config) => {
|
|
@@ -24166,7 +24295,7 @@ const useYunpianCaptcha = () => {
|
|
|
24166
24295
|
const _sfc_main$3 = {};
|
|
24167
24296
|
const _hoisted_1$2 = { class: "content-loading" };
|
|
24168
24297
|
function _sfc_render(_ctx, _cache) {
|
|
24169
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2, _cache[0] || (_cache[0] = [
|
|
24298
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [..._cache[0] || (_cache[0] = [
|
|
24170
24299
|
createElementVNode("div", { class: "content-loading-title" }, [
|
|
24171
24300
|
createElementVNode("div", { class: "w-full flex-center" }, [
|
|
24172
24301
|
createElementVNode("img", {
|
|
@@ -24177,7 +24306,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
24177
24306
|
]),
|
|
24178
24307
|
createElementVNode("span", null, "loading...")
|
|
24179
24308
|
], -1)
|
|
24180
|
-
]));
|
|
24309
|
+
])]);
|
|
24181
24310
|
}
|
|
24182
24311
|
const ContentLoading = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render], ["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24183
24312
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -24193,15 +24322,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
24193
24322
|
setup(__props) {
|
|
24194
24323
|
return (_ctx, _cache) => {
|
|
24195
24324
|
return openBlock(), createElementBlock("div", {
|
|
24196
|
-
class: normalizeClass(["g-data-panel i-data-panel", { "g-card":
|
|
24325
|
+
class: normalizeClass(["g-data-panel i-data-panel", { "g-card": __props.card, "g-border": __props.border }])
|
|
24197
24326
|
}, [
|
|
24198
24327
|
renderSlot(_ctx.$slots, "header", {}, void 0, true),
|
|
24199
|
-
|
|
24200
|
-
|
|
24328
|
+
__props.loading ? renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
|
|
24329
|
+
__props.skeleton ? (openBlock(), createBlock(unref(Skeleton), {
|
|
24201
24330
|
key: 0,
|
|
24202
24331
|
class: "p-20",
|
|
24203
|
-
rows:
|
|
24204
|
-
}, null, 8, ["rows"])) :
|
|
24332
|
+
rows: __props.skeletonRow
|
|
24333
|
+
}, null, 8, ["rows"])) : __props.animation ? (openBlock(), createBlock(ContentLoading, {
|
|
24205
24334
|
key: 1,
|
|
24206
24335
|
name: "loading",
|
|
24207
24336
|
class: "w-full h-full flex-center"
|
|
@@ -25551,11 +25680,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25551
25680
|
modelValue: unref(vModels),
|
|
25552
25681
|
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => isRef(vModels) ? vModels.value = $event : null),
|
|
25553
25682
|
"show-close": false,
|
|
25554
|
-
"lock-scroll":
|
|
25555
|
-
draggable:
|
|
25556
|
-
escapable:
|
|
25683
|
+
"lock-scroll": __props.lockScroll,
|
|
25684
|
+
draggable: __props.draggable,
|
|
25685
|
+
escapable: __props.escapable,
|
|
25557
25686
|
"before-close": handleClose,
|
|
25558
|
-
"append-to-body":
|
|
25687
|
+
"append-to-body": __props.appendToBody,
|
|
25559
25688
|
class: normalizeClass([
|
|
25560
25689
|
"login-modal",
|
|
25561
25690
|
formType.value === "login" ? "login-modal-l" : "login-modal-r",
|
|
@@ -25791,7 +25920,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25791
25920
|
])
|
|
25792
25921
|
], 2),
|
|
25793
25922
|
createElementVNode("div", _hoisted_41, [
|
|
25794
|
-
|
|
25923
|
+
__props.openHarmonyGuide ? (openBlock(), createElementBlock("div", {
|
|
25795
25924
|
key: 0,
|
|
25796
25925
|
class: "text-[var(--theme-link)] flex items-center mt-[12px] cursor-pointer",
|
|
25797
25926
|
onClick: withModifiers(handleRegisterHarmony, ["stop"])
|
|
@@ -25892,7 +26021,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25892
26021
|
class: "login-modal-title flex-1"
|
|
25893
26022
|
}, null, 8, ["icon", "title", "show-title", "show-back"]),
|
|
25894
26023
|
createElementVNode("div", _hoisted_2, [
|
|
25895
|
-
|
|
26024
|
+
__props.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
|
|
25896
26025
|
key: 0,
|
|
25897
26026
|
onClick: onClickModalClose,
|
|
25898
26027
|
name: "gt-close",
|