From 12d479c11fd9eb55e87e162d8eefdbff4cde78d9 Mon Sep 17 00:00:00 2001 From: Ethan Nguyen Date: Tue, 10 Aug 2021 11:26:28 +0100 Subject: [PATCH] Bump version to 6.12.0 --- demo/fiddle/demo.details | 4 ++-- dist/onfido.min.js | 4 ++-- dist/onfidoAuth.6.min.js | 2 +- dist/onfidoAuth.authVendor.min.js | 4 ++-- dist/onfidoAuth.authVendor.min.js.map | 2 +- dist/onfidoAuth.crossDevice.min.js | 2 +- dist/onfidoAuth.min.js | 4 ++-- dist/onfidoAuth.min.js.map | 2 +- dist/style.css | 2 +- lib/index.js | 2 +- lib/index.js.map | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/demo/fiddle/demo.details b/demo/fiddle/demo.details index 164acccc9c..c259a9047f 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/6.11.1/onfido.min.js - - https://assets.onfido.com/web-sdk-releases/6.11.1/style.css + - https://assets.onfido.com/web-sdk-releases/6.12.0/onfido.min.js + - https://assets.onfido.com/web-sdk-releases/6.12.0/style.css ... diff --git a/dist/onfido.min.js b/dist/onfido.min.js index 84cdd27c3e..75dc66365d 100644 --- a/dist/onfido.min.js +++ b/dist/onfido.min.js @@ -1,4 +1,4 @@ /*! License information can be found in onfido.LICENSES.txt */ -/* OnfidoIDV SDK 6.12.0-rc.2 */ -!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,o,a=t[0],i=t[1],u=0,c=[];u3)for(n=[n],a=3;a0?f(y.type,y.props,y.key,null,y.__v):y)){if(y.__=n,y.__b=n.__b+1,null===(m=S[p])||m&&y.key==m.key&&y.type===m.type)S[p]=void 0;else for(_=0;_3)for(n=[n],a=3;a3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),Object(r.render)(Object(r.createElement)(D,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function k(e,t){return Object(r.createElement)(S,{__v:e,i:t})}(b.prototype=new r.Component).__e=function(e){var t=this,n=h(t.__v),o=t.o.get(e);return o[0]++,function(r){var a=function(){t.props.revealOrder?(o.push(r),g(t,e,o)):r()};n?n(a):a()}},b.prototype.render=function(e){this.u=null,this.o=new Map;var t=Object(r.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},b.prototype.componentDidUpdate=b.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){g(e,n,t)}))};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,C=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,w=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function O(e,t,n){return null==t.__k&&(t.textContent=""),Object(r.render)(e,t),"function"==typeof n&&n(),e?e.__c:null}function U(e,t,n){return Object(r.hydrate)(e,t),"function"==typeof n&&n(),e?e.__c:null}r.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var E=r.options.event;function I(){}function N(){return this.cancelBubble}function x(){return this.defaultPrevented}r.options.event=function(e){return E&&(e=E(e)),e.persist=I,e.isPropagationStopped=N,e.isDefaultPrevented=x,e.nativeEvent=e};var L,q={configurable:!0,get:function(){return this.class}},R=r.options.vnode;r.options.vnode=function(e){var t=e.type,n=e.props,o=n;if("string"==typeof t){for(var a in o={},n){var i=n[a];"value"===a&&"defaultValue"in n&&null==i||("defaultValue"===a&&"value"in n&&null==n.value?a="value":"download"===a&&!0===i?i="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+t)&&!w(n.type)?a="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(a)?a=a.toLowerCase():C.test(a)?a=a.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===i&&(i=void 0),o[a]=i)}"select"==t&&o.multiple&&Array.isArray(o.value)&&(o.value=Object(r.toChildArray)(n.children).forEach((function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)}))),"select"==t&&null!=o.defaultValue&&(o.value=Object(r.toChildArray)(n.children).forEach((function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),e.props=o}t&&n.class!=n.className&&(q.enumerable="className"in n,null!=n.className&&(o.class=n.className),Object.defineProperty(o,"className",q)),e.$$typeof=A,R&&R(e)};var P=r.options.__r;r.options.__r=function(e){P&&P(e),L=e.__c};var T={ReactCurrentDispatcher:{current:{readContext:function(e){return L.__n[e.__c].props.value}}}},M=1,j=2,B=3,F=4,G=5;function z(e,t){return t()}var H="object"==typeof performance&&"function"==typeof performance.now?performance.now.bind(performance):function(){return Date.now()},V="16.8.0";function W(e){return r.createElement.bind(null,e)}function K(e){return!!e&&e.$$typeof===A}function X(e){return K(e)?r.cloneElement.apply(null,arguments):e}function Y(e){return!!e.__k&&(Object(r.render)(null,e),!0)}function Q(e){return e&&(e.base||1===e.nodeType&&e)||null}var Z=function(e,t){return e(t)},J=r.Fragment;t.default={useState:o.k,useReducer:o.i,useEffect:o.d,useLayoutEffect:o.g,useRef:o.j,useImperativeHandle:o.f,useMemo:o.h,useCallback:o.a,useContext:o.b,useDebugValue:o.c,version:"16.8.0",Children:_,render:O,hydrate:U,unmountComponentAtNode:Y,createPortal:k,createElement:r.createElement,createContext:r.createContext,createFactory:W,cloneElement:X,createRef:r.createRef,Fragment:r.Fragment,isValidElement:K,findDOMNode:Q,Component:r.Component,PureComponent:u,memo:c,forwardRef:d,unstable_batchedUpdates:Z,StrictMode:r.Fragment,Suspense:y,SuspenseList:b,lazy:v,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:T}},function(e,t,n){e.exports={modal_animation_duration:"200ms",content:"onfido-sdk-ui-Theme-content",header:"onfido-sdk-ui-Theme-header",step:"onfido-sdk-ui-Theme-step",fullScreenStep:"onfido-sdk-ui-Theme-fullScreenStep",fullHeightContainer:"onfido-sdk-ui-Theme-fullHeightContainer",fullHeightMobileContainer:"onfido-sdk-ui-Theme-fullHeightMobileContainer",navigationBar:"onfido-sdk-ui-Theme-navigationBar",scrollableContent:"onfido-sdk-ui-Theme-scrollableContent",fullScreenContentWrapper:"onfido-sdk-ui-Theme-fullScreenContentWrapper",actionsContainer:"onfido-sdk-ui-Theme-actionsContainer",footer:"onfido-sdk-ui-Theme-footer",logo:"onfido-sdk-ui-Theme-logo",cobrandFooter:"onfido-sdk-ui-Theme-cobrandFooter",logoCobrandImage:"onfido-sdk-ui-Theme-logoCobrandImage",cobrandLabel:"onfido-sdk-ui-Theme-cobrandLabel",cobrandText:"onfido-sdk-ui-Theme-cobrandText",poweredBy:"onfido-sdk-ui-Theme-poweredBy",onfidoCobrandLogo:"onfido-sdk-ui-Theme-onfidoCobrandLogo",defaultLogo:"onfido-sdk-ui-Theme-defaultLogo",noLogo:"onfido-sdk-ui-Theme-noLogo",center:"onfido-sdk-ui-Theme-center",alignTextLeft:"onfido-sdk-ui-Theme-alignTextLeft",icon:"onfido-sdk-ui-Theme-icon",help:"onfido-sdk-ui-Theme-help",helpList:"onfido-sdk-ui-Theme-helpList",link:"onfido-sdk-ui-Theme-link",textButton:"onfido-sdk-ui-Theme-textButton",warningFallbackButton:"onfido-sdk-ui-Theme-warningFallbackButton",errorFallbackButton:"onfido-sdk-ui-Theme-errorFallbackButton",error:"onfido-sdk-ui-Theme-error","button-centered":"onfido-sdk-ui-Theme-button-centered","button-lg":"onfido-sdk-ui-Theme-button-lg","button-sm":"onfido-sdk-ui-Theme-button-sm",vertical:"onfido-sdk-ui-Theme-vertical",portal:"onfido-sdk-ui-Theme-portal",modalBody:"onfido-sdk-ui-Theme-modalBody",modalOverlay:"onfido-sdk-ui-Theme-modalOverlay","modalOverlay--after-open":"onfido-sdk-ui-Theme-modalOverlay--after-open","modalOverlay--before-close":"onfido-sdk-ui-Theme-modalOverlay--before-close",modalInner:"onfido-sdk-ui-Theme-modalInner"}},function(e,t,n){e.exports=n(303)},function(e,t,n){var o;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t1)&&!window.MSStream,te=function(){var e,t=navigator.userAgent,n=/Safari/.test(t)&&/Apple Computer/.test(navigator.vendor),o=j()(e=t.substring(T()(t).call(t,"Version/"),T()(t).call(t,"Safari/"))).call(e);return n&&R()(o).call(o,"13.1")},ne=function(){console.warn("getMobileOSName - use of navigator.userAgent is highly discouraged unless absolutely necessary and only for simple use cases");var e=navigator.userAgent;return/android/i.test(e)?"UNSUPPORTED_ANDROID_BROWSER":ee?"UNSUPPORTED_IOS_BROWSER":(console.error("Unable to determine mobile OS"),"INTERRUPTED_FLOW_ERROR")},oe=!/Android|webOS|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(navigator.userAgent||"")&&!ee,re=R()(o=navigator.userAgent||"").call(o,"Windows"),ae=navigator.maxTouchPoints||navigator.msMaxTouchPoints,ie="ontouchstart"in window||ae>0||"function"==typeof window.matchMedia&&matchMedia("(any-pointer: coarse)").matches,ue=re&&ie,ce=function(e){return function(t){return function(e,t){try{W()().then(e).catch(t)}catch(e){t(e)}}((function(n){return t(e(n))}),(function(){return t(!1)}))}},se=function(e){var t=e.kind,n=void 0===t?"":t;return R()(n).call(n,"input")},le=function(e){var t=e.kind,n=void 0===t?"":t;return R()(n).call(n,"video")},de=function(e){return!!e.label},pe=ce((function(e){return te()?L()(e).call(e,se):N()(e).call(e,le)})),_e=ce((function(e){var t;return N()(t=E()(e).call(e,se)).call(t,de)})),me=function(e,t){var n,o=(new DOMParser).parseFromString("".concat(e,""),"application/xml"),r=O()((null===(n=o.firstChild)||void 0===n?void 0:n.childNodes)||[]);return C()(r).call(r,(function(e){var n=e.textContent||"";return e.nodeType===document.TEXT_NODE?n:t({type:e.tagName,text:n})}))},fe=function(){return Math.floor(k()()/1e3)},ye=function(){return(new Date).getTime()},he=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()},ve=function(e,t){var n=Object(K.a)("os"),o=Object(K.a)("browser"),r=Y(Y({},n&&{os:n.name,os_version:n.version}),o&&{browser:o.name,browser_version:o.version});return Y(Y({},e),{},{isCrossDeviceFlow:t,deviceType:oe?"desktop":"mobile",system:r})},be=function(e){return e?e.charAt(0).toUpperCase()+b()(e).call(e,1):e},ge=function(e){return btoa(unescape(encodeURIComponent(e)))}},function(e,t,n){var o=n(334);function r(){return e.exports=r=o||function(e){for(var t=1;t=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i}function c(){for(var e=[],t=0;t=n.__.length&&n.__.push({}),n.__[e]}function f(e){return u=1,y(N,e)}function y(e,t,n){var a=m(o++,2);return a.t=e,a.__c||(a.__=[n?n(t):N(void 0,t),function(e){var t=a.t(a.__[0],e);a.__[0]!==t&&(a.__=[t,a.__[1]],a.__c.setState({}))}],a.__c=r),a.__}function h(e,t){var n=m(o++,3);!i.options.__s&&I(n.__H,t)&&(n.__=e,n.__H=t,r.__H.__h.push(n))}function v(e,t){var n=m(o++,4);!i.options.__s&&I(n.__H,t)&&(n.__=e,n.__H=t,r.__h.push(n))}function b(e){return u=5,D((function(){return{current:e}}),[])}function g(e,t,n){u=6,v((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function D(e,t){var n=m(o++,7);return I(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function S(e,t){return u=8,D((function(){return e}),t)}function k(e){var t=r.context[e.__c],n=m(o++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(r)),t.props.value):e.__}function A(e,t){i.options.useDebugValue&&i.options.useDebugValue(t?t(e):e)}function C(e){var t=m(o++,10),n=f();return t.__=e,r.componentDidCatch||(r.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function w(){c.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(U),e.__H.__h.forEach(E),e.__H.__h=[]}catch(t){e.__H.__h=[],i.options.__e(t,e.__v)}})),c=[]}i.options.__b=function(e){r=null,s&&s(e)},i.options.__r=function(e){l&&l(e),o=0;var t=(r=e.__c).__H;t&&(t.__h.forEach(U),t.__h.forEach(E),t.__h=[])},i.options.diffed=function(e){d&&d(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==c.push(t)&&a===i.options.requestAnimationFrame||((a=i.options.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(o),O&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);O&&(t=requestAnimationFrame(n))})(w)),r=void 0},i.options.__c=function(e,t){t.some((function(e){try{e.__h.forEach(U),e.__h=e.__h.filter((function(e){return!e.__||E(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],i.options.__e(n,e.__v)}})),p&&p(e,t)},i.options.unmount=function(e){_&&_(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(U)}catch(e){i.options.__e(e,t.__v)}};var O="function"==typeof requestAnimationFrame;function U(e){var t=r;"function"==typeof e.__c&&e.__c(),r=t}function E(e){var t=r;e.__c=e.__(),r=t}function I(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function N(e,t){return"function"==typeof t?t(e):t}},function(e,t,n){e.exports={modal_animation_duration:"200ms",passportButtonShadow:"onfido-sdk-ui-Uploader-passportButtonShadow",faceIcon:"onfido-sdk-ui-Uploader-faceIcon",proofOfAddressIcon:"onfido-sdk-ui-Uploader-proofOfAddressIcon",identityIcon:"onfido-sdk-ui-Uploader-identityIcon",icon:"onfido-sdk-ui-Uploader-icon",container:"onfido-sdk-ui-Uploader-container",crossDeviceInstructionsContainer:"onfido-sdk-ui-Uploader-crossDeviceInstructionsContainer",instructions:"onfido-sdk-ui-Uploader-instructions",instructionsCopy:"onfido-sdk-ui-Uploader-instructionsCopy",error:"onfido-sdk-ui-Uploader-error",buttons:"onfido-sdk-ui-Uploader-buttons",vertical:"onfido-sdk-ui-Uploader-vertical",poaButtons:"onfido-sdk-ui-Uploader-poaButtons",buttonContainer:"onfido-sdk-ui-Uploader-buttonContainer",poaBtn:"onfido-sdk-ui-Uploader-poaBtn",crossDeviceButton:"onfido-sdk-ui-Uploader-crossDeviceButton",iconContainer:"onfido-sdk-ui-Uploader-iconContainer",poaIconContainer:"onfido-sdk-ui-Uploader-poaIconContainer",contentWrapper:"onfido-sdk-ui-Uploader-contentWrapper",uploaderWrapper:"onfido-sdk-ui-Uploader-uploaderWrapper",uploadArea:"onfido-sdk-ui-Uploader-uploadArea",imageQualityGuideRow:"onfido-sdk-ui-Uploader-imageQualityGuideRow",documentExampleCol:"onfido-sdk-ui-Uploader-documentExampleCol",documentExampleImg:"onfido-sdk-ui-Uploader-documentExampleImg",documentExampleImgBlur:"onfido-sdk-ui-Uploader-documentExampleImgBlur",documentExampleImgCutoff:"onfido-sdk-ui-Uploader-documentExampleImgCutoff",documentExampleImgGlare:"onfido-sdk-ui-Uploader-documentExampleImgGlare",documentExampleImgGood:"onfido-sdk-ui-Uploader-documentExampleImgGood",documentExampleLabel:"onfido-sdk-ui-Uploader-documentExampleLabel",passportUploadBtn:"onfido-sdk-ui-Uploader-passportUploadBtn"}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var o=n(35);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){e.exports=n(244)},function(e,t,n){var o=n(27);e.exports=function(e){return o[e+"Prototype"]}},function(e,t,n){var o=n(94),r=n(95);e.exports=function(e){return o(r(e))}},function(e,t,n){var o=n(32),r=n(42),a=n(66);e.exports=o?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var o=n(32),r=n(142),a=n(37),i=n(86),u=Object.defineProperty;t.f=o?u:function(e,t,n){if(a(e),t=i(t,!0),a(n),r)try{return u(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){e.exports=n(439)},function(e,t,n){var o=n(27),r=n(31),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(o[e])||a(r[e]):o[e]&&o[e][t]||r[e]&&r[e][t]}},function(e,t,n){var o=n(32),r=n(29),a=n(36),i=Object.defineProperty,u={},c=function(e){throw e};e.exports=function(e,t){if(a(u,e))return u[e];t||(t={});var n=[][e],s=!!a(t,"ACCESSORS")&&t.ACCESSORS,l=a(t,0)?t[0]:c,d=a(t,1)?t[1]:void 0;return u[e]=!!n&&!r((function(){if(s&&!o)return!0;var e={length:-1};s?i(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,l,d)}))}},function(e,t,n){e.exports={modal_animation_duration:"200ms",container:"onfido-sdk-ui-crossDevice-CrossDeviceLink-container",secureLinkView:"onfido-sdk-ui-crossDevice-CrossDeviceLink-secureLinkView",selectedLinkView:"onfido-sdk-ui-crossDevice-CrossDeviceLink-selectedLinkView",qrCodeSection:"onfido-sdk-ui-crossDevice-CrossDeviceLink-qrCodeSection",qrCodeContainer:"onfido-sdk-ui-crossDevice-CrossDeviceLink-qrCodeContainer",smsSection:"onfido-sdk-ui-crossDevice-CrossDeviceLink-smsSection",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",styledLabel:"onfido-sdk-ui-crossDevice-CrossDeviceLink-styledLabel",viewOptionsGroup:"onfido-sdk-ui-crossDevice-CrossDeviceLink-viewOptionsGroup",viewOption:"onfido-sdk-ui-crossDevice-CrossDeviceLink-viewOption",copyLinkOption:"onfido-sdk-ui-crossDevice-CrossDeviceLink-copyLinkOption",qrCodeLinkOption:"onfido-sdk-ui-crossDevice-CrossDeviceLink-qrCodeLinkOption",smsLinkOption:"onfido-sdk-ui-crossDevice-CrossDeviceLink-smsLinkOption"}},function(e,t,n){var o=n(95);e.exports=function(e){return Object(o(e))}},function(e,t,n){var o=n(240),r=n(309),a=n(311);e.exports=function(e,t){if(null==e)return{};var n,i,u=a(e,t);if(r){var c=r(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(u[n]=e[n])}return u}},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){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return l}));var o=n(38),r=n.n(o),a=n(413),i=n.n(a),u=function(e){return e},c=function(){for(var e=arguments.length,t=new Array(e),n=0;n ".length,i=void 0;t&&o++<5&&!("html"===(i=m(t))||o>1&&r+n.length*a+i.length>=80);)n.push(i),r+=i.length,t=t.parentNode;return n.reverse().join(" > ")}catch(e){return""}}function m(e){var t,n,o,a,i,u=e,c=[];if(!u||!u.tagName)return"";if(c.push(u.tagName.toLowerCase()),u.id&&c.push("#"+u.id),(t=u.className)&&Object(r.k)(t))for(n=t.split(/\s+/),i=0;i"}catch(e){return""}}}).call(this,n(112),n(333)(e))},function(e,t,n){var o=n(96),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},function(e,t){e.exports={}},function(e,t,n){var o=n(27),r=n(36),a=n(135),i=n(42).f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});r(t,e)||i(t,e,{value:a.f(e)})}},function(e,t,n){e.exports={modal_animation_duration:"200ms",challengeDescription:"onfido-sdk-ui-FaceVideo-challengeDescription",challengeSubTitle:"onfido-sdk-ui-FaceVideo-challengeSubTitle",challengeTitle:"onfido-sdk-ui-FaceVideo-challengeTitle",introCopy:"onfido-sdk-ui-FaceVideo-introCopy",introBullets:"onfido-sdk-ui-FaceVideo-introBullets",introBullet:"onfido-sdk-ui-FaceVideo-introBullet",bolder:"onfido-sdk-ui-FaceVideo-bolder",introIcon:"onfido-sdk-ui-FaceVideo-introIcon",speakOutLoudIcon:"onfido-sdk-ui-FaceVideo-speakOutLoudIcon",twoActionsIcon:"onfido-sdk-ui-FaceVideo-twoActionsIcon",movement:"onfido-sdk-ui-FaceVideo-movement","movement-turnLeft":"onfido-sdk-ui-FaceVideo-movement-turnLeft",recite:"onfido-sdk-ui-FaceVideo-recite",actions:"onfido-sdk-ui-FaceVideo-actions",disabled:"onfido-sdk-ui-FaceVideo-disabled",btn:"onfido-sdk-ui-FaceVideo-btn","btn-centered":"onfido-sdk-ui-FaceVideo-btn-centered","btn-primary":"onfido-sdk-ui-FaceVideo-btn-primary",captureActionsHint:"onfido-sdk-ui-FaceVideo-captureActionsHint",recordAction:"onfido-sdk-ui-FaceVideo-recordAction",caption:"onfido-sdk-ui-FaceVideo-caption",startRecording:"onfido-sdk-ui-FaceVideo-startRecording",stopRecording:"onfido-sdk-ui-FaceVideo-stopRecording"}},function(e,t,n){e.exports=n(272)},,function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){e.exports=n(543)},function(e,t,n){var o=n(322),r=n(323),a=n(328);e.exports=function(e){return o(e)||r(e)||a()}},function(e,t){e.exports=!0},,function(e,t,n){var o=n(72),r=n(94),a=n(47),i=n(53),u=n(153),c=[].push,s=function(e){var t=1==e,n=2==e,s=3==e,l=4==e,d=6==e,p=5==e||d;return function(_,m,f,y){for(var h,v,b=a(_),g=r(b),D=o(m,f,3),S=i(g.length),k=0,A=y||u,C=t?A(_,S):n?A(_,0):void 0;S>k;k++)if((p||k in g)&&(v=D(h=g[k],k,b),e))if(t)C[k]=v;else if(v)switch(e){case 3:return!0;case 5:return h;case 6:return k;case 2:c.call(C,h)}else if(l)return!1;return d?-1:s||l?l:C}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(e,t,n){e.exports=n(261)},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){n(166);var o=n(219),r=n(31),a=n(68),i=n(41),u=n(54),c=n(28)("toStringTag");for(var s in o){var l=r[s],d=l&&l.prototype;d&&a(d)!==c&&i(d,c,s),u[s]=u.Array}},function(e,t,n){var o=n(118),r=n(59),a=n(28)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=o?r:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?n:i?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){e.exports=n(247)},function(e,t,n){e.exports={modal_animation_duration:"200ms",consentFrame:"onfido-sdk-ui-UserConsent-consentFrame",actions:"onfido-sdk-ui-UserConsent-actions",vertical:"onfido-sdk-ui-UserConsent-vertical",action:"onfido-sdk-ui-UserConsent-action",secondary:"onfido-sdk-ui-UserConsent-secondary",declineModalInner:"onfido-sdk-ui-UserConsent-declineModalInner",modalContent:"onfido-sdk-ui-UserConsent-modalContent",modalActions:"onfido-sdk-ui-UserConsent-modalActions",contentFlexbox:"onfido-sdk-ui-UserConsent-contentFlexbox",errorIcon:"onfido-sdk-ui-UserConsent-errorIcon"}},function(e,t,n){var o=n(32),r=n(93),a=n(66),i=n(40),u=n(86),c=n(36),s=n(142),l=Object.getOwnPropertyDescriptor;t.f=o?l:function(e,t){if(e=i(e),t=u(t,!0),s)try{return l(e,t)}catch(e){}if(c(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t,n){var o=n(49);e.exports=function(e,t,n){if(o(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,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var o,r,a,i=n(214),u=n(31),c=n(35),s=n(41),l=n(36),d=n(88),p=n(82),_=u.WeakMap;if(i){var m=new _,f=m.get,y=m.has,h=m.set;o=function(e,t){return h.call(m,e,t),t},r=function(e){return f.call(m,e)||{}},a=function(e){return y.call(m,e)}}else{var v=d("state");p[v]=!0,o=function(e,t){return s(e,v,t),t},r=function(e){return l(e,v)?e[v]:{}},a=function(e){return l(e,v)}}e.exports={set:o,get:r,has:a,enforce:function(e){return a(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var o=n(118),r=n(42).f,a=n(41),i=n(36),u=n(217),c=n(28)("toStringTag");e.exports=function(e,t,n,s){if(e){var l=n?e:e.prototype;i(l,c)||r(l,c,{configurable:!0,value:t}),s&&!o&&a(l,"toString",u)}}},function(e,t,n){var o=n(41);e.exports=function(e,t,n,r){r&&r.enumerable?e[t]=n:o(e,t,n)}},function(e,t,n){e.exports=n(602)},function(e,t,n){"use strict";function o(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return f(e,Error)}}function r(e){return"[object ErrorEvent]"===Object.prototype.toString.call(e)}function a(e){return"[object DOMError]"===Object.prototype.toString.call(e)}function i(e){return"[object DOMException]"===Object.prototype.toString.call(e)}function u(e){return"[object String]"===Object.prototype.toString.call(e)}function c(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function l(e){return"undefined"!=typeof Event&&f(e,Event)}function d(e){return"undefined"!=typeof Element&&f(e,Element)}function p(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function _(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function m(e){return s(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function f(e,t){try{return e instanceof t}catch(e){return!1}}n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"k",(function(){return u})),n.d(t,"i",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"j",(function(){return p})),n.d(t,"m",(function(){return _})),n.d(t,"l",(function(){return m})),n.d(t,"g",(function(){return f}))},function(e,t,n){var o=n(145),r=n(114);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){var o=n(59);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){"use strict";var o=n(253).charAt,r=n(73),a=n(133),i=r.set,u=r.getterFor("String Iterator");a(String,"String",(function(e){i(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=o(n,r),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";t.__esModule=!0,t.createPath=t.parsePath=t.locationsAreEqual=t.createLocation=t.createMemoryHistory=t.createHashHistory=t.createBrowserHistory=void 0;var o=n(137);Object.defineProperty(t,"createLocation",{enumerable:!0,get:function(){return o.createLocation}}),Object.defineProperty(t,"locationsAreEqual",{enumerable:!0,get:function(){return o.locationsAreEqual}});var r=n(120);Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r.parsePath}}),Object.defineProperty(t,"createPath",{enumerable:!0,get:function(){return r.createPath}});var a=c(n(343)),i=c(n(344)),u=c(n(345));function c(e){return e&&e.__esModule?e:{default:e}}t.createBrowserHistory=a.default,t.createHashHistory=i.default,t.createMemoryHistory=u.default},function(e,t){e.exports={}},function(e,t,n){"use strict";var o=n(29);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";function o(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}n.d(t,"a",(function(){return o}))},function(e,t,n){e.exports={modal_animation_duration:"200ms",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 o=n(35);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var o=n(86),r=n(42),a=n(66);e.exports=function(e,t,n){var i=o(t);i in e?r.f(e,i,a(0,n)):e[i]=n}},function(e,t,n){var o=n(116),r=n(105),a=o("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},function(e,t,n){var o=n(29),r=n(28),a=n(125),i=r("species");e.exports=function(e){return a>=51||!o((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return y}));var o=n(61),r=n.n(o),a=n(6),i=n.n(a),u=n(69),c=n.n(u),s=n(278),l=n.n(s),d=n(14),p=n.n(d),_=function(e){return p()(e).call(e,(function(e){return e}))},m=function(e){return l()(e)?e:[e]},f=function(e){return c()(e).call(e,(function(e,t){var n,o;return(n=i()(e)).call.apply(n,i()(o=[e]).call(o,r()(m(t))))}),[])},y=function(e){return null!=e}},function(e,t,n){e.exports={modal_animation_duration:"200ms",instructions:"onfido-sdk-ui-DocumentVideo-reusables-instructions",title:"onfido-sdk-ui-DocumentVideo-reusables-title",subtitle:"onfido-sdk-ui-DocumentVideo-reusables-subtitle",success:"onfido-sdk-ui-DocumentVideo-reusables-success",ariaLabel:"onfido-sdk-ui-DocumentVideo-reusables-ariaLabel",loading:"onfido-sdk-ui-DocumentVideo-reusables-loading",active:"onfido-sdk-ui-DocumentVideo-reusables-active",captureProgress:"onfido-sdk-ui-DocumentVideo-reusables-captureProgress",background:"onfido-sdk-ui-DocumentVideo-reusables-background"}},,function(e,t,n){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!o.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:o},function(e,t,n){var o=n(29),r=n(59),a="".split;e.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?a.call(e,""):Object(e)}:Object},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},function(e,t,n){var o=n(37),r=n(174),a=n(53),i=n(72),u=n(127),c=n(173),s=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,l,d){var p,_,m,f,y,h,v,b=i(t,n,l?2:1);if(d)p=e;else{if("function"!=typeof(_=u(e)))throw TypeError("Target is not iterable");if(r(_)){for(m=0,f=a(e.length);f>m;m++)if((y=l?b(o(v=e[m])[0],v[1]):b(e[m]))&&y instanceof s)return y;return new s(!1)}p=_.call(e)}for(h=p.next;!(v=h.call(p)).done;)if("object"==typeof(y=c(p,b,v.value,l))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(e){return new s(!0,e)}},function(e,t,n){"use strict";var o=n(49),r=function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},function(e,t,n){e.exports=n(265)},function(e,t,n){e.exports=n(490)},function(e,t,n){e.exports=n(604)},function(e,t,n){e.exports={modal_animation_duration:"200ms",pdfIcon:"onfido-sdk-ui-CaptureViewer-pdfIcon",pdfWrapper:"onfido-sdk-ui-CaptureViewer-pdfWrapper",imageWrapper:"onfido-sdk-ui-CaptureViewer-imageWrapper",croppedImageWrapper:"onfido-sdk-ui-CaptureViewer-croppedImageWrapper",videoWrapper:"onfido-sdk-ui-CaptureViewer-videoWrapper",fullscreenImageWrapper:"onfido-sdk-ui-CaptureViewer-fullscreenImageWrapper",image:"onfido-sdk-ui-CaptureViewer-image",croppedDocumentImage:"onfido-sdk-ui-CaptureViewer-croppedDocumentImage",video:"onfido-sdk-ui-CaptureViewer-video"}},,function(e,t,n){e.exports={modal_animation_duration:"200ms",document:"onfido-sdk-ui-Overlay-document",fullScreen:"onfido-sdk-ui-Overlay-fullScreen",hollow:"onfido-sdk-ui-Overlay-hollow",placeholder:"onfido-sdk-ui-Overlay-placeholder",card:"onfido-sdk-ui-Overlay-card",passport:"onfido-sdk-ui-Overlay-passport",frPaperDl:"onfido-sdk-ui-Overlay-frPaperDl",itPaperId:"onfido-sdk-ui-Overlay-itPaperId",footer:"onfido-sdk-ui-Overlay-footer",face:"onfido-sdk-ui-Overlay-face",isWithoutHole:"onfido-sdk-ui-Overlay-isWithoutHole",ariaLabel:"onfido-sdk-ui-Overlay-ariaLabel"}},function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+o).toString(36)}},function(e,t,n){var o,r=n(37),a=n(144),i=n(114),u=n(82),c=n(152),s=n(113),l=n(88),d=l("IE_PROTO"),p=function(){},_=function(e){return"