From 6f605a70546a04bb5b19841d78f4af83e9c2b685 Mon Sep 17 00:00:00 2001 From: Stefania Cardenas Date: Thu, 3 Oct 2019 16:02:10 +0100 Subject: [PATCH] Bump version to 5.4.0 --- demo/fiddle/demo.details | 4 ++-- dist/onfido.min.js | 14 +++++++------- dist/onfido.vendors~crossDevice.min.js | 4 ++-- dist/style.css | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/demo/fiddle/demo.details b/demo/fiddle/demo.details index b8b0bfea40..ab116becf6 100644 --- a/demo/fiddle/demo.details +++ b/demo/fiddle/demo.details @@ -3,6 +3,6 @@ authors: - Onfido Team resources: - - https://assets.onfido.com/web-sdk-releases/5.4.0-rc.1/onfido.min.js - - https://assets.onfido.com/web-sdk-releases/5.4.0-rc.1/style.css + - https://assets.onfido.com/web-sdk-releases/5.4.0/onfido.min.js + - https://assets.onfido.com/web-sdk-releases/5.4.0/style.css ... diff --git a/dist/onfido.min.js b/dist/onfido.min.js index ab4c0fffa7..e46d137021 100644 --- a/dist/onfido.min.js +++ b/dist/onfido.min.js @@ -1,10 +1,10 @@ -/* Onfido SDK 5.4.0-rc.1 */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Onfido=t():e.Onfido=t()}(window,function(){return function(e){function t(t){for(var n,r,i=t[0],a=t[1],s=0,c=[];s2;)r.push(arguments[l]);for(i&&null!=i.children&&(r.length||r.push(i.children),delete i.children);r.length;)if((c=r.pop())&&void 0!==c.pop)for(l=c.length;l--;)r.push(c[l]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof e)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&s?a[a.length-1]+=c:a===o?a=[c]:a.push(c),s=u;var d=new t;return d.nodeName=e,d.children=a,d.attributes=null==i?void 0:i,d.key=null==i?void 0:i.key,void 0!==n.vnode&&n.vnode(d),d}function a(e,t){for(var n in t)e[n]=t[n];return e}function s(e,t){e&&("function"==typeof e?e(t):e.current=t)}var c="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function u(e,t){return i(e.nodeName,a(a({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}var l=0,d=1,f=2,p=3,h="__preactattr_",m=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,v=[];function y(e){!e._dirty&&(e._dirty=!0)&&1==v.push(e)&&(n.debounceRendering||c)(g)}function g(){for(var e=void 0;e=v.pop();)e._dirty&&F(e)}function b(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&$(e,t.nodeName):n||e._componentConstructor===t.nodeName}function $(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function _(e){var t=a({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function k(e){var t=e.parentNode;t&&t.removeChild(e)}function w(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)s(n,null),s(r,e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var a in r)e.style[a]="number"==typeof r[a]&&!1===m.test(a)?r[a]+"px":r[a]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var c=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,C,c):e.removeEventListener(t,C,c),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var u=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?u?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(u?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function C(e){return this._listeners[e.type](n.event&&n.event(e)||e)}var x=[],O=0,S=!1,E=!1;function j(){for(var e=void 0;e=x.shift();)n.afterMount&&n.afterMount(e),e.componentDidMount&&e.componentDidMount()}function T(e,t,n,r,o,i){O++||(S=null!=o&&void 0!==o.ownerSVGElement,E=null!=e&&!(h in e));var a=P(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--O||(E=!1,i||j()),a}function P(e,t,n,r,o){var i=e,a=S;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),N(e,!0))),i[h]=!0,i;var s,c,u=t.nodeName;if("function"==typeof u)return function(e,t,n,r){for(var o=e&&e._component,i=o,a=e,s=o&&e._componentConstructor===t.nodeName,c=s,u=_(t);o&&!c&&(o=o._parentComponent);)c=o.constructor===t.nodeName;return o&&c&&(!r||o._component)?(M(o,u,p,n,r),e=o.base):(i&&!s&&(L(i),e=a=null),o=D(t.nodeName,u,n),e&&!o.nextBase&&(o.nextBase=e,a=null),M(o,u,d,n,r),e=o.base,a&&e!==a&&(a._component=null,N(a,!1))),e}(e,t,n,r);if(S="svg"===u||"foreignObject"!==u&&S,u=String(u),(!e||!$(e,u))&&(s=u,(c=S?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s)).normalizedNodeName=s,i=c,e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),N(e,!0)}var l=i.firstChild,f=i[h],m=t.children;if(null==f){f=i[h]={};for(var v=i.attributes,y=v.length;y--;)f[v[y].name]=v[y].value}return!E&&m&&1===m.length&&"string"==typeof m[0]&&null!=l&&void 0!==l.splitText&&null==l.nextSibling?l.nodeValue!=m[0]&&(l.nodeValue=m[0]):(m&&m.length||null!=l)&&function(e,t,n,r,o){var i=e.childNodes,a=[],s={},c=0,u=0,l=i.length,d=0,f=t?t.length:0,p=void 0,m=void 0,v=void 0,y=void 0,g=void 0;if(0!==l)for(var $=0;$2;)r.push(arguments[l]);for(i&&null!=i.children&&(r.length||r.push(i.children),delete i.children);r.length;)if((c=r.pop())&&void 0!==c.pop)for(l=c.length;l--;)r.push(c[l]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof e)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&s?a[a.length-1]+=c:a===o?a=[c]:a.push(c),s=u;var d=new t;return d.nodeName=e,d.children=a,d.attributes=null==i?void 0:i,d.key=null==i?void 0:i.key,void 0!==n.vnode&&n.vnode(d),d}function a(e,t){for(var n in t)e[n]=t[n];return e}function s(e,t){e&&("function"==typeof e?e(t):e.current=t)}var c="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function u(e,t){return i(e.nodeName,a(a({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}var l=0,d=1,f=2,p=3,h="__preactattr_",m=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,v=[];function y(e){!e._dirty&&(e._dirty=!0)&&1==v.push(e)&&(n.debounceRendering||c)(g)}function g(){for(var e=void 0;e=v.pop();)e._dirty&&F(e)}function b(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&$(e,t.nodeName):n||e._componentConstructor===t.nodeName}function $(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function _(e){var t=a({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function k(e){var t=e.parentNode;t&&t.removeChild(e)}function w(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)s(n,null),s(r,e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var a in r)e.style[a]="number"==typeof r[a]&&!1===m.test(a)?r[a]+"px":r[a]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var c=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,C,c):e.removeEventListener(t,C,c),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var u=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?u?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(u?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function C(e){return this._listeners[e.type](n.event&&n.event(e)||e)}var x=[],O=0,S=!1,E=!1;function j(){for(var e=void 0;e=x.shift();)n.afterMount&&n.afterMount(e),e.componentDidMount&&e.componentDidMount()}function T(e,t,n,r,o,i){O++||(S=null!=o&&void 0!==o.ownerSVGElement,E=null!=e&&!(h in e));var a=P(e,t,n,r,i);return o&&a.parentNode!==o&&o.appendChild(a),--O||(E=!1,i||j()),a}function P(e,t,n,r,o){var i=e,a=S;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),N(e,!0))),i[h]=!0,i;var s,c,u=t.nodeName;if("function"==typeof u)return function(e,t,n,r){for(var o=e&&e._component,i=o,a=e,s=o&&e._componentConstructor===t.nodeName,c=s,u=_(t);o&&!c&&(o=o._parentComponent);)c=o.constructor===t.nodeName;return o&&c&&(!r||o._component)?(M(o,u,p,n,r),e=o.base):(i&&!s&&(L(i),e=a=null),o=D(t.nodeName,u,n),e&&!o.nextBase&&(o.nextBase=e,a=null),M(o,u,d,n,r),e=o.base,a&&e!==a&&(a._component=null,N(a,!1))),e}(e,t,n,r);if(S="svg"===u||"foreignObject"!==u&&S,u=String(u),(!e||!$(e,u))&&(s=u,(c=S?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s)).normalizedNodeName=s,i=c,e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),N(e,!0)}var l=i.firstChild,f=i[h],m=t.children;if(null==f){f=i[h]={};for(var v=i.attributes,y=v.length;y--;)f[v[y].name]=v[y].value}return!E&&m&&1===m.length&&"string"==typeof m[0]&&null!=l&&void 0!==l.splitText&&null==l.nextSibling?l.nodeValue!=m[0]&&(l.nodeValue=m[0]):(m&&m.length||null!=l)&&function(e,t,n,r,o){var i=e.childNodes,a=[],s={},c=0,u=0,l=i.length,d=0,f=t?t.length:0,p=void 0,m=void 0,v=void 0,y=void 0,g=void 0;if(0!==l)for(var $=0;$".concat(e,""),"application/xml"),r=c()(n.firstChild.childNodes);return a()(r).call(r,function(e){return e.nodeType===document.TEXT_NODE?e.textContent:t({type:e.tagName,text:e.textContent})})},D=function(){return Math.floor(o()()/1e3)},R=function(){return(new Date).getTime()},M=function(e,t){var n=document.createElement("input");document.body.appendChild(n),n.setAttribute("value",e),n.select(),document.execCommand("copy"),document.body.removeChild(n),t()}},function(e,t,n){e.exports=n(151)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=n(153)},function(e,t,n){(function(t){var n="object",r=function(e){return e&&e.Math==Math&&e};e.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof t==n&&t)||Function("return this")()}).call(this,n(83))},function(e,t,n){var r=n(25);e.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=n(268)},function(e,t,n){var r=n(28),o=n(34),i=n(50);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(18);e.exports=function(e){return r[e+"Prototype"]}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(28),o=n(112),i=n(38),a=n(66),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(65),o=n(55);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return s}),n.d(t,"DOM",function(){return j}),n.d(t,"Children",function(){return S}),n.d(t,"render",function(){return b}),n.d(t,"hydrate",function(){return b}),n.d(t,"createClass",function(){return B}),n.d(t,"createPortal",function(){return w}),n.d(t,"createFactory",function(){return E}),n.d(t,"createElement",function(){return N}),n.d(t,"cloneElement",function(){return I}),n.d(t,"isValidElement",function(){return D}),n.d(t,"findDOMNode",function(){return L}),n.d(t,"unmountComponentAtNode",function(){return C}),n.d(t,"Component",function(){return K}),n.d(t,"PureComponent",function(){return Y}),n.d(t,"unstable_renderSubtreeIntoContainer",function(){return _}),n.d(t,"unstable_batchedUpdates",function(){return X}),n.d(t,"__spread",function(){return M});var r=n(130),o=n.n(r);n.d(t,"PropTypes",function(){return o.a});var i=n(0);n.d(t,"createRef",function(){return i.createRef});var a=n(150);n.d(t,"createContext",function(){return a.createContext});var s="15.1.0",c="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(" "),u="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,l="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",d={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(i.h)("a",null).constructor;v.prototype.$$typeof=u,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 y=i.options.event;i.options.event=function(e){return y&&(e=y(e)),e.persist=Object,e.nativeEvent=e,e};var g=i.options.vnode;function b(e,t,n){var r=t&&t._preactCompatRendered&&t._preactCompatRendered.base;r&&r.parentNode!==t&&(r=null),!r&&t&&(r=t.firstElementChild);for(var o=t.childNodes.length;o--;)t.childNodes[o]!==r&&t.removeChild(t.childNodes[o]);var a=Object(i.render)(e,t,r);return t&&(t._preactCompatRendered=a&&(a._component||{base:a})),"function"==typeof n&&n(),a&&a._component||a}i.options.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,n=e.attributes=null==e.attributes?{}:M({},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||A(e),function(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&M(e.attributes,t.defaultProps);n&&M(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,r,o;if(t){for(o in t)if(n=f.test(o))break;if(n)for(o in r=e.attributes={},t)t.hasOwnProperty(o)&&(r[f.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}(e,n))}g&&g(e)};var $=function(){};function _(e,t,n,r){var o=b(Object(i.h)($,{context:e.context},t),n),a=o._component||o.base;return r&&r.call(a,o),a}function k(e){_(this,e.vnode,e.container)}function w(e,t){return Object(i.h)(k,{vnode:e,container:t})}function C(e){var t=e._preactCompatRendered&&e._preactCompatRendered.base;return!(!t||t.parentNode!==e)&&(Object(i.render)(Object(i.h)(m),e,t),!0)}$.prototype.getChildContext=function(){return this.props.context},$.prototype.render=function(e){return e.children[0]};var x,O=[],S={map:function(e,t,n){return null==e?null:(e=S.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t))},forEach:function(e,t,n){if(null==e)return null;e=S.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=S.toArray(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:O.concat(e)}};function E(e){return N.bind(null,e)}for(var j={},T=c.length;T--;)j[c[T]]=E(c[T]);function P(e){var t,n=e[l];return n?!0===n?e:n:(n=B({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 function e(t,n){for(var r=n||0;r0;)n[r]=arguments[r+2];if(!D(e))return e;var o=e.attributes||e.props,a=[Object(i.h)(e.nodeName||e.type,M({},o),e.children||o&&o.children),t];return n&&n.length?a.push(n):t&&t.children&&a.push(t.children),A(i.cloneElement.apply(void 0,a))}function D(e){return e&&(e instanceof v||e.$$typeof===u)}var R={configurable:!0,get:function(){return this.class},set:function(e){this.class=e}};function M(e,t){for(var n=arguments,r=1,o=void 0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}},function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"a",function(){return c}),n.d(t,"c",function(){return u}),n.d(t,"d",function(){return l});var r=n(53),o=n.n(r),i=n(393),a=n.n(i),s=function(e){return e},c=function(){for(var e=arguments.length,t=new Array(e),n=0;n0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";n.d(t,"a",function(){return j}),n.d(t,"h",function(){return T}),n.d(t,"g",function(){return P}),n.d(t,"e",function(){return N}),n.d(t,"f",function(){return A}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return D}),n.d(t,"b",function(){return R});var r=n(11),o=n.n(r),i=n(1),a=n.n(i),s=n(73),c=n.n(s),u=n(109),l=n.n(u),d=n(30),f=n.n(d),p=n(244),h=n.n(p),m=n(51),v=n.n(m),y=n(52),g=n.n(y),b=n(47),$=n.n(b),_=n(3),k=n.n(_),w=n(135),C=n.n(w),x=n(12),O=n.n(x),S=n(80),E=n.n(S),j=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return E()(e=O()(t)).call(e,function(e){return n(t[e],e)})},T=function(e,t){if(!e&&!t)return!0;if(!e&&t||e&&!t)return!1;var n=O()(e),r=O()(t),o=new C.a(k()(n).call(n,r));if(n.length!==r.length||n.length!==o.size)return!1;for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:[];return A(e,function(e){return!$()(t).call(t,e)})},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return A(e,function(e){return $()(t).call(t,e)})},A=function(e,t){var n;return g()(n=O()(e||{})).call(n,function(n,r){return t(r,e[r])||(n[r]=e[r]),n},{})},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===O()(e).length},D=function(e,t){var n,r;return h.a.apply(Object,k()(n=[{}]).call(n,v()(f()(r=l()(e)).call(r,function(e){var n=c()(e,2),r=n[0],o=n[1];return a()({},r,t(o,r))}))))},R=function(e,t){var n;return o()(n=l()(e)).call(n,function(e){var n=c()(e,2),r=n[0],o=n[1];return t(o,r)})}},function(e,t){e.exports={}},function(e,t,n){var r=n(34).f,o=n(31),i=n(33),a=n(166),s=n(22)("toStringTag"),c=a!=={}.toString;e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;i(l,s)||r(l,s,{configurable:!0,value:t}),u&&c&&o(l,"toString",a)}}},function(e,t,n){var r=n(61),o=n(65),i=n(37),a=n(42),s=n(105),c=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,d=6==e,f=5==e||d;return function(p,h,m,v){for(var y,g,b=i(p),$=o(b),_=r(h,m,3),k=a($.length),w=0,C=v||s,x=t?C(p,k):n?C(p,0):void 0;k>w;w++)if((f||w in $)&&(g=_(y=$[w],w,b),e))if(t)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return y;case 6:return w;case 2:c.call(x,y)}else if(l)return!1;return d?-1:u||l?l:x}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t,n){e.exports=n(285)},function(e,t,n){e.exports={"absolute-center":"onfido-sdk-ui-Uploader-absolute-center",container:"onfido-sdk-ui-Uploader-container",instructions:"onfido-sdk-ui-Uploader-instructions",instructionsCopy:"onfido-sdk-ui-Uploader-instructionsCopy",error:"onfido-sdk-ui-Uploader-error",icon:"onfido-sdk-ui-Uploader-icon",identityIcon:"onfido-sdk-ui-Uploader-identityIcon",buttons:"onfido-sdk-ui-Uploader-buttons",buttonContainer:"onfido-sdk-ui-Uploader-buttonContainer",button:"onfido-sdk-ui-Uploader-button",proofOfAddressIcon:"onfido-sdk-ui-Uploader-proofOfAddressIcon",uploaderWrapper:"onfido-sdk-ui-Uploader-uploaderWrapper",uploadArea:"onfido-sdk-ui-Uploader-uploadArea"}},function(e,t,n){e.exports={"absolute-center":"onfido-sdk-ui-crossDevice-CrossDeviceLink-absolute-center",container:"onfido-sdk-ui-crossDevice-CrossDeviceLink-container",subTitle:"onfido-sdk-ui-crossDevice-CrossDeviceLink-subTitle",smsSection:"onfido-sdk-ui-crossDevice-CrossDeviceLink-smsSection",bolder:"onfido-sdk-ui-crossDevice-CrossDeviceLink-bolder",label:"onfido-sdk-ui-crossDevice-CrossDeviceLink-label",numberInputSection:"onfido-sdk-ui-crossDevice-CrossDeviceLink-numberInputSection",inputContainer:"onfido-sdk-ui-crossDevice-CrossDeviceLink-inputContainer",linkText:"onfido-sdk-ui-crossDevice-CrossDeviceLink-linkText",fieldError:"onfido-sdk-ui-crossDevice-CrossDeviceLink-fieldError",numberError:"onfido-sdk-ui-crossDevice-CrossDeviceLink-numberError",sending:"onfido-sdk-ui-crossDevice-CrossDeviceLink-sending",spin:"onfido-sdk-ui-crossDevice-CrossDeviceLink-spin",copyLinkSection:"onfido-sdk-ui-crossDevice-CrossDeviceLink-copyLinkSection",linkContainer:"onfido-sdk-ui-crossDevice-CrossDeviceLink-linkContainer",copySuccess:"onfido-sdk-ui-crossDevice-CrossDeviceLink-copySuccess",actionContainer:"onfido-sdk-ui-crossDevice-CrossDeviceLink-actionContainer",copyToClipboard:"onfido-sdk-ui-crossDevice-CrossDeviceLink-copyToClipboard",divider:"onfido-sdk-ui-crossDevice-CrossDeviceLink-divider",btn:"onfido-sdk-ui-crossDevice-CrossDeviceLink-btn"}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(301),o=n(302),i=n(308);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t,n){e.exports=n(233)},function(e,t,n){e.exports=n(324)},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(114),o=n(91);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports={}},function(e,t,n){var r,o,i,a=n(162),s=n(27),c=n(29),u=n(31),l=n(33),d=n(69),f=n(57),p=s.WeakMap;if(a){var h=new p,m=h.get,v=h.has,y=h.set;r=function(e,t){return y.call(h,e,t),t},o=function(e){return m.call(h,e)||{}},i=function(e){return v.call(h,e)}}else{var g=d("state");f[g]=!0,r=function(e,t){return u(e,g,t),t},o=function(e){return l(e,g)?e[g]:{}},i=function(e){return l(e,g)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t){e.exports=!0},function(e,t,n){var r=n(28),o=n(74),i=n(50),a=n(35),s=n(66),c=n(33),u=n(112),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(67);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){n(161);var r=n(168),o=n(27),i=n(31),a=n(44),s=n(22)("toStringTag");for(var c in r){var u=o[c],l=u&&u.prototype;l&&!l[s]&&i(l,s,c),a[c]=a.Array}},function(e,t,n){var r=n(54);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){e.exports={"absolute-center":"onfido-sdk-ui-ProofOfAddress-Guidance-absolute-center",content:"onfido-sdk-ui-ProofOfAddress-Guidance-content",subTitle:"onfido-sdk-ui-ProofOfAddress-Guidance-subTitle",bolder:"onfido-sdk-ui-ProofOfAddress-Guidance-bolder",makeSure:"onfido-sdk-ui-ProofOfAddress-Guidance-makeSure",docImageContainer:"onfido-sdk-ui-ProofOfAddress-Guidance-docImageContainer",docImage:"onfido-sdk-ui-ProofOfAddress-Guidance-docImage",label:"onfido-sdk-ui-ProofOfAddress-Guidance-label"}},function(e,t,n){var r=n(25),o=n(54),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(29);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(27),o=n(164),i=n(59),a=r["__core-js_shared__"]||o("__core-js_shared__",{});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.2.1",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(68),o=n(77),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(38),o=n(113),i=n(91),a=n(57),s=n(143),c=n(102),u=n(69)("IE_PROTO"),l=function(){},d=function(){var e,t=c("iframe"),n=i.length;for(t.style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("