onfido-sdk-ui
Version:
JavaScript SDK view layer for Onfido identity verification
2 lines • 2.48 MB
JavaScript
/*! OnfidoAuth SDK 10.0.1 */
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.OnfidoAuth=n():e.OnfidoAuth=n()}(self,(function(){return function(){var e,n,t,r,o,a,i={"../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/array/from.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/array/is-array.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/date/now.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/date/now.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/bind.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/concat.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/ends-with.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/ends-with.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/every.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/every.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/filter.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/find-index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/find.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/for-each.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/includes.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/index-of.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/last-index-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/last-index-of.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/map.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce-right.js":function(e,n,t){t("../node_modules/core-js-pure/stable/instance/reduce-right.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/reduce.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/slice.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/some.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/sort.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/splice.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/trim.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/values.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/json/stringify.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/map.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/map/index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/assign.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/assign.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/define-properties.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/define-property.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/entries.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/entries.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/from-entries.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/from-entries.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/get-own-property-descriptor.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/get-own-property-descriptors.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/get-own-property-symbols.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/keys.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/values.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/parse-float.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/parse-float.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/parse-int.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/promise/index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/reflect/construct.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/set-timeout.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/set-timeout.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/set.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/set/index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/symbol/index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/url.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/url/index.js")},"../node_modules/@babel/runtime-corejs3/core-js/array/from.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/array/from.js")},"../node_modules/@babel/runtime-corejs3/core-js/array/is-array.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/array/is-array.js")},"../node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/get-iterator-method.js")},"../node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/instance/index-of.js")},"../node_modules/@babel/runtime-corejs3/core-js/instance/slice.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/instance/slice.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/assign.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/assign.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/create.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/create.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/define-property.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/define-property.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/get-own-property-symbols.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/get-prototype-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/get-prototype-of.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/keys.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/keys.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/set-prototype-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/set-prototype-of.js")},"../node_modules/@babel/runtime-corejs3/core-js/promise.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/promise/index.js")},"../node_modules/@babel/runtime-corejs3/core-js/symbol.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/symbol/index.js")},"../node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/symbol/iterator.js")},"../node_modules/@babel/runtime-corejs3/regenerator/index.js":function(e,n,t){e.exports=t("../node_modules/regenerator-runtime/runtime-module.js")},"../node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.preact.min.js":function(e,n,t){var r;window,r=function(e){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=31)}([function(e,n){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(e,n,t){var r=t(0),o=t(5),a=t(6),i=t(14),u=t(16),l="prototype",s=function(e,n,t){var c,d,p,m,f=e&s.F,_=e&s.G,y=e&s.S,h=e&s.P,v=e&s.B,g=_?r:y?r[n]||(r[n]={}):(r[n]||{})[l],b=_?o:o[n]||(o[n]={}),j=b[l]||(b[l]={});for(c in _&&(t=n),t)p=((d=!f&&g&&void 0!==g[c])?g:t)[c],m=v&&d?u(p,r):h&&"function"==typeof p?u(Function.call,p):p,g&&i(g,c,p,e&s.U),b[c]!=p&&a(b,c,m),h&&j[c]!=p&&(j[c]=p)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n,t){e.exports=!t(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n){var t=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=t)},function(e,n,t){var r=t(7),o=t(35);e.exports=t(3)?function(e,n,t){return r.f(e,n,o(1,t))}:function(e,n,t){return e[n]=t,e}},function(e,n,t){var r=t(8),o=t(33),a=t(34),i=Object.defineProperty;n.f=t(3)?Object.defineProperty:function(e,n,t){if(r(e),n=a(n,!0),r(t),o)try{return i(e,n,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[n]=t.value),e}},function(e,n,t){var r=t(2);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,n){var t=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+r).toString(36))}},function(e,n,t){var r=t(20);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,n){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(n,t){n.exports=e},function(e,n,t){var r=t(2),o=t(0).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,n,t){var r=t(0),o=t(6),a=t(15),i=t(9)("src"),u="toString",l=Function[u],s=(""+l).split(u);t(5).inspectSource=function(e){return l.call(e)},(e.exports=function(e,n,t,u){var l="function"==typeof t;l&&(a(t,"name")||o(t,"name",n)),e[n]!==t&&(l&&(a(t,i)||o(t,i,e[n]?""+e[n]:s.join(String(n)))),e===r?e[n]=t:u?e[n]?e[n]=t:o(e,n,t):(delete e[n],o(e,n,t)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[i]||l.call(this)}))},function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,n,t){var r=t(17);e.exports=function(e,n,t){if(r(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,r){return e.call(n,t,r)};case 3:return function(t,r,o){return e.call(n,t,r,o)}}return function(){return e.apply(n,arguments)}}},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,n,t){var r=t(37),o=t(26);e.exports=Object.keys||function(e){return r(e,o)}},function(e,n,t){var r=t(10),o=t(11);e.exports=function(e){return r(o(e))}},function(e,n){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,n,t){var r=t(19),o=t(22),a=t(38);e.exports=function(e){return function(n,t,i){var u,l=r(n),s=o(l.length),c=a(i,s);if(e&&t!=t){for(;c<s;)if((u=l[c++])!=u)return!0}else for(;c<s;c++)if((e||c in l)&&l[c]===t)return e||c||0;return!e&&-1}}},function(e,n,t){var r=t(23),o=Math.min;e.exports=function(e){return 0<e?o(r(e),9007199254740991):0}},function(e,n){var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:t)(e)}},function(e,n,t){var r=t(25)("keys"),o=t(9);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,n,t){var r=t(5),o=t(0),a="__core-js_shared__",i=o[a]||(o[a]={});(e.exports=function(e,n){return i[e]||(i[e]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:t(39)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,n,t){var r=t(11);e.exports=function(e){return Object(r(e))}},function(e,n,t){var r=t(1);r(r.S,"Object",{create:t(42)})},function(e,n,t){var r=t(25)("wks"),o=t(9),a=t(0).Symbol,i="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=r},function(e,n,t){"use strict";var r=t(4);e.exports=function(e,n){return!!e&&r((function(){n?e.call(null,(function(){}),1):e.call(null)}))}},function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0,t(32),t(28),t(45),t(46),t(51),t(52),t(55);var r=t(12),o=i(t(57)),a=i(t(58));function i(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var s={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function c(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWebKit/g))}var d=function(e){function n(n){var t;return(t=e.call(this,n)||this).elementReferences={},t.state={focused:null,hovered:null,menuOpen:!1,options:n.defaultValue?[n.defaultValue]:[],query:n.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0},t.handleComponentBlur=t.handleComponentBlur.bind(l(l(t))),t.handleKeyDown=t.handleKeyDown.bind(l(l(t))),t.handleUpArrow=t.handleUpArrow.bind(l(l(t))),t.handleDownArrow=t.handleDownArrow.bind(l(l(t))),t.handleEnter=t.handleEnter.bind(l(l(t))),t.handlePrintableKey=t.handlePrintableKey.bind(l(l(t))),t.handleListMouseLeave=t.handleListMouseLeave.bind(l(l(t))),t.handleOptionBlur=t.handleOptionBlur.bind(l(l(t))),t.handleOptionClick=t.handleOptionClick.bind(l(l(t))),t.handleOptionFocus=t.handleOptionFocus.bind(l(l(t))),t.handleOptionMouseDown=t.handleOptionMouseDown.bind(l(l(t))),t.handleOptionMouseEnter=t.handleOptionMouseEnter.bind(l(l(t))),t.handleInputBlur=t.handleInputBlur.bind(l(l(t))),t.handleInputChange=t.handleInputChange.bind(l(l(t))),t.handleInputFocus=t.handleInputFocus.bind(l(l(t))),t.pollInputElement=t.pollInputElement.bind(l(l(t))),t.getDirectInputChanges=t.getDirectInputChanges.bind(l(l(t))),t}!function(e,n){e.prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n}(n,e);var t=n.prototype;return t.isQueryAnOption=function(e,n){var t=this;return-1!==n.map((function(e){return t.templateInputValue(e).toLowerCase()})).indexOf(e.toLowerCase())},t.componentDidMount=function(){this.pollInputElement()},t.componentWillUnmount=function(){clearTimeout(this.$pollInput)},t.pollInputElement=function(){var e=this;this.getDirectInputChanges(),this.$pollInput=setTimeout((function(){e.pollInputElement()}),100)},t.getDirectInputChanges=function(){var e=this.elementReferences[-1];e&&e.value!==this.state.query&&this.handleInputChange({target:{value:e.value}})},t.componentDidUpdate=function(e,n){var t=this.state.focused,r=null===t,o=n.focused!==t;o&&!r&&this.elementReferences[t].focus();var a=-1===t,i=o&&null===n.focused;if(a&&i){var u=this.elementReferences[t];u.setSelectionRange(0,u.value.length)}},t.hasAutoselect=function(){return!c()&&this.props.autoselect},t.templateInputValue=function(e){var n=this.props.templates&&this.props.templates.inputValue;return n?n(e):e},t.templateSuggestion=function(e){var n=this.props.templates&&this.props.templates.suggestion;return n?n(e):e},t.handleComponentBlur=function(e){var n,t=this.state,r=t.options,o=t.query,a=t.selected;this.props.confirmOnBlur?(n=e.query||o,this.props.onConfirm(r[a])):n=o,this.setState({focused:null,menuOpen:e.menuOpen||!1,query:n,selected:null,validChoiceMade:this.isQueryAnOption(n,r)})},t.handleListMouseLeave=function(e){this.setState({hovered:null})},t.handleOptionBlur=function(e,n){var t=this.state,r=t.focused,o=t.menuOpen,a=t.options,i=t.selected,u=null===e.relatedTarget,l=e.relatedTarget===this.elementReferences[-1],s=r!==n&&-1!==r;if(!s&&u||!s&&!l){var d=o&&c();this.handleComponentBlur({menuOpen:d,query:this.templateInputValue(a[i])})}},t.handleInputBlur=function(e){var n=this.state,t=n.focused,r=n.menuOpen,o=n.options,a=n.query,i=n.selected;if(-1===t){var u=r&&c(),l=c()?a:this.templateInputValue(o[i]);this.handleComponentBlur({menuOpen:u,query:l})}},t.handleInputChange=function(e){var n=this,t=this.props,r=t.minLength,o=t.source,a=t.showAllValues,i=this.hasAutoselect(),u=e.target.value,l=0===u.length,s=this.state.query.length!==u.length,c=u.length>=r;this.setState({query:u,ariaHint:l}),a||!l&&s&&c?o(u,(function(e){var t=0<e.length;n.setState({menuOpen:t,options:e,selected:i&&t?0:-1,validChoiceMade:!1})})):!l&&c||this.setState({menuOpen:!1,options:[]})},t.handleInputClick=function(e){this.handleInputChange(e)},t.handleInputFocus=function(e){var n=this.state,t=n.query,r=n.validChoiceMade,o=n.options,a=this.props.minLength,i=!r&&t.length>=a&&0<o.length;i?this.setState((function(e){var n=e.menuOpen;return{focused:-1,menuOpen:i||n,selected:-1}})):this.setState({focused:-1})},t.handleOptionFocus=function(e){this.setState({focused:e,hovered:null,selected:e})},t.handleOptionMouseEnter=function(e,n){c()||this.setState({hovered:n})},t.handleOptionClick=function(e,n){var t=this.state.options[n],r=this.templateInputValue(t);this.props.onConfirm(t),this.setState({focused:-1,hovered:null,menuOpen:!1,query:r,selected:-1,validChoiceMade:!0}),this.forceUpdate()},t.handleOptionMouseDown=function(e){e.preventDefault()},t.handleUpArrow=function(e){e.preventDefault();var n=this.state,t=n.menuOpen,r=n.selected;-1!==r&&t&&this.handleOptionFocus(r-1)},t.handleDownArrow=function(e){var n=this;if(e.preventDefault(),this.props.showAllValues&&!1===this.state.menuOpen)e.preventDefault(),this.props.source("",(function(e){n.setState({menuOpen:!0,options:e,selected:0,focused:0,hovered:null})}));else if(!0===this.state.menuOpen){var t=this.state,r=t.menuOpen,o=t.options,a=t.selected;a!==o.length-1&&r&&this.handleOptionFocus(a+1)}},t.handleSpace=function(e){var n=this;this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query&&(e.preventDefault(),this.props.source("",(function(e){n.setState({menuOpen:!0,options:e})}))),-1!==this.state.focused&&(e.preventDefault(),this.handleOptionClick(e,this.state.focused))},t.handleEnter=function(e){this.state.menuOpen&&(e.preventDefault(),0<=this.state.selected&&this.handleOptionClick(e,this.state.selected))},t.handlePrintableKey=function(e){var n=this.elementReferences[-1];e.target===n||n.focus()},t.handleKeyDown=function(e){switch(s[e.keyCode]){case"up":this.handleUpArrow(e);break;case"down":this.handleDownArrow(e);break;case"space":this.handleSpace(e);break;case"enter":this.handleEnter(e);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:(function(e){return 47<e&&e<58||32===e||8===e||64<e&&e<91||95<e&&e<112||185<e&&e<193||218<e&&e<223})(e.keyCode)&&this.handlePrintableKey(e)}},t.render=function(){var e,n=this,t=this.props,a=t.cssNamespace,i=t.displayMenu,l=t.id,s=t.minLength,d=t.name,p=t.placeholder,m=t.required,f=t.showAllValues,_=t.tNoResults,y=t.tStatusQueryTooShort,h=t.tStatusNoResults,v=t.tStatusSelectedOption,g=t.tStatusResults,b=t.tAssistiveHint,j=t.dropdownArrow,O=this.state,D=O.focused,w=O.hovered,k=O.menuOpen,S=O.options,P=O.query,C=O.selected,A=O.ariaHint,E=O.validChoiceMade,N=this.hasAutoselect(),x=-1===D,I=0===S.length,U=0!==P.length,R=P.length>=s,L=this.props.showNoOptionsFound&&x&&I&&U&&R,T=a+"__wrapper",M=a+"__input",q=null!==D?" "+M+"--focused":"",$=this.props.showAllValues?" "+M+"--show-all-values":" "+M+"--default",B=a+"__dropdown-arrow-down",Z=-1!==D&&null!==D,F=a+"__menu",H=F+"--"+i,z=F+"--"+(k||L?"visible":"hidden"),G=a+"__option",V=a+"__hint",K=this.templateInputValue(S[C]),W=K&&0===K.toLowerCase().indexOf(P.toLowerCase())&&N?P+K.substr(P.length):"",Y=l+"__assistiveHint",X=A?{"aria-describedby":Y}:null;return f&&"string"==typeof(e=j({className:B}))&&(e=(0,r.createElement)("div",{className:a+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:e}})),(0,r.createElement)("div",{className:T,onKeyDown:this.handleKeyDown},(0,r.createElement)(o.default,{id:l,length:S.length,queryLength:P.length,minQueryLength:s,selectedOption:this.templateInputValue(S[C]),selectedOptionIndex:C,validChoiceMade:E,isInFocus:null!==this.state.focused,tQueryTooShort:y,tNoResults:h,tSelectedOption:v,tResults:g}),W&&(0,r.createElement)("span",null,(0,r.createElement)("input",{className:V,readonly:!0,tabIndex:"-1",value:W})),(0,r.createElement)("input",u({"aria-expanded":k?"true":"false","aria-activedescendant":!!Z&&l+"__option--"+D,"aria-owns":l+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"},X,{autoComplete:"off",className:""+M+q+$,id:l,onClick:function(e){return n.handleInputClick(e)},onBlur:this.handleInputBlur},function(e){return{onInput:e}}(this.handleInputChange),{onFocus:this.handleInputFocus,name:d,placeholder:p,ref:function(e){n.elementReferences[-1]=e},type:"text",role:"combobox",required:m,value:P})),e,(0,r.createElement)("ul",{className:F+" "+H+" "+z,onMouseLeave:function(e){return n.handleListMouseLeave(e)},id:l+"__listbox",role:"listbox"},S.map((function(e,t){var o=(-1===D?C===t:D===t)&&null===w?" "+G+"--focused":"",a=t%2?" "+G+"--odd":"",i=c()?"<span id="+l+"__option-suffix--"+t+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(t+1)+" of "+S.length+"</span>":"";return(0,r.createElement)("li",{"aria-selected":D===t?"true":"false",className:""+G+o+a,dangerouslySetInnerHTML:{__html:n.templateSuggestion(e)+i},id:l+"__option--"+t,key:t,onBlur:function(e){return n.handleOptionBlur(e,t)},onClick:function(e){return n.handleOptionClick(e,t)},onMouseDown:n.handleOptionMouseDown,onMouseEnter:function(e){return n.handleOptionMouseEnter(e,t)},ref:function(e){n.elementReferences[t]=e},role:"option",tabIndex:"-1","aria-posinset":t+1,"aria-setsize":S.length})})),L&&(0,r.createElement)("li",{className:G+" "+G+"--no-results"},_())),(0,r.createElement)("span",{id:Y,style:{display:"none"}},b()))},n}(r.Component);(n.default=d).defaultProps={autoselect:!1,cssNamespace:"autocomplete",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures."},dropdownArrow:a.default}},function(e,n,t){var r=t(1);r(r.S+r.F,"Object",{assign:t(36)})},function(e,n,t){e.exports=!t(3)&&!t(4)((function(){return 7!=Object.defineProperty(t(13)("div"),"a",{get:function(){return 7}}).a}))},function(e,n,t){var r=t(2);e.exports=function(e,n){if(!r(e))return e;var t,o;if(n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;if("function"==typeof(t=e.valueOf)&&!r(o=t.call(e)))return o;if(!n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},function(e,n,t){"use strict";var r=t(18),o=t(40),a=t(41),i=t(27),u=t(10),l=Object.assign;e.exports=!l||t(4)((function(){var e={},n={},t=Symbol(),r="abcdefghijklmnopqrst";return e[t]=7,r.split("").forEach((function(e){n[e]=e})),7!=l({},e)[t]||Object.keys(l({},n)).join("")!=r}))?function(e,n){for(var t=i(e),l=arguments.length,s=1,c=o.f,d=a.f;s<l;)for(var p,m=u(arguments[s++]),f=c?r(m).concat(c(m)):r(m),_=f.length,y=0;y<_;)d.call(m,p=f[y++])&&(t[p]=m[p]);return t}:l},function(e,n,t){var r=t(15),o=t(19),a=t(21)(!1),i=t(24)("IE_PROTO");e.exports=function(e,n){var t,u=o(e),l=0,s=[];for(t in u)t!=i&&r(u,t)&&s.push(t);for(;n.length>l;)r(u,t=n[l++])&&(~a(s,t)||s.push(t));return s}},function(e,n,t){var r=t(23),o=Math.max,a=Math.min;e.exports=function(e,n){return(e=r(e))<0?o(e+n,0):a(e,n)}},function(e,n){e.exports=!1},function(e,n){n.f=Object.getOwnPropertySymbols},function(e,n){n.f={}.propertyIsEnumerable},function(e,n,t){var r=t(8),o=t(43),a=t(26),i=t(24)("IE_PROTO"),u=function(){},l="prototype",s=function(){var e,n=t(13)("iframe"),r=a.length;for(n.style.display="none",t(44).appendChild(n),n.src="javascript:",(e=n.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s[l][a[r]];return s()};e.exports=Object.create||function(e,n){var t;return null!==e?(u[l]=r(e),t=new u,u[l]=null,t[i]=e):t=s(),void 0===n?t:o(t,n)}},function(e,n,t){var r=t(7),o=t(8),a=t(18);e.exports=t(3)?Object.defineProperties:function(e,n){o(e);for(var t,i=a(n),u=i.length,l=0;l<u;)r.f(e,t=i[l++],n[t]);return e}},function(e,n,t){var r=t(0).document;e.exports=r&&r.documentElement},function(e,n,t){var r=t(7).f,o=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in o||t(3)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},function(e,n,t){"use strict";var r=t(1),o=t(47)(1);r(r.P+r.F*!t(30)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,n,t){var r=t(16),o=t(10),a=t(27),i=t(22),u=t(48);e.exports=function(e,n){var t=1==e,l=2==e,s=3==e,c=4==e,d=6==e,p=5==e||d,m=n||u;return function(n,u,f){for(var _,y,h=a(n),v=o(h),g=r(u,f,3),b=i(v.length),j=0,O=t?m(n,b):l?m(n,0):void 0;j<b;j++)if((p||j in v)&&(y=g(_=v[j],j,h),e))if(t)O[j]=y;else if(y)switch(e){case 3:return!0;case 5:return _;case 6:return j;case 2:O.push(_)}else if(c)return!1;return d?-1:s||c?c:O}}},function(e,n,t){var r=t(49);e.exports=function(e,n){return new(r(e))(n)}},function(e,n,t){var r=t(2),o=t(50),a=t(29)("species");e.exports=function(e){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[a])&&(n=void 0)),void 0===n?Array:n}},function(e,n,t){var r=t(20);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,n,t){"use strict";var r=t(1),o=t(21)(!1),a=[].indexOf,i=!!a&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(i||!t(30)(a)),"Array",{indexOf:function(e){return i?a.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,n,t){var r=t(1);r(r.P,"Function",{bind:t(53)})},function(e,n,t){"use strict";var r=t(17),o=t(2),a=t(54),i=[].slice,u={};e.exports=Function.bind||function(e){var n=r(this),t=i.call(arguments,1),l=function(){var r=t.concat(i.call(arguments));return this instanceof l?function(e,n,t){if(!(n in u)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";u[n]=Function("F,a","return new F("+r.join(",")+")")}return u[n](e,t)}(n,r.length,r):a(n,r,e)};return o(n.prototype)&&(l.prototype=n.prototype),l}},function(e,n){e.exports=function(e,n,t){var r=void 0===t;switch(n.length){case 0:return r?e():e.call(t);case 1:return r?e(n[0]):e.call(t,n[0]);case 2:return r?e(n[0],n[1]):e.call(t,n[0],n[1]);case 3:return r?e(n[0],n[1],n[2]):e.call(t,n[0],n[1],n[2]);case 4:return r?e(n[0],n[1],n[2],n[3]):e.call(t,n[0],n[1],n[2],n[3])}return e.apply(t,n)}},function(e,n,t){t(56)("match",1,(function(e,n,t){return[function(t){"use strict";var r=e(this),o=null==t?void 0:t[n];return void 0!==o?o.call(t,r):new RegExp(t)[n](String(r))},t]}))},function(e,n,t){"use strict";var r=t(6),o=t(14),a=t(4),i=t(11),u=t(29);e.exports=function(e,n,t){var l=u(e),s=t(i,l,""[e]),c=s[0],d=s[1];a((function(){var n={};return n[l]=function(){return 7},7!=""[e](n)}))&&(o(String.prototype,e,c),r(RegExp.prototype,l,2==n?function(e,n){return d.call(e,this,n)}:function(e){return d.call(e,this)}))}},function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0,t(28);var r=t(12),o=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(n=e.call.apply(e,[this].concat(r))||this).state={bump:!1,debounced:!1},n}!function(e,n){e.prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n}(n,e);var t=n.prototype;return t.componentWillMount=function(){var e=this;this.debounceStatusUpdate=function(e,n,t){var r;return function(){var o=this,a=arguments,i=function(){r=null,t||e.apply(o,a)},u=t&&!r;clearTimeout(r),r=setTimeout(i,n),u&&e.apply(o,a)}}((function(){if(!e.state.debounced){var n=!e.props.isInFocus||e.props.validChoiceMade;e.setState((function(e){return{bump:!e.bump,debounced:!0,silenced:n}}))}}),1400)},t.componentWillReceiveProps=function(e){e.queryLength,this.setState({debounced:!1})},t.render=function(){var e,n=this.props,t=n.id,o=n.length,a=n.queryLength,i=n.minQueryLength,u=n.selectedOption,l=n.selectedOptionIndex,s=n.tQueryTooShort,c=n.tNoResults,d=n.tSelectedOption,p=n.tResults,m=this.state,f=m.bump,_=m.debounced,y=m.silenced,h=a<i,v=0===o,g=u?d(u,o,l):"";return e=h?s(i):v?c():p(o,g),this.debounceStatusUpdate(),(0,r.createElement)("div",{style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(0,r.createElement)("div",{id:t+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!y&&_&&f?e:""),(0,r.createElement)("div",{id:t+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},y||!_||f?"":e))},n}(r.Component);(n.default=o).defaultProps={tQueryTooShort:function(e){return"Type in "+e+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(e,n,t){return e+" "+(t+1)+" of "+n+" is highlighted"},tResults:function(e,n){return e+" "+(1===e?"result":"results")+" "+(1===e?"is":"are")+" available. "+n}}},function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0;var r=t(12);n.default=function(e){var n=e.className;return(0,r.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:n,focusable:"false"},(0,r.createElement)("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},(0,r.createElement)("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))}}])},e.exports=r(t("../node_modules/preact/dist/preact.module.js"))},"../node_modules/accessible-autocomplete/preact.js":function(e,n,t){e.exports=t("../node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.preact.min.js")},"../node_modules/@sentry/utils/esm/env.js":function(e,n,t){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}t.d(n,{n:function(){return r}})},"../node_modules/@sentry/utils/esm/global.js":function(e,n,t){"use strict";t.d(n,{R:function(){return a},Y:function(){return i}});var r=t("../node_modules/@sentry/utils/esm/node.js"),o={};function a(){return(0,r.KV)()?t.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function i(e,n,t){var r=t||a(),o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=n())}},"../node_modules/@sentry/utils/esm/node.js":function(e,n,t){"use strict";t.d(n,{KV:function(){return o},l$:function(){return a}});var r=t("../node_modules/@sentry/utils/esm/env.js");function o(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function a(e,n){return e.require(n)}e=t.hmd(e)},"../node_modules/@sentry/utils/esm/time.js":function(e,n,t){"use strict";t.d(n,{ph:function(){return s},yW:function(){return l}});var r=t("../node_modules/@sentry/utils/esm/global.js"),o=t("../node_modules/@sentry/utils/esm/node.js");e=t.hmd(e);var a={nowSeconds:function(){return Date.now()/1e3}};var i=(0,o.KV)()?function(){try{return(0,o.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){var e=(0,r.R)().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),u=void 0===i?a:{nowSeconds:function(){return(i.timeOrigin+i.now())/1e3}},l=a.nowSeconds.bind(a),s=u.nowSeconds.bind(u);!function(){var e=(0,r.R)().performance;if(e&&e.now){var n=36e5,t=e.now(),o=Date.now(),a=e.timeOrigin?Math.abs(e.timeOrigin+t-o):n,i=a<n,u=e.timing&&e.timing.navigationStart,l="number"==typeof u?Math.abs(u+t-o):n;return i||l<n?a<=l?("timeOrigin",e.timeOrigin):("navigationStart",u):("dateNow",o)}"none"}()},"./Tracker/index.tsx":function(e,n,t){"use strict";t.d(n,{yZ:function(){return ce},N9:function(){return ue},qP:function(){return le},N4:function(){return se},kN:function(){return fe},_h:function(){return de},k5:function(){return pe},Tz:function(){return ie},OV:function(){return ye}});var r,o,a,i,u,l,s=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js"),c=t.n(s),d=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js"),p=t.n(d),m=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js"),f=t.n(m),_=t("../node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js"),y=t.n(_),h=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js"),v=t.n(h),g=t("../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js"),b=t.n(g),j=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js"),O=t.n(j),D=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js"),w=t.n(D),k=t("../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js"),S=t.n(k),P=t("../node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js"),C=t("../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js"),A=t("../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js"),E=t("../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js"),N=t.n(E),x=t("../node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js"),I=t("../node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js"),U=t("../node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js"),R=t("../node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js"),L=t("../node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js"),T=t("../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js"),M=t("../node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js"),q=t.n(M),$=t("../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js"),B=t("../node_modules/preact/dist/preact.module.js"),Z=t("./components/utils/array.ts"),F=t("./components/utils/object.ts"),H=t("./core/ExceptionHandler/index.ts"),z=t("./components/utils/onfidoApi.ts"),G=t("./components/ReduxAppWrapper/index.tsx"),V=t("../node_modules/@babel/runtime-corejs3/core-js-stable/map.js"),K=t.n(V),W=new(K())([["screen_welcome","WELCOME"],["screen_workflow_retry","WORKFLOW_RETRY"],["screen_userConsent","USER_CONSENT"],["screen_data_capture","DATA_CAPTURE"],["screen_document_front_capture_file_upload","DOCUMENT_CAPTURE_FRONT"],["screen_document_front_confirmation","DOCUMENT_CAPTURE_CONFIRMATION_FRONT"],["screen_document_back_capture_file_upload","DOCUMENT_CAPTURE_BACK"],["screen_document_back_confirmation","DOCUMENT_CAPTURE_CONFIRMATION_BACK"],["screen_face_selfie_intro","FACIAL_INTRO"],["screen_face_selfie_capture","FACIAL_CAPTURE"],["screen_face_selfie_confirmation","FACIAL_CAPTURE_CONFIRMATION"],["screen_face_video_intro","VIDEO_FACIAL_INTRO"],["screen_face_video_capture_step_1","VIDEO_FACIAL_CAPTURE_STEP_1"],["screen_face_video_capture_step_2","VIDEO_FACIAL_CAPTURE_STEP_2"],["screen_document_type_select","DOCUMENT_TYPE_SELECT"],["screen_document_country_select","ID_DOCUMENT_COUNTRY_SELECT"],["screen_crossDevice","CROSS_DEVICE_INTRO"],["screen_crossDevice_crossdevice_link","CROSS_DEVICE_GET_LINK"],["document_upload_started","UPLOAD"],["document_video_upload_started","UPLOAD"],["face_video_upload_started","UPLOAD"],["Starting snapshot upload","UPLOAD"],["Starting live photo upload","UPLOAD"],["active_video_upload_started","UPLOAD"]]),Y=new(K())([["screen_complete",{eventName:"COMPLETE",properties:{event_type:"screen"}}],["screen_complete_crossdevice_mobile_success",{eventName:"COMPLETE_CROSS_DEVICE_MOBILE_SUCCESS",properties:{event_type:"screen"}}],["screen_document_country_select",{eventName:"COUNTRY_SELECTION",properties:{event_type:"screen"}}],["screen_document_crossDevice_client_intro",{eventName:"CROSS_DEVICE_CLIENT_INTRO",properties:{event_type:"screen"}}],["screen_face_crossDevice_client_intro",{eventName:"CROSS_DEVICE_CLIENT_INTRO",properties:{event_type:"screen"}}],["screen_poa_crossDevice_client_intro",{eventName:"CROSS_DEVICE_CLIENT_INTRO",properties:{event_type:"screen"}}],["screen_crossDevice_desktop_submit",{eventName:"CROSS_DEVICE_DESKTOP_SUBMIT",properties:{event_type:"screen"}}],["screen_crossDevice_crossdevice_link",{eventName:"CROSS_DEVICE_GET_LINK",properties:{event_type:"screen"}}],["screen_crossDevice",{eventName:"CROSS_DEVICE_INTRO",properties:{event_type:"screen"}}],["copy link selected",{eventName:"CROSS_DEVICE_LINK_METHOD_SELECTED",properties:{event_type:"action",link_method_selected:"copy"}}],["qr code selected",{eventName:"CROSS_DEVICE_LINK_METHOD_SELECTED",properties:{event_type:"action",link_method_selected:"qr_code"}}],["sms selected",{eventName:"CROSS_DEVICE_LINK_METHOD_SELECTED",properties:{event_type:"action",link_method_selected:"sms"}}],["screen_crossDevice_mobile_notification_sent",{eventName:"CROSS_DEVICE_MOBILE_NOTIFICATION_SENT",properties:{event_type:"action"}}],["screen_crossDevice_mobile_connected",{eventName:"CROSS_DEVICE_MOBILE_SUBMIT",properties:{event_type:"screen"}}],["screen_crossDevice_sms_failed",{eventName:"CROSS_DEVICE_SMS_FAILED",properties:{event_type:"view"}}],["Starting upload",{eventName:"CUSTOM_API_REQUEST_STARTED",properties:{event_type:"flow"}}],["Completed upload",{eventName:"CUSTOM_API_REQUEST_COMPLETED",properties:{event_type:"flow"}}],["Taking live photo of document",{eventName:"DOCUMENT_CAMERA_SHUTTER_CLICK",properties:{event_type:"action",capture_method_rendered:"camera"}}],["screen_document_back_capture_file_upload",{eventName:"DOCUMENT_CAPTURE",properties:{event_type:"screen",document_side:"back",capture_method_rendered:"upload"}}],["screen_document_back_capture",{eventName:"DOCUMENT_CAPTURE",properties:{event_type:"screen",document_side:"front"}}],["screen_document_front_capture_file_upload",{eventName:"DOCUMENT_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload",document_side:"front"}}],["screen_document_front_capture",{eventName:"DOCUMENT_CAPTURE",properties:{event_type:"screen",document_side:"front"}}],["screen_document_back_confirmation",{eventName:"DOCUMENT_CONFIRMATION",properties:{event_type:"screen",document_side:"back"}}],["screen_document_front_confirmation",{eventName:"DOCUMENT_CONFIRMATION",properties:{event_type:"screen",document_side:"front"}}],["screen_document_back_confirmation_retake_button_clicked",{eventName:"DOCUMENT_CONFIRMATION_RETAKE_BUTTON_CLICKED",properties:{event_type:"action",document_side:"back"}}],["screen_document_front_confirmation_retake_button_clicked",{eventName:"DOCUMENT_CONFIRMATION_RETAKE_BUTTON_CLICKED",properties:{event_type:"action",document_side:"front"}}],["screen_document_back_confirmation_upload_button_clicked",{eventName:"DOCUMENT_CONFIRMATION_UPLOAD_BUTTON_CLICKED",properties:{event_type:"action",document_side:"back"}}],["screen_document_front_confirmation_upload_button_clicked",{eventName:"DOCUMENT_CONFIRMATION_UPLOAD_BUTTON_CLICKED",properties:{event_type:"action",document_side:"front"}}],["screen_document_fallback_clicked",{eventName:"DOCUMENT_FALLBACK_CLICKED",properties:{event_type:"action"}}],["screen_document_image_quality_guide",{eventName:"DOCUMENT_IMAGE_QUALITY_GUIDE",properties:{event_type:"screen"}}],["screen_document_type_select",{eventName:"DOCUMENT_TYPE_SELECTION",properties:{event_type:"screen",combined_country_and_document_selection:!0}}],["screen_document_document_video_capture_file_upload",{eventName:"DOCUMENT_VIDEO_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload"}}],["screen_document_document_video_capture",{eventName:"DOCUMENT_VIDEO_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"camera"}}],["screen_document_document_video_capture_camera_access",{eventName:"DOCUMENT_VIDEO_CAPTURE_CAMERA_ACCESS",properties:{event_type:"screen"}}],["screen_document_document_video_capture_camera_access_denied",{eventName:"DOCUMENT_VIDEO_CAPTURE_CAMERA_ACCESS_DENIED",properties:{event_type:"screen"}}],["screen_document_document_video_capture_camera_access_allow_button_clicked",{eventName:"DOCUMENT_VIDEO_CAPTURE_CAMERA_ACCESS_ALLOW_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_document_document_video_capture_camera_access_denied_refresh_button_clicked",{eventName:"DOCUMENT_VIDEO_CAPTURE_CAMERA_ACCESS_DENIED_REFRESH_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_document_document_video_capture_fallback_triggered",{eventName:"DOCUMENT_VIDEO_FALLBACK_TRIGGERED",properties:{event_type:"action"}}],["screen_face_selfie_intro",{eventName:"FACE_SELFIE_INTRO",properties:{event_type:"screen"}}],["screen_face_selfie_intro_take_selfie_button_clicked",{eventName:"FACE_SELFIE_INTRO_TAKE_SELFIE_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_capture_camera_access",{eventName:"FACE_SELFIE_CAPTURE_CAMERA_ACCESS",properties:{event_type:"screen"}}],["screen_face_selfie_capture_camera_access_denied",{eventName:"FACE_SELFIE_CAPTURE_CAMERA_ACCESS_DENIED",properties:{event_type:"screen"}}],["screen_face_selfie_capture_camera_access_allow_button_clicked",{eventName:"FACE_SELFIE_CAPTURE_CAMERA_ACCESS_ALLOW_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_capture_camera_access_denied_refresh_button_clicked",{eventName:"FACE_SELFIE_CAPTURE_CAMERA_ACCESS_DENIED_REFRESH_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_capture_file_upload",{eventName:"FACE_SELFIE_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload"}}],["screen_face_selfie_capture",{eventName:"FACE_SELFIE_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"camera"}}],["screen_face_selfie_capture_capture_button_clicked",{eventName:"FACE_SELFIE_CAPTURE_CAPTURE_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_confirmation",{eventName:"FACE_SELFIE_CONFIRMATION",properties:{event_type:"screen"}}],["screen_face_selfie_confirmation_retake_button_clicked",{eventName:"FACE_SELFIE_CONFIRMATION_RETAKE_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_confirmation_upload_button_clicked",{eventName:"FACE_SELFIE_CONFIRMATION_UPLOAD_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_capture_fallback_triggered",{eventName:"FACE_SELFIE_FALLBACK_TRIGGERED",properties:{event_type:"action"}}],["Snapshot upload completed",{eventName:"FACE_SELFIE_SNAPSHOT_UPLOAD_COMPLETED",properties:{event_type:"flow"}}],["Starting snapshot upload",{eventName:"FACE_SELFIE_SNAPSHOT_UPLOAD_STARTED",properties:{event_type:"flow"}}],["Starting live photo upload",{eventName:"FACE_SELFIE_UPLOAD_STARTED",properties:{event_type:"flow",capture_method_rendered:"camera"}}],["Live photo upload completed",{eventName:"FACE_SELFIE_UPLOAD_COMPLETED",properties:{event_type:"flow",capture_method_rendered:"camera"}}],["screen_face_face_video_capture_file_upload",{eventName:"FACE_VIDEO_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload"}}],["screen_face_face_video_capture",{eventName:"FACE_VIDEO_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"camera"}}],["screen_face_face_video_capture_camera_access",{eventName:"FACE_VIDEO_CAPTURE_CAMERA_ACCESS",properties:{event_type:"screen"}}],["screen_face_face_video_capture_camera_access_denied",{eventName:"FACE_VIDEO_CAPTURE_CAMERA_ACCESS_DENIED",properties:{event_type:"screen"}}],["screen_face_face_video_capture_camera_access_allow_button_clicked",{eventName:"FACE_VIDEO_CAPTURE_CAMERA_ACCESS_ALLOW_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_face_video_capture_camera_access_denied_refresh_button_clicked",{eventName:"FACE_VIDEO_CAPTURE_CAMERA_ACCESS_DENIED_REFRESH_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_face_video_confirmation_video_error",{eventName:"FACE_VIDEO_CONFIRMATION_VIDEO_ERROR",properties:{event_type:"view",ui_alerts:{video_error:"warning"}}}],["screen_face_video_capture_step_1",{eventName:"FACE_VIDEO_CAPTURE",properties:{event_type:"screen"}}],["screen_face_video_capture_step_2",{eventName:"FACE_VIDEO_CAPTURE",properties:{event_type:"screen"}}],["screen_face_video_challenge_load_failed",{eventName:"FACE_VIDEO_CHALLENGE_FETCH_ERROR",properties:{event_type:"flow"}}],["screen_face_video_challenge_loaded",{eventName:"FACE_VIDEO_CHALLENGE_LOADED",properties:{event_type:"flow"}}],["screen_face_video_challenge_requested",{eventName:"FACE_VIDEO_CHALLENGE_REQUESTED",properties:{event_type:"flow"}}],["screen_face_face_video_confirmation",{eventName:"FACE_VIDEO_CONFIRMATION",properties:{event_type:"screen"}}],["screen_face_face_video_confirmation_retake_button_clicked",{eventName:"FACE_VIDEO_CONFIRMATION_RETAKE_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_face_video_confirmation_upload_button_clicked",{eventName:"FACE_VIDEO_CONFIRMATION_UPLOAD_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_face_video_capture_fallback_triggered",{eventName:"FACE_VIDEO_FALLBACK_TRIGGERED",properties:{event_type:"action"}}],["screen_face_video_intro",{eventName:"FACE_VIDEO_INTRO",properties:{event_type:"screen"}}],["screen_face_video_intro_record_video_button_clicked",{eventName:"FACE_VIDEO_INTRO_RECORD_VIDEO_BUTTON_CLICKED",properties:{event_type:"action"}}],["completed flow",{eventName:"FLOW_COMPLETED",properties:{event_type:"flow"}}],["started flow",{eventName:"FLOW_STARTED",properties:{event_type:"flow"}}],["screen_forbidden_client_error",{eventName:"FORBIDDEN_CLIENT_ERROR",properties:{event_type:"screen"}}],["screen_generic_client_error",{eventName:"GENERIC_CLIENT_ERROR",properties:{event_type:"screen"}}],["screen_interrupted_flow_error",{eventName:"INTERRUPTED_FLOW_ERROR",properties:{event_type:"screen"}}],["screen_poa_poa_file_upload",{eventName:"POA_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload"}}],["screen_poa_poa",{eventName:"POA_CAPTURE_POA",properties:{event_type:"screen"}}],["screen_poa_front_confirmation",{eventName:"POA_CONFIRMATION",properties:{event_type:"screen"}}],["screen_poa_type_select",{eventName:"POA_DOCUMENT_TYPE_SELECTION",properties:{event_type:"screen"}}],["screen_poa_poa_country_select",{eventName:"POA_COUNTRY_SELECTION",properties:{event_type:"screen"}}],["screen_poa",{eventName:"POA_INTRO",properties:{event_type:"screen"}}],["screen_unsupported_android_browser",{eventName:"UNSUPPORTED_BROWSER",properties:{event_type:"screen"}}],["screen_unsupported_ios_browser",{eventName:"UNSUPPORTED_BROWSER",properties:{event_type:"screen"}}],["scree