Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@roundingwellos/libphonenumber-js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roundingwellos/libphonenumber-js - npm Package Compare versions

Comparing version 0.4.12 to 0.4.13

2

bundle/libphonenumber-js.min.js

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("libphonenumber",[],e):"object"==typeof exports?exports.libphonenumber=e():t.libphonenumber=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=38)}([function(t,e,n){"use strict";function r(t){return t[0]}function o(t){return t[1]}function i(t){return t[2]||[]}function a(t){return t[3]}function u(t){return t[4]}function _(t){var e=t[5];return e||(e=a(t)),e}function f(t){return t[6]}function c(t){return t[7]}function s(t){return t[8]}function l(t){return t[0]}function p(t){return t[1]}function d(t){return t[2]||[]}function h(t,e){return t[3]||u(e)}function m(t,e){return t[4]||c(e)}function y(t,e){var n=h(t,e);return n&&v(n)&&!m(t,e)}function v(t){return"$1"!==t&&/\d/.test(t.replace("$1",""))}function g(t){return t[5]||p(t)}function b(t,e){var n=e.country_phone_code_to_countries[t][0];return e.countries[n]}function x(t){return t[9]}function w(t,e){return x(t)?x(t)[e]:void 0}function O(t){return w(t,0)}function E(t){return w(t,1)}function $(t){return w(t,2)}function I(t){return w(t,3)}function P(t){return w(t,4)}function j(t){return w(t,5)}function R(t){return w(t,6)}function M(t){return w(t,7)}function T(t){return w(t,8)}function A(t){return w(t,9)}function S(t,e){return r(e[t])}Object.defineProperty(e,"__esModule",{value:!0}),e.get_phone_code=r,e.get_national_number_pattern=o,e.get_formats=i,e.get_national_prefix=a,e.get_national_prefix_formatting_rule=u,e.get_national_prefix_for_parsing=_,e.get_national_prefix_transform_rule=f,e.get_national_prefix_is_optional_when_formatting=c,e.get_leading_digits=s,e.get_format_pattern=l,e.get_format_format=p,e.get_format_leading_digits_patterns=d,e.get_format_national_prefix_formatting_rule=h,e.get_format_national_prefix_is_optional_when_formatting=m,e.get_format_national_prefix_is_mandatory_when_formatting=y,e.get_format_uses_national_prefix=v,e.get_format_international_format=g,e.get_metadata_by_country_phone_code=b,e.get_types=x,e.get_type_fixed_line=O,e.get_type_mobile=E,e.get_type_toll_free=$,e.get_type_premium_rate=I,e.get_type_personal_number=P,e.get_type_voice_mail=j,e.get_type_uan=R,e.get_type_pager=M,e.get_type_voip=T,e.get_type_shared_cost=A,e.get_country_phone_code=S},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(31)("wks"),o=n(33),i=n(2).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){var r=p(t,e,n),o=r.text,a=r.options,f=r.metadata;if(a||(a=(0,y.default)({},C)),a.country.default&&!f.countries[a.country.default])throw new Error("Unknown country code: "+a.country.default);if(a.country.restrict&&!f.countries[a.country.restrict])throw new Error("Unknown country code: "+a.country.restrict);var d=_(o);if(!u(d))return{};var h=c(d,f),m=h.country_phone_code,b=h.number;if(!b)return{};var x=void 0,w=void 0;if(m){if(!0,a.country.restrict&&m!==(0,g.get_phone_code)(f.countries[a.country.restrict]))return{};w=(0,g.get_metadata_by_country_phone_code)(m,f)}else(a.country.restrict||a.country.default)&&(x=a.country.restrict||a.country.default,w=f.countries[x],b=i(o));if(!w)return{};var O=s(b,w);if(!x){if(!(x=l(m,O,f)))return{};w=f.countries[x]}if(O.length>k)return{};var E=new RegExp((0,g.get_national_number_pattern)(w));return(0,v.matches_entirely)(O,E)?{country:x,phone:O}:{}}function i(t){return a(t,T)}function a(t,e){var n="",r=!0,o=!1,i=void 0;try{for(var a,u=(0,h.default)(t);!(r=(a=u.next()).done);r=!0){var _=a.value,f=e[_.toUpperCase()];void 0!==f&&(n+=f)}}catch(t){o=!0,i=t}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}function u(t){return t.length>=S&&(0,v.matches_entirely)(t,P)}function _(t){if(!t||t.length>L)return"";var e=t.search(j);return e<0?"":t.slice(e).replace(R,"")}function f(t){if(!t)return"";var e=M.test(t);return t=i(t),e?"+"+t:t}function c(t,e){if(!(t=f(t)))return{};if("+"!==t[0])return{number:t};if(t=t.slice(1),"0"===t[0])return{};for(var n=1;n<=A&&n<=t.length;){var r=t.slice(0,n);if(e.country_phone_code_to_countries[r])return{country_phone_code:r,number:t.slice(n)};n++}return{}}function s(t,e){var n=(0,g.get_national_prefix_for_parsing)(e);if(!t||!n)return t;var r=new RegExp("^(?:"+n+")"),o=r.exec(t);if(!o)return t;var i=void 0,a=o[o.length-1],u=(0,g.get_national_prefix_transform_rule)(e);i=u&&a?t.replace(r,u):t.slice(o[0].length);var _=new RegExp((0,g.get_national_number_pattern)(e));return(0,v.matches_entirely)(t,_)&&!(0,v.matches_entirely)(i,_)?t:i}function l(t,e,n){var r=n.country_phone_code_to_countries[t];if(1===r.length)return r[0];var o=!0,i=!1,a=void 0;try{for(var u,_=(0,h.default)(r);!(o=(u=_.next()).done);o=!0){var f=u.value,c=n.countries[f];if((0,g.get_leading_digits)(c)){if(e&&0===e.search((0,g.get_leading_digits)(c)))return f}else if((0,x.default)({phone:e,country:f},n))return f}}catch(t){i=!0,a=t}finally{try{!o&&_.return&&_.return()}finally{if(i)throw a}}}function p(t,e,n){var r=void 0,o=void 0,i=void 0;if("string"==typeof t&&(r=t),"string"==typeof e){var a=e;o=(0,y.default)({},C,{country:{restrict:a}}),i=n}else e&&e.countries?i=e:(o=e,i=n);if(!i)throw new Error("Metadata not passed");return{text:r,options:o,metadata:i}}Object.defineProperty(e,"__esModule",{value:!0}),e.VALID_PUNCTUATION=e.VALID_DIGITS=e.PLUS_CHARS=void 0,e.default=o,e.normalize=i,e.replace_characters=a,e.is_viable_phone_number=u,e.extract_formatted_phone_number=_,e.parse_phone_number=f,e.parse_phone_number_and_country_phone_code=c,e.strip_national_prefix=s,e.find_country_code=l;var d=n(15),h=r(d),m=n(43),y=r(m),v=n(7),g=n(0),b=(n(13),n(14)),x=r(b),w=e.PLUS_CHARS="++",O=e.VALID_DIGITS="0-90-9٠-٩۰-۹",E=e.VALID_PUNCTUATION="-‐-―−ー-//..  ­​⁠ ()()[]\\[\\]~⁓∼~",$="["+O+"]{"+S+"}",I="["+w+"]{0,1}(?:["+E+"]*["+O+"]){3,}["+E+O+"]*",P=new RegExp("^"+$+"$|^"+I+"$","i"),j=new RegExp("["+w+O+"]"),R=new RegExp("[^"+O+"]+$"),M=new RegExp("^["+w+"]+"),T={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},A=3,S=2,k=17,L=250,C={country:{}}},function(t,e,n){t.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(12),o=n(29);t.exports=n(5)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1];"string"==typeof e&&(e="^(?:"+e+")$");var n=t.match(e);return n&&n[0].length===t.length}Object.defineProperty(e,"__esModule",{value:!0}),e.matches_entirely=r},function(t,e,n){var r=n(18);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(2),o=n(1),i=n(52),a=n(6),u=function(t,e,n){var _,f,c,s=t&u.F,l=t&u.G,p=t&u.S,d=t&u.P,h=t&u.B,m=t&u.W,y=l?o:o[e]||(o[e]={}),v=y.prototype,g=l?r:p?r[e]:(r[e]||{}).prototype;l&&(n=e);for(_ in n)(f=!s&&g&&void 0!==g[_])&&_ in y||(c=f?g[_]:n[_],y[_]=l&&"function"!=typeof g[_]?n[_]:h&&f?i(c,r):m&&g[_]==c?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(c):d&&"function"==typeof c?i(Function.call,c):c,d&&((y.virtual||(y.virtual={}))[_]=c,t&u.R&&v&&!v[_]&&a(v,_,c)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports={}},function(t,e,n){var r=n(8),o=n(54),i=n(68),a=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";function r(t,e,n,r){var o=_(t,e,n,r),a=o.input,u=o.format_type,f=o.metadata,c=void 0;a.country&&(c=f.countries[a.country]);var s=(0,l.parse_phone_number_and_country_phone_code)(a.phone,f),d=s.country_phone_code,h=s.number;if(d){if(a.country&&c&&d!==(0,p.get_phone_code)(c))return a.phone;c=(0,p.get_metadata_by_country_phone_code)(d,f)}if(!c)return a.phone;switch(u){case"International":if(!h)return"+"+(0,p.get_phone_code)(c);var m=i(h,"International",!1,c);return"+"+(0,p.get_phone_code)(c)+" "+m;case"International_plaintext":return"+"+(0,p.get_phone_code)(c)+a.phone;case"National":return h?i(h,"National",!1,c):""}}function o(t,e,n,r,o){var i=new RegExp((0,p.get_format_pattern)(e)),a=(0,p.get_format_national_prefix_formatting_rule)(e,o),_=!a||a&&(0,p.get_format_national_prefix_is_optional_when_formatting)(e,o)&&!r;if(!n&&!_)return t.replace(i,(0,p.get_format_format)(e).replace(d,a));var f=t.replace(i,n?(0,p.get_format_international_format)(e):(0,p.get_format_format)(e));return n?u(f):f}function i(t,e,n,r){var i=a((0,p.get_formats)(r),t);return i?o(t,i,"International"===e,n,r):t}function a(t,e){var n=!0,r=!1,o=void 0;try{for(var i,a=(0,c.default)(t);!(n=(i=a.next()).done);n=!0){var u=i.value;if((0,p.get_format_leading_digits_patterns)(u).length>0){var _=(0,p.get_format_leading_digits_patterns)(u)[(0,p.get_format_leading_digits_patterns)(u).length-1];if(0!==e.search(_))continue}if((0,s.matches_entirely)(e,new RegExp((0,p.get_format_pattern)(u))))return u}}catch(t){r=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}}function u(t){return t.replace(/[\(\)]/g,"").replace(/\-/g," ").trim()}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1],n=arguments[2],r=arguments[3],o=void 0,i=void 0,a=void 0;if("string"==typeof t)if("string"==typeof n)o={phone:t,country:e},i=n,a=r;else{if(o={phone:t},"string"!=typeof e)throw new Error("Format type argument not passed for `format()`");i=e,a=n}else o=t,i=e,a=n;if(!a)throw new Error("Metadata not passed");switch(i){case"International":case"International_plaintext":case"National":break;default:throw new Error('Unknown format type argument passed to "format()": "'+i+'"')}return{input:o,format_type:i,metadata:a}}Object.defineProperty(e,"__esModule",{value:!0}),e.FIRST_GROUP_PATTERN=void 0,e.default=r,e.format_national_number_using_format=o,e.format_national_number=i,e.choose_format_for_number=a,e.local_to_international_style=u;var f=n(15),c=function(t){return t&&t.__esModule?t:{default:t}}(f),s=n(7),l=n(4),p=n(0),d=e.FIRST_GROUP_PATTERN=/(\$\d)/},function(t,e,n){"use strict";function r(t,e,n){var r=i(t,e,n),a=r.input,u=r.metadata;if(!u)throw new Error("Metadata not passed");if(a&&a.country){var _=a.phone,c=u.countries[a.country];if(o(_,(0,f.get_national_number_pattern)(c)))return o(_,(0,f.get_type_premium_rate)(c))?"PREMIUM_RATE":o(_,(0,f.get_type_toll_free)(c))?"TOLL_FREE":o(_,(0,f.get_type_shared_cost)(c))?"SHARED_COST":o(_,(0,f.get_type_voip)(c))?"VOIP":o(_,(0,f.get_type_personal_number)(c))?"PERSONAL_NUMBER":o(_,(0,f.get_type_pager)(c))?"PAGER":o(_,(0,f.get_type_uan)(c))?"UAN":o(_,(0,f.get_type_voice_mail)(c))?"VOICEMAIL":o(_,(0,f.get_type_fixed_line)(c))?(0,f.get_type_mobile)(c)?o(_,(0,f.get_type_mobile)(c))?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE":o(_,(0,f.get_type_mobile)(c))?"MOBILE":void 0}}function o(t,e){return(0,_.matches_entirely)(t,e)}function i(t,e,n){var r=void 0,o=void 0;return"string"==typeof t?"string"==typeof e?(o=n,(0,a.is_viable_phone_number)(t)&&(r=(0,u.default)(t,e,o))):(o=e,(0,a.is_viable_phone_number)(t)&&(r=(0,u.default)(t,o))):(t&&t.phone&&(0,a.is_viable_phone_number)(t.phone)&&(r=t),o=e),{input:r,metadata:o}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,e.is_of_type=o,e.sort_out_arguments=i;var a=n(4),u=function(t){return t&&t.__esModule?t:{default:t}}(a),_=n(7),f=n(0)},function(t,e,n){t.exports={default:n(44),__esModule:!0}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(31)("keys"),o=n(33);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(25),o=n(16);t.exports=function(t){return r(o(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(18),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(57),o=n(9),i=n(64),a=n(6),u=n(10),_=n(11),f=n(55),c=n(30),s=n(61),l=n(3)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,m,y,v){f(n,e,h);var g,b,x,w=function(t){if(!p&&t in I)return I[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",E="values"==m,$=!1,I=t.prototype,P=I[l]||I["@@iterator"]||m&&I[m],j=P||w(m),R=m?E?w("entries"):j:void 0,M="Array"==e?I.entries||P:P;if(M&&(x=s(M.call(new t)))!==Object.prototype&&(c(x,O,!0),r||u(x,l)||a(x,l,d)),E&&P&&"values"!==P.name&&($=!0,j=function(){return P.call(this)}),r&&!v||!p&&!$&&I[l]||a(I,l,j),_[e]=j,_[O]=d,m)if(g={values:E?j:w("values"),keys:y?j:w("keys"),entries:R},v)for(b in g)b in I||i(I,b,g[b]);else o(o.P+o.F*(p||$),e,g);return g}},function(t,e,n){var r=n(8),o=n(59),i=n(24),a=n(19)("IE_PROTO"),u=function(){},_=function(){var t,e=n(23)("iframe"),r=i.length;for(e.style.display="none",n(53).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),_=t.F;r--;)delete _.prototype[i[r]];return _()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=_(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(62),o=n(24);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(12).f,o=n(10),i=n(3)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(2),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports={country_phone_code_to_countries:{1:["US"],55:["BR"],91:["IN"]},countries:{BR:["55","[1-46-9]\\d{7,10}|5(?:[0-4]\\d{7,9}|5(?:[2-8]\\d{7}|9\\d{7,8}))",[["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[1-5]|7[13-579])9"],"($1)"],["(\\d{4})(\\d{4})","$1-$2",["(?:300|40(?:0|20))"]],["([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"]],"0",null,"0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",null,null,["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}","1[1-9](?:7|9\\d)\\d{7}|(?:2[12478]|3[1-578]|[4689][1-9]|5[13-5]|7[13-579])(?:[6-8]|9\\d?)\\d{7}","800\\d{6,7}","(?:300|[59]00\\d?)\\d{6}",null,null,null,null,null,"(?:300\\d(?:\\d{2})?|40(?:0\\d|20))\\d{4}"]],IN:["91","008\\d{9}|1\\d{7,12}|[2-9]\\d{9,10}",[["(\\d{5})(\\d{5})","$1 $2",["600|7(?:[02-8]|19|9[037-9])|8(?:0[015-9]|[1-9])|9","600|7(?:[078]|19[0-5]|2(?:[02356-9]|[14][017-9]|9[389])|3(?:[025-9]|1[07-9]|[34][017-9])|4(?:[0-35689]|[47][017-9])|5(?:[02346-9]|1[017-9]|5[017-9])|6(?:[02-9]|1[0-257-9])|9(?:[089]|31|7[02-9]))|8(?:0(?:[01589]|6[67]|7[02-9])|1(?:[0-57-9]|6[07-9])|2(?:0[07-9]|[14][07-9]|[235-9])|3(?:[03-57-9]|[126][07-9])|[45]|6(?:[02457-9]|[136][07-9])|7(?:[078][07-9]|[1-69])|8(?:[0-25-9]|3[07-9]|4[047-9])|9(?:[02-9]|1[027-9]))|9","600|7(?:0|19[0-5]|2(?:[0235679]|[14][017-9]|8(?:[0-569]|[78][089])|9[389])|3(?:[05-8]|1(?:[089]|7[5-9])|2(?:[5-8]|[0-49][089])|3[017-9]|4(?:[07-9]|11)|9(?:[01689]|[2345][089]|40|7[0189]))|4(?:[056]|1(?:[0135-9]|[23][089]|2[089]|4[089])|2(?:0[089]|[1-7][089]|[89])|3(?:[0-8][089]|9)|4(?:[089]|11|7[02-8])|7(?:[089]|11|7[02-8])|8(?:[0-24-7][089]|[389])|9(?:[0-7][089]|[89]))|5(?:[0346-9]|1[017-9]|2(?:[03-9]|[12][089])|5[017-9])|6(?:[0346-9]|1[0-257-9]|2(?:[0-4]\\d|[5-9][089])|5(?:[0-367][089]|[4589]))|7(?:0(?:[02-9]|1[089])|[1-9])|8(?:[0-79]|8(?:0[0189]|11|8[013-9]|9))|9(?:[089]|313|7(?:[02-8]|9[07-9])))|8(?:0(?:[01589]|6[67]|7(?:[02-8]|9[05-9]))|1(?:[02-57-9]|1(?:[0-35-9]|4[0-46-9])|6(?:[089]|7[02-8]))|2(?:0(?:[089]|7[02])|[14](?:[089]|7[02-8])|[235-9])|3(?:[0357-9]|1(?:[089]|7[02-6])|2(?:[09]|77|8[0-689])|4(?:0[1-7]|[1-9])|6(?:[089]|7[02-7]))|[45]|6(?:[02457-9]|1(?:[089]|7[02-8])|3(?:[089]|7[02-68])|6(?:[08]|7[02-8]|9[01]))|7(?:0[07-9]|[1-69]|7(?:[089]|7[02-8])|8(?:[089]|7[02-8]))|8(?:[0-25-9]|3(?:[089]|7[02-8])|4(?:[0489]|7[02-68]))|9(?:[02-9]|1(?:[0289]|7[2-6])))|9"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-9]|80[2-46]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[59][14]|7[1257]|[68][1-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|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]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2-4]1|5[17]|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[23579]|[468][1-9])|[2-8]"]],["(\\d{2})(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3 $4",["008"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],"$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["160","1600"],"$1"],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],"$1"],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["180","1800"],"$1"],["(\\d{4})(\\d{3,4})(\\d{4})","$1 $2 $3",["186","1860"],"$1"],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18[06]"],"$1"]],"0","0$1",null,null,!0,null,["(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|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]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}","(?:600[1-3]\\d|7(?:0\\d{3}|19[0-5]\\d|2(?:[0235679]\\d{2}|[14][017-9]\\d|8(?:[0-59]\\d|[678][089]))|3(?:[05-8]\\d{2}|1(?:[089]\\d|7[5-8])|2(?:[0-49][089]|[5-8]\\d)|3[017-9]\\d|4(?:[07-9]\\d|11)|9(?:[016-9]\\d|[2-5][089]))|4(?:0\\d{2}|1(?:[015-9]\\d|[23][089]|4[089])|2(?:0[089]|[1-7][089]|[89]\\d)|3(?:[0-8][089]|9\\d)|4(?:[089]\\d|11|7[02-8])|[56]\\d[089]|7(?:[089]\\d|11|7[02-8])|8(?:[0-24-7][089]|[389]\\d)|9(?:[0-6][089]|7[089]|[89]\\d))|5(?:[0346-8]\\d{2}|1(?:[07-9]\\d|11)|2(?:[04-9]\\d|[123][089])|5[017-9]\\d|9(?:[0-6][089]|[7-9]\\d))|6(?:0(?:[0-47]\\d|[5689][089])|(?:1[0-257-9]|[6-9]\\d)\\d|2(?:[0-4]\\d|[5-9][089])|3(?:[02-8][089]|[19]\\d)|4\\d[089]|5(?:[0-367][089]|[4589]\\d))|7(?:0(?:0[02-9]|[13-6][089]|[289]\\d|7[89])|[1-9]\\d{2})|8(?:[0-79]\\d{2}|8(?:[089]\\d|11|7[02-9]))|9(?:[089]\\d{2}|313|7(?:[02-8]\\d|9[07-9])))|8(?:0(?:[01589]\\d{2}|6[67]\\d|7(?:[02-8]\\d|9[05-9]))|1(?:[02-57-9]\\d{2}|1(?:[0-35-9]\\d|4[0-46-9])|6(?:[089]\\d|7[02-8]))|2(?:0(?:[089]\\d|7[02])|[14](?:[089]\\d|7[02-8])|[235-9]\\d{2})|3(?:[0357-9]\\d{2}|1(?:[089]\\d|7[02-6])|2(?:[09]\\d|77|8[0-689])|4(?:0[1-7]|[1-9]\\d)|6(?:[089]\\d|7[02-7]))|[45]\\d{3}|6(?:[02457-9]\\d{2}|1(?:[089]\\d|7[02-8])|3(?:[089]\\d|7[02-68])|6(?:[08]\\d|7[02-8]|9[01]))|7(?:0[07-9]\\d|[1-69]\\d{2}|[78](?:[089]\\d|7[02-8]))|8(?:[0-25-9]\\d{2}|3(?:[089]\\d|7[02-8])|4(?:[0489]\\d|7[02-68]))|9(?:[02-9]\\d{2}|1(?:[0289]\\d|7[2-6])))|9\\d{4})\\d{5}","00800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))","186[12]\\d{9}",null,null,"140\\d{7}",null,null,"1860\\d{7}"]],US:["1","[2-9]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,!0,null,["(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[012])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}",null,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}","900[2-9]\\d{6}","5(?:00|22|33|44|66|77|88)[2-9]\\d{6}"]]}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){for(var n=t.slice(0,e),r=i("(",n),o=i(")",n),a=r-o;a>0&&e<t.length;)")"===t[e]&&a--,e++;return t.slice(0,e)}function i(t,e){var n=0,r=!0,o=!1,i=void 0;try{for(var a,u=(0,_.default)(e);!(r=(a=u.next()).done);r=!0){a.value===t&&n++}}catch(t){o=!0,i=t}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}function a(t,e){if(e<1)return"";for(var n="";e>1;)1&e&&(n+=t),e>>=1,t+=t;return n+t}Object.defineProperty(e,"__esModule",{value:!0}),e.DIGIT_PLACEHOLDER=void 0,e.close_dangling_braces=o,e.count_occurences=i,e.repeat=a;var u=n(15),_=r(u),f=n(41),c=r(f),s=n(42),l=r(s),p=n(0),d=n(4),h=n(13),m=n(7),y=new RegExp("9","g"),v=a("9",15),g=e.DIGIT_PLACEHOLDER="x",b=new RegExp(g),x=new RegExp(g,"g"),w=/\[([^\[\]])*\]/g,O=/\d(?=[^,}][^,}])/g,E=new RegExp("^["+d.VALID_PUNCTUATION+"]*(\\$\\d["+d.VALID_PUNCTUATION+"]*)+$"),$="["+d.PLUS_CHARS+"]{0,1}["+d.VALID_PUNCTUATION+d.VALID_DIGITS+"]*",I=new RegExp("^"+$+"$","i"),P=function(){function t(e,n){if((0,c.default)(this,t),!n)throw new Error("Metadata not passed");e&&n.countries[e]&&(this.default_country=e),this.metadata=n,this.reset()}return(0,l.default)(t,[{key:"input",value:function(t){var e=(0,d.extract_formatted_phone_number)(t);return e||t&&t.indexOf("+")>=0&&(e="+"),(0,m.matches_entirely)(e,I)?this.process_input((0,d.parse_phone_number)(e)):this.current_output}},{key:"process_input",value:function(t){if("+"===t[0]&&(this.parsed_input||(this.parsed_input+="+",this.reset_countriness()),t=t.slice(1)),this.parsed_input+=t,this.national_number+=t,this.is_international())if(this.country_phone_code)this.country||this.determine_the_country();else{if(!this.extract_country_phone_code())return this.parsed_input;this.initialize_phone_number_formats_for_this_country_phone_code(),this.reset_format(),this.determine_the_country()}else{var e=this.national_prefix;this.national_number=this.national_prefix+this.national_number,this.extract_national_prefix(),this.national_prefix!==e&&(this.matching_formats=this.available_formats,this.reset_format())}this.match_formats_by_leading_digits();var n=this.format_national_phone_number(t);return n?this.full_phone_number(n):this.parsed_input}},{key:"format_national_phone_number",value:function(t){var e=void 0;this.chosen_format&&(e=this.format_next_national_number_digits(t));var n=this.attempt_to_format_complete_phone_number();return n||(this.choose_another_format()?this.reformat_national_number():e)}},{key:"reset",value:function(){return this.parsed_input="",this.current_output="",this.national_prefix="",this.national_number="",this.reset_countriness(),this.reset_format(),this}},{key:"reset_country",value:function(){this.default_country&&!this.is_international()?this.country=this.default_country:this.country=void 0}},{key:"reset_countriness",value:function(){this.reset_country(),this.default_country&&!this.is_international()?(this.country_metadata=this.metadata.countries[this.default_country],this.country_phone_code=this.country_metadata.phone_code,this.initialize_phone_number_formats_for_this_country_phone_code()):(this.country_metadata=void 0,this.country_phone_code=void 0,this.available_formats=[],this.matching_formats=this.available_formats)}},{key:"reset_format",value:function(){this.chosen_format=void 0,this.template=void 0,this.partially_populated_template=void 0,this.last_match_position=-1}},{key:"reformat_national_number",value:function(){return this.format_next_national_number_digits(this.national_number)}},{key:"initialize_phone_number_formats_for_this_country_phone_code",value:function(){this.available_formats=(0,p.get_formats)(this.country_metadata).filter(function(t){return E.test((0,p.get_format_international_format)(t))}),this.matching_formats=this.available_formats}},{key:"match_formats_by_leading_digits",value:function(){var t=this.national_number,e=t.length-3;e<0&&(e=0),this.matching_formats=this.get_relevant_phone_number_formats().filter(function(n){var r=(0,p.get_format_leading_digits_patterns)(n).length;if(0===r)return!0;var o=Math.min(e,r-1),i=(0,p.get_format_leading_digits_patterns)(n)[o];return new RegExp("^("+i+")").test(t)}),this.chosen_format&&-1===this.matching_formats.indexOf(this.chosen_format)&&this.reset_format()}},{key:"get_relevant_phone_number_formats",value:function(){return this.national_number.length<=3?this.available_formats:this.matching_formats}},{key:"attempt_to_format_complete_phone_number",value:function(){var t=!0,e=!1,n=void 0;try{for(var r,o=(0,_.default)(this.get_relevant_phone_number_formats());!(t=(r=o.next()).done);t=!0){var i=r.value;if(new RegExp("^(?:"+(0,p.get_format_pattern)(i)+")$").test(this.national_number)&&this.validate_format(i)){this.reset_format(),this.chosen_format=i;var a=(0,h.format_national_number_using_format)(this.national_number,i,this.is_international(),this.national_prefix.length>0,this.country_metadata);if(this.create_formatting_template(i))this.reformat_national_number();else{var u=this.full_phone_number(a);this.template=u.replace(/[\d\+]/g,g),this.partially_populated_template=u}return a}}}catch(t){e=!0,n=t}finally{try{!t&&o.return&&o.return()}finally{if(e)throw n}}}},{key:"full_phone_number",value:function(t){return this.is_international()?"+"+this.country_phone_code+" "+t:t}},{key:"extract_country_phone_code",value:function(){if(this.national_number){var t=(0,d.parse_phone_number_and_country_phone_code)(this.parsed_input,this.metadata),e=t.country_phone_code,n=t.number;if(e)return this.country_phone_code=e,this.national_number=n,this.country_metadata=(0,p.get_metadata_by_country_phone_code)(e,this.metadata)}}},{key:"extract_national_prefix",value:function(){if(this.national_prefix="",this.country_metadata){var t=(0,d.strip_national_prefix)(this.national_number,this.country_metadata);return t!==this.national_number&&(this.national_prefix=this.national_number.slice(0,this.national_number.length-t.length),this.national_number=t),this.national_prefix}}},{key:"choose_another_format",value:function(){var t=!0,e=!1,n=void 0;try{for(var r,o=(0,_.default)(this.get_relevant_phone_number_formats());!(t=(r=o.next()).done);t=!0){var i=r.value;if(this.chosen_format===i)return;if(this.validate_format(i)&&this.create_formatting_template(i))return this.chosen_format=i,this.last_match_position=-1,!0}}catch(t){e=!0,n=t}finally{try{!t&&o.return&&o.return()}finally{if(e)throw n}}this.reset_country(),this.reset_format()}},{key:"validate_format",value:function(t){if(this.is_international()||this.national_prefix||!(0,p.get_format_national_prefix_is_mandatory_when_formatting)(t,this.country_metadata))return!0}},{key:"create_formatting_template",value:function(t){if(!((0,p.get_format_pattern)(t).indexOf("|")>=0)){var e=(0,p.get_format_national_prefix_formatting_rule)(t,this.country_metadata),n=(0,p.get_format_pattern)(t).replace(w,"\\d").replace(O,"\\d"),r=v.match(n)[0];if(!(this.national_number.length>r.length)){var o=this.get_format_format(t);e&&(!this.national_prefix&&(0,p.get_format_uses_national_prefix)(e)||(o=o.replace(h.FIRST_GROUP_PATTERN,e)));var i=r.replace(new RegExp(n,"g"),o).replace(y,g);return this.partially_populated_template=i,i=this.is_international()?g+a(g,this.country_phone_code.length)+" "+i:i.replace(/\d/g,g),this.template=i}}}},{key:"format_next_national_number_digits",value:function(t){var e=!0,n=!1,r=void 0;try{for(var i,a=(0,_.default)(t);!(e=(i=a.next()).done);e=!0){var u=i.value;if(-1===this.partially_populated_template.slice(this.last_match_position+1).search(b))return this.chosen_format=void 0,this.template=void 0,void(this.partially_populated_template=void 0);this.last_match_position=this.partially_populated_template.search(b),this.partially_populated_template=this.partially_populated_template.replace(b,u)}}catch(t){n=!0,r=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw r}}return o(this.partially_populated_template,this.last_match_position+1).replace(x," ")}},{key:"is_international",value:function(){return this.parsed_input&&"+"===this.parsed_input[0]}},{key:"get_format_format",value:function(t){return this.is_international()?(0,h.local_to_international_style)((0,p.get_format_international_format)(t)):(0,p.get_format_format)(t)}},{key:"determine_the_country",value:function(){this.country=(0,d.find_country_code)(this.country_phone_code,this.national_number,this.metadata)}}]),t}();e.default=P},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){var r=(0,a.sort_out_arguments)(t,e,n),o=r.input,i=r.metadata;if(!i)throw new Error("Metadata not passed");if(!o)return!1;if(!o.country)return!1;var f=i.countries[o.country];return!((0,_.get_types)(f)&&!(0,u.default)(o,i))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(4),a=(r(i),n(14)),u=r(a),_=n(0)},function(t,e,n){t.exports={default:n(46),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){var t=Array.prototype.slice.call(arguments);return t.push(w.default),O.default.apply(this,t)}function i(){var t=Array.prototype.slice.call(arguments);return t.push(w.default),$.default.apply(this,t)}function a(){var t=Array.prototype.slice.call(arguments);return t.push(w.default),E.default.apply(this,t)}function u(){return _.apply(this,arguments)}function _(){var t=Array.prototype.slice.call(arguments);return t.push(w.default),I.default.apply(this,t)}function f(){return _.apply(this,arguments)}function c(t){P.default.call(this,t,w.default)}function s(t){P.default.call(this,t,w.default)}function l(t){return p(t,w.default)}function p(t,e){if(!e.countries[t])throw new Error('Unknown country: "'+t+'"');return(0,j.get_phone_code)(e.countries[t])}Object.defineProperty(e,"__esModule",{value:!0}),e.DIGIT_PLACEHOLDER=e.asYouTypeCustom=e.getNumberTypeCustom=e.isValidNumberCustom=e.formatCustom=e.parseCustom=void 0;var d=n(37),h=r(d);e.parse=o,e.format=i,e.get_number_type=a,e.getNumberType=u,e.is_valid_number=_,e.isValidNumber=f,e.as_you_type=c,e.asYouType=s;var m=n(4);Object.defineProperty(e,"parseCustom",{enumerable:!0,get:function(){return r(m).default}});var y=n(13);Object.defineProperty(e,"formatCustom",{enumerable:!0,get:function(){return r(y).default}});var v=n(36);Object.defineProperty(e,"isValidNumberCustom",{enumerable:!0,get:function(){return r(v).default}});var g=n(14);Object.defineProperty(e,"getNumberTypeCustom",{enumerable:!0,get:function(){return r(g).default}});var b=n(35);Object.defineProperty(e,"asYouTypeCustom",{enumerable:!0,get:function(){return r(b).default}}),Object.defineProperty(e,"DIGIT_PLACEHOLDER",{enumerable:!0,get:function(){return b.DIGIT_PLACEHOLDER}}),e.getPhoneCode=l,e.getPhoneCodeCustom=p;var x=n(34),w=r(x),O=r(m),E=r(g),$=r(y),I=r(v),P=r(b),j=n(0);c.prototype=(0,h.default)(P.default.prototype,{}),c.prototype.constructor=c,s.prototype=(0,h.default)(P.default.prototype,{}),s.prototype.constructor=s},function(t,e,n){t.exports={default:n(45),__esModule:!0}},function(t,e,n){t.exports={default:n(47),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(40),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){"use strict";e.__esModule=!0;var r=n(39),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){n(76),n(75),t.exports=n(70)},function(t,e,n){n(72),t.exports=n(1).Object.assign},function(t,e,n){n(73);var r=n(1).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){n(74);var r=n(1).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(21),o=n(67),i=n(66);t.exports=function(t){return function(e,n,a){var u,_=r(e),f=o(_.length),c=i(a,f);if(t&&n!=n){for(;f>c;)if((u=_[c++])!=u)return!0}else for(;f>c;c++)if((t||c in _)&&_[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){var r=n(22),o=n(3)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(48);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){t.exports=n(2).document&&document.documentElement},function(t,e,n){t.exports=!n(5)&&!n(17)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(27),o=n(29),i=n(30),a={};n(6)(a,n(3)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e){t.exports=!0},function(t,e,n){"use strict";var r=n(28),o=n(60),i=n(63),a=n(32),u=n(25),_=Object.assign;t.exports=!_||n(17)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=_({},t)[n]||Object.keys(_({},e)).join("")!=r})?function(t,e){for(var n=a(t),_=arguments.length,f=1,c=o.f,s=i.f;_>f;)for(var l,p=u(arguments[f++]),d=c?r(p).concat(c(p)):r(p),h=d.length,m=0;h>m;)s.call(p,l=d[m++])&&(n[l]=p[l]);return n}:_},function(t,e,n){var r=n(12),o=n(8),i=n(28);t.exports=n(5)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,_=0;u>_;)r.f(t,n=a[_++],e[n]);return t}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(10),o=n(32),i=n(19)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(10),o=n(21),i=n(50)(!1),a=n(19)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),_=0,f=[];for(n in u)n!=a&&r(u,n)&&f.push(n);for(;e.length>_;)r(u,n=e[_++])&&(~i(f,n)||f.push(n));return f}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){t.exports=n(6)},function(t,e,n){var r=n(20),o=n(16);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),_=r(n),f=u.length;return _<0||_>=f?t?"":void 0:(i=u.charCodeAt(_),i<55296||i>56319||_+1===f||(a=u.charCodeAt(_+1))<56320||a>57343?t?u.charAt(_):i:t?u.slice(_,_+2):a-56320+(i-55296<<10)+65536)}}},function(t,e,n){var r=n(20),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(18);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(51),o=n(3)("iterator"),i=n(11);t.exports=n(1).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(8),o=n(69);t.exports=n(1).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){"use strict";var r=n(49),o=n(56),i=n(11),a=n(21);t.exports=n(26)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(9);r(r.S+r.F,"Object",{assign:n(58)})},function(t,e,n){var r=n(9);r(r.S,"Object",{create:n(27)})},function(t,e,n){var r=n(9);r(r.S+r.F*!n(5),"Object",{defineProperty:n(12).f})},function(t,e,n){"use strict";var r=n(65)(!0);n(26)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(71);for(var r=n(2),o=n(6),i=n(11),a=n(3)("toStringTag"),u=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],_=0;_<5;_++){var f=u[_],c=r[f],s=c&&c.prototype;s&&!s[a]&&o(s,a,f),i[f]=i.Array}}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("libphonenumber",[],e):"object"==typeof exports?exports.libphonenumber=e():t.libphonenumber=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=38)}([function(t,e,n){"use strict";function r(t){return t[0]}function o(t){return t[1]}function i(t){return t[2]||[]}function a(t){return t[3]}function u(t){return t[4]}function _(t){var e=t[5];return e||(e=a(t)),e}function f(t){return t[6]}function c(t){return t[7]}function s(t){return t[8]}function l(t){return t[0]}function p(t){return t[1]}function d(t){return t[2]||[]}function h(t,e){return t[3]||u(e)}function m(t,e){return t[4]||c(e)}function y(t,e){var n=h(t,e);return n&&v(n)&&!m(t,e)}function v(t){return"$1"!==t&&/\d/.test(t.replace("$1",""))}function g(t){return t[5]||p(t)}function b(t,e){var n=e.country_phone_code_to_countries[t][0];return e.countries[n]}function x(t){return t[9]}function w(t,e){return x(t)?x(t)[e]:void 0}function O(t){return w(t,0)}function E(t){return w(t,1)}function $(t){return w(t,2)}function I(t){return w(t,3)}function P(t){return w(t,4)}function j(t){return w(t,5)}function R(t){return w(t,6)}function M(t){return w(t,7)}function T(t){return w(t,8)}function A(t){return w(t,9)}function S(t,e){return r(e[t])}Object.defineProperty(e,"__esModule",{value:!0}),e.get_phone_code=r,e.get_national_number_pattern=o,e.get_formats=i,e.get_national_prefix=a,e.get_national_prefix_formatting_rule=u,e.get_national_prefix_for_parsing=_,e.get_national_prefix_transform_rule=f,e.get_national_prefix_is_optional_when_formatting=c,e.get_leading_digits=s,e.get_format_pattern=l,e.get_format_format=p,e.get_format_leading_digits_patterns=d,e.get_format_national_prefix_formatting_rule=h,e.get_format_national_prefix_is_optional_when_formatting=m,e.get_format_national_prefix_is_mandatory_when_formatting=y,e.get_format_uses_national_prefix=v,e.get_format_international_format=g,e.get_metadata_by_country_phone_code=b,e.get_types=x,e.get_type_fixed_line=O,e.get_type_mobile=E,e.get_type_toll_free=$,e.get_type_premium_rate=I,e.get_type_personal_number=P,e.get_type_voice_mail=j,e.get_type_uan=R,e.get_type_pager=M,e.get_type_voip=T,e.get_type_shared_cost=A,e.get_country_phone_code=S},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(31)("wks"),o=n(33),i=n(2).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){var r=p(t,e,n),o=r.text,a=r.options,f=r.metadata;if(a||(a=(0,y.default)({},C)),a.country.default&&!f.countries[a.country.default])throw new Error("Unknown country code: "+a.country.default);if(a.country.restrict&&!f.countries[a.country.restrict])throw new Error("Unknown country code: "+a.country.restrict);var d=_(o);if(!u(d))return{};var h=c(d,f),m=h.country_phone_code,b=h.number;if(!b)return{};var x=void 0,w=void 0;if(m){if(!0,a.country.restrict&&m!==(0,g.get_phone_code)(f.countries[a.country.restrict]))return{};w=(0,g.get_metadata_by_country_phone_code)(m,f)}else(a.country.restrict||a.country.default)&&(x=a.country.restrict||a.country.default,w=f.countries[x],b=i(o));if(!w)return{};var O=s(b,w);if(!x){if(!(x=l(m,O,f)))return{};w=f.countries[x]}if(O.length>k)return{};var E=new RegExp((0,g.get_national_number_pattern)(w));return(0,v.matches_entirely)(O,E)?{country:x,phone:O}:{}}function i(t){return a(t,T)}function a(t,e){var n="",r=!0,o=!1,i=void 0;try{for(var a,u=(0,h.default)(t);!(r=(a=u.next()).done);r=!0){var _=a.value,f=e[_.toUpperCase()];void 0!==f&&(n+=f)}}catch(t){o=!0,i=t}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}function u(t){return t.length>=S&&(0,v.matches_entirely)(t,P)}function _(t){if(!t||t.length>L)return"";var e=t.search(j);return e<0?"":t.slice(e).replace(R,"")}function f(t){if(!t)return"";var e=M.test(t);return t=i(t),e?"+"+t:t}function c(t,e){if(!(t=f(t)))return{};if("+"!==t[0])return{number:t};if(t=t.slice(1),"0"===t[0])return{};for(var n=1;n<=A&&n<=t.length;){var r=t.slice(0,n);if(e.country_phone_code_to_countries[r])return{country_phone_code:r,number:t.slice(n)};n++}return{}}function s(t,e){var n=(0,g.get_national_prefix_for_parsing)(e);if(!t||!n)return t;var r=new RegExp("^(?:"+n+")"),o=r.exec(t);if(!o)return t;var i=void 0,a=o[o.length-1],u=(0,g.get_national_prefix_transform_rule)(e);i=u&&a?t.replace(r,u):t.slice(o[0].length);var _=new RegExp((0,g.get_national_number_pattern)(e));return(0,v.matches_entirely)(t,_)&&!(0,v.matches_entirely)(i,_)?t:i}function l(t,e,n){var r=n.country_phone_code_to_countries[t];if(1===r.length)return r[0];var o=!0,i=!1,a=void 0;try{for(var u,_=(0,h.default)(r);!(o=(u=_.next()).done);o=!0){var f=u.value,c=n.countries[f];if((0,g.get_leading_digits)(c)){if(e&&0===e.search((0,g.get_leading_digits)(c)))return f}else if((0,x.default)({phone:e,country:f},n))return f}}catch(t){i=!0,a=t}finally{try{!o&&_.return&&_.return()}finally{if(i)throw a}}}function p(t,e,n){var r=void 0,o=void 0,i=void 0;if("string"==typeof t&&(r=t),"string"==typeof e){var a=e;o=(0,y.default)({},C,{country:{restrict:a}}),i=n}else e&&e.countries?i=e:(o=e,i=n);if(!i)throw new Error("Metadata not passed");return{text:r,options:o,metadata:i}}Object.defineProperty(e,"__esModule",{value:!0}),e.VALID_PUNCTUATION=e.VALID_DIGITS=e.PLUS_CHARS=void 0,e.default=o,e.normalize=i,e.replace_characters=a,e.is_viable_phone_number=u,e.extract_formatted_phone_number=_,e.parse_phone_number=f,e.parse_phone_number_and_country_phone_code=c,e.strip_national_prefix=s,e.find_country_code=l;var d=n(15),h=r(d),m=n(43),y=r(m),v=n(7),g=n(0),b=(n(13),n(14)),x=r(b),w=e.PLUS_CHARS="++",O=e.VALID_DIGITS="0-90-9٠-٩۰-۹",E=e.VALID_PUNCTUATION="-‐-―−ー-//..  ­​⁠ ()()[]\\[\\]~⁓∼~",$="["+O+"]{"+S+"}",I="["+w+"]{0,1}(?:["+E+"]*["+O+"]){3,}["+E+O+"]*",P=new RegExp("^"+$+"$|^"+I+"$","i"),j=new RegExp("["+w+O+"]"),R=new RegExp("[^"+O+"]+$"),M=new RegExp("^["+w+"]+"),T={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},A=3,S=2,k=17,L=250,C={country:{}}},function(t,e,n){t.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(12),o=n(29);t.exports=n(5)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1];"string"==typeof e&&(e="^(?:"+e+")$");var n=t.match(e);return n&&n[0].length===t.length}Object.defineProperty(e,"__esModule",{value:!0}),e.matches_entirely=r},function(t,e,n){var r=n(18);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(2),o=n(1),i=n(52),a=n(6),u=function(t,e,n){var _,f,c,s=t&u.F,l=t&u.G,p=t&u.S,d=t&u.P,h=t&u.B,m=t&u.W,y=l?o:o[e]||(o[e]={}),v=y.prototype,g=l?r:p?r[e]:(r[e]||{}).prototype;l&&(n=e);for(_ in n)(f=!s&&g&&void 0!==g[_])&&_ in y||(c=f?g[_]:n[_],y[_]=l&&"function"!=typeof g[_]?n[_]:h&&f?i(c,r):m&&g[_]==c?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(c):d&&"function"==typeof c?i(Function.call,c):c,d&&((y.virtual||(y.virtual={}))[_]=c,t&u.R&&v&&!v[_]&&a(v,_,c)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports={}},function(t,e,n){var r=n(8),o=n(54),i=n(68),a=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";function r(t,e,n,r){var o=_(t,e,n,r),a=o.input,u=o.format_type,f=o.metadata,c=void 0;a.country&&(c=f.countries[a.country]);var s=(0,l.parse_phone_number_and_country_phone_code)(a.phone,f),d=s.country_phone_code,h=s.number;if(d){if(a.country&&c&&d!==(0,p.get_phone_code)(c))return a.phone;c=(0,p.get_metadata_by_country_phone_code)(d,f)}if(!c)return a.phone;switch(u){case"International":if(!h)return"+"+(0,p.get_phone_code)(c);var m=i(h,"International",!1,c);return"+"+(0,p.get_phone_code)(c)+" "+m;case"International_plaintext":return"+"+(0,p.get_phone_code)(c)+a.phone;case"National":return h?i(h,"National",!1,c):""}}function o(t,e,n,r,o){var i=new RegExp((0,p.get_format_pattern)(e)),a=(0,p.get_format_national_prefix_formatting_rule)(e,o),_=!a||a&&(0,p.get_format_national_prefix_is_optional_when_formatting)(e,o)&&!r;if(!n&&!_)return t.replace(i,(0,p.get_format_format)(e).replace(d,a));var f=t.replace(i,n?(0,p.get_format_international_format)(e):(0,p.get_format_format)(e));return n?u(f):f}function i(t,e,n,r){var i=a((0,p.get_formats)(r),t);return i?o(t,i,"International"===e,n,r):t}function a(t,e){var n=!0,r=!1,o=void 0;try{for(var i,a=(0,c.default)(t);!(n=(i=a.next()).done);n=!0){var u=i.value;if((0,p.get_format_leading_digits_patterns)(u).length>0){var _=(0,p.get_format_leading_digits_patterns)(u)[(0,p.get_format_leading_digits_patterns)(u).length-1];if(0!==e.search(_))continue}if((0,s.matches_entirely)(e,new RegExp((0,p.get_format_pattern)(u))))return u}}catch(t){r=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}}function u(t){return t.replace(/[\(\)]/g,"").replace(/\-/g," ").trim()}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1],n=arguments[2],r=arguments[3],o=void 0,i=void 0,a=void 0;if("string"==typeof t)if("string"==typeof n)o={phone:t,country:e},i=n,a=r;else{if(o={phone:t},"string"!=typeof e)throw new Error("Format type argument not passed for `format()`");i=e,a=n}else o=t,i=e,a=n;if(!a)throw new Error("Metadata not passed");switch(i){case"International":case"International_plaintext":case"National":break;default:throw new Error('Unknown format type argument passed to "format()": "'+i+'"')}return{input:o,format_type:i,metadata:a}}Object.defineProperty(e,"__esModule",{value:!0}),e.FIRST_GROUP_PATTERN=void 0,e.default=r,e.format_national_number_using_format=o,e.format_national_number=i,e.choose_format_for_number=a,e.local_to_international_style=u;var f=n(15),c=function(t){return t&&t.__esModule?t:{default:t}}(f),s=n(7),l=n(4),p=n(0),d=e.FIRST_GROUP_PATTERN=/(\$\d)/},function(t,e,n){"use strict";function r(t,e,n){var r=i(t,e,n),a=r.input,u=r.metadata;if(!u)throw new Error("Metadata not passed");if(a&&a.country){var _=a.phone,c=u.countries[a.country];if(o(_,(0,f.get_national_number_pattern)(c)))return o(_,(0,f.get_type_premium_rate)(c))?"PREMIUM_RATE":o(_,(0,f.get_type_toll_free)(c))?"TOLL_FREE":o(_,(0,f.get_type_shared_cost)(c))?"SHARED_COST":o(_,(0,f.get_type_voip)(c))?"VOIP":o(_,(0,f.get_type_personal_number)(c))?"PERSONAL_NUMBER":o(_,(0,f.get_type_pager)(c))?"PAGER":o(_,(0,f.get_type_uan)(c))?"UAN":o(_,(0,f.get_type_voice_mail)(c))?"VOICEMAIL":o(_,(0,f.get_type_fixed_line)(c))?(0,f.get_type_mobile)(c)?o(_,(0,f.get_type_mobile)(c))?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE":o(_,(0,f.get_type_mobile)(c))?"MOBILE":void 0}}function o(t,e){return(0,_.matches_entirely)(t,e)}function i(t,e,n){var r=void 0,o=void 0;return"string"==typeof t?"string"==typeof e?(o=n,(0,a.is_viable_phone_number)(t)&&(r=(0,u.default)(t,e,o))):(o=e,(0,a.is_viable_phone_number)(t)&&(r=(0,u.default)(t,o))):(t&&t.phone&&(0,a.is_viable_phone_number)(t.phone)&&(r=t),o=e),{input:r,metadata:o}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r,e.is_of_type=o,e.sort_out_arguments=i;var a=n(4),u=function(t){return t&&t.__esModule?t:{default:t}}(a),_=n(7),f=n(0)},function(t,e,n){t.exports={default:n(44),__esModule:!0}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(31)("keys"),o=n(33);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(25),o=n(16);t.exports=function(t){return r(o(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(18),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(57),o=n(9),i=n(64),a=n(6),u=n(10),_=n(11),f=n(55),c=n(30),s=n(61),l=n(3)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,m,y,v){f(n,e,h);var g,b,x,w=function(t){if(!p&&t in I)return I[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",E="values"==m,$=!1,I=t.prototype,P=I[l]||I["@@iterator"]||m&&I[m],j=P||w(m),R=m?E?w("entries"):j:void 0,M="Array"==e?I.entries||P:P;if(M&&(x=s(M.call(new t)))!==Object.prototype&&(c(x,O,!0),r||u(x,l)||a(x,l,d)),E&&P&&"values"!==P.name&&($=!0,j=function(){return P.call(this)}),r&&!v||!p&&!$&&I[l]||a(I,l,j),_[e]=j,_[O]=d,m)if(g={values:E?j:w("values"),keys:y?j:w("keys"),entries:R},v)for(b in g)b in I||i(I,b,g[b]);else o(o.P+o.F*(p||$),e,g);return g}},function(t,e,n){var r=n(8),o=n(59),i=n(24),a=n(19)("IE_PROTO"),u=function(){},_=function(){var t,e=n(23)("iframe"),r=i.length;for(e.style.display="none",n(53).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),_=t.F;r--;)delete _.prototype[i[r]];return _()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=_(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(62),o=n(24);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(12).f,o=n(10),i=n(3)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(2),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports={country_phone_code_to_countries:{1:["US"],55:["BR"],91:["IN"]},countries:{BR:["55","[1-46-9]\\d{7,10}|5(?:[0-4]\\d{7,9}|5(?:[2-8]\\d{7}|9\\d{7,8}))",[["(\\d{4})(\\d{4})","$1-$2",["(?:300|40[02])","(?:300|40(?:0|20))"]],["([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[1-9][1-9]9"],"($1)"]],"0",null,"0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",null,null,["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}","(?:[189][1-9]|2[12478])(?:7|9\\d)\\d{7}|(?:3[1-578]|[46][1-9]|5[13-5]|7[13-579])(?:[6-8]|9\\d?)\\d{7}","800\\d{6,7}","(?:300|[59]00\\d?)\\d{6}",null,null,null,null,null,"(?:300\\d(?:\\d{2})?|40(?:0\\d|20))\\d{4}"]],IN:["91","008\\d{9}|1\\d{7,12}|[2-9]\\d{9,10}",[["(\\d{5})(\\d{5})","$1 $2",["600|7(?:[02-8]|19|9[037-9])|8(?:0[015-9]|[1-9])|9","600|7(?:[078]|19[0-5]|2(?:[02356-9]|[14][017-9]|9[389])|3(?:[025-9]|1[07-9]|[34][017-9])|4(?:[0-35689]|[47][017-9])|5(?:[02346-9]|1[017-9]|5[017-9])|6(?:[02-9]|1[0-257-9])|9(?:[089]|31|7[02-9]))|8(?:0(?:[01589]|6[67]|7[02-9])|1(?:[0-57-9]|6[07-9])|2(?:0[07-9]|[14][07-9]|[235-9])|3(?:[03-57-9]|[126][07-9])|[45]|6(?:[02457-9]|[136][07-9])|7(?:[078][07-9]|[1-69])|8(?:[0-25-9]|3[07-9]|4[047-9])|9(?:[02-9]|1[027-9]))|9","600|7(?:0|19[0-5]|2(?:[0235679]|[14][017-9]|8(?:[0-569]|[78][089])|9[389])|3(?:[05-8]|1(?:[089]|7[5-9])|2(?:[5-8]|[0-49][089])|3[017-9]|4(?:[07-9]|11)|9(?:[01689]|[2345][089]|40|7[0189]))|4(?:[056]|1(?:[0135-9]|[23][089]|2[089]|4[089])|2(?:0[089]|[1-7][089]|[89])|3(?:[0-8][089]|9)|4(?:[089]|11|7[02-8])|7(?:[089]|11|7[02-8])|8(?:[0-24-7][089]|[389])|9(?:[0-7][089]|[89]))|5(?:[0346-9]|1[017-9]|2(?:[03-9]|[12][089])|5[017-9])|6(?:[0346-9]|1[0-257-9]|2(?:[0-4]\\d|[5-9][089])|5(?:[0-367][089]|[4589]))|7(?:0(?:[02-9]|1[089])|[1-9])|8(?:[0-79]|8(?:0[0189]|11|8[013-9]|9))|9(?:[089]|313|7(?:[02-8]|9[07-9])))|8(?:0(?:[01589]|6[67]|7(?:[02-8]|9[05-9]))|1(?:[02-57-9]|1(?:[0-35-9]|4[0-46-9])|6(?:[089]|7[02-8]))|2(?:0(?:[089]|7[02])|[14](?:[089]|7[02-8])|[235-9])|3(?:[0357-9]|1(?:[089]|7[02-6])|2(?:[09]|77|8[0-689])|4(?:0[1-7]|[1-9])|6(?:[089]|7[02-7]))|[45]|6(?:[02457-9]|1(?:[089]|7[02-8])|3(?:[089]|7[02-8])|6(?:[08]|7[02-8]|9\\d))|7(?:0[07-9]|[1-69]|7(?:[089]|7[02-8])|8(?:[089]|7[02-8]))|8(?:[0-25-9]|3(?:[089]|7[02-8])|4(?:[0489]|7[02-68]))|9(?:[02-9]|1(?:[0289]|7[2-6])))|9"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-9]|80[2-46]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[59][14]|7[1257]|[68][1-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|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]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2-4]1|5[17]|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[23579]|[468][1-9])|[2-8]"]],["(\\d{2})(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3 $4",["008"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],"$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["160","1600"],"$1"],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],"$1"],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["180","1800"],"$1"],["(\\d{4})(\\d{3,4})(\\d{4})","$1 $2 $3",["186","1860"],"$1"],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18[06]"],"$1"]],"0","0$1",null,null,!0,null,["(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|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]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}","(?:600[1-3]\\d|7(?:0\\d{3}|19[0-5]\\d|2(?:[0235679]\\d{2}|[14][017-9]\\d|8(?:[0-59]\\d|[678][089]))|3(?:[05-8]\\d{2}|1(?:[089]\\d|7[5-8])|2(?:[0-49][089]|[5-8]\\d)|3[017-9]\\d|4(?:[07-9]\\d|11)|9(?:[016-9]\\d|[2-5][089]))|4(?:0\\d{2}|1(?:[015-9]\\d|[23][089]|4[089])|2(?:0[089]|[1-7][089]|[89]\\d)|3(?:[0-8][089]|9\\d)|4(?:[089]\\d|11|7[02-8])|[56]\\d[089]|7(?:[089]\\d|11|7[02-8])|8(?:[0-24-7][089]|[389]\\d)|9(?:[0-6][089]|7[089]|[89]\\d))|5(?:[0346-8]\\d{2}|1(?:[07-9]\\d|11)|2(?:[04-9]\\d|[123][089])|5[017-9]\\d|9(?:[0-6][089]|[7-9]\\d))|6(?:0(?:[0-47]\\d|[5689][089])|(?:1[0-257-9]|[6-9]\\d)\\d|2(?:[0-4]\\d|[5-9][089])|3(?:[02-8][089]|[19]\\d)|4\\d[089]|5(?:[0-367][089]|[4589]\\d))|7(?:0(?:0[02-9]|[13-6][089]|[289]\\d|7[89])|[1-9]\\d{2})|8(?:[0-79]\\d{2}|8(?:[089]\\d|11|7[02-9]))|9(?:[089]\\d{2}|313|7(?:[02-8]\\d|9[07-9])))|8(?:0(?:[01589]\\d{2}|6[67]\\d|7(?:[02-8]\\d|9[05-9]))|1(?:[02-57-9]\\d{2}|1(?:[0-35-9]\\d|4[0-46-9])|6(?:[089]\\d|7[02-8]))|2(?:0(?:[089]\\d|7[02])|[14](?:[089]\\d|7[02-8])|[235-9]\\d{2})|3(?:[0357-9]\\d{2}|1(?:[089]\\d|7[02-6])|2(?:[09]\\d|77|8[0-689])|4(?:0[1-7]|[1-9]\\d)|6(?:[089]\\d|7[02-7]))|[45]\\d{3}|6(?:[02457-9]\\d{2}|1(?:[089]\\d|7[02-8])|3(?:[089]\\d|7[02-8])|6(?:[08]\\d|7[02-8]|9\\d))|7(?:0[07-9]\\d|[1-69]\\d{2}|[78](?:[089]\\d|7[02-8]))|8(?:[0-25-9]\\d{2}|3(?:[089]\\d|7[02-8])|4(?:[0489]\\d|7[02-68]))|9(?:[02-9]\\d{2}|1(?:[0289]\\d|7[2-6])))|9\\d{4})\\d{5}","00800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))","186[12]\\d{9}",null,null,"140\\d{7}",null,null,"1860\\d{7}"]],US:["1","[2-9]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,!0,null,["(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[012])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}",null,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}","900[2-9]\\d{6}","5(?:00|22|33|44|66|77|88)[2-9]\\d{6}"]]}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){for(var n=t.slice(0,e),r=i("(",n),o=i(")",n),a=r-o;a>0&&e<t.length;)")"===t[e]&&a--,e++;return t.slice(0,e)}function i(t,e){var n=0,r=!0,o=!1,i=void 0;try{for(var a,u=(0,_.default)(e);!(r=(a=u.next()).done);r=!0){a.value===t&&n++}}catch(t){o=!0,i=t}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}function a(t,e){if(e<1)return"";for(var n="";e>1;)1&e&&(n+=t),e>>=1,t+=t;return n+t}Object.defineProperty(e,"__esModule",{value:!0}),e.DIGIT_PLACEHOLDER=void 0,e.close_dangling_braces=o,e.count_occurences=i,e.repeat=a;var u=n(15),_=r(u),f=n(41),c=r(f),s=n(42),l=r(s),p=n(0),d=n(4),h=n(13),m=n(7),y=new RegExp("9","g"),v=a("9",15),g=e.DIGIT_PLACEHOLDER="x",b=new RegExp(g),x=new RegExp(g,"g"),w=/\[([^\[\]])*\]/g,O=/\d(?=[^,}][^,}])/g,E=new RegExp("^["+d.VALID_PUNCTUATION+"]*(\\$\\d["+d.VALID_PUNCTUATION+"]*)+$"),$="["+d.PLUS_CHARS+"]{0,1}["+d.VALID_PUNCTUATION+d.VALID_DIGITS+"]*",I=new RegExp("^"+$+"$","i"),P=function(){function t(e,n){if((0,c.default)(this,t),!n)throw new Error("Metadata not passed");e&&n.countries[e]&&(this.default_country=e),this.metadata=n,this.reset()}return(0,l.default)(t,[{key:"input",value:function(t){var e=(0,d.extract_formatted_phone_number)(t);return e||t&&t.indexOf("+")>=0&&(e="+"),(0,m.matches_entirely)(e,I)?this.process_input((0,d.parse_phone_number)(e)):this.current_output}},{key:"process_input",value:function(t){if("+"===t[0]&&(this.parsed_input||(this.parsed_input+="+",this.reset_countriness()),t=t.slice(1)),this.parsed_input+=t,this.national_number+=t,this.is_international())if(this.country_phone_code)this.country||this.determine_the_country();else{if(!this.extract_country_phone_code())return this.parsed_input;this.initialize_phone_number_formats_for_this_country_phone_code(),this.reset_format(),this.determine_the_country()}else{var e=this.national_prefix;this.national_number=this.national_prefix+this.national_number,this.extract_national_prefix(),this.national_prefix!==e&&(this.matching_formats=this.available_formats,this.reset_format())}this.match_formats_by_leading_digits();var n=this.format_national_phone_number(t);return n?this.full_phone_number(n):this.parsed_input}},{key:"format_national_phone_number",value:function(t){var e=void 0;this.chosen_format&&(e=this.format_next_national_number_digits(t));var n=this.attempt_to_format_complete_phone_number();return n||(this.choose_another_format()?this.reformat_national_number():e)}},{key:"reset",value:function(){return this.parsed_input="",this.current_output="",this.national_prefix="",this.national_number="",this.reset_countriness(),this.reset_format(),this}},{key:"reset_country",value:function(){this.default_country&&!this.is_international()?this.country=this.default_country:this.country=void 0}},{key:"reset_countriness",value:function(){this.reset_country(),this.default_country&&!this.is_international()?(this.country_metadata=this.metadata.countries[this.default_country],this.country_phone_code=this.country_metadata.phone_code,this.initialize_phone_number_formats_for_this_country_phone_code()):(this.country_metadata=void 0,this.country_phone_code=void 0,this.available_formats=[],this.matching_formats=this.available_formats)}},{key:"reset_format",value:function(){this.chosen_format=void 0,this.template=void 0,this.partially_populated_template=void 0,this.last_match_position=-1}},{key:"reformat_national_number",value:function(){return this.format_next_national_number_digits(this.national_number)}},{key:"initialize_phone_number_formats_for_this_country_phone_code",value:function(){this.available_formats=(0,p.get_formats)(this.country_metadata).filter(function(t){return E.test((0,p.get_format_international_format)(t))}),this.matching_formats=this.available_formats}},{key:"match_formats_by_leading_digits",value:function(){var t=this.national_number,e=t.length-3;e<0&&(e=0),this.matching_formats=this.get_relevant_phone_number_formats().filter(function(n){var r=(0,p.get_format_leading_digits_patterns)(n).length;if(0===r)return!0;var o=Math.min(e,r-1),i=(0,p.get_format_leading_digits_patterns)(n)[o];return new RegExp("^("+i+")").test(t)}),this.chosen_format&&-1===this.matching_formats.indexOf(this.chosen_format)&&this.reset_format()}},{key:"get_relevant_phone_number_formats",value:function(){return this.national_number.length<=3?this.available_formats:this.matching_formats}},{key:"attempt_to_format_complete_phone_number",value:function(){var t=!0,e=!1,n=void 0;try{for(var r,o=(0,_.default)(this.get_relevant_phone_number_formats());!(t=(r=o.next()).done);t=!0){var i=r.value;if(new RegExp("^(?:"+(0,p.get_format_pattern)(i)+")$").test(this.national_number)&&this.validate_format(i)){this.reset_format(),this.chosen_format=i;var a=(0,h.format_national_number_using_format)(this.national_number,i,this.is_international(),this.national_prefix.length>0,this.country_metadata);if(this.create_formatting_template(i))this.reformat_national_number();else{var u=this.full_phone_number(a);this.template=u.replace(/[\d\+]/g,g),this.partially_populated_template=u}return a}}}catch(t){e=!0,n=t}finally{try{!t&&o.return&&o.return()}finally{if(e)throw n}}}},{key:"full_phone_number",value:function(t){return this.is_international()?"+"+this.country_phone_code+" "+t:t}},{key:"extract_country_phone_code",value:function(){if(this.national_number){var t=(0,d.parse_phone_number_and_country_phone_code)(this.parsed_input,this.metadata),e=t.country_phone_code,n=t.number;if(e)return this.country_phone_code=e,this.national_number=n,this.country_metadata=(0,p.get_metadata_by_country_phone_code)(e,this.metadata)}}},{key:"extract_national_prefix",value:function(){if(this.national_prefix="",this.country_metadata){var t=(0,d.strip_national_prefix)(this.national_number,this.country_metadata);return t!==this.national_number&&(this.national_prefix=this.national_number.slice(0,this.national_number.length-t.length),this.national_number=t),this.national_prefix}}},{key:"choose_another_format",value:function(){var t=!0,e=!1,n=void 0;try{for(var r,o=(0,_.default)(this.get_relevant_phone_number_formats());!(t=(r=o.next()).done);t=!0){var i=r.value;if(this.chosen_format===i)return;if(this.validate_format(i)&&this.create_formatting_template(i))return this.chosen_format=i,this.last_match_position=-1,!0}}catch(t){e=!0,n=t}finally{try{!t&&o.return&&o.return()}finally{if(e)throw n}}this.reset_country(),this.reset_format()}},{key:"validate_format",value:function(t){if(this.is_international()||this.national_prefix||!(0,p.get_format_national_prefix_is_mandatory_when_formatting)(t,this.country_metadata))return!0}},{key:"create_formatting_template",value:function(t){if(!((0,p.get_format_pattern)(t).indexOf("|")>=0)){var e=(0,p.get_format_national_prefix_formatting_rule)(t,this.country_metadata),n=(0,p.get_format_pattern)(t).replace(w,"\\d").replace(O,"\\d"),r=v.match(n)[0];if(!(this.national_number.length>r.length)){var o=this.get_format_format(t);e&&(!this.national_prefix&&(0,p.get_format_uses_national_prefix)(e)||(o=o.replace(h.FIRST_GROUP_PATTERN,e)));var i=r.replace(new RegExp(n,"g"),o).replace(y,g);return this.partially_populated_template=i,i=this.is_international()?g+a(g,this.country_phone_code.length)+" "+i:i.replace(/\d/g,g),this.template=i}}}},{key:"format_next_national_number_digits",value:function(t){var e=!0,n=!1,r=void 0;try{for(var i,a=(0,_.default)(t);!(e=(i=a.next()).done);e=!0){var u=i.value;if(-1===this.partially_populated_template.slice(this.last_match_position+1).search(b))return this.chosen_format=void 0,this.template=void 0,void(this.partially_populated_template=void 0);this.last_match_position=this.partially_populated_template.search(b),this.partially_populated_template=this.partially_populated_template.replace(b,u)}}catch(t){n=!0,r=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw r}}return o(this.partially_populated_template,this.last_match_position+1).replace(x," ")}},{key:"is_international",value:function(){return this.parsed_input&&"+"===this.parsed_input[0]}},{key:"get_format_format",value:function(t){return this.is_international()?(0,h.local_to_international_style)((0,p.get_format_international_format)(t)):(0,p.get_format_format)(t)}},{key:"determine_the_country",value:function(){this.country=(0,d.find_country_code)(this.country_phone_code,this.national_number,this.metadata)}}]),t}();e.default=P},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){var r=(0,a.sort_out_arguments)(t,e,n),o=r.input,i=r.metadata;if(!i)throw new Error("Metadata not passed");if(!o)return!1;if(!o.country)return!1;var f=i.countries[o.country];return!((0,_.get_types)(f)&&!(0,u.default)(o,i))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(4),a=(r(i),n(14)),u=r(a),_=n(0)},function(t,e,n){t.exports={default:n(46),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){var t=Array.prototype.slice.call(arguments);return t.push(w.default),O.default.apply(this,t)}function i(){var t=Array.prototype.slice.call(arguments);return t.push(w.default),$.default.apply(this,t)}function a(){var t=Array.prototype.slice.call(arguments);return t.push(w.default),E.default.apply(this,t)}function u(){return _.apply(this,arguments)}function _(){var t=Array.prototype.slice.call(arguments);return t.push(w.default),I.default.apply(this,t)}function f(){return _.apply(this,arguments)}function c(t){P.default.call(this,t,w.default)}function s(t){P.default.call(this,t,w.default)}function l(t){return p(t,w.default)}function p(t,e){if(!e.countries[t])throw new Error('Unknown country: "'+t+'"');return(0,j.get_phone_code)(e.countries[t])}Object.defineProperty(e,"__esModule",{value:!0}),e.DIGIT_PLACEHOLDER=e.asYouTypeCustom=e.getNumberTypeCustom=e.isValidNumberCustom=e.formatCustom=e.parseCustom=void 0;var d=n(37),h=r(d);e.parse=o,e.format=i,e.get_number_type=a,e.getNumberType=u,e.is_valid_number=_,e.isValidNumber=f,e.as_you_type=c,e.asYouType=s;var m=n(4);Object.defineProperty(e,"parseCustom",{enumerable:!0,get:function(){return r(m).default}});var y=n(13);Object.defineProperty(e,"formatCustom",{enumerable:!0,get:function(){return r(y).default}});var v=n(36);Object.defineProperty(e,"isValidNumberCustom",{enumerable:!0,get:function(){return r(v).default}});var g=n(14);Object.defineProperty(e,"getNumberTypeCustom",{enumerable:!0,get:function(){return r(g).default}});var b=n(35);Object.defineProperty(e,"asYouTypeCustom",{enumerable:!0,get:function(){return r(b).default}}),Object.defineProperty(e,"DIGIT_PLACEHOLDER",{enumerable:!0,get:function(){return b.DIGIT_PLACEHOLDER}}),e.getPhoneCode=l,e.getPhoneCodeCustom=p;var x=n(34),w=r(x),O=r(m),E=r(g),$=r(y),I=r(v),P=r(b),j=n(0);c.prototype=(0,h.default)(P.default.prototype,{}),c.prototype.constructor=c,s.prototype=(0,h.default)(P.default.prototype,{}),s.prototype.constructor=s},function(t,e,n){t.exports={default:n(45),__esModule:!0}},function(t,e,n){t.exports={default:n(47),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(40),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){"use strict";e.__esModule=!0;var r=n(39),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){n(76),n(75),t.exports=n(70)},function(t,e,n){n(72),t.exports=n(1).Object.assign},function(t,e,n){n(73);var r=n(1).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){n(74);var r=n(1).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(21),o=n(67),i=n(66);t.exports=function(t){return function(e,n,a){var u,_=r(e),f=o(_.length),c=i(a,f);if(t&&n!=n){for(;f>c;)if((u=_[c++])!=u)return!0}else for(;f>c;c++)if((t||c in _)&&_[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){var r=n(22),o=n(3)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(48);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){t.exports=n(2).document&&document.documentElement},function(t,e,n){t.exports=!n(5)&&!n(17)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(27),o=n(29),i=n(30),a={};n(6)(a,n(3)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e){t.exports=!0},function(t,e,n){"use strict";var r=n(28),o=n(60),i=n(63),a=n(32),u=n(25),_=Object.assign;t.exports=!_||n(17)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=_({},t)[n]||Object.keys(_({},e)).join("")!=r})?function(t,e){for(var n=a(t),_=arguments.length,f=1,c=o.f,s=i.f;_>f;)for(var l,p=u(arguments[f++]),d=c?r(p).concat(c(p)):r(p),h=d.length,m=0;h>m;)s.call(p,l=d[m++])&&(n[l]=p[l]);return n}:_},function(t,e,n){var r=n(12),o=n(8),i=n(28);t.exports=n(5)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,_=0;u>_;)r.f(t,n=a[_++],e[n]);return t}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(10),o=n(32),i=n(19)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(10),o=n(21),i=n(50)(!1),a=n(19)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),_=0,f=[];for(n in u)n!=a&&r(u,n)&&f.push(n);for(;e.length>_;)r(u,n=e[_++])&&(~i(f,n)||f.push(n));return f}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){t.exports=n(6)},function(t,e,n){var r=n(20),o=n(16);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),_=r(n),f=u.length;return _<0||_>=f?t?"":void 0:(i=u.charCodeAt(_),i<55296||i>56319||_+1===f||(a=u.charCodeAt(_+1))<56320||a>57343?t?u.charAt(_):i:t?u.slice(_,_+2):a-56320+(i-55296<<10)+65536)}}},function(t,e,n){var r=n(20),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(18);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(51),o=n(3)("iterator"),i=n(11);t.exports=n(1).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(8),o=n(69);t.exports=n(1).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){"use strict";var r=n(49),o=n(56),i=n(11),a=n(21);t.exports=n(26)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(9);r(r.S+r.F,"Object",{assign:n(58)})},function(t,e,n){var r=n(9);r(r.S,"Object",{create:n(27)})},function(t,e,n){var r=n(9);r(r.S+r.F*!n(5),"Object",{defineProperty:n(12).f})},function(t,e,n){"use strict";var r=n(65)(!0);n(26)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(71);for(var r=n(2),o=n(6),i=n(11),a=n(3)("toStringTag"),u=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],_=0;_<5;_++){var f=u[_],c=r[f],s=c&&c.prototype;s&&!s[a]&&o(s,a,f),i[f]=i.Array}}])});
//# sourceMappingURL=libphonenumber-js.min.js.map

@@ -1,1 +0,1 @@

{"country_phone_code_to_countries":{"1":["US"],"55":["BR"],"91":["IN"]},"countries":{"BR":["55","[1-46-9]\\d{7,10}|5(?:[0-4]\\d{7,9}|5(?:[2-8]\\d{7}|9\\d{7,8}))",[["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[1-5]|7[13-579])9"],"($1)"],["(\\d{4})(\\d{4})","$1-$2",["(?:300|40(?:0|20))"]],["([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"]],"0",null,"0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",null,null,["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}","1[1-9](?:7|9\\d)\\d{7}|(?:2[12478]|3[1-578]|[4689][1-9]|5[13-5]|7[13-579])(?:[6-8]|9\\d?)\\d{7}","800\\d{6,7}","(?:300|[59]00\\d?)\\d{6}",null,null,null,null,null,"(?:300\\d(?:\\d{2})?|40(?:0\\d|20))\\d{4}"]],"IN":["91","008\\d{9}|1\\d{7,12}|[2-9]\\d{9,10}",[["(\\d{5})(\\d{5})","$1 $2",["600|7(?:[02-8]|19|9[037-9])|8(?:0[015-9]|[1-9])|9","600|7(?:[078]|19[0-5]|2(?:[02356-9]|[14][017-9]|9[389])|3(?:[025-9]|1[07-9]|[34][017-9])|4(?:[0-35689]|[47][017-9])|5(?:[02346-9]|1[017-9]|5[017-9])|6(?:[02-9]|1[0-257-9])|9(?:[089]|31|7[02-9]))|8(?:0(?:[01589]|6[67]|7[02-9])|1(?:[0-57-9]|6[07-9])|2(?:0[07-9]|[14][07-9]|[235-9])|3(?:[03-57-9]|[126][07-9])|[45]|6(?:[02457-9]|[136][07-9])|7(?:[078][07-9]|[1-69])|8(?:[0-25-9]|3[07-9]|4[047-9])|9(?:[02-9]|1[027-9]))|9","600|7(?:0|19[0-5]|2(?:[0235679]|[14][017-9]|8(?:[0-569]|[78][089])|9[389])|3(?:[05-8]|1(?:[089]|7[5-9])|2(?:[5-8]|[0-49][089])|3[017-9]|4(?:[07-9]|11)|9(?:[01689]|[2345][089]|40|7[0189]))|4(?:[056]|1(?:[0135-9]|[23][089]|2[089]|4[089])|2(?:0[089]|[1-7][089]|[89])|3(?:[0-8][089]|9)|4(?:[089]|11|7[02-8])|7(?:[089]|11|7[02-8])|8(?:[0-24-7][089]|[389])|9(?:[0-7][089]|[89]))|5(?:[0346-9]|1[017-9]|2(?:[03-9]|[12][089])|5[017-9])|6(?:[0346-9]|1[0-257-9]|2(?:[0-4]\\d|[5-9][089])|5(?:[0-367][089]|[4589]))|7(?:0(?:[02-9]|1[089])|[1-9])|8(?:[0-79]|8(?:0[0189]|11|8[013-9]|9))|9(?:[089]|313|7(?:[02-8]|9[07-9])))|8(?:0(?:[01589]|6[67]|7(?:[02-8]|9[05-9]))|1(?:[02-57-9]|1(?:[0-35-9]|4[0-46-9])|6(?:[089]|7[02-8]))|2(?:0(?:[089]|7[02])|[14](?:[089]|7[02-8])|[235-9])|3(?:[0357-9]|1(?:[089]|7[02-6])|2(?:[09]|77|8[0-689])|4(?:0[1-7]|[1-9])|6(?:[089]|7[02-7]))|[45]|6(?:[02457-9]|1(?:[089]|7[02-8])|3(?:[089]|7[02-68])|6(?:[08]|7[02-8]|9[01]))|7(?:0[07-9]|[1-69]|7(?:[089]|7[02-8])|8(?:[089]|7[02-8]))|8(?:[0-25-9]|3(?:[089]|7[02-8])|4(?:[0489]|7[02-68]))|9(?:[02-9]|1(?:[0289]|7[2-6])))|9"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-9]|80[2-46]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[59][14]|7[1257]|[68][1-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|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]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2-4]1|5[17]|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[23579]|[468][1-9])|[2-8]"]],["(\\d{2})(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3 $4",["008"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],"$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["160","1600"],"$1"],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],"$1"],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["180","1800"],"$1"],["(\\d{4})(\\d{3,4})(\\d{4})","$1 $2 $3",["186","1860"],"$1"],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18[06]"],"$1"]],"0","0$1",null,null,true,null,["(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|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]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}","(?:600[1-3]\\d|7(?:0\\d{3}|19[0-5]\\d|2(?:[0235679]\\d{2}|[14][017-9]\\d|8(?:[0-59]\\d|[678][089]))|3(?:[05-8]\\d{2}|1(?:[089]\\d|7[5-8])|2(?:[0-49][089]|[5-8]\\d)|3[017-9]\\d|4(?:[07-9]\\d|11)|9(?:[016-9]\\d|[2-5][089]))|4(?:0\\d{2}|1(?:[015-9]\\d|[23][089]|4[089])|2(?:0[089]|[1-7][089]|[89]\\d)|3(?:[0-8][089]|9\\d)|4(?:[089]\\d|11|7[02-8])|[56]\\d[089]|7(?:[089]\\d|11|7[02-8])|8(?:[0-24-7][089]|[389]\\d)|9(?:[0-6][089]|7[089]|[89]\\d))|5(?:[0346-8]\\d{2}|1(?:[07-9]\\d|11)|2(?:[04-9]\\d|[123][089])|5[017-9]\\d|9(?:[0-6][089]|[7-9]\\d))|6(?:0(?:[0-47]\\d|[5689][089])|(?:1[0-257-9]|[6-9]\\d)\\d|2(?:[0-4]\\d|[5-9][089])|3(?:[02-8][089]|[19]\\d)|4\\d[089]|5(?:[0-367][089]|[4589]\\d))|7(?:0(?:0[02-9]|[13-6][089]|[289]\\d|7[89])|[1-9]\\d{2})|8(?:[0-79]\\d{2}|8(?:[089]\\d|11|7[02-9]))|9(?:[089]\\d{2}|313|7(?:[02-8]\\d|9[07-9])))|8(?:0(?:[01589]\\d{2}|6[67]\\d|7(?:[02-8]\\d|9[05-9]))|1(?:[02-57-9]\\d{2}|1(?:[0-35-9]\\d|4[0-46-9])|6(?:[089]\\d|7[02-8]))|2(?:0(?:[089]\\d|7[02])|[14](?:[089]\\d|7[02-8])|[235-9]\\d{2})|3(?:[0357-9]\\d{2}|1(?:[089]\\d|7[02-6])|2(?:[09]\\d|77|8[0-689])|4(?:0[1-7]|[1-9]\\d)|6(?:[089]\\d|7[02-7]))|[45]\\d{3}|6(?:[02457-9]\\d{2}|1(?:[089]\\d|7[02-8])|3(?:[089]\\d|7[02-68])|6(?:[08]\\d|7[02-8]|9[01]))|7(?:0[07-9]\\d|[1-69]\\d{2}|[78](?:[089]\\d|7[02-8]))|8(?:[0-25-9]\\d{2}|3(?:[089]\\d|7[02-8])|4(?:[0489]\\d|7[02-68]))|9(?:[02-9]\\d{2}|1(?:[0289]\\d|7[2-6])))|9\\d{4})\\d{5}","00800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))","186[12]\\d{9}",null,null,"140\\d{7}",null,null,"1860\\d{7}"]],"US":["1","[2-9]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,true,null,["(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[012])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}",null,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}","900[2-9]\\d{6}","5(?:00|22|33|44|66|77|88)[2-9]\\d{6}"]]}}
{"country_phone_code_to_countries":{"1":["US"],"55":["BR"],"91":["IN"]},"countries":{"BR":["55","[1-46-9]\\d{7,10}|5(?:[0-4]\\d{7,9}|5(?:[2-8]\\d{7}|9\\d{7,8}))",[["(\\d{4})(\\d{4})","$1-$2",["(?:300|40[02])","(?:300|40(?:0|20))"]],["([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[1-9][1-9]9"],"($1)"]],"0",null,"0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",null,null,["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}","(?:[189][1-9]|2[12478])(?:7|9\\d)\\d{7}|(?:3[1-578]|[46][1-9]|5[13-5]|7[13-579])(?:[6-8]|9\\d?)\\d{7}","800\\d{6,7}","(?:300|[59]00\\d?)\\d{6}",null,null,null,null,null,"(?:300\\d(?:\\d{2})?|40(?:0\\d|20))\\d{4}"]],"IN":["91","008\\d{9}|1\\d{7,12}|[2-9]\\d{9,10}",[["(\\d{5})(\\d{5})","$1 $2",["600|7(?:[02-8]|19|9[037-9])|8(?:0[015-9]|[1-9])|9","600|7(?:[078]|19[0-5]|2(?:[02356-9]|[14][017-9]|9[389])|3(?:[025-9]|1[07-9]|[34][017-9])|4(?:[0-35689]|[47][017-9])|5(?:[02346-9]|1[017-9]|5[017-9])|6(?:[02-9]|1[0-257-9])|9(?:[089]|31|7[02-9]))|8(?:0(?:[01589]|6[67]|7[02-9])|1(?:[0-57-9]|6[07-9])|2(?:0[07-9]|[14][07-9]|[235-9])|3(?:[03-57-9]|[126][07-9])|[45]|6(?:[02457-9]|[136][07-9])|7(?:[078][07-9]|[1-69])|8(?:[0-25-9]|3[07-9]|4[047-9])|9(?:[02-9]|1[027-9]))|9","600|7(?:0|19[0-5]|2(?:[0235679]|[14][017-9]|8(?:[0-569]|[78][089])|9[389])|3(?:[05-8]|1(?:[089]|7[5-9])|2(?:[5-8]|[0-49][089])|3[017-9]|4(?:[07-9]|11)|9(?:[01689]|[2345][089]|40|7[0189]))|4(?:[056]|1(?:[0135-9]|[23][089]|2[089]|4[089])|2(?:0[089]|[1-7][089]|[89])|3(?:[0-8][089]|9)|4(?:[089]|11|7[02-8])|7(?:[089]|11|7[02-8])|8(?:[0-24-7][089]|[389])|9(?:[0-7][089]|[89]))|5(?:[0346-9]|1[017-9]|2(?:[03-9]|[12][089])|5[017-9])|6(?:[0346-9]|1[0-257-9]|2(?:[0-4]\\d|[5-9][089])|5(?:[0-367][089]|[4589]))|7(?:0(?:[02-9]|1[089])|[1-9])|8(?:[0-79]|8(?:0[0189]|11|8[013-9]|9))|9(?:[089]|313|7(?:[02-8]|9[07-9])))|8(?:0(?:[01589]|6[67]|7(?:[02-8]|9[05-9]))|1(?:[02-57-9]|1(?:[0-35-9]|4[0-46-9])|6(?:[089]|7[02-8]))|2(?:0(?:[089]|7[02])|[14](?:[089]|7[02-8])|[235-9])|3(?:[0357-9]|1(?:[089]|7[02-6])|2(?:[09]|77|8[0-689])|4(?:0[1-7]|[1-9])|6(?:[089]|7[02-7]))|[45]|6(?:[02457-9]|1(?:[089]|7[02-8])|3(?:[089]|7[02-8])|6(?:[08]|7[02-8]|9\\d))|7(?:0[07-9]|[1-69]|7(?:[089]|7[02-8])|8(?:[089]|7[02-8]))|8(?:[0-25-9]|3(?:[089]|7[02-8])|4(?:[0489]|7[02-68]))|9(?:[02-9]|1(?:[0289]|7[2-6])))|9"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-9]|80[2-46]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[59][14]|7[1257]|[68][1-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|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]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2-4]1|5[17]|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[23579]|[468][1-9])|[2-8]"]],["(\\d{2})(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3 $4",["008"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],"$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["160","1600"],"$1"],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],"$1"],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["180","1800"],"$1"],["(\\d{4})(\\d{3,4})(\\d{4})","$1 $2 $3",["186","1860"],"$1"],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18[06]"],"$1"]],"0","0$1",null,null,true,null,["(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|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]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}","(?:600[1-3]\\d|7(?:0\\d{3}|19[0-5]\\d|2(?:[0235679]\\d{2}|[14][017-9]\\d|8(?:[0-59]\\d|[678][089]))|3(?:[05-8]\\d{2}|1(?:[089]\\d|7[5-8])|2(?:[0-49][089]|[5-8]\\d)|3[017-9]\\d|4(?:[07-9]\\d|11)|9(?:[016-9]\\d|[2-5][089]))|4(?:0\\d{2}|1(?:[015-9]\\d|[23][089]|4[089])|2(?:0[089]|[1-7][089]|[89]\\d)|3(?:[0-8][089]|9\\d)|4(?:[089]\\d|11|7[02-8])|[56]\\d[089]|7(?:[089]\\d|11|7[02-8])|8(?:[0-24-7][089]|[389]\\d)|9(?:[0-6][089]|7[089]|[89]\\d))|5(?:[0346-8]\\d{2}|1(?:[07-9]\\d|11)|2(?:[04-9]\\d|[123][089])|5[017-9]\\d|9(?:[0-6][089]|[7-9]\\d))|6(?:0(?:[0-47]\\d|[5689][089])|(?:1[0-257-9]|[6-9]\\d)\\d|2(?:[0-4]\\d|[5-9][089])|3(?:[02-8][089]|[19]\\d)|4\\d[089]|5(?:[0-367][089]|[4589]\\d))|7(?:0(?:0[02-9]|[13-6][089]|[289]\\d|7[89])|[1-9]\\d{2})|8(?:[0-79]\\d{2}|8(?:[089]\\d|11|7[02-9]))|9(?:[089]\\d{2}|313|7(?:[02-8]\\d|9[07-9])))|8(?:0(?:[01589]\\d{2}|6[67]\\d|7(?:[02-8]\\d|9[05-9]))|1(?:[02-57-9]\\d{2}|1(?:[0-35-9]\\d|4[0-46-9])|6(?:[089]\\d|7[02-8]))|2(?:0(?:[089]\\d|7[02])|[14](?:[089]\\d|7[02-8])|[235-9]\\d{2})|3(?:[0357-9]\\d{2}|1(?:[089]\\d|7[02-6])|2(?:[09]\\d|77|8[0-689])|4(?:0[1-7]|[1-9]\\d)|6(?:[089]\\d|7[02-7]))|[45]\\d{3}|6(?:[02457-9]\\d{2}|1(?:[089]\\d|7[02-8])|3(?:[089]\\d|7[02-8])|6(?:[08]\\d|7[02-8]|9\\d))|7(?:0[07-9]\\d|[1-69]\\d{2}|[78](?:[089]\\d|7[02-8]))|8(?:[0-25-9]\\d{2}|3(?:[089]\\d|7[02-8])|4(?:[0489]\\d|7[02-68]))|9(?:[02-9]\\d{2}|1(?:[0289]\\d|7[2-6])))|9\\d{4})\\d{5}","00800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))","186[12]\\d{9}",null,null,"140\\d{7}",null,null,"1860\\d{7}"]],"US":["1","[2-9]\\d{9}",[["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",null,null,null,"$1-$2-$3"]],"1",null,null,null,true,null,["(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[012])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}",null,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}","900[2-9]\\d{6}","5(?:00|22|33|44|66|77|88)[2-9]\\d{6}"]]}}
{
"name": "@roundingwellos/libphonenumber-js",
"version": "0.4.12",
"version": "0.4.13",
"description": "A simpler (and smaller) rewrite of Google Android's popular libphonenumber library",

@@ -5,0 +5,0 @@ "main": "index.common.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc