Skip to content

Instantly share code, notes, and snippets.

@rfreitas
Last active December 8, 2016 10:34
Show Gist options
  • Save rfreitas/ed939d78d4a2eb1f43b33881e2487288 to your computer and use it in GitHub Desktop.
Save rfreitas/ed939d78d4a2eb1f43b33881e2487288 to your computer and use it in GitHub Desktop.
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
var Onfido = require('onfido-sdk-ui')
var url = "https://gentle-gorge-17630.herokuapp.com/api"
var request = new XMLHttpRequest()
request.open('GET', url, true)
request.onload = function() {
if (request.status >= 200 && request.status < 400) {
var data = JSON.parse(request.responseText)
window.onfidoOut = Onfido.init({
token: data.message,
buttonId: 'onfido-button',
onReady: function() {
/*callback for when */ console.log("successfully authorised")
},
onDocumentCapture: function(data) {
/*callback for when the*/ console.log("document has been captured successfully", data)
},
onFaceCapture: function(data) {
/*callback for when the*/ console.log("face capture was successful", data)
},
onComplete: function(data) {
/*callback for when */ console.log("everything is complete", data)
console.log(Onfido.getCaptures())
},
steps: [
{
type:'welcome',
options:{
title:'Open your new bank account'
}
},
{
type:'document',
options:{useWebcam:true}
},
'face',
'complete'
]
});
}
}
request.send()
setTimeout(function(){require=function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}({1:[function(require,module,exports){var process=module.exports={};process.nextTick=function(){var canSetImmediate=typeof window!=="undefined"&&window.setImmediate;var canMutationObserver=typeof window!=="undefined"&&window.MutationObserver;var canPost=typeof window!=="undefined"&&window.postMessage&&window.addEventListener;if(canSetImmediate){return function(f){return window.setImmediate(f)}}var queue=[];if(canMutationObserver){var hiddenDiv=document.createElement("div");var observer=new MutationObserver(function(){var queueList=queue.slice();queue.length=0;queueList.forEach(function(fn){fn()})});observer.observe(hiddenDiv,{attributes:true});return function nextTick(fn){if(!queue.length){hiddenDiv.setAttribute("yes","no")}queue.push(fn)}}if(canPost){window.addEventListener("message",function(ev){var source=ev.source;if((source===window||source===null)&&ev.data==="process-tick"){ev.stopPropagation();if(queue.length>0){var fn=queue.shift();fn()}}},true);return function nextTick(fn){queue.push(fn);window.postMessage("process-tick","*")}}return function nextTick(fn){setTimeout(fn,0)}}();process.title="browser";process.browser=true;process.env={};process.argv=[];function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.binding=function(name){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")}},{}],"onfido-sdk-ui":[function(require,module,exports){(function(process){module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,o){r.apply(this,[e,t,o].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(27),n(9),n(42),n(35),n(5),n(17)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s){"use strict";function c(e){return e&&e.__esModule?e:{"default":e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function d(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function h(e){var t=E,n={ready:function(){return e.onReady()},documentCapture:function(n){return e.onDocumentCapture(t(n))},faceCapture:function(n){return e.onFaceCapture(t(n))},complete:function(n){return e.onComplete(t(n))}};return g["default"].forIn(n,function(e,t){o.events.once(t,e)}),n}function C(e){g["default"].forIn(e,function(e,t){o.events.off(t,e)})}function v(e,t){return t&&C(t),h(e)}Object.defineProperty(t,"__esModule",{value:!0});var m=c(i),y=c(a),g=c(s),A=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),b=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w=function(e){var t=e.options,r=t.useModal,o=t.isModalOpen,i=t.buttonId,a=d(t,["useModal","isModalOpen","buttonId"]),u=d(e,["options"]);return(0,n.h)(m["default"],b({useModal:r,buttonId:i},{isOpen:o}),(0,n.h)(y["default"],b({options:a},u)))},_=function(e){var t=e.options,i=e.socket;return(0,n.h)(r.Provider,{store:o.store},(0,n.h)(u.Router,{url:"/"},(0,n.h)(w,{options:t,socket:i,path:"/"}),(0,n.h)(w,{options:t,socket:i,path:"/step/:step/"})))},D=function(e){function t(){var e,r,o,i;l(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return r=o=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),o.render=function(e){return(0,n.h)(_,b({},o.props,{socket:o.state.socket}))},i=r,f(o,i)}return p(t,e),A(t,[{key:"componentWillMount",value:function(){var e=this.props.options.token;this.setState({socket:(0,o.connect)(e)})}},{key:"componentWillReceiveProps",value:function(e){var t=e.options.token;this.props.options.token!==t&&this.setState({socket:(0,o.connect)(t)})}}]),t}(n.Component),x=function(e,t,r){return(0,n.render)((0,n.h)(D,{options:e}),t,r)},k=function(e){var t=e.image,n=e.documentType,r=e.id;return void 0===n?{id:r,image:t}:{id:r,image:t,documentType:n}},E=function(e){return g["default"].mapValues(e,function(e){return e?k(e):null})},S={};S.getCaptures=function(){return E(o.events.getCaptures())};var O={token:"some token",buttonId:"onfido-button",containerId:"onfido-mount",onReady:null,onDocumentCapture:null,onFaceCapture:null,onComplete:null};S.init=function(e){var t=b({},O,e),n=h(t),r=document.getElementById(t.containerId),o=x(t,r);return{options:t,element:o,eventListenersMap:n,setOptions:function(e){return this.options=b({},this.options,e),this.eventListenersMap=v(this.options,this.eventListenersMap),this.element=x(this.options,r,this.element),this.options}}},t["default"]=S,e.exports=t["default"]})},function(e,t,n){!function(e,n){n(t)}(this,function(e){function t(e,t,n){this.nodeName=e,this.attributes=t,this.children=n,this.key=t&&t.key}function n(e,n){var r,o,i,a,u=[];for(a=arguments.length;a-- >2;)I.push(arguments[a]);for(n&&n.children&&(I.length||I.push(n.children),delete n.children);I.length;)if((o=I.pop())instanceof Array)for(a=o.length;a--;)I.push(o[a]);else null!=o&&o!==!1&&("number"!=typeof o&&o!==!0||(o+=""),i="string"==typeof o,i&&r?u[u.length-1]+=o:(u.push(o),r=i));var s=new t(e,n||void 0,u);return N.vnode&&N.vnode(s),s}function r(e,t){if(t)for(var n in t)e[n]=t[n];return e}function o(e){return r({},e)}function i(e,t){for(var n=t.split("."),r=0;n.length>r&&e;r++)e=e[n[r]];return e}function a(e){return"function"==typeof e}function u(e){return"string"==typeof e}function s(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function c(e,t){return n(e.nodeName,r(o(e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function l(e,t,n){var r=t.split("."),o=r[0];return function(t){var a,s,c=t&&t.currentTarget||this,l=e.state,f=l,p=u(n)?i(t,n):c.nodeName?(c.nodeName+c.type).match(/^input(che|rad)/i)?c.checked:c.value:t;if(r.length>1){for(s=0;r.length-1>s;s++)f=f[r[s]]||(f[r[s]]={});f[r[s]]=p,p=l[o]}e.setState((a={},a[o]=p,a))}}function f(e){!e._dirty&&(e._dirty=!0)&&1==$.push(e)&&(N.debounceRendering||q)(p)}function p(){var e,t=$;for($=[];e=t.pop();)e._dirty&&L(e)}function d(e){var t=e&&e.nodeName;return t&&a(t)&&!(t.prototype&&t.prototype.render)}function h(e,t){return e.nodeName(m(e),t||Z)}function C(e,t){return u(t)?e instanceof Text:u(t.nodeName)?v(e,t.nodeName):a(t.nodeName)?e._componentConstructor===t.nodeName||d(t):void 0}function v(e,t){return e.normalizedNodeName===t||z(e.nodeName)===z(t)}function m(e){var t=o(e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,n,r,o){if("className"===t&&(t="class"),"class"===t&&r&&"object"==typeof r&&(r=s(r)),"key"===t);else if("class"!==t||o)if("style"===t){if((!r||u(r)||u(n))&&(e.style.cssText=r||""),r&&"object"==typeof r){if(!u(n))for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"!=typeof r[i]||Y[i]?r[i]:r[i]+"px"}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html);else if("o"==t[0]&&"n"==t[1]){var c=e._listeners||(e._listeners={});t=z(t.substring(2)),r?c[t]||e.addEventListener(t,b,!!H[t]):c[t]&&e.removeEventListener(t,b,!!H[t]),c[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)A(e,t,null==r?"":r),null!=r&&r!==!1||e.removeAttribute(t);else{var l=o&&t.match(/^xlink\:?(.+)/);null==r||r===!1?l?e.removeAttributeNS("http://www.w3.org/1999/xlink",z(l[1])):e.removeAttribute(t):"object"==typeof r||a(r)||(l?e.setAttributeNS("http://www.w3.org/1999/xlink",z(l[1]),r):e.setAttribute(t,r))}else e.className=r||""}function A(e,t,n){try{e[t]=n}catch(r){}}function b(e){return this._listeners[e.type](N.event&&N.event(e)||e)}function w(e){if(y(e),e instanceof Element){e._component=e._componentConstructor=null;var t=e.normalizedNodeName||z(e.nodeName);(K[t]||(K[t]=[])).push(e)}}function _(e,t){var n=z(e),r=K[n]&&K[n].pop()||(t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e));return r.normalizedNodeName=n,r}function D(){for(var e;e=Q.pop();)e.componentDidMount&&e.componentDidMount()}function x(e,t,n,r,o,i){X++||(J=o instanceof SVGElement);var a=k(e,t,n,r);return o&&a.parentNode!==o&&o.appendChild(a),--X||i||D(),a}function k(e,t,n,r){for(var o=t&&t.attributes;d(t);)t=h(t,n);if(null==t&&(t=""),u(t)){if(e){if(e instanceof Text&&e.parentNode)return e.nodeValue=t,e;O(e)}return document.createTextNode(t)}if(a(t.nodeName))return B(e,t,n,r);var i=e,s=t.nodeName,c=J;if(u(s)||(s+=""),J="svg"===s||"foreignObject"!==s&&J,e){if(!v(e,s)){for(i=_(s,J);e.firstChild;)i.appendChild(e.firstChild);O(e)}}else i=_(s,J);t.children&&1===t.children.length&&"string"==typeof t.children[0]&&1===i.childNodes.length&&i.firstChild instanceof Text?i.firstChild.nodeValue=t.children[0]:(t.children&&t.children.length||i.firstChild)&&E(i,t.children,n,r);var l=i[G];if(!l){i[G]=l={};for(var f=i.attributes,p=f.length;p--;)l[f[p].name]=f[p].value}return F(i,t.attributes,l),o&&"function"==typeof o.ref&&(l.ref=o.ref)(i),J=c,i}function E(e,t,n,r){var o,i,u,s,c=e.childNodes,l=[],f={},p=0,d=0,h=c.length,v=0,m=t&&t.length;if(h)for(var y=0;h>y;y++){var g=c[y],A=m?(i=g._component)?i.__key:(i=g[G])?i.key:null:null;A||0===A?(p++,f[A]=g):l[v++]=g}if(m)for(var y=0;m>y;y++){u=t[y],s=null;var A=u.key;if(null!=A)p&&A in f&&(s=f[A],f[A]=void 0,p--);else if(!s&&v>d){for(o=d;v>o;o++)if(i=l[o],i&&C(i,u)){s=i,l[o]=void 0,o===v-1&&v--,o===d&&d++;break}!s&&v>d&&a(u.nodeName)&&r&&(s=l[d],l[d++]=void 0)}s=k(s,u,n,r),s&&s!==e&&s!==c[y]&&e.insertBefore(s,c[y]||null)}if(p)for(var y in f)f[y]&&O(f[y]);v>d&&S(l)}function S(e,t){for(var n=e.length;n--;)e[n]&&O(e[n],t)}function O(e,t){var n=e._component;n?j(n,!t):(e[G]&&e[G].ref&&e[G].ref(null),t||w(e),e.childNodes&&e.childNodes.length&&S(e.childNodes,t))}function F(e,t,n){for(var r in n)t&&r in t||null==n[r]||g(e,r,n[r],n[r]=void 0,J);if(t)for(var o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||g(e,o,n[o],n[o]=t[o],J)}function T(e){var t=e.constructor.name,n=ee[t];n?n.push(e):ee[t]=[e]}function M(e,t,n){var r=new e(t,n),o=ee[e.name];if(R.call(r,t,n),o)for(var i=o.length;i--;)if(o[i].constructor===e){r.nextBase=o[i].nextBase,o.splice(i,1);break}return r}function P(e,t,n,r,o){e._disable||(e._disable=!0,(e.__ref=t.ref)&&delete t.ref,(e.__key=t.key)&&delete t.key,!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&N.syncComponentUpdates===!1&&e.base?f(e):L(e,1,o)),e.__ref&&e.__ref(e))}function L(e,t,n,i){if(!e._disable){var u,s,c,l,f=e.props,p=e.state,C=e.context,v=e.prevProps||f,y=e.prevState||p,g=e.prevContext||C,A=e.base,b=e.nextBase,w=A||b,_=e._component;if(A&&(e.props=v,e.state=y,e.context=g,2!==t&&e.shouldComponentUpdate&&e.shouldComponentUpdate(f,p,C)===!1?u=!0:e.componentWillUpdate&&e.componentWillUpdate(f,p,C),e.props=f,e.state=p,e.context=C),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!u){for(e.render&&(s=e.render(f,p,C)),e.getChildContext&&(C=r(o(C),e.getChildContext()));d(s);)s=h(s,C);var k,E,S=s&&s.nodeName;if(a(S)){c=_;var F=m(s);c&&c.constructor===S?P(c,F,1,C):(k=c,c=M(S,F,C),c.nextBase=c.nextBase||b,c._parentComponent=e,e._component=c,P(c,F,0,C),L(c,1,n,!0)),E=c.base}else l=w,k=_,k&&(l=e._component=null),(w||1===t)&&(l&&(l._component=null),E=x(l,s,C,n||!A,w&&w.parentNode,!0));if(w&&E!==w&&c!==_){var T=w.parentNode;T&&E!==T&&T.replaceChild(E,w),l||k||!e._parentComponent||(w._component=null,O(w))}if(k&&j(k,E!==w),e.base=E,E&&!i){for(var B=e,R=e;R=R._parentComponent;)B=R;E._component=B,E._componentConstructor=B.constructor}}!A||n?Q.unshift(e):!u&&e.componentDidUpdate&&e.componentDidUpdate(v,y,g);var U,N=e._renderCallbacks;if(N)for(;U=N.pop();)U.call(e);X||i||D()}}function B(e,t,n,r){for(var o=e&&e._component,i=e,a=o&&e._componentConstructor===t.nodeName,u=a,s=m(t);o&&!u&&(o=o._parentComponent);)u=o.constructor===t.nodeName;return o&&u&&(!r||o._component)?(P(o,s,3,n,r),e=o.base):(o&&!a&&(j(o,!0),e=i=null),o=M(t.nodeName,s,n),e&&!o.nextBase&&(o.nextBase=e),P(o,s,1,n,r),e=o.base,i&&e!==i&&(i._component=null,O(i))),e}function j(e,t){var n=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var r=e._component;r?j(r,t):n&&(n[G]&&n[G].ref&&n[G].ref(null),e.nextBase=n,t&&(y(n),T(e)),S(n.childNodes,!t)),e.__ref&&e.__ref(null),e.componentDidUnmount&&e.componentDidUnmount()}function R(e,t){this._dirty=!0,this.context=t,this.props=e,this.state||(this.state={})}function U(e,t,n){return x(n,e,{},!1,t)}var N={},I=[],W={},z=function(e){return W[e]||(W[e]=e.toLowerCase())},V="undefined"!=typeof Promise&&Promise.resolve(),q=V?function(e){V.then(e)}:setTimeout,Z={},G="undefined"!=typeof Symbol?Symbol["for"]("preactattr"):"__preactattr_",Y={boxFlex:1,boxFlexGroup:1,columnCount:1,fillOpacity:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,fontWeight:1,lineClamp:1,lineHeight:1,opacity:1,order:1,orphans:1,strokeOpacity:1,widows:1,zIndex:1,zoom:1},H={blur:1,error:1,focus:1,load:1,resize:1,scroll:1},$=[],K={},Q=[],X=0,J=!1,ee={};r(R.prototype,{linkState:function(e,t){var n=this._linkedStates||(this._linkedStates={});return n[e+t]||(n[e+t]=l(this,e,t))},setState:function(e,t){var n=this.state;this.prevState||(this.prevState=o(n)),r(n,a(e)?e(n,this.props):e),t&&(this._renderCallbacks=this._renderCallbacks||[]).push(t),f(this)},forceUpdate:function(){L(this,2)},render:function(){}}),e.h=n,e.cloneElement=c,e.Component=R,e.render=U,e.rerender=p,e.options=N})},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;this.length>t;t++){var n=this[t];e.push(n[2]?"@media "+n[2]+"{"+n[1]+"}":n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;this.length>o;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;t.length>o;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function r(e,t){for(var n=0;e.length>n;n++){var r=e[n],o=d[r.id];if(o){o.refs++;for(var i=0;o.parts.length>i;i++)o.parts[i](r.parts[i]);for(;r.parts.length>i;i++)o.parts.push(c(r.parts[i],t))}else{for(var a=[],i=0;r.parts.length>i;i++)a.push(c(r.parts[i],t));d[r.id]={id:r.id,refs:1,parts:a}}}}function o(e){for(var t=[],n={},r=0;e.length>r;r++){var o=e[r],i=o[0],a=o[1],u=o[2],s=o[3],c={css:a,media:u,sourceMap:s};n[i]?n[i].parts.push(c):t.push(n[i]={id:i,parts:[c]})}return t}function i(e,t){var n=v(),r=g[g.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),g.push(t);else{if("bottom"!==e.insertAt)throw Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=g.indexOf(e);0>t||g.splice(t,1)}function u(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function s(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function c(e,t){var n,r,o;if(t.singleton){var i=y++;n=m||(m=u(t)),r=l.bind(null,n,i,!1),o=l.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(t),r=p.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=u(t),r=f.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function l(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=A(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function f(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function p(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var d={},h=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},C=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=h(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,y=0,g=[];e.exports=function(e,t){t=t||{},void 0===t.singleton&&(t.singleton=C()),void 0===t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;n.length>a;a++){var u=n[a],s=d[u.id];s.refs--,i.push(s)}if(e){var c=o(e);r(c,t)}for(var a=0;i.length>a;a++){var s=i[a];if(0===s.refs){for(var l=0;s.parts.length>l;l++)s.parts[l]();delete d[s.id]}}}};var A=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){!function(t,r){e.exports=r(n(82),n(1))}(this,function(e,t){function n(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&g(e.attributes,t.defaultProps),n&&g(e.attributes,n),n=e.attributes,e.children&&!e.children.length&&(e.children=void 0),e.children&&(n.children=e.children)}function r(e,t){var n,r,o;if(t){for(o in t)if(n=U.test(o))break;if(n){r=e.attributes={};for(o in t)t.hasOwnProperty(o)&&(r[U.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}}function o(e,n,r){var o=n._preactCompatRendered;o&&o.parentNode!==n&&(o=null),o||(o=n.children[0]);for(var i=n.childNodes.length;i--;)n.childNodes[i]!==o&&n.removeChild(n.childNodes[i]);var a=t.render(e,n,o);return n._preactCompatRendered=a,"function"==typeof r&&r(),a&&a._component||a.base}function i(e,n,r,i){var a=t.h(q,{context:e.context},n),u=o(a,r);return i&&i(u),u}function a(e){var n=e._preactCompatRendered;return!(!n||n.parentNode!==e||(t.render(t.h(W),e,n),0))}function u(e){return p.bind(null,e)}function s(e,t){for(var n=t||0;e.length>n;n++){var r=e[n];Array.isArray(r)?s(r):r&&"object"==typeof r&&!C(r)&&(r.props&&r.type||r.attributes&&r.nodeName||r.children)&&(e[n]=p(r.type||r.nodeName,r.props||r.attributes,r.children))}}function c(e){return"function"==typeof e&&!(e.prototype&&e.prototype.render)}function l(e){return w({displayName:e.displayName||e.name,render:function(t,n,r){return e(t,r)}})}function f(e){var t=e[K];return t?t===!0?e:t:(t=l(e),Object.defineProperty(t,K,{configurable:!0,value:!0}),t.displayName=e.displayName,t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,Object.defineProperty(e,K,{configurable:!0,value:t}),t)}function p(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return s(e,2),d(t.h.apply(void 0,e))}function d(e){e.preactCompatNormalized=!0,y(e),c(e.nodeName)&&(e.nodeName=f(e.nodeName));var t=e.attributes.ref,n=t&&typeof t;return!Z||"string"!==n&&"number"!==n||(e.attributes.ref=v(t,Z)),m(e),e}function h(e,n){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];if(!C(e))return e;var i=e.attributes||e.props,a=t.h(e.nodeName||e.type,i,e.children||i&&i.children);return d(t.cloneElement.apply(void 0,[a,n].concat(r)))}function C(e){return e&&(e instanceof z||e.$$typeof===j)}function v(e,t){return t._refProxies[e]||(t._refProxies[e]=function(n){t&&t.refs&&(t.refs[e]=n,null===n&&(delete t._refProxies[e],t=null))})}function m(e){var t=e.nodeName,n=e.attributes;if(n&&"string"==typeof t){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.onchange){t=t.toLowerCase();var i="input"===t&&"checkbox"===(n.type+"").toLowerCase()?"onclick":"oninput",a=r[i]||i;n[a]||(n[a]=E([n[r[i]],n[r.onchange]]))}}}function y(e){var t=e.attributes;if(t){var n=t.className||t["class"];n&&(t.className=n)}}function g(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function A(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}function b(){}function w(e){function t(t,r){g(this,e),n&&D(this,n),M.call(this,t,r,N),x(this),S.call(this,t,r)}var n=e.mixins&&_(e.mixins);return e.statics&&g(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps()),b.prototype=M.prototype,t.prototype=new b,t.prototype.constructor=t,t.displayName=e.displayName||"Component",t}function _(e){for(var t={},n=0;e.length>n;n++){var r=e[n];for(var o in r)r.hasOwnProperty(o)&&"function"==typeof r[o]&&(t[o]||(t[o]=[])).push(r[o])}return t}function D(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=E(t[n].concat(e[n]||n)))}function x(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||R.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}function k(e,t,n){if("string"==typeof t&&(t=e.constructor.prototype[t]),"function"==typeof t)return t.apply(e,n)}function E(e){return function(){for(var t,n=arguments,r=this,o=0;e.length>o;o++){var i=k(r,e[o],n);void 0!==i&&(t=i)}return t}}function S(e,t){O.call(this,e,t),this.componentWillReceiveProps=E([O,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=E([O,F,this.render||"render",T])}function O(e,t){var n=this;if(e){var r=e.children;if(r&&Array.isArray(r)&&1===r.length&&(e.children=r[0],e.children&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children)),I){var o="function"==typeof this?this:this.constructor,i=this.propTypes||o.propTypes;if(i)for(var a in i)if(i.hasOwnProperty(a)&&"function"==typeof i[a]){var u=n.displayName||o.name,s=i[a](e,a,u,"prop");s&&console.error(Error(s.message||s))}}}}function F(e){Z=this}function T(){Z===this&&(Z=null)}function M(e,n,r){t.Component.call(this,e,n),this.getInitialState&&(this.state=this.getInitialState()),this.refs={},this._refProxies={},r!==N&&S.call(this,e,n)}function P(e,t){M.call(this,e,t)}e="default"in e?e["default"]:e;var L="15.1.0",B="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(" "),j="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,R={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},U=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vert|word|writing|x)[A-Z]/,N={},I="undefined"!=typeof process&&process.env&&!1,W=function(){return null},z=t.h("").constructor;z.prototype.$$typeof=j,z.prototype.preactCompatUpgraded=!1,z.prototype.preactCompatNormalized=!1,Object.defineProperty(z.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(z.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var V=t.options.vnode;t.options.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,o=e.attributes;o||(o=e.attributes={}),"function"==typeof t?(t[K]===!0||t.prototype&&"isReactComponent"in t.prototype)&&(e.preactCompatNormalized||d(e),n(e)):o&&r(e,o)}V&&V(e)};var q=function(){};q.prototype.getChildContext=function(){return this.props.context},q.prototype.render=function(e){return e.children[0]};for(var Z,G=[],Y={map:function(e,t,n){return e=Y.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t)},forEach:function(e,t,n){e=Y.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e=Y.toArray(e),e.length},only:function(e){if(e=Y.toArray(e),1!==e.length)throw Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return Array.isArray&&Array.isArray(e)?e:G.concat(e)}},H={},$=B.length;$--;)H[B[$]]=u(B[$]);var K="undefined"!=typeof Symbol?Symbol["for"]("__preactCompatWrapper"):"__preactCompatWrapper",Q=function(e){return e&&e.base||e};M.prototype=new t.Component,g(M.prototype,{constructor:M,isReactComponent:{},replaceState:function(e,t){var n=this;this.setState(e,t);for(var r in this.state)r in e||delete n.state[r]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),P.prototype=new M({},{},N),P.prototype.shouldComponentUpdate=function(e,t){return A(this.props,e)||A(this.state,t)};var X={version:L,DOM:H,PropTypes:e,Children:Y,render:o,createClass:w,createFactory:u,createElement:p,cloneElement:h,isValidElement:C,findDOMNode:Q,unmountComponentAtNode:a,Component:M,PureComponent:P,unstable_renderSubtreeIntoContainer:i};return X})},function(e,t,n){!function(t,r){e.exports=r(n(1))}(this,function(e){"use strict";function t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A,o=/(?:\?([^#]*))?(#.*)?$/,i=e.match(o),a={},u=void 0;if(i&&i[1])for(var s=i[1].split("&"),c=0;s.length>c;c++){var l=s[c].split("=");a[decodeURIComponent(l[0])]=decodeURIComponent(l.slice(1).join("="))}e=r(e.replace(o,"")),t=r(t||"");for(var f=Math.max(e.length,t.length),p=0;f>p;p++)if(t[p]&&":"===t[p].charAt(0)){var d=t[p].replace(/(^\:|[+*?]+$)/g,""),h=(t[p].match(/[+*?]+$/)||A)[0]||"",C=~h.indexOf("+"),v=~h.indexOf("*"),m=e[p]||"";if(!m&&!v&&(h.indexOf("?")<0||C)){u=!1;break}if(a[d]=decodeURIComponent(m),C||v){a[d]=e.slice(p).map(decodeURIComponent).join("/");break}}else if(t[p]!==e[p]){u=!1;break}return(n["default"]===!0||u!==!1)&&a}function n(e,t){var n=e.attributes||A,r=t.attributes||A;if(n["default"])return 1;if(r["default"])return-1;var i=o(n.path)-o(r.path);return i||n.path.length-r.path.length}function r(e){return i(e).split("/")}function o(e){return(i(e).match(/\/+/g)||"").length}function i(e){return e.replace(/(^\/+|\/+$)/g,"")}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function l(e){return x in e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"push";w&&w[t]?w[t](e):"undefined"!=typeof history&&history[t+"State"]&&history[t+"State"](null,null,e)}function p(){var e=void 0;return e=w&&w.getCurrentLocation?w.getCurrentLocation():"undefined"!=typeof location?location:D,""+(e.pathname||"")+(e.search||"")}function d(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),h(e)&&f(e,t?"replace":"push"),C(e)}function h(e){for(var t=_.length;t--;)if(_[t].canRoute(e))return!0;return!1}function C(e){for(var t=!1,n=0;_.length>n;n++)_[n].routeTo(e)===!0&&(t=!0);return t}function v(e){if(e&&e.getAttribute){var t=e.getAttribute("href"),n=e.getAttribute("target");if(t&&t.match(/^\//g)&&(!n||n.match(/^_?self$/i)))return d(t)}}function m(e){if(0===e.button)return v(e.currentTarget||e.target||this),y(e)}function y(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function g(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){var t=e.target;do if("A"===(t.nodeName+"").toUpperCase()&&t.getAttribute("href")&&l(t)){if(0!==e.button)return;if(v(t))return y(e)}while(t=t.parentNode)}}var A={},b=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w=null,_=[],D={},x="undefined"!=typeof Symbol?Symbol["for"]("preactattr"):"__preactattr_";"function"==typeof addEventListener&&(addEventListener("popstate",function(){return C(p())}),addEventListener("click",g));var k=function(t){var n=t.children,r=c(t,["children"]);return e.h("a",b({},r,{onClick:m}),n)},E=function(e){function r(t){a(this,r);var n=u(this,e.call(this,t));return t.history&&(w=t.history),n.state={url:n.props.url||p()},n}return s(r,e),r.prototype.shouldComponentUpdate=function(e){return e["static"]!==!0||e.url!==this.props.url||e.onChange!==this.props.onChange},r.prototype.canRoute=function(e){return this.getMatchingChildren(this.props.children,e,!1).length>0},r.prototype.routeTo=function(e){return this._didRoute=!1,this.setState({url:e}),this.updating?this.canRoute(e):(this.forceUpdate(),this._didRoute)},r.prototype.componentWillMount=function(){_.push(this),this.updating=!0},r.prototype.componentDidMount=function(){this.updating=!1},r.prototype.componentWillUnmount=function(){_.splice(_.indexOf(this),1)},r.prototype.componentWillUpdate=function(){this.updating=!0},r.prototype.componentDidUpdate=function(){this.updating=!1},r.prototype.getMatchingChildren=function(e,r,o){return e.slice().sort(n).filter(function(e){var n=e.attributes,i=n.path,a=t(r,i,n);if(a){if(o!==!1){n.url=r,n.matches=a;for(var u in a)a.hasOwnProperty(u)&&(n[u]=a[u])}return!0}})},r.prototype.render=function(e,t){var n=e.children,r=e.onChange,o=t.url,i=this.getMatchingChildren(n,o,!0),a=i[0]||null;this._didRoute=!!a;var u=this.previousUrl;return o!==u&&(this.previousUrl=o,"function"==typeof r&&r({router:this,url:o,previous:u,active:i,current:a})),a},r}(e.Component),S=function(t){var n=t.component,r=t.url,o=t.matches;return e.h(n,{url:r,matches:o})};return E.route=d,E.Router=E,E.Route=S,E.Link=k,
E})},[118,62],function(e,t,n){var r,o,i;!function(a,u){o=[t,n(81),n(1)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(e,"__esModule",{value:!0}),e.impurify=e.wrapWithClass=e.getCSSMilisecsValue=e.getCSSValue=e.functionalSwitch=void 0;var u=r(t),s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{!r&&u["return"]&&u["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=(e.functionalSwitch=function(e,t){return(t[e]||function(e){return null})()},e.getCSSValue=function(e,t){var n=(0,u["default"])(t),r=s(n,2),o=r[0],i=r[1];return i!==e&&console.warn("The css @value: "+t+" unit is "+i+" but it should be "+e),o});e.getCSSMilisecsValue=function(e){return c("ms",e)},e.wrapWithClass=function(e,t){return(0,n.h)("div",{className:e},t)},e.impurify=function(e){var t=function(t){function n(){var t,r,a,u;o(this,n);for(var s=arguments.length,c=Array(s),l=0;s>l;l++)c[l]=arguments[l];return r=a=i(this,(t=n.__proto__||Object.getPrototypeOf(n)).call.apply(t,[this].concat(c))),a.render=function(){return e(a.props)},u=r,i(a,u)}return a(n,t),n}(n.Component);return t.defaultProps=e.defaultProps,t}})},function(e,t){"use strict";t.__esModule=!0,t.SOCKET_URL="wss://ws.onfido.com:9876",t.SOCKET_URL_DEV="wss://document-check-staging.onfido.co.uk:9876",t.XHR_URL="https://api.onfido.com",t.DOCUMENT_CAPTURE="DOCUMENT_CAPTURE",t.FACE_CAPTURE="FACE_CAPTURE",t.SET_AUTHENTICATED="SET_AUTHENTICATED",t.SET_WEBSOCKET_SUPPORT="SET_WEBSOCKET_SUPPORT",t.SET_WEBSOCKET_ERROR="SET_WEBSOCKET_ERROR",t.SET_GUM_SUPPORT="SET_GUM_SUPPORT",t.SET_DOCUMENT_TYPE="SET_DOCUMENT_TYPE",t.CAPTURE_CREATE="CAPTURE_CREATE",t.CAPTURE_VALIDATE="CAPTURE_VALIDATE",t.CAPTURE_CONFIRM="CAPTURE_CONFIRM",t.CAPTURE_DELETE="CAPTURE_DELETE"},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.selectors=t.unboundActions=t.events=t.actions=t.store=t.connect=void 0;var i=n(68),a=o(i),u=n(19),s=o(u),c=n(23),l=o(c),f=n(18),p=n(24),d=r(p);t.connect=a["default"],t.store=s["default"],t.actions=f.actions,t.events=l["default"],t.unboundActions=f.unboundActions,t.selectors=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var o=n(31),i=r(o),a=n(100),u=r(a),s=n(99),c=r(s),l=n(98),f=r(l),p=n(30),d=r(p),h=n(32);r(h),t.createStore=i["default"],t.combineReducers=u["default"],t.bindActionCreators=c["default"],t.applyMiddleware=f["default"],t.compose=d["default"]},function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;arguments.length>t;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},,function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;10>n;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,a,u=n(e),s=1;arguments.length>s;s++){r=Object(arguments[s]);for(var c in r)o.call(r,c)&&(u[c]=r[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(r);for(var l=0;a.length>l;l++)i.call(r,a[l])&&(u[a[l]]=r[a[l]])}}return u}},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(1),n(6),n(109),n(15)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentInstructions=e.DocumentOverlay=e.DocumentTitle=e.DocumentNotFound=void 0;var a=i(n),u=i(r),s=e.DocumentNotFound=function(e){var n=e.message;return(0,t.h)(o.UploadError,null,n)};s.defaultProps={message:"We couldn’t detect a passport or identity card in this image. Please upload another one."};var c=e.DocumentTitle=function(e){var n=e.useCapture,r=e.captureTitle,o=e.uploadTitle;return(0,t.h)("div",{className:a["default"].title},n?r:o)};c.defaultProps={captureTitle:"Place your document in the rectangle",uploadTitle:"Upload a picture of your document"},e.DocumentOverlay=function(){return(0,t.h)("div",{className:a["default"].overlay},(0,t.h)("span",{className:a["default"]["overlay-shape"]+" "+u["default"].rectangle}))},e.DocumentInstructions=function(){return(0,t.h)("div",{className:u["default"].capture},(0,t.h)("p",{className:a["default"].center},"Once it is detected you will be automatically directed to the next step."))}})},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(1),n(25),n(48),n(14),n(44),n(20),n(6),n(116),n(7)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s,c){"use strict";function l(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e.Uploader=e.UploadError=e.fileToBase64=e.canvasToBase64Images=void 0;var f=l(n),p=l(r),d=l(i),h=(l(a),l(u)),C=l(s),v=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{!r&&u["return"]&&u["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function(e){return 0===e.indexOf("data:image/webp")},y=e.canvasToBase64Images=function(e,t){var n=e.toDataURL("image/webp"),r=void 0;m(n)?r=e.toDataURL():(r=n,n=e.toDataURL("image/jpeg")),t(n,r)},g=(e.fileToBase64=function(e,t,n){var r={maxWidth:960,maxHeight:960,canvas:!0};n=n||t,(0,p["default"])(e.preview,function(e){"error"===e.type?n(e):y(e,t)},r)},function(){return(0,t.h)("div",{className:C["default"].base},(0,t.h)("span",{className:h["default"].icon+" "+C["default"].icon}),(0,t.h)("p",{className:C["default"].text},"Take a photo with your camera or upload one from your library."))}),A=function(){return(0,t.h)("div",{className:h["default"].center},(0,t.h)(d["default"],null),(0,t.h)("div",{className:C["default"].processing},"Processing your document"))},b=e.UploadError=function(e){var n=e.children;return(0,t.h)("div",{className:C["default"].text+" "+C["default"].error},n)},w=function(e){var n=e.method;return(0,c.functionalSwitch)(n,{document:function(){return(0,t.h)(o.DocumentNotFound,null)}})},_=function(){return(0,t.h)(b,null,"The file uploaded has an unsupported file type.")};e.Uploader=(0,c.impurify)(function(e){var n=e.method,r=e.onImageSelected,o=e.uploading,i=e.error;return(0,t.h)(f["default"],{onDrop:function(e){var t=v(e,1),n=t[0];return r(n)},multiple:!1,className:C["default"].dropzone},o?(0,t.h)(A,null):(0,t.h)(g,null),!o&&(0,c.functionalSwitch)(i,{INVALID_CAPTURE:function(){return(0,t.h)(w,{method:n})},INVALID_TYPE:function(){return(0,t.h)(_,null)}}))})})},function(e,t,n){function r(e){if(!i(e)||p.call(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var o=n(65),i=n(67),a="[object Object]",u=Function.prototype,s=Object.prototype,c=u.toString,l=s.hasOwnProperty,f=c.call(Object),p=s.toString;e.exports=r},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){return e.set(t[0],t[1]),e}function a(e,t){return e.add(t),e}function u(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function s(e,t,n,r){for(var o=-1,i=e?e.length:0;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function c(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}function l(e,t){for(var n=e?e.length:0;n--&&t(e[n],n,e)!==!1;);return e}function f(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(!t(e[n],n,e))return!1;return!0}function p(e,t){for(var n=-1,r=e?e.length:0,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function d(e,t){var n=e?e.length:0;return!!n&&D(e,t,0)>-1}function h(e,t,n){for(var r=-1,o=e?e.length:0;++r<o;)if(n(t,e[r]))return!0;return!1}function C(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function v(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function m(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function y(e,t,n,r){var o=e?e.length:0;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function g(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function A(e){return e.split("")}function b(e){return e.match(jt)||[]}function w(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function _(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function D(e,t,n){return t===t?Q(e,t,n):_(e,k,n)}function x(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function k(e){return e!==e}function E(e,t){var n=e?e.length:0;return n?M(e,t)/n:Le}function S(e){return function(t){return null==t?oe:t[e]}}function O(e){return function(t){return null==e?oe:e[t]}}function F(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function T(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function M(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);i!==oe&&(n=n===oe?i:n+i)}return n}function P(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function L(e,t){return C(t,function(t){return[t,e[t]]})}function B(e){return function(t){return e(t)}}function j(e,t){return C(t,function(t){return e[t]})}function R(e,t){return e.has(t)}function U(e,t){for(var n=-1,r=e.length;++n<r&&D(t,e[n],0)>-1;);return n}function N(e,t){for(var n=e.length;n--&&D(t,e[n],0)>-1;);return n}function I(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function W(e){return"\\"+Zn[e]}function z(e,t){return null==e?oe:e[t]}function V(e){return jn.test(e)}function q(e){return Rn.test(e)}function Z(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function G(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Y(e,t){return function(n){return e(t(n))}}function H(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==fe||(e[n]=fe,i[o++]=n)}return i}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Q(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function X(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function J(e){return V(e)?te(e):sr(e)}function ee(e){return V(e)?ne(e):A(e)}function te(e){for(var t=Ln.lastIndex=0;Ln.test(e);)++t;return t}function ne(e){return e.match(Ln)||[]}function re(e){return e.match(Bn)||[]}var oe,ie="4.16.4",ae=200,ue="Unsupported core-js use. Try https://github.com/es-shims.",se="Expected a function",ce="__lodash_hash_undefined__",le=500,fe="__lodash_placeholder__",pe=1,de=2,he=4,Ce=8,ve=16,me=32,ye=64,ge=128,Ae=256,be=512,we=1,_e=2,De=30,xe="...",ke=500,Ee=16,Se=1,Oe=2,Fe=3,Te=1/0,Me=9007199254740991,Pe=1.7976931348623157e308,Le=NaN,Be=4294967295,je=Be-1,Re=Be>>>1,Ue=[["ary",ge],["bind",pe],["bindKey",de],["curry",Ce],["curryRight",ve],["flip",be],["partial",me],["partialRight",ye],["rearg",Ae]],Ne="[object Arguments]",Ie="[object Array]",We="[object Boolean]",ze="[object Date]",Ve="[object Error]",qe="[object Function]",Ze="[object GeneratorFunction]",Ge="[object Map]",Ye="[object Number]",He="[object Object]",$e="[object Promise]",Ke="[object Proxy]",Qe="[object RegExp]",Xe="[object Set]",Je="[object String]",et="[object Symbol]",tt="[object WeakMap]",nt="[object WeakSet]",rt="[object ArrayBuffer]",ot="[object DataView]",it="[object Float32Array]",at="[object Float64Array]",ut="[object Int8Array]",st="[object Int16Array]",ct="[object Int32Array]",lt="[object Uint8Array]",ft="[object Uint8ClampedArray]",pt="[object Uint16Array]",dt="[object Uint32Array]",ht=/\b__p \+= '';/g,Ct=/\b(__p \+=) '' \+/g,vt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,mt=/&(?:amp|lt|gt|quot|#39);/g,yt=/[&<>"']/g,gt=RegExp(mt.source),At=RegExp(yt.source),bt=/<%-([\s\S]+?)%>/g,wt=/<%([\s\S]+?)%>/g,_t=/<%=([\s\S]+?)%>/g,Dt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xt=/^\w*$/,kt=/^\./,Et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,St=/[\\^$.*+?()[\]{}|]/g,Ot=RegExp(St.source),Ft=/^\s+|\s+$/g,Tt=/^\s+/,Mt=/\s+$/,Pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Lt=/\{\n\/\* \[wrapped with (.+)\] \*/,Bt=/,? & /,jt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nt=/\w*$/,It=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,zt=/^\[object .+?Constructor\]$/,Vt=/^0o[0-7]+$/i,qt=/^(?:0|[1-9]\d*)$/,Zt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Gt=/($^)/,Yt=/['\n\r\u2028\u2029\\]/g,Ht="\\ud800-\\udfff",$t="\\u0300-\\u036f\\ufe20-\\ufe23",Kt="\\u20d0-\\u20f0",Qt="\\u2700-\\u27bf",Xt="a-z\\xdf-\\xf6\\xf8-\\xff",Jt="\\xac\\xb1\\xd7\\xf7",en="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",tn="\\u2000-\\u206f",nn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rn="A-Z\\xc0-\\xd6\\xd8-\\xde",on="\\ufe0e\\ufe0f",an=Jt+en+tn+nn,un="['’]",sn="["+Ht+"]",cn="["+an+"]",ln="["+$t+Kt+"]",fn="\\d+",pn="["+Qt+"]",dn="["+Xt+"]",hn="[^"+Ht+an+fn+Qt+Xt+rn+"]",Cn="\\ud83c[\\udffb-\\udfff]",vn="(?:"+ln+"|"+Cn+")",mn="[^"+Ht+"]",yn="(?:\\ud83c[\\udde6-\\uddff]){2}",gn="[\\ud800-\\udbff][\\udc00-\\udfff]",An="["+rn+"]",bn="\\u200d",wn="(?:"+dn+"|"+hn+")",_n="(?:"+An+"|"+hn+")",Dn="(?:"+un+"(?:d|ll|m|re|s|t|ve))?",xn="(?:"+un+"(?:D|LL|M|RE|S|T|VE))?",kn=vn+"?",En="["+on+"]?",Sn="(?:"+bn+"(?:"+[mn,yn,gn].join("|")+")"+En+kn+")*",On=En+kn+Sn,Fn="(?:"+[pn,yn,gn].join("|")+")"+On,Tn="(?:"+[mn+ln+"?",ln,yn,gn,sn].join("|")+")",Mn=RegExp(un,"g"),Pn=RegExp(ln,"g"),Ln=RegExp(Cn+"(?="+Cn+")|"+Tn+On,"g"),Bn=RegExp([An+"?"+dn+"+"+Dn+"(?="+[cn,An,"$"].join("|")+")",_n+"+"+xn+"(?="+[cn,An+wn,"$"].join("|")+")",An+"?"+wn+"+"+Dn,An+"+"+xn,fn,Fn].join("|"),"g"),jn=RegExp("["+bn+Ht+$t+Kt+on+"]"),Rn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Un=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Nn=-1,In={};In[it]=In[at]=In[ut]=In[st]=In[ct]=In[lt]=In[ft]=In[pt]=In[dt]=!0,In[Ne]=In[Ie]=In[rt]=In[We]=In[ot]=In[ze]=In[Ve]=In[qe]=In[Ge]=In[Ye]=In[He]=In[Qe]=In[Xe]=In[Je]=In[tt]=!1;var Wn={};Wn[Ne]=Wn[Ie]=Wn[rt]=Wn[ot]=Wn[We]=Wn[ze]=Wn[it]=Wn[at]=Wn[ut]=Wn[st]=Wn[ct]=Wn[Ge]=Wn[Ye]=Wn[He]=Wn[Qe]=Wn[Xe]=Wn[Je]=Wn[et]=Wn[lt]=Wn[ft]=Wn[pt]=Wn[dt]=!0,Wn[Ve]=Wn[qe]=Wn[tt]=!1;var zn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Vn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},qn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Zn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Gn=parseFloat,Yn=parseInt,Hn="object"==typeof e&&e&&e.Object===Object&&e,$n="object"==typeof self&&self&&self.Object===Object&&self,Kn=Hn||$n||Function("return this")(),Qn="object"==typeof t&&t&&!t.nodeType&&t,Xn=Qn&&"object"==typeof o&&o&&!o.nodeType&&o,Jn=Xn&&Xn.exports===Qn,er=Jn&&Hn.process,tr=function(){try{return er&&er.binding("util")}catch(e){}}(),nr=tr&&tr.isArrayBuffer,rr=tr&&tr.isDate,or=tr&&tr.isMap,ir=tr&&tr.isRegExp,ar=tr&&tr.isSet,ur=tr&&tr.isTypedArray,sr=S("length"),cr=O(zn),lr=O(Vn),fr=O(qn),pr=function hr(e){function t(e){if(Qu(e)&&!sp(e)&&!(e instanceof o)){if(e instanceof r)return e;if(cl.call(e,"__wrapped__"))return Hi(e)}return new r(e)}function n(){}function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oe}function o(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Be,this.__views__=[]}function A(){var e=new o(this.__wrapped__);return e.__actions__=Lo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Lo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Lo(this.__views__),e}function O(){if(this.__filtered__){var e=new o(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Q(){var e=this.__wrapped__.value(),t=this.__dir__,n=sp(e),r=0>t,o=n?e.length:0,i=yi(0,o,this.__views__),a=i.start,u=i.end,s=u-a,c=r?u:a-1,l=this.__iteratees__,f=l.length,p=0,d=Rl(s,this.__takeCount__);if(!n||ae>o||o==s&&d==s)return Co(e,this.__actions__);var h=[];e:for(;s--&&d>p;){c+=t;for(var C=-1,v=e[c];++C<f;){var m=l[C],y=m.iteratee,g=m.type,A=y(v);if(g==Oe)v=A;else if(!A){if(g==Se)continue e;break e}}h[p++]=v}return h}function te(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ne(){this.__data__=Yl?Yl(null):{},this.size=0}function jt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Ht(e){var t=this.__data__;if(Yl){var n=t[e];return n===ce?oe:n}return cl.call(t,e)?t[e]:oe}function $t(e){var t=this.__data__;return Yl?t[e]!==oe:cl.call(t,e)}function Kt(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yl&&t===oe?ce:t,this}function Qt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xt(){this.__data__=[],this.size=0}function Jt(e){var t=this.__data__,n=kn(t,e);if(0>n)return!1;var r=t.length-1;return n==r?t.pop():_l.call(t,n,1),--this.size,!0}function en(e){var t=this.__data__,n=kn(t,e);return 0>n?oe:t[n][1]}function tn(e){return kn(this.__data__,e)>-1}function nn(e,t){var n=this.__data__,r=kn(n,e);return 0>r?(++this.size,n.push([e,t])):n[r][1]=t,this}function rn(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function on(){this.size=0,this.__data__={hash:new te,map:new(Vl||Qt),string:new te}}function an(e){var t=Ci(this,e)["delete"](e);return this.size-=t?1:0,t}function un(e){return Ci(this,e).get(e)}function sn(e){return Ci(this,e).has(e)}function cn(e,t){var n=Ci(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function ln(e){var t=-1,n=e?e.length:0;for(this.__data__=new rn;++t<n;)this.add(e[t])}function fn(e){return this.__data__.set(e,ce),this}function pn(e){return this.__data__.has(e)}function dn(e){var t=this.__data__=new Qt(e);this.size=t.size}function hn(){this.__data__=new Qt,this.size=0}function Cn(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}function vn(e){return this.__data__.get(e)}function mn(e){return this.__data__.has(e)}function yn(e,t){var n=this.__data__;if(n instanceof Qt){var r=n.__data__;if(!Vl||ae-1>r.length)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new rn(r)}return n.set(e,t),this.size=n.size,this}function gn(e,t){var n=sp(e),r=!n&&up(e),o=!n&&!r&&lp(e),i=!n&&!r&&!o&&Cp(e),a=n||r||o||i,u=a?P(e.length,tl):[],s=u.length;for(var c in e)!t&&!cl.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ki(c,s))||u.push(c);return u}function An(e){var t=e.length;return t?e[$r(0,t-1)]:oe}function bn(e,t){return qi(Lo(e),Tn(t,0,e.length))}function wn(e){return qi(Lo(e))}function _n(e,t,n,r){return e===oe||Ru(e,il[n])&&!cl.call(r,n)?t:e}function Dn(e,t,n){(n===oe||Ru(e[t],n))&&(n!==oe||t in e)||On(e,t,n)}function xn(e,t,n){var r=e[t];cl.call(e,t)&&Ru(r,n)&&(n!==oe||t in e)||On(e,t,n)}function kn(e,t){for(var n=e.length;n--;)if(Ru(e[n][0],t))return n;return-1}function En(e,t,n,r){return af(e,function(e,o,i){t(r,e,n(e),i)}),r}function Sn(e,t){return e&&Bo(t,Ms(t),e)}function On(e,t,n){"__proto__"==t&&xl?xl(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Fn(e,t){for(var n=-1,r=null==e,o=t.length,i=Hc(o);++n<o;)i[n]=r?oe:Os(e,t[n]);return i}function Tn(e,t,n){return e===e&&(n!==oe&&(e=e>n?n:e),t!==oe&&(e=t>e?t:e)),e}function Ln(e,t,n,r,o,i,a){var u;if(r&&(u=i?r(e,o,i,a):r(e)),u!==oe)return u;if(!Ku(e))return e;var s=sp(e);if(s){if(u=bi(e),!t)return Lo(e,u)}else{var l=yf(e),f=l==qe||l==Ze;if(lp(e))return wo(e,t);if(l==He||l==Ne||f&&!i){if(u=wi(f?{}:e),!t)return jo(e,Sn(u,e))}else{if(!Wn[l])return i?e:{};u=_i(e,l,Ln,t)}}a||(a=new dn);var p=a.get(e);if(p)return p;a.set(e,u);var d=s?oe:(n?li:Ms)(e);return c(d||e,function(o,i){d&&(i=o,o=e[i]),xn(u,i,Ln(o,t,n,r,i,e,a))}),u}function Bn(e){var t=Ms(e);return function(n){return jn(n,e,t)}}function jn(e,t,n){var r=n.length;if(null==e)return!r;for(e=Jc(e);r--;){var o=n[r],i=t[o],a=e[o];if(a===oe&&!(o in e)||!i(a))return!1}return!0}function Rn(e,t,n){if("function"!=typeof e)throw new nl(se);return bf(function(){e.apply(oe,n)},t)}function zn(e,t,n,r){var o=-1,i=d,a=!0,u=e.length,s=[],c=t.length;if(!u)return s;n&&(t=C(t,B(n))),r?(i=h,a=!1):ae>t.length||(i=R,a=!1,t=new ln(t));e:for(;++o<u;){var l=e[o],f=n?n(l):l;if(l=r||0!==l?l:0,a&&f===f){for(var p=c;p--;)if(t[p]===f)continue e;s.push(l)}else i(t,f,r)||s.push(l)}return s}function Vn(e,t){var n=!0;return af(e,function(e,r,o){return n=!!t(e,r,o)}),n}function qn(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(u===oe?a===a&&!ss(a):n(a,u)))var u=a,s=i}return s}function Zn(e,t,n,r){var o=e.length;for(n=hs(n),0>n&&(n=-n>o?0:o+n),r=r===oe||r>o?o:hs(r),0>r&&(r+=o),r=n>r?0:Cs(r);r>n;)e[n++]=t;return e}function Hn(e,t){var n=[];return af(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function $n(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=xi),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?$n(u,t-1,n,r,o):v(o,u):r||(o[o.length]=u)}return o}function Qn(e,t){return e&&sf(e,t,Ms)}function Xn(e,t){return e&&cf(e,t,Ms)}function er(e,t){return p(t,function(t){return Yu(e[t])})}function tr(e,t){t=Si(t,e)?[t]:Ao(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[Zi(t[n++])];return n&&n==r?e:oe}function sr(e,t,n){var r=t(e);return sp(e)?r:v(r,n(e))}function pr(e){return pl.call(e)}function Cr(e,t){return e>t}function vr(e,t){return null!=e&&cl.call(e,t)}function mr(e,t){return null!=e&&t in Jc(e)}function yr(e,t,n){return e>=Rl(t,n)&&e<jl(t,n)}function gr(e,t,n){for(var r=n?h:d,o=e[0].length,i=e.length,a=i,u=Hc(i),s=1/0,c=[];a--;){var l=e[a];a&&t&&(l=C(l,B(t))),s=Rl(l.length,s),u[a]=n||!t&&(120>o||120>l.length)?oe:new ln(a&&l)}l=e[0];var f=-1,p=u[0];e:for(;++f<o&&s>c.length;){var v=l[f],m=t?t(v):v;if(v=n||0!==v?v:0,!(p?R(p,m):r(c,m,n))){for(a=i;--a;){var y=u[a];if(!(y?R(y,m):r(e[a],m,n)))continue e}p&&p.push(m),c.push(v)}}return c}function Ar(e,t,n,r){return Qn(e,function(e,o,i){t(r,n(e),o,i)}),r}function br(e,t,n){Si(t,e)||(t=Ao(t),e=Ii(e,t),t=da(t));var r=null==e?e:e[Zi(t)];return null==r?oe:u(r,e,n)}function wr(e){return Qu(e)&&pl.call(e)==Ne}function _r(e){return Qu(e)&&pl.call(e)==rt}function Dr(e){return Qu(e)&&pl.call(e)==ze}function xr(e,t,n,r,o){return e===t||(null==e||null==t||!Ku(e)&&!Qu(t)?e!==e&&t!==t:kr(e,t,xr,n,r,o))}function kr(e,t,n,r,o,i){var a=sp(e),u=sp(t),s=Ie,c=Ie;a||(s=yf(e),s=s==Ne?He:s),u||(c=yf(t),c=c==Ne?He:c);var l=s==He,f=c==He,p=s==c;if(p&&lp(e)){if(!lp(t))return!1;a=!0,l=!1}if(p&&!l)return i||(i=new dn),a||Cp(e)?ai(e,t,n,r,o,i):ui(e,t,s,n,r,o,i);if(!(o&_e)){var d=l&&cl.call(e,"__wrapped__"),h=f&&cl.call(t,"__wrapped__");if(d||h){var C=d?e.value():e,v=h?t.value():t;return i||(i=new dn),n(C,v,r,o,i)}}return!!p&&(i||(i=new dn),si(e,t,n,r,o,i))}function Er(e){return Qu(e)&&yf(e)==Ge}function Sr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Jc(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<i;){u=n[o];var s=u[0],c=e[s],l=u[1];if(a&&u[2]){if(c===oe&&!(s in e))return!1}else{var f=new dn;if(r)var p=r(c,l,s,e,t,f);if(!(p===oe?xr(l,c,r,we|_e,f):p))return!1}}return!0}function Or(e){if(!Ku(e)||Ti(e))return!1;var t=Yu(e)?hl:zt;return t.test(Gi(e))}function Fr(e){return Ku(e)&&pl.call(e)==Qe}function Tr(e){return Qu(e)&&yf(e)==Xe}function Mr(e){return Qu(e)&&$u(e.length)&&!!In[pl.call(e)]}function Pr(e){return"function"==typeof e?e:null==e?wc:"object"==typeof e?sp(e)?Nr(e[0],e[1]):Ur(e):Fc(e)}function Lr(e){if(!Mi(e))return Bl(e);var t=[];for(var n in Jc(e))cl.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Br(e){if(!Ku(e))return Ui(e);var t=Mi(e),n=[];for(var r in e)("constructor"!=r||!t&&cl.call(e,r))&&n.push(r);return n}function jr(e,t){return t>e}function Rr(e,t){var n=-1,r=Uu(e)?Hc(e.length):[];return af(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Ur(e){var t=vi(e);return 1==t.length&&t[0][2]?Li(t[0][0],t[0][1]):function(n){return n===e||Sr(n,e,t)}}function Nr(e,t){return Si(e)&&Pi(t)?Li(Zi(e),t):function(n){var r=Os(n,e);return r===oe&&r===t?Ts(n,e):xr(t,r,oe,we|_e)}}function Ir(e,t,n,r,o){e!==t&&sf(t,function(i,a){if(Ku(i))o||(o=new dn),Wr(e,t,a,n,Ir,r,o);else{var u=r?r(e[a],i,a+"",e,t,o):oe;u===oe&&(u=i),Dn(e,a,u)}},Ps)}function Wr(e,t,n,r,o,i,a){var u=e[n],s=t[n],c=a.get(s);if(c)return Dn(e,n,c),oe;var l=i?i(u,s,n+"",e,t,a):oe,f=l===oe;if(f){var p=sp(s),d=!p&&lp(s),h=!p&&!d&&Cp(s);l=s,p||d||h?sp(u)?l=u:Nu(u)?l=Lo(u):d?(f=!1,l=wo(s,!0)):h?(f=!1,l=Oo(s,!0)):l=[]:is(s)||up(s)?(l=u,up(u)?l=ms(u):(!Ku(u)||r&&Yu(u))&&(l=wi(s))):f=!1}f&&(a.set(s,l),o(l,s,r,i,a),a["delete"](s)),Dn(e,n,l)}function zr(e,t){var n=e.length;if(n)return t+=0>t?n:0,ki(t,n)?e[t]:oe}function Vr(e,t,n){var r=-1;t=C(t.length?t:[wc],B(hi()));var o=Rr(e,function(e,n,o){var i=C(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return T(o,function(e,t){return To(e,t,n)})}function qr(e,t){return e=Jc(e),Zr(e,t,function(t,n){return n in e})}function Zr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=e[a];n(u,a)&&On(i,a,u)}return i}function Gr(e){return function(t){return tr(t,e)}}function Yr(e,t,n,r){var o=r?x:D,i=-1,a=t.length,u=e;for(e===t&&(t=Lo(t)),n&&(u=C(e,B(n)));++i<a;)for(var s=0,c=t[i],l=n?n(c):c;(s=o(u,l,s,r))>-1;)u!==e&&_l.call(u,s,1),_l.call(e,s,1);return e}function Hr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;if(ki(o))_l.call(e,o,1);else if(Si(o,e))delete e[Zi(o)];else{var a=Ao(o),u=Ii(e,a);null!=u&&delete u[Zi(da(a))]}}}return e}function $r(e,t){return e+Fl(Il()*(t-e+1))}function Kr(e,t,n,r){for(var o=-1,i=jl(Ol((t-e)/(n||1)),0),a=Hc(i);i--;)a[r?i:++o]=e,e+=n;return a}function Qr(e,t){var n="";if(!e||1>t||t>Me)return n;do t%2&&(n+=e),t=Fl(t/2),t&&(e+=e);while(t);return n}function Xr(e,t){return wf(Ni(e,t,wc),e+"")}function Jr(e){return An(Zs(e))}function eo(e,t){var n=Zs(e);return qi(n,Tn(t,0,n.length))}function to(e,t,n,r){if(!Ku(e))return e;t=Si(t,e)?[t]:Ao(t);for(var o=-1,i=t.length,a=i-1,u=e;null!=u&&++o<i;){var s=Zi(t[o]),c=n;if(o!=a){var l=u[s];c=r?r(l,s,u):oe,c===oe&&(c=Ku(l)?l:ki(t[o+1])?[]:{})}xn(u,s,c),u=u[s]}return e}function no(e){return qi(Zs(e))}function ro(e,t,n){var r=-1,o=e.length;0>t&&(t=-t>o?0:o+t),n=n>o?o:n,0>n&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Hc(o);++r<o;)i[r]=e[r+t];return i}function oo(e,t){var n;return af(e,function(e,r,o){return n=t(e,r,o),!n}),!!n}function io(e,t,n){var r=0,o=e?e.length:r;if("number"==typeof t&&t===t&&Re>=o){for(;o>r;){var i=r+o>>>1,a=e[i];null===a||ss(a)||(n?a>t:a>=t)?o=i:r=i+1}return o}return ao(e,t,wc,n)}function ao(e,t,n,r){t=n(t);for(var o=0,i=e?e.length:0,a=t!==t,u=null===t,s=ss(t),c=t===oe;i>o;){var l=Fl((o+i)/2),f=n(e[l]),p=f!==oe,d=null===f,h=f===f,C=ss(f);if(a)var v=r||h;else v=c?h&&(r||p):u?h&&p&&(r||!d):s?h&&p&&!d&&(r||!C):!d&&!C&&(r?t>=f:t>f);v?o=l+1:i=l}return Rl(i,je)}function uo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],u=t?t(a):a;if(!n||!Ru(u,s)){var s=u;i[o++]=0===a?0:a}}return i}function so(e){return"number"==typeof e?e:ss(e)?Le:+e}function co(e){if("string"==typeof e)return e;if(sp(e))return C(e,co)+"";if(ss(e))return rf?rf.call(e):"";var t=e+"";return"0"==t&&1/e==-Te?"-0":t}function lo(e,t,n){var r=-1,o=d,i=e.length,a=!0,u=[],s=u;if(n)a=!1,o=h;else if(i<ae)s=t?[]:u;else{var c=t?null:hf(e);if(c)return $(c);a=!1,o=R,s=new ln}e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f===f){for(var p=s.length;p--;)if(s[p]===f)continue e;t&&s.push(f),u.push(l)}else o(s,f,n)||(s!==u&&s.push(f),u.push(l))}return u}function fo(e,t){t=Si(t,e)?[t]:Ao(t),e=Ii(e,t);var n=Zi(da(t));return!(null!=e&&cl.call(e,n))||delete e[n]}function po(e,t,n,r){return to(e,t,n(tr(e,t)),r)}function ho(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?ro(e,r?0:i,r?i+1:o):ro(e,r?i+1:0,r?o:i)}function Co(e,t){var n=e;return n instanceof o&&(n=n.value()),m(t,function(e,t){return t.func.apply(t.thisArg,v([e],t.args))},n)}function vo(e,t,n){
for(var r=-1,o=e.length;++r<o;)var i=i?v(zn(i,e[r],t,n),zn(e[r],i,t,n)):e[r];return i&&i.length?lo(i,t,n):[]}function mo(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var u=i>r?t[r]:oe;n(a,e[r],u)}return a}function yo(e){return Nu(e)?e:[]}function go(e){return"function"==typeof e?e:wc}function Ao(e){return sp(e)?e:_f(e)}function bo(e,t,n){var r=e.length;return n=n===oe?r:n,t||r>n?ro(e,t,n):e}function wo(e,t){if(t)return e.slice();var n=e.length,r=yl?yl(n):new e.constructor(n);return e.copy(r),r}function _o(e){var t=new e.constructor(e.byteLength);return new ml(t).set(new ml(e)),t}function Do(e,t){var n=t?_o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function xo(e,t,n){var r=t?n(G(e),!0):G(e);return m(r,i,new e.constructor)}function ko(e){var t=new e.constructor(e.source,Nt.exec(e));return t.lastIndex=e.lastIndex,t}function Eo(e,t,n){var r=t?n($(e),!0):$(e);return m(r,a,new e.constructor)}function So(e){return nf?Jc(nf.call(e)):{}}function Oo(e,t){var n=t?_o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Fo(e,t){if(e!==t){var n=e!==oe,r=null===e,o=e===e,i=ss(e),a=t!==oe,u=null===t,s=t===t,c=ss(t);if(!u&&!c&&!i&&e>t||i&&a&&s&&!u&&!c||r&&a&&s||!n&&s||!o)return 1;if(!r&&!i&&!c&&t>e||c&&n&&o&&!r&&!i||u&&n&&o||!a&&o||!s)return-1}return 0}function To(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r<a;){var s=Fo(o[r],i[r]);if(s){if(r>=u)return s;var c=n[r];return s*("desc"==c?-1:1)}}return e.index-t.index}function Mo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,u=-1,s=t.length,c=jl(i-a,0),l=Hc(s+c),f=!r;++u<s;)l[u]=t[u];for(;++o<a;)(f||i>o)&&(l[n[o]]=e[o]);for(;c--;)l[u++]=e[o++];return l}function Po(e,t,n,r){for(var o=-1,i=e.length,a=-1,u=n.length,s=-1,c=t.length,l=jl(i-u,0),f=Hc(l+c),p=!r;++o<l;)f[o]=e[o];for(var d=o;++s<c;)f[d+s]=t[s];for(;++a<u;)(p||i>o)&&(f[d+n[a]]=e[o++]);return f}function Lo(e,t){var n=-1,r=e.length;for(t||(t=Hc(r));++n<r;)t[n]=e[n];return t}function Bo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var u=t[i],s=r?r(n[u],e[u],u,n,e):oe;s===oe&&(s=e[u]),o?On(n,u,s):xn(n,u,s)}return n}function jo(e,t){return Bo(e,vf(e),t)}function Ro(e,t){return function(n,r){var o=sp(n)?s:En,i=t?t():{};return o(n,e,hi(r,2),i)}}function Uo(e){return Xr(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:oe,a=o>2?n[2]:oe;for(i=e.length>3&&"function"==typeof i?(o--,i):oe,a&&Ei(n[0],n[1],a)&&(i=3>o?oe:i,o=1),t=Jc(t);++r<o;){var u=n[r];u&&e(t,u,r,i)}return t})}function No(e,t){return function(n,r){if(null==n)return n;if(!Uu(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Jc(n);(t?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}function Io(e){return function(t,n,r){for(var o=-1,i=Jc(t),a=r(t),u=a.length;u--;){var s=a[e?u:++o];if(n(i[s],s,i)===!1)break}return t}}function Wo(e,t,n){function r(){var t=this&&this!==Kn&&this instanceof r?i:e;return t.apply(o?n:this,arguments)}var o=t&pe,i=qo(e);return r}function zo(e){return function(t){t=gs(t);var n=V(t)?ee(t):oe,r=n?n[0]:t.charAt(0),o=n?bo(n,1).join(""):t.slice(1);return r[e]()+o}}function Vo(e){return function(t){return m(mc(Qs(t).replace(Mn,"")),e,"")}}function qo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=of(e.prototype),r=e.apply(n,t);return Ku(r)?r:n}}function Zo(e,t,n){function r(){for(var i=arguments.length,a=Hc(i),s=i,c=di(r);s--;)a[s]=arguments[s];var l=3>i&&a[0]!==c&&a[i-1]!==c?[]:H(a,c);if(i-=l.length,n>i)return ni(e,t,Ho,r.placeholder,oe,a,l,oe,oe,n-i);var f=this&&this!==Kn&&this instanceof r?o:e;return u(f,this,a)}var o=qo(e);return r}function Go(e){return function(t,n,r){var o=Jc(t);if(!Uu(t)){var i=hi(n,3);t=Ms(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:oe}}function Yo(e){return ci(function(t){var n=t.length,o=n,i=r.prototype.thru;for(e&&t.reverse();o--;){var a=t[o];if("function"!=typeof a)throw new nl(se);if(i&&!u&&"wrapper"==pi(a))var u=new r([],!0)}for(o=u?o:n;++o<n;){a=t[o];var s=pi(a),c="wrapper"==s?Cf(a):oe;u=c&&Fi(c[0])&&c[1]==(ge|Ce|me|Ae)&&!c[4].length&&1==c[9]?u[pi(c[0])].apply(u,c[3]):1==a.length&&Fi(a)?u[s]():u.thru(a)}return function(){var e=arguments,r=e[0];if(u&&1==e.length&&sp(r)&&r.length>=ae)return u.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function Ho(e,t,n,r,o,i,a,u,s,c){function l(){for(var m=arguments.length,y=Hc(m),g=m;g--;)y[g]=arguments[g];if(h)var A=di(l),b=I(y,A);if(r&&(y=Mo(y,r,o,h)),i&&(y=Po(y,i,a,h)),m-=b,h&&c>m){var w=H(y,A);return ni(e,t,Ho,l.placeholder,n,y,w,u,s,c-m)}var _=p?n:this,D=d?_[e]:e;return m=y.length,u?y=Wi(y,u):C&&m>1&&y.reverse(),f&&m>s&&(y.length=s),this&&this!==Kn&&this instanceof l&&(D=v||qo(D)),D.apply(_,y)}var f=t&ge,p=t&pe,d=t&de,h=t&(Ce|ve),C=t&be,v=d?oe:qo(e);return l}function $o(e,t){return function(n,r){return Ar(n,e,t(r),{})}}function Ko(e,t){return function(n,r){var o;if(n===oe&&r===oe)return t;if(n!==oe&&(o=n),r!==oe){if(o===oe)return r;"string"==typeof n||"string"==typeof r?(n=co(n),r=co(r)):(n=so(n),r=so(r)),o=e(n,r)}return o}}function Qo(e){return ci(function(t){return t=C(t,B(hi())),Xr(function(n){var r=this;return e(t,function(e){return u(e,r,n)})})})}function Xo(e,t){t=t===oe?" ":co(t);var n=t.length;if(2>n)return n?Qr(t,e):t;var r=Qr(t,Ol(e/J(t)));return V(t)?bo(ee(r),0,e).join(""):r.slice(0,e)}function Jo(e,t,n,r){function o(){for(var t=-1,s=arguments.length,c=-1,l=r.length,f=Hc(l+s),p=this&&this!==Kn&&this instanceof o?a:e;++c<l;)f[c]=r[c];for(;s--;)f[c++]=arguments[++t];return u(p,i?n:this,f)}var i=t&pe,a=qo(e);return o}function ei(e){return function(t,n,r){return r&&"number"!=typeof r&&Ei(t,n,r)&&(n=r=oe),t=ds(t),n===oe?(n=t,t=0):n=ds(n),r=r===oe?n>t?1:-1:ds(r),Kr(t,n,r,e)}}function ti(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=vs(t),n=vs(n)),e(t,n)}}function ni(e,t,n,r,o,i,a,u,s,c){var l=t&Ce,f=l?a:oe,p=l?oe:a,d=l?i:oe,h=l?oe:i;t|=l?me:ye,t&=~(l?ye:me),t&he||(t&=~(pe|de));var C=[e,t,o,d,f,h,p,u,s,c],v=n.apply(oe,C);return Fi(e)&&Af(v,C),v.placeholder=r,zi(v,e,t)}function ri(e){var t=Xc[e];return function(e,n){if(e=vs(e),n=Rl(hs(n),292)){var r=(gs(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(gs(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function oi(e){return function(t){var n=yf(t);return n==Ge?G(t):n==Xe?K(t):L(t,e(t))}}function ii(e,t,n,r,o,i,a,u){var s=t&de;if(!s&&"function"!=typeof e)throw new nl(se);var c=r?r.length:0;if(c||(t&=~(me|ye),r=o=oe),a=a===oe?a:jl(hs(a),0),u=u===oe?u:hs(u),c-=o?o.length:0,t&ye){var l=r,f=o;r=o=oe}var p=s?oe:Cf(e),d=[e,t,n,r,o,l,f,i,a,u];if(p&&ji(d,p),e=d[0],t=d[1],n=d[2],r=d[3],o=d[4],u=d[9]=null==d[9]?s?0:e.length:jl(d[9]-c,0),!u&&t&(Ce|ve)&&(t&=~(Ce|ve)),t&&t!=pe)h=t==Ce||t==ve?Zo(e,t,u):t!=me&&t!=(pe|me)||o.length?Ho.apply(oe,d):Jo(e,t,n,r);else var h=Wo(e,t,n);var C=p?lf:Af;return zi(C(h,d),e,t)}function ai(e,t,n,r,o,i){var a=o&_e,u=e.length,s=t.length;if(!(u==s||a&&s>u))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var l=-1,f=!0,p=o&we?new ln:oe;for(i.set(e,t),i.set(t,e);++l<u;){var d=e[l],h=t[l];if(r)var C=a?r(h,d,l,t,e,i):r(d,h,l,e,t,i);if(C!==oe){if(C)continue;f=!1;break}if(p){if(!g(t,function(e,t){if(!R(p,t)&&(d===e||n(d,e,r,o,i)))return p.push(t)})){f=!1;break}}else if(d!==h&&!n(d,h,r,o,i)){f=!1;break}}return i["delete"](e),i["delete"](t),f}function ui(e,t,n,r,o,i,a){switch(n){case ot:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case rt:return!(e.byteLength!=t.byteLength||!r(new ml(e),new ml(t)));case We:case ze:case Ye:return Ru(+e,+t);case Ve:return e.name==t.name&&e.message==t.message;case Qe:case Je:return e==t+"";case Ge:var u=G;case Xe:var s=i&_e;if(u||(u=$),e.size!=t.size&&!s)return!1;var c=a.get(e);if(c)return c==t;i|=we,a.set(e,t);var l=ai(u(e),u(t),r,o,i,a);return a["delete"](e),l;case et:if(nf)return nf.call(e)==nf.call(t)}return!1}function si(e,t,n,r,o,i){var a=o&_e,u=Ms(e),s=u.length,c=Ms(t),l=c.length;if(s!=l&&!a)return!1;for(var f=s;f--;){var p=u[f];if(!(a?p in t:cl.call(t,p)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var h=!0;i.set(e,t),i.set(t,e);for(var C=a;++f<s;){p=u[f];var v=e[p],m=t[p];if(r)var y=a?r(m,v,p,t,e,i):r(v,m,p,e,t,i);if(!(y===oe?v===m||n(v,m,r,o,i):y)){h=!1;break}C||(C="constructor"==p)}if(h&&!C){var g=e.constructor,A=t.constructor;g!=A&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof A&&A instanceof A)&&(h=!1)}return i["delete"](e),i["delete"](t),h}function ci(e){return wf(Ni(e,oe,ia),e+"")}function li(e){return sr(e,Ms,vf)}function fi(e){return sr(e,Ps,mf)}function pi(e){for(var t=e.name+"",n=$l[t],r=cl.call($l,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function di(e){var n=cl.call(t,"placeholder")?t:e;return n.placeholder}function hi(){var e=t.iteratee||_c;return e=e===_c?Pr:e,arguments.length?e(arguments[0],arguments[1]):e}function Ci(e,t){var n=e.__data__;return Oi(t)?n["string"==typeof t?"string":"hash"]:n.map}function vi(e){for(var t=Ms(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Pi(o)]}return t}function mi(e,t){var n=z(e,t);return Or(n)?n:oe}function yi(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Rl(t,e+a);break;case"takeRight":e=jl(e,t-a)}}return{start:e,end:t}}function gi(e){var t=e.match(Lt);return t?t[1].split(Bt):[]}function Ai(e,t,n){t=Si(t,e)?[t]:Ao(t);for(var r=-1,o=t.length,i=!1;++r<o;){var a=Zi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e?e.length:0,!!o&&$u(o)&&ki(a,o)&&(sp(e)||up(e)))}function bi(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&cl.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function wi(e){return"function"!=typeof e.constructor||Mi(e)?{}:of(gl(e))}function _i(e,t,n,r){var o=e.constructor;switch(t){case rt:return _o(e);case We:case ze:return new o(+e);case ot:return Do(e,r);case it:case at:case ut:case st:case ct:case lt:case ft:case pt:case dt:return Oo(e,r);case Ge:return xo(e,r,n);case Ye:case Je:return new o(e);case Qe:return ko(e);case Xe:return Eo(e,r,n);case et:return So(e)}}function Di(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Pt,"{\n/* [wrapped with "+t+"] */\n")}function xi(e){return sp(e)||up(e)||!!(Dl&&e&&e[Dl])}function ki(e,t){return t=null==t?Me:t,!!t&&("number"==typeof e||qt.test(e))&&e>-1&&e%1==0&&t>e}function Ei(e,t,n){if(!Ku(n))return!1;var r=typeof t;return!!("number"==r?Uu(n)&&ki(t,n.length):"string"==r&&t in n)&&Ru(n[t],e)}function Si(e,t){if(sp(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ss(e))||xt.test(e)||!Dt.test(e)||null!=t&&e in Jc(t)}function Oi(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Fi(e){var n=pi(e),r=t[n];if("function"!=typeof r||!(n in o.prototype))return!1;if(e===r)return!0;var i=Cf(r);return!!i&&e===i[0]}function Ti(e){return!!ul&&ul in e}function Mi(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||il;return e===n}function Pi(e){return e===e&&!Ku(e)}function Li(e,t){return function(n){return null!=n&&n[e]===t&&(t!==oe||e in Jc(n))}}function Bi(e){var t=_u(e,function(e){return n.size===le&&n.clear(),e}),n=t.cache;return t}function ji(e,t){var n=e[1],r=t[1],o=n|r,i=(pe|de|ge)>o,a=r==ge&&n==Ce||r==ge&&n==Ae&&t[8]>=e[7].length||r==(ge|Ae)&&t[8]>=t[7].length&&n==Ce;if(!i&&!a)return e;r&pe&&(e[2]=t[2],o|=n&pe?0:he);var u=t[3];if(u){var s=e[3];e[3]=s?Mo(s,u,t[4]):u,e[4]=s?H(e[3],fe):t[4]}return u=t[5],u&&(s=e[5],e[5]=s?Po(s,u,t[6]):u,e[6]=s?H(e[5],fe):t[6]),u=t[7],u&&(e[7]=u),r&ge&&(e[8]=null==e[8]?t[8]:Rl(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function Ri(e,t,n,r,o,i){return Ku(e)&&Ku(t)&&(i.set(t,e),Ir(e,t,oe,Ri,i),i["delete"](t)),e}function Ui(e){var t=[];if(null!=e)for(var n in Jc(e))t.push(n);return t}function Ni(e,t,n){return t=jl(t===oe?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=jl(r.length-t,0),a=Hc(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Hc(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),u(e,this,s)}}function Ii(e,t){return 1==t.length?e:tr(e,ro(t,0,-1))}function Wi(e,t){for(var n=e.length,r=Rl(t.length,n),o=Lo(e);r--;){var i=t[r];e[r]=ki(i,n)?o[i]:oe}return e}function zi(e,t,n){var r=t+"";return wf(e,Di(r,Yi(gi(r),n)))}function Vi(e){var t=0,n=0;return function(){var r=Ul(),o=Ee-(r-n);if(n=r,o>0){if(++t>=ke)return arguments[0]}else t=0;return e.apply(oe,arguments)}}function qi(e,t){var n=-1,r=e.length,o=r-1;for(t=t===oe?r:t;++n<t;){var i=$r(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}function Zi(e){if("string"==typeof e||ss(e))return e;var t=e+"";return"0"==t&&1/e==-Te?"-0":t}function Gi(e){if(null!=e){try{return sl.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Yi(e,t){return c(Ue,function(n){var r="_."+n[0];t&n[1]&&!d(e,r)&&e.push(r)}),e.sort()}function Hi(e){if(e instanceof o)return e.clone();var t=new r(e.__wrapped__,e.__chain__);return t.__actions__=Lo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function $i(e,t,n){t=(n?Ei(e,t,n):t===oe)?1:jl(hs(t),0);var r=e?e.length:0;if(!r||1>t)return[];for(var o=0,i=0,a=Hc(Ol(r/t));r>o;)a[i++]=ro(e,o,o+=t);return a}function Ki(e){for(var t=-1,n=e?e.length:0,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}function Qi(){var e=arguments.length;if(!e)return[];for(var t=Hc(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return v(sp(n)?Lo(n):[n],$n(t,1))}function Xi(e,t,n){var r=e?e.length:0;return r?(t=n||t===oe?1:hs(t),ro(e,0>t?0:t,r)):[]}function Ji(e,t,n){var r=e?e.length:0;return r?(t=n||t===oe?1:hs(t),t=r-t,ro(e,0,0>t?0:t)):[]}function ea(e,t){return e&&e.length?ho(e,hi(t,3),!0,!0):[]}function ta(e,t){return e&&e.length?ho(e,hi(t,3),!0):[]}function na(e,t,n,r){var o=e?e.length:0;return o?(n&&"number"!=typeof n&&Ei(e,t,n)&&(n=0,r=o),Zn(e,t,n,r)):[]}function ra(e,t,n){var r=e?e.length:0;if(!r)return-1;var o=null==n?0:hs(n);return 0>o&&(o=jl(r+o,0)),_(e,hi(t,3),o)}function oa(e,t,n){var r=e?e.length:0;if(!r)return-1;var o=r-1;return n!==oe&&(o=hs(n),o=0>n?jl(r+o,0):Rl(o,r-1)),_(e,hi(t,3),o,!0)}function ia(e){var t=e?e.length:0;return t?$n(e,1):[]}function aa(e){var t=e?e.length:0;return t?$n(e,Te):[]}function ua(e,t){var n=e?e.length:0;return n?(t=t===oe?1:hs(t),$n(e,t)):[]}function sa(e){for(var t=-1,n=e?e.length:0,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}function ca(e){return e&&e.length?e[0]:oe}function la(e,t,n){var r=e?e.length:0;if(!r)return-1;var o=null==n?0:hs(n);return 0>o&&(o=jl(r+o,0)),D(e,t,o)}function fa(e){var t=e?e.length:0;return t?ro(e,0,-1):[]}function pa(e,t){return e?Ll.call(e,t):""}function da(e){var t=e?e.length:0;return t?e[t-1]:oe}function ha(e,t,n){var r=e?e.length:0;if(!r)return-1;var o=r;return n!==oe&&(o=hs(n),o=0>o?jl(r+o,0):Rl(o,r-1)),t===t?X(e,t,o):_(e,k,o,!0)}function Ca(e,t){return e&&e.length?zr(e,hs(t)):oe}function va(e,t){return e&&e.length&&t&&t.length?Yr(e,t):e}function ma(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,hi(n,2)):e}function ya(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,oe,n):e}function ga(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=hi(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Hr(e,o),n}function Aa(e){return e?Wl.call(e):e}function ba(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&Ei(e,t,n)?(t=0,n=r):(t=null==t?0:hs(t),n=n===oe?r:hs(n)),ro(e,t,n)):[]}function wa(e,t){return io(e,t)}function _a(e,t,n){return ao(e,t,hi(n,2))}function Da(e,t){var n=e?e.length:0;if(n){var r=io(e,t);if(n>r&&Ru(e[r],t))return r}return-1}function xa(e,t){return io(e,t,!0)}function ka(e,t,n){return ao(e,t,hi(n,2),!0)}function Ea(e,t){var n=e?e.length:0;if(n){var r=io(e,t,!0)-1;if(Ru(e[r],t))return r}return-1}function Sa(e){return e&&e.length?uo(e):[]}function Oa(e,t){return e&&e.length?uo(e,hi(t,2)):[]}function Fa(e){var t=e?e.length:0;return t?ro(e,1,t):[]}function Ta(e,t,n){return e&&e.length?(t=n||t===oe?1:hs(t),ro(e,0,0>t?0:t)):[]}function Ma(e,t,n){var r=e?e.length:0;return r?(t=n||t===oe?1:hs(t),t=r-t,ro(e,0>t?0:t,r)):[]}function Pa(e,t){return e&&e.length?ho(e,hi(t,3),!1,!0):[]}function La(e,t){return e&&e.length?ho(e,hi(t,3)):[]}function Ba(e){return e&&e.length?lo(e):[]}function ja(e,t){return e&&e.length?lo(e,hi(t,2)):[]}function Ra(e,t){return e&&e.length?lo(e,oe,t):[]}function Ua(e){if(!e||!e.length)return[];var t=0;return e=p(e,function(e){if(Nu(e))return t=jl(e.length,t),!0}),P(t,function(t){return C(e,S(t))})}function Na(e,t){if(!e||!e.length)return[];var n=Ua(e);return null==t?n:C(n,function(e){return u(t,oe,e)})}function Ia(e,t){return mo(e||[],t||[],xn)}function Wa(e,t){return mo(e||[],t||[],to)}function za(e){var n=t(e);return n.__chain__=!0,n}function Va(e,t){return t(e),e}function qa(e,t){return t(e)}function Za(){return za(this)}function Ga(){return new r(this.value(),this.__chain__)}function Ya(){this.__values__===oe&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length,t=e?oe:this.__values__[this.__index__++];return{done:e,value:t}}function Ha(){return this}function $a(e){for(var t,r=this;r instanceof n;){var o=Hi(r);o.__index__=0,o.__values__=oe,t?i.__wrapped__=o:t=o;var i=o;r=r.__wrapped__}return i.__wrapped__=e,t}function Ka(){var e=this.__wrapped__;if(e instanceof o){var t=e;return this.__actions__.length&&(t=new o(this)),t=t.reverse(),t.__actions__.push({func:qa,args:[Aa],thisArg:oe}),new r(t,this.__chain__)}return this.thru(Aa)}function Qa(){return Co(this.__wrapped__,this.__actions__)}function Xa(e,t,n){var r=sp(e)?f:Vn;return n&&Ei(e,t,n)&&(t=oe),r(e,hi(t,3))}function Ja(e,t){var n=sp(e)?p:Hn;return n(e,hi(t,3))}function eu(e,t){return $n(au(e,t),1)}function tu(e,t){return $n(au(e,t),Te)}function nu(e,t,n){return n=n===oe?1:hs(n),$n(au(e,t),n)}function ru(e,t){var n=sp(e)?c:af;return n(e,hi(t,3))}function ou(e,t){var n=sp(e)?l:uf;return n(e,hi(t,3))}function iu(e,t,n,r){e=Uu(e)?e:Zs(e),n=n&&!r?hs(n):0;var o=e.length;return 0>n&&(n=jl(o+n,0)),us(e)?o>=n&&e.indexOf(t,n)>-1:!!o&&D(e,t,n)>-1}function au(e,t){var n=sp(e)?C:Rr;return n(e,hi(t,3))}function uu(e,t,n,r){return null==e?[]:(sp(t)||(t=null==t?[]:[t]),n=r?oe:n,sp(n)||(n=null==n?[]:[n]),Vr(e,t,n))}function su(e,t,n){var r=sp(e)?m:F,o=3>arguments.length;return r(e,hi(t,4),n,o,af)}function cu(e,t,n){var r=sp(e)?y:F,o=3>arguments.length;return r(e,hi(t,4),n,o,uf)}function lu(e,t){var n=sp(e)?p:Hn;return n(e,Du(hi(t,3)))}function fu(e){var t=sp(e)?An:Jr;return t(e)}function pu(e,t,n){t=(n?Ei(e,t,n):t===oe)?1:hs(t);var r=sp(e)?bn:eo;return r(e,t)}function du(e){var t=sp(e)?wn:no;return t(e)}function hu(e){if(null==e)return 0;if(Uu(e))return us(e)?J(e):e.length;var t=yf(e);return t==Ge||t==Xe?e.size:Lr(e).length}function Cu(e,t,n){var r=sp(e)?g:oo;return n&&Ei(e,t,n)&&(t=oe),r(e,hi(t,3))}function vu(e,t){if("function"!=typeof t)throw new nl(se);return e=hs(e),function(){if(--e<1)return t.apply(this,arguments)}}function mu(e,t,n){return t=n?oe:t,t=e&&null==t?e.length:t,ii(e,ge,oe,oe,oe,oe,t)}function yu(e,t){var n;if("function"!=typeof t)throw new nl(se);return e=hs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e>1||(t=oe),n}}function gu(e,t,n){t=n?oe:t;var r=ii(e,Ce,oe,oe,oe,oe,oe,t);return r.placeholder=gu.placeholder,r}function Au(e,t,n){t=n?oe:t;var r=ii(e,ve,oe,oe,oe,oe,oe,t);return r.placeholder=Au.placeholder,r}function bu(e,t,n){function r(t){var n=p,r=d;return p=d=oe,y=t,C=e.apply(r,n)}function o(e){return y=e,v=bf(u,t),g?r(e):C}function i(e){var n=e-m,r=e-y,o=t-n;return A?Rl(o,h-r):o}function a(e){var n=e-m,r=e-y;return m===oe||n>=t||0>n||A&&r>=h}function u(){var e=Kf();return a(e)?s(e):(v=bf(u,i(e)),oe)}function s(e){return v=oe,b&&p?r(e):(p=d=oe,C)}function c(){v!==oe&&df(v),y=0,p=m=d=v=oe}function l(){return v===oe?C:s(Kf())}function f(){var e=Kf(),n=a(e);if(p=arguments,d=this,m=e,n){if(v===oe)return o(m);if(A)return v=bf(u,t),r(m)}return v===oe&&(v=bf(u,t)),C}var p,d,h,C,v,m,y=0,g=!1,A=!1,b=!0;if("function"!=typeof e)throw new nl(se);return t=vs(t)||0,Ku(n)&&(g=!!n.leading,A="maxWait"in n,h=A?jl(vs(n.maxWait)||0,t):h,b="trailing"in n?!!n.trailing:b),f.cancel=c,f.flush=l,f}function wu(e){return ii(e,be)}function _u(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new nl(se);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(_u.Cache||rn),n}function Du(e){if("function"!=typeof e)throw new nl(se);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function xu(e){return yu(2,e)}function ku(e,t){if("function"!=typeof e)throw new nl(se);return t=t===oe?t:hs(t),Xr(e,t)}function Eu(e,t){if("function"!=typeof e)throw new nl(se);return t=t===oe?0:jl(hs(t),0),Xr(function(n){var r=n[t],o=bo(n,0,t);return r&&v(o,r),u(e,this,o)})}function Su(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new nl(se);return Ku(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),bu(e,t,{leading:r,maxWait:t,trailing:o})}function Ou(e){return mu(e,1)}function Fu(e,t){return t=null==t?wc:t,np(t,e)}function Tu(){if(!arguments.length)return[];var e=arguments[0];return sp(e)?e:[e]}function Mu(e){return Ln(e,!1,!0)}function Pu(e,t){return Ln(e,!1,!0,t)}function Lu(e){return Ln(e,!0,!0)}function Bu(e,t){return Ln(e,!0,!0,t)}function ju(e,t){return null==t||jn(e,t,Ms(t))}function Ru(e,t){return e===t||e!==e&&t!==t}function Uu(e){return null!=e&&$u(e.length)&&!Yu(e)}function Nu(e){return Qu(e)&&Uu(e)}function Iu(e){return e===!0||e===!1||Qu(e)&&pl.call(e)==We}function Wu(e){return null!=e&&1===e.nodeType&&Qu(e)&&!is(e)}function zu(e){if(Uu(e)&&(sp(e)||"string"==typeof e||"function"==typeof e.splice||lp(e)||Cp(e)||up(e)))return!e.length;var t=yf(e);if(t==Ge||t==Xe)return!e.size;if(Mi(e))return!Lr(e).length;for(var n in e)if(cl.call(e,n))return!1;return!0}function Vu(e,t){return xr(e,t)}function qu(e,t,n){n="function"==typeof n?n:oe;var r=n?n(e,t):oe;return r===oe?xr(e,t,n):!!r}function Zu(e){return!!Qu(e)&&(pl.call(e)==Ve||"string"==typeof e.message&&"string"==typeof e.name)}function Gu(e){return"number"==typeof e&&Pl(e)}function Yu(e){var t=Ku(e)?pl.call(e):"";return t==qe||t==Ze||t==Ke}function Hu(e){return"number"==typeof e&&e==hs(e)}function $u(e){return"number"==typeof e&&e>-1&&e%1==0&&Me>=e}function Ku(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Qu(e){return null!=e&&"object"==typeof e}function Xu(e,t){return e===t||Sr(e,t,vi(t))}function Ju(e,t,n){return n="function"==typeof n?n:oe,Sr(e,t,vi(t),n)}function es(e){return os(e)&&e!=+e}function ts(e){if(gf(e))throw new Kc(ue);return Or(e)}function ns(e){return null===e}function rs(e){return null==e}function os(e){return"number"==typeof e||Qu(e)&&pl.call(e)==Ye}function is(e){if(!Qu(e)||pl.call(e)!=He)return!1;var t=gl(e);if(null===t)return!0;var n=cl.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&sl.call(n)==fl}function as(e){return Hu(e)&&e>=-Me&&Me>=e}function us(e){return"string"==typeof e||!sp(e)&&Qu(e)&&pl.call(e)==Je}function ss(e){return"symbol"==typeof e||Qu(e)&&pl.call(e)==et}function cs(e){return e===oe}function ls(e){return Qu(e)&&yf(e)==tt}function fs(e){return Qu(e)&&pl.call(e)==nt}function ps(e){if(!e)return[];if(Uu(e))return us(e)?ee(e):Lo(e);if(Al&&e[Al])return Z(e[Al]());var t=yf(e),n=t==Ge?G:t==Xe?$:Zs;return n(e)}function ds(e){if(!e)return 0===e?e:0;if(e=vs(e),e===Te||e===-Te){var t=0>e?-1:1;return t*Pe}return e===e?e:0}function hs(e){var t=ds(e),n=t%1;return t===t?n?t-n:t:0}function Cs(e){return e?Tn(hs(e),0,Be):0}function vs(e){if("number"==typeof e)return e;if(ss(e))return Le;if(Ku(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ku(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Ft,"");var n=Wt.test(e);return n||Vt.test(e)?Yn(e.slice(2),n?2:8):It.test(e)?Le:+e}function ms(e){return Bo(e,Ps(e))}function ys(e){return Tn(hs(e),-Me,Me)}function gs(e){return null==e?"":co(e)}function As(e,t){var n=of(e);return t?Sn(n,t):n}function bs(e,t){return w(e,hi(t,3),Qn)}function ws(e,t){return w(e,hi(t,3),Xn)}function _s(e,t){return null==e?e:sf(e,hi(t,3),Ps)}function Ds(e,t){return null==e?e:cf(e,hi(t,3),Ps)}function xs(e,t){return e&&Qn(e,hi(t,3))}function ks(e,t){return e&&Xn(e,hi(t,3))}function Es(e){return null==e?[]:er(e,Ms(e))}function Ss(e){return null==e?[]:er(e,Ps(e))}function Os(e,t,n){var r=null==e?oe:tr(e,t);return r===oe?n:r}function Fs(e,t){return null!=e&&Ai(e,t,vr)}function Ts(e,t){return null!=e&&Ai(e,t,mr)}function Ms(e){return Uu(e)?gn(e):Lr(e)}function Ps(e){return Uu(e)?gn(e,!0):Br(e)}function Ls(e,t){var n={};return t=hi(t,3),Qn(e,function(e,r,o){On(n,t(e,r,o),e)}),n}function Bs(e,t){var n={};return t=hi(t,3),Qn(e,function(e,r,o){On(n,r,t(e,r,o))}),n}function js(e,t){return Rs(e,Du(hi(t)))}function Rs(e,t){return null==e?{}:Zr(e,fi(e),hi(t))}function Us(e,t,n){t=Si(t,e)?[t]:Ao(t);var r=-1,o=t.length;for(o||(e=oe,o=1);++r<o;){var i=null==e?oe:e[Zi(t[r])];i===oe&&(r=o,i=n),e=Yu(i)?i.call(e):i}return e}function Ns(e,t,n){return null==e?e:to(e,t,n)}function Is(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:to(e,t,n,r)}function Ws(e,t,n){var r=sp(e),o=r||lp(e)||Cp(e);if(t=hi(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ku(e)&&Yu(i)?of(gl(e)):{}}return(o?c:Qn)(e,function(e,r,o){return t(n,e,r,o)}),n}function zs(e,t){return null==e||fo(e,t)}function Vs(e,t,n){return null==e?e:po(e,t,go(n))}function qs(e,t,n,r){return r="function"==typeof r?r:oe,null==e?e:po(e,t,go(n),r)}function Zs(e){return e?j(e,Ms(e)):[]}function Gs(e){return null==e?[]:j(e,Ps(e))}function Ys(e,t,n){return n===oe&&(n=t,t=oe),n!==oe&&(n=vs(n),n=n===n?n:0),t!==oe&&(t=vs(t),t=t===t?t:0),Tn(vs(e),t,n)}function Hs(e,t,n){return t=ds(t),n===oe?(n=t,t=0):n=ds(n),e=vs(e),yr(e,t,n)}function $s(e,t,n){if(n&&"boolean"!=typeof n&&Ei(e,t,n)&&(t=n=oe),n===oe&&("boolean"==typeof t?(n=t,t=oe):"boolean"==typeof e&&(n=e,e=oe)),e===oe&&t===oe?(e=0,t=1):(e=ds(e),t===oe?(t=e,e=0):t=ds(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Il();return Rl(e+o*(t-e+Gn("1e-"+((o+"").length-1))),t)}return $r(e,t)}function Ks(e){return Wp(gs(e).toLowerCase())}function Qs(e){return e=gs(e),e&&e.replace(Zt,cr).replace(Pn,"")}function Xs(e,t,n){e=gs(e),t=co(t);var r=e.length;n=n===oe?r:Tn(hs(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function Js(e){return e=gs(e),e&&At.test(e)?e.replace(yt,lr):e}function ec(e){return e=gs(e),e&&Ot.test(e)?e.replace(St,"\\$&"):e}function tc(e,t,n){e=gs(e),t=hs(t);var r=t?J(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Xo(Fl(o),n)+e+Xo(Ol(o),n)}function nc(e,t,n){e=gs(e),t=hs(t);var r=t?J(e):0;return t&&t>r?e+Xo(t-r,n):e}function rc(e,t,n){e=gs(e),t=hs(t);var r=t?J(e):0;return t&&t>r?Xo(t-r,n)+e:e}function oc(e,t,n){return n||null==t?t=0:t&&(t=+t),Nl(gs(e).replace(Tt,""),t||0)}function ic(e,t,n){return t=(n?Ei(e,t,n):t===oe)?1:hs(t),Qr(gs(e),t)}function ac(){var e=arguments,t=gs(e[0]);return 3>e.length?t:t.replace(e[1],e[2])}function uc(e,t,n){return n&&"number"!=typeof n&&Ei(e,t,n)&&(t=n=oe),(n=n===oe?Be:n>>>0)?(e=gs(e),e&&("string"==typeof t||null!=t&&!dp(t))&&(t=co(t),!t&&V(e))?bo(ee(e),0,n):e.split(t,n)):[]}function sc(e,t,n){return e=gs(e),n=Tn(hs(n),0,e.length),t=co(t),e.slice(n,n+t.length)==t}function cc(e,n,r){var o=t.templateSettings;r&&Ei(e,n,r)&&(n=oe),e=gs(e),n=Ap({},n,o,_n);var i,a,u=Ap({},n.imports,o.imports,_n),s=Ms(u),c=j(u,s),l=0,f=n.interpolate||Gt,p="__p += '",d=el((n.escape||Gt).source+"|"+f.source+"|"+(f===_t?Ut:Gt).source+"|"+(n.evaluate||Gt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Nn+"]")+"\n";e.replace(d,function(t,n,r,o,u,s){return r||(r=o),p+=e.slice(l,s).replace(Yt,W),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),u&&(a=!0,p+="';\n"+u+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+t.length,t}),p+="';\n";var C=n.variable;C||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(ht,""):p).replace(Ct,"$1").replace(vt,"$1;"),p="function("+(C||"obj")+") {\n"+(C?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=zp(function(){return Qc(s,h+"return "+p).apply(oe,c)});if(v.source=p,Zu(v))throw v;return v}function lc(e){return gs(e).toLowerCase()}function fc(e){return gs(e).toUpperCase()}function pc(e,t,n){if(e=gs(e),e&&(n||t===oe))return e.replace(Ft,"");if(!e||!(t=co(t)))return e;var r=ee(e),o=ee(t),i=U(r,o),a=N(r,o)+1;return bo(r,i,a).join("")}function dc(e,t,n){if(e=gs(e),e&&(n||t===oe))return e.replace(Mt,"");if(!e||!(t=co(t)))return e;var r=ee(e),o=N(r,ee(t))+1;return bo(r,0,o).join("")}function hc(e,t,n){if(e=gs(e),e&&(n||t===oe))return e.replace(Tt,"");if(!e||!(t=co(t)))return e;var r=ee(e),o=U(r,ee(t));return bo(r,o).join("")}function Cc(e,t){var n=De,r=xe;if(Ku(t)){var o="separator"in t?t.separator:o;n="length"in t?hs(t.length):n,r="omission"in t?co(t.omission):r}e=gs(e);var i=e.length;if(V(e)){var a=ee(e);i=a.length}if(n>=i)return e;var u=n-J(r);if(1>u)return r;var s=a?bo(a,0,u).join(""):e.slice(0,u);if(o===oe)return s+r;if(a&&(u+=s.length-u),dp(o)){if(e.slice(u).search(o)){var c,l=s;for(o.global||(o=el(o.source,gs(Nt.exec(o))+"g")),o.lastIndex=0;c=o.exec(l);)var f=c.index;s=s.slice(0,f===oe?u:f)}}else if(e.indexOf(co(o),u)!=u){var p=s.lastIndexOf(o);p>-1&&(s=s.slice(0,p))}return s+r}function vc(e){return e=gs(e),e&&gt.test(e)?e.replace(mt,fr):e}function mc(e,t,n){return e=gs(e),t=n?oe:t,t===oe?q(e)?re(e):b(e):e.match(t)||[]}function yc(e){var t=e?e.length:0,n=hi();return e=t?C(e,function(e){if("function"!=typeof e[1])throw new nl(se);return[n(e[0]),e[1]]}):[],Xr(function(n){for(var r=-1;++r<t;){var o=e[r];if(u(o[0],this,n))return u(o[1],this,n)}})}function gc(e){return Bn(Ln(e,!0))}function Ac(e){return function(){return e}}function bc(e,t){return null==e||e!==e?t:e}function wc(e){return e}function _c(e){return Pr("function"==typeof e?e:Ln(e,!0))}function Dc(e){return Ur(Ln(e,!0))}function xc(e,t){return Nr(e,Ln(t,!0))}function kc(e,t,n){var r=Ms(t),o=er(t,r);null!=n||Ku(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=er(t,Ms(t)));var i=!(Ku(n)&&"chain"in n&&!n.chain),a=Yu(e);return c(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Lo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,v([this.value()],arguments))})}),e}function Ec(){return Kn._===this&&(Kn._=dl),this}function Sc(){}function Oc(e){return e=hs(e),Xr(function(t){return zr(t,e)})}function Fc(e){return Si(e)?S(Zi(e)):Gr(e)}function Tc(e){return function(t){return null==e?oe:tr(e,t)}}function Mc(){return[]}function Pc(){return!1}function Lc(){return{}}function Bc(){return""}function jc(){return!0}function Rc(e,t){if(e=hs(e),1>e||e>Me)return[];var n=Be,r=Rl(e,Be);t=hi(t),e-=Be;for(var o=P(r,t);++n<e;)t(n);return o}function Uc(e){return sp(e)?C(e,Zi):ss(e)?[e]:Lo(_f(e))}function Nc(e){var t=++ll;return gs(e)+t}function Ic(e){return e&&e.length?qn(e,wc,Cr):oe}function Wc(e,t){return e&&e.length?qn(e,hi(t,2),Cr):oe}function zc(e){return E(e,wc)}function Vc(e,t){return E(e,hi(t,2))}function qc(e){return e&&e.length?qn(e,wc,jr):oe}function Zc(e,t){return e&&e.length?qn(e,hi(t,2),jr):oe}function Gc(e){return e&&e.length?M(e,wc):0}function Yc(e,t){return e&&e.length?M(e,hi(t,2)):0}e=e?dr.defaults(Kn.Object(),e,dr.pick(Kn,Un)):Kn;var Hc=e.Array,$c=e.Date,Kc=e.Error,Qc=e.Function,Xc=e.Math,Jc=e.Object,el=e.RegExp,tl=e.String,nl=e.TypeError,rl=Hc.prototype,ol=Qc.prototype,il=Jc.prototype,al=e["__core-js_shared__"],ul=function(){
var e=/[^.]+$/.exec(al&&al.keys&&al.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),sl=ol.toString,cl=il.hasOwnProperty,ll=0,fl=sl.call(Jc),pl=il.toString,dl=Kn._,hl=el("^"+sl.call(cl).replace(St,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cl=Jn?e.Buffer:oe,vl=e.Symbol,ml=e.Uint8Array,yl=Cl?Cl.allocUnsafe:oe,gl=Y(Jc.getPrototypeOf,Jc),Al=vl?vl.iterator:oe,bl=Jc.create,wl=il.propertyIsEnumerable,_l=rl.splice,Dl=vl?vl.isConcatSpreadable:oe,xl=function(){try{var e=mi(Jc,"defineProperty");return e({},"",{}),e}catch(t){}}(),kl=e.clearTimeout!==Kn.clearTimeout&&e.clearTimeout,El=$c&&$c.now!==Kn.Date.now&&$c.now,Sl=e.setTimeout!==Kn.setTimeout&&e.setTimeout,Ol=Xc.ceil,Fl=Xc.floor,Tl=Jc.getOwnPropertySymbols,Ml=Cl?Cl.isBuffer:oe,Pl=e.isFinite,Ll=rl.join,Bl=Y(Jc.keys,Jc),jl=Xc.max,Rl=Xc.min,Ul=$c.now,Nl=e.parseInt,Il=Xc.random,Wl=rl.reverse,zl=mi(e,"DataView"),Vl=mi(e,"Map"),ql=mi(e,"Promise"),Zl=mi(e,"Set"),Gl=mi(e,"WeakMap"),Yl=mi(Jc,"create"),Hl=Gl&&new Gl,$l={},Kl=Gi(zl),Ql=Gi(Vl),Xl=Gi(ql),Jl=Gi(Zl),ef=Gi(Gl),tf=vl?vl.prototype:oe,nf=tf?tf.valueOf:oe,rf=tf?tf.toString:oe,of=function(){function e(){}return function(t){if(!Ku(t))return{};if(bl)return bl(t);e.prototype=t;var n=new e;return e.prototype=oe,n}}();t.templateSettings={escape:bt,evaluate:wt,interpolate:_t,variable:"",imports:{_:t}},t.prototype=n.prototype,t.prototype.constructor=t,r.prototype=of(n.prototype),r.prototype.constructor=r,o.prototype=of(n.prototype),o.prototype.constructor=o,te.prototype.clear=ne,te.prototype["delete"]=jt,te.prototype.get=Ht,te.prototype.has=$t,te.prototype.set=Kt,Qt.prototype.clear=Xt,Qt.prototype["delete"]=Jt,Qt.prototype.get=en,Qt.prototype.has=tn,Qt.prototype.set=nn,rn.prototype.clear=on,rn.prototype["delete"]=an,rn.prototype.get=un,rn.prototype.has=sn,rn.prototype.set=cn,ln.prototype.add=ln.prototype.push=fn,ln.prototype.has=pn,dn.prototype.clear=hn,dn.prototype["delete"]=Cn,dn.prototype.get=vn,dn.prototype.has=mn,dn.prototype.set=yn;var af=No(Qn),uf=No(Xn,!0),sf=Io(),cf=Io(!0),lf=Hl?function(e,t){return Hl.set(e,t),e}:wc,ff=xl?function(e,t){return xl(e,"toString",{configurable:!0,enumerable:!1,value:Ac(t),writable:!0})}:wc,pf=Xr,df=kl||function(e){return Kn.clearTimeout(e)},hf=Zl&&1/$(new Zl([,-0]))[1]==Te?function(e){return new Zl(e)}:Sc,Cf=Hl?function(e){return Hl.get(e)}:Sc,vf=Tl?Y(Tl,Jc):Mc,mf=Tl?function(e){for(var t=[];e;)v(t,vf(e)),e=gl(e);return t}:Mc,yf=pr;(zl&&yf(new zl(new ArrayBuffer(1)))!=ot||Vl&&yf(new Vl)!=Ge||ql&&yf(ql.resolve())!=$e||Zl&&yf(new Zl)!=Xe||Gl&&yf(new Gl)!=tt)&&(yf=function(e){var t=pl.call(e),n=t==He?e.constructor:oe,r=n?Gi(n):oe;if(r)switch(r){case Kl:return ot;case Ql:return Ge;case Xl:return $e;case Jl:return Xe;case ef:return tt}return t});var gf=al?Yu:Pc,Af=Vi(lf),bf=Sl||function(e,t){return Kn.setTimeout(e,t)},wf=Vi(ff),_f=Bi(function(e){e=gs(e);var t=[];return kt.test(e)&&t.push(""),e.replace(Et,function(e,n,r,o){t.push(r?o.replace(Rt,"$1"):n||e)}),t}),Df=Xr(function(e,t){return Nu(e)?zn(e,$n(t,1,Nu,!0)):[]}),xf=Xr(function(e,t){var n=da(t);return Nu(n)&&(n=oe),Nu(e)?zn(e,$n(t,1,Nu,!0),hi(n,2)):[]}),kf=Xr(function(e,t){var n=da(t);return Nu(n)&&(n=oe),Nu(e)?zn(e,$n(t,1,Nu,!0),oe,n):[]}),Ef=Xr(function(e){var t=C(e,yo);return t.length&&t[0]===e[0]?gr(t):[]}),Sf=Xr(function(e){var t=da(e),n=C(e,yo);return t===da(n)?t=oe:n.pop(),n.length&&n[0]===e[0]?gr(n,hi(t,2)):[]}),Of=Xr(function(e){var t=da(e),n=C(e,yo);return t===da(n)?t=oe:n.pop(),n.length&&n[0]===e[0]?gr(n,oe,t):[]}),Ff=Xr(va),Tf=ci(function(e,t){var n=e?e.length:0,r=Fn(e,t);return Hr(e,C(t,function(e){return ki(e,n)?+e:e}).sort(Fo)),r}),Mf=Xr(function(e){return lo($n(e,1,Nu,!0))}),Pf=Xr(function(e){var t=da(e);return Nu(t)&&(t=oe),lo($n(e,1,Nu,!0),hi(t,2))}),Lf=Xr(function(e){var t=da(e);return Nu(t)&&(t=oe),lo($n(e,1,Nu,!0),oe,t)}),Bf=Xr(function(e,t){return Nu(e)?zn(e,t):[]}),jf=Xr(function(e){return vo(p(e,Nu))}),Rf=Xr(function(e){var t=da(e);return Nu(t)&&(t=oe),vo(p(e,Nu),hi(t,2))}),Uf=Xr(function(e){var t=da(e);return Nu(t)&&(t=oe),vo(p(e,Nu),oe,t)}),Nf=Xr(Ua),If=Xr(function(e){var t=e.length,n=t>1?e[t-1]:oe;return n="function"==typeof n?(e.pop(),n):oe,Na(e,n)}),Wf=ci(function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,a=function(t){return Fn(t,e)};return 1>=t&&!this.__actions__.length&&i instanceof o&&ki(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:qa,args:[a],thisArg:oe}),new r(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(oe),e})):this.thru(a)}),zf=Ro(function(e,t,n){cl.call(e,n)?++e[n]:On(e,n,1)}),Vf=Go(ra),qf=Go(oa),Zf=Ro(function(e,t,n){cl.call(e,n)?e[n].push(t):On(e,n,[t])}),Gf=Xr(function(e,t,n){var r=-1,o="function"==typeof t,i=Si(t),a=Uu(e)?Hc(e.length):[];return af(e,function(e){var s=o?t:i&&null!=e?e[t]:oe;a[++r]=s?u(s,e,n):br(e,t,n)}),a}),Yf=Ro(function(e,t,n){On(e,n,t)}),Hf=Ro(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),$f=Xr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ei(e,t[0],t[1])?t=[]:n>2&&Ei(t[0],t[1],t[2])&&(t=[t[0]]),Vr(e,$n(t,1),[])}),Kf=El||function(){return Kn.Date.now()},Qf=Xr(function(e,t,n){var r=pe;if(n.length){var o=H(n,di(Qf));r|=me}return ii(e,r,t,n,o)}),Xf=Xr(function(e,t,n){var r=pe|de;if(n.length){var o=H(n,di(Xf));r|=me}return ii(t,r,e,n,o)}),Jf=Xr(function(e,t){return Rn(e,1,t)}),ep=Xr(function(e,t,n){return Rn(e,vs(t)||0,n)});_u.Cache=rn;var tp=pf(function(e,t){t=1==t.length&&sp(t[0])?C(t[0],B(hi())):C($n(t,1),B(hi()));var n=t.length;return Xr(function(r){for(var o=-1,i=Rl(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return u(e,this,r)})}),np=Xr(function(e,t){var n=H(t,di(np));return ii(e,me,oe,t,n)}),rp=Xr(function(e,t){var n=H(t,di(rp));return ii(e,ye,oe,t,n)}),op=ci(function(e,t){return ii(e,Ae,oe,oe,oe,t)}),ip=ti(Cr),ap=ti(function(e,t){return e>=t}),up=wr(function(){return arguments}())?wr:function(e){return Qu(e)&&cl.call(e,"callee")&&!wl.call(e,"callee")},sp=Hc.isArray,cp=nr?B(nr):_r,lp=Ml||Pc,fp=rr?B(rr):Dr,pp=or?B(or):Er,dp=ir?B(ir):Fr,hp=ar?B(ar):Tr,Cp=ur?B(ur):Mr,vp=ti(jr),mp=ti(function(e,t){return t>=e}),yp=Uo(function(e,t){if(Mi(t)||Uu(t))return Bo(t,Ms(t),e),oe;for(var n in t)cl.call(t,n)&&xn(e,n,t[n])}),gp=Uo(function(e,t){Bo(t,Ps(t),e)}),Ap=Uo(function(e,t,n,r){Bo(t,Ps(t),e,r)}),bp=Uo(function(e,t,n,r){Bo(t,Ms(t),e,r)}),wp=ci(Fn),_p=Xr(function(e){return e.push(oe,_n),u(Ap,oe,e)}),Dp=Xr(function(e){return e.push(oe,Ri),u(Op,oe,e)}),xp=$o(function(e,t,n){e[t]=n},Ac(wc)),kp=$o(function(e,t,n){cl.call(e,t)?e[t].push(n):e[t]=[n]},hi),Ep=Xr(br),Sp=Uo(function(e,t,n){Ir(e,t,n)}),Op=Uo(function(e,t,n,r){Ir(e,t,n,r)}),Fp=ci(function(e,t){return null==e?{}:(t=C(t,Zi),qr(e,zn(fi(e),t)))}),Tp=ci(function(e,t){return null==e?{}:qr(e,C(t,Zi))}),Mp=oi(Ms),Pp=oi(Ps),Lp=Vo(function(e,t,n){return t=t.toLowerCase(),e+(n?Ks(t):t)}),Bp=Vo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),jp=Vo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Rp=zo("toLowerCase"),Up=Vo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Np=Vo(function(e,t,n){return e+(n?" ":"")+Wp(t)}),Ip=Vo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Wp=zo("toUpperCase"),zp=Xr(function(e,t){try{return u(e,oe,t)}catch(n){return Zu(n)?n:new Kc(n)}}),Vp=ci(function(e,t){return c(t,function(t){t=Zi(t),On(e,t,Qf(e[t],e))}),e}),qp=Yo(),Zp=Yo(!0),Gp=Xr(function(e,t){return function(n){return br(n,e,t)}}),Yp=Xr(function(e,t){return function(n){return br(e,n,t)}}),Hp=Qo(C),$p=Qo(f),Kp=Qo(g),Qp=ei(),Xp=ei(!0),Jp=Ko(function(e,t){return e+t},0),ed=ri("ceil"),td=Ko(function(e,t){return e/t},1),nd=ri("floor"),rd=Ko(function(e,t){return e*t},1),od=ri("round"),id=Ko(function(e,t){return e-t},0);return t.after=vu,t.ary=mu,t.assign=yp,t.assignIn=gp,t.assignInWith=Ap,t.assignWith=bp,t.at=wp,t.before=yu,t.bind=Qf,t.bindAll=Vp,t.bindKey=Xf,t.castArray=Tu,t.chain=za,t.chunk=$i,t.compact=Ki,t.concat=Qi,t.cond=yc,t.conforms=gc,t.constant=Ac,t.countBy=zf,t.create=As,t.curry=gu,t.curryRight=Au,t.debounce=bu,t.defaults=_p,t.defaultsDeep=Dp,t.defer=Jf,t.delay=ep,t.difference=Df,t.differenceBy=xf,t.differenceWith=kf,t.drop=Xi,t.dropRight=Ji,t.dropRightWhile=ea,t.dropWhile=ta,t.fill=na,t.filter=Ja,t.flatMap=eu,t.flatMapDeep=tu,t.flatMapDepth=nu,t.flatten=ia,t.flattenDeep=aa,t.flattenDepth=ua,t.flip=wu,t.flow=qp,t.flowRight=Zp,t.fromPairs=sa,t.functions=Es,t.functionsIn=Ss,t.groupBy=Zf,t.initial=fa,t.intersection=Ef,t.intersectionBy=Sf,t.intersectionWith=Of,t.invert=xp,t.invertBy=kp,t.invokeMap=Gf,t.iteratee=_c,t.keyBy=Yf,t.keys=Ms,t.keysIn=Ps,t.map=au,t.mapKeys=Ls,t.mapValues=Bs,t.matches=Dc,t.matchesProperty=xc,t.memoize=_u,t.merge=Sp,t.mergeWith=Op,t.method=Gp,t.methodOf=Yp,t.mixin=kc,t.negate=Du,t.nthArg=Oc,t.omit=Fp,t.omitBy=js,t.once=xu,t.orderBy=uu,t.over=Hp,t.overArgs=tp,t.overEvery=$p,t.overSome=Kp,t.partial=np,t.partialRight=rp,t.partition=Hf,t.pick=Tp,t.pickBy=Rs,t.property=Fc,t.propertyOf=Tc,t.pull=Ff,t.pullAll=va,t.pullAllBy=ma,t.pullAllWith=ya,t.pullAt=Tf,t.range=Qp,t.rangeRight=Xp,t.rearg=op,t.reject=lu,t.remove=ga,t.rest=ku,t.reverse=Aa,t.sampleSize=pu,t.set=Ns,t.setWith=Is,t.shuffle=du,t.slice=ba,t.sortBy=$f,t.sortedUniq=Sa,t.sortedUniqBy=Oa,t.split=uc,t.spread=Eu,t.tail=Fa,t.take=Ta,t.takeRight=Ma,t.takeRightWhile=Pa,t.takeWhile=La,t.tap=Va,t.throttle=Su,t.thru=qa,t.toArray=ps,t.toPairs=Mp,t.toPairsIn=Pp,t.toPath=Uc,t.toPlainObject=ms,t.transform=Ws,t.unary=Ou,t.union=Mf,t.unionBy=Pf,t.unionWith=Lf,t.uniq=Ba,t.uniqBy=ja,t.uniqWith=Ra,t.unset=zs,t.unzip=Ua,t.unzipWith=Na,t.update=Vs,t.updateWith=qs,t.values=Zs,t.valuesIn=Gs,t.without=Bf,t.words=mc,t.wrap=Fu,t.xor=jf,t.xorBy=Rf,t.xorWith=Uf,t.zip=Nf,t.zipObject=Ia,t.zipObjectDeep=Wa,t.zipWith=If,t.entries=Mp,t.entriesIn=Pp,t.extend=gp,t.extendWith=Ap,kc(t,t),t.add=Jp,t.attempt=zp,t.camelCase=Lp,t.capitalize=Ks,t.ceil=ed,t.clamp=Ys,t.clone=Mu,t.cloneDeep=Lu,t.cloneDeepWith=Bu,t.cloneWith=Pu,t.conformsTo=ju,t.deburr=Qs,t.defaultTo=bc,t.divide=td,t.endsWith=Xs,t.eq=Ru,t.escape=Js,t.escapeRegExp=ec,t.every=Xa,t.find=Vf,t.findIndex=ra,t.findKey=bs,t.findLast=qf,t.findLastIndex=oa,t.findLastKey=ws,t.floor=nd,t.forEach=ru,t.forEachRight=ou,t.forIn=_s,t.forInRight=Ds,t.forOwn=xs,t.forOwnRight=ks,t.get=Os,t.gt=ip,t.gte=ap,t.has=Fs,t.hasIn=Ts,t.head=ca,t.identity=wc,t.includes=iu,t.indexOf=la,t.inRange=Hs,t.invoke=Ep,t.isArguments=up,t.isArray=sp,t.isArrayBuffer=cp,t.isArrayLike=Uu,t.isArrayLikeObject=Nu,t.isBoolean=Iu,t.isBuffer=lp,t.isDate=fp,t.isElement=Wu,t.isEmpty=zu,t.isEqual=Vu,t.isEqualWith=qu,t.isError=Zu,t.isFinite=Gu,t.isFunction=Yu,t.isInteger=Hu,t.isLength=$u,t.isMap=pp,t.isMatch=Xu,t.isMatchWith=Ju,t.isNaN=es,t.isNative=ts,t.isNil=rs,t.isNull=ns,t.isNumber=os,t.isObject=Ku,t.isObjectLike=Qu,t.isPlainObject=is,t.isRegExp=dp,t.isSafeInteger=as,t.isSet=hp,t.isString=us,t.isSymbol=ss,t.isTypedArray=Cp,t.isUndefined=cs,t.isWeakMap=ls,t.isWeakSet=fs,t.join=pa,t.kebabCase=Bp,t.last=da,t.lastIndexOf=ha,t.lowerCase=jp,t.lowerFirst=Rp,t.lt=vp,t.lte=mp,t.max=Ic,t.maxBy=Wc,t.mean=zc,t.meanBy=Vc,t.min=qc,t.minBy=Zc,t.stubArray=Mc,t.stubFalse=Pc,t.stubObject=Lc,t.stubString=Bc,t.stubTrue=jc,t.multiply=rd,t.nth=Ca,t.noConflict=Ec,t.noop=Sc,t.now=Kf,t.pad=tc,t.padEnd=nc,t.padStart=rc,t.parseInt=oc,t.random=$s,t.reduce=su,t.reduceRight=cu,t.repeat=ic,t.replace=ac,t.result=Us,t.round=od,t.runInContext=hr,t.sample=fu,t.size=hu,t.snakeCase=Up,t.some=Cu,t.sortedIndex=wa,t.sortedIndexBy=_a,t.sortedIndexOf=Da,t.sortedLastIndex=xa,t.sortedLastIndexBy=ka,t.sortedLastIndexOf=Ea,t.startCase=Np,t.startsWith=sc,t.subtract=id,t.sum=Gc,t.sumBy=Yc,t.template=cc,t.times=Rc,t.toFinite=ds,t.toInteger=hs,t.toLength=Cs,t.toLower=lc,t.toNumber=vs,t.toSafeInteger=ys,t.toString=gs,t.toUpper=fc,t.trim=pc,t.trimEnd=dc,t.trimStart=hc,t.truncate=Cc,t.unescape=vc,t.uniqueId=Nc,t.upperCase=Ip,t.upperFirst=Wp,t.each=ru,t.eachRight=ou,t.first=ca,kc(t,function(){var e={};return Qn(t,function(n,r){cl.call(t.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),t.VERSION=ie,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){t[e].placeholder=t}),c(["drop","take"],function(e,t){o.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new o(this);n=n===oe?1:jl(hs(n),0);var i=this.clone();return r?i.__takeCount__=Rl(n,i.__takeCount__):i.__views__.push({size:Rl(n,Be),type:e+(0>i.__dir__?"Right":"")}),i},o.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),c(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Se||n==Fe;o.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:hi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),c(["head","last"],function(e,t){var n="take"+(t?"Right":"");o.prototype[e]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");o.prototype[e]=function(){return this.__filtered__?new o(this):this[n](1)}}),o.prototype.compact=function(){return this.filter(wc)},o.prototype.find=function(e){return this.filter(e).head()},o.prototype.findLast=function(e){return this.reverse().find(e)},o.prototype.invokeMap=Xr(function(e,t){return"function"==typeof e?new o(this):this.map(function(n){return br(n,e,t)})}),o.prototype.reject=function(e){return this.filter(Du(hi(e)))},o.prototype.slice=function(e,t){e=hs(e);var n=this;return n.__filtered__&&(e>0||0>t)?new o(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==oe&&(t=hs(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},o.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},o.prototype.toArray=function(){return this.take(Be)},Qn(o.prototype,function(e,n){var i=/^(?:filter|find|map|reject)|While$/.test(n),a=/^(?:head|last)$/.test(n),u=t[a?"take"+("last"==n?"Right":""):n],s=a||/^find/.test(n);u&&(t.prototype[n]=function(){var n=this.__wrapped__,c=a?[1]:arguments,l=n instanceof o,f=c[0],p=l||sp(n),d=function(e){var n=u.apply(t,v([e],c));return a&&h?n[0]:n};p&&i&&"function"==typeof f&&1!=f.length&&(l=p=!1);var h=this.__chain__,C=!!this.__actions__.length,m=s&&!h,y=l&&!C;if(!s&&p){n=y?n:new o(this);var g=e.apply(n,c);return g.__actions__.push({func:qa,args:[d],thisArg:oe}),new r(g,h)}return m&&y?e.apply(this,c):(g=this.thru(d),m?a?g.value()[0]:g.value():g)})}),c(["pop","push","shift","sort","splice","unshift"],function(e){var n=rl[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var t=this.value();return n.apply(sp(t)?t:[],e)}return this[r](function(t){return n.apply(sp(t)?t:[],e)})}}),Qn(o.prototype,function(e,n){var r=t[n];if(r){var o=r.name+"",i=$l[o]||($l[o]=[]);i.push({name:n,func:r})}}),$l[Ho(oe,de).name]=[{name:"wrapper",func:oe}],o.prototype.clone=A,o.prototype.reverse=O,o.prototype.value=Q,t.prototype.at=Wf,t.prototype.chain=Za,t.prototype.commit=Ga,t.prototype.next=Ya,t.prototype.plant=$a,t.prototype.reverse=Ka,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Qa,t.prototype.first=t.prototype.head,Al&&(t.prototype[Al]=Ha),t},dr=pr();Kn._=dr,r=function(){return dr}.call(t,n,t,o),!(r!==oe&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(33)(e))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.actions=t.unboundActions=void 0;var i=n(10),a=n(13),u=o(a),s=n(19),c=o(s),l=n(71),f=r(l),p=n(70),d=r(p),h=t.unboundActions=(0,u["default"])({},f,d);t.actions=(0,i.bindActionCreators)(h,c["default"].dispatch)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(10),i=n(74),a=r(i),u=(0,o.createStore)(a["default"],window.devToolsExtension?window.devToolsExtension():void 0);t["default"]=u},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(5),n(6),n(107),n(7)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a){"use strict";function u(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var s=u(o),c=u(i),l=function(e){var t=e.image;return(0,n.h)("div",{className:c["default"].captures},(0,n.h)("img",{src:t,className:c["default"].image}))},f=function(e){var t=e.capture,r=e.nextLink,o=e.retakeAction,i=e.confirmAction;return(0,n.h)("div",{className:s["default"].previews+" "+s["default"].step},(0,n.h)("h1",{className:s["default"].title},"Confirm capture"),(0,n.h)("p",null,"Please confirm that you are happy with this photo."),(0,n.h)(l,{image:t.image}),(0,n.h)("div",{className:s["default"].actions+" "+c["default"].actions},(0,n.h)("button",{onClick:o,className:s["default"].btn+" "+c["default"]["btn-outline"]},"Take again"),(0,n.h)("a",{href:r,className:s["default"].btn+" "+s["default"]["btn-primary"],onClick:i},"Confirm")))},p=function(e){var t=e.nextLink,r=e.method,o=e.validCaptures,i=e.actions,a=i.deleteCaptures,u=i.confirmCapture,s=o[r][0];return(0,n.h)(f,{capture:s,retakeAction:function(){return a({method:r})},confirmAction:function(){return u({method:r,id:s.id})},nextLink:t})};t["default"]=(0,a.impurify)(p),e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(1),n(6),n(112)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e.FaceInstructions=e.FaceOverlay=e.FaceTitle=void 0;var i=o(n),a=o(r);e.FaceTitle=function(e){var n=e.useCapture,r=n?"Place your face in the circle":"Upload a picture of your face";return(0,t.h)("div",{className:i["default"].title},r)},e.FaceOverlay=function(){return(0,t.h)("div",{className:i["default"].overlay},(0,t.h)("span",{className:i["default"]["overlay-shape"]+" "+a["default"].circle}))},e.FaceInstructions=function(e){var n=e.handeClick;return(0,t.h)("div",{className:a["default"].instructions},(0,t.h)("button",{className:i["default"].btn+" "+i["default"]["btn-primary"]+" "+i["default"]["btn-centered"],onClick:n},"Take photo"))}})},function(e,t,n){var r,o;(function(n){!function(){"use strict";function i(){var e,t,n,r=h.userAgent,o=h.appName,i=""+parseFloat(h.appVersion),a=parseInt(h.appVersion,10);if(m){o="Opera";try{i=h.userAgent.split("OPR/")[1].split(" ")[0],a=i.split(".")[0]}catch(u){i="0.0.0.0",a=0}}else b?(t=r.indexOf("MSIE"),o="IE",i=r.substring(t+5)):A?(t=r.indexOf("Chrome"),o="Chrome",i=r.substring(t+7)):g?(t=r.indexOf("Safari"),o="Safari",i=r.substring(t+7),(t=r.indexOf("Version"))!==-1&&(i=r.substring(t+8))):y?(t=r.indexOf("Firefox"),o="Firefox",i=r.substring(t+8)):(e=r.lastIndexOf(" ")+1)<(t=r.lastIndexOf("/"))&&(o=r.substring(e,t),i=r.substring(t+1),o.toLowerCase()===o.toUpperCase()&&(o=h.appName));return v&&(o="Edge",i=""+parseInt(h.userAgent.match(/Edge\/(\d+).(\d+)$/)[2],10)),(n=i.indexOf(";"))!==-1&&(i=i.substring(0,n)),(n=i.indexOf(" "))!==-1&&(i=i.substring(0,n)),a=parseInt(""+i,10),isNaN(a)&&(i=""+parseFloat(h.appVersion),a=parseInt(h.appVersion,10)),{fullVersion:i,version:a,name:o,isPrivateBrowsing:!1}}function a(e,t){var n=0,r=50,o=!1,i=window.setInterval(function(){e()&&(window.clearInterval(i),t(o)),n++>r&&(window.clearInterval(i),o=!0,t(o))},10)}function u(e){var t=e.toLowerCase();if(0===t.indexOf("msie")&&0===t.indexOf("trident"))return!1;var n=/(?:msie|rv:)\s?([\d\.]+)/.exec(t);return!(!n||parseInt(n[1],10)<10)}function s(e){var t;if(window.webkitRequestFileSystem)window.webkitRequestFileSystem(window.TEMPORARY,1,function(){t=!1},function(e){t=!0});else if(window.indexedDB&&/Firefox/.test(window.navigator.userAgent)){var n;try{n=window.indexedDB.open("test"),n.onerror=function(){return!0}}catch(r){t=!0}void 0===t&&a(function(){return"done"===n.readyState},function(e){e||(t=!n.result)})}else if(u(window.navigator.userAgent)){t=!1;try{window.indexedDB||(t=!0)}catch(r){t=!0}}else if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(r){t=!0}void 0===t&&(t=!1,window.localStorage.removeItem("test"))}a(function(){return void 0!==t},function(n){e(t)})}function c(){var e="-",t=h.appVersion,n=h.userAgent,r=e,o=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(var i in o){var a=o[i];if(a.r.test(n)){r=a.s;break}}var u=e;switch(/Windows/.test(r)&&(/Windows (.*)/.test(r)&&(u=/Windows (.*)/.exec(r)[1]),r="Windows"),r){case"Mac OS X":/Mac OS X (10[\.\_\d]+)/.test(n)&&(u=/Mac OS X (10[\.\_\d]+)/.exec(n)[1]);break;case"Android":/Android ([\.\_\d]+)/.test(n)&&(u=/Android ([\.\_\d]+)/.exec(n)[1]);break;case"iOS":/OS (\d+)_(\d+)_?(\d+)?/.test(n)&&(u=/OS (\d+)_(\d+)_?(\d+)?/.exec(t),u=u[1]+"."+u[2]+"."+(0|u[3]))}return{osName:r,osVersion:u}}function l(e){U.isWebRTCSupported&&(U.isORTCSupported||f(function(t){e(t.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/)?"Local: "+t:"Public: "+t)}))}function f(e){function t(t){var r=/([0-9]{1,3}(\.[0-9]{1,3}){3})/,o=r.exec(t);if(!o)return void console.warn("Could not match IP address in",t);var i=o[1];void 0===n[i]&&e(i),n[i]=!0}var n={},r=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,o=!!window.webkitRTCPeerConnection;if(!r){var i=document.getElementById("iframe");if(!i)throw"NOTE: you need to have an iframe in the page right above the script tag.";var a=i.contentWindow;r=a.RTCPeerConnection||a.mozRTCPeerConnection||a.webkitRTCPeerConnection,o=!!a.webkitRTCPeerConnection}if(r){var u,s={optional:[{RtpDataChannels:!0}]};o&&(u={iceServers:[{urls:"stun:stun.services.mozilla.com"}]},void 0!==U&&U.browser.isFirefox&&38>=U.browser.version&&(u[0]={url:u[0].urls}));var c=new r(u,s);c.onicecandidate=function(e){e.candidate&&t(e.candidate.candidate)},c.createDataChannel(""),c.createOffer(function(e){c.setLocalDescription(e,function(){},function(){})},function(){}),setTimeout(function(){var e=c.localDescription.sdp.split("\n");e.forEach(function(e){0===e.indexOf("a=candidate:")&&t(e)})},1e3)}}function p(e){return M?(!h.enumerateDevices&&window.MediaStreamTrack&&window.MediaStreamTrack.getSources&&(h.enumerateDevices=window.MediaStreamTrack.getSources.bind(window.MediaStreamTrack)),!h.enumerateDevices&&h.enumerateDevices&&(h.enumerateDevices=h.enumerateDevices.bind(h)),h.enumerateDevices?(S=[],O=[],F=[],T=[],void h.enumerateDevices(function(t){t.forEach(function(e){var t={};for(var n in e)t[n]=e[n];"audio"===t.kind&&(t.kind="audioinput"),"video"===t.kind&&(t.kind="videoinput");var r;S.forEach(function(e){e.id===t.id&&e.kind===t.kind&&(r=!0)}),r||(t.deviceId||(t.deviceId=t.id),t.id||(t.id=t.deviceId),t.label?("videoinput"!==t.kind||R||(R=!0),"audioinput"!==t.kind||j||(j=!0)):(t.label="Please invoke getUserMedia once.","https:"!==location.protocol&&document.domain.search&&document.domain.search(/localhost|127.0./g)===-1&&(t.label="HTTPs is required to get label of this "+t.kind+" device.")),"audioinput"===t.kind&&(P=!0,O.indexOf(t)===-1&&O.push(t)),"audiooutput"===t.kind&&(L=!0,F.indexOf(t)===-1&&F.push(t)),"videoinput"===t.kind&&(B=!0,T.indexOf(t)===-1&&T.push(t)),S.indexOf(t)===-1&&S.push(t))}),void 0!==U&&(U.MediaDevices=S,U.hasMicrophone=P,U.hasSpeakers=L,U.hasWebcam=B,U.isWebsiteHasWebcamPermissions=R,U.isWebsiteHasMicrophonePermissions=j,U.audioInputDevices=O,U.audioOutputDevices=F,U.videoInputDevices=T),e&&e()})):void(e&&e())):void(e&&e())}var d="Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45";!function(e){"undefined"==typeof window&&("undefined"==typeof window&&void 0!==n?(n.navigator={userAgent:d,getUserMedia:function(){}},e.window=n):"undefined"==typeof window,"undefined"==typeof document&&(e.document={},document.createElement=document.captureStream=document.mozCaptureStream=function(){return{}}),"undefined"==typeof location&&(e.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(e.screen={width:0,height:0}))}(void 0!==n?n:window);var h=window.navigator;void 0!==h?(void 0!==h.webkitGetUserMedia&&(h.getUserMedia=h.webkitGetUserMedia),void 0!==h.mozGetUserMedia&&(h.getUserMedia=h.mozGetUserMedia)):h={getUserMedia:function(){},userAgent:d};var C=!!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(h.userAgent||""),v=!(h.userAgent.indexOf("Edge")===-1||!h.msSaveOrOpenBlob&&!h.msSaveBlob),m=!!window.opera||h.userAgent.indexOf(" OPR/")>=0,y=void 0!==window.InstallTrigger,g=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,A=!!window.chrome&&!m,b=!!document.documentMode&&!v,w={Android:function(){return h.userAgent.match(/Android/i)},BlackBerry:function(){return h.userAgent.match(/BlackBerry|BB10/i)},iOS:function(){return h.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return h.userAgent.match(/Opera Mini/i)},Windows:function(){return h.userAgent.match(/IEMobile/i)},any:function(){return w.Android()||w.BlackBerry()||w.iOS()||w.Opera()||w.Windows()},getOsName:function(){var e="Unknown OS";return w.Android()&&(e="Android"),w.BlackBerry()&&(e="BlackBerry"),w.iOS()&&(e="iOS"),w.Opera()&&(e="Opera Mini"),w.Windows()&&(e="Windows"),e}},_="Unknown OS",D="Unknown OS Version";if(w.any())_=w.getOsName();else{var x=c();_=x.osName,D=x.osVersion}var k=!1,E=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){!k&&e in document.createElement("canvas")&&(k=!0),!E&&e in document.createElement("video")&&(E=!0)});var S=[],O=[],F=[],T=[];h.mediaDevices&&h.mediaDevices.enumerateDevices&&(h.enumerateDevices=function(e){h.mediaDevices.enumerateDevices().then(e)["catch"](function(){e([])})});var M=!1;"undefined"!=typeof MediaStreamTrack&&"getSources"in MediaStreamTrack?M=!0:h.mediaDevices&&h.mediaDevices.enumerateDevices&&(M=!0);var P=!1,L=!1,B=!1,j=!1,R=!1;p();var U=window.DetectRTC||{};U.browser=i(),s(function(e){U.browser.isPrivateBrowsing=!!e}),U.browser["is"+U.browser.name]=!0;var N=(!!(window.process&&"object"==typeof window.process&&window.process.versions&&window.process.versions["node-webkit"]),!1);["RTCPeerConnection","webkitRTCPeerConnection","mozRTCPeerConnection","RTCIceGatherer"].forEach(function(e){N||e in window&&(N=!0)}),U.isWebRTCSupported=N,U.isORTCSupported="undefined"!=typeof RTCIceGatherer;var I=!1;U.browser.isChrome&&U.browser.version>=35?I=!0:U.browser.isFirefox&&U.browser.version>=34&&(I=!0),"https:"!==location.protocol&&(I=!1),U.isScreenCapturingSupported=I;var W={isSupported:!1,isCreateMediaStreamSourceSupported:!1};["AudioContext","webkitAudioContext","mozAudioContext","msAudioContext"].forEach(function(e){W.isSupported||e in window&&(W.isSupported=!0,"createMediaStreamSource"in window[e].prototype&&(W.isCreateMediaStreamSourceSupported=!0))}),U.isAudioContextSupported=W.isSupported,U.isCreateMediaStreamSourceSupported=W.isCreateMediaStreamSourceSupported;var z=!1;U.browser.isChrome&&U.browser.version>31&&(z=!0),U.isRtpDataChannelsSupported=z;var V=!1;U.browser.isFirefox&&U.browser.version>28?V=!0:U.browser.isChrome&&U.browser.version>25?V=!0:U.browser.isOpera&&U.browser.version>=11&&(V=!0),U.isSctpDataChannelsSupported=V,U.isMobileDevice=C;var q=!1;h.getUserMedia?q=!0:h.mediaDevices&&h.mediaDevices.getUserMedia&&(q=!0),U.browser.isChrome&&U.browser.version>=46&&"https:"!==location.protocol&&(U.isGetUserMediaSupported="Requires HTTPs"),U.isGetUserMediaSupported=q,U.osName=_,U.osVersion=D;var Z="";if(screen.width){var G=screen.width?screen.width:"",Y=screen.height?screen.height:"";Z+=""+G+" x "+Y}U.displayResolution=Z,U.isCanvasSupportsStreamCapturing=k,U.isVideoSupportsStreamCapturing=E,U.DetectLocalIPAddress=l,U.isWebSocketsSupported="WebSocket"in window&&2===window.WebSocket.CLOSING,U.isWebSocketsBlocked=!U.isWebSocketsSupported,U.checkWebSocketsSupport=function(e){e=e||function(){};try{var t=new WebSocket("wss://echo.websocket.org:443/");t.onopen=function(){U.isWebSocketsBlocked=!1,e(),t.close(),t=null},t.onerror=function(){U.isWebSocketsBlocked=!0,e()}}catch(n){U.isWebSocketsBlocked=!0,e()}},U.load=function(e){e=e||function(){},p(e)},U.MediaDevices=S,U.hasMicrophone=P,U.hasSpeakers=L,U.hasWebcam=B,U.isWebsiteHasWebcamPermissions=R,U.isWebsiteHasMicrophonePermissions=j,U.audioInputDevices=O,U.audioOutputDevices=F,U.videoInputDevices=T;var H=!1;"setSinkId"in document.createElement("video")&&(H=!0),U.isSetSinkIdSupported=H;var $=!1;U.browser.isFirefox&&"undefined"!=typeof mozRTCPeerConnection?"getSenders"in mozRTCPeerConnection.prototype&&($=!0):U.browser.isChrome&&"undefined"!=typeof webkitRTCPeerConnection&&"getSenders"in webkitRTCPeerConnection.prototype&&($=!0),U.isRTPSenderReplaceTracksSupported=$;var K=!1;U.browser.isFirefox&&U.browser.version>38&&(K=!0),U.isRemoteStreamProcessingSupported=K;var Q=!1;"undefined"!=typeof MediaStreamTrack&&"applyConstraints"in MediaStreamTrack.prototype&&(Q=!0),U.isApplyConstraintsSupported=Q;var X=!1;U.browser.isFirefox&&U.browser.version>=43&&(X=!0),U.isMultiMonitorScreenCapturingSupported=X,U.isPromisesSupported=!!("Promise"in window),void 0===U&&(window.DetectRTC={});var J=window.MediaStream;void 0===J&&"undefined"!=typeof webkitMediaStream&&(J=webkitMediaStream),U.MediaStream=void 0!==J&&Object.keys(J.prototype),U.MediaStreamTrack="undefined"!=typeof MediaStreamTrack&&Object.keys(MediaStreamTrack.prototype);var ee=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;U.RTCPeerConnection=void 0!==ee&&Object.keys(ee.prototype),window.DetectRTC=U,e.exports=U,r=[],o=function(){return U}.apply(t,r),!(void 0!==o&&(e.exports=o))}()}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(){var e=c["default"].getState(),t=f.captureSelector(e);h(e)&&d.emit("ready"),(0,p.each)(f.isThereAValidCapture(e),function(e,n){e&&d.emit(n+"Capture",t)}),f.allCaptured(e)&&d.emit("complete",t)}t.__esModule=!0;var a=n(76),u=o(a),s=n(19),c=o(s),l=n(24),f=r(l),p=n(17),d=new u["default"];c["default"].subscribe(i);var h=function(e){return e.globals.authenticated};d.getCaptures=function(){return f.captureSelector(c["default"].getState())},t["default"]=d},function(e,t,n){"use strict";t.__esModule=!0,t.captureSelector=t.allCaptured=t.areAllCapturesInvalid=t.hasUnprocessedCaptures=t.unprocessedCaptures=t.validCaptures=t.isThereAValidAndConfirmedCapture=t.isThereAValidCapture=void 0;var r=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{!r&&u["return"]&&u["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(80),i=n(17),a=function(e){return e.captures},u=function(e){return(0,o.createSelector)(a,function(t){return(0,i.mapValues)(t,e)})},s=(t.isThereAValidCapture=u(function(e){
return e.some(function(e){return e.valid})}),t.isThereAValidAndConfirmedCapture=u(function(e){return e.some(function(e){return e.valid&&e.confirmed})})),c=t.validCaptures=u(function(e){return e.filter(function(e){return e.valid})});t.unprocessedCaptures=u(function(e){return e.filter(function(e){return!e.processed})}),t.hasUnprocessedCaptures=u(function(e){return e.some(function(e){return!e.processed})}),t.areAllCapturesInvalid=u(function(e){return e.length>0&&e.every(function(e){return e.processed&&!e.valid})}),t.allCaptured=(0,o.createSelector)(s,function(e){return(0,i.every)(e,function(e){return e})}),t.captureSelector=(0,o.createSelector)(c,function(e){return(0,i.mapKeys)((0,i.mapValues)(e,function(e){var t=r(e,1),n=t[0];return n}),function(e,t){return t+"Capture"})})},function(e,t,n){!function(t,r){e.exports=r(n(4))}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),f=r(l),p=n(2),d=r(p),h="undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input"),C=function(e){function t(e,n){i(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.onClick=r.onClick.bind(r),r.onDragStart=r.onDragStart.bind(r),r.onDragEnter=r.onDragEnter.bind(r),r.onDragLeave=r.onDragLeave.bind(r),r.onDragOver=r.onDragOver.bind(r),r.onDrop=r.onDrop.bind(r),r.onFileDialogCancel=r.onFileDialogCancel.bind(r),r.fileAccepted=r.fileAccepted.bind(r),r.isFileDialogActive=!1,r.state={isDragActive:!1},r}return u(t,e),c(t,[{key:"componentDidMount",value:function(){this.enterCounter=0,document.body.onfocus=this.onFileDialogCancel}},{key:"componentWillUnmount",value:function(){document.body.onfocus=null}},{key:"onDragStart",value:function(e){this.props.onDragStart&&this.props.onDragStart.call(this,e)}},{key:"onDragEnter",value:function(e){e.preventDefault(),++this.enterCounter;var t=e.dataTransfer&&e.dataTransfer.items?e.dataTransfer.items:[],n=this.allFilesAccepted(Array.prototype.slice.call(t));this.setState({isDragActive:n,isDragReject:!n}),this.props.onDragEnter&&this.props.onDragEnter.call(this,e)}},{key:"onDragOver",value:function(e){return e.preventDefault(),e.stopPropagation(),e.dataTransfer.dropEffect="copy",!1}},{key:"onDragLeave",value:function(e){e.preventDefault(),--this.enterCounter>0||(this.setState({isDragActive:!1,isDragReject:!1}),this.props.onDragLeave&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){e.preventDefault(),this.enterCounter=0,this.setState({isDragActive:!1,isDragReject:!1});for(var t=e.dataTransfer?e.dataTransfer.files:e.target.files,n=this.props.multiple?t.length:Math.min(t.length,1),r=[],o=[],i=0;n>i;i++){var a=t[i];this.props.disablePreview||(a.preview=window.URL.createObjectURL(a)),this.fileAccepted(a)&&this.fileMatchSize(a)?r.push(a):o.push(a)}this.props.onDrop&&this.props.onDrop.call(this,r,o,e),o.length>0?this.props.onDropRejected&&this.props.onDropRejected.call(this,o,e):r.length>0&&this.props.onDropAccepted&&this.props.onDropAccepted.call(this,r,e),this.isFileDialogActive=!1}},{key:"onClick",value:function(){this.props.disableClick||this.open()}},{key:"onFileDialogCancel",value:function n(){var n=this.props.onFileDialogCancel,e=this.fileInputEl,t=this.isFileDialogActive;n&&t&&setTimeout(function(){var r=e.files;r.length||(t=!1,n())},300)}},{key:"fileAccepted",value:function(e){return(0,f["default"])(e,this.props.accept)}},{key:"fileMatchSize",value:function(e){return this.props.maxSize>=e.size&&e.size>=this.props.minSize}},{key:"allFilesAccepted",value:function(e){return e.every(this.fileAccepted)}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this,t=this.props,n=t.accept,r=t.activeClassName,i=t.inputProps,a=t.multiple,u=t.name,c=t.rejectClassName,l=o(t,["accept","activeClassName","inputProps","multiple","name","rejectClassName"]),f=l.activeStyle,p=l.className,C=l.rejectStyle,v=l.style,m=o(l,["activeStyle","className","rejectStyle","style"]),y=this.state,g=y.isDragActive,A=y.isDragReject;p=p||"",g&&r&&(p+=" "+r),A&&c&&(p+=" "+c),p||v||f||C||(v={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},f={borderStyle:"solid",backgroundColor:"#eee"},C={borderStyle:"solid",backgroundColor:"#ffdddd"});var b=void 0;b=f&&g?s({},v,f):C&&A?s({},v,C):s({},v);var w={accept:n,type:"file",style:{display:"none"},multiple:h&&a,ref:function(t){return e.fileInputEl=t},onChange:this.onDrop};u&&u.length&&(w.name=u);var _=["disablePreview","disableClick","onDropAccepted","onDropRejected","maxSize","minSize","onFileDialogCancel"],D=s({},m);return _.forEach(function(e){return delete D[e]}),d["default"].createElement("div",s({className:p,style:b},D,{onClick:this.onClick,onDragStart:this.onDragStart,onDragEnter:this.onDragEnter,onDragOver:this.onDragOver,onDragLeave:this.onDragLeave,onDrop:this.onDrop}),this.props.children,d["default"].createElement("input",s({},i,w)))}}]),t}(d["default"].Component);C.defaultProps={disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},C.propTypes={onDrop:d["default"].PropTypes.func,onDropAccepted:d["default"].PropTypes.func,onDropRejected:d["default"].PropTypes.func,onDragStart:d["default"].PropTypes.func,onDragEnter:d["default"].PropTypes.func,onDragLeave:d["default"].PropTypes.func,children:d["default"].PropTypes.node,style:d["default"].PropTypes.object,activeStyle:d["default"].PropTypes.object,rejectStyle:d["default"].PropTypes.object,className:d["default"].PropTypes.string,activeClassName:d["default"].PropTypes.string,rejectClassName:d["default"].PropTypes.string,disablePreview:d["default"].PropTypes.bool,disableClick:d["default"].PropTypes.bool,onFileDialogCancel:d["default"].PropTypes.func,inputProps:d["default"].PropTypes.object,multiple:d["default"].PropTypes.bool,accept:d["default"].PropTypes.string,name:d["default"].PropTypes.string,maxSize:d["default"].PropTypes.number,minSize:d["default"].PropTypes.number},t["default"]=C,e.exports=t["default"]},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";t.__esModule=!0,n(8),n(9),t["default"]=function(e,t){if(e&&t){var n=function(){var n=t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return{v:n.some(function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t})}}();if("object"==typeof n)return n.v}return!0},e.exports=t["default"]},function(e,t){var n=e.exports={version:"1.2.2"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(2),o=n(1),i=n(4),a=n(19),u="prototype",s=function(e,t){return function(){return e.apply(t,arguments)}},c=function(e,t,n){var l,f,p,d,h=e&c.G,C=e&c.P,v=h?r:e&c.S?r[t]||(r[t]={}):(r[t]||{})[u],m=h?o:o[t]||(o[t]={});h&&(n=t);for(l in n)f=!(e&c.F)&&v&&l in v,p=(f?v:n)[l],d=e&c.B&&f?s(p,r):C&&"function"==typeof p?s(Function.call,p):p,v&&!f&&a(v,l,p),m[l]!=p&&i(m,l,d),C&&((m[u]||(m[u]={}))[l]=p)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,e.exports=c},function(e,t,n){var r=n(5),o=n(18);e.exports=n(22)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(20)("wks"),o=n(2).Symbol;e.exports=function(e){return r[e]||(r[e]=o&&o[e]||(o||n(6))("Symbol."+e))}},function(e,t,n){n(26),e.exports=n(1).Array.some},function(e,t,n){n(25),e.exports=n(1).String.endsWith},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){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){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n(7)("match")]=!1,!"/./"[e](t)}catch(o){}}return!0}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(16),o=n(11),i=n(7)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},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(2),o=n(4),i=n(6)("src"),a="toString",u=Function[a],s=(""+u).split(a);n(1).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,a){"function"==typeof n&&(o(n,i,e[t]?""+e[t]:s.join(t+"")),"name"in n||(n.name=t)),e===r?e[t]=n:(a||delete e[t],o(e,t,n))})(Function.prototype,a,function(){return"function"==typeof this&&this[i]||u.call(this)})},function(e,t,n){var r=n(2),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t,n){var r=n(17),o=n(13);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return o(e)+""}},function(e,t,n){e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(23),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(3),o=n(24),i=n(21),a="endsWith",u=""[a];r(r.P+r.F*n(14)(a),"String",{endsWith:function(e){var t=i(this,e,a),n=arguments,r=n.length>1?n[1]:void 0,s=o(t.length),c=void 0===r?s:Math.min(o(r),s),l=e+"";return u?u.call(t,l,c):t.slice(c-l.length,c)===l}})},function(e,t,n){var r=n(5),o=n(3),i=n(1).Array||Array,a={},u=function(e,t){r.each.call(e.split(","),function(e){void 0==t&&e in i?a[e]=i[e]:e in[]&&(a[e]=n(12)(Function.call,[][e],t))})};u("pop,reverse,shift,keys,values,entries",1),u("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),u("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",a)}])},function(t,n){t.exports=e}])})},function(e,t){"use strict";function n(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&o(e)}function r(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||"none"===e.style.display}function o(e){for(;e&&e!==document.body;){if(r(e))return!1;e=e.parentNode}return!0}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var r=isNaN(t);return(r||t>=0)&&n(e,!r)}function a(e){return[].slice.call(e.querySelectorAll("*"),0).filter(function(e){return i(e)})}e.exports=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.connect=t.Provider=void 0;var o=n(91),i=r(o),a=n(92),u=r(a);t.Provider=i["default"],t.connect=u["default"]},function(e,t,n){"use strict";t.__esModule=!0;var r=n(4);t["default"]=r.PropTypes.shape({subscribe:r.PropTypes.func.isRequired,dispatch:r.PropTypes.func.isRequired,getState:r.PropTypes.func.isRequired})},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw Error(e)}catch(t){}}t.__esModule=!0,t["default"]=n},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],o=t.slice(0,-1);return function(){return o.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}t.__esModule=!0,t["default"]=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){function r(){m===v&&(m=v.slice())}function i(){return C}function u(e){if("function"!=typeof e)throw Error("Expected listener to be a function.");var t=!0;return r(),m.push(e),function(){if(t){t=!1,r();var n=m.indexOf(e);m.splice(n,1)}}}function l(e){if(!(0,a["default"])(e))throw Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(y)throw Error("Reducers may not dispatch actions.");try{y=!0,C=h(C,e)}finally{y=!1}for(var t=v=m,n=0;t.length>n;n++)t[n]();return e}function f(e){if("function"!=typeof e)throw Error("Expected the nextReducer to be a function.");h=e,l({type:c.INIT})}function p(){var e,t=u;return e={subscribe:function(e){function n(){e.next&&e.next(i())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[s["default"]]=function(){return this},e}var d;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw Error("Expected the reducer to be a function.");var h=e,C=t,v=[],m=v,y=!1;return l({type:c.INIT}),d={dispatch:l,subscribe:u,getState:i,replaceReducer:f},d[s["default"]]=p,d}t.__esModule=!0,t.ActionTypes=void 0,t["default"]=o;var i=n(16),a=r(i),u=n(101),s=r(u),c=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw Error(e)}catch(t){}}t.__esModule=!0,t["default"]=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(45),n(43),n(37),n(38)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a){"use strict";function u(e){return e&&e.__esModule?e:{"default":e}}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);e.length>t;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var c=u(r),l=u(o),f=u(i),p=u(a),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C=function(e,t){var r=t.type,o=t.options,i=h({},o,e);switch(r){case"document":return[(0,n.h)(l["default"],h({method:"document"},i)),(0,n.h)(f["default"],h({method:"document"},i,{autoCapture:!0}))];case"face":return(0,n.h)(f["default"],h({method:"face"},i,{autoCapture:!1}));case"welcome":return(0,n.h)(c["default"],i);case"complete":return(0,n.h)(p["default"],i);default:return(0,n.h)("div",null,'Step "',r,'" does not exist')}},v=function(e){return{type:e}},m=function(e){return"object"===(void 0===e?"undefined":d(e))},y=function(e){return m(e)?e:v(e)},g=function(e,t){return C(e,y(t))},A=function(e){var t;return(t=[]).concat.apply(t,s(e))},b=function(e,t){return A(t.map(function(t){return g(e,t)}))};t["default"]={stepsToComponents:b},e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(5),n(11),n(10),n(27),n(9),n(34),n(41)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s,c){"use strict";function l(e){return e&&e.__esModule?e:{"default":e}}function f(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function p(e){return C({unprocessedCaptures:b(e),hasUnprocessedCaptures:m(e),areAllCapturesInvalid:y(e),isThereAValidCapture:g(e),validCaptures:A(e)},e.globals)}function d(e){return{actions:(0,i.bindActionCreators)(u.unboundActions,e)}}Object.defineProperty(t,"__esModule",{value:!0});var h=(l(o),l(c)),C=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(e){var t=e.websocketErrorEncountered,r=e.step,o=e.options,i=e.socket,a=f(e,["websocketErrorEncountered","step","options","socket"]),u=r||0,c=C({prevLink:"/step/"+(parseInt(u,10)-1||1)+"/",nextLink:"/step/"+(parseInt(u,10)+1||1)+"/",socket:i,step:r},a),l=function(e){return(0,s.stepsToComponents)(c,e)},p=["welcome","document","face","complete"],d=l(o.steps||p);return(0,n.h)("div",null,(0,n.h)(h["default"],{visible:t}),d[u]||(0,n.h)("div",null,"Error: Step Missing"))},m=u.selectors.hasUnprocessedCaptures,y=u.selectors.areAllCapturesInvalid,g=u.selectors.isThereAValidCapture,A=u.selectors.validCaptures,b=u.selectors.unprocessedCaptures;t["default"]=(0,a.connect)(p,d)(v),e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(5),n(97),n(49),n(11),n(9),n(25),n(14),n(21),n(15),n(39),n(7),n(104)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s,c,l,f,p,d,h){"use strict";function C(e){return e&&e.__esModule?e:{"default":e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var g=C(o),A=C(i),b=(C(a),C(s)),w=C(p),_=C(h),D=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),x=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{!r&&u["return"]&&u["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(e){var t=e.method,r=e.countDownRef;return(0,d.functionalSwitch)(t,{document:function(){return(0,n.h)(c.DocumentOverlay,null)},face:function(){return(0,n.h)("div",null,(0,n.h)(w["default"],{ref:r}),(0,n.h)(l.FaceOverlay,null))}})},S=function(e){var t=e.method,r=e.faceCaptureClick;return(0,d.functionalSwitch)(t,{document:function(){return(0,n.h)(c.DocumentInstructions,null)},face:function(){return(0,n.h)(l.FaceInstructions,{handeClick:r})}})},O=function(e){var t=e.onUploadFallback;return(0,n.h)(b["default"],{onDrop:function(e){var n=k(e,1),r=n[0];return t(r)},className:_["default"].uploadFallback,multiple:!1},(0,n.h)("button",null," Having problems? Click here to upload a file"))},F=function(e){var t=e.method,r=e.onUploadFallback,o=e.onUserMedia,i=e.faceCaptureClick,a=e.countDownRef,u=e.webcamRef;return(0,n.h)("div",null,(0,n.h)("div",{className:_["default"]["video-overlay"]},(0,n.h)(E,{method:t,countDownRef:a}),(0,n.h)(g["default"],x({className:_["default"].video,audio:!1},{onUserMedia:o,ref:u})),(0,n.h)(O,{onUploadFallback:r})),(0,n.h)(S,{method:t,faceCaptureClick:i}))},T=function(e){function t(){var e,r,o,i;v(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return r=o=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),o.webcam=null,o.capture={start:function(){o.capture.stop(),o.interval=setInterval(function(){return o.screenshot()},1e3)},stop:function(){return clearInterval(o.interval)},once:function(){var e={useEasing:!1,useGrouping:!1},t=new A["default"](o.countdown,3,0,0,3,e);t.start(function(){return o.screenshot()})}},o.screenshot=function(){var e=o.props.onScreenshot;(0,f.canvasToBase64Images)(o.webcam.getCanvas(),e)},o.render=function(e){var t=e.method,r=e.onUserMedia,i=e.onUploadFallback;return(0,n.h)(F,{method:t,onUserMedia:r,onUploadFallback:i,faceCaptureClick:o.capture.once,countDownRef:function(e){o.countdown=e},webcamRef:function(e){o.webcam=e}})},i=r,m(o,i)}return y(t,e),D(t,[{key:"webcamMounted",value:function(){var e=this,t=this.props.autoCapture;t&&this.capture.start(),u.events.on("onBeforeClose",function(){e.capture.stop(),(0,r.route)("/",!0)})}},{key:"webcamUnmounted",value:function(){this.capture.stop()}},{key:"componentDidMount",value:function(){this.webcamMounted()}},{key:"componentWillUnmount",value:function(){this.webcamUnmounted()}}]),t}(n.Component);t["default"]=T,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(9),n(11),n(47),n(15),n(36),n(20),n(21),n(14),n(46),n(22),n(105),n(7)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s,c,l,f,p,d,h){"use strict";function C(e){return e&&e.__esModule?e:{"default":e}}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var b=C(o),w=C(i),_=C(u),D=C(s),x=C(f),k=C(p),E=C(d),S=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),F=function(e){function t(e){y(this,t);var n=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onUserMedia=function(){n.setState({hasWebcam:!0,hasWebcamPermission:!0,DetectRTCLoading:!1})},n.validateCapture=function(e,t){var r=n.props,o=r.actions,i=r.method;o.validateCapture({id:e,valid:t,method:i})},n.maxAutomaticCaptures=3,n.handleMessages=function(e){var t=e.is_document;n.validateCapture(e.id,t)},n.handleImage=function(e,t){if(!e)return void console.warn("Cannot handle a null image");var r=n.createPayload(t,e);(0,h.functionalSwitch)(n.props.method,{document:function(){return n.handleDocument(r)},face:function(){return n.handleFace(r)}})},n.createPayload=function(e,t){return{id:(0,w["default"])(),messageType:n.method,image:e,imageLossy:t}},n.createSocketPayload=function(e){var t=e.id,n=e.messageType,r=e.imageLossy,o=e.documentType;return JSON.stringify({id:t,messageType:n,image:r,documentType:o})},n.onUploadFallback=function(e){n.setState({uploadFallback:!0}),n.deleteCaptures(),n.onImageFileSelected(e)},n.onImageFileSelected=function(e){(0,a.fileToBase64)(e,n.handleImage,n.handleImageError)},n.handleImageError=function(){n.setState({fileTypeError:!0})},n.deleteCaptures=function(){var e=n.props,t=e.method,r=e.actions.deleteCaptures;r({method:t})},n.errorType=function(e){var t=e.areAllCapturesInvalid,r=e.method;return n.state.fileTypeError?"INVALID_TYPE":t[r]?"INVALID_CAPTURE":null},n.state={hasWebcamPermission:!1,hasWebcam:k["default"].hasWebcam,DetectRTCLoading:!0,uploadFallback:!1},n}return A(t,e),O(t,[{key:"componentDidMount",value:function(){var e=this;r.events.on("onMessage",function(t){return e.handleMessages(t)}),this.checkWebcamSupport()}},{key:"componentWillUnmount",value:function(){this.setState({uploadFallback:!1})}},{key:"componentWillReceiveProps",value:function(e){var t=e.isThereAValidCapture,n=e.method,r=e.hasUnprocessedCaptures;t[n]&&this.setState({uploadFallback:!1}),r[n]&&this.setState({fileTypeError:!1})}},{key:"checkWebcamSupport",value:function(){var e=this;k["default"].load(function(t){e.setState({DetectRTCLoading:!1,hasWebcam:k["default"].hasWebcam})})}},{key:"supportsWebcam",value:function(){var e=k["default"].isGetUserMediaSupported&&this.state.DetectRTCLoading;return e||this.state.hasWebcam}},{key:"createCapture",value:function(e){var t=this.props,n=t.actions,r=t.method;n.createCapture({method:r,capture:e,maxCaptures:this.maxAutomaticCaptures})}},{key:"handleDocument",value:function(e){var t=this.props,n=t.socket,r=t.method,o=t.documentType,i=t.unprocessedCaptures,a=i[r];return a.length===this.maxAutomaticCaptures?void console.warn("Server response is slow, waiting for responses before uploading more"):(e=S({},e,{documentType:o}),n.sendMessage(this.createSocketPayload(e)),void this.createCapture(e))}},{key:"handleFace",value:function(e){this.createCapture(S({},e,{valid:!0}))}},{key:"render",value:function(e){var t=e.method,r=e.isThereAValidCapture,o=e.useWebcam,i=e.hasUnprocessedCaptures,a=e.areAllCapturesInvalid,u=m(e,["method","isThereAValidCapture","useWebcam","hasUnprocessedCaptures","areAllCapturesInvalid"]),s=!this.state.uploadFallback&&o&&this.supportsWebcam()&&x["default"],c=r[t];return(0,n.h)(P,S({method:t,useCapture:s,hasCaptured:c,onUserMedia:this.onUserMedia,onScreenshot:this.handleImage,onUploadFallback:this.onUploadFallback,onImageSelected:this.onImageFileSelected,uploading:i[t],error:this.errorType({areAllCapturesInvalid:a,method:t})},u))}}]),t}(n.Component);t["default"]=F;var T=function(e){var t=e.method,r=e.useCapture;return(0,h.functionalSwitch)(t,{document:function(){return(0,n.h)(l.DocumentTitle,{useCapture:r})},face:function(){return(0,n.h)(c.FaceTitle,{useCapture:r})}})},M=(0,h.impurify)(function(e){var t=e.method,r=e.useCapture,o=m(e,["method","useCapture"]);return(0,n.h)("div",null,(0,n.h)(T,{method:t,useCapture:r}),r?(0,n.h)(_["default"],S({method:t},o)):(0,n.h)(a.Uploader,S({method:t},o)))}),P=function(e){var t,r=e.method,o=e.useCapture,i=e.hasCaptured,a=m(e,["method","useCapture","hasCaptured"]);return(0,n.h)("div",{className:(0,b["default"])((t={},v(t,E["default"].camera,o&&!i),v(t,E["default"].uploader,!o&&!i),t))},i?(0,n.h)(D["default"],S({method:r},a)):(0,n.h)(M,S({method:r,useCapture:o},a)))};F.defaultProps={useWebcam:!0,method:"document"},e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(5),n(6),n(106)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var u=a(o),s=a(i),c=function(e){var t=e.message,r=e.submessage;return(0,n.h)("div",null,(0,n.h)("div",{className:u["default"].step},(0,n.h)("span",{className:u["default"].icon+" "+s["default"].icon}),(0,n.h)("h1",{className:u["default"].title+" "+u["default"].center},t),(0,n.h)("p",{className:u["default"]["mbottom-large"]+" "+u["default"].center},r)))};c.defaultProps={message:"Verification complete",submessage:"Thank you."},t["default"]=c,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(108)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(r),a=function(){return(0,n.h)("span",{className:i["default"].countdown})};t["default"]=a,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(5),n(110)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=i(o),l=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=[{value:"identity",label:"Identity Card",icon:"icon-identity"},{value:"passport",label:"Passport",icon:"icon-passport"},{value:"license",label:"Driver's License",icon:"icon-license"}],p=function(e){function t(){var e,o,i,s;a(this,t);for(var l=arguments.length,f=Array(l),p=0;l>p;p++)f[p]=arguments[p];return o=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(f))),i.handleSelect=function(e,t){e.stopPropagation();var n=i.props,o=n.setDocumentType,a=n.nextLink;o(t),(0,r.route)(a,!1)},i.renderOption=function(e){return(0,
n.h)("div",{"class":c["default"].option,onClick:function(t){return i.handleSelect(t,e.value)}},(0,n.h)("div",{"class":c["default"].icon+" "+c["default"][e.icon]}),(0,n.h)("span",null,e.label))},s=o,u(i,s)}return s(t,e),l(t,[{key:"render",value:function(){var e=this;return(0,n.h)("div",{"class":c["default"].selector},f.map(function(t){return e.renderOption(t)}))}}]),t}(n.Component);t["default"]=p,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(5),n(111)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=i(o),u=function(e){var t=e.visible;return(0,n.h)("div",{className:a["default"].base+" "+(t?"":a["default"].hidden)},(0,n.h)("div",null,(0,n.h)("p",null,"There was an error connecting to the server"),(0,n.h)("p",null,"Please wait and try again later")))};u.defaultProps={visible:!0},t["default"]=u,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(9),n(113),n(88),n(1),n(7)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a){"use strict";function u(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p,d,h=u(r),C=u(o),v=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=(0,a.getCSSMilisecsValue)(h["default"].modal_animation_duration),y=function(e){var t=e.children;return(0,a.wrapWithClass)(h["default"].content,t)},g=function(e){var t=e.children;return(0,a.wrapWithClass)(h["default"].inner,(0,i.h)(y,null,t))},A=(d=p=function(e){function t(e){c(this,t);var r=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.openModal=function(){n.events.emit("onBeforeOpen"),r.setState({isOpen:!0})},r.onAfterOpen=function(){return n.events.emit("onOpen")},r.onRequestClose=function(){console.log("onRequestClose"),n.events.emit("onBeforeClose"),r.setState({isOpen:!1})},r.onAfterClose=function(){return n.events.emit("onClose")},r.state={isOpen:!1},r}return f(t,e),v(t,[{key:"componentDidMount",value:function(){var e=this.props.buttonId;console.log("componentDidMount",e);var t=document.getElementById(e);return t?(t.addEventListener("click",this.openModal),t.disabled=!1,void this.setState({button:t})):void console.warn("The button with id #"+e+" cannot be found")}},{key:"componentWillUnmount",value:function(){var e=this.state.button;e&&e.removeEventListener("click",this.openModal)}},{key:"render",value:function(){return(0,i.h)(C["default"],{isOpen:this.state.isOpen||this.props.isOpen,onAfterOpen:this.onAfterOpen,onRequestClose:this.onRequestClose,onAfterClose:this.onAfterClose,portalClassName:h["default"].portal,overlayClassName:h["default"].overlay,bodyClassName:h["default"].modalBody,className:h["default"].inner,shouldCloseOnOverlayClick:!0,closeTimeoutMS:m},(0,i.h)(t.WrapperContentImpure,null,this.props.children))}}]),t}(i.Component),p.WrapperContentImpure=(0,a.impurify)(y),d),b=function(e){var t=e.useModal,n=e.children,r=s(e,["useModal","children"]);return t?(0,i.h)(A,r,n):(0,i.h)(g,null,n)},w=function(e){function t(){var e,n,r,o;c(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return n=r=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.render=function(){return(0,i.h)(b,r.props)},o=n,l(r,o)}return f(t,e),v(t,[{key:"componentDidMount",value:function(){this.props.useModal||(n.events.emit("onBeforeOpen"),n.events.emit("onOpen"))}}]),t}(i.Component);t["default"]=w,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(11),n(6),n(114),n(40),n(7)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u){"use strict";function s(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var c=(s(r),s(o)),l=s(i),f=s(a),p=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d=function(e){var t=e.actions.setDocumentType,r=e.data,o=r.renderDropdown,i=r.title,a=r.hint;return(0,n.h)("div",{className:l["default"].wrapper},(0,n.h)("div",{className:l["default"].methods+" "+c["default"].step},(0,n.h)("h1",{className:c["default"].title},i),(0,n.h)("div",null,(0,n.h)("p",{className:c["default"]["mbottom-large"]},a),o&&(0,n.h)(f["default"],p({setDocumentType:t},e)))))};d.defaultProps={data:{hint:"Select the type of document you would like to upload",title:"Verify your identity",renderDropdown:!0}},t["default"]=(0,u.impurify)(d),e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(115)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(r),a=function(){return(0,n.h)("div",{className:i["default"].loader},(0,n.h)("div",{className:i["default"].inner},(0,n.h)("div",null),(0,n.h)("div",null),(0,n.h)("div",null)))};t["default"]=a,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(5),n(6),n(117)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var u=a(o),s=a(i),c=function(e){var t=e.title,o=e.descriptions,i=e.nextButton,a=e.nextLink;return(0,n.h)("div",null,(0,n.h)("div",{className:u["default"].step},(0,n.h)("h1",{className:u["default"].title},t),(0,n.h)("div",{className:s["default"]["mtop-large"]+" "+u["default"]["mbottom-large"]},o.map(function(e){return(0,n.h)("p",null,e)})),(0,n.h)(r.Link,{href:a,className:u["default"].btn+" "+u["default"]["btn-centered"]+" "+u["default"]["btn-primary"]},i)))};c.defaultProps={title:"Open your new bank account",descriptions:["To open a bank account, we will need to verify your identity.","It will only take a couple of minutes."],nextButton:"Verify Identity"},t["default"]=c,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(22)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n);t["default"]=!o["default"].isMobileDevice,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(n,a){o=[e,t],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return Math.random().toString(36).substring(7)};t["default"]=n,e.exports=t["default"]})},function(e,t,n){var r;!function(o){"use strict";function i(e,t,n){var r,o=document.createElement("img");if(o.onerror=function(r){return i.onerror(o,r,e,t,n)},o.onload=function(r){return i.onload(o,r,e,t,n)},i.isInstanceOf("Blob",e)||i.isInstanceOf("File",e))r=o._objectURL=i.createObjectURL(e);else{if("string"!=typeof e)return!1;r=e,n&&n.crossOrigin&&(o.crossOrigin=n.crossOrigin)}return r?(o.src=r,o):i.readFile(e,function(e){var n=e.target;n&&n.result?o.src=n.result:t&&t(e)})}function a(e,t){!e._objectURL||t&&t.noRevoke||(i.revokeObjectURL(e._objectURL),delete e._objectURL)}var u=window.createObjectURL&&window||window.URL&&URL.revokeObjectURL&&URL||window.webkitURL&&webkitURL;i.isInstanceOf=function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"},i.transform=function(e,t,n,r,o){n(i.scale(e,t,o),o)},i.onerror=function(e,t,n,r,o){a(e,o),r&&r.call(e,t)},i.onload=function(e,t,n,r,o){a(e,o),r&&i.transform(e,o,r,n,{})},i.transformCoordinates=function(){},i.getTransformedOptions=function(e,t){var n,r,o,i,a=t.aspectRatio;if(!a)return t;n={};for(r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n.crop=!0,o=e.naturalWidth||e.width,i=e.naturalHeight||e.height,o/i>a?(n.maxWidth=i*a,n.maxHeight=i):(n.maxWidth=o,n.maxHeight=o/a),n},i.renderImageToCanvas=function(e,t,n,r,o,i,a,u,s,c){return e.getContext("2d").drawImage(t,n,r,o,i,a,u,s,c),e},i.hasCanvasOption=function(e){return e.canvas||e.crop||!!e.aspectRatio},i.scale=function(e,t,n){function r(){var e=Math.max((s||b)/b,(c||w)/w);e>1&&(b*=e,w*=e)}function o(){var e=Math.min((a||b)/b,(u||w)/w);1>e&&(b*=e,w*=e)}t=t||{};var a,u,s,c,l,f,p,d,h,C,v,m=document.createElement("canvas"),y=e.getContext||i.hasCanvasOption(t)&&m.getContext,g=e.naturalWidth||e.width,A=e.naturalHeight||e.height,b=g,w=A;if(y&&(t=i.getTransformedOptions(e,t,n),p=t.left||0,d=t.top||0,t.sourceWidth?(l=t.sourceWidth,void 0!==t.right&&void 0===t.left&&(p=g-l-t.right)):l=g-p-(t.right||0),t.sourceHeight?(f=t.sourceHeight,void 0!==t.bottom&&void 0===t.top&&(d=A-f-t.bottom)):f=A-d-(t.bottom||0),b=l,w=f),a=t.maxWidth,u=t.maxHeight,s=t.minWidth,c=t.minHeight,y&&a&&u&&t.crop?(b=a,w=u,v=l/f-a/u,0>v?(f=u*l/a,void 0===t.top&&void 0===t.bottom&&(d=(A-f)/2)):v>0&&(l=a*f/u,void 0===t.left&&void 0===t.right&&(p=(g-l)/2))):((t.contain||t.cover)&&(s=a=a||s,c=u=u||c),t.cover?(o(),r()):(r(),o())),y){if(h=t.pixelRatio,h>1&&(m.style.width=b+"px",m.style.height=w+"px",b*=h,w*=h,m.getContext("2d").scale(h,h)),C=t.downsamplingRatio,C>0&&1>C&&l>b&&f>w)for(;l*C>b;)m.width=l*C,m.height=f*C,i.renderImageToCanvas(m,e,p,d,l,f,0,0,m.width,m.height),l=m.width,f=m.height,e=document.createElement("canvas"),e.width=l,e.height=f,i.renderImageToCanvas(e,m,0,0,l,f,0,0,l,f);return m.width=b,m.height=w,i.transformCoordinates(m,t),i.renderImageToCanvas(m,e,p,d,l,f,0,0,b,w)}return e.width=b,e.height=w,e},i.createObjectURL=function(e){return!!u&&u.createObjectURL(e)},i.revokeObjectURL=function(e){return!!u&&u.revokeObjectURL(e)},i.readFile=function(e,t,n){if(window.FileReader){var r=new FileReader;if(r.onload=r.onerror=t,n=n||"readAsDataURL",r[n])return r[n](e),r}return!1},r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(window)},function(e,t,n){var r,o;!function(i,a){r=a,o="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==o&&(e.exports=o))}(this,function(e,t,n){var r=function(e,t,n,r,o,i){for(var a=0,u=["webkit","moz","ms","o"],s=0;u.length>s&&!window.requestAnimationFrame;++s)window.requestAnimationFrame=window[u[s]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[u[s]+"CancelAnimationFrame"]||window[u[s]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var n=(new Date).getTime(),r=Math.max(0,16-(n-a)),o=window.setTimeout(function(){e(n+r)},r);return a=n+r,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)});var c=this;c.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:null,formattingFn:null};for(var l in i)i.hasOwnProperty(l)&&(c.options[l]=i[l]);""===c.options.separator&&(c.options.useGrouping=!1),c.options.prefix||(c.options.prefix=""),c.options.suffix||(c.options.suffix=""),c.d="string"==typeof e?document.getElementById(e):e,c.startVal=+t,c.endVal=+n,c.countDown=c.startVal>c.endVal,c.frameVal=c.startVal,c.decimals=Math.max(0,r||0),c.dec=Math.pow(10,c.decimals),c.duration=1e3*+o||2e3,c.formatNumber=function(e){e=e.toFixed(c.decimals),e+="";var t,n,r,o;if(t=e.split("."),n=t[0],r=t.length>1?c.options.decimal+t[1]:"",o=/(\d+)(\d{3})/,c.options.useGrouping)for(;o.test(n);)n=n.replace(o,"$1"+c.options.separator+"$2");return c.options.prefix+n+r+c.options.suffix},c.easeOutExpo=function(e,t,n,r){return n*(-Math.pow(2,-10*e/r)+1)*1024/1023+t},c.easingFn=c.options.easingFn?c.options.easingFn:c.easeOutExpo,c.formattingFn=c.options.formattingFn?c.options.formattingFn:c.formatNumber,c.version=function(){return"1.7.1"},c.printValue=function(e){var t=c.formattingFn(e);"INPUT"===c.d.tagName?this.d.value=t:"text"===c.d.tagName||"tspan"===c.d.tagName?this.d.textContent=t:this.d.innerHTML=t},c.count=function(e){c.startTime||(c.startTime=e),c.timestamp=e;var t=e-c.startTime;c.remaining=c.duration-t,c.frameVal=c.options.useEasing?c.countDown?c.startVal-c.easingFn(t,0,c.startVal-c.endVal,c.duration):c.easingFn(t,c.startVal,c.endVal-c.startVal,c.duration):c.countDown?c.startVal-(c.startVal-c.endVal)*(t/c.duration):c.startVal+(c.endVal-c.startVal)*(t/c.duration),c.frameVal=c.countDown?c.endVal>c.frameVal?c.endVal:c.frameVal:c.frameVal>c.endVal?c.endVal:c.frameVal,c.frameVal=Math.round(c.frameVal*c.dec)/c.dec,c.printValue(c.frameVal),c.duration>t?c.rAF=requestAnimationFrame(c.count):c.callback&&c.callback()},c.start=function(e){return c.callback=e,c.rAF=requestAnimationFrame(c.count),!1},c.pauseResume=function(){c.paused?(c.paused=!1,delete c.startTime,c.duration=c.remaining,c.startVal=c.frameVal,requestAnimationFrame(c.count)):(c.paused=!0,cancelAnimationFrame(c.rAF))},c.reset=function(){c.paused=!1,delete c.startTime,c.startVal=t,cancelAnimationFrame(c.rAF),c.printValue(c.startVal)},c.update=function(e){cancelAnimationFrame(c.rAF),c.paused=!1,delete c.startTime,c.startVal=c.frameVal,c.endVal=+e,c.countDown=c.startVal>c.endVal,c.rAF=requestAnimationFrame(c.count)},c.printValue(c.startVal)};return r})},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Camera-video-overlay{position:relative;overflow:hidden;margin-top:-10px}.onfido-sdk-ui-Camera-video{max-width:100%;height:auto!important;display:block}.onfido-sdk-ui-Camera-uploadFallback{display:block;position:absolute;bottom:0;right:0;padding-right:7px;padding-bottom:3px}.onfido-sdk-ui-Camera-uploadFallback button{background:none;border:none;display:inline;font:inherit;margin:0;padding:0;outline:none;outline-offset:0;cursor:pointer;color:#fff}.onfido-sdk-ui-Camera-uploadFallback button:hover{text-decoration:underline}","",{version:3,sources:["/./components/Camera/style.css"],names:[],mappings:"AAAA,oCAAe,kBAAkB,gBAAgB,gBAAgB,CAAC,4BAAO,eAAe,sBAAuB,aAAa,CAAC,qCAAgB,cAAc,kBAAkB,SAAS,QAAQ,kBAAkB,kBAAkB,CAAC,4CAAuB,gBAAgB,YAAY,eAAe,aAAa,SAAS,UAAU,aAAa,iBAAiB,eAAe,UAAW,CAAC,kDAA6B,yBAAyB,CAAC",file:"style.css",sourcesContent:[".video-overlay{position:relative;overflow:hidden;margin-top:-10px}.video{max-width:100%;height:auto !important;display:block}.uploadFallback{display:block;position:absolute;bottom:0;right:0;padding-right:7px;padding-bottom:3px}.uploadFallback button{background:none;border:none;display:inline;font:inherit;margin:0;padding:0;outline:none;outline-offset:0;cursor:pointer;color:white}.uploadFallback button:hover{text-decoration:underline}"],sourceRoot:"webpack://"}]),t.locals={"video-overlay":"onfido-sdk-ui-Camera-video-overlay",video:"onfido-sdk-ui-Camera-video",uploadFallback:"onfido-sdk-ui-Camera-uploadFallback"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Capture-camera,.onfido-sdk-ui-Capture-uploader{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}","",{version:3,sources:["/./components/Capture/style.css"],names:[],mappings:"AAAA,8DAAkB,oBAAA,aAAa,0BAAA,sBAAsB,iBAAiB,CAAC",file:"style.css",sourcesContent:[".camera,.uploader{display:flex;flex-direction:column;position:relative}"],sourceRoot:"webpack://"}]),t.locals={camera:"onfido-sdk-ui-Capture-camera",uploader:"onfido-sdk-ui-Capture-uploader"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Complete-icon{height:4rem;background-size:contain;background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2247px%22%20height%3D%2243px%22%20viewBox%3D%220%200%2047%2043%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EE5C2839F-CF3B-4CE6-BC83-EE4E41D1604F%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2208%22%20transform%3D%22translate%28-697.000000%2C%20-360.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20fill%3D%22%23F3F3F3%22%20x%3D%22470%22%20y%3D%22213%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M713.693755%2C402.826033%20C712.867822%2C402.826033%20712.093511%2C402.516308%20711.525682%2C401.94848%20L698.001041%2C388.010872%20C696.710522%2C386.823594%20696.658901%2C384.810384%20697.8978%2C383.519865%20C699.085077%2C382.229346%20701.098287%2C382.177725%20702.388806%2C383.416624%20L712.299994%2C390.488669%20C712.867822%2C391.004877%20713.745376%2C390.901635%20714.209962%2C390.282186%20L737.697412%2C361.271314%20C738.729828%2C359.877553%20740.743038%2C359.567829%20742.136798%2C360.651865%20C743.530559%2C361.68428%20743.840284%2C363.69749%20742.756248%2C365.091251%20L716.223172%2C401.535513%20C715.655344%2C402.258204%20714.829412%2C402.722791%20713.951859%2C402.774412%20C713.848617%2C402.826033%20713.796996%2C402.826033%20713.693755%2C402.826033%22%20id%3D%22Fill-1%22%20fill%3D%22%239B9B9B%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E');margin-top:1.5rem;margin-bottom:1.5rem}","",{version:3,sources:["/./components/Complete/style.css"],names:[],mappings:"AAAA,6BAAM,YAAY,wBAAwB,s5DAA4C,kBAAkB,oBAAoB,CAAC",file:"style.css",sourcesContent:[".icon{height:4rem;background-size:contain;background-image:url('assets/complete.svg');margin-top:1.5rem;margin-bottom:1.5rem}"],sourceRoot:"webpack://"}]),t.locals={icon:"onfido-sdk-ui-Complete-icon"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Confirm-captures{margin-bottom:1.5rem}.onfido-sdk-ui-Confirm-image{max-width:92%;display:block;margin:0 auto}.onfido-sdk-ui-Confirm-btn-outline{background-color:transparent;border:1px solid #ccc;color:#9b9b9b}.onfido-sdk-ui-Confirm-actions{padding:0}","",{version:3,sources:["/./components/Confirm/style.css"],names:[],mappings:"AAAA,gCAAU,oBAAoB,CAAC,6BAAO,cAAc,cAAc,aAAa,CAAC,mCAAa,6BAA6B,sBAAsB,aAAa,CAAC,+BAAS,SAAS,CAAC",file:"style.css",sourcesContent:[".captures{margin-bottom:1.5rem}.image{max-width:92%;display:block;margin:0 auto}.btn-outline{background-color:transparent;border:solid 1px #ccc;color:#9b9b9b}.actions{padding:0}"],sourceRoot:"webpack://"}]),t.locals={captures:"onfido-sdk-ui-Confirm-captures",image:"onfido-sdk-ui-Confirm-image","btn-outline":"onfido-sdk-ui-Confirm-btn-outline",actions:"onfido-sdk-ui-Confirm-actions"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Countdown-countdown{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;text-shadow:0 0 .35rem rgba(0,0,0,.7);font-size:6rem;line-height:1}","",{version:3,sources:["/./components/Countdown/style.css"],names:[],mappings:"AAAA,mCAAW,kBAAkB,QAAQ,SAAS,+BAAgC,WAAW,sCAAuC,eAAe,aAAa,CAAC",file:"style.css",sourcesContent:[".countdown{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:#fff;text-shadow:0 0 .35rem rgba(0,0,0,0.7);font-size:6rem;line-height:1}"],sourceRoot:"webpack://"}]),t.locals={countdown:"onfido-sdk-ui-Countdown-countdown"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Document-capture{width:100%;padding:1rem 1.5rem 3rem;color:#9b9b9b;display:-ms-flexbox;display:flex}.onfido-sdk-ui-Document-capture p{margin:0}.onfido-sdk-ui-Document-rectangle{width:80%;height:67.94055202%}","",{version:3,sources:["/./components/Document/style.css"],names:[],mappings:"AAAA,gCAAS,WAAW,yBAAyB,cAAc,oBAAA,YAAY,CAAC,kCAAW,QAAQ,CAAC,kCAAW,UAAU,mBAAmB,CAAC",file:"style.css",sourcesContent:[".capture{width:100%;padding:1rem 1.5rem 3rem;color:#9b9b9b;display:flex}.capture p{margin:0}.rectangle{width:80%;height:67.94055202%}"],sourceRoot:"webpack://"}]),t.locals={capture:"onfido-sdk-ui-Document-capture",rectangle:"onfido-sdk-ui-Document-rectangle"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-DocumentSelector-option{cursor:pointer;float:left;width:33.33333333%;padding:0 9px;font-size:12px;letter-spacing:.2px}@media (max-width:30em){.onfido-sdk-ui-DocumentSelector-option{float:none;margin:2rem auto;width:100%}}.onfido-sdk-ui-DocumentSelector-icon{width:124px;max-width:100%;margin:0 auto 1rem;background-position:50% 50%;background-repeat:no-repeat;background-size:50%}.onfido-sdk-ui-DocumentSelector-icon:after{content:\"\";display:block;padding-bottom:100%;padding-top:2px;border:1px solid #dadada;border-radius:5px}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon:after{border:2px solid #20c7a0;padding-top:0;position:relative}.onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-passport{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2263px%22%20height%3D%2289px%22%20viewBox%3D%220%200%2063%2089%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EGroup%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Desktop-HD%22%20transform%3D%22translate%28-456.000000%2C%20-322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group%22%20transform%3D%22translate%28456.000000%2C%20322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M37.322%2C37.1444826%20L32.699%2C37.1444826%20L32.699%2C43.3274826%20L38.493%2C43.3274826%20C38.417%2C41.1514826%2038.012%2C39.0754826%2037.322%2C37.1444826%20L37.322%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M32.699%2C30.0954826%20L32.699%2C35.6144826%20L36.706%2C35.6144826%20C35.709%2C33.4394826%2034.331%2C31.5544826%2032.699%2C30.0954826%20L32.699%2C30.0954826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M38.494%2C44.8534826%20L32.699%2C44.8534826%20L32.699%2C51.0384826%20L37.323%2C51.0384826%20C38.012%2C49.1074826%2038.417%2C47.0314826%2038.494%2C44.8534826%20L38.494%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C58.0874826%20L31.183%2C52.5684826%20L27.176%2C52.5684826%20C28.173%2C54.7434826%2029.549%2C56.6284826%2031.183%2C58.0874826%20L31.183%2C58.0874826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M36.706%2C52.5674826%20L32.699%2C52.5674826%20L32.699%2C58.0864826%20C34.333%2C56.6284826%2035.709%2C54.7434826%2036.706%2C52.5674826%20L36.706%2C52.5674826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M43.112%2C35.6154826%20C41.259%2C33.1724826%2038.46%2C31.1984826%2035.186%2C30.4614826%20C36.454%2C31.9304826%2037.554%2C33.7034826%2038.354%2C35.6154826%20L43.112%2C35.6154826%20L43.112%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M35.187%2C57.7224826%20C38.46%2C56.9844826%2041.26%2C55.0114826%2043.113%2C52.5684826%20L38.356%2C52.5684826%20C37.555%2C54.4804826%2036.454%2C56.2534826%2035.187%2C57.7224826%20L35.187%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C44.8534826%20C39.938%2C47.0284826%2039.561%2C49.1084826%2038.928%2C51.0314826%20L44.116%2C51.0364826%20C45.168%2C49.1964826%2045.815%2C47.0944826%2045.936%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C51.0384826%20L31.184%2C51.0384826%20L31.184%2C44.8534826%20L25.39%2C44.8534826%20C25.465%2C47.0314826%2025.87%2C49.1074826%2026.56%2C51.0384826%20L26.56%2C51.0384826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C43.3294826%20L45.936%2C43.3294826%20C45.816%2C41.0864826%2045.169%2C38.9864826%2044.116%2C37.1444826%20L38.928%2C37.1504826%20C39.559%2C39.0744826%2039.937%2C41.1534826%2040.009%2C43.3294826%20L40.009%2C43.3294826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.873%2C44.8534826%20L17.946%2C44.8534826%20L17.946%2C44.8534826%20C18.066%2C47.0944826%2018.713%2C49.1964826%2019.766%2C51.0384826%20L24.954%2C51.0334826%20C24.321%2C49.1084826%2023.945%2C47.0274826%2023.873%2C44.8534826%20L23.873%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M24.953%2C37.1494826%20L19.765%2C37.1434826%20C18.713%2C38.9854826%2018.066%2C41.0864826%2017.945%2C43.3284826%20L23.872%2C43.3284826%20C23.945%2C41.1534826%2024.321%2C39.0744826%2024.953%2C37.1494826%20L24.953%2C37.1494826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C37.1444826%20C25.872%2C39.0744826%2025.465%2C41.1514826%2025.389%2C43.3274826%20L31.183%2C43.3274826%20L31.183%2C37.1444826%20L26.56%2C37.1444826%20L26.56%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C57.7224826%20C27.428%2C56.2534826%2026.327%2C54.4804826%2025.527%2C52.5684826%20L20.77%2C52.5684826%20C22.623%2C55.0114826%2025.424%2C56.9844826%2028.695%2C57.7224826%20L28.695%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C30.4604826%20C25.422%2C31.1984826%2022.623%2C33.1714826%2020.769%2C35.6144826%20L25.526%2C35.6144826%20C26.327%2C33.7024826%2027.428%2C31.9284826%2028.695%2C30.4604826%20L28.695%2C30.4604826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C35.6154826%20L31.183%2C30.0964826%20C29.551%2C31.5564826%2028.173%2C33.4414826%2027.176%2C35.6154826%20L31.183%2C35.6154826%20L31.183%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M59.117%2C0.0914825785%20L4.765%2C0.0914825785%20C2.62%2C0.0914825785%200.882%2C1.82948258%200.882%2C3.97348258%20L0.882%2C84.2084826%20C0.882%2C86.3534826%202.62%2C88.0914826%204.765%2C88.0914826%20L59.118%2C88.0914826%20C61.262%2C88.0914826%2063%2C86.3534826%2063%2C84.2094826%20L63%2C3.97348258%20C63%2C1.82948258%2061.262%2C0.0914825785%2059.117%2C0.0914825785%20L59.117%2C0.0914825785%20Z%20M31.941%2C28.5624826%20C40.517%2C28.5624826%2047.47%2C35.5154826%2047.47%2C44.0914826%20C47.47%2C52.6674826%2040.517%2C59.6204826%2031.941%2C59.6204826%20C23.365%2C59.6204826%2016.412%2C52.6674826%2016.412%2C44.0914826%20C16.412%2C35.5154826%2023.365%2C28.5624826%2031.941%2C28.5624826%20L31.941%2C28.5624826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2272.3217781%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2277.4493031%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2216%22%20y%3D%228.61571707%22%20width%3D%2231%22%20height%3D%222.50948416%22%20rx%3D%221.25474208%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2221.5760711%22%20y%3D%2214.9430433%22%20width%3D%2220.7543312%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-passport{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2263px%22%20height%3D%2289px%22%20viewBox%3D%220%200%2063%2089%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EGroup%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Desktop-HD%22%20transform%3D%22translate%28-456.000000%2C%20-322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group%22%20transform%3D%22translate%28456.000000%2C%20322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M37.322%2C37.1444826%20L32.699%2C37.1444826%20L32.699%2C43.3274826%20L38.493%2C43.3274826%20C38.417%2C41.1514826%2038.012%2C39.0754826%2037.322%2C37.1444826%20L37.322%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M32.699%2C30.0954826%20L32.699%2C35.6144826%20L36.706%2C35.6144826%20C35.709%2C33.4394826%2034.331%2C31.5544826%2032.699%2C30.0954826%20L32.699%2C30.0954826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M38.494%2C44.8534826%20L32.699%2C44.8534826%20L32.699%2C51.0384826%20L37.323%2C51.0384826%20C38.012%2C49.1074826%2038.417%2C47.0314826%2038.494%2C44.8534826%20L38.494%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C58.0874826%20L31.183%2C52.5684826%20L27.176%2C52.5684826%20C28.173%2C54.7434826%2029.549%2C56.6284826%2031.183%2C58.0874826%20L31.183%2C58.0874826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M36.706%2C52.5674826%20L32.699%2C52.5674826%20L32.699%2C58.0864826%20C34.333%2C56.6284826%2035.709%2C54.7434826%2036.706%2C52.5674826%20L36.706%2C52.5674826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M43.112%2C35.6154826%20C41.259%2C33.1724826%2038.46%2C31.1984826%2035.186%2C30.4614826%20C36.454%2C31.9304826%2037.554%2C33.7034826%2038.354%2C35.6154826%20L43.112%2C35.6154826%20L43.112%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M35.187%2C57.7224826%20C38.46%2C56.9844826%2041.26%2C55.0114826%2043.113%2C52.5684826%20L38.356%2C52.5684826%20C37.555%2C54.4804826%2036.454%2C56.2534826%2035.187%2C57.7224826%20L35.187%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C44.8534826%20C39.938%2C47.0284826%2039.561%2C49.1084826%2038.928%2C51.0314826%20L44.116%2C51.0364826%20C45.168%2C49.1964826%2045.815%2C47.0944826%2045.936%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C51.0384826%20L31.184%2C51.0384826%20L31.184%2C44.8534826%20L25.39%2C44.8534826%20C25.465%2C47.0314826%2025.87%2C49.1074826%2026.56%2C51.0384826%20L26.56%2C51.0384826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C43.3294826%20L45.936%2C43.3294826%20C45.816%2C41.0864826%2045.169%2C38.9864826%2044.116%2C37.1444826%20L38.928%2C37.1504826%20C39.559%2C39.0744826%2039.937%2C41.1534826%2040.009%2C43.3294826%20L40.009%2C43.3294826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.873%2C44.8534826%20L17.946%2C44.8534826%20L17.946%2C44.8534826%20C18.066%2C47.0944826%2018.713%2C49.1964826%2019.766%2C51.0384826%20L24.954%2C51.0334826%20C24.321%2C49.1084826%2023.945%2C47.0274826%2023.873%2C44.8534826%20L23.873%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M24.953%2C37.1494826%20L19.765%2C37.1434826%20C18.713%2C38.9854826%2018.066%2C41.0864826%2017.945%2C43.3284826%20L23.872%2C43.3284826%20C23.945%2C41.1534826%2024.321%2C39.0744826%2024.953%2C37.1494826%20L24.953%2C37.1494826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C37.1444826%20C25.872%2C39.0744826%2025.465%2C41.1514826%2025.389%2C43.3274826%20L31.183%2C43.3274826%20L31.183%2C37.1444826%20L26.56%2C37.1444826%20L26.56%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C57.7224826%20C27.428%2C56.2534826%2026.327%2C54.4804826%2025.527%2C52.5684826%20L20.77%2C52.5684826%20C22.623%2C55.0114826%2025.424%2C56.9844826%2028.695%2C57.7224826%20L28.695%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C30.4604826%20C25.422%2C31.1984826%2022.623%2C33.1714826%2020.769%2C35.6144826%20L25.526%2C35.6144826%20C26.327%2C33.7024826%2027.428%2C31.9284826%2028.695%2C30.4604826%20L28.695%2C30.4604826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C35.6154826%20L31.183%2C30.0964826%20C29.551%2C31.5564826%2028.173%2C33.4414826%2027.176%2C35.6154826%20L31.183%2C35.6154826%20L31.183%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M59.117%2C0.0914825785%20L4.765%2C0.0914825785%20C2.62%2C0.0914825785%200.882%2C1.82948258%200.882%2C3.97348258%20L0.882%2C84.2084826%20C0.882%2C86.3534826%202.62%2C88.0914826%204.765%2C88.0914826%20L59.118%2C88.0914826%20C61.262%2C88.0914826%2063%2C86.3534826%2063%2C84.2094826%20L63%2C3.97348258%20C63%2C1.82948258%2061.262%2C0.0914825785%2059.117%2C0.0914825785%20L59.117%2C0.0914825785%20Z%20M31.941%2C28.5624826%20C40.517%2C28.5624826%2047.47%2C35.5154826%2047.47%2C44.0914826%20C47.47%2C52.6674826%2040.517%2C59.6204826%2031.941%2C59.6204826%20C23.365%2C59.6204826%2016.412%2C52.6674826%2016.412%2C44.0914826%20C16.412%2C35.5154826%2023.365%2C28.5624826%2031.941%2C28.5624826%20L31.941%2C28.5624826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2272.3217781%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2277.4493031%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2216%22%20y%3D%228.61571707%22%20width%3D%2231%22%20height%3D%222.50948416%22%20rx%3D%221.25474208%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2221.5760711%22%20y%3D%2214.9430433%22%20width%3D%2220.7543312%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-identity{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EB1819F19-251B-4135-8B81-3983F35580E2%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-530.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-4%22%20transform%3D%22translate%28501.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%23DADADA%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%20fill%3D%22%23DADADA%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.28305865%2C0.313063783%20C2.08305865%2C0.313063783%200.283058647%2C2.11306378%200.283058647%2C4.31306378%20L0.283058647%2C47.2130638%20C0.283058647%2C49.4130638%202.08305865%2C51.2130638%204.28305865%2C51.2130638%20L77.5830586%2C51.2130638%20C79.7830586%2C51.2130638%2081.5830586%2C49.4130638%2081.5830586%2C47.2130638%20L81.5830586%2C4.31306378%20C81.5830586%2C2.11306378%2079.7830586%2C0.313063783%2077.5830586%2C0.313063783%20L4.28305865%2C0.313063783%20Z%20M21.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20C21.4830586%2C37.6130638%209.98305865%2C37.6130638%209.98305865%2C37.6130638%20L10.1830586%2C36.4130638%20C10.6830586%2C35.1130638%2010.6830586%2C34.2130638%2012.0830586%2C33.6130638%20C13.8830586%2C32.8130638%2016.7830586%2C32.0130638%2017.7830586%2C31.1130638%20C18.2830586%2C30.6130638%2018.3830586%2C30.1130638%2018.3830586%2C29.5130638%20C18.3830586%2C29.3130638%2018.3830586%2C29.1130638%2018.2830586%2C28.9130638%20C17.4830586%2C28.6130638%2016.9830586%2C27.0130638%2016.7830586%2C26.5130638%20C16.4830586%2C26.4130638%2016.2830586%2C26.3130638%2016.1830586%2C26.1130638%20C15.2830586%2C24.6130638%2014.8830586%2C23.5130638%2015.7830586%2C23.4130638%20C15.7830586%2C23.4130638%2015.6830586%2C22.9130638%2015.6830586%2C22.0130638%20L15.1830586%2C20.5130638%20C15.1830586%2C20.5130638%2015.1830586%2C20.1130638%2015.5830586%2C19.0130638%20C15.9830586%2C17.8130638%2015.4830586%2C16.9130638%2017.1830586%2C17.1130638%20C17.1830586%2C17.1130638%2016.9830586%2C15.4130638%2021.5830586%2C14.3130638%20C26.1830586%2C13.2130638%2024.8830586%2C15.8130638%2027.2830586%2C17.0130638%20C27.2830586%2C17.0130638%2027.6830586%2C18.1130638%2026.7830586%2C18.9130638%20C27.5830586%2C21.1130638%2027.0830586%2C23.5130638%2027.0830586%2C23.5130638%20C27.8830586%2C23.6130638%2027.5830586%2C24.7130638%2026.6830586%2C26.2130638%20C26.5830586%2C26.4130638%2026.2830586%2C26.5130638%2026.0830586%2C26.6130638%20C25.8830586%2C27.1130638%2025.3830586%2C28.7130638%2024.5830586%2C29.0130638%20C24.4830586%2C29.2130638%2024.4830586%2C29.4130638%2024.4830586%2C29.6130638%20C24.4830586%2C30.2130638%2024.5830586%2C30.7130638%2025.0830586%2C31.2130638%20C26.0830586%2C32.2130638%2028.9830586%2C33.0130638%2030.7830586%2C33.7130638%20C32.1830586%2C34.3130638%2032.1830586%2C35.2130638%2032.6830586%2C36.5130638%20L32.8830586%2C37.7130638%20C32.7830586%2C37.6130638%2021.2830586%2C37.6130638%2021.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20Z%20M38.3830586%2C19.1130638%20C38.3830586%2C18.8369214%2038.6140146%2C18.6130638%2038.8809394%2C18.6130638%20L68.7851779%2C18.6130638%20C69.0601498%2C18.6130638%2069.2830586%2C18.8449974%2069.2830586%2C19.1130638%20L69.2830586%2C19.1130638%20C69.2830586%2C19.3892062%2069.0521027%2C19.6130638%2068.7851779%2C19.6130638%20L38.8809394%2C19.6130638%20C38.6059675%2C19.6130638%2038.3830586%2C19.3811302%2038.3830586%2C19.1130638%20L38.3830586%2C19.1130638%20Z%20M38.3830586%2C25.7630638%20C38.3830586%2C25.4869214%2038.6140146%2C25.2630638%2038.8809394%2C25.2630638%20L68.7851779%2C25.2630638%20C69.0601498%2C25.2630638%2069.2830586%2C25.4949974%2069.2830586%2C25.7630638%20L69.2830586%2C25.7630638%20C69.2830586%2C26.0392062%2069.0521027%2C26.2630638%2068.7851779%2C26.2630638%20L38.8809394%2C26.2630638%20C38.6059675%2C26.2630638%2038.3830586%2C26.0311302%2038.3830586%2C25.7630638%20L38.3830586%2C25.7630638%20Z%20M38.3830586%2C32.4130638%20C38.3830586%2C32.1369214%2038.6148942%2C31.9130638%2038.8918617%2C31.9130638%20L54.2742556%2C31.9130638%20C54.5552598%2C31.9130638%2054.7830586%2C32.1449974%2054.7830586%2C32.4130638%20L54.7830586%2C32.4130638%20C54.7830586%2C32.6892062%2054.5512231%2C32.9130638%2054.2742556%2C32.9130638%20L38.8918617%2C32.9130638%20C38.6108575%2C32.9130638%2038.3830586%2C32.6811302%2038.3830586%2C32.4130638%20L38.3830586%2C32.4130638%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-identity{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EB1819F19-251B-4135-8B81-3983F35580E2%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-530.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-4%22%20transform%3D%22translate%28501.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%2320c7a0%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%20fill%3D%22%2320c7a0%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.28305865%2C0.313063783%20C2.08305865%2C0.313063783%200.283058647%2C2.11306378%200.283058647%2C4.31306378%20L0.283058647%2C47.2130638%20C0.283058647%2C49.4130638%202.08305865%2C51.2130638%204.28305865%2C51.2130638%20L77.5830586%2C51.2130638%20C79.7830586%2C51.2130638%2081.5830586%2C49.4130638%2081.5830586%2C47.2130638%20L81.5830586%2C4.31306378%20C81.5830586%2C2.11306378%2079.7830586%2C0.313063783%2077.5830586%2C0.313063783%20L4.28305865%2C0.313063783%20Z%20M21.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20C21.4830586%2C37.6130638%209.98305865%2C37.6130638%209.98305865%2C37.6130638%20L10.1830586%2C36.4130638%20C10.6830586%2C35.1130638%2010.6830586%2C34.2130638%2012.0830586%2C33.6130638%20C13.8830586%2C32.8130638%2016.7830586%2C32.0130638%2017.7830586%2C31.1130638%20C18.2830586%2C30.6130638%2018.3830586%2C30.1130638%2018.3830586%2C29.5130638%20C18.3830586%2C29.3130638%2018.3830586%2C29.1130638%2018.2830586%2C28.9130638%20C17.4830586%2C28.6130638%2016.9830586%2C27.0130638%2016.7830586%2C26.5130638%20C16.4830586%2C26.4130638%2016.2830586%2C26.3130638%2016.1830586%2C26.1130638%20C15.2830586%2C24.6130638%2014.8830586%2C23.5130638%2015.7830586%2C23.4130638%20C15.7830586%2C23.4130638%2015.6830586%2C22.9130638%2015.6830586%2C22.0130638%20L15.1830586%2C20.5130638%20C15.1830586%2C20.5130638%2015.1830586%2C20.1130638%2015.5830586%2C19.0130638%20C15.9830586%2C17.8130638%2015.4830586%2C16.9130638%2017.1830586%2C17.1130638%20C17.1830586%2C17.1130638%2016.9830586%2C15.4130638%2021.5830586%2C14.3130638%20C26.1830586%2C13.2130638%2024.8830586%2C15.8130638%2027.2830586%2C17.0130638%20C27.2830586%2C17.0130638%2027.6830586%2C18.1130638%2026.7830586%2C18.9130638%20C27.5830586%2C21.1130638%2027.0830586%2C23.5130638%2027.0830586%2C23.5130638%20C27.8830586%2C23.6130638%2027.5830586%2C24.7130638%2026.6830586%2C26.2130638%20C26.5830586%2C26.4130638%2026.2830586%2C26.5130638%2026.0830586%2C26.6130638%20C25.8830586%2C27.1130638%2025.3830586%2C28.7130638%2024.5830586%2C29.0130638%20C24.4830586%2C29.2130638%2024.4830586%2C29.4130638%2024.4830586%2C29.6130638%20C24.4830586%2C30.2130638%2024.5830586%2C30.7130638%2025.0830586%2C31.2130638%20C26.0830586%2C32.2130638%2028.9830586%2C33.0130638%2030.7830586%2C33.7130638%20C32.1830586%2C34.3130638%2032.1830586%2C35.2130638%2032.6830586%2C36.5130638%20L32.8830586%2C37.7130638%20C32.7830586%2C37.6130638%2021.2830586%2C37.6130638%2021.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20Z%20M38.3830586%2C19.1130638%20C38.3830586%2C18.8369214%2038.6140146%2C18.6130638%2038.8809394%2C18.6130638%20L68.7851779%2C18.6130638%20C69.0601498%2C18.6130638%2069.2830586%2C18.8449974%2069.2830586%2C19.1130638%20L69.2830586%2C19.1130638%20C69.2830586%2C19.3892062%2069.0521027%2C19.6130638%2068.7851779%2C19.6130638%20L38.8809394%2C19.6130638%20C38.6059675%2C19.6130638%2038.3830586%2C19.3811302%2038.3830586%2C19.1130638%20L38.3830586%2C19.1130638%20Z%20M38.3830586%2C25.7630638%20C38.3830586%2C25.4869214%2038.6140146%2C25.2630638%2038.8809394%2C25.2630638%20L68.7851779%2C25.2630638%20C69.0601498%2C25.2630638%2069.2830586%2C25.4949974%2069.2830586%2C25.7630638%20L69.2830586%2C25.7630638%20C69.2830586%2C26.0392062%2069.0521027%2C26.2630638%2068.7851779%2C26.2630638%20L38.8809394%2C26.2630638%20C38.6059675%2C26.2630638%2038.3830586%2C26.0311302%2038.3830586%2C25.7630638%20L38.3830586%2C25.7630638%20Z%20M38.3830586%2C32.4130638%20C38.3830586%2C32.1369214%2038.6148942%2C31.9130638%2038.8918617%2C31.9130638%20L54.2742556%2C31.9130638%20C54.5552598%2C31.9130638%2054.7830586%2C32.1449974%2054.7830586%2C32.4130638%20L54.7830586%2C32.4130638%20C54.7830586%2C32.6892062%2054.5512231%2C32.9130638%2054.2742556%2C32.9130638%20L38.8918617%2C32.9130638%20C38.6108575%2C32.9130638%2038.3830586%2C32.6811302%2038.3830586%2C32.4130638%20L38.3830586%2C32.4130638%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-license{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EA6BE5E14-EA91-43EA-9B09-3188B38721E3%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-829.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-7%22%20transform%3D%22translate%28800.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%23DADADA%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2281.2178872%22%20height%3D%2251.4546762%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Page-1%22%20transform%3D%22translate%289.874020%2C%2019.825959%29%22%20fill%3D%22%23FFFFFF%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M27.320118%2C6.37074412%20C27.3062114%2C6.29249668%2027.2783984%2C6.19830308%2027.2227722%2C6.07666726%20L22.2057223%2C1.93363238%20L12.1099346%2C1.93363238%20C11.8760195%2C1.91916958%2011.7490778%2C2.03338859%2011.6392519%2C2.16689133%20L8.26424281%2C5.68246335%20L0.884864867%2C6.95889783%20C0.781813877%2C7.05160806%200.67840631%2C7.14283493%200.596393412%2C7.38313986%20L0.611726258%2C10.0238981%20C0.771829698%2C10.4470276%200.880585933%2C10.3921432%201.00182239%2C10.4514777%20L2.42242842%2C10.4514777%20C2.42242842%2C6.86173751%207.5635674%2C6.8762003%207.5635674%2C10.4514777%20L20.6735075%2C10.4514777%20C20.6735075%2C6.85432069%2025.7754229%2C6.86173751%2025.7754229%2C10.4514777%20L26.940006%2C10.4514777%20C27.1350541%2C10.4325648%2027.2448801%2C10.2530778%2027.3383034%2C10.042811%20L27.320118%2C6.37074412%20Z%20M16.4837181%2C6.19978645%20L9.48980077%2C6.19978645%20C9.22379372%2C6.09113005%209.18777936%2C5.92462248%209.29903164%2C5.72325585%20L11.8132618%2C3.1433155%20C11.8703143%2C3.09251029%2011.9148865%2C3.02427556%2012.0125888%2C3.03873835%20L16.4837181%2C3.03873835%20L16.4837181%2C6.19978645%20Z%20M23.7265267%2C6.20126981%20L17.3152576%2C6.20126981%20L17.3152576%2C3.04022172%20L21.0775101%2C3.04022172%20C21.1762822%2C3.02427556%2021.2208544%2C3.09399365%2021.2764805%2C3.14479886%20L23.4312803%2C5.40173676%20C23.6306073%2C5.71138894%2024.030331%2C6.13748517%2023.7265267%2C6.20126981%20L23.7265267%2C6.20126981%20Z%22%20id%3D%22Fill-1%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.98123084%2C8.28576668%20C3.8277016%2C8.28576668%202.89453745%2C9.25774076%202.89453745%2C10.455557%20C2.89453745%2C11.6552274%203.82912791%2C12.6257181%204.98123084%2C12.6257181%20C6.1344035%2C12.6257181%207.06756765%2C11.653744%207.06756765%2C10.455557%20C7.06756765%2C9.2562574%206.13297719%2C8.28576668%204.98123084%2C8.28576668%20L4.98123084%2C8.28576668%20Z%20M4.98123084%2C11.3667131%20C4.49521527%2C11.3667131%204.10084021%2C10.9569339%204.10084021%2C10.4514777%20C4.10084021%2C9.94565069%204.49521527%2C9.53587146%204.98123084%2C9.53587146%20C5.46724641%2C9.53587146%205.86162147%2C9.94565069%205.86162147%2C10.4514777%20C5.86162147%2C10.9569339%205.46724641%2C11.3667131%204.98123084%2C11.3667131%20L4.98123084%2C11.3667131%20Z%22%20id%3D%22Fill-2%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.2251783%2C8.28428332%20C22.0720057%2C8.28428332%2021.1384849%2C9.2562574%2021.1384849%2C10.4540736%20C21.1384849%2C11.653744%2022.0730754%2C12.6242347%2023.2251783%2C12.6242347%20C24.378351%2C12.6242347%2025.3115151%2C11.6522607%2025.3115151%2C10.4540736%20C25.3115151%2C9.25477403%2024.378351%2C8.28428332%2023.2251783%2C8.28428332%20L23.2251783%2C8.28428332%20Z%20M23.2251783%2C11.3667131%20C22.7391628%2C11.3667131%2022.3447877%2C10.9569339%2022.3447877%2C10.4514777%20C22.3447877%2C9.94565069%2022.7391628%2C9.53587146%2023.2251783%2C9.53587146%20C23.7111939%2C9.53587146%2024.105569%2C9.94565069%2024.105569%2C10.4514777%20C24.105569%2C10.9569339%2023.7111939%2C11.3667131%2023.2251783%2C11.3667131%20L23.2251783%2C11.3667131%20Z%22%20id%3D%22Fill-3%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%220.0370233284%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.6621834%22%20y%3D%2213.3851802%22%20width%3D%2216.077044%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%226.90141318%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-license{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EA6BE5E14-EA91-43EA-9B09-3188B38721E3%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-829.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-7%22%20transform%3D%22translate%28800.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%2320c7a0%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2281.2178872%22%20height%3D%2251.4546762%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Page-1%22%20transform%3D%22translate%289.874020%2C%2019.825959%29%22%20fill%3D%22%23FFFFFF%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M27.320118%2C6.37074412%20C27.3062114%2C6.29249668%2027.2783984%2C6.19830308%2027.2227722%2C6.07666726%20L22.2057223%2C1.93363238%20L12.1099346%2C1.93363238%20C11.8760195%2C1.91916958%2011.7490778%2C2.03338859%2011.6392519%2C2.16689133%20L8.26424281%2C5.68246335%20L0.884864867%2C6.95889783%20C0.781813877%2C7.05160806%200.67840631%2C7.14283493%200.596393412%2C7.38313986%20L0.611726258%2C10.0238981%20C0.771829698%2C10.4470276%200.880585933%2C10.3921432%201.00182239%2C10.4514777%20L2.42242842%2C10.4514777%20C2.42242842%2C6.86173751%207.5635674%2C6.8762003%207.5635674%2C10.4514777%20L20.6735075%2C10.4514777%20C20.6735075%2C6.85432069%2025.7754229%2C6.86173751%2025.7754229%2C10.4514777%20L26.940006%2C10.4514777%20C27.1350541%2C10.4325648%2027.2448801%2C10.2530778%2027.3383034%2C10.042811%20L27.320118%2C6.37074412%20Z%20M16.4837181%2C6.19978645%20L9.48980077%2C6.19978645%20C9.22379372%2C6.09113005%209.18777936%2C5.92462248%209.29903164%2C5.72325585%20L11.8132618%2C3.1433155%20C11.8703143%2C3.09251029%2011.9148865%2C3.02427556%2012.0125888%2C3.03873835%20L16.4837181%2C3.03873835%20L16.4837181%2C6.19978645%20Z%20M23.7265267%2C6.20126981%20L17.3152576%2C6.20126981%20L17.3152576%2C3.04022172%20L21.0775101%2C3.04022172%20C21.1762822%2C3.02427556%2021.2208544%2C3.09399365%2021.2764805%2C3.14479886%20L23.4312803%2C5.40173676%20C23.6306073%2C5.71138894%2024.030331%2C6.13748517%2023.7265267%2C6.20126981%20L23.7265267%2C6.20126981%20Z%22%20id%3D%22Fill-1%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.98123084%2C8.28576668%20C3.8277016%2C8.28576668%202.89453745%2C9.25774076%202.89453745%2C10.455557%20C2.89453745%2C11.6552274%203.82912791%2C12.6257181%204.98123084%2C12.6257181%20C6.1344035%2C12.6257181%207.06756765%2C11.653744%207.06756765%2C10.455557%20C7.06756765%2C9.2562574%206.13297719%2C8.28576668%204.98123084%2C8.28576668%20L4.98123084%2C8.28576668%20Z%20M4.98123084%2C11.3667131%20C4.49521527%2C11.3667131%204.10084021%2C10.9569339%204.10084021%2C10.4514777%20C4.10084021%2C9.94565069%204.49521527%2C9.53587146%204.98123084%2C9.53587146%20C5.46724641%2C9.53587146%205.86162147%2C9.94565069%205.86162147%2C10.4514777%20C5.86162147%2C10.9569339%205.46724641%2C11.3667131%204.98123084%2C11.3667131%20L4.98123084%2C11.3667131%20Z%22%20id%3D%22Fill-2%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.2251783%2C8.28428332%20C22.0720057%2C8.28428332%2021.1384849%2C9.2562574%2021.1384849%2C10.4540736%20C21.1384849%2C11.653744%2022.0730754%2C12.6242347%2023.2251783%2C12.6242347%20C24.378351%2C12.6242347%2025.3115151%2C11.6522607%2025.3115151%2C10.4540736%20C25.3115151%2C9.25477403%2024.378351%2C8.28428332%2023.2251783%2C8.28428332%20L23.2251783%2C8.28428332%20Z%20M23.2251783%2C11.3667131%20C22.7391628%2C11.3667131%2022.3447877%2C10.9569339%2022.3447877%2C10.4514777%20C22.3447877%2C9.94565069%2022.7391628%2C9.53587146%2023.2251783%2C9.53587146%20C23.7111939%2C9.53587146%2024.105569%2C9.94565069%2024.105569%2C10.4514777%20C24.105569%2C10.9569339%2023.7111939%2C11.3667131%2023.2251783%2C11.3667131%20L23.2251783%2C11.3667131%20Z%22%20id%3D%22Fill-3%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%220.0370233284%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.6621834%22%20y%3D%2213.3851802%22%20width%3D%2216.077044%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%226.90141318%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-selector{position:relative;width:100%}","",{
version:3,sources:["/./components/DocumentSelector/style.css"],names:[],mappings:"AAAiI,uCAAQ,eAAe,WAAW,mBAAmB,cAAgB,eAAe,mBAAmB,CAAC,wBAA0B,uCAAQ,WAAW,iBAAiB,UAAU,CAAC,CAAC,qCAAM,YAAY,eAAe,mBAAmB,4BAA4B,4BAA4B,mBAAmB,CAAC,2CAAY,WAAW,cAAc,oBAAoB,gBAAgB,yBAAyB,iBAAiB,CAAC,wFAA0B,yBAAyB,cAAc,iBAAiB,CAAC,kFAAoB,2vPAAgD,CAAC,+HAAkC,2vPAAsD,CAAC,kFAAoB,ipMAAgD,CAAC,+HAAkC,ipMAAsD,CAAC,iFAAmB,wnNAA+C,CAAC,8HAAiC,wnNAAqD,CAAC,yCAAU,kBAAkB,UAAU,CAAC",file:"style.css",sourcesContent:["@custom-media --large (min-width: 30em);@custom-media --small-viewport (max-width: 30em);@custom-media --large (min-width: 30em);.option{cursor:pointer;float:left;width:33.33333333%;padding:0 9px 0;font-size:12px;letter-spacing:.2px}@media (--small-viewport){.option{float:none;margin:2rem auto;width:100%}}.icon{width:124px;max-width:100%;margin:0 auto 1rem;background-position:50% 50%;background-repeat:no-repeat;background-size:50%}.icon:after{content:\"\";display:block;padding-bottom:100%;padding-top:2px;border:1px solid #dadada;border-radius:5px}.option:hover .icon:after{border:solid 2px #20c7a0;padding-top:0;position:relative}.icon.icon-passport{background-image:url('assets/icon-passport.svg')}.option:hover .icon.icon-passport{background-image:url('assets/icon-passport-hover.svg')}.icon.icon-identity{background-image:url('assets/icon-identity.svg')}.option:hover .icon.icon-identity{background-image:url('assets/icon-identity-hover.svg')}.icon.icon-license{background-image:url('assets/icon-license.svg')}.option:hover .icon.icon-license{background-image:url('assets/icon-license-hover.svg')}.selector{position:relative;width:100%}"],sourceRoot:"webpack://"}]),t.locals={option:"onfido-sdk-ui-DocumentSelector-option",icon:"onfido-sdk-ui-DocumentSelector-icon","icon-passport":"onfido-sdk-ui-DocumentSelector-icon-passport","icon-identity":"onfido-sdk-ui-DocumentSelector-icon-identity","icon-license":"onfido-sdk-ui-DocumentSelector-icon-license",selector:"onfido-sdk-ui-DocumentSelector-selector"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Error-base{position:absolute;display:none;width:100%;height:100%;z-index:999;background:rgba(0,0,0,.85);font-size:2rem;-ms-flex-align:center;align-items:center}.onfido-sdk-ui-Error-base:not(.onfido-sdk-ui-Error-hidden){display:-ms-flexbox;display:flex}.onfido-sdk-ui-Error-base p{margin:4rem 0}","",{version:3,sources:["/./components/Error/style.css"],names:[],mappings:"AAAA,0BAAM,kBAAkB,aAAa,WAAW,YAAY,YAAY,2BAA4B,eAAe,sBAAA,kBAAkB,CAAC,2DAAmB,oBAAA,YAAY,CAAC,4BAAQ,aAAa,CAAC",file:"style.css",sourcesContent:[".base{position:absolute;display:none;width:100%;height:100%;z-index:999;background:rgba(0,0,0,0.85);font-size:2rem;align-items:center}.base:not(.hidden){display:flex}.base p{margin:4rem 0}"],sourceRoot:"webpack://"}]),t.locals={base:"onfido-sdk-ui-Error-base",hidden:"onfido-sdk-ui-Error-hidden"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Face-circle{width:0;height:0;padding:0 45% 60% 0;border-radius:100%}.onfido-sdk-ui-Face-instructions{margin:15px 0 55px}","",{version:3,sources:["/./components/Face/style.css"],names:[],mappings:"AAAA,2BAAQ,QAAQ,SAAS,oBAAoB,kBAAkB,CAAC,iCAAc,kBAAkB,CAAC",file:"style.css",sourcesContent:[".circle{width:0;height:0;padding:0 45% 60% 0;border-radius:100%}.instructions{margin:15px 0 55px}"],sourceRoot:"webpack://"}]),t.locals={circle:"onfido-sdk-ui-Face-circle",instructions:"onfido-sdk-ui-Face-instructions"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Modal-portal>*{opacity:0}.onfido-sdk-ui-Modal-modalBody{/*! Just a placeholder no namespace this element using css modules*/}.onfido-sdk-ui-Modal-overlay{display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);transition:opacity .2s,z-index 0s .2s}.onfido-sdk-ui-Modal-overlay--after-open{opacity:1}.onfido-sdk-ui-Modal-overlay--before-close{opacity:0}.onfido-sdk-ui-Modal-inner{position:relative;overflow:auto;margin:auto;width:94vw;max-width:32rem;height:600px;text-align:center;max-height:calc(100% + 4px);background:#f3f3f3 url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%22109px%22%20height%3D%2223px%22%20viewBox%3D%220%200%20109%2023%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EB0C1F3F5-ACA4-4559-9115-540CB810D458%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220.00851075359%22%20width%3D%22108.871354%22%20height%3D%2222.0104878%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22108.871354%22%20height%3D%2222.0104878%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2201%22%20transform%3D%22translate%28-663.000000%2C%20-771.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20fill%3D%22%23F3F3F3%22%20x%3D%22469%22%20y%3D%22212%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Powered-by-Onfido%22%20transform%3D%22translate%28663.000000%2C%20771.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M71.6045005%2C13.9209592%20C73.1935808%2C13.9209592%2074.5317537%2C12.8190103%2074.5317537%2C11.1376863%20C74.5317537%2C9.45636218%2073.1935808%2C8.38849419%2071.6045005%2C8.38849419%20C70.0273682%2C8.38849419%2068.7011433%2C9.45636218%2068.7011433%2C11.1376863%20C68.7011433%2C12.8190103%2070.0273682%2C13.9209592%2071.6045005%2C13.9209592%20L71.6045005%2C13.9209592%20L71.6045005%2C13.9209592%20Z%20M86.9314726%2C8.50192423%20L84.3649347%2C8.50209716%20L84.3649347%2C8.01360436%20C84.3649347%2C7.34334679%2084.5441543%2C6.741251%2085.3566164%2C6.741251%20L85.965963%2C6.741251%20L85.965963%2C5.61658152%20L85.3566164%2C5.61658152%20C83.827276%2C5.61658152%2083.1223456%2C6.55948624%2083.1223456%2C8.01360436%20L83.1223456%2C8.50209716%20L82.1063801%2C8.50209716%20L82.1063801%2C9.46772248%20L83.1223456%2C9.46772248%20L83.1223456%2C13.8073562%20L84.3649347%2C13.8073562%20L84.3649347%2C9.46772248%20L86.9314726%2C9.46772248%20L86.9314726%2C13.8073562%20L88.1501657%2C13.8073562%20L88.1501657%2C8.50187059%20L86.9314726%2C8.50187059%20L86.9314726%2C8.50192423%20Z%20M71.6369327%2C12.8271266%20C70.7169388%2C12.8271266%2069.9522686%2C12.1795897%2069.9522686%2C11.1798835%20C69.9522686%2C10.2028978%2070.7169388%2C9.57808146%2071.6369327%2C9.57808146%20C72.5688745%2C9.57808146%2073.3335447%2C10.2028978%2073.3335447%2C11.1798835%20C73.3335447%2C12.1795897%2072.5688745%2C12.8271266%2071.6369327%2C12.8271266%20L71.6369327%2C12.8271266%20Z%20M77.09732%2C10.9957606%20C77.09732%2C9.95061317%2077.8022504%2C9.57572334%2078.5310767%2C9.57572334%20C79.247955%2C9.57572334%2079.701978%2C10.0528558%2079.701978%2C10.8935179%20L79.701978%2C13.8471953%20L80.9326191%2C13.8471953%20L80.9326191%2C10.7571943%20C80.9326191%2C9.257635%2080.1560009%2C8.42833326%2078.80588%2C8.42833326%20C78.1845855%2C8.42833326%2077.4199153%2C8.723701%2077.09732%2C9.33715708%20L77.09732%2C8.54193624%20L75.8666789%2C8.54193624%20L75.8666789%2C13.8471953%20L77.09732%2C13.8471953%20L77.09732%2C10.9957606%20L77.09732%2C10.9957606%20Z%20M86.7164091%2C6.17872514%20C86.7164091%2C6.59905616%2087.0987442%2C6.9171445%2087.5408192%2C6.9171445%20C87.9948421%2C6.9171445%2088.3532813%2C6.59905616%2088.3532813%2C6.17872514%20C88.3532813%2C5.75839412%2087.9948421%2C5.44030578%2087.5408192%2C5.44030578%20C87.0987442%2C5.44030578%2086.7164091%2C5.75839412%2086.7164091%2C6.17872514%20L86.7164091%2C6.17872514%20Z%20M94.1869752%2C13.8073562%20L95.4056683%2C13.8073562%20L95.4056683%2C5.61658152%20L94.1869752%2C5.61658152%20L94.1869752%2C9.26323712%20C93.840484%2C8.68386193%2093.0877618%2C8.38849419%2092.2991956%2C8.38849419%20C90.7937511%2C8.38849419%2089.5153181%2C9.45636218%2089.5153181%2C11.1604069%20C89.5153181%2C12.8303706%2090.7937511%2C13.9209592%2092.2991956%2C13.9209592%20C93.0638658%2C13.9209592%2093.840484%2C13.6028709%2094.1869752%2C13.034856%20L94.1869752%2C13.8073562%20L94.1869752%2C13.8073562%20Z%20M94.1630793%2C11.1376863%20C94.1630793%2C12.1714734%2093.3625651%2C12.7849294%2092.4545192%2C12.7849294%20C91.5225774%2C12.7849294%2090.7818031%2C12.1146719%2090.7818031%2C11.1376863%20C90.7818031%2C10.1607006%2091.5225774%2C9.52452397%2092.4545192%2C9.52452397%20C93.2908773%2C9.52452397%2094.1630793%2C10.0925389%2094.1630793%2C11.1376863%20L94.1630793%2C11.1376863%20Z%20M102.595264%2C11.1376863%20C102.595264%2C9.45636218%20101.257091%2C8.38849419%2099.6680108%2C8.38849419%20C98.0908785%2C8.38849419%2096.7646536%2C9.45636218%2096.7646536%2C11.1376863%20C96.7646536%2C12.8190103%2098.0908785%2C13.9209592%2099.6680108%2C13.9209592%20C101.257091%2C13.9209592%20102.595264%2C12.8190103%20102.595264%2C11.1376863%20L102.595264%2C11.1376863%20Z%20M62.0506072%2C8.4936649%20C61.283336%2C7.65833059%2060.1549203%2C7.13060169%2058.8968708%2C7.13060169%20C56.5852373%2C7.13060169%2054.7112881%2C8.91237858%2054.7112881%2C11.1103118%20C54.7112881%2C13.3082449%2056.5852373%2C15.0900218%2058.8968708%2C15.0900218%20C61.2085042%2C15.0900218%2063.0824534%2C13.3082449%2063.0824534%2C11.1103118%20C63.0824534%2C11.0394937%2063.0804937%2C11.0080214%2063.0804937%2C11.0080214%20C63.0784965%2C10.9473238%2063.1126943%2C10.8649421%2063.1571387%2C10.8226838%20L64.4929757%2C9.55255148%20C64.5379262%2C9.50981185%2064.5877355%2C9.52289552%2064.6053584%2C9.58069962%20C64.6053584%2C9.58069962%2064.6267875%2C9.6482133%2064.650259%2C9.73555617%20C64.7702431%2C10.1820429%2064.8340289%2C10.6499092%2064.8340289%2C11.1319407%20C64.8340289%2C14.2377159%2062.1860572%2C16.7554442%2058.9196186%2C16.7554442%20C55.6531799%2C16.7554442%2053.0052082%2C14.2377159%2053.0052082%2C11.1319407%20C53.0052082%2C8.02616549%2055.6531799%2C5.50843722%2058.9196186%2C5.50843722%20C60.6434589%2C5.50843722%2062.1950483%2C6.20965662%2063.2760838%2C7.32846475%20L64.7692695%2C5.90872299%20C64.813329%2C5.8668306%2064.8989338%2C5.83287011%2064.9626423%2C5.83287011%20L66.7826753%2C5.83287011%20C67.0339001%2C5.83287011%2067.0934933%2C5.96984895%2066.915312%2C6.13926628%20L59.0479212%2C13.6196907%20C58.9588875%2C13.7043452%2058.8154719%2C13.7052355%2058.7265936%2C13.6207288%20L56.4981236%2C11.6100129%20C56.4535235%2C11.5676065%2056.417368%2C11.4857957%2056.417368%2C11.4252207%20L56.417368%2C9.6947081%20C56.417368%2C9.45583999%2056.5608038%2C9.39857982%2056.7389248%2C9.5679398%20L58.8059559%2C11.4251574%20C58.850556%2C11.4675637%2058.9232404%2C11.4672087%2058.9664883%2C11.426088%20L62.0506072%2C8.4936649%20L62.0506072%2C8.4936649%20Z%20M99.6680108%2C12.7849294%20C98.748017%2C12.7849294%2097.9833468%2C12.1373925%2097.9833468%2C11.1376863%20C97.9833468%2C10.1607006%2098.748017%2C9.53588427%2099.6680108%2C9.53588427%20C100.599953%2C9.53588427%20101.364623%2C10.1607006%20101.364623%2C11.1376863%20C101.364623%2C12.1373925%20100.599953%2C12.7849294%2099.6680108%2C12.7849294%20L99.6680108%2C12.7849294%20Z%22%20id%3D%22Path%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-82%22%20stroke%3D%22%23DADADA%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctext%20id%3D%22powered-by%22%20font-family%3D%22OpenSans%2C%20Open%20Sans%2C%20sans-serif%22%20font-size%3D%227.76784438%22%20font-weight%3D%22normal%22%20fill%3D%22%23DADADA%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%227%22%20y%3D%2213%22%3Epowered%20by%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftext%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E') 50% calc(100% - 20px) no-repeat;border-radius:3px;font-size:.875rem;font-family:Gotham SSm A,Gotham SSm B,sans-serif;line-height:1.5;font-weight:300}@media (max-width:30em){.onfido-sdk-ui-Modal-inner{width:100%;height:100%;position:absolute}}.onfido-sdk-ui-Modal-inner,.onfido-sdk-ui-Modal-inner *,.onfido-sdk-ui-Modal-inner :after,.onfido-sdk-ui-Modal-inner :before{box-sizing:border-box}.onfido-sdk-ui-Modal-portal .onfido-sdk-ui-Modal-inner{margin:auto;z-index:-1;opacity:0;transform:scale(0);transition:opacity .2s,transform .2s,z-index 0s .2s}.onfido-sdk-ui-Modal-overlay--after-open .onfido-sdk-ui-Modal-inner{z-index:100;opacity:1;transform:scale(1);transition:opacity .2s,transform .2s}.onfido-sdk-ui-Modal-content{color:#9b9b9b;font-size:18px;width:100%;max-height:100%;bottom:50%;transform:translateY(50%);position:absolute}","",{version:3,sources:["/./components/Modal/style.css"],names:[],mappings:"AAAiI,8BAAU,SAAS,CAAC,+BAAW,oEAAoE,CAAC,AAAuC,6BAAS,oBAAA,aAAa,eAAe,MAAM,OAAO,QAAQ,SAAS,0BAA2B,qCAA+E,CAAC,yCAAqB,SAAS,CAAC,2CAAuB,SAAS,CAAC,2BAAO,kBAAkB,cAAc,YAAY,WAAW,gBAAgB,aAAa,kBAAkB,4BAA4B,oqQAAuF,kBAAkB,kBAAkB,iDAAqD,gBAAgB,eAAe,CAAC,wBAA0B,2BAAO,WAAW,YAAY,iBAAiB,CAAC,CAAC,6HAA+C,qBAAqB,CAAC,uDAAe,YAAY,WAAW,UAAU,mBAAmB,mDAAkH,CAAC,oEAA4B,YAAY,UAAU,mBAAmB,oCAA8E,CAAC,6BAAS,cAAc,eAAe,WAAW,gBAAgB,WAAW,0BAA0B,iBAAiB,CAAC",file:"style.css",sourcesContent:['@custom-media --large (min-width: 30em);@custom-media --small-viewport (max-width: 30em);@custom-media --large (min-width: 30em);.portal>*{opacity:0}.modalBody{/*! Just a placeholder no namespace this element using css modules*/}@value modal_animation_duration: 200ms;.overlay{display:flex;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.6);transition:opacity modal_animation_duration,z-index 0s modal_animation_duration}.overlay--after-open{opacity:1}.overlay--before-close{opacity:0}.inner{position:relative;overflow:auto;margin:auto;width:94vw;max-width:32rem;height:600px;text-align:center;max-height:calc(100% + 4px);background:#f3f3f3 url(\'assets/powered-by-onfido.svg\') 50% calc(100% - 20px) no-repeat;border-radius:3px;font-size:.875rem;font-family:"Gotham SSm A","Gotham SSm B",sans-serif;line-height:1.5;font-weight:300}@media (--small-viewport){.inner{width:100%;height:100%;position:absolute}}.inner,.inner *,.inner *:before,.inner *:after{box-sizing:border-box}.portal .inner{margin:auto;z-index:-1;opacity:0;transform:scale(0);transition:opacity modal_animation_duration,transform modal_animation_duration,z-index 0s modal_animation_duration}.overlay--after-open .inner{z-index:100;opacity:1;transform:scale(1);transition:opacity modal_animation_duration,transform modal_animation_duration}.content{color:#9b9b9b;font-size:18px;width:100%;max-height:100%;bottom:50%;transform:translateY(50%);position:absolute}'],sourceRoot:"webpack://"}]),t.locals={modal_animation_duration:"200ms",portal:"onfido-sdk-ui-Modal-portal",modalBody:"onfido-sdk-ui-Modal-modalBody",overlay:"onfido-sdk-ui-Modal-overlay","overlay--after-open":"onfido-sdk-ui-Modal-overlay--after-open","overlay--before-close":"onfido-sdk-ui-Modal-overlay--before-close",inner:"onfido-sdk-ui-Modal-inner",content:"onfido-sdk-ui-Modal-content"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,"@media (min-width:30em){.onfido-sdk-ui-Select-methods{display:-ms-flexbox;display:flex;-ms-flex:auto;flex:auto;-ms-flex-wrap:wrap;flex-wrap:wrap}}.onfido-sdk-ui-Select-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}","",{version:3,sources:["/./components/Select/style.css"],names:[],mappings:"AAAiI,wBAAiB,8BAAS,oBAAA,aAAa,cAAA,UAAU,mBAAA,cAAc,CAAC,CAAC,8BAAS,oBAAA,aAAa,0BAAA,qBAAqB,CAAC",file:"style.css",sourcesContent:["@custom-media --large (min-width: 30em);@custom-media --small-viewport (max-width: 30em);@custom-media --large (min-width: 30em);@media (--large){.methods{display:flex;flex:auto;flex-wrap:wrap}}.wrapper{display:flex;flex-direction:column}"],sourceRoot:"webpack://"}]),t.locals={methods:"onfido-sdk-ui-Select-methods",wrapper:"onfido-sdk-ui-Select-wrapper"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Spinner-loader{width:48px;height:48px;margin:0 auto 1.5rem}@keyframes onfido-sdk-ui-Spinner-ball-scale-ripple-multiple{0%{transform:scale(.1);opacity:1}70%{transform:scale(1);opacity:.7}to{opacity:0}}.onfido-sdk-ui-Spinner-inner{position:relative;transform:translateX(25px)}.onfido-sdk-ui-Spinner-inner>div:nth-child(0){animation-delay:-.8s}.onfido-sdk-ui-Spinner-inner>div:nth-child(1){animation-delay:-.6s}.onfido-sdk-ui-Spinner-inner>div:nth-child(2){animation-delay:-.4s}.onfido-sdk-ui-Spinner-inner>div:nth-child(3){animation-delay:-.2s}.onfido-sdk-ui-Spinner-inner>div{animation-fill-mode:both;position:absolute;top:-2px;left:-26px;width:50px;height:50px;border-radius:100%;border:2px solid #ccc;animation:onfido-sdk-ui-Spinner-ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21,.53,.56,.8)}","",{version:3,sources:["/./components/Spinner/style.css"],names:[],mappings:"AAAA,8BAAQ,WAAW,YAAY,oBAAyB,CAAC,4DAAsC,GAAG,oBAAoB,SAAS,CAAC,IAAI,mBAAmB,UAAU,CAAC,GAAK,SAAS,CAAC,CAAC,6BAAO,kBAAkB,0BAA0B,CAAC,8CAAwB,oBAAqB,CAAC,8CAAwB,oBAAqB,CAAC,8CAAwB,oBAAqB,CAAC,8CAAwB,oBAAqB,CAAC,iCAAW,yBAAyB,kBAAkB,SAAS,WAAW,WAAW,YAAY,mBAAmB,sBAAsB,yGAAsF,CAAC",file:"style.css",sourcesContent:[".loader{width:48px;height:48px;margin:0 auto 1.5rem auto}@keyframes ball-scale-ripple-multiple{0%{transform:scale(.1);opacity:1}70%{transform:scale(1);opacity:.7}100%{opacity:0}}.inner{position:relative;transform:translateX(25px)}.inner>div:nth-child(0){animation-delay:-0.8s}.inner>div:nth-child(1){animation-delay:-0.6s}.inner>div:nth-child(2){animation-delay:-0.4s}.inner>div:nth-child(3){animation-delay:-0.2s}.inner>div{animation-fill-mode:both;position:absolute;top:-2px;left:-26px;width:50px;height:50px;border-radius:100%;border:2px solid #ccc;animation:ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21, .53, .56, .8)}"],sourceRoot:"webpack://"}]),t.locals={loader:"onfido-sdk-ui-Spinner-loader",inner:"onfido-sdk-ui-Spinner-inner","ball-scale-ripple-multiple":"onfido-sdk-ui-Spinner-ball-scale-ripple-multiple"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Theme-step{background:#f3f3f3;margin:0 1.5rem 4rem}@media (min-width:30em){.onfido-sdk-ui-Theme-step{margin:0 3rem 4rem}}.onfido-sdk-ui-Theme-title{font-weight:300;font-size:24px;margin-top:0;color:#4a4a4a;width:100%;text-align:center;padding-bottom:1.8rem;padding-top:1.2rem}.onfido-sdk-ui-Theme-mbottom-large{margin-bottom:4rem}.onfido-sdk-ui-Theme-btn{font:inherit;font-weight:500;font-size:14px;line-height:inherit;text-decoration:none;text-align:center;cursor:pointer;display:inline-block;border:none;border-radius:2rem;padding:1.2rem 2rem;outline:none}.onfido-sdk-ui-Theme-btn:disabled{opacity:.5}.onfido-sdk-ui-Theme-btn-centered{margin:auto}.onfido-sdk-ui-Theme-btn-primary{display:block;width:215px;border:none;background:#20c7a0;color:#fff}@media (max-width:30em){.onfido-sdk-ui-Theme-btn-primary{width:auto}}.onfido-sdk-ui-Theme-btn-alternative{background-color:#2980b9}.onfido-sdk-ui-Theme-center{text-align:center}.onfido-sdk-ui-Theme-overlay-shape{border:1px solid #00c8a0;position:absolute;bottom:50%;left:50%;transform:translate(-50%,50%);box-shadow:0 0 0 300px rgba(0,0,0,.7)}.onfido-sdk-ui-Theme-overlay{display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.onfido-sdk-ui-Theme-icon{display:block;background-repeat:no-repeat;background-position:50%;height:4rem}.onfido-sdk-ui-Theme-actions{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:.75rem 1.5rem 0}@media (min-width:30em){.onfido-sdk-ui-Theme-actions{padding:1.5em 3rem 0}}","",{version:3,sources:["/./components/Theme/style.css"],names:[],mappings:"AAAiI,0BAAM,mBAAmB,oBAAoB,CAAC,wBAAiB,0BAAM,kBAAkB,CAAC,CAAC,2BAAO,gBAAgB,eAAe,aAAa,cAAc,WAAW,kBAAkB,sBAAsB,kBAAkB,CAAC,mCAAe,kBAAkB,CAAC,yBAAK,aAAa,gBAAgB,eAAe,oBAAoB,qBAAqB,kBAAkB,eAAe,qBAAqB,YAAY,mBAAmB,oBAAoB,YAAY,CAAC,kCAAc,UAAU,CAAC,kCAAc,WAAW,CAAC,iCAAa,cAAc,YAAY,YAAY,mBAAmB,UAAU,CAAC,wBAA0B,iCAAa,UAAa,CAAC,CAAC,qCAAiB,wBAAwB,CAAC,4BAAQ,iBAAiB,CAAC,mCAAe,yBAAyB,kBAAkB,WAAW,SAAS,8BAA+B,qCAAsC,CAAC,6BAAS,oBAAA,aAAa,kBAAkB,WAAW,WAAW,CAAC,0BAAM,cAAc,4BAA4B,wBAA2B,WAAW,CAAC,6BAAS,WAAW,oBAAA,aAAa,sBAAA,8BAA8B,uBAA8B,CAAC,wBAAiB,6BAAS,oBAAyB,CAAC,CAAC",file:"style.css",sourcesContent:["@custom-media --large (min-width: 30em);@custom-media --small-viewport (max-width: 30em);@custom-media --large (min-width: 30em);.step{background:#f3f3f3;margin:0 1.5rem 4rem}@media (--large){.step{margin:0 3rem 4rem}}.title{font-weight:300;font-size:24px;margin-top:0;color:#4a4a4a;width:100%;text-align:center;padding-bottom:1.8rem;padding-top:1.2rem}.mbottom-large{margin-bottom:4rem}.btn{font:inherit;font-weight:500;font-size:14px;line-height:inherit;text-decoration:none;text-align:center;cursor:pointer;display:inline-block;border:none;border-radius:2rem;padding:1.2rem 2rem;outline:none}.btn:disabled{opacity:.5}.btn-centered{margin:auto}.btn-primary{display:block;width:215px;border:none;background:#20c7a0;color:#fff}@media (--small-viewport){.btn-primary{width:initial}}.btn-alternative{background-color:#2980b9}.center{text-align:center}.overlay-shape{border:1px solid #00c8a0;position:absolute;bottom:50%;left:50%;transform:translate(-50%, 50%);box-shadow:0 0 0 300px rgba(0,0,0,0.7)}.overlay{display:flex;position:absolute;width:100%;height:100%}.icon{display:block;background-repeat:no-repeat;background-position:center;height:4rem}.actions{width:100%;display:flex;justify-content:space-between;padding:.75rem 1.5rem 0 1.5rem}@media (--large){.actions{padding:1.5em 3rem 0 3rem}}"],sourceRoot:"webpack://"}]),t.locals={step:"onfido-sdk-ui-Theme-step",title:"onfido-sdk-ui-Theme-title","mbottom-large":"onfido-sdk-ui-Theme-mbottom-large",btn:"onfido-sdk-ui-Theme-btn","btn-centered":"onfido-sdk-ui-Theme-btn-centered","btn-primary":"onfido-sdk-ui-Theme-btn-primary","btn-alternative":"onfido-sdk-ui-Theme-btn-alternative",center:"onfido-sdk-ui-Theme-center","overlay-shape":"onfido-sdk-ui-Theme-overlay-shape",overlay:"onfido-sdk-ui-Theme-overlay",icon:"onfido-sdk-ui-Theme-icon",actions:"onfido-sdk-ui-Theme-actions"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Uploader-base{padding:1.5rem}.onfido-sdk-ui-Uploader-text{text-align:center;padding:0 1.5rem;margin-bottom:0}.onfido-sdk-ui-Uploader-text+.onfido-sdk-ui-Uploader-text{margin-top:1.5rem}.onfido-sdk-ui-Uploader-error{color:#dc0505;margin-top:.75rem;font-weight:400}.onfido-sdk-ui-Uploader-processing{text-align:center}.onfido-sdk-ui-Uploader-icon{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2280px%22%20height%3D%2274px%22%20viewBox%3D%220%200%2080%2074%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3Enoun_148000_cc%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22noun_148000_cc%22%20fill%3D%22%234A88C2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M79.523%2C39.069%20C79.523%2C44.071%2077.649%2C48.89%2074.248%2C52.638%20C70.822%2C56.413%2066.222%2C58.683%2061.294%2C59.031%20C61.248%2C59.034%2061.202%2C59.036%2061.156%2C59.036%20L49.014%2C59.036%20C47.933%2C59.036%2047.057%2C58.16%2047.057%2C57.079%20C47.057%2C55.998%2047.933%2C55.122%2049.014%2C55.122%20L61.084%2C55.122%20C69.1%2C54.519%2075.609%2C47.333%2075.609%2C39.069%20C75.609%2C31.28%2070.026%2C24.451%2062.623%2C23.185%20C61.752%2C23.036%2061.089%2C22.322%2061.005%2C21.442%20C60.078%2C11.723%2051.998%2C4.394%2042.211%2C4.394%20C34.93%2C4.394%2028.223%2C8.645%2025.127%2C15.223%20C24.694%2C16.143%2023.628%2C16.578%2022.676%2C16.224%20C21.769%2C15.888%2020.801%2C15.717%2019.798%2C15.717%20C15.138%2C15.717%2011.348%2C19.508%2011.348%2C24.167%20C11.348%2C25.182%2011.519%2C26.157%2011.855%2C27.063%20C12.185%2C27.954%2011.827%2C28.954%2011.006%2C29.434%20C6.926%2C31.814%204.392%2C36.221%204.392%2C40.937%20C4.392%2C48.227%2010.143%2C54.709%2016.961%2C55.121%20L30.976%2C55.121%20C32.057%2C55.121%2032.933%2C55.997%2032.933%2C57.078%20C32.933%2C58.159%2032.057%2C59.035%2030.976%2C59.035%20L16.903%2C59.035%20C16.867%2C59.035%2016.83%2C59.034%2016.794%2C59.032%20C12.411%2C58.788%208.287%2C56.714%205.181%2C53.194%20C2.147%2C49.756%200.477%2C45.403%200.477%2C40.938%20C0.477%2C35.355%203.222%2C30.106%207.731%2C26.895%20C7.533%2C26.012%207.433%2C25.1%207.433%2C24.168%20C7.433%2C17.351%2012.979%2C11.804%2019.796%2C11.804%20C20.666%2C11.804%2021.522%2C11.893%2022.354%2C12.069%20C26.362%2C4.978%2033.982%2C0.481%2042.21%2C0.481%20C47.918%2C0.481%2053.379%2C2.6%2057.588%2C6.446%20C61.408%2C9.937%2063.906%2C14.576%2064.716%2C19.632%20C73.252%2C21.803%2079.523%2C29.904%2079.523%2C39.069%20L79.523%2C39.069%20Z%20M50.321%2C42.847%20C50.703%2C43.229%2051.204%2C43.42%2051.705%2C43.42%20C52.206%2C43.42%2052.707%2C43.229%2053.088%2C42.847%20C53.852%2C42.083%2053.852%2C40.844%2053.088%2C40.08%20L41.384%2C28.375%20C40.62%2C27.611%2039.381%2C27.611%2038.617%2C28.375%20L26.912%2C40.079%20C26.148%2C40.843%2026.148%2C42.082%2026.912%2C42.846%20C27.294%2C43.228%2027.795%2C43.419%2028.296%2C43.419%20C28.797%2C43.419%2029.298%2C43.228%2029.679%2C42.846%20L38.044%2C34.481%20L38.044%2C71.562%20C38.044%2C72.643%2038.92%2C73.519%2040.001%2C73.519%20C41.082%2C73.519%2041.958%2C72.643%2041.958%2C71.562%20L41.958%2C34.482%20L50.321%2C42.847%20L50.321%2C42.847%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E');background-size:4rem auto}.onfido-sdk-ui-Uploader-dropzone{-ms-flex:auto;flex:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;cursor:pointer}@media (min-width:30em){.onfido-sdk-ui-Uploader-dropzone{min-height:20rem}}","",{version:3,sources:["/./components/Uploader/style.css"],names:[],mappings:"AAAiI,6BAAM,cAAc,CAAC,6BAAM,kBAAkB,iBAAiB,eAAe,CAAC,0DAAY,iBAAiB,CAAC,8BAAO,cAAc,kBAAkB,eAAe,CAAC,mCAAY,iBAAiB,CAAC,6BAAM,4sGAA0C,yBAAyB,CAAC,iCAAU,cAAA,UAAU,oBAAA,aAAa,0BAAA,sBAAsB,qBAAA,uBAAuB,cAAc,CAAC,wBAAiB,iCAAU,gBAAgB,CAAC,CAAC",file:"style.css",sourcesContent:["@custom-media --large (min-width: 30em);@custom-media --small-viewport (max-width: 30em);@custom-media --large (min-width: 30em);.base{padding:1.5rem}.text{text-align:center;padding:0 1.5rem;margin-bottom:0}.text+.text{margin-top:1.5rem}.error{color:#DC0505;margin-top:.75rem;font-weight:400}.processing{text-align:center}.icon{background-image:url('assets/upload.svg');background-size:4rem auto}.dropzone{flex:auto;display:flex;flex-direction:column;justify-content:center;cursor:pointer}@media (--large){.dropzone{min-height:20rem}}"],sourceRoot:"webpack://"}]),t.locals={base:"onfido-sdk-ui-Uploader-base",text:"onfido-sdk-ui-Uploader-text",error:"onfido-sdk-ui-Uploader-error",processing:"onfido-sdk-ui-Uploader-processing",icon:"onfido-sdk-ui-Uploader-icon",dropzone:"onfido-sdk-ui-Uploader-dropzone"}},function(e,t,n){t=e.exports=n(2)(),t.push([e.id,".onfido-sdk-ui-Welcome-mtop-large{margin-top:4rem}","",{version:3,sources:["/./components/Welcome/style.css"],names:[],mappings:"AAAA,kCAAY,eAAe,CAAC",file:"style.css",sourcesContent:[".mtop-large{margin-top:4rem}"],sourceRoot:"webpack://"}]),t.locals={"mtop-large":"onfido-sdk-ui-Welcome-mtop-large"}},function(e,t,n){var r=n(66),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){l(c.supportsWebSockets),f(c.supportsGetUserMedia)}function i(e){o();try{if(!c.supportsWebSockets)throw"WebSockets not supported";var t=new u["default"];return t.connect(e),t}catch(n){console.log(n)}}t.__esModule=!0,t["default"]=i;var a=n(69),u=r(a),s=n(18),c=n(75),l=s.actions.setWebSocketSupport,f=s.actions.setGumSupport},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(77),s=o(u),c=n(23),l=o(c),f=n(8),p=r(f),d=n(18),h=n(79),C=o(h),v=d.actions.setWebSocketError,m=d.actions.setAuthenticated,y=function(){function e(){i(this,e)}return a(e,[{key:"connect",value:function(e){var t=this,n=s["default"].stringify({jwt:e}),r=p.SOCKET_URL+"?"+n,o=new C["default"](r);o.onerror=function(e){l["default"].emit("onError"),v(!0)},o.onopen=function(){t.socket=o,t.onMessage(),m(!0)}}},{key:"onMessage",value:function(){this.socket.onmessage=function(e){var t=JSON.parse(e.data);l["default"].emit("onMessage",t)}}},{key:"sendMessage",value:function(e){this.socket.send(e)}}]),e}();t["default"]=y},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}t.__esModule=!0,t.deleteCaptures=t.confirmCapture=t.validateCapture=t.createCapture=void 0;var o=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(8),a=r(i),u=function(e){return e},s=function(e,t){return function(n){return{type:e,payload:(t||u)(n)}}};t.createCapture=s(a.CAPTURE_CREATE,function(e){return o({maxCaptures:3},e)}),t.validateCapture=s(a.CAPTURE_VALIDATE,function(e){return o({valid:!0},e)}),t.confirmCapture=s(a.CAPTURE_CONFIRM),t.deleteCaptures=s(a.CAPTURE_DELETE)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return{type:l.SET_WEBSOCKET_SUPPORT,payload:e}}function i(e){return{type:l.SET_WEBSOCKET_ERROR,payload:e}}function a(e){return{type:l.SET_DOCUMENT_TYPE,payload:e}}function u(e){return{type:l.SET_AUTHENTICATED,payload:e}}function s(e){return{type:l.SET_GUM_SUPPORT,payload:e}}t.__esModule=!0,t.setWebSocketSupport=o,t.setWebSocketError=i,t.setDocumentType=a,t.setAuthenticated=u,t.setGumSupport=s;var c=n(8),l=r(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);e.length>t;t++)n[t]=e[t];return n}return Array.from(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments[1],n=t.payload||{},r=n.method,o=e[r],u=function(t){
return s({},e,a({},r,t))},c=h.bind(this,o,function(e){return e.id===n.id});switch(t.type){case l.CAPTURE_CREATE:var f=n.maxCaptures,p=n.capture,C=o.slice(0,f-1);return u([p].concat(i(C)));case l.CAPTURE_VALIDATE:var v=c({valid:n.valid,processed:!0});return u(v);case l.CAPTURE_CONFIRM:var m=c({confirmed:!0});return u(m);case l.CAPTURE_DELETE:return u([]);default:return d}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.captures=u;var c=n(8),l=o(c),f=n(13),p=r(f),d={document:[],face:[]},h=function(e,t,n){return e.map(function(e){return t(e)?(0,p["default"])({},e,n):e})}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case c.SET_AUTHENTICATED:return e=(0,u["default"])({},e,{authenticated:t.payload});case c.SET_WEBSOCKET_SUPPORT:return e=(0,u["default"])({},e,{supportsWebSockets:t.payload});case c.SET_WEBSOCKET_ERROR:return e=(0,u["default"])({},e,{websocketErrorEncountered:t.payload});case c.SET_GUM_SUPPORT:return e=(0,u["default"])({},e,{supportsGetUserMedia:t.payload});case c.SET_DOCUMENT_TYPE:return e=(0,u["default"])({},e,{documentType:t.payload});default:return e}}t.__esModule=!0,t["default"]=i;var a=n(13),u=o(a),s=n(8),c=r(s),l={authenticated:!1,supportsWebSockets:!1,supportsGetUserMedia:!1,websocketErrorEncountered:null,documentType:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(10),i=n(72),a=n(73),u=r(a);t["default"]=(0,o.combineReducers)({captures:i.captures,globals:u["default"]})},function(e,t){"use strict";t.__esModule=!0,t.supportsGetUserMedia="getUserMedia"in navigator||"webkitGetUserMedia"in navigator||"mozGetUserMedia"in navigator||"msGetUserMedia"in navigator,t.supportsWebSockets="WebSocket"in window},function(e,t,n){var r;!function(o){function i(){this._events={},this._conf&&a.call(this,this._conf)}function a(e){e?(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),this._events.maxListeners=e.maxListeners!==o?e.maxListeners:p,e.wildcard&&(this.wildcard=e.wildcard),e.newListener&&(this.newListener=e.newListener),this.wildcard&&(this.listenerTree={})):this._events.maxListeners=p}function u(e){console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",e),console.trace&&console.trace()}function s(e){this._events={},this.newListener=!1,a.call(this,e)}function c(e,t,n,r){if(!n)return[];var o,i,a,u,s,l,f,p=[],d=t.length,h=t[r],C=t[r+1];if(r===d&&n._listeners){if("function"==typeof n._listeners)return e&&e.push(n._listeners),[n];for(o=0,i=n._listeners.length;i>o;o++)e&&e.push(n._listeners[o]);return[n]}if("*"===h||"**"===h||n[h]){if("*"===h){for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&(p=p.concat(c(e,t,n[a],r+1)));return p}if("**"===h){f=r+1===d||r+2===d&&"*"===C,f&&n._listeners&&(p=p.concat(c(e,t,n,d)));for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&("*"===a||"**"===a?(n[a]._listeners&&!f&&(p=p.concat(c(e,t,n[a],d))),p=p.concat(c(e,t,n[a],r))):p=p.concat(a===C?c(e,t,n[a],r+2):c(e,t,n[a],r)));return p}p=p.concat(c(e,t,n[h],r+1))}if(u=n["*"],u&&c(e,t,u,r+1),s=n["**"])if(d>r){s._listeners&&c(e,t,s,d);for(a in s)"_listeners"!==a&&s.hasOwnProperty(a)&&(a===C?c(e,t,s[a],r+2):a===h?c(e,t,s[a],r+1):(l={},l[a]=s[a],c(e,t,{"**":l},r+1)))}else s._listeners?c(e,t,s,d):s["*"]&&s["*"]._listeners&&c(e,t,s["*"],d);return p}function l(e,t){e="string"==typeof e?e.split(this.delimiter):e.slice();for(var n=0,r=e.length;r>n+1;n++)if("**"===e[n]&&"**"===e[n+1])return;for(var i=this.listenerTree,a=e.shift();a!==o;){if(i[a]||(i[a]={}),i=i[a],0===e.length)return i._listeners?("function"==typeof i._listeners&&(i._listeners=[i._listeners]),i._listeners.push(t),!i._listeners.warned&&this._events.maxListeners>0&&i._listeners.length>this._events.maxListeners&&(i._listeners.warned=!0,u(i._listeners.length))):i._listeners=t,!0;a=e.shift()}return!0}var f=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},p=10;s.EventEmitter2=s,s.prototype.delimiter=".",s.prototype.setMaxListeners=function(e){e!==o&&(this._events||i.call(this),this._events.maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},s.prototype.event="",s.prototype.once=function(e,t){return this.many(e,1,t),this},s.prototype.many=function(e,t,n){function r(){0===--t&&o.off(e,r),n.apply(this,arguments)}var o=this;if("function"!=typeof n)throw Error("many only accepts instances of Function");return r._origin=n,this.on(e,r),o},s.prototype.emit=function(){this._events||i.call(this);var e=arguments[0];if("newListener"===e&&!this.newListener&&!this._events.newListener)return!1;var t,n,r,o,a,u=arguments.length;if(this._all&&this._all.length){if(a=this._all.slice(),u>3)for(t=Array(u),o=0;u>o;o++)t[o]=arguments[o];for(r=0,n=a.length;n>r;r++)switch(this.event=e,u){case 1:a[r].call(this,e);break;case 2:a[r].call(this,e,arguments[1]);break;case 3:a[r].call(this,e,arguments[1],arguments[2]);break;default:a[r].apply(this,t)}}if(this.wildcard){a=[];var s="string"==typeof e?e.split(this.delimiter):e.slice();c.call(this,a,s,this.listenerTree,0)}else{if(a=this._events[e],"function"==typeof a){switch(this.event=e,u){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:for(t=Array(u-1),o=1;u>o;o++)t[o-1]=arguments[o];a.apply(this,t)}return!0}a&&(a=a.slice())}if(a&&a.length){if(u>3)for(t=Array(u-1),o=1;u>o;o++)t[o-1]=arguments[o];for(r=0,n=a.length;n>r;r++)switch(this.event=e,u){case 1:a[r].call(this);break;case 2:a[r].call(this,arguments[1]);break;case 3:a[r].call(this,arguments[1],arguments[2]);break;default:a[r].apply(this,t)}return!0}if(!this._all&&"error"===e)throw arguments[1]instanceof Error?arguments[1]:Error("Uncaught, unspecified 'error' event.");return!!this._all},s.prototype.emitAsync=function(){this._events||i.call(this);var e=arguments[0];if("newListener"===e&&!this.newListener&&!this._events.newListener)return Promise.resolve([!1]);var t,n,r,o,a,u=[],s=arguments.length;if(this._all){if(s>3)for(t=Array(s),o=1;s>o;o++)t[o]=arguments[o];for(r=0,n=this._all.length;n>r;r++)switch(this.event=e,s){case 1:u.push(this._all[r].call(this,e));break;case 2:u.push(this._all[r].call(this,e,arguments[1]));break;case 3:u.push(this._all[r].call(this,e,arguments[1],arguments[2]));break;default:u.push(this._all[r].apply(this,t))}}if(this.wildcard){a=[];var l="string"==typeof e?e.split(this.delimiter):e.slice();c.call(this,a,l,this.listenerTree,0)}else a=this._events[e];if("function"==typeof a)switch(this.event=e,s){case 1:u.push(a.call(this));break;case 2:u.push(a.call(this,arguments[1]));break;case 3:u.push(a.call(this,arguments[1],arguments[2]));break;default:for(t=Array(s-1),o=1;s>o;o++)t[o-1]=arguments[o];u.push(a.apply(this,t))}else if(a&&a.length){if(s>3)for(t=Array(s-1),o=1;s>o;o++)t[o-1]=arguments[o];for(r=0,n=a.length;n>r;r++)switch(this.event=e,s){case 1:u.push(a[r].call(this));break;case 2:u.push(a[r].call(this,arguments[1]));break;case 3:u.push(a[r].call(this,arguments[1],arguments[2]));break;default:u.push(a[r].apply(this,t))}}else if(!this._all&&"error"===e)return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(u)},s.prototype.on=function(e,t){if("function"==typeof e)return this.onAny(e),this;if("function"!=typeof t)throw Error("on only accepts instances of Function");return this._events||i.call(this),this.emit("newListener",e,t),this.wildcard?(l.call(this,e,t),this):(this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),this._events[e].push(t),!this._events[e].warned&&this._events.maxListeners>0&&this._events[e].length>this._events.maxListeners&&(this._events[e].warned=!0,u(this._events[e].length))):this._events[e]=t,this)},s.prototype.onAny=function(e){if("function"!=typeof e)throw Error("onAny only accepts instances of Function");return this._all||(this._all=[]),this._all.push(e),this},s.prototype.addListener=s.prototype.on,s.prototype.off=function(e,t){function n(e){if(e!==o){var t=Object.keys(e);for(var r in t){var i=t[r],a=e[i];a instanceof Function||"object"!=typeof a||null===a||(Object.keys(a).length>0&&n(e[i]),0===Object.keys(a).length&&delete e[i])}}}if("function"!=typeof t)throw Error("removeListener only takes instances of Function");var r,i=[];if(this.wildcard){var a="string"==typeof e?e.split(this.delimiter):e.slice();i=c.call(this,null,a,this.listenerTree,0)}else{if(!this._events[e])return this;r=this._events[e],i.push({_listeners:r})}for(var u=0;i.length>u;u++){var s=i[u];if(r=s._listeners,f(r)){for(var l=-1,p=0,d=r.length;d>p;p++)if(r[p]===t||r[p].listener&&r[p].listener===t||r[p]._origin&&r[p]._origin===t){l=p;break}if(0>l)continue;return this.wildcard?s._listeners.splice(l,1):this._events[e].splice(l,1),0===r.length&&(this.wildcard?delete s._listeners:delete this._events[e]),this.emit("removeListener",e,t),this}(r===t||r.listener&&r.listener===t||r._origin&&r._origin===t)&&(this.wildcard?delete s._listeners:delete this._events[e],this.emit("removeListener",e,t))}return n(this.listenerTree),this},s.prototype.offAny=function(e){var t,n=0,r=0;if(e&&this._all&&this._all.length>0){for(t=this._all,n=0,r=t.length;r>n;n++)if(e===t[n])return t.splice(n,1),this.emit("removeListenerAny",e),this}else{for(t=this._all,n=0,r=t.length;r>n;n++)this.emit("removeListenerAny",t[n]);this._all=[]}return this},s.prototype.removeListener=s.prototype.off,s.prototype.removeAllListeners=function(e){if(0===arguments.length)return!this._events||i.call(this),this;if(this.wildcard)for(var t="string"==typeof e?e.split(this.delimiter):e.slice(),n=c.call(this,null,t,this.listenerTree,0),r=0;n.length>r;r++){var o=n[r];o._listeners=null}else this._events&&(this._events[e]=null);return this},s.prototype.listeners=function(e){if(this.wildcard){var t=[],n="string"==typeof e?e.split(this.delimiter):e.slice();return c.call(this,t,n,this.listenerTree,0),t}return this._events||i.call(this),this._events[e]||(this._events[e]=[]),f(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},s.prototype.listenerCount=function(e){return this.listeners(e).length},s.prototype.listenersAny=function(){return this._all?this._all:[]},r=function(){return s}.call(t,n,t,e),!(r!==o&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e,t){return t.encode?t.strict?o(e):encodeURIComponent(e):e}var o=n(78),i=n(13);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e){var t=Object.create(null);return"string"!=typeof e?t:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=n.shift(),o=n.length>0?n.join("="):void 0;r=decodeURIComponent(r),o=void 0===o?null:decodeURIComponent(o),void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}),t):t},t.stringify=function(e,t){var n={encode:!0,strict:!0};return t=i(n,t),e?Object.keys(e).sort().map(function(n){var o=e[n];if(void 0===o)return"";if(null===o)return r(n,t);if(Array.isArray(o)){var i=[];return o.slice().forEach(function(e){void 0!==e&&i.push(null===e?r(n,t):r(n,t)+"="+r(e,t))}),i.join("&")}return r(n,t)+"="+r(o,t)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){var r,o,i;!function(n,a){o=[],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(){function e(t,n,r){function o(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}var i={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};r||(r={});for(var a in i)this[a]=void 0!==r[a]?r[a]:i[a];this.url=t,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var u,s=this,c=!1,l=!1,f=document.createElement("div");f.addEventListener("open",function(e){s.onopen(e)}),f.addEventListener("close",function(e){s.onclose(e)}),f.addEventListener("connecting",function(e){s.onconnecting(e)}),f.addEventListener("message",function(e){s.onmessage(e)}),f.addEventListener("error",function(e){s.onerror(e)}),this.addEventListener=f.addEventListener.bind(f),this.removeEventListener=f.removeEventListener.bind(f),this.dispatchEvent=f.dispatchEvent.bind(f),this.open=function(t){if(u=new WebSocket(s.url,n||[]),t){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else f.dispatchEvent(o("connecting")),this.reconnectAttempts=0;(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",s.url);var r=u,i=setTimeout(function(){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",s.url),l=!0,r.close(),l=!1},s.timeoutInterval);u.onopen=function(n){clearTimeout(i),(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",s.url),s.protocol=u.protocol,s.readyState=WebSocket.OPEN,s.reconnectAttempts=0;var r=o("open");r.isReconnect=t,t=!1,f.dispatchEvent(r)},u.onclose=function(n){if(clearTimeout(i),u=null,c)s.readyState=WebSocket.CLOSED,f.dispatchEvent(o("close"));else{s.readyState=WebSocket.CONNECTING;var r=o("connecting");r.code=n.code,r.reason=n.reason,r.wasClean=n.wasClean,f.dispatchEvent(r),t||l||((s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",s.url),f.dispatchEvent(o("close")));var i=s.reconnectInterval*Math.pow(s.reconnectDecay,s.reconnectAttempts);setTimeout(function(){s.reconnectAttempts++,s.open(!0)},i>s.maxReconnectInterval?s.maxReconnectInterval:i)}},u.onmessage=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",s.url,t.data);var n=o("message");n.data=t.data,f.dispatchEvent(n)},u.onerror=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",s.url,t),f.dispatchEvent(o("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(t){if(u)return(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",s.url,t),u.send(t);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(e,t){void 0===e&&(e=1e3),c=!0,u&&u.close(e,t)},this.refresh=function(){u&&u.close()}}if("WebSocket"in window)return e.prototype.onopen=function(e){},e.prototype.onclose=function(e){},e.prototype.onconnecting=function(e){},e.prototype.onmessage=function(e){},e.prototype.onerror=function(e){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e})},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);e.length>t;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){return e===t}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every(function(e,r){return t(e,n[r])})||(o=e.apply(void 0,i)),n=i,o}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;t>o;o++)r[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),a=0;t>a;a++)o[a]=arguments[a];var u=0,s=o.pop(),c=i(o),l=e.apply(void 0,[function(){return u++,s.apply(void 0,arguments)}].concat(r)),f=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;r>i;i++)o[i-2]=arguments[i];var a=c.map(function(n){return n.apply(void 0,[e,t].concat(o))});return l.apply(void 0,n(a))};return f.resultFunc=s,f.recomputations=function(){return u},f.resetRecomputations=function(){return u=0},f}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;if("object"!=typeof e)throw Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}t.__esModule=!0,t.defaultMemoize=o,t.createSelectorCreator=a,t.createStructuredSelector=u;var s=t.createSelector=a(o)},function(e,t){e.exports=function(e,t){t||(t=[0,""]),e+="";var n=parseFloat(e,10);return t[0]=n,t[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t}},function(e,t,n){var r,o,i;!function(n,a){o=[t,e],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t){"use strict";function n(e){var t=e&&(w&&e[w]||e[_]);if("function"==typeof t)return t}function r(e){function t(t,n,r,o,i,a){if(o=o||D,a=a||r,null==n[r]){var u=A[i];return t?Error("Required "+u+" `"+a+"` was not specified in "+("`"+o+"`.")):null}return e(n,r,o,i,a)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function o(e){function t(t,n,r,o,i){var a=t[n],u=C(a);if(u!==e){var s=A[o],c=v(a);return Error("Invalid "+s+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return r(t)}function i(){return r(b.thatReturns(null))}function a(e){function t(t,n,r,o,i){var a=t[n];if(!Array.isArray(a)){var u=A[o],s=C(a);return Error("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an array."))}for(var c=0;a.length>c;c++){var l=e(a,c,r,o,i+"["+c+"]");if(l instanceof Error)return l}return null}return r(t)}function u(){function e(e,t,n,r,o){if(!g.isValidElement(e[t])){var i=A[r];return Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a single ReactElement."))}return null}return r(e)}function s(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=A[o],u=e.name||D,s=m(t[n]);return Error("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return r(t)}function c(e){function t(t,n,r,o,i){for(var a=t[n],u=0;e.length>u;u++)if(a===e[u])return null;var s=A[o],c=JSON.stringify(e);return Error("Invalid "+s+" `"+i+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+c+"."))}return r(Array.isArray(e)?t:function(){return Error("Invalid argument supplied to oneOf, expected an instance of array.")})}function l(e){function t(t,n,r,o,i){var a=t[n],u=C(a);if("object"!==u){var s=A[o];return Error("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var c in a)if(a.hasOwnProperty(c)){var l=e(a,c,r,o,i+"."+c);if(l instanceof Error)return l}return null}return r(t)}function f(e){function t(t,n,r,o,i){for(var a=0;e.length>a;a++){var u=e[a];if(null==u(t,n,r,o,i))return null}var s=A[o];return Error("Invalid "+s+" `"+i+"` supplied to "+("`"+r+"`."))}return r(Array.isArray(e)?t:function(){return Error("Invalid argument supplied to oneOfType, expected an instance of array.")})}function p(){function e(e,t,n,r,o){if(!h(e[t])){var i=A[r];return Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return r(e)}function d(e){function t(t,n,r,o,i){var a=t[n],u=C(a);if("object"!==u){var s=A[o];return Error("Invalid "+s+" `"+i+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var l=e[c];if(l){var f=l(a,c,r,o,i+"."+c);if(f)return f}}return null}return r(t)}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||g.isValidElement(e))return!0;var t=n(e);if(!t)return!1;var r,o=t.call(e);if(t!==e.entries){for(;!(r=o.next()).done;)if(!h(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!h(i[1]))return!1}return!0;default:return!1}}function C(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function v(e){var t=C(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function m(e){return e.constructor&&e.constructor.name?e.constructor.name:D}var y="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,g={};g.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===y};var A={prop:"prop",context:"context",childContext:"child context"},b={thatReturns:function(e){return function(){return e}}},w="function"==typeof Symbol&&Symbol.iterator,_="@@iterator",D="<<anonymous>>",x={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),any:i(),arrayOf:a,element:u(),instanceOf:s,node:p(),objectOf:l,oneOf:c,oneOfType:f,shape:d};t.exports=x})},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(4),i=n(4),a=n(90),u=o.createFactory(n(84)),s=n(85),c=n(89),l=n(4).unstable_renderSubtreeIntoContainer,f=a.canUseDOM?window.HTMLElement:{},p=a.canUseDOM?document.body:{appendChild:function(){}},d=o.createClass({displayName:"Modal",statics:{setAppElement:function(e){p=s.setElement(e)},injectCSS:function(){}},propTypes:{isOpen:o.PropTypes.bool.isRequired,style:o.PropTypes.shape({content:o.PropTypes.object,overlay:o.PropTypes.object}),portalClassName:o.PropTypes.string,bodyClassName:o.PropTypes.string,appElement:o.PropTypes.instanceOf(f),onAfterOpen:o.PropTypes.func,onRequestClose:o.PropTypes.func,closeTimeoutMS:o.PropTypes.number,ariaHideApp:o.PropTypes.bool,shouldCloseOnOverlayClick:o.PropTypes.bool},getDefaultProps:function(){return{isOpen:!1,portalClassName:"ReactModalPortal",bodyClassName:"ReactModal__Body",ariaHideApp:!0,closeTimeoutMS:0,shouldCloseOnOverlayClick:!0}},componentDidMount:function(){this.node=document.createElement("div"),this.node.className=this.props.portalClassName,document.body.appendChild(this.node),this.renderPortal(this.props)},componentWillReceiveProps:function(e){this.renderPortal(e)},componentWillUnmount:function(){i.unmountComponentAtNode(this.node),document.body.removeChild(this.node),c(document.body).remove(this.openBodyClass())},openBodyClass:function(){return this.props.bodyClassName+"--open"},renderPortal:function(e){e.isOpen?c(document.body).add(this.openBodyClass()):c(document.body).remove(this.openBodyClass()),e.ariaHideApp&&s.toggle(e.isOpen,e.appElement),this.portal=l(this,u(r({},e,{defaultStyles:d.defaultStyles})),this.node)},render:function(){return o.DOM.noscript()}});d.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},e.exports=d},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(4),i=o.DOM.div,a=n(86),u=n(87),s=function(){},c={onAfterClose:s,style:{overlay:{},content:{}},overlayClassName:"ReactModal__Overlay",className:"ReactModal__Content"};e.exports=o.createClass({displayName:"ModalPortal",shouldClose:null,getDefaultProps:function(){return c},getInitialState:function(){return{afterOpen:!1,beforeClose:!1}},componentDidMount:function(){this.props.isOpen&&(this.setFocusAfterRender(!0),this.open())},componentWillUnmount:function(){clearTimeout(this.closeTimer)},componentWillReceiveProps:function(e){!this.props.isOpen&&e.isOpen?(this.setFocusAfterRender(!0),this.open()):this.props.isOpen&&!e.isOpen&&this.close()},componentDidUpdate:function(){this.focusAfterRender&&(this.focusContent(),this.setFocusAfterRender(!1))},setFocusAfterRender:function(e){this.focusAfterRender=e},open:function(){this.state.afterOpen&&this.state.beforeClose?(clearTimeout(this.closeTimer),this.setState({beforeClose:!1})):(a.setupScopedFocus(this.node),a.markForFocusLater(),this.setState({isOpen:!0},function(){this.setState({afterOpen:!0}),this.props.isOpen&&this.props.onAfterOpen&&this.props.onAfterOpen()}.bind(this)))},close:function(){this.ownerHandlesClose()&&(this.props.closeTimeoutMS>0?this.closeWithTimeout():this.closeWithoutTimeout())},focusContent:function(){this.contentHasFocus()||this.refs.content.focus()},closeWithTimeout:function(){this.setState({beforeClose:!0},function(){this.closeTimer=setTimeout(this.closeWithoutTimeout,this.props.closeTimeoutMS)}.bind(this))},closeWithoutTimeout:function(){this.setState({beforeClose:!1,isOpen:!1,afterOpen:!1},this.afterClose)},afterClose:function(){a.returnFocus(),a.teardownScopedFocus(),this.props.onAfterClose()},handleKeyDown:function(e){9==e.keyCode&&u(this.refs.content,e),27==e.keyCode&&(e.preventDefault(),this.requestClose(e))},handleOverlayMouseDown:function(e){null===this.shouldClose&&(this.shouldClose=!0)},handleOverlayMouseUp:function(e){this.shouldClose&&this.props.shouldCloseOnOverlayClick&&(this.ownerHandlesClose()?this.requestClose(e):this.focusContent()),this.shouldClose=null},handleContentMouseDown:function(e){this.shouldClose=!1},handleContentMouseUp:function(e){this.shouldClose=!1},requestClose:function(e){this.ownerHandlesClose()&&this.props.onRequestClose(e)},ownerHandlesClose:function(){return this.props.onRequestClose},shouldBeClosed:function(){return!this.props.isOpen&&!this.state.beforeClose},contentHasFocus:function(){return document.activeElement===this.refs.content||this.refs.content.contains(document.activeElement)},buildClassName:function(e){var t=e+" ";return this.state.afterOpen&&(t+=e+"--after-open"),this.state.beforeClose&&(t+=e+"--before-close"),t},getPropInlineStyle:function(e,t){var n=e?this.props.defaultStyles[t]:{},o=this.props.style[t]||{};return r({},n,o)},isPropEqualToDefault:function(e){return this.props[e]===c[e]},render:function(){var e=this.getPropInlineStyle(this.isPropEqualToDefault("className"),"content"),t=this.getPropInlineStyle(this.isPropEqualToDefault("overlayClassName"),"overlay");return this.shouldBeClosed()?i():i({ref:"overlay",className:this.buildClassName(this.props.overlayClassName),style:t,onMouseDown:this.handleOverlayMouseDown,onMouseUp:this.handleOverlayMouseUp},i({ref:"content",style:e,className:this.buildClassName(this.props.className),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentMouseDown,onMouseUp:this.handleContentMouseUp,role:"dialog"},this.props.children))}})},function(e,t){"use strict";function n(e){if("string"==typeof e){var t=document.querySelectorAll(e);e="length"in t?t[0]:t}return s=e||s}function r(e){a(e),(e||s).setAttribute("aria-hidden","true")}function o(e){a(e),(e||s).removeAttribute("aria-hidden")}function i(e,t){e?r(t):o(t)}function a(e){if(!e&&!s)throw Error("react-modal: You must set an element with `Modal.setAppElement(el)` to make this accessible")}function u(){s=document.body}var s="undefined"!=typeof document?document.body:null;t.toggle=i,t.setElement=n,t.show=o,t.hide=r,t.resetForTesting=u},function(e,t,n){"use strict";function r(e){s=!0}function o(e){if(s){if(s=!1,!a)return;setTimeout(function(){if(!a.contains(document.activeElement)){var e=i(a)[0]||a;e.focus()}},0)}}var i=n(26),a=null,u=null,s=!1;t.markForFocusLater=function(){u=document.activeElement},t.returnFocus=function(){try{u.focus()}catch(e){console.warn("You tried to return focus to "+u+" but it is not in the DOM anymore")}u=null},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",r,!1),document.addEventListener("focus",o,!0)):(window.attachEvent("onBlur",r),document.attachEvent("onFocus",o))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",r),document.removeEventListener("focus",o)):(window.detachEvent("onBlur",r),document.detachEvent("onFocus",o))}},function(e,t,n){"use strict";var r=n(26);e.exports=function(e,t){var n=r(e);if(!n.length)return void t.preventDefault();var o=n[t.shiftKey?0:n.length-1],i=o===document.activeElement||e===document.activeElement;if(i){t.preventDefault();var a=n[t.shiftKey?n.length-1:0];a.focus()}}},function(e,t,n){"use strict";e.exports=n(83)},function(e,t){function n(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function r(e){return this instanceof r?(e||(e={}),e.nodeType&&(e={el:e}),this.opts=e,this.el=e.el||document.body,"object"!=typeof this.el&&(this.el=document.querySelector(this.el)),void 0):new r(e)}e.exports=function(e){return new r(e)},r.prototype.add=function(e){var t=this.el;if(t){if(""===t.className)return t.className=e;var r=t.className.split(" ");return n(r,e)>-1?r:(r.push(e),t.className=r.join(" "),r)}},r.prototype.remove=function(e){var t=this.el;if(t&&""!==t.className){var r=t.className.split(" "),o=n(r,e);return o>-1&&r.splice(o,1),t.className=r.join(" "),r}},r.prototype.has=function(e){var t=this.el;if(t){var r=t.className.split(" ");return n(r,e)>-1}},r.prototype.toggle=function(e){var t=this.el;t&&(this.has(e)?this.remove(e):this.add(e))}},function(e,t,n){var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t["default"]=void 0;var u=n(4),s=n(28),c=r(s),l=n(29),f=(r(l),function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.store=n.store,a}return a(t,e),t.prototype.getChildContext=function(){return{store:this.store}},t.prototype.render=function(){var e=this.props.children;return u.Children.only(e)},t}(u.Component));t["default"]=f,f.propTypes={store:c["default"].isRequired,children:u.PropTypes.element.isRequired},f.childContextTypes={store:c["default"].isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return e.displayName||e.name||"Component"}function s(e,t){try{return e.apply(t)}catch(n){return E.value=n,E}}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=!!e,p=e||D,h=void 0;
h="function"==typeof t?t:t?(0,m["default"])(t):x;var v=n||k,y=r.pure,g=void 0===y||y,A=r.withRef,w=void 0!==A&&A,O=g&&v!==k,F=S++;return function(e){function t(e,t,n){var r=v(e,t,n);return r}var n="Connect("+u(e)+")",r=function(r){function u(e,t){o(this,u);var a=i(this,r.call(this,e,t));a.version=F,a.store=e.store||t.store,(0,_["default"])(a.store,'Could not find "store" in either the context or '+('props of "'+n+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+n+'".'));var s=a.store.getState();return a.state={storeState:s},a.clearCache(),a}return a(u,r),u.prototype.shouldComponentUpdate=function(){return!g||this.haveOwnPropsChanged||this.hasStoreStateChanged},u.prototype.computeStateProps=function(e,t){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,t);var n=e.getState(),r=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(n,t):this.finalMapStateToProps(n);return r},u.prototype.configureFinalMapState=function(e,t){var n=p(e.getState(),t),r="function"==typeof n;return this.finalMapStateToProps=r?n:p,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},u.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,t);var n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n);return r},u.prototype.configureFinalMapDispatch=function(e,t){var n=h(e.dispatch,t),r="function"==typeof n;return this.finalMapDispatchToProps=r?n:h,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,r?this.computeDispatchProps(e,t):n},u.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return!(this.stateProps&&(0,C["default"])(e,this.stateProps)||(this.stateProps=e,0))},u.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return!(this.dispatchProps&&(0,C["default"])(e,this.dispatchProps)||(this.dispatchProps=e,0))},u.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&O&&(0,C["default"])(e,this.mergedProps)||(this.mergedProps=e,0))},u.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},u.prototype.trySubscribe=function(){c&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},u.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},u.prototype.componentDidMount=function(){this.trySubscribe()},u.prototype.componentWillReceiveProps=function(e){g&&(0,C["default"])(e,this.props)||(this.haveOwnPropsChanged=!0)},u.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},u.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},u.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!g||t!==e){if(g&&!this.doStatePropsDependOnOwnProps){var n=s(this.updateStatePropsIfNeeded,this);if(!n)return;n===E&&(this.statePropsPrecalculationError=E.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},u.prototype.getWrappedInstance=function(){return(0,_["default"])(w,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},u.prototype.render=function(){var t=this.haveOwnPropsChanged,n=this.hasStoreStateChanged,r=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,i=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var a=!0,u=!0;g&&i&&(a=n||t&&this.doStatePropsDependOnOwnProps,u=t&&this.doDispatchPropsDependOnOwnProps);var s=!1,c=!1;r?s=!0:a&&(s=this.updateStatePropsIfNeeded()),u&&(c=this.updateDispatchPropsIfNeeded());var p=!0;return p=!!(s||c||t)&&this.updateMergedPropsIfNeeded(),!p&&i?i:this.renderedElement=w?(0,f.createElement)(e,l({},this.mergedProps,{ref:"wrappedInstance"})):(0,f.createElement)(e,this.mergedProps)},u}(f.Component);return r.displayName=n,r.WrappedComponent=e,r.contextTypes={store:d["default"]},r.propTypes={store:d["default"]},(0,b["default"])(r,e)}}var l=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0,t["default"]=c;var f=n(4),p=n(28),d=r(p),h=n(93),C=r(h),v=n(94),m=r(v),y=n(29),g=(r(y),n(16)),A=(r(g),n(95)),b=r(A),w=n(96),_=r(w),D=function(e){return{}},x=function(e){return{dispatch:e}},k=function(e,t,n){return l({},n,e,t)},E={value:null},S=0},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;n.length>i;i++)if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;return!0}t.__esModule=!0,t["default"]=n},function(e,t,n){"use strict";function r(e){return function(t){return(0,o.bindActionCreators)(e,t)}}t.__esModule=!0,t["default"]=r;var o=n(10)},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,i){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var u=0;a.length>u;++u)if(!(n[a[u]]||r[a[u]]||i&&i[a[u]]))try{e[a[u]]=t[a[u]]}catch(s){}}return e}},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;s=Error(t.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){!function(t,r){e.exports=r(n(4),n(4))}(this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(){return!!(navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia)}t.__esModule=!0;var u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1),c=r(s),l=n(2),f=function(e){function t(){o(this,t),e.call(this),this.state={hasUserMedia:!1}}return i(t,e),u(t,null,[{key:"defaultProps",value:{audio:!0,height:480,width:640,screenshotFormat:"image/webp",onUserMedia:function(){}},enumerable:!0},{key:"propTypes",value:{audio:s.PropTypes.bool,muted:s.PropTypes.bool,onUserMedia:s.PropTypes.func,height:s.PropTypes.oneOfType([s.PropTypes.number,s.PropTypes.string]),width:s.PropTypes.oneOfType([s.PropTypes.number,s.PropTypes.string]),screenshotFormat:s.PropTypes.oneOf(["image/webp","image/png","image/jpeg"]),className:s.PropTypes.string},enumerable:!0},{key:"mountedInstances",value:[],enumerable:!0},{key:"userMediaRequested",value:!1,enumerable:!0}]),t.prototype.componentDidMount=function(){a()&&(t.mountedInstances.push(this),this.state.hasUserMedia||t.userMediaRequested||this.requestUserMedia())},t.prototype.requestUserMedia=function(){var e=this;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var n=function(n,r){var o={video:{optional:[{sourceId:r}]}};e.props.audio&&(o.audio={optional:[{sourceId:n}]}),navigator.getUserMedia(o,function(e){t.mountedInstances.forEach(function(t){return t.handleUserMedia(null,e)})},function(e){t.mountedInstances.forEach(function(t){return t.handleUserMedia(e)})})};this.props.audioSource&&this.props.videoSource?n(this.props.audioSource,this.props.videoSource):"mediaDevices"in navigator?navigator.mediaDevices.enumerateDevices().then(function(e){var t=null,r=null;e.forEach(function(e){"audio"===e.kind?t=e.id:"video"===e.kind&&(r=e.id)}),n(t,r)})["catch"](function(e){console.log(e.name+": "+e.message)}):MediaStreamTrack.getSources(function(e){var t=null,r=null;e.forEach(function(e){"audio"===e.kind?t=e.id:"video"===e.kind&&(r=e.id)}),n(t,r)}),t.userMediaRequested=!0},t.prototype.handleUserMedia=function(e,t){if(e)return void this.setState({hasUserMedia:!1});var n=window.URL.createObjectURL(t);this.stream=t,this.setState({hasUserMedia:!0,src:n}),this.props.onUserMedia()},t.prototype.componentWillUnmount=function(){var e=t.mountedInstances.indexOf(this);if(t.mountedInstances.splice(e,1),0===t.mountedInstances.length&&this.state.hasUserMedia){if(this.stream.stop)this.stream.stop();else{if(this.stream.getVideoTracks)for(var n=this.stream.getVideoTracks(),r=Array.isArray(n),o=0,n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if(o=n.next(),o.done)break;i=o.value}var a=i;a.stop()}if(this.stream.getAudioTracks)for(var u=this.stream.getAudioTracks(),s=Array.isArray(u),c=0,u=s?u:u[Symbol.iterator]();;){var l;if(s){if(c>=u.length)break;l=u[c++]}else{if(c=u.next(),c.done)break;l=c.value}var a=l;a.stop()}}t.userMediaRequested=!1,window.URL.revokeObjectURL(this.state.src)}},t.prototype.getScreenshot=function(){if(!this.state.hasUserMedia)return null;var e=this.getCanvas();return e.toDataURL(this.props.screenshotFormat)},t.prototype.getCanvas=function(){if(!this.state.hasUserMedia)return null;var e=l.findDOMNode(this);if(!this.ctx){var t=document.createElement("canvas"),n=e.videoWidth/e.videoHeight;t.width=e.clientWidth,t.height=e.clientWidth/n,this.canvas=t,this.ctx=t.getContext("2d")}var r=this.ctx,o=this.canvas;return r.drawImage(e,0,0,o.width,o.height),o},t.prototype.render=function(){return c["default"].createElement("video",{autoPlay:!0,width:this.props.width,height:this.props.height,src:this.state.src,muted:this.props.muted,className:this.props.className})},t}(s.Component);t["default"]=f,e.exports=t["default"]},function(t,n){t.exports=e},function(e,n){e.exports=t}])})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var a=e(n,r,o),s=a.dispatch,c=[],l={getState:a.getState,dispatch:function(e){return s(e)}};return c=t.map(function(e){return e(l)}),s=u["default"].apply(void 0,c)(a.dispatch),i({},a,{dispatch:s})}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var a=n(30),u=r(a)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),o={},i=0;r.length>i;i++){var a=r[i],u=e[a];"function"==typeof u&&(o[a]=n(u,t))}return o}t.__esModule=!0,t["default"]=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function i(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:u.ActionTypes.INIT});if(void 0===r)throw Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if(void 0===n(void 0,{type:o}))throw Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+u.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function a(e){for(var t=Object.keys(e),n={},r=0;t.length>r;r++){var a=t[r];"function"==typeof e[a]&&(n[a]=e[a])}var u,s=Object.keys(n);try{i(n)}catch(c){u=c}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(u)throw u;for(var r=!1,i={},a=0;s.length>a;a++){var c=s[a],l=n[c],f=e[c],p=l(f,t);if(void 0===p){var d=o(c,t);throw Error(d)}i[c]=p,r=r||p!==f}return r?i:e}}t.__esModule=!0,t["default"]=a;var u=n(31),s=n(16),c=(r(s),n(32));r(c)},function(e,t,n){e.exports=n(102)},function(e,t,n){(function(e,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(103),u=o(a);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var s=(0,u["default"])(i);t["default"]=s}).call(t,function(){return this}(),n(33)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n},[118,50],[118,51],[118,52],[118,53],[118,54],[118,55],[118,56],[118,57],[118,58],[118,59],[118,60],[118,61],[118,63],[118,64],function(e,t,n,r){var o=n(r);"string"==typeof o&&(o=[[e.id,o,""]]),n(3)(o,{}),o.locals&&(e.exports=o.locals)}]))}).call(this,require("_process"))},{_process:1}]},{},[]);var Onfido=require("onfido-sdk-ui");var url="https://gentle-gorge-17630.herokuapp.com/api";var request=new XMLHttpRequest;request.open("GET",url,true);request.onload=function(){if(request.status>=200&&request.status<400){var data=JSON.parse(request.responseText);window.onfidoOut=Onfido.init({token:data.message,buttonId:"onfido-button",onReady:function(){console.log("successfully authorised")},onDocumentCapture:function(data){console.log("document has been captured successfully",data)},onFaceCapture:function(data){console.log("face capture was successful",data)},onComplete:function(data){console.log("everything is complete",data);console.log(Onfido.getCaptures())},steps:[{type:"welcome",options:{title:"Open your new bank account"}},{type:"document",options:{useWebcam:true}},"face","complete"]})}};request.send()},0);
{
"name": "requirebin-sketch",
"version": "1.0.0",
"dependencies": {
"onfido-sdk-ui": "0.8.2"
}
}
<div id="onfido-mount"></div>
<meta charset="utf-8">
<title>Onfido SDK Demo</title>
<meta name="viewport" content="width=device-width, minimal-ui">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,500" rel="stylesheet">
<style type="text/css">
html, body {
height: 100%;
margin: 0;
}
body, button {
-webkit-font-smoothing: antialiased;
}
@media (min-width: 30em) {
#onfido-mount {
position: relative;
top: 10%;
}
.onfido-sdk-ui-Modal-inner {
font-family: "Open Sans", sans-serif !important;
}
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment