UNPKG

velocity-verification

Version:

JavaScript SDK view layer for identity verification

1 lines 824 kB
module.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.e=function(){return Promise.resolve()},n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n.oe=function(e){process.nextTick((function(){throw e}))},n(n.s=351)}([function(e,t){e.exports=require("preact")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/defineProperty")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/assertThisInitialized")},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/reflect/construct")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/getPrototypeOf")},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/concat")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/classCallCheck")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/inherits")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/possibleConstructorReturn")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/createClass")},function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return j}));var i=n(13),r=n.n(i),o=n(104),a=n.n(o),c=(n(22),n(0)),s=n(90),d=n(16),l=n(15),u=n.n(l),f=n(46),p=n.n(f),h=n(17),m=n.n(h),v=n(92),g=n.n(v),b=n(142),$=n.n(b),y=n(197),C=n(198),w=n(199),D=n(200),k=n(30),x={en:y,es:C},E={en:w,es:D},F=function(e,t,n,i){return t.locale(e),t.extend(n),d.h||t.extend(i),t},_=function(e,t,n){!function(e,t,n){var i,r=new g.a(t),o=m()(e).call(e,(function(e){return!r.has(e)})),a=p()(i=u()(x)).call(i,(function(e){return e===n}));o.length&&!a&&console.warn("Missing keys:",o)}(u()(t.phrases),function(e){return u()(new $.a({phrases:e}).phrases)}(e),n)},S=function(e,t){if(x[e])return F(e,t,x[e],E[e]);console.warn("Locale not supported")},O=function(e,t){return"string"==typeof e?S(e,t):function(e,t){_(e.phrases,t,e.locale);var n=S(e.locale,t)||t;return F(e.locale,n,e.phrases,e.mobilePhrases)}(e,t)},P=Object(k.c)((function(e){var t=function(){var e=new $.a({onMissingKey:function(){return null}});return F("en",e,x.en,E.en)}();return e&&O(e,t)||t})),T=Object(s.createContext)({}),N=function(e){var t,n=e.language,i=e.children,r=P(n),o=a()(t=r.t).call(t,r);return Object(c.h)(T.Provider,{value:{language:r.currentLocale,translate:o,parseTranslatedTags:function(e,t){return Object(d.i)(o(e),t)}}},i)},j=function(e){return function(t){return Object(c.h)(T.Consumer,null,(function(n){return Object(c.h)(e,r()({},t,n))}))}}},function(e,t,n){var i=n(23),r=n(248);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t){e.exports=require("classnames")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/extends")},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/for-each")},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/keys")},function(e,t,n){"use strict";n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return S})),n.d(t,"k",(function(){return O})),n.d(t,"j",(function(){return P})),n.d(t,"h",(function(){return T})),n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return A})),n.d(t,"i",(function(){return L})),n.d(t,"e",(function(){return R})),n.d(t,"d",(function(){return B})),n.d(t,"c",(function(){return z}));var i=n(31),r=n.n(i),o=n(37),a=n.n(o),c=n(193),s=n.n(c),d=n(29),l=n.n(d),u=n(194),f=n.n(u),p=n(17),h=n.n(p),m=n(46),v=n.n(m),g=n(36),b=n.n(g),$=n(5),y=n.n($),C=n(57),w=n.n(C),D=n(195),k=n.n(D),x=n(0),E=n(196),F=n.n(E),_=function(e,t){return(t[e]||function(){return null})()},S=function(e){return function(e,t){var n,i,r=k()(t),o=w()(r,2),a=o[0],c=o[1];c!==e&&console.warn(y()(n=y()(i="The css @value: ".concat(t," unit is ")).call(i,c," but it should be ")).call(n,e));return a}("ms",e)},O=function(e,t){return Object(x.h)("div",{className:e},t)},P=function(e){return function(t){t.preventDefault(),e()}},T=!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(navigator.userAgent||""),N=function(e){return function(t){return function(e,t){try{F()().then(e).catch(t)}catch(e){t(e)}}((function(n){return t(e(n))}),(function(){return t(!1)}))}},j=function(e){var t=e.kind,n=void 0===t?"":t;return b()(n).call(n,"video")},M=function(e){return!!e.label},I=N((function(e){return v()(e).call(e,j)})),A=N((function(e){var t;return v()(t=h()(e).call(e,j)).call(t,M)})),L=function(e,t){var n=(new DOMParser).parseFromString("<l>".concat(e,"</l>"),"application/xml"),i=f()(n.firstChild.childNodes);return l()(i).call(i,(function(e){return e.nodeType===document.TEXT_NODE?e.textContent:t({type:e.tagName,text:e.textContent})}))},R=function(){return Math.floor(s()()/1e3)},B=function(){return(new Date).getTime()},z=function(){var e=a()(r.a.mark((function e(t,n){var i,o;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!navigator.clipboard||!window.isSecureContext){e.next=7;break}return e.next=4,navigator.clipboard.writeText(t);case 4:n(),e.next=18;break;case 7:(i=document.createElement("textarea")).value=t,i.style.position="fixed",i.style.left="-999999px",i.style.top="-999999px",document.body.appendChild(i),i.focus(),i.select(),document.execCommand("copy"),i.remove(),n();case 18:e.next=33;break;case 20:e.prev=20,e.t0=e.catch(0),(o=document.createElement("textarea")).value=t,o.style.position="fixed",o.style.left="-999999px",o.style.top="-999999px",document.body.appendChild(o),o.focus(),o.select(),document.execCommand("copy"),o.remove(),n();case 33:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(t,n){return e.apply(this,arguments)}}()},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/filter")},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors")},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor")},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols")},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return s}));var i=2,r=17,o=3,a="0-90-9٠-٩۰-۹",c="".concat("-‐-―−ー-").concat("//").concat("..").concat("  ­​⁠ ").concat("()()[]\\[\\]").concat("~⁓∼~"),s="++"},function(e,t,n){"use strict";n.r(t),n.d(t,"version",(function(){return c})),n.d(t,"DOM",(function(){return S})),n.d(t,"Children",(function(){return F})),n.d(t,"render",(function(){return $})),n.d(t,"hydrate",(function(){return $})),n.d(t,"createClass",(function(){return U})),n.d(t,"createPortal",(function(){return D})),n.d(t,"createFactory",(function(){return _})),n.d(t,"createElement",(function(){return N})),n.d(t,"cloneElement",(function(){return M})),n.d(t,"isValidElement",(function(){return I})),n.d(t,"findDOMNode",(function(){return B})),n.d(t,"unmountComponentAtNode",(function(){return k})),n.d(t,"Component",(function(){return Y})),n.d(t,"PureComponent",(function(){return Z})),n.d(t,"unstable_renderSubtreeIntoContainer",(function(){return C})),n.d(t,"unstable_batchedUpdates",(function(){return J})),n.d(t,"__spread",(function(){return L}));var i=n(38),r=n.n(i);n.d(t,"PropTypes",(function(){return r.a}));var o=n(0);n.d(t,"createRef",(function(){return o.createRef}));var a=n(90);n.d(t,"createContext",(function(){return a.createContext}));var c="15.1.0",s="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),d="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,l="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",u={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},f=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vector|vert|word|writing|x)[A-Z]/,p={},h=!1;try{h=!1}catch(e){}function m(){return null}var v=Object(o.h)("a",null).constructor;v.prototype.$$typeof=d,v.prototype.preactCompatUpgraded=!1,v.prototype.preactCompatNormalized=!1,Object.defineProperty(v.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(v.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var g=o.options.event;o.options.event=function(e){return g&&(e=g(e)),e.persist=Object,e.nativeEvent=e,e};var b=o.options.vnode;function $(e,t,n){var i=t&&t._preactCompatRendered&&t._preactCompatRendered.base;i&&i.parentNode!==t&&(i=null),!i&&t&&(i=t.firstElementChild);for(var r=t.childNodes.length;r--;)t.childNodes[r]!==i&&t.removeChild(t.childNodes[r]);var a=Object(o.render)(e,t,i);return t&&(t._preactCompatRendered=a&&(a._component||{base:a})),"function"==typeof n&&n(),a&&a._component||a}o.options.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,n=e.attributes=null==e.attributes?{}:L({},e.attributes);"function"==typeof t?(!0===t[l]||t.prototype&&"isReactComponent"in t.prototype)&&(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),e.preactCompatNormalized||j(e),function(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&L(e.attributes,t.defaultProps);n&&L(e.attributes,n)}(e)):(e.children&&""===String(e.children)&&(e.children=void 0),e.children&&(n.children=e.children),n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),function(e,t){var n,i,r;if(t){for(r in t)if(n=f.test(r))break;if(n)for(r in i=e.attributes={},t)t.hasOwnProperty(r)&&(i[f.test(r)?r.replace(/([A-Z0-9])/,"-$1").toLowerCase():r]=t[r])}}(e,n))}b&&b(e)};var y=function(){};function C(e,t,n,i){var r=$(Object(o.h)(y,{context:e.context},t),n),a=r._component||r.base;return i&&i.call(a,r),a}function w(e){C(this,e.vnode,e.container)}function D(e,t){return Object(o.h)(w,{vnode:e,container:t})}function k(e){var t=e._preactCompatRendered&&e._preactCompatRendered.base;return!(!t||t.parentNode!==e)&&(Object(o.render)(Object(o.h)(m),e,t),!0)}y.prototype.getChildContext=function(){return this.props.context},y.prototype.render=function(e){return e.children[0]};var x,E=[],F={map:function(e,t,n){return null==e?null:(e=F.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t))},forEach:function(e,t,n){if(null==e)return null;e=F.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e&&e.length||0},only:function(e){if(1!==(e=F.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:E.concat(e)}};function _(e){return N.bind(null,e)}for(var S={},O=s.length;O--;)S[s[O]]=_(s[O]);function P(e,t){for(var n=t||0;n<e.length;n++){var i=e[n];Array.isArray(i)?P(i):i&&"object"==typeof i&&!I(i)&&(i.props&&i.type||i.attributes&&i.nodeName||i.children)&&(e[n]=N(i.type||i.nodeName,i.props||i.attributes,i.children))}}function T(e){var t,n=e[l];return n?!0===n?e:n:(n=U({displayName:(t=e).displayName||t.name,render:function(){return t(this.props,this.context)}}),Object.defineProperty(n,l,{configurable:!0,value:!0}),n.displayName=e.displayName,n.propTypes=e.propTypes,n.defaultProps=e.defaultProps,Object.defineProperty(e,l,{configurable:!0,value:n}),n)}function N(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return P(e,2),j(o.h.apply(void 0,e))}function j(e){var t;e.preactCompatNormalized=!0,function(e){var t=e.attributes||(e.attributes={});A.enumerable="className"in t,t.className&&(t.class=t.className);Object.defineProperty(t,"className",A)}(e),"function"!=typeof(t=e.nodeName)||t.prototype&&t.prototype.render||(e.nodeName=T(e.nodeName));var n,i,r=e.attributes.ref,o=r&&typeof r;return!x||"string"!==o&&"number"!==o||(e.attributes.ref=(n=r,(i=x)._refProxies[n]||(i._refProxies[n]=function(e){i&&i.refs&&(i.refs[n]=e,null===e&&(delete i._refProxies[n],i=null))}))),function(e){var t=e.nodeName,n=e.attributes;if(!n||"string"!=typeof t)return;var i={};for(var r in n)i[r.toLowerCase()]=r;i.ondoubleclick&&(n.ondblclick=n[i.ondoubleclick],delete n[i.ondoubleclick]);if(i.onchange&&("textarea"===t||"input"===t.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var o=i.oninput||"oninput";n[o]||(n[o]=G([n[o],n[i.onchange]]),delete n[i.onchange])}}(e),e}function M(e,t){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];if(!I(e))return e;var r=e.attributes||e.props,a=Object(o.h)(e.nodeName||e.type,L({},r),e.children||r&&r.children),c=[a,t];return n&&n.length?c.push(n):t&&t.children&&c.push(t.children),j(o.cloneElement.apply(void 0,c))}function I(e){return e&&(e instanceof v||e.$$typeof===d)}var A={configurable:!0,get:function(){return this.class},set:function(e){this.class=e}};function L(e,t){for(var n=arguments,i=1,r=void 0;i<arguments.length;i++)if(r=n[i])for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o]);return e}function R(e,t){for(var n in e)if(!(n in t))return!0;for(var i in t)if(e[i]!==t[i])return!0;return!1}function B(e){return e&&(e.base||1===e.nodeType&&e)||null}function z(){}function U(e){function t(e,t){!function(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||u.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}(this),Y.call(this,e,t,p),V.call(this,e,t)}return(e=L({constructor:t},e)).mixins&&function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=G(t[n].concat(e[n]||E),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}(e,function(e){for(var t={},n=0;n<e.length;n++){var i=e[n];for(var r in i)i.hasOwnProperty(r)&&"function"==typeof i[r]&&(t[r]||(t[r]=[])).push(i[r])}return t}(e.mixins)),e.statics&&L(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps.call(t)),z.prototype=Y.prototype,t.prototype=L(new z,e),t.displayName=e.displayName||"Component",t}function W(e,t,n){if("string"==typeof t&&(t=e.constructor.prototype[t]),"function"==typeof t)return t.apply(e,n)}function G(e,t){return function(){for(var n,i=arguments,r=this,o=0;o<e.length;o++){var a=W(r,e[o],i);if(t&&null!=a)for(var c in n||(n={}),a)a.hasOwnProperty(c)&&(n[c]=a[c]);else void 0!==a&&(n=a)}return n}}function V(e,t){H.call(this,e,t),this.componentWillReceiveProps=G([H,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=G([H,q,this.render||"render",K])}function H(e,t){if(e){var n=e.children;if(n&&Array.isArray(n)&&1===n.length&&("string"==typeof n[0]||"function"==typeof n[0]||n[0]instanceof v)&&(e.children=n[0],e.children&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children)),h){var i="function"==typeof this?this:this.constructor,o=this.propTypes||i.propTypes,a=this.displayName||i.name;o&&r.a.checkPropTypes(o,e,"prop",a)}}}function q(e){x=this}function K(){x===this&&(x=null)}function Y(e,t,n){o.Component.call(this,e,t),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},n!==p&&V.call(this,e,t)}function Z(e,t){Y.call(this,e,t)}function J(e){e()}L(Y.prototype=new o.Component,{constructor:Y,isReactComponent:{},replaceState:function(e,t){for(var n in this.setState(e,t),this.state)n in e||delete this.state[n]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),z.prototype=Y.prototype,Z.prototype=new z,Z.prototype.isPureReactComponent=!0,Z.prototype.shouldComponentUpdate=function(e,t){return R(this.props,e)||R(this.state,t)};var X={version:c,DOM:S,PropTypes:r.a,Children:F,render:$,hydrate:$,createClass:U,createContext:a.createContext,createPortal:D,createFactory:_,createElement:N,cloneElement:M,createRef:o.createRef,isValidElement:I,findDOMNode:B,unmountComponentAtNode:k,Component:Y,PureComponent:Z,unstable_renderSubtreeIntoContainer:C,unstable_batchedUpdates:J,__spread:L};t.default=X},function(e,t,n){"use strict";var i,r=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function c(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},i=[],r=0;r<e.length;r++){var o=e[r],s=t.base?o[0]+t.base:o[0],d=n[s]||0,l="".concat(s," ").concat(d);n[s]=d+1;var u=c(l),f={css:o[1],media:o[2],sourceMap:o[3]};-1!==u?(a[u].references++,a[u].updater(f)):a.push({identifier:l,updater:v(f,t),references:1}),i.push(l)}return i}function d(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,u=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function f(e,t,n,i){var r=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=u(t,r);else{var o=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,n){var i=n.css,r=n.media,o=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),o&&btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var h=null,m=0;function v(e,t){var n,i,r;if(t.singleton){var o=m++;n=h||(h=d(t)),i=f.bind(null,n,o,!1),r=f.bind(null,n,o,!0)}else n=d(t),i=p.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var r=c(n[i]);a[r].references--}for(var o=s(e,t),d=0;d<n.length;d++){var l=c(n[d]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=o}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var r=(a=i,c=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(s," */")),o=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([r]).join("\n")}var a,c,s;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(i)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(r[a]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);i&&r[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/define-property")},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return g})),n.d(t,"d",(function(){return b}));var i=function(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),i=t[0].split("."),r=0;r<3;r++){var o=Number(n[r]),a=Number(i[r]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0};function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}var s=function(){function e(t){o(this,e),function(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!h(e)||!h(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(h(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+m(e)+": "+e,"."))}(t),this.metadata=t,$.call(this,t)}return c(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter((function(e){return"001"!==e}))}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&"001"!==e){if(!this.hasCountry(e))throw new Error("Unknown country: ".concat(e));this.numberingPlan=new d(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw new Error("Unknown calling code: ".concat(t));this.numberingPlan=new d(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var i=this.countryCallingCodes()[e];if(i&&1===i.length&&"001"===i[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){this.selectNumberingPlan(null,e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),e}(),d=function(){function e(t,n){o(this,e),this.globalMetadataObject=n,this.metadata=t,$.call(this,n.metadata)}return c(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this,t=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return t.map((function(t){return new l(t,e)}))}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&p(this.types(),e))return new f(p(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?" ext. ":this.metadata[13]||" ext. "}}]),e}(),l=function(){function e(t,n){o(this,e),this._format=t,this.metadata=n}return c(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return this.nationalPrefixFormattingRule()&&!u.test(this.nationalPrefixFormattingRule())}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),u=/^\(?\$1\)?$/,f=function(){function e(t,n){o(this,e),this.type=t,this.metadata=n}return c(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function p(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}var h=function(e){return"object"===r(e)},m=function(e){return r(e)};function v(e,t){return(t=new s(t)).hasCountry(e)?t.country(e).ext():" ext. "}function g(e,t){if((t=new s(t)).hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function b(e,t){return void 0!==t.countries[e]}function $(e){this.v1=!e.version,this.v2=void 0!==e.version&&-1===i(e.version,"1.2.0"),this.v3=void 0!==e.version&&-1===i(e.version,"1.7.35"),this.v4=void 0!==e.version}},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/define-properties")},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/map")},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return l}));var i=n(51),r=n.n(i),o=n(201),a=n.n(o),c=function(e){return e},s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a()(t).call(t,(function(e,t){return function(){return t(e.apply(void 0,arguments))}}),c)},d=function(e){var t={};return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=r()(i);return t[a]||(t[a]=e.apply(void 0,i))}},l=function(){}},function(e,t){e.exports=require("@babel/runtime-corejs3/regenerator")},function(e,t,n){var i=n(23),r=n(272);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){var i=n(23),r=n(282);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/objectWithoutProperties")},function(e,t,n){var i=n(23),r=n(267);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/includes")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/asyncToGenerator")},function(e,t,n){e.exports=n(224)()},function(e,t,n){var i=n(23),r=n(266);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/toConsumableArray")},function(e,t,n){"use strict";function i(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function r(e,t){var n=e.slice(),i=t,r=Array.isArray(i),o=0;for(i=r?i:i[Symbol.iterator]();;){var a;if(r){if(o>=i.length)break;a=i[o++]}else{if((o=i.next()).done)break;a=o.value}var c=a;e.indexOf(c)<0&&n.push(c)}return n.sort((function(e,t){return e-t}))}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}))},function(e,t,n){var i=n(23),r=n(331);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/set-timeout")},function(e,t,n){"use strict";t.__esModule=!0,t.connect=t.Provider=void 0;var i=o(n(223)),r=o(n(226));function o(e){return e&&e.__esModule?e:{default:e}}t.Provider=i.default,t.connect=r.default},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/some")},function(e,t,n){var i=n(23),r=n(274);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){var i=n(40),r=n(157),o=n(68),a=n(158),c=n(163),s=n(295),d=r("wks"),l=i.Symbol,u=s?l:l&&l.withoutSetter||a;e.exports=function(e){return o(d,e)||(c&&o(l,e)?d[e]=l[e]:d[e]=u("Symbol."+e)),d[e]}},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/find")},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var i={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"};function r(e){return i[e]}function o(e){var t="",n=e.split(""),i=Array.isArray(n),o=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(o>=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}var c=r(a);c&&(t+=c)}return t}},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/json/stringify")},function(e,t,n){var i=n(23),r=n(253);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var i=n(27),r=n(42),o=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function a(e,t,n){if(t=t||{},e.country){(n=new i.a(n)).selectNumberingPlan(e.country,e.countryCallingCode);var a=t.v2?e.nationalNumber:e.phone;if(Object(r.a)(a,n.nationalNumberPattern())){if(c(a,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":n.type("MOBILE")?c(a,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var s=0,d=o;s<d.length;s++){var l=d[s];if(c(a,l,n))return l}}}}function c(e,t,n){return!(!(t=n.type(t))||!t.pattern())&&(!(t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0)&&Object(r.a)(e,t.pattern()))}function s(e,t,n){var i=n.type(t),o=i&&i.possibleLengths()||n.possibleLengths();if(!o)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===t){if(!n.type("FIXED_LINE"))return s(e,"MOBILE",n);var a=n.type("MOBILE");a&&(o=Object(r.b)(o,a.possibleLengths()))}else if(t&&!i)return"INVALID_LENGTH";var c=e.length,d=o[0];return d===c?"IS_POSSIBLE":d>c?"TOO_SHORT":o[o.length-1]<c?"TOO_LONG":o.indexOf(c,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name=this.constructor.name,this.message=t,this.stack=new Error(t).stack};i.prototype=Object.create(Error.prototype),i.prototype.constructor=i},function(e,t,n){var i=n(23),r=n(270);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/set-interval")},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/slicedToArray")},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"e",(function(){return b})),n.d(t,"d",(function(){return $})),n.d(t,"f",(function(){return y})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return w}));var i=n(21),r=n(42),o=n(54),a=n(27),c=n(123),s=n(93),d=n(78),l=n(53),u=n(122),f=n(94),p=n(75),h=n(70),m=new RegExp("["+i.d+i.e+"]"),v=new RegExp("[^"+i.e+"]+$");function g(e,t,n){if(t=t||{},n=new a.a(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry)){if(t.v2)throw new o.a("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(t.defaultCountry))}var l=function(e,t){if(e&&0===e.indexOf("tel:"))return Object(p.b)(e);var n=function(e,t){if(!e)return;if(e.length>250){if(t)throw new o.a("TOO_LONG");return}var n=e.search(m);if(n<0)return;return e.slice(n).replace(v,"")}(e,t);if(!n||!Object(c.a)(n))return{};var i=Object(s.c)(n);if(i.ext)return i;return{number:n}}(e,t.v2),f=l.number,g=l.ext;if(!f){if(t.v2)throw new o.a("NOT_A_NUMBER");return{}}var b=function(e,t,n,i){var r,o=C(Object(d.a)(e),t,n,i.metadata),c=o.countryCallingCode,s=o.number;if(c)i.chooseCountryByCountryCallingCode(c);else{if(!s||!t&&!n)return{};i.selectNumberingPlan(t,n),t&&(r=t),c=n||Object(a.b)(t,i.metadata)}if(!s)return{countryCallingCode:c};var l=y(Object(d.a)(s),i),u=l.nationalNumber,f=l.carrierCode,p=$(c,u,i);p&&(r=p,"001"===p||i.country(r));return{country:r,countryCallingCode:c,nationalNumber:u,carrierCode:f}}(f,t.defaultCountry,t.defaultCallingCode,n),w=b.country,D=b.nationalNumber,k=b.countryCallingCode,x=b.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new o.a("INVALID_COUNTRY");return{}}if(!D||D.length<i.c){if(t.v2)throw new o.a("TOO_SHORT");return{}}if(D.length>i.b){if(t.v2)throw new o.a("TOO_LONG");return{}}if(t.v2){var E=new h.a(k,D,n.metadata);return w&&(E.country=w),x&&(E.carrierCode=x),g&&(E.ext=g),E}var F=!!(t.extended?n.hasSelectedNumberingPlan():w)&&Object(r.a)(D,n.nationalNumberPattern());return t.extended?{country:w,countryCallingCode:k,carrierCode:x,valid:F,possible:!!F||!(!0!==t.extended||!n.possibleLengths()||!Object(u.b)(D,void 0!==k,n)),phone:D,ext:g}:F?function(e,t,n){var i={country:e,phone:t};n&&(i.ext=n);return i}(w,D,g):{}}function b(e,t){if(e&&t.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.nationalPrefixForParsing()+")"),i=n.exec(e);if(i){var o,a,c=i.length-1;if(t.nationalPrefixTransformRule()&&c>0&&i[c])o=e.replace(n,t.nationalPrefixTransformRule()),c>1&&i[c]&&(a=i[1]);else{var s=i[0];o=e.slice(s.length),c>0&&(a=i[1])}if(!Object(r.a)(e,t.nationalNumberPattern())||Object(r.a)(o,t.nationalNumberPattern()))return{nationalNumber:o,carrierCode:a}}}return{nationalNumber:e}}function $(e,t,n){var i=n.getCountryCodesForCallingCode(e);if(i)return 1===i.length?i[0]:function(e,t,n){n=new a.a(n);var i=e,r=Array.isArray(i),o=0;for(i=r?i:i[Symbol.iterator]();;){var c;if(r){if(o>=i.length)break;c=i[o++]}else{if((o=i.next()).done)break;c=o.value}var s=c;if(n.country(s),n.leadingDigits()){if(t&&0===t.search(n.leadingDigits()))return s}else if(Object(l.b)({phone:t,country:s},void 0,n.metadata))return s}}(i,t,n.metadata)}function y(e,t){var n=b(Object(d.a)(e),t),i=n.nationalNumber,r=n.carrierCode;if(i.length!==e.length+(r?r.length:0)&&t.possibleLengths())switch(Object(l.a)(i,void 0,t)){case"TOO_SHORT":case"INVALID_LENGTH":return{nationalNumber:e}}return{nationalNumber:i,carrierCode:r}}function C(e,t,n,r){if(!e)return{};if("+"!==e[0]){var o=Object(f.b)(e,t,n,r);if(!o||o===e){if(t||n){var c=w(e,t,n,r),s=c.countryCallingCode,d=c.number;if(s)return{countryCallingCode:s,number:d}}return{number:e}}e="+"+o}if("0"===e[1])return{};r=new a.a(r);for(var l=2;l-1<=i.a&&l<=e.length;){var u=e.slice(1,l);if(r.hasCallingCode(u))return r.selectNumberingPlan(void 0,u),{countryCallingCode:u,number:e.slice(l)};l++}return{}}function w(e,t,n,i){var o=t?Object(a.b)(t,i):n;if(0===e.indexOf(o)){(i=new a.a(i)).selectNumberingPlan(t,n);var c=e.slice(o.length),s=b(c,i).nationalNumber,d=b(e,i).nationalNumber;if(!Object(r.a)(d,i.nationalNumberPattern())&&Object(r.a)(s,i.nationalNumberPattern())||"TOO_LONG"===Object(l.a)(d,void 0,i))return{countryCallingCode:o,number:c}}return{number:e}}},function(e,t,n){var i=n(23),r=n(240);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){var i=n(23),r=n(260);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){var i=n(23),r=n(273);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){var i=n(23),r=n(280);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){var i=n(23),r=n(330);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){var i=n(72),r=n(100),o=n(111);e.exports=i?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/reduce")},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(73);e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return s}));var i=n(121);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(i=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==c.return||c.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(){var e=s(arguments),t=e.text,n=e.options,r=e.metadata;return Object(i.a)(t,n,r)}function s(e){var t,n,i,r=a(Array.prototype.slice.call(e),4),c=r[0],s=r[1],l=r[2],u=r[3];if("string"!=typeof c)throw new TypeError("A text for parsing must be a string.");if(t=c,s&&"string"!=typeof s){if(!d(s))throw new Error("Invalid second argument: ".concat(s));l?(n=s,i=l):i=s}else u?(n=l,i=u):(n=void 0,i=l),s&&(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){o(e,t,n[t])}))}return e}({defaultCountry:s},n));return{text:t,options:n,metadata:i}}var d=function(e){return"object"===r(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(27),r=n(122),o=n(96),a=n(53),c=n(81);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var l=function(){function e(t,n,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");var o=new i.a(r);u(t)&&(this.country=t,o.country(t),t=o.countryCallingCode()),this.countryCallingCode=t,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.metadata=r}var t,n,l;return t=e,(n=[{key:"isPossible",value:function(){return Object(r.a)(this,{v2:!0},this.metadata)}},{key:"isValid",value:function(){return Object(o.a)(this,{v2:!0},this.metadata)}},{key:"isNonGeographic",value:function(){return new i.a(this.metadata).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return Object(a.b)(this,{v2:!0},this.metadata)}},{key:"format",value:function(e,t){return Object(c.c)(this,e,t?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){s(e,t,n[t])}))}return e}({},t,{v2:!0}):{v2:!0},this.metadata)}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}])&&d(t.prototype,n),l&&d(t,l),e}(),u=function(e){return/^[A-Z]{2}$/.test(e)}},function(e,t,n){var i=n(23),r=n(277);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){var i=n(66);e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var i=n(40),r=n(160).f,o=n(161),a=n(132),c=n(133),s=n(64),d=n(68),l=function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,u,f,p,h,m,v,g,b=e.target,$=e.global,y=e.stat,C=e.proto,w=$?i:y?i[b]:(i[b]||{}).prototype,D=$?a:a[b]||(a[b]={}),k=D.prototype;for(f in t)n=!o($?f:b+(y?".":"#")+f,e.forced)&&w&&d(w,f),h=D[f],n&&(m=e.noTargetGet?(g=r(w,f))&&g.value:w[f]),p=n&&m?m:t[f],n&&typeof h==typeof p||(v=e.bind&&n?c(p,i):e.wrap&&n?l(p):C&&"function"==typeof p?c(Function.call,p):p,(e.sham||p&&p.sham||h&&h.sham)&&s(v,"sham",!0),D[f]=v,C&&(d(a,u=b+"Prototype")||s(a,u,{}),a[u][f]=p,e.real&&k&&!k[f]&&s(k,f,p)))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var i=n(123);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(i=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{i||null==c.return||c.return()}finally{if(r)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e){var t,n,o=(e=e.replace(/^tel:/,"tel=")).split(";"),a=Array.isArray(o),c=0;for(o=a?o:o[Symbol.iterator]();;){var s;if(a){if(c>=o.length)break;s=o[c++]}else{if((c=o.next()).done)break;s=c.value}var d=r(s.split("="),2),l=d[0],u=d[1];switch(l){case"tel":t=u;break;case"ext":n=u;break;case"phone-context":"+"===u[0]&&(t=u+t)}}if(!Object(i.a)(t))return{};var f={number:t};return n&&(f.ext=n),f}function a(e){var t=e.number,n=e.ext;if(!t)return"";if("+"!==t[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}},function(e,t){e.exports=require("@babel/runtime-corejs3/helpers/typeof")},function(e,t){e.exports=require("redux")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n(50);function r(e){var t="",n=e.split(""),i=Array.isArray(n),r=0;for(n=i?n:n[Symbol.iterator]();;){var a;if(i){if(r>=n.length)break;a=n[r++]}else{if((r=n.next()).done)break;a=r.value}t+=o(a,t)||""}return t}function o(e,t){if("+"===e){if(t)return;return"+"}return Object(i.b)(e)}},function(e,t,n){var i=n(23),r=n(250);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){var i=n(23),r=n(271);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1},a=(i(r,o),r.locals?r.locals:{});e.exports=a},function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return h}));var i=n(21),r=n(42),o=n(27),a=n(94),c=n(75);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d={formatExtension:function(e,t,n){return"".concat(e).concat(n.ext()).concat(t)}};function l(e,t,n,i){if(n=n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"functio