diff --git a/CHANGELOG.md b/CHANGELOG.md index 7462230988..49e8242782 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,11 @@ This project adheres to the Node default version scheme, meaning It's safe to us The standard for the caret can [be found here](https://docs.npmjs.com/misc/semver#caret-ranges-123-025-004). Breaking changes result in a different major. UI changes that might break customizations on top of the sdk, will be treated as breaking changes too. -## [new-version] +## [0.10.0] ### Changed - Internal: Use `visibilityjs` to pause captures when the tab is inactive. -- Internal: Document not found error message. +- Internal: The copy of the document not found error message was changed. - Internal: Changed the order of the document selection to passport, driver's license and identity card. - Public: The returned webcam captures now have a resolution of 960x720, or lower if the webcam does not support it. - Internal: The confirmation step for webcam captures now displays the new high resolution images. @@ -16,7 +16,7 @@ Breaking changes result in a different major. UI changes that might break custom ### Added - Public: Uploaded PDF files are now supported and returned by the callbacks as base64. -- Internal: PDF files are displayed in the confirmation step as an embeded object, which means the browser needs to support pdf files in order for them to be visible. +- Internal: PDF files are displayed in the confirmation step as an embedded object, which means the browser needs to support pdf files in order for them to be visible. ## [0.9.0] @@ -120,7 +120,7 @@ Breaking changes result in a different major. UI changes that might break custom The standard for this change log can be found [here](http://keepachangelog.com/). -[new-version]: https://github.com/onfido/onfido-sdk-ui/compare/0.9.0...master +[0.10.0]: https://github.com/onfido/onfido-sdk-ui/compare/0.9.0...0.10.0 [0.9.0]: https://github.com/onfido/onfido-sdk-ui/compare/0.8.4...0.9.0 [0.8.4]: https://github.com/onfido/onfido-sdk-ui/compare/0.8.3...0.8.4 [0.8.3]: https://github.com/onfido/onfido-sdk-ui/compare/0.8.2...0.8.3 diff --git a/dist/onfido.min.js b/dist/onfido.min.js index 33a208bf03..02043701eb 100644 --- a/dist/onfido.min.js +++ b/dist/onfido.min.js @@ -1,12 +1,12 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Onfido=t():e.Onfido=t()}(this,function(){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){var r,o,i;!function(a,u){o=[e,t,n(1),n(27),n(7),n(53),n(46),n(3),n(24),n(44)],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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 d(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 h(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 v(e){var t=T,n={ready:function(){e.onReady()},documentCapture:function(t){e.onDocumentCapture(E(t))},faceCapture:function(t){e.onFaceCapture(E(t))},complete:function(n){e.onComplete(t(n))}};return b.default.forIn(n,function(e,t){"ready"===t?o.events.once(t,e):o.events.on(t,e)}),n}function m(e){b.default.forIn(e,function(e,t){o.events.off(t,e)})}function y(e,t){return t&&m(t),v(e)}Object.defineProperty(t,"__esModule",{value:!0});var g=l(i),_=l(a),b=l(s),w=l(c),k=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.default.setUp();var x=function(e){var t=e.options,r=t.useModal,o=t.isModalOpen,i=t.buttonId,a=h(t,["useModal","isModalOpen","buttonId"]),u=h(e,["options"]);return(0,n.h)(g.default,k({useModal:r,buttonId:i},{isOpen:o}),(0,n.h)(_.default,k({options:a},u)))},C=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)(x,{options:t,socket:i,path:"/"}),(0,n.h)(x,{options:t,socket:i,path:"/step/:step/"})))},S=function(e){function t(){var r,o,i;f(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return r=o=p(this,e.call.apply(e,[this].concat(u))),o.render=function(e){return(0,n.h)(C,k({},o.props,{socket:o.state.socket}))},i=r,p(o,i)}return d(t,e),t.prototype.componentWillMount=function(){var e=this.props.options.token;this.setState({socket:(0,o.connect)(e)})},t.prototype.componentWillReceiveProps=function(e){var t=e.options.token;this.props.options.token!==t&&this.setState({socket:(0,o.connect)(t)})},t}(n.Component),O=function(e,t,r){return(0,n.render)((0,n.h)(S,{options:e}),t,r)},E=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}},T=function(e){return b.default.mapValues(e,function(e){return e?E(e):null})},P={};P.getCaptures=function(){return T(o.events.getCaptures())};var A=function(){},j={token:"some token",buttonId:"onfido-button",containerId:"onfido-mount",onReady:A,onDocumentCapture:A,onFaceCapture:A,onComplete:A};P.init=function(e){w.default.track();var t=k({},j,e),n=v(t),r=document.getElementById(t.containerId),o=O(t,r);return{options:t,element:o,eventListenersMap:n,setOptions:function(e){return this.options=k({},this.options,e),this.eventListenersMap=y(this.options,this.eventListenersMap),this.element=O(this.options,r,this.element),this.options}}},t.default=P,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;)F.push(arguments[a]);for(n&&n.children&&(F.length||F.push(n.children),delete n.children);F.length;)if((o=F.pop())instanceof Array)for(a=o.length;a--;)F.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 L.vnode&&L.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(".");return function(t){for(var o=t&&t.target||this,a={},s=a,c=u(n)?i(t,n):o.nodeName?o.type.match(/^che|rad/)?o.checked:o.value:t,l=0;r.length-1>l;l++)s=s[r[l]]||(s[r[l]]=!l&&e.state[r[l]]||{});s[r[l]]=c,e.setState(a)}}function f(e){!e._dirty&&(e._dirty=!0)&&1==X.push(e)&&(L.debounceRendering||z)(p)}function p(){var e,t=X;for(X=[];e=t.pop();)e._dirty&&D(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(y(e),t||q)}function v(e,t){return u(t)?e instanceof Text:u(t.nodeName)?m(e,t.nodeName):a(t.nodeName)?e._componentConstructor===t.nodeName||d(t):void 0}function m(e,t){return e.normalizedNodeName===t||V(e.nodeName)===V(t)}function y(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 g(e){var t=e.parentNode;t&&t.removeChild(e)}function _(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]||$[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=V(t.substring(2)),r?c[t]||e.addEventListener(t,w,!!G[t]):c[t]&&e.removeEventListener(t,w,!!G[t]),c[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)b(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",V(l[1])):e.removeAttribute(t):"object"==typeof r||a(r)||(l?e.setAttributeNS("http://www.w3.org/1999/xlink",V(l[1]),r):e.setAttribute(t,r))}else e.className=r||""}function b(e,t,n){try{e[t]=n}catch(e){}}function w(e){return this._listeners[e.type](L.event&&L.event(e)||e)}function k(e){if(g(e),e instanceof Element){e._component=e._componentConstructor=null;var t=e.normalizedNodeName||V(e.nodeName);(J[t]||(J[t]=[])).push(e)}}function x(e,t){var n=V(e),r=J[n]&&J[n].pop()||(t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e));return r.normalizedNodeName=n,r}function C(){for(var e;e=Y.pop();)L.afterMount&&L.afterMount(e),e.componentDidMount&&e.componentDidMount()}function S(e,t,n,r,o,i){Z++||(Q=o instanceof SVGElement);var a=O(e,t,n,r);return o&&a.parentNode!==o&&o.appendChild(a),--Z||i||C(),a}function O(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.nodeValue=t),e;P(e)}return document.createTextNode(t)}if(a(t.nodeName))return N(e,t,n,r);var i=e,s=t.nodeName,c=Q,l=t.children;if(u(s)||(s+=""),Q="svg"===s||"foreignObject"!==s&&Q,e){if(!m(e,s)){for(i=x(s,Q);e.firstChild;)i.appendChild(e.firstChild);P(e)}}else i=x(s,Q);l&&1===l.length&&"string"==typeof l[0]&&1===i.childNodes.length&&i.firstChild instanceof Text?i.firstChild.nodeValue!=l[0]&&(i.firstChild.nodeValue=l[0]):(l&&l.length||i.firstChild)&&E(i,l,n,r);var f=i[K];if(!f){i[K]=f={};for(var p=i.attributes,v=p.length;v--;)f[p[v].name]=p[v].value}return A(i,t.attributes,f),o&&"function"==typeof o.ref&&(f.ref=o.ref)(i),Q=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,m=0,y=t&&t.length;if(h)for(var g=0;h>g;g++){var _=c[g],b=y?(i=_._component)?i.__key:(i=_[K])?i.key:null:null;b||0===b?(p++,f[b]=_):l[m++]=_}if(y)for(var g=0;y>g;g++){u=t[g],s=null;var b=u.key;if(null!=b)p&&b in f&&(s=f[b],f[b]=void 0,p--);else if(!s&&m>d){for(o=d;m>o;o++)if(i=l[o],i&&v(i,u)){s=i,l[o]=void 0,o===m-1&&m--,o===d&&d++;break}!s&&m>d&&a(u.nodeName)&&r&&(s=l[d],l[d++]=void 0)}s=O(s,u,n,r),s&&s!==e&&s!==c[g]&&e.insertBefore(s,c[g]||null)}if(p)for(var g in f)f[g]&&P(f[g]);m>d&&T(l)}function T(e,t){for(var n=e.length;n--;)e[n]&&P(e[n],t)}function P(e,t){var n=e._component;n?I(n,!t):(e[K]&&e[K].ref&&e[K].ref(null),t||k(e),e.childNodes&&e.childNodes.length&&T(e.childNodes,t))}function A(e,t,n){for(var r in n)t&&r in t||null==n[r]||_(e,r,n[r],n[r]=void 0,Q);if(t)for(var o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||_(e,o,n[o],n[o]=t[o],Q)}function j(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(U.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 R(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&&L.syncComponentUpdates===!1&&e.base?f(e):D(e,1,o)),e.__ref&&e.__ref(e))}function D(e,t,n,i){if(!e._disable){var u,s,c,l,f=e.props,p=e.state,v=e.context,m=e.prevProps||f,g=e.prevState||p,_=e.prevContext||v,b=e.base,w=e.nextBase,k=b||w,x=e._component;if(b&&(e.props=m,e.state=g,e.context=_,2!==t&&e.shouldComponentUpdate&&e.shouldComponentUpdate(f,p,v)===!1?u=!0:e.componentWillUpdate&&e.componentWillUpdate(f,p,v),e.props=f,e.state=p,e.context=v),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!u){for(e.render&&(s=e.render(f,p,v)),e.getChildContext&&(v=r(o(v),e.getChildContext()));d(s);)s=h(s,v);var O,E,T=s&&s.nodeName;if(a(T)){c=x;var A=y(s);c&&c.constructor===T?R(c,A,1,v):(O=c,c=M(T,A,v),c.nextBase=c.nextBase||w,c._parentComponent=e,e._component=c,R(c,A,0,v),D(c,1,n,!0)),E=c.base}else l=k,O=x,O&&(l=e._component=null),(k||1===t)&&(l&&(l._component=null),E=S(l,s,v,n||!b,k&&k.parentNode,!0));if(k&&E!==k&&c!==x){var j=k.parentNode;j&&E!==j&&(j.replaceChild(E,k),O||(k._component=null,P(k)))}if(O&&I(O,E!==k),e.base=E,E&&!i){for(var N=e,U=e;U=U._parentComponent;)(N=U).base=E;E._component=N,E._componentConstructor=N.constructor}}!b||n?Y.unshift(e):u||(e.componentDidUpdate&&e.componentDidUpdate(m,g,_),L.afterUpdate&&L.afterUpdate(e));var W,F=e._renderCallbacks;if(F)for(;W=F.pop();)W.call(e);Z||i||C()}}function N(e,t,n,r){for(var o=e&&e._component,i=e,a=o&&e._componentConstructor===t.nodeName,u=a,s=y(t);o&&!u&&(o=o._parentComponent);)u=o.constructor===t.nodeName;return o&&u&&(!r||o._component)?(R(o,s,3,n,r),e=o.base):(o&&!a&&(I(o,!0),e=i=null),o=M(t.nodeName,s,n),e&&!o.nextBase&&(o.nextBase=e,i=null),R(o,s,1,n,r),e=o.base,i&&e!==i&&(i._component=null,P(i))),e}function I(e,t){L.beforeUnmount&&L.beforeUnmount(e);var n=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var r=e._component;r?I(r,t):n&&(n[K]&&n[K].ref&&n[K].ref(null),e.nextBase=n,t&&(g(n),j(e)),T(n.childNodes,!t)),e.__ref&&e.__ref(null),e.componentDidUnmount&&e.componentDidUnmount()}function U(e,t){this._dirty=!0,this.context=t,this.props=e,this.state||(this.state={})}function W(e,t,n){return S(n,e,{},!1,t)}var L={},F=[],B={},V=function(e){return B[e]||(B[e]=e.toLowerCase())},H="undefined"!=typeof Promise&&Promise.resolve(),z=H?function(e){H.then(e)}:setTimeout,q={},K="undefined"!=typeof Symbol?Symbol.for("preactattr"):"__preactattr_",$={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},G={blur:1,error:1,focus:1,load:1,resize:1,scroll:1},X=[],J={},Y=[],Z=0,Q=!1,ee={};r(U.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(){D(this,2)},render:function(){}}),e.h=n,e.cloneElement=c,e.Component=U,e.render=W,e.rerender=p,e.options=L})},function(e,t,n){!function(t,r){e.exports=r(n(94),n(1))}(this,function(e,t){function n(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&_(e.attributes,t.defaultProps),n&&_(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=W.test(o))break;if(n){r=e.attributes={};for(o in t)t.hasOwnProperty(o)&&(r[W.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}}function o(e,n,r){var o=n&&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&&(n._preactCompatRendered=a),"function"==typeof r&&r(),a&&a._component||a.base}function i(e,n,r,i){var a=t.h(z,{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(B),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&&!v(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 k({displayName:e.displayName||e.name,render:function(t,n,r){return e(t,r)}})}function f(e){var t=e[J];return t?t===!0?e:t:(t=l(e),Object.defineProperty(t,J,{configurable:!0,value:!0}),t.displayName=e.displayName,t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,Object.defineProperty(e,J,{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,g(e),c(e.nodeName)&&(e.nodeName=f(e.nodeName));var t=e.attributes.ref,n=t&&typeof t;return!q||"string"!==n&&"number"!==n||(e.attributes.ref=m(t,q)),y(e),e}function h(e,n){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];if(!v(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 v(e){return e&&(e instanceof V||e.$$typeof===I)}function m(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 y(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 g(e){var t=e.attributes;if(t){var n=t.className||t.class;n&&(t.className=n)}}function _(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(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 w(){}function k(e){function t(t,r){_(this,e),n&&C(this,n),S(this),M.call(this,t,r,L),T.call(this,t,r)}var n=e.mixins&&x(e.mixins);return e.statics&&_(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps()),w.prototype=M.prototype,t.prototype=new w,t.prototype.constructor=t,t.displayName=e.displayName||"Component",t}function x(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 C(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=E(t[n].concat(e[n]||n)))}function S(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||U.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}function O(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=O(r,e[o],n);void 0!==i&&(t=i)}return t}}function T(e,t){P.call(this,e,t),this.componentWillReceiveProps=E([P,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=E([P,A,this.render||"render",j])}function P(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)),F){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 A(e){q=this}function j(){q===this&&(q=null)}function M(e,n,r){t.Component.call(this,e,n),this.getInitialState&&(this.state=this.getInitialState()),this.refs={},this._refProxies={},r!==L&&T.call(this,e,n)}function R(e,t){M.call(this,e,t)}e="default"in e?e.default:e;var D="15.1.0",N="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(" "),I="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,U={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},W=/^(?: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]/,L={},F="undefined"!=typeof process&&process.env&&!1,B=function(){return null},V=t.h("").constructor;V.prototype.$$typeof=I,V.prototype.preactCompatUpgraded=!1,V.prototype.preactCompatNormalized=!1,Object.defineProperty(V.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(V.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var H=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[J]===!0||t.prototype&&"isReactComponent"in t.prototype)&&(e.preactCompatNormalized||d(e),n(e)):o&&r(e,o)}H&&H(e)};var z=function(){};z.prototype.getChildContext=function(){return this.props.context},z.prototype.render=function(e){return e.children[0]};for(var q,K=[],$={map:function(e,t,n){return e=$.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t)},forEach:function(e,t,n){e=$.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e=$.toArray(e),e.length},only:function(e){if(e=$.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:K.concat(e)}},G={},X=N.length;X--;)G[N[X]]=u(N[X]);var J="undefined"!=typeof Symbol?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",Y=function(e){return e&&e.base||e};M.prototype=new t.Component,_(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}}),R.prototype=new M({},{},L),R.prototype.shouldComponentUpdate=function(e,t){return b(this.props,e)||b(this.state,t)};var Z={version:D,DOM:G,PropTypes:e,Children:$,render:o,createClass:k,createFactory:u,createElement:p,cloneElement:h,isValidElement:v,findDOMNode:Y,unmountComponentAtNode:a,Component:M,PureComponent:R,unstable_renderSubtreeIntoContainer:i};return Z})},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]:_,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(/[+*?]+$/)||_)[0]||"",v=~h.indexOf("+"),m=~h.indexOf("*"),y=e[p]||"";if(!y&&!m&&(h.indexOf("?")<0||v)){u=!1;break}if(a[d]=decodeURIComponent(y),v||m){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||_,r=t.attributes||_;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){return C in e}function l(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 f(){var e=void 0;return e=w&&w.location?w.location:w&&w.getCurrentLocation?w.getCurrentLocation():"undefined"!=typeof location?location:x,""+(e.pathname||"")+(e.search||"")}function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),d(e)&&l(e,t?"replace":"push"),h(e)}function d(e){for(var t=k.length;t--;)if(k[t].canRoute(e))return!0;return!1}function h(e){for(var t=!1,n=0;k.length>n;n++)k[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 p(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")&&c(t)){if(0!==e.button)return;if(v(t))return y(e)}while(t=t.parentNode)}}var _={},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,k=[],x={},C="undefined"!=typeof Symbol?Symbol.for("preactattr"):"__preactattr_";"function"==typeof addEventListener&&(addEventListener("popstate",function(){return h(f())}),addEventListener("click",g));var S=function(t){return e.h("a",b({},t,{onClick:m}))},O=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||f()},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(){k.push(this),this.updating=!0},r.prototype.componentDidMount=function(){this.updating=!1},r.prototype.componentWillUnmount=function(){k.splice(k.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),E=function(t){var n=t.component,r=t.url,o=t.matches;return e.h(n,{url:r,matches:o})};return O.route=p,O.Router=O,O.Route=E,O.Link=S,O})},function(e,t){e.exports={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){var r,o,i;!function(a,u){o=[t,n(93),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=(e.functionalSwitch=function(e,t){return(t[e]||function(e){return null})()},e.getCSSValue=function(e,t){var n=(0,u.default)(t),r=n[0],o=n[1];return o!==e&&console.warn("The css @value: "+t+" unit is "+o+" but it should be "+e),r});e.getCSSMilisecsValue=function(e){return s("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 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.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(35),a=o(i),u=n(12),s=o(u),c=n(17),l=o(c),f=n(11),p=n(18),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(117),u=r(a),s=n(116),c=r(s),l=n(115),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(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Onfido=t():e.Onfido=t()}(this,function(){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){var r,o,i;!function(a,u){o=[e,t,n(1),n(30),n(7),n(47),n(40),n(3),n(24),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,u,s,c){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 d(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 h(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 v(e){var t=T,n={ready:function(){e.onReady()},documentCapture:function(t){e.onDocumentCapture(E(t))},faceCapture:function(t){e.onFaceCapture(E(t))},complete:function(n){e.onComplete(t(n))}};return b.default.forIn(n,function(e,t){"ready"===t?o.events.once(t,e):o.events.on(t,e)}),n}function m(e){b.default.forIn(e,function(e,t){o.events.off(t,e)})}function y(e,t){return t&&m(t),v(e)}Object.defineProperty(t,"__esModule",{value:!0});var g=l(i),_=l(a),b=l(s),w=l(c),k=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.default.setUp();var x=function(e){var t=e.options,r=t.useModal,o=t.isModalOpen,i=t.buttonId,a=h(t,["useModal","isModalOpen","buttonId"]),u=h(e,["options"]);return(0,n.h)(g.default,k({useModal:r,buttonId:i},{isOpen:o}),(0,n.h)(_.default,k({options:a},u)))},C=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)(x,{options:t,socket:i,path:"/"}),(0,n.h)(x,{options:t,socket:i,path:"/step/:step/"})))},S=function(e){function t(){var r,o,i;f(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return r=o=p(this,e.call.apply(e,[this].concat(u))),o.render=function(e){return(0,n.h)(C,k({},o.props,{socket:o.state.socket}))},i=r,p(o,i)}return d(t,e),t.prototype.componentWillMount=function(){var e=this.props.options.token;this.setState({socket:(0,o.connect)(e)})},t.prototype.componentWillReceiveProps=function(e){var t=e.options.token;this.props.options.token!==t&&this.setState({socket:(0,o.connect)(t)})},t}(n.Component),O=function(e,t,r){return(0,n.render)((0,n.h)(S,{options:e}),t,r)},E=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}},T=function(e){return b.default.mapValues(e,function(e){return e?E(e):null})},P={};P.getCaptures=function(){return T(o.events.getCaptures())};var A=function(){},j={token:"some token",buttonId:"onfido-button",containerId:"onfido-mount",onReady:A,onDocumentCapture:A,onFaceCapture:A,onComplete:A};P.init=function(e){w.default.track();var t=k({},j,e),n=v(t),r=document.getElementById(t.containerId),o=O(t,r);return{options:t,element:o,eventListenersMap:n,setOptions:function(e){return this.options=k({},this.options,e),this.eventListenersMap=y(this.options,this.eventListenersMap),this.element=O(this.options,r,this.element),this.options}}},t.default=P,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;)F.push(arguments[a]);for(n&&n.children&&(F.length||F.push(n.children),delete n.children);F.length;)if((o=F.pop())instanceof Array)for(a=o.length;a--;)F.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 L.vnode&&L.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(".");return function(t){for(var o=t&&t.target||this,a={},s=a,c=u(n)?i(t,n):o.nodeName?o.type.match(/^che|rad/)?o.checked:o.value:t,l=0;r.length-1>l;l++)s=s[r[l]]||(s[r[l]]=!l&&e.state[r[l]]||{});s[r[l]]=c,e.setState(a)}}function f(e){!e._dirty&&(e._dirty=!0)&&1==X.push(e)&&(L.debounceRendering||z)(p)}function p(){var e,t=X;for(X=[];e=t.pop();)e._dirty&&R(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(y(e),t||q)}function v(e,t){return u(t)?e instanceof Text:u(t.nodeName)?m(e,t.nodeName):a(t.nodeName)?e._componentConstructor===t.nodeName||d(t):void 0}function m(e,t){return e.normalizedNodeName===t||V(e.nodeName)===V(t)}function y(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 g(e){var t=e.parentNode;t&&t.removeChild(e)}function _(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]||G[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=V(t.substring(2)),r?c[t]||e.addEventListener(t,w,!!$[t]):c[t]&&e.removeEventListener(t,w,!!$[t]),c[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)b(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",V(l[1])):e.removeAttribute(t):"object"==typeof r||a(r)||(l?e.setAttributeNS("http://www.w3.org/1999/xlink",V(l[1]),r):e.setAttribute(t,r))}else e.className=r||""}function b(e,t,n){try{e[t]=n}catch(e){}}function w(e){return this._listeners[e.type](L.event&&L.event(e)||e)}function k(e){if(g(e),e instanceof Element){e._component=e._componentConstructor=null;var t=e.normalizedNodeName||V(e.nodeName);(J[t]||(J[t]=[])).push(e)}}function x(e,t){var n=V(e),r=J[n]&&J[n].pop()||(t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e));return r.normalizedNodeName=n,r}function C(){for(var e;e=Y.pop();)L.afterMount&&L.afterMount(e),e.componentDidMount&&e.componentDidMount()}function S(e,t,n,r,o,i){Z++||(Q=o instanceof SVGElement);var a=O(e,t,n,r);return o&&a.parentNode!==o&&o.appendChild(a),--Z||i||C(),a}function O(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.nodeValue=t),e;P(e)}return document.createTextNode(t)}if(a(t.nodeName))return N(e,t,n,r);var i=e,s=t.nodeName,c=Q,l=t.children;if(u(s)||(s+=""),Q="svg"===s||"foreignObject"!==s&&Q,e){if(!m(e,s)){for(i=x(s,Q);e.firstChild;)i.appendChild(e.firstChild);P(e)}}else i=x(s,Q);l&&1===l.length&&"string"==typeof l[0]&&1===i.childNodes.length&&i.firstChild instanceof Text?i.firstChild.nodeValue!=l[0]&&(i.firstChild.nodeValue=l[0]):(l&&l.length||i.firstChild)&&E(i,l,n,r);var f=i[K];if(!f){i[K]=f={};for(var p=i.attributes,v=p.length;v--;)f[p[v].name]=p[v].value}return A(i,t.attributes,f),o&&"function"==typeof o.ref&&(f.ref=o.ref)(i),Q=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,m=0,y=t&&t.length;if(h)for(var g=0;h>g;g++){var _=c[g],b=y?(i=_._component)?i.__key:(i=_[K])?i.key:null:null;b||0===b?(p++,f[b]=_):l[m++]=_}if(y)for(var g=0;y>g;g++){u=t[g],s=null;var b=u.key;if(null!=b)p&&b in f&&(s=f[b],f[b]=void 0,p--);else if(!s&&m>d){for(o=d;m>o;o++)if(i=l[o],i&&v(i,u)){s=i,l[o]=void 0,o===m-1&&m--,o===d&&d++;break}!s&&m>d&&a(u.nodeName)&&r&&(s=l[d],l[d++]=void 0)}s=O(s,u,n,r),s&&s!==e&&s!==c[g]&&e.insertBefore(s,c[g]||null)}if(p)for(var g in f)f[g]&&P(f[g]);m>d&&T(l)}function T(e,t){for(var n=e.length;n--;)e[n]&&P(e[n],t)}function P(e,t){var n=e._component;n?I(n,!t):(e[K]&&e[K].ref&&e[K].ref(null),t||k(e),e.childNodes&&e.childNodes.length&&T(e.childNodes,t))}function A(e,t,n){for(var r in n)t&&r in t||null==n[r]||_(e,r,n[r],n[r]=void 0,Q);if(t)for(var o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||_(e,o,n[o],n[o]=t[o],Q)}function j(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(U.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 D(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&&L.syncComponentUpdates===!1&&e.base?f(e):R(e,1,o)),e.__ref&&e.__ref(e))}function R(e,t,n,i){if(!e._disable){var u,s,c,l,f=e.props,p=e.state,v=e.context,m=e.prevProps||f,g=e.prevState||p,_=e.prevContext||v,b=e.base,w=e.nextBase,k=b||w,x=e._component;if(b&&(e.props=m,e.state=g,e.context=_,2!==t&&e.shouldComponentUpdate&&e.shouldComponentUpdate(f,p,v)===!1?u=!0:e.componentWillUpdate&&e.componentWillUpdate(f,p,v),e.props=f,e.state=p,e.context=v),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!u){for(e.render&&(s=e.render(f,p,v)),e.getChildContext&&(v=r(o(v),e.getChildContext()));d(s);)s=h(s,v);var O,E,T=s&&s.nodeName;if(a(T)){c=x;var A=y(s);c&&c.constructor===T?D(c,A,1,v):(O=c,c=M(T,A,v),c.nextBase=c.nextBase||w,c._parentComponent=e,e._component=c,D(c,A,0,v),R(c,1,n,!0)),E=c.base}else l=k,O=x,O&&(l=e._component=null),(k||1===t)&&(l&&(l._component=null),E=S(l,s,v,n||!b,k&&k.parentNode,!0));if(k&&E!==k&&c!==x){var j=k.parentNode;j&&E!==j&&(j.replaceChild(E,k),O||(k._component=null,P(k)))}if(O&&I(O,E!==k),e.base=E,E&&!i){for(var N=e,U=e;U=U._parentComponent;)(N=U).base=E;E._component=N,E._componentConstructor=N.constructor}}!b||n?Y.unshift(e):u||(e.componentDidUpdate&&e.componentDidUpdate(m,g,_),L.afterUpdate&&L.afterUpdate(e));var W,F=e._renderCallbacks;if(F)for(;W=F.pop();)W.call(e);Z||i||C()}}function N(e,t,n,r){for(var o=e&&e._component,i=e,a=o&&e._componentConstructor===t.nodeName,u=a,s=y(t);o&&!u&&(o=o._parentComponent);)u=o.constructor===t.nodeName;return o&&u&&(!r||o._component)?(D(o,s,3,n,r),e=o.base):(o&&!a&&(I(o,!0),e=i=null),o=M(t.nodeName,s,n),e&&!o.nextBase&&(o.nextBase=e,i=null),D(o,s,1,n,r),e=o.base,i&&e!==i&&(i._component=null,P(i))),e}function I(e,t){L.beforeUnmount&&L.beforeUnmount(e);var n=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var r=e._component;r?I(r,t):n&&(n[K]&&n[K].ref&&n[K].ref(null),e.nextBase=n,t&&(g(n),j(e)),T(n.childNodes,!t)),e.__ref&&e.__ref(null),e.componentDidUnmount&&e.componentDidUnmount()}function U(e,t){this._dirty=!0,this.context=t,this.props=e,this.state||(this.state={})}function W(e,t,n){return S(n,e,{},!1,t)}var L={},F=[],B={},V=function(e){return B[e]||(B[e]=e.toLowerCase())},H="undefined"!=typeof Promise&&Promise.resolve(),z=H?function(e){H.then(e)}:setTimeout,q={},K="undefined"!=typeof Symbol?Symbol.for("preactattr"):"__preactattr_",G={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},$={blur:1,error:1,focus:1,load:1,resize:1,scroll:1},X=[],J={},Y=[],Z=0,Q=!1,ee={};r(U.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(){R(this,2)},render:function(){}}),e.h=n,e.cloneElement=c,e.Component=U,e.render=W,e.rerender=p,e.options=L})},function(e,t,n){!function(t,r){e.exports=r(n(97),n(1))}(this,function(e,t){function n(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&_(e.attributes,t.defaultProps),n&&_(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=W.test(o))break;if(n){r=e.attributes={};for(o in t)t.hasOwnProperty(o)&&(r[W.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}}function o(e,n,r){var o=n&&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&&(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(B),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&&!v(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 k({displayName:e.displayName||e.name,render:function(t,n,r){return e(t,r)}})}function f(e){var t=e[Y];return t?t===!0?e:t:(t=l(e),Object.defineProperty(t,Y,{configurable:!0,value:!0}),t.displayName=e.displayName,t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,Object.defineProperty(e,Y,{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,g(e),c(e.nodeName)&&(e.nodeName=f(e.nodeName));var t=e.attributes.ref,n=t&&typeof t;return!K||"string"!==n&&"number"!==n||(e.attributes.ref=m(t,K)),y(e),e}function h(e,n){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];if(!v(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 v(e){return e&&(e instanceof V||e.$$typeof===I)}function m(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 y(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 g(e){var t=e.attributes;if(t){var n=t.className||t.class;n&&(t.className=n)}}function _(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(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 w(){}function k(e){function t(t,r){_(this,e),n&&C(this,n),S(this),M.call(this,t,r,L),T.call(this,t,r)}var n=e.mixins&&x(e.mixins);return e.statics&&_(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps()),w.prototype=M.prototype,t.prototype=new w,t.prototype.constructor=t,t.displayName=e.displayName||"Component",t}function x(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 C(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=E(t[n].concat(e[n]||n)))}function S(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||U.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}function O(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=O(r,e[o],n);void 0!==i&&(t=i)}return t}}function T(e,t){P.call(this,e,t),this.componentWillReceiveProps=E([P,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=E([P,A,this.render||"render",j])}function P(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)),F){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 A(e){K=this}function j(){K===this&&(K=null)}function M(e,n,r){t.Component.call(this,e,n),this.getInitialState&&(this.state=this.getInitialState()),this.refs={},this._refProxies={},r!==L&&T.call(this,e,n)}function D(e,t){M.call(this,e,t)}e="default"in e?e.default:e;var R="15.1.0",N="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(" "),I="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,U={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},W=/^(?: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]/,L={},F="undefined"==typeof process||!process.env||!1,B=function(){return null},V=t.h("").constructor;V.prototype.$$typeof=I,V.prototype.preactCompatUpgraded=!1,V.prototype.preactCompatNormalized=!1,Object.defineProperty(V.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(V.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var H=t.options.event;t.options.event=function(e){return e.persist=Object,H&&(e=H(e)),e};var z=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[Y]===!0||t.prototype&&"isReactComponent"in t.prototype)&&(e.preactCompatNormalized||d(e),n(e)):o&&r(e,o)}z&&z(e)};var q=function(){};q.prototype.getChildContext=function(){return this.props.context},q.prototype.render=function(e){return e.children[0]};for(var K,G=[],$={map:function(e,t,n){return e=$.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t)},forEach:function(e,t,n){e=$.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e=$.toArray(e),e.length},only:function(e){if(e=$.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)}},X={},J=N.length;J--;)X[N[J]]=u(N[J]);var Y="undefined"!=typeof Symbol?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",Z=function(e){return e&&e.base||e};M.prototype=new t.Component,_(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}}),D.prototype=new M({},{},L),D.prototype.shouldComponentUpdate=function(e,t){return b(this.props,e)||b(this.state,t)};var Q={version:R,DOM:X,PropTypes:e,Children:$,render:o,createClass:k,createFactory:u,createElement:p,cloneElement:h,isValidElement:v,findDOMNode:Z,unmountComponentAtNode:a,Component:M,PureComponent:D,unstable_renderSubtreeIntoContainer:i};return Q})},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]:_,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(/[+*?]+$/)||_)[0]||"",v=~h.indexOf("+"),m=~h.indexOf("*"),y=e[p]||"";if(!y&&!m&&(h.indexOf("?")<0||v)){u=!1;break}if(a[d]=decodeURIComponent(y),v||m){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||_,r=t.attributes||_;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){return C in e}function l(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 f(){var e=void 0;return e=w&&w.location?w.location:w&&w.getCurrentLocation?w.getCurrentLocation():"undefined"!=typeof location?location:x,""+(e.pathname||"")+(e.search||"")}function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),d(e)&&l(e,t?"replace":"push"),h(e)}function d(e){for(var t=k.length;t--;)if(k[t].canRoute(e))return!0;return!1}function h(e){for(var t=!1,n=0;k.length>n;n++)k[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 p(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")&&c(t)){if(0!==e.button)return;if(v(t))return y(e)}while(t=t.parentNode)}}var _={},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,k=[],x={},C="undefined"!=typeof Symbol?Symbol.for("preactattr"):"__preactattr_";"function"==typeof addEventListener&&(addEventListener("popstate",function(){return h(f())}),addEventListener("click",g));var S=function(t){return e.h("a",b({},t,{onClick:m}))},O=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||f()},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(){k.push(this),this.updating=!0},r.prototype.componentDidMount=function(){this.updating=!1},r.prototype.componentWillUnmount=function(){k.splice(k.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),E=function(t){var n=t.component,r=t.url,o=t.matches;return e.h(n,{url:r,matches:o})};return O.route=p,O.Router=O,O.Route=E,O.Link=S,O})},function(e,t){e.exports={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){var r,o,i;!function(a,u){o=[t,n(96),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=(e.functionalSwitch=function(e,t){return(t[e]||function(e){return null})()},e.getCSSValue=function(e,t){var n=(0,u.default)(t),r=n[0],o=n[1];return o!==e&&console.warn("The css @value: "+t+" unit is "+o+" but it should be "+e),r});e.getCSSMilisecsValue=function(e){return s("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 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.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(87),a=o(i),u=n(16),s=o(u),c=n(25),l=o(c),f=n(15),p=n(26),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(34),i=r(o),a=n(120),u=r(a),s=n(119),c=r(s),l=n(118),f=r(l),p=n(33),d=r(p),h=n(35);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;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!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(e){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){"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(8),a=n(10),u=o(a),s=n(12),c=o(s),l=n(39),f=r(l),p=n(38),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(8),i=n(42),a=r(i),u=(0,o.createStore)(a.default,window.devToolsExtension?window.devToolsExtension():void 0);t.default=u},function(e,t,n){"use strict";t.__esModule=!0,t.mapKeys=t.every=t.mapValues=void 0;var r=n(24);t.mapValues=r.mapValues,t.every=r.every,t.mapKeys=r.mapKeys},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(1),n(4),n(72),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(59),n(14),n(55),n(20),n(4),n(79),n(5)],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)),v=l(s),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:v.default.base},(0,t.h)("span",{className:h.default.icon+" "+v.default.icon}),(0,t.h)("p",{className:v.default.text},"Take a photo with your camera or upload one from your library."))}),_=function(){return(0,t.h)("div",{className:h.default.center},(0,t.h)(d.default,null),(0,t.h)("div",{className:v.default.processing},"Processing your document"))},b=e.UploadError=function(e){var n=e.children;return(0,t.h)("div",{className:v.default.text+" "+v.default.error},n)},w=function(e){var n=e.method;return(0,c.functionalSwitch)(n,{document:function(){return(0,t.h)(o.DocumentNotFound,null)}})},k=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=e[0];return r(t)},multiple:!1,className:v.default.dropzone},o?(0,t.h)(_,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)(k,null)}}))})})},function(e,t,n){function r(e){if(!a(e)||o(e)!=u)return!1;var t=i(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==p}var o=n(84),i=n(86),a=n(91),u="[object Object]",s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,p=l.call(Object);e.exports=r},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;var i=n(65),a=o(i),u=n(12),s=o(u),c=n(18),l=r(c),f=n(19),p=n(13),d=n(37),h=new a.default,v=function(){return s.default.getState()},m=function(){return l.captureSelector(v())},y=function(){return(0,p.mapKeys)(m(),function(e,t){return t+"Capture"})},g=s.default.subscribe.bind(s.default),_=(0,d.subcribeByWatching)(v,g),b=function(e,t){return function(n){n&&h.emit(e+t,m()[e])}},w=function(e,t){return function(n){return _((0,f.createValuesHashToValueSelector)(e,n),b(n,t))}},k=w(l.isThereAValidAndConfirmedCapture,"Capture");k("document"),k("face"),_(l.allCaptured,function(e){e&&h.emit("complete",y())}),_(function(e){return e.globals.authenticated},function(e){e&&h.emit("ready")}),h.getCaptures=y,t.default=h},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(e){o=!0,i=e}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(33),i=n(13),a=n(19),u=function(e){return e.captures},s=function(e){return(0,a.createSelectorWhichMapsToHash)(u,e)},c=(t.isThereAValidCapture=s(function(e){return e.some(function(e){return e.valid})}),t.isThereAValidAndConfirmedCapture=s(function(e){return e.some(function(e){return e.valid&&e.confirmed})})),l=t.validCaptures=s(function(e){return e.filter(function(e){return e.valid})});t.unprocessedCaptures=s(function(e){return e.filter(function(e){return!e.processed})}),t.hasUnprocessedCaptures=s(function(e){return e.some(function(e){return!e.processed})}),t.areAllCapturesInvalid=s(function(e){return e.length>0&&e.every(function(e){return e.processed&&!e.valid})}),t.allCaptured=(0,o.createSelector)(c,function(e){return(0,i.every)(e,function(e){return e})}),t.captureSelector=(0,o.createSelector)(l,function(e){return(0,i.mapValues)(e,function(e){var t=r(e,1),n=t[0];return n})})},function(e,t,n){"use strict";t.__esModule=!0,t.createValuesHashToValueSelector=t.createSelectorWhichMapsToHash=void 0;var r=n(13),o=n(33);t.createSelectorWhichMapsToHash=function(e,t){return(0,o.createSelector)(e,function(e){return(0,r.mapValues)(e,t)})},t.createValuesHashToValueSelector=function(e,t){return(0,o.createSelector)(e,function(e){return e[t]})}},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(4),n(70),n(5)],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(4),n(75)],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(y){o="Opera";try{i=h.userAgent.split("OPR/")[1].split(" ")[0],a=i.split(".")[0]}catch(e){i="0.0.0.0",a=0}}else w?(t=r.indexOf("MSIE"),o="IE",i=r.substring(t+5)):b?(t=r.indexOf("Chrome"),o="Chrome",i=r.substring(t+7)):_?(t=r.indexOf("Safari"),o="Safari",i=r.substring(t+7),(t=r.indexOf("Version"))!==-1&&(i=r.substring(t+8))):g?(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 m&&(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(e){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(e){t=!0}}else if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(e){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){W.isWebRTCSupported&&(W.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!==W&&W.browser.isFirefox&&38>=W.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?(T=[],P=[],A=[],j=[],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;T.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||U||(U=!0),"audioinput"!==t.kind||I||(I=!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&&(R=!0,P.indexOf(t)===-1&&P.push(t)),"audiooutput"===t.kind&&(D=!0,A.indexOf(t)===-1&&A.push(t)),"videoinput"===t.kind&&(N=!0,j.indexOf(t)===-1&&j.push(t)),T.indexOf(t)===-1&&T.push(t))}),void 0!==W&&(W.MediaDevices=T,W.hasMicrophone=R,W.hasSpeakers=D,W.hasWebcam=N,W.isWebsiteHasWebcamPermissions=U,W.isWebsiteHasMicrophonePermissions=I,W.audioInputDevices=P,W.audioOutputDevices=A,W.videoInputDevices=j),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 v=!!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(h.userAgent||""),m=!(h.userAgent.indexOf("Edge")===-1||!h.msSaveOrOpenBlob&&!h.msSaveBlob),y=!!window.opera||h.userAgent.indexOf(" OPR/")>=0,g=void 0!==window.InstallTrigger,_=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,b=!!window.chrome&&!y,w=!!document.documentMode&&!m,k={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 k.Android()||k.BlackBerry()||k.iOS()||k.Opera()||k.Windows()},getOsName:function(){var e="Unknown OS";return k.Android()&&(e="Android"),k.BlackBerry()&&(e="BlackBerry"),k.iOS()&&(e="iOS"),k.Opera()&&(e="Opera Mini"),k.Windows()&&(e="Windows"),e}},x="Unknown OS",C="Unknown OS Version";if(k.any())x=k.getOsName();else{var S=c();x=S.osName,C=S.osVersion}var O=!1,E=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){!O&&e in document.createElement("canvas")&&(O=!0),!E&&e in document.createElement("video")&&(E=!0)});var T=[],P=[],A=[],j=[];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 R=!1,D=!1,N=!1,I=!1,U=!1;p();var W=window.DetectRTC||{};W.browser=i(),s(function(e){W.browser.isPrivateBrowsing=!!e}),W.browser["is"+W.browser.name]=!0;var L=(!!(window.process&&"object"==typeof window.process&&window.process.versions&&window.process.versions["node-webkit"]),!1);["RTCPeerConnection","webkitRTCPeerConnection","mozRTCPeerConnection","RTCIceGatherer"].forEach(function(e){L||e in window&&(L=!0)}),W.isWebRTCSupported=L,W.isORTCSupported="undefined"!=typeof RTCIceGatherer;var F=!1;W.browser.isChrome&&W.browser.version>=35?F=!0:W.browser.isFirefox&&W.browser.version>=34&&(F=!0),"https:"!==location.protocol&&(F=!1),W.isScreenCapturingSupported=F;var B={isSupported:!1,isCreateMediaStreamSourceSupported:!1};["AudioContext","webkitAudioContext","mozAudioContext","msAudioContext"].forEach(function(e){B.isSupported||e in window&&(B.isSupported=!0,"createMediaStreamSource"in window[e].prototype&&(B.isCreateMediaStreamSourceSupported=!0))}),W.isAudioContextSupported=B.isSupported,W.isCreateMediaStreamSourceSupported=B.isCreateMediaStreamSourceSupported;var V=!1;W.browser.isChrome&&W.browser.version>31&&(V=!0),W.isRtpDataChannelsSupported=V;var H=!1;W.browser.isFirefox&&W.browser.version>28?H=!0:W.browser.isChrome&&W.browser.version>25?H=!0:W.browser.isOpera&&W.browser.version>=11&&(H=!0),W.isSctpDataChannelsSupported=H,W.isMobileDevice=v;var z=!1;h.getUserMedia?z=!0:h.mediaDevices&&h.mediaDevices.getUserMedia&&(z=!0),W.browser.isChrome&&W.browser.version>=46&&"https:"!==location.protocol&&(W.isGetUserMediaSupported="Requires HTTPs"),W.isGetUserMediaSupported=z,W.osName=x,W.osVersion=C;var q="";if(screen.width){var K=screen.width?screen.width:"",$=screen.height?screen.height:"";q+=""+K+" x "+$}W.displayResolution=q,W.isCanvasSupportsStreamCapturing=O,W.isVideoSupportsStreamCapturing=E,W.DetectLocalIPAddress=l,W.isWebSocketsSupported="WebSocket"in window&&2===window.WebSocket.CLOSING,W.isWebSocketsBlocked=!W.isWebSocketsSupported,W.checkWebSocketsSupport=function(e){e=e||function(){};try{var t=new WebSocket("wss://echo.websocket.org:443/");t.onopen=function(){W.isWebSocketsBlocked=!1,e(),t.close(),t=null},t.onerror=function(){W.isWebSocketsBlocked=!0,e()}}catch(t){W.isWebSocketsBlocked=!0,e()}},W.load=function(e){e=e||function(){},p(e)},W.MediaDevices=T,W.hasMicrophone=R,W.hasSpeakers=D,W.hasWebcam=N,W.isWebsiteHasWebcamPermissions=U,W.isWebsiteHasMicrophonePermissions=I,W.audioInputDevices=P,W.audioOutputDevices=A,W.videoInputDevices=j;var G=!1;"setSinkId"in document.createElement("video")&&(G=!0),W.isSetSinkIdSupported=G;var X=!1;W.browser.isFirefox&&"undefined"!=typeof mozRTCPeerConnection?"getSenders"in mozRTCPeerConnection.prototype&&(X=!0):W.browser.isChrome&&"undefined"!=typeof webkitRTCPeerConnection&&"getSenders"in webkitRTCPeerConnection.prototype&&(X=!0),W.isRTPSenderReplaceTracksSupported=X;var J=!1;W.browser.isFirefox&&W.browser.version>38&&(J=!0),W.isRemoteStreamProcessingSupported=J;var Y=!1;"undefined"!=typeof MediaStreamTrack&&"applyConstraints"in MediaStreamTrack.prototype&&(Y=!0),W.isApplyConstraintsSupported=Y;var Z=!1;W.browser.isFirefox&&W.browser.version>=43&&(Z=!0),W.isMultiMonitorScreenCapturingSupported=Z,W.isPromisesSupported=!!("Promise"in window),void 0===W&&(window.DetectRTC={});var Q=window.MediaStream;void 0===Q&&"undefined"!=typeof webkitMediaStream&&(Q=webkitMediaStream),W.MediaStream=void 0!==Q&&Object.keys(Q.prototype),W.MediaStreamTrack="undefined"!=typeof MediaStreamTrack&&Object.keys(MediaStreamTrack.prototype);var ee=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;W.RTCPeerConnection=void 0!==ee&&Object.keys(ee.prototype),window.DetectRTC=W,e.exports=W,r=[],o=function(){return W}.apply(t,r),!(void 0!==o&&(e.exports=o))}()}).call(t,function(){return this}())},function(e,t,n){var r=n(90),o=r.Symbol;e.exports=o},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=null==e?0:e.length;++o-1}function h(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function L(e,t){for(var n=e.length;n--&&C(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function B(e){return"\\"+nr[e]}function V(e,t){return null==e?oe:e[t]}function H(e){return $n.test(e)}function z(e){return Gn.test(e)}function q(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function $(e,t){return function(n){return e(t(n))}}function G(e,t){for(var n=-1,r=e.length,o=0,i=[];++n>>1,Be=[["ary",Ce],["bind",ye],["bindKey",ge],["curry",be],["curryRight",we],["flip",Oe],["partial",ke],["partialRight",xe],["rearg",Se]],Ve="[object Arguments]",He="[object Array]",ze="[object AsyncFunction]",qe="[object Boolean]",Ke="[object Date]",$e="[object DOMException]",Ge="[object Error]",Xe="[object Function]",Je="[object GeneratorFunction]",Ye="[object Map]",Ze="[object Number]",Qe="[object Null]",et="[object Object]",tt="[object Promise]",nt="[object Proxy]",rt="[object RegExp]",ot="[object Set]",it="[object String]",at="[object Symbol]",ut="[object Undefined]",st="[object WeakMap]",ct="[object WeakSet]",lt="[object ArrayBuffer]",ft="[object DataView]",pt="[object Float32Array]",dt="[object Float64Array]",ht="[object Int8Array]",vt="[object Int16Array]",mt="[object Int32Array]",yt="[object Uint8Array]",gt="[object Uint8ClampedArray]",_t="[object Uint16Array]",bt="[object Uint32Array]",wt=/\b__p \+= '';/g,kt=/\b(__p \+=) '' \+/g,xt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ct=/&(?:amp|lt|gt|quot|#39);/g,St=/[&<>"']/g,Ot=RegExp(Ct.source),Et=RegExp(St.source),Tt=/<%-([\s\S]+?)%>/g,Pt=/<%([\s\S]+?)%>/g,At=/<%=([\s\S]+?)%>/g,jt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mt=/^\w*$/,Rt=/^\./,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nt=/[\\^$.*+?()[\]{}|]/g,It=RegExp(Nt.source),Ut=/^\s+|\s+$/g,Wt=/^\s+/,Lt=/\s+$/,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,Vt=/,? & /,Ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,zt=/\\(\\)?/g,qt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Kt=/\w*$/,$t=/^[-+]0x[0-9a-f]+$/i,Gt=/^0b[01]+$/i,Xt=/^\[object .+?Constructor\]$/,Jt=/^0o[0-7]+$/i,Yt=/^(?:0|[1-9]\d*)$/,Zt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qt=/($^)/,en=/['\n\r\u2028\u2029\\]/g,tn="\\ud800-\\udfff",nn="\\u0300-\\u036f",rn="\\ufe20-\\ufe2f",on="\\u20d0-\\u20ff",an=nn+rn+on,un="\\u2700-\\u27bf",sn="a-z\\xdf-\\xf6\\xf8-\\xff",cn="\\xac\\xb1\\xd7\\xf7",ln="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fn="\\u2000-\\u206f",pn=" \\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",dn="A-Z\\xc0-\\xd6\\xd8-\\xde",hn="\\ufe0e\\ufe0f",vn=cn+ln+fn+pn,mn="['’]",yn="["+tn+"]",gn="["+vn+"]",_n="["+an+"]",bn="\\d+",wn="["+un+"]",kn="["+sn+"]",xn="[^"+tn+vn+bn+un+sn+dn+"]",Cn="\\ud83c[\\udffb-\\udfff]",Sn="(?:"+_n+"|"+Cn+")",On="[^"+tn+"]",En="(?:\\ud83c[\\udde6-\\uddff]){2}",Tn="[\\ud800-\\udbff][\\udc00-\\udfff]",Pn="["+dn+"]",An="\\u200d",jn="(?:"+kn+"|"+xn+")",Mn="(?:"+Pn+"|"+xn+")",Rn="(?:"+mn+"(?:d|ll|m|re|s|t|ve))?",Dn="(?:"+mn+"(?:D|LL|M|RE|S|T|VE))?",Nn=Sn+"?",In="["+hn+"]?",Un="(?:"+An+"(?:"+[On,En,Tn].join("|")+")"+In+Nn+")*",Wn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Ln="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Fn=In+Nn+Un,Bn="(?:"+[wn,En,Tn].join("|")+")"+Fn,Vn="(?:"+[On+_n+"?",_n,En,Tn,yn].join("|")+")",Hn=RegExp(mn,"g"),zn=RegExp(_n,"g"),qn=RegExp(Cn+"(?="+Cn+")|"+Vn+Fn,"g"),Kn=RegExp([Pn+"?"+kn+"+"+Rn+"(?="+[gn,Pn,"$"].join("|")+")",Mn+"+"+Dn+"(?="+[gn,Pn+jn,"$"].join("|")+")",Pn+"?"+jn+"+"+Rn,Pn+"+"+Dn,Ln,Wn,bn,Bn].join("|"),"g"),$n=RegExp("["+An+tn+an+hn+"]"),Gn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xn=["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"],Jn=-1,Yn={};Yn[pt]=Yn[dt]=Yn[ht]=Yn[vt]=Yn[mt]=Yn[yt]=Yn[gt]=Yn[_t]=Yn[bt]=!0,Yn[Ve]=Yn[He]=Yn[lt]=Yn[qe]=Yn[ft]=Yn[Ke]=Yn[Ge]=Yn[Xe]=Yn[Ye]=Yn[Ze]=Yn[et]=Yn[rt]=Yn[ot]=Yn[it]=Yn[st]=!1;var Zn={};Zn[Ve]=Zn[He]=Zn[lt]=Zn[ft]=Zn[qe]=Zn[Ke]=Zn[pt]=Zn[dt]=Zn[ht]=Zn[vt]=Zn[mt]=Zn[Ye]=Zn[Ze]=Zn[et]=Zn[rt]=Zn[ot]=Zn[it]=Zn[at]=Zn[yt]=Zn[gt]=Zn[_t]=Zn[bt]=!0,Zn[Ge]=Zn[Xe]=Zn[st]=!1;var Qn={"À":"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"},er={"&":"&","<":"<",">":">",'"':""","'":"'"},tr={"&":"&","<":"<",">":">",""":'"',"'":"'"},nr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,or=parseInt,ir="object"==typeof e&&e&&e.Object===Object&&e,ar="object"==typeof self&&self&&self.Object===Object&&self,ur=ir||ar||Function("return this")(),sr="object"==typeof t&&t&&!t.nodeType&&t,cr=sr&&"object"==typeof o&&o&&!o.nodeType&&o,lr=cr&&cr.exports===sr,fr=lr&&ir.process,pr=function(){try{return fr&&fr.binding&&fr.binding("util")}catch(e){}}(),dr=pr&&pr.isArrayBuffer,hr=pr&&pr.isDate,vr=pr&&pr.isMap,mr=pr&&pr.isRegExp,yr=pr&&pr.isSet,gr=pr&&pr.isTypedArray,_r=T("length"),br=P(Qn),wr=P(er),kr=P(tr),xr=function e(t){function n(e){if(ss(e)&&!bp(e)&&!(e instanceof b)){if(e instanceof o)return e;if(_l.call(e,"__wrapped__"))return ia(e)}return new o(e)}function r(){}function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oe}function b(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=We,this.__views__=[]}function P(){var e=new b(this.__wrapped__);return e.__actions__=Vo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Vo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Vo(this.__views__),e}function Y(){if(this.__filtered__){var e=new b(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function te(){var e=this.__wrapped__.value(),t=this.__dir__,n=bp(e),r=0>t,o=n?e.length:0,i=Ti(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=Xl(s,this.__takeCount__);if(!n||ae>o||o==s&&d==s)return xo(e,this.__actions__);var h=[];e:for(;s--&&d>p;){c+=t;for(var v=-1,m=e[c];++vn)return!1;var r=t.length-1;return n==r?t.pop():Rl.call(t,n,1),--this.size,!0}function cn(e){var t=this.__data__,n=Dn(t,e);return 0>n?oe:t[n][1]}function ln(e){return Dn(this.__data__,e)>-1}function fn(e,t){var n=this.__data__,r=Dn(n,e);return 0>r?(++this.size,n.push([e,t])):n[r][1]=t,this}function pn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tr.length)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new pn(r)}return n.set(e,t),this.size=n.size,this}function En(e,t){var n=bp(e),r=!n&&_p(e),o=!n&&!r&&kp(e),i=!n&&!r&&!o&&Ep(e),a=n||r||o||i,u=a?R(e.length,pl):[],s=u.length;for(var c in e)!t&&!_l.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ii(c,s))||u.push(c);return u}function Tn(e){var t=e.length;return t?e[ro(0,t-1)]:oe}function Pn(e,t){return ta(Vo(e),Fn(t,0,e.length))}function An(e){return ta(Vo(e))}function jn(e,t,n,r){return e===oe||Gu(e,ml[n])&&!_l.call(r,n)?t:e}function Mn(e,t,n){(n===oe||Gu(e[t],n))&&(n!==oe||t in e)||Wn(e,t,n)}function Rn(e,t,n){var r=e[t];_l.call(e,t)&&Gu(r,n)&&(n!==oe||t in e)||Wn(e,t,n)}function Dn(e,t){for(var n=e.length;n--;)if(Gu(e[n][0],t))return n;return-1}function Nn(e,t,n,r){return gf(e,function(e,o,i){t(r,e,n(e),i)}),r}function In(e,t){return e&&Ho(t,Hs(t),e)}function Un(e,t){return e&&Ho(t,zs(t),e)}function Wn(e,t,n){"__proto__"==t&&Ul?Ul(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ln(e,t){for(var n=-1,r=t.length,o=il(r),i=null==e;++nn?n:e),t!==oe&&(e=t>e?t:e)),e}function Bn(e,t,n,r,o,i){var a,u=t&pe,s=t&de,l=t&he;if(n&&(a=o?n(e,r,o,i):n(e)),a!==oe)return a;if(!us(e))return e;var f=bp(e);if(f){if(a=ji(e),!u)return Vo(e,a)}else{var p=Af(e),d=p==Xe||p==Je;if(kp(e))return Ao(e,u);if(p==et||p==Ve||d&&!o){if(a=s||d?{}:Mi(e),!u)return s?qo(e,Un(a,e)):zo(e,In(a,e))}else{if(!Zn[p])return o?e:{};a=Ri(e,p,Bn,u)}}i||(i=new wn);var h=i.get(e);if(h)return h;i.set(e,a);var v=l?s?bi:_i:s?zs:Hs,m=f?oe:v(e);return c(m||e,function(r,o){m&&(o=r,r=e[o]),Rn(a,o,Bn(r,t,n,o,e,i))}),a}function Vn(e){var t=Hs(e);return function(n){return qn(n,e,t)}}function qn(e,t,n){var r=n.length;if(null==e)return!r;for(e=ll(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 Kn(e,t,n){if("function"!=typeof e)throw new dl(se);return Rf(function(){e.apply(oe,n)},t)}function $n(e,t,n,r){var o=-1,i=d,a=!0,u=e.length,s=[],c=t.length;if(!u)return s;n&&(t=v(t,N(n))),r?(i=h,a=!1):ae>t.length||(i=U,a=!1,t=new gn(t));e:for(;++on&&(n=-n>o?0:o+n),r=r===oe||r>o?o:Ss(r),0>r&&(r+=o),r=n>r?0:Os(r);r>n;)e[n++]=t;return e}function tr(e,t){var n=[];return gf(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function nr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Ni),o||(o=[]);++i0&&n(u)?t>1?nr(u,t-1,n,r,o):m(o,u):r||(o[o.length]=u)}return o}function ir(e,t){return e&&bf(e,t,Hs)}function ar(e,t){return e&&wf(e,t,Hs)}function sr(e,t){return p(t,function(t){return os(e[t])})}function cr(e,t){t=To(t,e);for(var n=0,r=t.length;null!=e&&r>n;)e=e[na(t[n++])];return n&&n==r?e:oe}function fr(e,t,n){var r=t(e);return bp(e)?r:m(r,n(e))}function pr(e){return null==e?e===oe?ut:Qe:(e=ll(e),Il&&Il in e?Ei(e):Xi(e))}function _r(e,t){return e>t}function xr(e,t){return null!=e&&_l.call(e,t)}function Sr(e,t){return null!=e&&t in ll(e)}function Or(e,t,n){return e>=Xl(t,n)&&eo||120>l.length)?oe:new gn(a&&l)}l=e[0];var f=-1,p=u[0];e:for(;++fc.length;){var m=l[f],y=t?t(m):m;if(m=n||0!==m?m:0,!(p?U(p,y):r(c,y,n))){for(a=i;--a;){var g=u[a];if(!(g?U(g,y):r(e[a],y,n)))continue e}p&&p.push(y),c.push(m)}}return c}function Tr(e,t,n,r){return ir(e,function(e,o,i){t(r,n(e),o,i)}),r}function Pr(e,t,n){t=To(t,e),e=Yi(e,t);var r=null==e?e:e[na(Ca(t))];return null==r?oe:u(r,e,n)}function Ar(e){return ss(e)&&pr(e)==Ve}function jr(e){return ss(e)&&pr(e)==lt}function Mr(e){return ss(e)&&pr(e)==Ke}function Rr(e,t,n,r,o){return e===t||(null==e||null==t||!us(e)&&!ss(t)?e!==e&&t!==t:Dr(e,t,n,r,Rr,o))}function Dr(e,t,n,r,o,i){var a=bp(e),u=bp(t),s=He,c=He;a||(s=Af(e),s=s==Ve?et:s),u||(c=Af(t),c=c==Ve?et:c);var l=s==et,f=c==et,p=s==c;if(p&&kp(e)){if(!kp(t))return!1;a=!0,l=!1}if(p&&!l)return i||(i=new wn),a||Ep(e)?vi(e,t,n,r,o,i):mi(e,t,s,n,r,o,i);if(!(n&ve)){var d=l&&_l.call(e,"__wrapped__"),h=f&&_l.call(t,"__wrapped__");if(d||h){var v=d?e.value():e,m=h?t.value():t;return i||(i=new wn),o(v,m,n,r,i)}}return!!p&&(i||(i=new wn),yi(e,t,n,r,o,i))}function Nr(e){return ss(e)&&Af(e)==Ye}function Ir(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=ll(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++oe}function qr(e,t){var n=-1,r=Xu(e)?il(e.length):[];return gf(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Kr(e){var t=Si(e);return 1==t.length&&t[0][2]?zi(t[0][0],t[0][1]):function(n){return n===e||Ir(n,e,t)}}function $r(e,t){return Wi(e)&&Hi(t)?zi(na(e),t):function(n){var r=Fs(n,e);return r===oe&&r===t?Vs(n,e):Rr(t,r,ve|me)}}function Gr(e,t,n,r,o){e!==t&&bf(t,function(i,a){if(us(i))o||(o=new wn),Xr(e,t,a,n,Gr,r,o);else{var u=r?r(e[a],i,a+"",e,t,o):oe;u===oe&&(u=i),Mn(e,a,u)}},zs)}function Xr(e,t,n,r,o,i,a){var u=e[n],s=t[n],c=a.get(s);if(c)return Mn(e,n,c),oe;var l=i?i(u,s,n+"",e,t,a):oe,f=l===oe;if(f){var p=bp(s),d=!p&&kp(s),h=!p&&!d&&Ep(s);l=s,p||d||h?bp(u)?l=u:Ju(u)?l=Vo(u):d?(f=!1,l=Ao(s,!0)):h?(f=!1,l=Uo(s,!0)):l=[]:ms(s)||_p(s)?(l=u,_p(u)?l=Ts(u):(!us(u)||r&&os(u))&&(l=Mi(s))):f=!1}f&&(a.set(s,l),o(l,s,r,i,a),a.delete(s)),Mn(e,n,l)}function Jr(e,t){var n=e.length;if(n)return t+=0>t?n:0,Ii(t,n)?e[t]:oe}function Yr(e,t,n){var r=-1;t=v(t.length?t:[Rc],N(xi()));var o=qr(e,function(e,n,o){var i=v(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return j(o,function(e,t){return Lo(e,t,n)})}function Zr(e,t){return e=ll(e),Qr(e,t,function(t,n){return Vs(e,n)})}function Qr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)u!==e&&Rl.call(u,s,1),Rl.call(e,s,1);return e}function no(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;Ii(o)?Rl.call(e,o,1):bo(e,o)}}return e}function ro(e,t){return e+Vl(Zl()*(t-e+1))}function oo(e,t,n,r){for(var o=-1,i=Gl(Bl((t-e)/(n||1)),0),a=il(i);i--;)a[r?i:++o]=e,e+=n;return a}function io(e,t){var n="";if(!e||1>t||t>Ne)return n;do t%2&&(n+=e),t=Vl(t/2),t&&(e+=e);while(t);return n}function ao(e,t){return Df(Ji(e,t,Rc),e+"")}function uo(e){return Tn(nc(e))}function so(e,t){var n=nc(e);return ta(n,Fn(t,0,n.length))}function co(e,t,n,r){if(!us(e))return e;t=To(t,e);for(var o=-1,i=t.length,a=i-1,u=e;null!=u&&++ot&&(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=il(o);++r=o){for(;o>r;){var i=r+o>>>1,a=e[i];null===a||_s(a)||(n?a>t:a>=t)?o=i:r=i+1}return o}return vo(e,t,Rc,n)}function vo(e,t,n,r){t=n(t);for(var o=0,i=null==e?0:e.length,a=t!==t,u=null===t,s=_s(t),c=t===oe;i>o;){var l=Vl((o+i)/2),f=n(e[l]),p=f!==oe,d=null===f,h=f===f,v=_s(f);if(a)var m=r||h;else m=c?h&&(r||p):u?h&&p&&(r||!d):s?h&&p&&!d&&(r||!v):!d&&!v&&(r?t>=f:t>f);m?o=l+1:i=l}return Xl(i,Le)}function mo(e,t){for(var n=-1,r=e.length,o=0,i=[];++nr)return r?_o(e[0]):[];for(var o=-1,i=il(r);++or?t[r]:oe;n(a,e[r],u)}return a}function Oo(e){return Ju(e)?e:[]}function Eo(e){return"function"==typeof e?e:Rc}function To(e,t){return bp(e)?e:Wi(e,t)?[e]:Nf(As(e))}function Po(e,t,n){var r=e.length;return n=n===oe?r:n,t||r>n?fo(e,t,n):e}function Ao(e,t){if(t)return e.slice();var n=e.length,r=Pl?Pl(n):new e.constructor(n);return e.copy(r),r}function jo(e){var t=new e.constructor(e.byteLength);return new Tl(t).set(new Tl(e)),t}function Mo(e,t){var n=t?jo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ro(e,t,n){var r=t?n(K(e),pe):K(e);return y(r,i,new e.constructor)}function Do(e){var t=new e.constructor(e.source,Kt.exec(e));return t.lastIndex=e.lastIndex,t}function No(e,t,n){var r=t?n(X(e),pe):X(e);return y(r,a,new e.constructor)}function Io(e){return vf?ll(vf.call(e)):{}}function Uo(e,t){var n=t?jo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Wo(e,t){if(e!==t){var n=e!==oe,r=null===e,o=e===e,i=_s(e),a=t!==oe,u=null===t,s=t===t,c=_s(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 Lo(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r=u)return s;var c=n[r];return s*("desc"==c?-1:1)}}return e.index-t.index}function Fo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,u=-1,s=t.length,c=Gl(i-a,0),l=il(s+c),f=!r;++uo)&&(l[n[o]]=e[o]);for(;c--;)l[u++]=e[o++];return l}function Bo(e,t,n,r){for(var o=-1,i=e.length,a=-1,u=n.length,s=-1,c=t.length,l=Gl(i-u,0),f=il(l+c),p=!r;++oo)&&(f[d+n[a]]=e[o++]);return f}function Vo(e,t){var n=-1,r=e.length;for(t||(t=il(r));++n1?n[o-1]:oe,a=o>2?n[2]:oe;for(i=e.length>3&&"function"==typeof i?(o--,i):oe,a&&Ui(n[0],n[1],a)&&(i=3>o?oe:i,o=1),t=ll(t);++ri&&a[0]!==c&&a[i-1]!==c?[]:G(a,c);if(i-=l.length,n>i)return fi(e,t,ri,r.placeholder,oe,a,l,oe,oe,n-i);var f=this&&this!==ur&&this instanceof r?o:e;return u(f,this,a)}var o=Qo(e);return r}function ti(e){return function(t,n,r){var o=ll(t);if(!Xu(t)){var i=xi(n,3);t=Hs(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 ni(e){return gi(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new dl(se);if(i&&!u&&"wrapper"==wi(a))var u=new o([],!0)}for(r=u?r:n;++r=ae)return u.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++oy){var k=G(g,b);return fi(e,t,ri,l.placeholder,n,g,k,u,s,c-y)}var x=p?n:this,C=d?x[e]:e;return y=g.length,u?g=Zi(g,u):v&&y>1&&g.reverse(),f&&y>s&&(g.length=s),this&&this!==ur&&this instanceof l&&(C=m||Qo(C)),C.apply(x,g)}var f=t&Ce,p=t&ye,d=t&ge,h=t&(be|we),v=t&Oe,m=d?oe:Qo(e);return l}function oi(e,t){return function(n,r){return Tr(n,e,t(r),{})}}function ii(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=go(n),r=go(r)):(n=yo(n),r=yo(r)),o=e(n,r)}return o}}function ai(e){return gi(function(t){return t=v(t,N(xi())),ao(function(n){var r=this;return e(t,function(e){return u(e,r,n)})})})}function ui(e,t){t=t===oe?" ":go(t);var n=t.length;if(2>n)return n?io(t,e):t;var r=io(t,Bl(e/Q(t)));return H(t)?Po(ee(r),0,e).join(""):r.slice(0,e)}function si(e,t,n,r){function o(){for(var t=-1,s=arguments.length,c=-1,l=r.length,f=il(l+s),p=this&&this!==ur&&this instanceof o?a:e;++ct?1:-1:Cs(r),oo(t,n,r,e)}}function li(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Es(t),n=Es(n)),e(t,n)}}function fi(e,t,n,r,o,i,a,u,s,c){var l=t&be,f=l?a:oe,p=l?oe:a,d=l?i:oe,h=l?oe:i;t|=l?ke:xe,t&=~(l?xe:ke),t&_e||(t&=~(ye|ge));var v=[e,t,o,d,f,h,p,u,s,c],m=n.apply(oe,v);return Fi(e)&&Mf(m,v),m.placeholder=r,Qi(m,e,t)}function pi(e){var t=cl[e];return function(e,n){if(e=Es(e),n=Xl(Ss(n),292)){var r=(As(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(As(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function di(e){return function(t){var n=Af(t);return n==Ye?K(t):n==ot?J(t):D(t,e(t))}}function hi(e,t,n,r,o,i,a,u){var s=t≥if(!s&&"function"!=typeof e)throw new dl(se);var c=r?r.length:0;if(c||(t&=~(ke|xe),r=o=oe),a=a===oe?a:Gl(Ss(a),0),u=u===oe?u:Ss(u),c-=o?o.length:0,t&xe){var l=r,f=o;r=o=oe}var p=s?oe:Ef(e),d=[e,t,n,r,o,l,f,i,a,u];if(p&&Ki(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:Gl(d[9]-c,0),!u&&t&(be|we)&&(t&=~(be|we)),t&&t!=ye)h=t==be||t==we?ei(e,t,u):t!=ke&&t!=(ye|ke)||o.length?ri.apply(oe,d):si(e,t,n,r);else var h=Jo(e,t,n);var v=p?kf:Mf;return Qi(v(h,d),e,t)}function vi(e,t,n,r,o,i){var a=n&ve,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=n&me?new gn:oe;for(i.set(e,t),i.set(t,e);++l1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Ft,"{\n/* [wrapped with "+t+"] */\n")}function Ni(e){return bp(e)||_p(e)||!!(Dl&&e&&e[Dl])}function Ii(e,t){return t=null==t?Ne:t,!!t&&("number"==typeof e||Yt.test(e))&&e>-1&&e%1==0&&t>e}function Ui(e,t,n){if(!us(n))return!1;var r=typeof t;return!!("number"==r?Xu(n)&&Ii(t,n.length):"string"==r&&t in n)&&Gu(n[t],e)}function Wi(e,t){if(bp(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!_s(e))||Mt.test(e)||!jt.test(e)||null!=t&&e in ll(t)}function Li(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Fi(e){var t=wi(e),r=n[t];if("function"!=typeof r||!(t in b.prototype))return!1;if(e===r)return!0;var o=Ef(r);return!!o&&e===o[0]}function Bi(e){return!!wl&&wl in e}function Vi(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||ml;return e===n}function Hi(e){return e===e&&!us(e)}function zi(e,t){return function(n){return null!=n&&n[e]===t&&(t!==oe||e in ll(n))}}function qi(e){var t=Du(e,function(e){return n.size===le&&n.clear(),e}),n=t.cache;return t}function Ki(e,t){var n=e[1],r=t[1],o=n|r,i=(ye|ge|Ce)>o,a=r==Ce&&n==be||r==Ce&&n==Se&&t[8]>=e[7].length||r==(Ce|Se)&&t[8]>=t[7].length&&n==be;if(!i&&!a)return e;r&ye&&(e[2]=t[2],o|=n&ye?0:_e);var u=t[3];if(u){var s=e[3];e[3]=s?Fo(s,u,t[4]):u,e[4]=s?G(e[3],fe):t[4]}return u=t[5],u&&(s=e[5],e[5]=s?Bo(s,u,t[6]):u,e[6]=s?G(e[5],fe):t[6]),u=t[7],u&&(e[7]=u),r&Ce&&(e[8]=null==e[8]?t[8]:Xl(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function $i(e,t,n,r,o,i){return us(e)&&us(t)&&(i.set(t,e),Gr(e,t,oe,$i,i),i.delete(t)),e}function Gi(e){var t=[];if(null!=e)for(var n in ll(e))t.push(n);return t}function Xi(e){return kl.call(e)}function Ji(e,t,n){return t=Gl(t===oe?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Gl(r.length-t,0),a=il(i);++ot.length?e:cr(e,fo(t,0,-1))}function Zi(e,t){for(var n=e.length,r=Xl(t.length,n),o=Vo(e);r--;){var i=t[r];e[r]=Ii(i,n)?o[i]:oe}return e}function Qi(e,t,n){var r=t+"";return Df(e,Di(r,oa(Pi(r),n)))}function ea(e){var t=0,n=0;return function(){var r=Jl(),o=Ae-(r-n);if(n=r,o>0){if(++t>=Pe)return arguments[0]}else t=0;return e.apply(oe,arguments)}}function ta(e,t){var n=-1,r=e.length,o=r-1;for(t=t===oe?r:t;++nt)return[];for(var o=0,i=0,a=il(Bl(r/t));r>o;)a[i++]=fo(e,o,o+=t);return a}function ua(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++tt?0:t,r)):[]}function la(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:Ss(t),t=r-t,fo(e,0,0>t?0:t)):[]}function fa(e,t){return e&&e.length?ko(e,xi(t,3),!0,!0):[]}function pa(e,t){return e&&e.length?ko(e,xi(t,3),!0):[]}function da(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Ui(e,t,n)&&(n=0,r=o),er(e,t,n,r)):[]}function ha(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Ss(n);return 0>o&&(o=Gl(r+o,0)),x(e,xi(t,3),o)}function va(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==oe&&(o=Ss(n),o=0>n?Gl(r+o,0):Xl(o,r-1)),x(e,xi(t,3),o,!0)}function ma(e){var t=null==e?0:e.length;return t?nr(e,1):[]}function ya(e){var t=null==e?0:e.length;return t?nr(e,De):[]}function ga(e,t){var n=null==e?0:e.length;return n?(t=t===oe?1:Ss(t),nr(e,t)):[]}function _a(e){for(var t=-1,n=null==e?0:e.length,r={};++to&&(o=Gl(r+o,0)),C(e,t,o)}function ka(e){var t=null==e?0:e.length;return t?fo(e,0,-1):[]}function xa(e,t){return null==e?"":Kl.call(e,t)}function Ca(e){var t=null==e?0:e.length;return t?e[t-1]:oe}function Sa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==oe&&(o=Ss(n),o=0>o?Gl(r+o,0):Xl(o,r-1)),t===t?Z(e,t,o):x(e,O,o,!0)}function Oa(e,t){return e&&e.length?Jr(e,Ss(t)):oe}function Ea(e,t){return e&&e.length&&t&&t.length?to(e,t):e}function Ta(e,t,n){return e&&e.length&&t&&t.length?to(e,t,xi(n,2)):e}function Pa(e,t,n){return e&&e.length&&t&&t.length?to(e,t,oe,n):e}function Aa(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=xi(t,3);++rr&&Gu(e[r],t))return r}return-1}function Ia(e,t){return ho(e,t,!0)}function Ua(e,t,n){return vo(e,t,xi(n,2),!0)}function Wa(e,t){var n=null==e?0:e.length;if(n){var r=ho(e,t,!0)-1;if(Gu(e[r],t))return r}return-1}function La(e){return e&&e.length?mo(e):[]}function Fa(e,t){return e&&e.length?mo(e,xi(t,2)):[]}function Ba(e){var t=null==e?0:e.length;return t?fo(e,1,t):[]}function Va(e,t,n){return e&&e.length?(t=n||t===oe?1:Ss(t),fo(e,0,0>t?0:t)):[]}function Ha(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:Ss(t),t=r-t,fo(e,0>t?0:t,r)):[]}function za(e,t){return e&&e.length?ko(e,xi(t,3),!1,!0):[]}function qa(e,t){return e&&e.length?ko(e,xi(t,3)):[]}function Ka(e){return e&&e.length?_o(e):[]}function $a(e,t){return e&&e.length?_o(e,xi(t,2)):[]}function Ga(e,t){return t="function"==typeof t?t:oe,e&&e.length?_o(e,oe,t):[]}function Xa(e){if(!e||!e.length)return[];var t=0;return e=p(e,function(e){if(Ju(e))return t=Gl(e.length,t),!0}),R(t,function(t){return v(e,T(t))})}function Ja(e,t){if(!e||!e.length)return[];var n=Xa(e);return null==t?n:v(n,function(e){return u(t,oe,e)})}function Ya(e,t){return So(e||[],t||[],Rn)}function Za(e,t){return So(e||[],t||[],co)}function Qa(e){var t=n(e);return t.__chain__=!0,t}function eu(e,t){return t(e), -e}function tu(e,t){return t(e)}function nu(){return Qa(this)}function ru(){return new o(this.value(),this.__chain__)}function ou(){this.__values__===oe&&(this.__values__=xs(this.value()));var e=this.__index__>=this.__values__.length,t=e?oe:this.__values__[this.__index__++];return{done:e,value:t}}function iu(){return this}function au(e){for(var t,n=this;n instanceof r;){var o=ia(n);o.__index__=0,o.__values__=oe,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t}function uu(){var e=this.__wrapped__;if(e instanceof b){var t=e;return this.__actions__.length&&(t=new b(this)),t=t.reverse(),t.__actions__.push({func:tu,args:[ja],thisArg:oe}),new o(t,this.__chain__)}return this.thru(ja)}function su(){return xo(this.__wrapped__,this.__actions__)}function cu(e,t,n){var r=bp(e)?f:Gn;return n&&Ui(e,t,n)&&(t=oe),r(e,xi(t,3))}function lu(e,t){var n=bp(e)?p:tr;return n(e,xi(t,3))}function fu(e,t){return nr(yu(e,t),1)}function pu(e,t){return nr(yu(e,t),De)}function du(e,t,n){return n=n===oe?1:Ss(n),nr(yu(e,t),n)}function hu(e,t){var n=bp(e)?c:gf;return n(e,xi(t,3))}function vu(e,t){var n=bp(e)?l:_f;return n(e,xi(t,3))}function mu(e,t,n,r){e=Xu(e)?e:nc(e),n=n&&!r?Ss(n):0;var o=e.length;return 0>n&&(n=Gl(o+n,0)),gs(e)?o>=n&&e.indexOf(t,n)>-1:!!o&&C(e,t,n)>-1}function yu(e,t){var n=bp(e)?v:qr;return n(e,xi(t,3))}function gu(e,t,n,r){return null==e?[]:(bp(t)||(t=null==t?[]:[t]),n=r?oe:n,bp(n)||(n=null==n?[]:[n]),Yr(e,t,n))}function _u(e,t,n){var r=bp(e)?y:A,o=3>arguments.length;return r(e,xi(t,4),n,o,gf)}function bu(e,t,n){var r=bp(e)?g:A,o=3>arguments.length;return r(e,xi(t,4),n,o,_f)}function wu(e,t){var n=bp(e)?p:tr;return n(e,Nu(xi(t,3)))}function ku(e){var t=bp(e)?Tn:uo;return t(e)}function xu(e,t,n){t=(n?Ui(e,t,n):t===oe)?1:Ss(t);var r=bp(e)?Pn:so;return r(e,t)}function Cu(e){var t=bp(e)?An:lo;return t(e)}function Su(e){if(null==e)return 0;if(Xu(e))return gs(e)?Q(e):e.length;var t=Af(e);return t==Ye||t==ot?e.size:Vr(e).length}function Ou(e,t,n){var r=bp(e)?_:po;return n&&Ui(e,t,n)&&(t=oe),r(e,xi(t,3))}function Eu(e,t){if("function"!=typeof t)throw new dl(se);return e=Ss(e),function(){if(--e<1)return t.apply(this,arguments)}}function Tu(e,t,n){return t=n?oe:t,t=e&&null==t?e.length:t,hi(e,Ce,oe,oe,oe,oe,t)}function Pu(e,t){var n;if("function"!=typeof t)throw new dl(se);return e=Ss(e),function(){return--e>0&&(n=t.apply(this,arguments)),e>1||(t=oe),n}}function Au(e,t,n){t=n?oe:t;var r=hi(e,be,oe,oe,oe,oe,oe,t);return r.placeholder=Au.placeholder,r}function ju(e,t,n){t=n?oe:t;var r=hi(e,we,oe,oe,oe,oe,oe,t);return r.placeholder=ju.placeholder,r}function Mu(e,t,n){function r(t){var n=p,r=d;return p=d=oe,g=t,v=e.apply(r,n)}function o(e){return g=e,m=Rf(u,t),_?r(e):v}function i(e){var n=e-y,r=e-g,o=t-n;return b?Xl(o,h-r):o}function a(e){var n=e-y,r=e-g;return y===oe||n>=t||0>n||b&&r>=h}function u(){var e=sp();return a(e)?s(e):(m=Rf(u,i(e)),oe)}function s(e){return m=oe,w&&p?r(e):(p=d=oe,v)}function c(){m!==oe&&Sf(m),g=0,p=y=d=m=oe}function l(){return m===oe?v:s(sp())}function f(){var e=sp(),n=a(e);if(p=arguments,d=this,y=e,n){if(m===oe)return o(y);if(b)return m=Rf(u,t),r(y)}return m===oe&&(m=Rf(u,t)),v}var p,d,h,v,m,y,g=0,_=!1,b=!1,w=!0;if("function"!=typeof e)throw new dl(se);return t=Es(t)||0,us(n)&&(_=!!n.leading,b="maxWait"in n,h=b?Gl(Es(n.maxWait)||0,t):h,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function Ru(e){return hi(e,Oe)}function Du(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new dl(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(Du.Cache||pn),n}function Nu(e){if("function"!=typeof e)throw new dl(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 Iu(e){return Pu(2,e)}function Uu(e,t){if("function"!=typeof e)throw new dl(se);return t=t===oe?t:Ss(t),ao(e,t)}function Wu(e,t){if("function"!=typeof e)throw new dl(se);return t=t===oe?0:Gl(Ss(t),0),ao(function(n){var r=n[t],o=Po(n,0,t);return r&&m(o,r),u(e,this,o)})}function Lu(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new dl(se);return us(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Mu(e,t,{leading:r,maxWait:t,trailing:o})}function Fu(e){return Tu(e,1)}function Bu(e,t){return hp(Eo(t),e)}function Vu(){if(!arguments.length)return[];var e=arguments[0];return bp(e)?e:[e]}function Hu(e){return Bn(e,he)}function zu(e,t){return t="function"==typeof t?t:oe,Bn(e,he,t)}function qu(e){return Bn(e,pe|he)}function Ku(e,t){return t="function"==typeof t?t:oe,Bn(e,pe|he,t)}function $u(e,t){return null==t||qn(e,t,Hs(t))}function Gu(e,t){return e===t||e!==e&&t!==t}function Xu(e){return null!=e&&as(e.length)&&!os(e)}function Ju(e){return ss(e)&&Xu(e)}function Yu(e){return e===!0||e===!1||ss(e)&&pr(e)==qe}function Zu(e){return ss(e)&&1===e.nodeType&&!ms(e)}function Qu(e){if(null==e)return!0;if(Xu(e)&&(bp(e)||"string"==typeof e||"function"==typeof e.splice||kp(e)||Ep(e)||_p(e)))return!e.length;var t=Af(e);if(t==Ye||t==ot)return!e.size;if(Vi(e))return!Vr(e).length;for(var n in e)if(_l.call(e,n))return!1;return!0}function es(e,t){return Rr(e,t)}function ts(e,t,n){n="function"==typeof n?n:oe;var r=n?n(e,t):oe;return r===oe?Rr(e,t,oe,n):!!r}function ns(e){if(!ss(e))return!1;var t=pr(e);return t==Ge||t==$e||"string"==typeof e.message&&"string"==typeof e.name&&!ms(e)}function rs(e){return"number"==typeof e&&ql(e)}function os(e){if(!us(e))return!1;var t=pr(e);return t==Xe||t==Je||t==ze||t==nt}function is(e){return"number"==typeof e&&e==Ss(e)}function as(e){return"number"==typeof e&&e>-1&&e%1==0&&Ne>=e}function us(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ss(e){return null!=e&&"object"==typeof e}function cs(e,t){return e===t||Ir(e,t,Si(t))}function ls(e,t,n){return n="function"==typeof n?n:oe,Ir(e,t,Si(t),n)}function fs(e){return vs(e)&&e!=+e}function ps(e){if(jf(e))throw new ul(ue);return Ur(e)}function ds(e){return null===e}function hs(e){return null==e}function vs(e){return"number"==typeof e||ss(e)&&pr(e)==Ze}function ms(e){if(!ss(e)||pr(e)!=et)return!1;var t=Al(e);if(null===t)return!0;var n=_l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&gl.call(n)==xl}function ys(e){return is(e)&&e>=-Ne&&Ne>=e}function gs(e){return"string"==typeof e||!bp(e)&&ss(e)&&pr(e)==it}function _s(e){return"symbol"==typeof e||ss(e)&&pr(e)==at}function bs(e){return e===oe}function ws(e){return ss(e)&&Af(e)==st}function ks(e){return ss(e)&&pr(e)==ct}function xs(e){if(!e)return[];if(Xu(e))return gs(e)?ee(e):Vo(e);if(Nl&&e[Nl])return q(e[Nl]());var t=Af(e),n=t==Ye?K:t==ot?X:nc;return n(e)}function Cs(e){if(!e)return 0===e?e:0;if(e=Es(e),e===De||e===-De){var t=0>e?-1:1;return t*Ie}return e===e?e:0}function Ss(e){var t=Cs(e),n=t%1;return t===t?n?t-n:t:0}function Os(e){return e?Fn(Ss(e),0,We):0}function Es(e){if("number"==typeof e)return e;if(_s(e))return Ue;if(us(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=us(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Ut,"");var n=Gt.test(e);return n||Jt.test(e)?or(e.slice(2),n?2:8):$t.test(e)?Ue:+e}function Ts(e){return Ho(e,zs(e))}function Ps(e){return Fn(Ss(e),-Ne,Ne)}function As(e){return null==e?"":go(e)}function js(e,t){var n=yf(e);return null==t?n:In(n,t)}function Ms(e,t){return k(e,xi(t,3),ir)}function Rs(e,t){return k(e,xi(t,3),ar)}function Ds(e,t){return null==e?e:bf(e,xi(t,3),zs)}function Ns(e,t){return null==e?e:wf(e,xi(t,3),zs)}function Is(e,t){return e&&ir(e,xi(t,3))}function Us(e,t){return e&&ar(e,xi(t,3))}function Ws(e){return null==e?[]:sr(e,Hs(e))}function Ls(e){return null==e?[]:sr(e,zs(e))}function Fs(e,t,n){var r=null==e?oe:cr(e,t);return r===oe?n:r}function Bs(e,t){return null!=e&&Ai(e,t,xr)}function Vs(e,t){return null!=e&&Ai(e,t,Sr)}function Hs(e){return Xu(e)?En(e):Vr(e)}function zs(e){return Xu(e)?En(e,!0):Hr(e)}function qs(e,t){var n={};return t=xi(t,3),ir(e,function(e,r,o){Wn(n,t(e,r,o),e)}),n}function Ks(e,t){var n={};return t=xi(t,3),ir(e,function(e,r,o){Wn(n,r,t(e,r,o))}),n}function $s(e,t){return Gs(e,Nu(xi(t)))}function Gs(e,t){if(null==e)return{};var n=v(bi(e),function(e){return[e]});return t=xi(t),Qr(e,n,function(e,n){return t(e,n[0])})}function Xs(e,t,n){t=To(t,e);var r=-1,o=t.length;for(o||(o=1,e=oe);++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Zl();return Xl(e+o*(t-e+rr("1e-"+((o+"").length-1))),t)}return ro(e,t)}function uc(e){return Qp(As(e).toLowerCase())}function sc(e){return e=As(e),e&&e.replace(Zt,br).replace(zn,"")}function cc(e,t,n){e=As(e),t=go(t);var r=e.length;n=n===oe?r:Fn(Ss(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function lc(e){return e=As(e),e&&Et.test(e)?e.replace(St,wr):e}function fc(e){return e=As(e),e&&It.test(e)?e.replace(Nt,"\\$&"):e}function pc(e,t,n){e=As(e),t=Ss(t);var r=t?Q(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ui(Vl(o),n)+e+ui(Bl(o),n)}function dc(e,t,n){e=As(e),t=Ss(t);var r=t?Q(e):0;return t&&t>r?e+ui(t-r,n):e}function hc(e,t,n){e=As(e),t=Ss(t);var r=t?Q(e):0;return t&&t>r?ui(t-r,n)+e:e}function vc(e,t,n){return n||null==t?t=0:t&&(t=+t),Yl(As(e).replace(Wt,""),t||0)}function mc(e,t,n){return t=(n?Ui(e,t,n):t===oe)?1:Ss(t),io(As(e),t)}function yc(){var e=arguments,t=As(e[0]);return 3>e.length?t:t.replace(e[1],e[2])}function gc(e,t,n){return n&&"number"!=typeof n&&Ui(e,t,n)&&(t=n=oe),(n=n===oe?We:n>>>0)?(e=As(e),e&&("string"==typeof t||null!=t&&!Sp(t))&&(t=go(t),!t&&H(e))?Po(ee(e),0,n):e.split(t,n)):[]}function _c(e,t,n){return e=As(e),n=Fn(Ss(n),0,e.length),t=go(t),e.slice(n,n+t.length)==t}function bc(e,t,r){var o=n.templateSettings;r&&Ui(e,t,r)&&(t=oe),e=As(e),t=Mp({},t,o,jn);var i,a,u=Mp({},t.imports,o.imports,jn),s=Hs(u),c=I(u,s),l=0,f=t.interpolate||Qt,p="__p += '",d=fl((t.escape||Qt).source+"|"+f.source+"|"+(f===At?qt:Qt).source+"|"+(t.evaluate||Qt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Jn+"]")+"\n";e.replace(d,function(t,n,r,o,u,s){return r||(r=o),p+=e.slice(l,s).replace(en,B),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 v=t.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(wt,""):p).replace(kt,"$1").replace(xt,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"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 m=ed(function(){return sl(s,h+"return "+p).apply(oe,c)});if(m.source=p,ns(m))throw m;return m}function wc(e){return As(e).toLowerCase()}function kc(e){return As(e).toUpperCase()}function xc(e,t,n){if(e=As(e),e&&(n||t===oe))return e.replace(Ut,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=ee(t),i=W(r,o),a=L(r,o)+1;return Po(r,i,a).join("")}function Cc(e,t,n){if(e=As(e),e&&(n||t===oe))return e.replace(Lt,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=L(r,ee(t))+1;return Po(r,0,o).join("")}function Sc(e,t,n){if(e=As(e),e&&(n||t===oe))return e.replace(Wt,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=W(r,ee(t));return Po(r,o).join("")}function Oc(e,t){var n=Ee,r=Te;if(us(t)){var o="separator"in t?t.separator:o;n="length"in t?Ss(t.length):n,r="omission"in t?go(t.omission):r}e=As(e);var i=e.length;if(H(e)){var a=ee(e);i=a.length}if(n>=i)return e;var u=n-Q(r);if(1>u)return r;var s=a?Po(a,0,u).join(""):e.slice(0,u);if(o===oe)return s+r;if(a&&(u+=s.length-u),Sp(o)){if(e.slice(u).search(o)){var c,l=s;for(o.global||(o=fl(o.source,As(Kt.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(go(o),u)!=u){var p=s.lastIndexOf(o);p>-1&&(s=s.slice(0,p))}return s+r}function Ec(e){return e=As(e),e&&Ot.test(e)?e.replace(Ct,kr):e}function Tc(e,t,n){return e=As(e),t=n?oe:t,t===oe?z(e)?re(e):w(e):e.match(t)||[]}function Pc(e){var t=null==e?0:e.length,n=xi();return e=t?v(e,function(e){if("function"!=typeof e[1])throw new dl(se);return[n(e[0]),e[1]]}):[],ao(function(n){for(var r=-1;++re||e>Ne)return[];var n=We,r=Xl(e,We);t=xi(t),e-=We;for(var o=R(r,t);++n1?e[t-1]:oe;return n="function"==typeof n?(e.pop(),n):oe,Ja(e,n)}),Qf=gi(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Ln(t,e)};return 1>=t&&!this.__actions__.length&&r instanceof b&&Ii(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:tu,args:[i],thisArg:oe}),new o(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(oe),e})):this.thru(i)}),ep=Ko(function(e,t,n){_l.call(e,n)?++e[n]:Wn(e,n,1)}),tp=ti(ha),np=ti(va),rp=Ko(function(e,t,n){_l.call(e,n)?e[n].push(t):Wn(e,n,[t])}),op=ao(function(e,t,n){var r=-1,o="function"==typeof t,i=Xu(e)?il(e.length):[];return gf(e,function(e){i[++r]=o?u(t,e,n):Pr(e,t,n)}),i}),ip=Ko(function(e,t,n){Wn(e,n,t)}),ap=Ko(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),up=ao(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ui(e,t[0],t[1])?t=[]:n>2&&Ui(t[0],t[1],t[2])&&(t=[t[0]]),Yr(e,nr(t,1),[])}),sp=Ll||function(){return ur.Date.now()},cp=ao(function(e,t,n){var r=ye;if(n.length){var o=G(n,ki(cp));r|=ke}return hi(e,r,t,n,o)}),lp=ao(function(e,t,n){var r=ye|ge;if(n.length){var o=G(n,ki(lp));r|=ke}return hi(t,r,e,n,o)}),fp=ao(function(e,t){return Kn(e,1,t)}),pp=ao(function(e,t,n){return Kn(e,Es(t)||0,n)});Du.Cache=pn;var dp=Cf(function(e,t){t=1==t.length&&bp(t[0])?v(t[0],N(xi())):v(nr(t,1),N(xi()));var n=t.length;return ao(function(r){for(var o=-1,i=Xl(r.length,n);++o=t}),_p=Ar(function(){return arguments}())?Ar:function(e){return ss(e)&&_l.call(e,"callee")&&!Ml.call(e,"callee")},bp=il.isArray,wp=dr?N(dr):jr,kp=zl||zc,xp=hr?N(hr):Mr,Cp=vr?N(vr):Nr,Sp=mr?N(mr):Wr,Op=yr?N(yr):Lr,Ep=gr?N(gr):Fr,Tp=li(zr),Pp=li(function(e,t){return t>=e}),Ap=$o(function(e,t){if(Vi(t)||Xu(t))return Ho(t,Hs(t),e),oe;for(var n in t)_l.call(t,n)&&Rn(e,n,t[n])}),jp=$o(function(e,t){Ho(t,zs(t),e)}),Mp=$o(function(e,t,n,r){Ho(t,zs(t),e,r)}),Rp=$o(function(e,t,n,r){Ho(t,Hs(t),e,r)}),Dp=gi(Ln),Np=ao(function(e){return e.push(oe,jn),u(Mp,oe,e)}),Ip=ao(function(e){return e.push(oe,$i),u(Bp,oe,e)}),Up=oi(function(e,t,n){e[t]=n},jc(Rc)),Wp=oi(function(e,t,n){_l.call(e,t)?e[t].push(n):e[t]=[n]},xi),Lp=ao(Pr),Fp=$o(function(e,t,n){Gr(e,t,n)}),Bp=$o(function(e,t,n,r){Gr(e,t,n,r)}),Vp=gi(function(e,t){var n={};if(null==e)return n;var r=!1;t=v(t,function(t){return t=To(t,e),r||(r=t.length>1),t}),Ho(e,bi(e),n),r&&(n=Bn(n,pe|de|he));for(var o=t.length;o--;)bo(n,t[o]);return n}),Hp=gi(function(e,t){return null==e?{}:Zr(e,t)}),zp=di(Hs),qp=di(zs),Kp=Zo(function(e,t,n){return t=t.toLowerCase(),e+(n?uc(t):t)}),$p=Zo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Gp=Zo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Xp=Yo("toLowerCase"),Jp=Zo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Yp=Zo(function(e,t,n){return e+(n?" ":"")+Qp(t)}),Zp=Zo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Qp=Yo("toUpperCase"),ed=ao(function(e,t){try{return u(e,oe,t)}catch(e){return ns(e)?e:new ul(e)}}),td=gi(function(e,t){return c(t,function(t){t=na(t),Wn(e,t,cp(e[t],e))}),e}),nd=ni(),rd=ni(!0),od=ao(function(e,t){return function(n){return Pr(n,e,t)}}),id=ao(function(e,t){return function(n){return Pr(e,n,t)}}),ad=ai(v),ud=ai(f),sd=ai(_),cd=ci(),ld=ci(!0),fd=ii(function(e,t){return e+t},0),pd=pi("ceil"),dd=ii(function(e,t){return e/t},1),hd=pi("floor"),vd=ii(function(e,t){return e*t},1),md=pi("round"),yd=ii(function(e,t){return e-t},0);return n.after=Eu,n.ary=Tu,n.assign=Ap,n.assignIn=jp,n.assignInWith=Mp,n.assignWith=Rp,n.at=Dp,n.before=Pu,n.bind=cp,n.bindAll=td,n.bindKey=lp,n.castArray=Vu,n.chain=Qa,n.chunk=aa,n.compact=ua,n.concat=sa,n.cond=Pc,n.conforms=Ac,n.constant=jc,n.countBy=ep,n.create=js,n.curry=Au,n.curryRight=ju,n.debounce=Mu,n.defaults=Np,n.defaultsDeep=Ip,n.defer=fp,n.delay=pp,n.difference=If,n.differenceBy=Uf,n.differenceWith=Wf,n.drop=ca,n.dropRight=la,n.dropRightWhile=fa,n.dropWhile=pa,n.fill=da,n.filter=lu,n.flatMap=fu,n.flatMapDeep=pu,n.flatMapDepth=du,n.flatten=ma,n.flattenDeep=ya,n.flattenDepth=ga,n.flip=Ru,n.flow=nd,n.flowRight=rd,n.fromPairs=_a,n.functions=Ws,n.functionsIn=Ls,n.groupBy=rp,n.initial=ka,n.intersection=Lf,n.intersectionBy=Ff,n.intersectionWith=Bf,n.invert=Up,n.invertBy=Wp,n.invokeMap=op,n.iteratee=Dc,n.keyBy=ip,n.keys=Hs,n.keysIn=zs,n.map=yu,n.mapKeys=qs,n.mapValues=Ks,n.matches=Nc,n.matchesProperty=Ic,n.memoize=Du,n.merge=Fp,n.mergeWith=Bp,n.method=od,n.methodOf=id,n.mixin=Uc,n.negate=Nu,n.nthArg=Fc,n.omit=Vp,n.omitBy=$s,n.once=Iu,n.orderBy=gu,n.over=ad,n.overArgs=dp,n.overEvery=ud,n.overSome=sd,n.partial=hp,n.partialRight=vp,n.partition=ap,n.pick=Hp,n.pickBy=Gs,n.property=Bc,n.propertyOf=Vc,n.pull=Vf,n.pullAll=Ea,n.pullAllBy=Ta,n.pullAllWith=Pa,n.pullAt=Hf,n.range=cd,n.rangeRight=ld,n.rearg=mp,n.reject=wu,n.remove=Aa,n.rest=Uu,n.reverse=ja,n.sampleSize=xu,n.set=Js,n.setWith=Ys,n.shuffle=Cu,n.slice=Ma,n.sortBy=up,n.sortedUniq=La,n.sortedUniqBy=Fa,n.split=gc,n.spread=Wu,n.tail=Ba,n.take=Va,n.takeRight=Ha,n.takeRightWhile=za,n.takeWhile=qa,n.tap=eu,n.throttle=Lu,n.thru=tu,n.toArray=xs,n.toPairs=zp,n.toPairsIn=qp,n.toPath=Xc,n.toPlainObject=Ts,n.transform=Zs,n.unary=Fu,n.union=zf,n.unionBy=qf,n.unionWith=Kf,n.uniq=Ka,n.uniqBy=$a,n.uniqWith=Ga,n.unset=Qs,n.unzip=Xa,n.unzipWith=Ja,n.update=ec,n.updateWith=tc,n.values=nc,n.valuesIn=rc,n.without=$f,n.words=Tc,n.wrap=Bu,n.xor=Gf,n.xorBy=Xf,n.xorWith=Jf,n.zip=Yf,n.zipObject=Ya,n.zipObjectDeep=Za,n.zipWith=Zf,n.entries=zp,n.entriesIn=qp,n.extend=jp,n.extendWith=Mp,Uc(n,n),n.add=fd,n.attempt=ed,n.camelCase=Kp,n.capitalize=uc,n.ceil=pd,n.clamp=oc,n.clone=Hu,n.cloneDeep=qu,n.cloneDeepWith=Ku,n.cloneWith=zu,n.conformsTo=$u,n.deburr=sc,n.defaultTo=Mc,n.divide=dd,n.endsWith=cc,n.eq=Gu,n.escape=lc,n.escapeRegExp=fc,n.every=cu,n.find=tp,n.findIndex=ha,n.findKey=Ms,n.findLast=np,n.findLastIndex=va,n.findLastKey=Rs,n.floor=hd,n.forEach=hu,n.forEachRight=vu,n.forIn=Ds,n.forInRight=Ns,n.forOwn=Is,n.forOwnRight=Us,n.get=Fs,n.gt=yp,n.gte=gp,n.has=Bs,n.hasIn=Vs,n.head=ba,n.identity=Rc,n.includes=mu,n.indexOf=wa,n.inRange=ic,n.invoke=Lp,n.isArguments=_p,n.isArray=bp,n.isArrayBuffer=wp,n.isArrayLike=Xu,n.isArrayLikeObject=Ju,n.isBoolean=Yu,n.isBuffer=kp,n.isDate=xp,n.isElement=Zu,n.isEmpty=Qu,n.isEqual=es,n.isEqualWith=ts,n.isError=ns,n.isFinite=rs,n.isFunction=os,n.isInteger=is,n.isLength=as,n.isMap=Cp,n.isMatch=cs,n.isMatchWith=ls,n.isNaN=fs,n.isNative=ps,n.isNil=hs,n.isNull=ds,n.isNumber=vs,n.isObject=us,n.isObjectLike=ss,n.isPlainObject=ms,n.isRegExp=Sp,n.isSafeInteger=ys,n.isSet=Op,n.isString=gs,n.isSymbol=_s,n.isTypedArray=Ep,n.isUndefined=bs,n.isWeakMap=ws,n.isWeakSet=ks,n.join=xa,n.kebabCase=$p,n.last=Ca,n.lastIndexOf=Sa,n.lowerCase=Gp,n.lowerFirst=Xp,n.lt=Tp,n.lte=Pp,n.max=Yc,n.maxBy=Zc,n.mean=Qc,n.meanBy=el,n.min=tl,n.minBy=nl,n.stubArray=Hc,n.stubFalse=zc,n.stubObject=qc,n.stubString=Kc,n.stubTrue=$c,n.multiply=vd,n.nth=Oa,n.noConflict=Wc,n.noop=Lc,n.now=sp,n.pad=pc,n.padEnd=dc,n.padStart=hc,n.parseInt=vc,n.random=ac,n.reduce=_u,n.reduceRight=bu,n.repeat=mc,n.replace=yc,n.result=Xs,n.round=md,n.runInContext=e,n.sample=ku,n.size=Su,n.snakeCase=Jp,n.some=Ou,n.sortedIndex=Ra,n.sortedIndexBy=Da,n.sortedIndexOf=Na,n.sortedLastIndex=Ia,n.sortedLastIndexBy=Ua,n.sortedLastIndexOf=Wa,n.startCase=Yp,n.startsWith=_c,n.subtract=yd,n.sum=rl,n.sumBy=ol,n.template=bc,n.times=Gc,n.toFinite=Cs,n.toInteger=Ss,n.toLength=Os,n.toLower=wc,n.toNumber=Es,n.toSafeInteger=Ps,n.toString=As,n.toUpper=kc,n.trim=xc,n.trimEnd=Cc,n.trimStart=Sc,n.truncate=Oc,n.unescape=Ec,n.uniqueId=Jc,n.upperCase=Zp,n.upperFirst=Qp,n.each=hu,n.eachRight=vu,n.first=ba,Uc(n,function(){var e={};return ir(n,function(t,r){_l.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ie,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),c(["drop","take"],function(e,t){b.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new b(this);n=n===oe?1:Gl(Ss(n),0);var o=this.clone();return r?o.__takeCount__=Xl(n,o.__takeCount__):o.__views__.push({size:Xl(n,We),type:e+(0>o.__dir__?"Right":"")}),o},b.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),c(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==je||n==Re;b.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:xi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),c(["head","last"],function(e,t){var n="take"+(t?"Right":"");b.prototype[e]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");b.prototype[e]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Rc)},b.prototype.find=function(e){return this.filter(e).head()},b.prototype.findLast=function(e){return this.reverse().find(e)},b.prototype.invokeMap=ao(function(e,t){return"function"==typeof e?new b(this):this.map(function(n){return Pr(n,e,t)})}),b.prototype.reject=function(e){return this.filter(Nu(xi(e)))},b.prototype.slice=function(e,t){e=Ss(e);var n=this;return n.__filtered__&&(e>0||0>t)?new b(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==oe&&(t=Ss(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},b.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},b.prototype.toArray=function(){return this.take(We)},ir(b.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=n[i?"take"+("last"==t?"Right":""):t],u=i||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof b,l=s[0],f=c||bp(t),p=function(e){var t=a.apply(n,m([e],s));return i&&d?t[0]:t};f&&r&&"function"==typeof l&&1!=l.length&&(c=f=!1);var d=this.__chain__,h=!!this.__actions__.length,v=u&&!d,y=c&&!h;if(!u&&f){t=y?t:new b(this);var g=e.apply(t,s);return g.__actions__.push({func:tu,args:[p],thisArg:oe}),new o(g,d)}return v&&y?e.apply(this,s):(g=this.thru(p),v?i?g.value()[0]:g.value():g)})}),c(["pop","push","shift","sort","splice","unshift"],function(e){var t=hl[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var n=this.value();return t.apply(bp(n)?n:[],e)}return this[r](function(n){return t.apply(bp(n)?n:[],e)})}}),ir(b.prototype,function(e,t){var r=n[t];if(r){var o=r.name+"",i=sf[o]||(sf[o]=[]);i.push({name:t,func:r})}}),sf[ri(oe,ge).name]=[{name:"wrapper",func:oe}],b.prototype.clone=P,b.prototype.reverse=Y,b.prototype.value=te,n.prototype.at=Qf,n.prototype.chain=nu,n.prototype.commit=ru,n.prototype.next=ou,n.prototype.plant=au,n.prototype.reverse=uu,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=su,n.prototype.first=n.prototype.head,Nl&&(n.prototype[Nl]=iu),n},Cr=xr();ur._=Cr,r=function(){return Cr}.call(t,n,t,o),!(r!==oe&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(34)(e))},function(e,t,n){!function(t,r){e.exports=r(n(2))}(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"),v=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){e.preventDefault(),e.stopPropagation();try{e.dataTransfer.dropEffect="copy"}catch(e){}return!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 e(){var e=this.props.onFileDialogCancel,t=this.fileInputEl,n=this.isFileDialogActive;e&&n&&setTimeout(function(){var r=t.files;r.length||(n=!1,e())},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,v=l.rejectStyle,m=l.style,y=o(l,["activeStyle","className","rejectStyle","style"]),g=this.state,_=g.isDragActive,b=g.isDragReject;p=p||"",_&&r&&(p+=" "+r),b&&c&&(p+=" "+c),p||m||f||v||(m={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},f={borderStyle:"solid",backgroundColor:"#eee"},v={borderStyle:"solid",backgroundColor:"#ffdddd"});var w=void 0;w=f&&_?s({},m,f):v&&b?s({},m,v):s({},m);var k={accept:n,type:"file",style:{display:"none"},multiple:h&&a,ref:function(t){return e.fileInputEl=t},onChange:this.onDrop};u&&u.length&&(k.name=u);var x=["acceptedFiles","disablePreview","disableClick","onDropAccepted","onDropRejected","onFileDialogCancel","maxSize","minSize"],C=s({},y);return x.forEach(function(e){return delete C[e]}),d.default.createElement("div",s({className:p,style:w},C,{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,k)))}}]),t}(d.default.Component);v.defaultProps={disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},v.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=v,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,v=e&c.P,m=h?r:e&c.S?r[t]||(r[t]={}):(r[t]||{})[u],y=h?o:o[t]||(o[t]={});h&&(n=t);for(l in n)f=!(e&c.F)&&m&&l in m,p=(f?m:n)[l],d=e&c.B&&f?s(p,r):v&&"function"==typeof p?s(Function.call,p):p,m&&!f&&a(m,l,p),y[l]!=p&&i(y,l,d),v&&((y[u]||(y[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(e){}}return!0}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){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(){"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(e){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(4),n(66),n(12)],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 are unable to detect an identity document in this image. Please try again."};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(28),n(11),n(49),n(18),n(4),n(73),n(5)],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}}Object.defineProperty(e,"__esModule",{value:!0}),e.Uploader=e.UploadError=void 0;var l=c(n),f=c(o),p=(c(i),c(a)),d=c(u),h=function(){return(0,t.h)("div",{className:d.default.base},(0,t.h)("span",{className:p.default.icon+" "+d.default.icon}),(0,t.h)("p",{className:d.default.text},"Take a photo with your camera or upload one from your library."))},v=function(){return(0,t.h)("div",{className:p.default.center},(0,t.h)(f.default,null),(0,t.h)("div",{className:d.default.processing},"Processing your document"))},m=e.UploadError=function(e){var n=e.children;return(0,t.h)("div",{className:d.default.text+" "+d.default.error},n)},y=function(e){var n=e.method;return(0,s.functionalSwitch)(n,{document:function(){return(0,t.h)(r.DocumentNotFound,null)}})},g=function(){return(0,t.h)(m,null,"The file uploaded has an unsupported file type.")};e.Uploader=(0,s.impurify)(function(e){var n=e.method,r=e.onImageSelected,o=e.uploading,i=e.error;return(0,t.h)(l.default,{onDrop:function(e){var t=e[0];return r(t)},multiple:!1,className:d.default.dropzone},o?(0,t.h)(v,null):(0,t.h)(h,null),!o&&(0,s.functionalSwitch)(i,{INVALID_CAPTURE:function(){return(0,t.h)(y,{method:n})},INVALID_TYPE:function(){return(0,t.h)(g,null)}}))})})},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(124),n(21)],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(e,"__esModule",{value:!0}),e.canvasToBase64Images=e.toLossyImageDataUrl=e.cloneCanvas=void 0;var o=r(t),i=e.cloneCanvas=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=document.createElement("canvas"),o=r.getContext("2d");return null===t&&(t=e.width),null===n&&(n=e.height),r.width=t,r.height=n,o.drawImage(e,0,0,t,n),r},a=function(e,t){var n=e.width,r=e.height,o=n/r,a=Math.min(t,e.height),u=a*o;return i(e,u,a)},u=function(e){return function(t,r){return(0,n.tick)(function(n){return r(t.toDataURL(e))})}},s="image/"+(o.default?"webp":"jpeg"),c=e.toLossyImageDataUrl=u(s),l=u("image/png");e.canvasToBase64Images=function(e,t){if(e){var r=function(t){return(0,n.asyncFunc)(a,[e,200],function(e){return o(e,t)})},o=function(e,t){return c(e,function(e){return i(e,t)})},i=function(e,n){return t(e,n)};(0,n.tick)(function(){return l(e,r)})}}})},function(e,t,n){function r(e){if(!a(e)||o(e)!=u)return!1;var t=i(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==p}var o=n(78),i=n(80),a=n(85),u="[object Object]",s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,p=l.call(Object);e.exports=r},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(8),a=n(10),u=o(a),s=n(16),c=o(s),l=n(91),f=r(l),p=n(90),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(8),i=n(94),a=r(i),u=(0,o.createStore)(a.default,window.devToolsExtension?window.devToolsExtension():void 0);t.default=u},function(e,t,n){"use strict";t.__esModule=!0,t.mapKeys=t.every=t.mapValues=void 0;var r=n(24);t.mapValues=r.mapValues,t.every=r.every,t.mapKeys=r.mapKeys},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(4),n(64),n(5),n(20)],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(o),l=s(i),f=function(e){var t=e.file,r=t.preview,o=t.type;return(0,n.h)("object",{data:r,type:o,className:l.default.fileViewer},(0,n.h)("embed",{src:r},"This browser does not support PDFs. Please download the PDF to view it:",(0,n.h)("a",{href:r},"Download PDF")))},p=function(e){var t=e.capture,r=t.image,o=t.file;return(0,n.h)("div",{className:l.default.captures},o&&(0,u.isOfFileType)(["pdf"],o)?(0,n.h)(f,{file:o}):(0,n.h)("img",{src:r,className:l.default.image}))},d=function(e){var t=e.capture,r=e.nextLink,o=e.retakeAction,i=e.confirmAction;return(0,n.h)("div",{className:c.default.previews+" "+c.default.step},(0,n.h)("h1",{className:c.default.title},"Confirm capture"),(0,n.h)("p",null,"Please confirm that you are happy with this photo."),(0,n.h)(p,{capture:t}),(0,n.h)("div",{className:c.default.actions+" "+l.default.actions},(0,n.h)("button",{onClick:o,className:c.default.btn+" "+l.default["btn-outline"]},"Take again"),(0,n.h)("a",{href:r,className:c.default.btn+" "+c.default["btn-primary"],onClick:i},"Confirm")))},h=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)(d,{capture:s,retakeAction:function(){return a({method:r})},confirmAction:function(){return u({method:r,id:s.id})},nextLink:t})};t.default=(0,a.impurify)(h),e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(1),n(4),n(69)],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,i;!function(a,u){o=[t,n(53),n(13)],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(e,"__esModule",{value:!0}),e.fileToLossyBase64Image=e.isOfFileType=e.fileType=e.fileToBase64=void 0;var o=r(t),i=(e.fileToBase64=function(e,t,n){var r=new FileReader;r.readAsDataURL(e),r.onload=function(){t(r.result)},r.onerror=function(e){console.log("File Reading Error: ",e),n(e)}},e.fileType=function(e){return e.type.split("/")[1]}),a=(e.isOfFileType=function(e,t){return e.some(function(e){return e===i(t)})},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{maxWidth:960,maxHeight:960,canvas:!0},t=arguments[1],n=arguments[2],r=arguments[3];return(0,o.default)(t.preview,function(e){"error"===e.type?r(e):n(e)},e)});e.fileToLossyBase64Image=function(e,t,r,o){return a(e,t,function(e){return(0,n.toLossyImageDataUrl)(e,r)},o)}})},function(e,t,n){var r,o,i;!function(n,a){o=[t],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(e.asyncFunc=function(e,n,r){return t(function(){return r(e.apply(void 0,n))})},e.tick=function(e){return requestAnimationFrame(e)})})},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(y){o="Opera";try{i=h.userAgent.split("OPR/")[1].split(" ")[0],a=i.split(".")[0]}catch(e){i="0.0.0.0",a=0}}else w?(t=r.indexOf("MSIE"),o="IE",i=r.substring(t+5)):b?(t=r.indexOf("Chrome"),o="Chrome",i=r.substring(t+7)):_?(t=r.indexOf("Safari"),o="Safari",i=r.substring(t+7),(t=r.indexOf("Version"))!==-1&&(i=r.substring(t+8))):g?(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 m&&(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(e){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(e){t=!0}}else if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(e){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){W.isWebRTCSupported&&(W.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!==W&&W.browser.isFirefox&&38>=W.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?(T=[],P=[],A=[],j=[],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;T.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||U||(U=!0),"audioinput"!==t.kind||I||(I=!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&&(D=!0,P.indexOf(t)===-1&&P.push(t)),"audiooutput"===t.kind&&(R=!0,A.indexOf(t)===-1&&A.push(t)),"videoinput"===t.kind&&(N=!0,j.indexOf(t)===-1&&j.push(t)),T.indexOf(t)===-1&&T.push(t))}),void 0!==W&&(W.MediaDevices=T,W.hasMicrophone=D,W.hasSpeakers=R,W.hasWebcam=N,W.isWebsiteHasWebcamPermissions=U,W.isWebsiteHasMicrophonePermissions=I,W.audioInputDevices=P,W.audioOutputDevices=A,W.videoInputDevices=j),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 v=!!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(h.userAgent||""),m=!(h.userAgent.indexOf("Edge")===-1||!h.msSaveOrOpenBlob&&!h.msSaveBlob),y=!!window.opera||h.userAgent.indexOf(" OPR/")>=0,g=void 0!==window.InstallTrigger,_=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,b=!!window.chrome&&!y,w=!!document.documentMode&&!m,k={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 k.Android()||k.BlackBerry()||k.iOS()||k.Opera()||k.Windows()},getOsName:function(){var e="Unknown OS";return k.Android()&&(e="Android"),k.BlackBerry()&&(e="BlackBerry"),k.iOS()&&(e="iOS"),k.Opera()&&(e="Opera Mini"),k.Windows()&&(e="Windows"),e}},x="Unknown OS",C="Unknown OS Version";if(k.any())x=k.getOsName();else{var S=c();x=S.osName,C=S.osVersion}var O=!1,E=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){!O&&e in document.createElement("canvas")&&(O=!0),!E&&e in document.createElement("video")&&(E=!0)});var T=[],P=[],A=[],j=[];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 D=!1,R=!1,N=!1,I=!1,U=!1;p();var W=window.DetectRTC||{};W.browser=i(),s(function(e){W.browser.isPrivateBrowsing=!!e}),W.browser["is"+W.browser.name]=!0;var L=(!!(window.process&&"object"==typeof window.process&&window.process.versions&&window.process.versions["node-webkit"]),!1);["RTCPeerConnection","webkitRTCPeerConnection","mozRTCPeerConnection","RTCIceGatherer"].forEach(function(e){L||e in window&&(L=!0)}),W.isWebRTCSupported=L,W.isORTCSupported="undefined"!=typeof RTCIceGatherer;var F=!1;W.browser.isChrome&&W.browser.version>=35?F=!0:W.browser.isFirefox&&W.browser.version>=34&&(F=!0),"https:"!==location.protocol&&(F=!1),W.isScreenCapturingSupported=F;var B={isSupported:!1,isCreateMediaStreamSourceSupported:!1};["AudioContext","webkitAudioContext","mozAudioContext","msAudioContext"].forEach(function(e){B.isSupported||e in window&&(B.isSupported=!0,"createMediaStreamSource"in window[e].prototype&&(B.isCreateMediaStreamSourceSupported=!0))}),W.isAudioContextSupported=B.isSupported,W.isCreateMediaStreamSourceSupported=B.isCreateMediaStreamSourceSupported;var V=!1;W.browser.isChrome&&W.browser.version>31&&(V=!0),W.isRtpDataChannelsSupported=V;var H=!1;W.browser.isFirefox&&W.browser.version>28?H=!0:W.browser.isChrome&&W.browser.version>25?H=!0:W.browser.isOpera&&W.browser.version>=11&&(H=!0),W.isSctpDataChannelsSupported=H,W.isMobileDevice=v;var z=!1;h.getUserMedia?z=!0:h.mediaDevices&&h.mediaDevices.getUserMedia&&(z=!0),W.browser.isChrome&&W.browser.version>=46&&"https:"!==location.protocol&&(W.isGetUserMediaSupported="Requires HTTPs"),W.isGetUserMediaSupported=z,W.osName=x,W.osVersion=C;var q="";if(screen.width){var K=screen.width?screen.width:"",G=screen.height?screen.height:"";q+=""+K+" x "+G}W.displayResolution=q,W.isCanvasSupportsStreamCapturing=O,W.isVideoSupportsStreamCapturing=E,W.DetectLocalIPAddress=l,W.isWebSocketsSupported="WebSocket"in window&&2===window.WebSocket.CLOSING,W.isWebSocketsBlocked=!W.isWebSocketsSupported,W.checkWebSocketsSupport=function(e){e=e||function(){};try{var t=new WebSocket("wss://echo.websocket.org:443/");t.onopen=function(){W.isWebSocketsBlocked=!1,e(),t.close(),t=null},t.onerror=function(){W.isWebSocketsBlocked=!0,e()}}catch(t){W.isWebSocketsBlocked=!0,e()}},W.load=function(e){e=e||function(){},p(e)},W.MediaDevices=T,W.hasMicrophone=D,W.hasSpeakers=R,W.hasWebcam=N,W.isWebsiteHasWebcamPermissions=U,W.isWebsiteHasMicrophonePermissions=I,W.audioInputDevices=P,W.audioOutputDevices=A,W.videoInputDevices=j;var $=!1;"setSinkId"in document.createElement("video")&&($=!0),W.isSetSinkIdSupported=$;var X=!1;W.browser.isFirefox&&"undefined"!=typeof mozRTCPeerConnection?"getSenders"in mozRTCPeerConnection.prototype&&(X=!0):W.browser.isChrome&&"undefined"!=typeof webkitRTCPeerConnection&&"getSenders"in webkitRTCPeerConnection.prototype&&(X=!0),W.isRTPSenderReplaceTracksSupported=X;var J=!1;W.browser.isFirefox&&W.browser.version>38&&(J=!0),W.isRemoteStreamProcessingSupported=J;var Y=!1;"undefined"!=typeof MediaStreamTrack&&"applyConstraints"in MediaStreamTrack.prototype&&(Y=!0),W.isApplyConstraintsSupported=Y;var Z=!1;W.browser.isFirefox&&W.browser.version>=43&&(Z=!0),W.isMultiMonitorScreenCapturingSupported=Z,W.isPromisesSupported=!!("Promise"in window),void 0===W&&(window.DetectRTC={});var Q=window.MediaStream;void 0===Q&&"undefined"!=typeof webkitMediaStream&&(Q=webkitMediaStream),W.MediaStream=void 0!==Q&&Object.keys(Q.prototype),W.MediaStreamTrack="undefined"!=typeof MediaStreamTrack&&Object.keys(MediaStreamTrack.prototype);var ee=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;W.RTCPeerConnection=void 0!==ee&&Object.keys(ee.prototype),window.DetectRTC=W,e.exports=W,r=[],o=function(){return W}.apply(t,r),!(void 0!==o&&(e.exports=o))}()}).call(t,function(){return this}())},function(e,t,n){var r=n(84),o=r.Symbol;e.exports=o},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=null==e?0:e.length;++o-1}function h(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function L(e,t){for(var n=e.length;n--&&C(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function B(e){return"\\"+nr[e]}function V(e,t){return null==e?oe:e[t]}function H(e){return Gn.test(e)}function z(e){return $n.test(e)}function q(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function G(e,t){return function(n){return e(t(n))}}function $(e,t){for(var n=-1,r=e.length,o=0,i=[];++n>>1,Be=[["ary",Ce],["bind",ye],["bindKey",ge],["curry",be],["curryRight",we],["flip",Oe],["partial",ke],["partialRight",xe],["rearg",Se]],Ve="[object Arguments]",He="[object Array]",ze="[object AsyncFunction]",qe="[object Boolean]",Ke="[object Date]",Ge="[object DOMException]",$e="[object Error]",Xe="[object Function]",Je="[object GeneratorFunction]",Ye="[object Map]",Ze="[object Number]",Qe="[object Null]",et="[object Object]",tt="[object Promise]",nt="[object Proxy]",rt="[object RegExp]",ot="[object Set]",it="[object String]",at="[object Symbol]",ut="[object Undefined]",st="[object WeakMap]",ct="[object WeakSet]",lt="[object ArrayBuffer]",ft="[object DataView]",pt="[object Float32Array]",dt="[object Float64Array]",ht="[object Int8Array]",vt="[object Int16Array]",mt="[object Int32Array]",yt="[object Uint8Array]",gt="[object Uint8ClampedArray]",_t="[object Uint16Array]",bt="[object Uint32Array]",wt=/\b__p \+= '';/g,kt=/\b(__p \+=) '' \+/g,xt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ct=/&(?:amp|lt|gt|quot|#39);/g,St=/[&<>"']/g,Ot=RegExp(Ct.source),Et=RegExp(St.source),Tt=/<%-([\s\S]+?)%>/g,Pt=/<%([\s\S]+?)%>/g,At=/<%=([\s\S]+?)%>/g,jt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mt=/^\w*$/,Dt=/^\./,Rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nt=/[\\^$.*+?()[\]{}|]/g,It=RegExp(Nt.source),Ut=/^\s+|\s+$/g,Wt=/^\s+/,Lt=/\s+$/,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,Vt=/,? & /,Ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,zt=/\\(\\)?/g,qt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Kt=/\w*$/,Gt=/^[-+]0x[0-9a-f]+$/i,$t=/^0b[01]+$/i,Xt=/^\[object .+?Constructor\]$/,Jt=/^0o[0-7]+$/i,Yt=/^(?:0|[1-9]\d*)$/,Zt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qt=/($^)/,en=/['\n\r\u2028\u2029\\]/g,tn="\\ud800-\\udfff",nn="\\u0300-\\u036f",rn="\\ufe20-\\ufe2f",on="\\u20d0-\\u20ff",an=nn+rn+on,un="\\u2700-\\u27bf",sn="a-z\\xdf-\\xf6\\xf8-\\xff",cn="\\xac\\xb1\\xd7\\xf7",ln="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fn="\\u2000-\\u206f",pn=" \\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",dn="A-Z\\xc0-\\xd6\\xd8-\\xde",hn="\\ufe0e\\ufe0f",vn=cn+ln+fn+pn,mn="['’]",yn="["+tn+"]",gn="["+vn+"]",_n="["+an+"]",bn="\\d+",wn="["+un+"]",kn="["+sn+"]",xn="[^"+tn+vn+bn+un+sn+dn+"]",Cn="\\ud83c[\\udffb-\\udfff]",Sn="(?:"+_n+"|"+Cn+")",On="[^"+tn+"]",En="(?:\\ud83c[\\udde6-\\uddff]){2}",Tn="[\\ud800-\\udbff][\\udc00-\\udfff]",Pn="["+dn+"]",An="\\u200d",jn="(?:"+kn+"|"+xn+")",Mn="(?:"+Pn+"|"+xn+")",Dn="(?:"+mn+"(?:d|ll|m|re|s|t|ve))?",Rn="(?:"+mn+"(?:D|LL|M|RE|S|T|VE))?",Nn=Sn+"?",In="["+hn+"]?",Un="(?:"+An+"(?:"+[On,En,Tn].join("|")+")"+In+Nn+")*",Wn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Ln="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Fn=In+Nn+Un,Bn="(?:"+[wn,En,Tn].join("|")+")"+Fn,Vn="(?:"+[On+_n+"?",_n,En,Tn,yn].join("|")+")",Hn=RegExp(mn,"g"),zn=RegExp(_n,"g"),qn=RegExp(Cn+"(?="+Cn+")|"+Vn+Fn,"g"),Kn=RegExp([Pn+"?"+kn+"+"+Dn+"(?="+[gn,Pn,"$"].join("|")+")",Mn+"+"+Rn+"(?="+[gn,Pn+jn,"$"].join("|")+")",Pn+"?"+jn+"+"+Dn,Pn+"+"+Rn,Ln,Wn,bn,Bn].join("|"),"g"),Gn=RegExp("["+An+tn+an+hn+"]"),$n=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xn=["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"],Jn=-1,Yn={};Yn[pt]=Yn[dt]=Yn[ht]=Yn[vt]=Yn[mt]=Yn[yt]=Yn[gt]=Yn[_t]=Yn[bt]=!0,Yn[Ve]=Yn[He]=Yn[lt]=Yn[qe]=Yn[ft]=Yn[Ke]=Yn[$e]=Yn[Xe]=Yn[Ye]=Yn[Ze]=Yn[et]=Yn[rt]=Yn[ot]=Yn[it]=Yn[st]=!1;var Zn={};Zn[Ve]=Zn[He]=Zn[lt]=Zn[ft]=Zn[qe]=Zn[Ke]=Zn[pt]=Zn[dt]=Zn[ht]=Zn[vt]=Zn[mt]=Zn[Ye]=Zn[Ze]=Zn[et]=Zn[rt]=Zn[ot]=Zn[it]=Zn[at]=Zn[yt]=Zn[gt]=Zn[_t]=Zn[bt]=!0,Zn[$e]=Zn[Xe]=Zn[st]=!1;var Qn={"À":"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"},er={"&":"&","<":"<",">":">",'"':""","'":"'"},tr={"&":"&","<":"<",">":">",""":'"',"'":"'"},nr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,or=parseInt,ir="object"==typeof e&&e&&e.Object===Object&&e,ar="object"==typeof self&&self&&self.Object===Object&&self,ur=ir||ar||Function("return this")(),sr="object"==typeof t&&t&&!t.nodeType&&t,cr=sr&&"object"==typeof o&&o&&!o.nodeType&&o,lr=cr&&cr.exports===sr,fr=lr&&ir.process,pr=function(){try{return fr&&fr.binding&&fr.binding("util")}catch(e){}}(),dr=pr&&pr.isArrayBuffer,hr=pr&&pr.isDate,vr=pr&&pr.isMap,mr=pr&&pr.isRegExp,yr=pr&&pr.isSet,gr=pr&&pr.isTypedArray,_r=T("length"),br=P(Qn),wr=P(er),kr=P(tr),xr=function e(t){function n(e){if(ss(e)&&!bp(e)&&!(e instanceof b)){if(e instanceof o)return e;if(_l.call(e,"__wrapped__"))return ia(e)}return new o(e)}function r(){}function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oe}function b(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=We,this.__views__=[]}function P(){var e=new b(this.__wrapped__);return e.__actions__=Vo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Vo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Vo(this.__views__),e}function Y(){if(this.__filtered__){var e=new b(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function te(){var e=this.__wrapped__.value(),t=this.__dir__,n=bp(e),r=0>t,o=n?e.length:0,i=Ti(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=Xl(s,this.__takeCount__);if(!n||ae>o||o==s&&d==s)return xo(e,this.__actions__);var h=[];e:for(;s--&&d>p;){c+=t;for(var v=-1,m=e[c];++vn)return!1;var r=t.length-1;return n==r?t.pop():Dl.call(t,n,1),--this.size,!0}function cn(e){var t=this.__data__,n=Rn(t,e);return 0>n?oe:t[n][1]}function ln(e){return Rn(this.__data__,e)>-1}function fn(e,t){var n=this.__data__,r=Rn(n,e);return 0>r?(++this.size,n.push([e,t])):n[r][1]=t,this}function pn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tr.length)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new pn(r)}return n.set(e,t),this.size=n.size,this}function En(e,t){var n=bp(e),r=!n&&_p(e),o=!n&&!r&&kp(e),i=!n&&!r&&!o&&Ep(e),a=n||r||o||i,u=a?D(e.length,pl):[],s=u.length;for(var c in e)!t&&!_l.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ii(c,s))||u.push(c);return u}function Tn(e){var t=e.length;return t?e[ro(0,t-1)]:oe}function Pn(e,t){return ta(Vo(e),Fn(t,0,e.length))}function An(e){return ta(Vo(e))}function jn(e,t,n,r){return e===oe||$u(e,ml[n])&&!_l.call(r,n)?t:e}function Mn(e,t,n){(n===oe||$u(e[t],n))&&(n!==oe||t in e)||Wn(e,t,n)}function Dn(e,t,n){var r=e[t];_l.call(e,t)&&$u(r,n)&&(n!==oe||t in e)||Wn(e,t,n)}function Rn(e,t){for(var n=e.length;n--;)if($u(e[n][0],t))return n;return-1}function Nn(e,t,n,r){return gf(e,function(e,o,i){t(r,e,n(e),i)}),r}function In(e,t){return e&&Ho(t,Hs(t),e)}function Un(e,t){return e&&Ho(t,zs(t),e)}function Wn(e,t,n){"__proto__"==t&&Ul?Ul(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ln(e,t){for(var n=-1,r=t.length,o=il(r),i=null==e;++nn?n:e),t!==oe&&(e=t>e?t:e)),e}function Bn(e,t,n,r,o,i){var a,u=t&pe,s=t&de,l=t&he;if(n&&(a=o?n(e,r,o,i):n(e)),a!==oe)return a;if(!us(e))return e;var f=bp(e);if(f){if(a=ji(e),!u)return Vo(e,a)}else{var p=Af(e),d=p==Xe||p==Je;if(kp(e))return Ao(e,u);if(p==et||p==Ve||d&&!o){if(a=s||d?{}:Mi(e),!u)return s?qo(e,Un(a,e)):zo(e,In(a,e))}else{if(!Zn[p])return o?e:{};a=Di(e,p,Bn,u)}}i||(i=new wn);var h=i.get(e);if(h)return h;i.set(e,a);var v=l?s?bi:_i:s?zs:Hs,m=f?oe:v(e);return c(m||e,function(r,o){m&&(o=r,r=e[o]),Dn(a,o,Bn(r,t,n,o,e,i))}),a}function Vn(e){var t=Hs(e);return function(n){return qn(n,e,t)}}function qn(e,t,n){var r=n.length;if(null==e)return!r;for(e=ll(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 Kn(e,t,n){if("function"!=typeof e)throw new dl(se);return Df(function(){e.apply(oe,n)},t)}function Gn(e,t,n,r){var o=-1,i=d,a=!0,u=e.length,s=[],c=t.length;if(!u)return s;n&&(t=v(t,N(n))),r?(i=h,a=!1):ae>t.length||(i=U,a=!1,t=new gn(t));e:for(;++on&&(n=-n>o?0:o+n),r=r===oe||r>o?o:Ss(r),0>r&&(r+=o),r=n>r?0:Os(r);r>n;)e[n++]=t;return e}function tr(e,t){var n=[];return gf(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function nr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Ni),o||(o=[]);++i0&&n(u)?t>1?nr(u,t-1,n,r,o):m(o,u):r||(o[o.length]=u)}return o}function ir(e,t){return e&&bf(e,t,Hs)}function ar(e,t){return e&&wf(e,t,Hs)}function sr(e,t){return p(t,function(t){return os(e[t])})}function cr(e,t){t=To(t,e);for(var n=0,r=t.length;null!=e&&r>n;)e=e[na(t[n++])];return n&&n==r?e:oe}function fr(e,t,n){var r=t(e);return bp(e)?r:m(r,n(e))}function pr(e){return null==e?e===oe?ut:Qe:(e=ll(e),Il&&Il in e?Ei(e):Xi(e))}function _r(e,t){return e>t}function xr(e,t){return null!=e&&_l.call(e,t)}function Sr(e,t){return null!=e&&t in ll(e)}function Or(e,t,n){return e>=Xl(t,n)&&e<$l(t,n)}function Er(e,t,n){for(var r=n?h:d,o=e[0].length,i=e.length,a=i,u=il(i),s=1/0,c=[];a--;){var l=e[a];a&&t&&(l=v(l,N(t))),s=Xl(l.length,s),u[a]=n||!t&&(120>o||120>l.length)?oe:new gn(a&&l)}l=e[0];var f=-1,p=u[0];e:for(;++fc.length;){var m=l[f],y=t?t(m):m;if(m=n||0!==m?m:0,!(p?U(p,y):r(c,y,n))){for(a=i;--a;){var g=u[a];if(!(g?U(g,y):r(e[a],y,n)))continue e}p&&p.push(y),c.push(m)}}return c}function Tr(e,t,n,r){return ir(e,function(e,o,i){t(r,n(e),o,i)}),r}function Pr(e,t,n){t=To(t,e),e=Yi(e,t);var r=null==e?e:e[na(Ca(t))];return null==r?oe:u(r,e,n)}function Ar(e){return ss(e)&&pr(e)==Ve}function jr(e){return ss(e)&&pr(e)==lt}function Mr(e){return ss(e)&&pr(e)==Ke}function Dr(e,t,n,r,o){return e===t||(null==e||null==t||!us(e)&&!ss(t)?e!==e&&t!==t:Rr(e,t,n,r,Dr,o))}function Rr(e,t,n,r,o,i){var a=bp(e),u=bp(t),s=He,c=He;a||(s=Af(e),s=s==Ve?et:s),u||(c=Af(t),c=c==Ve?et:c);var l=s==et,f=c==et,p=s==c;if(p&&kp(e)){if(!kp(t))return!1;a=!0,l=!1}if(p&&!l)return i||(i=new wn),a||Ep(e)?vi(e,t,n,r,o,i):mi(e,t,s,n,r,o,i);if(!(n&ve)){var d=l&&_l.call(e,"__wrapped__"),h=f&&_l.call(t,"__wrapped__");if(d||h){var v=d?e.value():e,m=h?t.value():t;return i||(i=new wn),o(v,m,n,r,i)}}return!!p&&(i||(i=new wn),yi(e,t,n,r,o,i))}function Nr(e){return ss(e)&&Af(e)==Ye}function Ir(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=ll(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++oe}function qr(e,t){var n=-1,r=Xu(e)?il(e.length):[];return gf(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Kr(e){var t=Si(e);return 1==t.length&&t[0][2]?zi(t[0][0],t[0][1]):function(n){return n===e||Ir(n,e,t)}}function Gr(e,t){return Wi(e)&&Hi(t)?zi(na(e),t):function(n){var r=Fs(n,e);return r===oe&&r===t?Vs(n,e):Dr(t,r,ve|me)}}function $r(e,t,n,r,o){e!==t&&bf(t,function(i,a){if(us(i))o||(o=new wn),Xr(e,t,a,n,$r,r,o);else{var u=r?r(e[a],i,a+"",e,t,o):oe;u===oe&&(u=i),Mn(e,a,u)}},zs)}function Xr(e,t,n,r,o,i,a){var u=e[n],s=t[n],c=a.get(s);if(c)return Mn(e,n,c),oe;var l=i?i(u,s,n+"",e,t,a):oe,f=l===oe;if(f){var p=bp(s),d=!p&&kp(s),h=!p&&!d&&Ep(s);l=s,p||d||h?bp(u)?l=u:Ju(u)?l=Vo(u):d?(f=!1,l=Ao(s,!0)):h?(f=!1,l=Uo(s,!0)):l=[]:ms(s)||_p(s)?(l=u,_p(u)?l=Ts(u):(!us(u)||r&&os(u))&&(l=Mi(s))):f=!1}f&&(a.set(s,l),o(l,s,r,i,a),a.delete(s)),Mn(e,n,l)}function Jr(e,t){var n=e.length;if(n)return t+=0>t?n:0,Ii(t,n)?e[t]:oe}function Yr(e,t,n){var r=-1;t=v(t.length?t:[Dc],N(xi()));var o=qr(e,function(e,n,o){var i=v(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return j(o,function(e,t){return Lo(e,t,n)})}function Zr(e,t){return e=ll(e),Qr(e,t,function(t,n){return Vs(e,n)})}function Qr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)u!==e&&Dl.call(u,s,1),Dl.call(e,s,1);return e}function no(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;Ii(o)?Dl.call(e,o,1):bo(e,o)}}return e}function ro(e,t){return e+Vl(Zl()*(t-e+1))}function oo(e,t,n,r){for(var o=-1,i=$l(Bl((t-e)/(n||1)),0),a=il(i);i--;)a[r?i:++o]=e,e+=n;return a}function io(e,t){var n="";if(!e||1>t||t>Ne)return n;do t%2&&(n+=e),t=Vl(t/2),t&&(e+=e);while(t);return n}function ao(e,t){return Rf(Ji(e,t,Dc),e+"")}function uo(e){return Tn(nc(e))}function so(e,t){var n=nc(e);return ta(n,Fn(t,0,n.length))}function co(e,t,n,r){if(!us(e))return e;t=To(t,e);for(var o=-1,i=t.length,a=i-1,u=e;null!=u&&++ot&&(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=il(o);++r=o){for(;o>r;){var i=r+o>>>1,a=e[i];null===a||_s(a)||(n?a>t:a>=t)?o=i:r=i+1}return o}return vo(e,t,Dc,n)}function vo(e,t,n,r){t=n(t);for(var o=0,i=null==e?0:e.length,a=t!==t,u=null===t,s=_s(t),c=t===oe;i>o;){var l=Vl((o+i)/2),f=n(e[l]),p=f!==oe,d=null===f,h=f===f,v=_s(f);if(a)var m=r||h;else m=c?h&&(r||p):u?h&&p&&(r||!d):s?h&&p&&!d&&(r||!v):!d&&!v&&(r?t>=f:t>f);m?o=l+1:i=l}return Xl(i,Le)}function mo(e,t){for(var n=-1,r=e.length,o=0,i=[];++nr)return r?_o(e[0]):[];for(var o=-1,i=il(r);++or?t[r]:oe;n(a,e[r],u)}return a}function Oo(e){return Ju(e)?e:[]}function Eo(e){return"function"==typeof e?e:Dc}function To(e,t){return bp(e)?e:Wi(e,t)?[e]:Nf(As(e))}function Po(e,t,n){var r=e.length;return n=n===oe?r:n,t||r>n?fo(e,t,n):e}function Ao(e,t){if(t)return e.slice();var n=e.length,r=Pl?Pl(n):new e.constructor(n);return e.copy(r),r}function jo(e){var t=new e.constructor(e.byteLength);return new Tl(t).set(new Tl(e)),t}function Mo(e,t){var n=t?jo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Do(e,t,n){var r=t?n(K(e),pe):K(e);return y(r,i,new e.constructor)}function Ro(e){var t=new e.constructor(e.source,Kt.exec(e));return t.lastIndex=e.lastIndex,t}function No(e,t,n){var r=t?n(X(e),pe):X(e);return y(r,a,new e.constructor)}function Io(e){return vf?ll(vf.call(e)):{}}function Uo(e,t){var n=t?jo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Wo(e,t){if(e!==t){var n=e!==oe,r=null===e,o=e===e,i=_s(e),a=t!==oe,u=null===t,s=t===t,c=_s(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 Lo(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r=u)return s;var c=n[r];return s*("desc"==c?-1:1)}}return e.index-t.index}function Fo(e,t,n,r){for(var o=-1,i=e.length,a=n.length,u=-1,s=t.length,c=$l(i-a,0),l=il(s+c),f=!r;++uo)&&(l[n[o]]=e[o]);for(;c--;)l[u++]=e[o++];return l}function Bo(e,t,n,r){for(var o=-1,i=e.length,a=-1,u=n.length,s=-1,c=t.length,l=$l(i-u,0),f=il(l+c),p=!r;++oo)&&(f[d+n[a]]=e[o++]);return f}function Vo(e,t){var n=-1,r=e.length;for(t||(t=il(r));++n1?n[o-1]:oe,a=o>2?n[2]:oe;for(i=e.length>3&&"function"==typeof i?(o--,i):oe,a&&Ui(n[0],n[1],a)&&(i=3>o?oe:i,o=1),t=ll(t);++ri&&a[0]!==c&&a[i-1]!==c?[]:$(a,c);if(i-=l.length,n>i)return fi(e,t,ri,r.placeholder,oe,a,l,oe,oe,n-i);var f=this&&this!==ur&&this instanceof r?o:e;return u(f,this,a)}var o=Qo(e);return r}function ti(e){return function(t,n,r){var o=ll(t);if(!Xu(t)){var i=xi(n,3);t=Hs(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 ni(e){return gi(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new dl(se);if(i&&!u&&"wrapper"==wi(a))var u=new o([],!0)}for(r=u?r:n;++r=ae)return u.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++oy){var k=$(g,b);return fi(e,t,ri,l.placeholder,n,g,k,u,s,c-y)}var x=p?n:this,C=d?x[e]:e;return y=g.length,u?g=Zi(g,u):v&&y>1&&g.reverse(),f&&y>s&&(g.length=s),this&&this!==ur&&this instanceof l&&(C=m||Qo(C)),C.apply(x,g)}var f=t&Ce,p=t&ye,d=t&ge,h=t&(be|we),v=t&Oe,m=d?oe:Qo(e);return l}function oi(e,t){return function(n,r){return Tr(n,e,t(r),{})}}function ii(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=go(n),r=go(r)):(n=yo(n),r=yo(r)),o=e(n,r)}return o}}function ai(e){return gi(function(t){return t=v(t,N(xi())),ao(function(n){var r=this;return e(t,function(e){return u(e,r,n)})})})}function ui(e,t){t=t===oe?" ":go(t);var n=t.length;if(2>n)return n?io(t,e):t;var r=io(t,Bl(e/Q(t)));return H(t)?Po(ee(r),0,e).join(""):r.slice(0,e)}function si(e,t,n,r){function o(){for(var t=-1,s=arguments.length,c=-1,l=r.length,f=il(l+s),p=this&&this!==ur&&this instanceof o?a:e;++ct?1:-1:Cs(r),oo(t,n,r,e)}}function li(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Es(t),n=Es(n)),e(t,n)}}function fi(e,t,n,r,o,i,a,u,s,c){var l=t&be,f=l?a:oe,p=l?oe:a,d=l?i:oe,h=l?oe:i;t|=l?ke:xe,t&=~(l?xe:ke),t&_e||(t&=~(ye|ge));var v=[e,t,o,d,f,h,p,u,s,c],m=n.apply(oe,v);return Fi(e)&&Mf(m,v),m.placeholder=r,Qi(m,e,t)}function pi(e){var t=cl[e];return function(e,n){if(e=Es(e),n=Xl(Ss(n),292)){var r=(As(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(As(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function di(e){return function(t){var n=Af(t);return n==Ye?K(t):n==ot?J(t):R(t,e(t))}}function hi(e,t,n,r,o,i,a,u){var s=t≥if(!s&&"function"!=typeof e)throw new dl(se);var c=r?r.length:0;if(c||(t&=~(ke|xe),r=o=oe),a=a===oe?a:$l(Ss(a),0),u=u===oe?u:Ss(u),c-=o?o.length:0,t&xe){var l=r,f=o;r=o=oe}var p=s?oe:Ef(e),d=[e,t,n,r,o,l,f,i,a,u];if(p&&Ki(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:$l(d[9]-c,0),!u&&t&(be|we)&&(t&=~(be|we)),t&&t!=ye)h=t==be||t==we?ei(e,t,u):t!=ke&&t!=(ye|ke)||o.length?ri.apply(oe,d):si(e,t,n,r);else var h=Jo(e,t,n);var v=p?kf:Mf;return Qi(v(h,d),e,t)}function vi(e,t,n,r,o,i){var a=n&ve,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=n&me?new gn:oe;for(i.set(e,t),i.set(t,e);++l1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Ft,"{\n/* [wrapped with "+t+"] */\n")}function Ni(e){return bp(e)||_p(e)||!!(Rl&&e&&e[Rl])}function Ii(e,t){return t=null==t?Ne:t,!!t&&("number"==typeof e||Yt.test(e))&&e>-1&&e%1==0&&t>e}function Ui(e,t,n){if(!us(n))return!1;var r=typeof t;return!!("number"==r?Xu(n)&&Ii(t,n.length):"string"==r&&t in n)&&$u(n[t],e)}function Wi(e,t){if(bp(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!_s(e))||Mt.test(e)||!jt.test(e)||null!=t&&e in ll(t)}function Li(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Fi(e){var t=wi(e),r=n[t];if("function"!=typeof r||!(t in b.prototype))return!1;if(e===r)return!0;var o=Ef(r);return!!o&&e===o[0]}function Bi(e){return!!wl&&wl in e}function Vi(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||ml;return e===n}function Hi(e){return e===e&&!us(e)}function zi(e,t){return function(n){return null!=n&&n[e]===t&&(t!==oe||e in ll(n))}}function qi(e){var t=Ru(e,function(e){return n.size===le&&n.clear(),e}),n=t.cache;return t}function Ki(e,t){var n=e[1],r=t[1],o=n|r,i=(ye|ge|Ce)>o,a=r==Ce&&n==be||r==Ce&&n==Se&&t[8]>=e[7].length||r==(Ce|Se)&&t[8]>=t[7].length&&n==be;if(!i&&!a)return e;r&ye&&(e[2]=t[2],o|=n&ye?0:_e);var u=t[3];if(u){var s=e[3];e[3]=s?Fo(s,u,t[4]):u,e[4]=s?$(e[3],fe):t[4]}return u=t[5],u&&(s=e[5],e[5]=s?Bo(s,u,t[6]):u,e[6]=s?$(e[5],fe):t[6]),u=t[7],u&&(e[7]=u),r&Ce&&(e[8]=null==e[8]?t[8]:Xl(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function Gi(e,t,n,r,o,i){return us(e)&&us(t)&&(i.set(t,e),$r(e,t,oe,Gi,i),i.delete(t)),e}function $i(e){var t=[];if(null!=e)for(var n in ll(e))t.push(n);return t}function Xi(e){return kl.call(e)}function Ji(e,t,n){return t=$l(t===oe?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=$l(r.length-t,0),a=il(i);++ot.length?e:cr(e,fo(t,0,-1))}function Zi(e,t){for(var n=e.length,r=Xl(t.length,n),o=Vo(e);r--;){var i=t[r];e[r]=Ii(i,n)?o[i]:oe}return e}function Qi(e,t,n){var r=t+"";return Rf(e,Ri(r,oa(Pi(r),n)))}function ea(e){var t=0,n=0;return function(){var r=Jl(),o=Ae-(r-n);if(n=r,o>0){if(++t>=Pe)return arguments[0]}else t=0;return e.apply(oe,arguments)}}function ta(e,t){var n=-1,r=e.length,o=r-1;for(t=t===oe?r:t;++nt)return[];for(var o=0,i=0,a=il(Bl(r/t));r>o;)a[i++]=fo(e,o,o+=t);return a}function ua(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++tt?0:t,r)):[]}function la(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:Ss(t),t=r-t,fo(e,0,0>t?0:t)):[]}function fa(e,t){return e&&e.length?ko(e,xi(t,3),!0,!0):[]}function pa(e,t){return e&&e.length?ko(e,xi(t,3),!0):[]}function da(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Ui(e,t,n)&&(n=0,r=o),er(e,t,n,r)):[]}function ha(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Ss(n);return 0>o&&(o=$l(r+o,0)),x(e,xi(t,3),o)}function va(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==oe&&(o=Ss(n),o=0>n?$l(r+o,0):Xl(o,r-1)),x(e,xi(t,3),o,!0)}function ma(e){var t=null==e?0:e.length;return t?nr(e,1):[]}function ya(e){var t=null==e?0:e.length;return t?nr(e,Re):[]}function ga(e,t){var n=null==e?0:e.length;return n?(t=t===oe?1:Ss(t),nr(e,t)):[]}function _a(e){for(var t=-1,n=null==e?0:e.length,r={};++to&&(o=$l(r+o,0)),C(e,t,o)}function ka(e){var t=null==e?0:e.length;return t?fo(e,0,-1):[]}function xa(e,t){return null==e?"":Kl.call(e,t)}function Ca(e){var t=null==e?0:e.length;return t?e[t-1]:oe}function Sa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==oe&&(o=Ss(n),o=0>o?$l(r+o,0):Xl(o,r-1)),t===t?Z(e,t,o):x(e,O,o,!0)}function Oa(e,t){return e&&e.length?Jr(e,Ss(t)):oe}function Ea(e,t){return e&&e.length&&t&&t.length?to(e,t):e}function Ta(e,t,n){return e&&e.length&&t&&t.length?to(e,t,xi(n,2)):e}function Pa(e,t,n){return e&&e.length&&t&&t.length?to(e,t,oe,n):e}function Aa(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=xi(t,3);++rr&&$u(e[r],t))return r}return-1}function Ia(e,t){return ho(e,t,!0)}function Ua(e,t,n){return vo(e,t,xi(n,2),!0)}function Wa(e,t){var n=null==e?0:e.length;if(n){var r=ho(e,t,!0)-1;if($u(e[r],t))return r}return-1}function La(e){return e&&e.length?mo(e):[]}function Fa(e,t){return e&&e.length?mo(e,xi(t,2)):[]}function Ba(e){var t=null==e?0:e.length;return t?fo(e,1,t):[]}function Va(e,t,n){return e&&e.length?(t=n||t===oe?1:Ss(t),fo(e,0,0>t?0:t)):[]}function Ha(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:Ss(t),t=r-t,fo(e,0>t?0:t,r)):[]}function za(e,t){return e&&e.length?ko(e,xi(t,3),!1,!0):[]}function qa(e,t){return e&&e.length?ko(e,xi(t,3)):[]}function Ka(e){return e&&e.length?_o(e):[]}function Ga(e,t){return e&&e.length?_o(e,xi(t,2)):[]}function $a(e,t){return t="function"==typeof t?t:oe,e&&e.length?_o(e,oe,t):[]}function Xa(e){if(!e||!e.length)return[];var t=0;return e=p(e,function(e){if(Ju(e))return t=$l(e.length,t),!0}),D(t,function(t){return v(e,T(t))})}function Ja(e,t){if(!e||!e.length)return[];var n=Xa(e);return null==t?n:v(n,function(e){return u(t,oe,e)})}function Ya(e,t){return So(e||[],t||[],Dn)}function Za(e,t){return So(e||[],t||[],co)}function Qa(e){var t=n(e);return t.__chain__=!0,t}function eu(e,t){return t(e),e}function tu(e,t){return t(e)}function nu(){return Qa(this)}function ru(){return new o(this.value(),this.__chain__)}function ou(){this.__values__===oe&&(this.__values__=xs(this.value()));var e=this.__index__>=this.__values__.length,t=e?oe:this.__values__[this.__index__++];return{done:e,value:t}}function iu(){return this}function au(e){for(var t,n=this;n instanceof r;){var o=ia(n);o.__index__=0,o.__values__=oe,t?i.__wrapped__=o:t=o; +var i=o;n=n.__wrapped__}return i.__wrapped__=e,t}function uu(){var e=this.__wrapped__;if(e instanceof b){var t=e;return this.__actions__.length&&(t=new b(this)),t=t.reverse(),t.__actions__.push({func:tu,args:[ja],thisArg:oe}),new o(t,this.__chain__)}return this.thru(ja)}function su(){return xo(this.__wrapped__,this.__actions__)}function cu(e,t,n){var r=bp(e)?f:$n;return n&&Ui(e,t,n)&&(t=oe),r(e,xi(t,3))}function lu(e,t){var n=bp(e)?p:tr;return n(e,xi(t,3))}function fu(e,t){return nr(yu(e,t),1)}function pu(e,t){return nr(yu(e,t),Re)}function du(e,t,n){return n=n===oe?1:Ss(n),nr(yu(e,t),n)}function hu(e,t){var n=bp(e)?c:gf;return n(e,xi(t,3))}function vu(e,t){var n=bp(e)?l:_f;return n(e,xi(t,3))}function mu(e,t,n,r){e=Xu(e)?e:nc(e),n=n&&!r?Ss(n):0;var o=e.length;return 0>n&&(n=$l(o+n,0)),gs(e)?o>=n&&e.indexOf(t,n)>-1:!!o&&C(e,t,n)>-1}function yu(e,t){var n=bp(e)?v:qr;return n(e,xi(t,3))}function gu(e,t,n,r){return null==e?[]:(bp(t)||(t=null==t?[]:[t]),n=r?oe:n,bp(n)||(n=null==n?[]:[n]),Yr(e,t,n))}function _u(e,t,n){var r=bp(e)?y:A,o=3>arguments.length;return r(e,xi(t,4),n,o,gf)}function bu(e,t,n){var r=bp(e)?g:A,o=3>arguments.length;return r(e,xi(t,4),n,o,_f)}function wu(e,t){var n=bp(e)?p:tr;return n(e,Nu(xi(t,3)))}function ku(e){var t=bp(e)?Tn:uo;return t(e)}function xu(e,t,n){t=(n?Ui(e,t,n):t===oe)?1:Ss(t);var r=bp(e)?Pn:so;return r(e,t)}function Cu(e){var t=bp(e)?An:lo;return t(e)}function Su(e){if(null==e)return 0;if(Xu(e))return gs(e)?Q(e):e.length;var t=Af(e);return t==Ye||t==ot?e.size:Vr(e).length}function Ou(e,t,n){var r=bp(e)?_:po;return n&&Ui(e,t,n)&&(t=oe),r(e,xi(t,3))}function Eu(e,t){if("function"!=typeof t)throw new dl(se);return e=Ss(e),function(){if(--e<1)return t.apply(this,arguments)}}function Tu(e,t,n){return t=n?oe:t,t=e&&null==t?e.length:t,hi(e,Ce,oe,oe,oe,oe,t)}function Pu(e,t){var n;if("function"!=typeof t)throw new dl(se);return e=Ss(e),function(){return--e>0&&(n=t.apply(this,arguments)),e>1||(t=oe),n}}function Au(e,t,n){t=n?oe:t;var r=hi(e,be,oe,oe,oe,oe,oe,t);return r.placeholder=Au.placeholder,r}function ju(e,t,n){t=n?oe:t;var r=hi(e,we,oe,oe,oe,oe,oe,t);return r.placeholder=ju.placeholder,r}function Mu(e,t,n){function r(t){var n=p,r=d;return p=d=oe,g=t,v=e.apply(r,n)}function o(e){return g=e,m=Df(u,t),_?r(e):v}function i(e){var n=e-y,r=e-g,o=t-n;return b?Xl(o,h-r):o}function a(e){var n=e-y,r=e-g;return y===oe||n>=t||0>n||b&&r>=h}function u(){var e=sp();return a(e)?s(e):(m=Df(u,i(e)),oe)}function s(e){return m=oe,w&&p?r(e):(p=d=oe,v)}function c(){m!==oe&&Sf(m),g=0,p=y=d=m=oe}function l(){return m===oe?v:s(sp())}function f(){var e=sp(),n=a(e);if(p=arguments,d=this,y=e,n){if(m===oe)return o(y);if(b)return m=Df(u,t),r(y)}return m===oe&&(m=Df(u,t)),v}var p,d,h,v,m,y,g=0,_=!1,b=!1,w=!0;if("function"!=typeof e)throw new dl(se);return t=Es(t)||0,us(n)&&(_=!!n.leading,b="maxWait"in n,h=b?$l(Es(n.maxWait)||0,t):h,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function Du(e){return hi(e,Oe)}function Ru(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new dl(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(Ru.Cache||pn),n}function Nu(e){if("function"!=typeof e)throw new dl(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 Iu(e){return Pu(2,e)}function Uu(e,t){if("function"!=typeof e)throw new dl(se);return t=t===oe?t:Ss(t),ao(e,t)}function Wu(e,t){if("function"!=typeof e)throw new dl(se);return t=t===oe?0:$l(Ss(t),0),ao(function(n){var r=n[t],o=Po(n,0,t);return r&&m(o,r),u(e,this,o)})}function Lu(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new dl(se);return us(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Mu(e,t,{leading:r,maxWait:t,trailing:o})}function Fu(e){return Tu(e,1)}function Bu(e,t){return hp(Eo(t),e)}function Vu(){if(!arguments.length)return[];var e=arguments[0];return bp(e)?e:[e]}function Hu(e){return Bn(e,he)}function zu(e,t){return t="function"==typeof t?t:oe,Bn(e,he,t)}function qu(e){return Bn(e,pe|he)}function Ku(e,t){return t="function"==typeof t?t:oe,Bn(e,pe|he,t)}function Gu(e,t){return null==t||qn(e,t,Hs(t))}function $u(e,t){return e===t||e!==e&&t!==t}function Xu(e){return null!=e&&as(e.length)&&!os(e)}function Ju(e){return ss(e)&&Xu(e)}function Yu(e){return e===!0||e===!1||ss(e)&&pr(e)==qe}function Zu(e){return ss(e)&&1===e.nodeType&&!ms(e)}function Qu(e){if(null==e)return!0;if(Xu(e)&&(bp(e)||"string"==typeof e||"function"==typeof e.splice||kp(e)||Ep(e)||_p(e)))return!e.length;var t=Af(e);if(t==Ye||t==ot)return!e.size;if(Vi(e))return!Vr(e).length;for(var n in e)if(_l.call(e,n))return!1;return!0}function es(e,t){return Dr(e,t)}function ts(e,t,n){n="function"==typeof n?n:oe;var r=n?n(e,t):oe;return r===oe?Dr(e,t,oe,n):!!r}function ns(e){if(!ss(e))return!1;var t=pr(e);return t==$e||t==Ge||"string"==typeof e.message&&"string"==typeof e.name&&!ms(e)}function rs(e){return"number"==typeof e&&ql(e)}function os(e){if(!us(e))return!1;var t=pr(e);return t==Xe||t==Je||t==ze||t==nt}function is(e){return"number"==typeof e&&e==Ss(e)}function as(e){return"number"==typeof e&&e>-1&&e%1==0&&Ne>=e}function us(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ss(e){return null!=e&&"object"==typeof e}function cs(e,t){return e===t||Ir(e,t,Si(t))}function ls(e,t,n){return n="function"==typeof n?n:oe,Ir(e,t,Si(t),n)}function fs(e){return vs(e)&&e!=+e}function ps(e){if(jf(e))throw new ul(ue);return Ur(e)}function ds(e){return null===e}function hs(e){return null==e}function vs(e){return"number"==typeof e||ss(e)&&pr(e)==Ze}function ms(e){if(!ss(e)||pr(e)!=et)return!1;var t=Al(e);if(null===t)return!0;var n=_l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&gl.call(n)==xl}function ys(e){return is(e)&&e>=-Ne&&Ne>=e}function gs(e){return"string"==typeof e||!bp(e)&&ss(e)&&pr(e)==it}function _s(e){return"symbol"==typeof e||ss(e)&&pr(e)==at}function bs(e){return e===oe}function ws(e){return ss(e)&&Af(e)==st}function ks(e){return ss(e)&&pr(e)==ct}function xs(e){if(!e)return[];if(Xu(e))return gs(e)?ee(e):Vo(e);if(Nl&&e[Nl])return q(e[Nl]());var t=Af(e),n=t==Ye?K:t==ot?X:nc;return n(e)}function Cs(e){if(!e)return 0===e?e:0;if(e=Es(e),e===Re||e===-Re){var t=0>e?-1:1;return t*Ie}return e===e?e:0}function Ss(e){var t=Cs(e),n=t%1;return t===t?n?t-n:t:0}function Os(e){return e?Fn(Ss(e),0,We):0}function Es(e){if("number"==typeof e)return e;if(_s(e))return Ue;if(us(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=us(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Ut,"");var n=$t.test(e);return n||Jt.test(e)?or(e.slice(2),n?2:8):Gt.test(e)?Ue:+e}function Ts(e){return Ho(e,zs(e))}function Ps(e){return Fn(Ss(e),-Ne,Ne)}function As(e){return null==e?"":go(e)}function js(e,t){var n=yf(e);return null==t?n:In(n,t)}function Ms(e,t){return k(e,xi(t,3),ir)}function Ds(e,t){return k(e,xi(t,3),ar)}function Rs(e,t){return null==e?e:bf(e,xi(t,3),zs)}function Ns(e,t){return null==e?e:wf(e,xi(t,3),zs)}function Is(e,t){return e&&ir(e,xi(t,3))}function Us(e,t){return e&&ar(e,xi(t,3))}function Ws(e){return null==e?[]:sr(e,Hs(e))}function Ls(e){return null==e?[]:sr(e,zs(e))}function Fs(e,t,n){var r=null==e?oe:cr(e,t);return r===oe?n:r}function Bs(e,t){return null!=e&&Ai(e,t,xr)}function Vs(e,t){return null!=e&&Ai(e,t,Sr)}function Hs(e){return Xu(e)?En(e):Vr(e)}function zs(e){return Xu(e)?En(e,!0):Hr(e)}function qs(e,t){var n={};return t=xi(t,3),ir(e,function(e,r,o){Wn(n,t(e,r,o),e)}),n}function Ks(e,t){var n={};return t=xi(t,3),ir(e,function(e,r,o){Wn(n,r,t(e,r,o))}),n}function Gs(e,t){return $s(e,Nu(xi(t)))}function $s(e,t){if(null==e)return{};var n=v(bi(e),function(e){return[e]});return t=xi(t),Qr(e,n,function(e,n){return t(e,n[0])})}function Xs(e,t,n){t=To(t,e);var r=-1,o=t.length;for(o||(o=1,e=oe);++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Zl();return Xl(e+o*(t-e+rr("1e-"+((o+"").length-1))),t)}return ro(e,t)}function uc(e){return Qp(As(e).toLowerCase())}function sc(e){return e=As(e),e&&e.replace(Zt,br).replace(zn,"")}function cc(e,t,n){e=As(e),t=go(t);var r=e.length;n=n===oe?r:Fn(Ss(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function lc(e){return e=As(e),e&&Et.test(e)?e.replace(St,wr):e}function fc(e){return e=As(e),e&&It.test(e)?e.replace(Nt,"\\$&"):e}function pc(e,t,n){e=As(e),t=Ss(t);var r=t?Q(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ui(Vl(o),n)+e+ui(Bl(o),n)}function dc(e,t,n){e=As(e),t=Ss(t);var r=t?Q(e):0;return t&&t>r?e+ui(t-r,n):e}function hc(e,t,n){e=As(e),t=Ss(t);var r=t?Q(e):0;return t&&t>r?ui(t-r,n)+e:e}function vc(e,t,n){return n||null==t?t=0:t&&(t=+t),Yl(As(e).replace(Wt,""),t||0)}function mc(e,t,n){return t=(n?Ui(e,t,n):t===oe)?1:Ss(t),io(As(e),t)}function yc(){var e=arguments,t=As(e[0]);return 3>e.length?t:t.replace(e[1],e[2])}function gc(e,t,n){return n&&"number"!=typeof n&&Ui(e,t,n)&&(t=n=oe),(n=n===oe?We:n>>>0)?(e=As(e),e&&("string"==typeof t||null!=t&&!Sp(t))&&(t=go(t),!t&&H(e))?Po(ee(e),0,n):e.split(t,n)):[]}function _c(e,t,n){return e=As(e),n=Fn(Ss(n),0,e.length),t=go(t),e.slice(n,n+t.length)==t}function bc(e,t,r){var o=n.templateSettings;r&&Ui(e,t,r)&&(t=oe),e=As(e),t=Mp({},t,o,jn);var i,a,u=Mp({},t.imports,o.imports,jn),s=Hs(u),c=I(u,s),l=0,f=t.interpolate||Qt,p="__p += '",d=fl((t.escape||Qt).source+"|"+f.source+"|"+(f===At?qt:Qt).source+"|"+(t.evaluate||Qt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Jn+"]")+"\n";e.replace(d,function(t,n,r,o,u,s){return r||(r=o),p+=e.slice(l,s).replace(en,B),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 v=t.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(wt,""):p).replace(kt,"$1").replace(xt,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"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 m=ed(function(){return sl(s,h+"return "+p).apply(oe,c)});if(m.source=p,ns(m))throw m;return m}function wc(e){return As(e).toLowerCase()}function kc(e){return As(e).toUpperCase()}function xc(e,t,n){if(e=As(e),e&&(n||t===oe))return e.replace(Ut,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=ee(t),i=W(r,o),a=L(r,o)+1;return Po(r,i,a).join("")}function Cc(e,t,n){if(e=As(e),e&&(n||t===oe))return e.replace(Lt,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=L(r,ee(t))+1;return Po(r,0,o).join("")}function Sc(e,t,n){if(e=As(e),e&&(n||t===oe))return e.replace(Wt,"");if(!e||!(t=go(t)))return e;var r=ee(e),o=W(r,ee(t));return Po(r,o).join("")}function Oc(e,t){var n=Ee,r=Te;if(us(t)){var o="separator"in t?t.separator:o;n="length"in t?Ss(t.length):n,r="omission"in t?go(t.omission):r}e=As(e);var i=e.length;if(H(e)){var a=ee(e);i=a.length}if(n>=i)return e;var u=n-Q(r);if(1>u)return r;var s=a?Po(a,0,u).join(""):e.slice(0,u);if(o===oe)return s+r;if(a&&(u+=s.length-u),Sp(o)){if(e.slice(u).search(o)){var c,l=s;for(o.global||(o=fl(o.source,As(Kt.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(go(o),u)!=u){var p=s.lastIndexOf(o);p>-1&&(s=s.slice(0,p))}return s+r}function Ec(e){return e=As(e),e&&Ot.test(e)?e.replace(Ct,kr):e}function Tc(e,t,n){return e=As(e),t=n?oe:t,t===oe?z(e)?re(e):w(e):e.match(t)||[]}function Pc(e){var t=null==e?0:e.length,n=xi();return e=t?v(e,function(e){if("function"!=typeof e[1])throw new dl(se);return[n(e[0]),e[1]]}):[],ao(function(n){for(var r=-1;++re||e>Ne)return[];var n=We,r=Xl(e,We);t=xi(t),e-=We;for(var o=D(r,t);++n1?e[t-1]:oe;return n="function"==typeof n?(e.pop(),n):oe,Ja(e,n)}),Qf=gi(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Ln(t,e)};return 1>=t&&!this.__actions__.length&&r instanceof b&&Ii(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:tu,args:[i],thisArg:oe}),new o(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(oe),e})):this.thru(i)}),ep=Ko(function(e,t,n){_l.call(e,n)?++e[n]:Wn(e,n,1)}),tp=ti(ha),np=ti(va),rp=Ko(function(e,t,n){_l.call(e,n)?e[n].push(t):Wn(e,n,[t])}),op=ao(function(e,t,n){var r=-1,o="function"==typeof t,i=Xu(e)?il(e.length):[];return gf(e,function(e){i[++r]=o?u(t,e,n):Pr(e,t,n)}),i}),ip=Ko(function(e,t,n){Wn(e,n,t)}),ap=Ko(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),up=ao(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ui(e,t[0],t[1])?t=[]:n>2&&Ui(t[0],t[1],t[2])&&(t=[t[0]]),Yr(e,nr(t,1),[])}),sp=Ll||function(){return ur.Date.now()},cp=ao(function(e,t,n){var r=ye;if(n.length){var o=$(n,ki(cp));r|=ke}return hi(e,r,t,n,o)}),lp=ao(function(e,t,n){var r=ye|ge;if(n.length){var o=$(n,ki(lp));r|=ke}return hi(t,r,e,n,o)}),fp=ao(function(e,t){return Kn(e,1,t)}),pp=ao(function(e,t,n){return Kn(e,Es(t)||0,n)});Ru.Cache=pn;var dp=Cf(function(e,t){t=1==t.length&&bp(t[0])?v(t[0],N(xi())):v(nr(t,1),N(xi()));var n=t.length;return ao(function(r){for(var o=-1,i=Xl(r.length,n);++o=t}),_p=Ar(function(){return arguments}())?Ar:function(e){return ss(e)&&_l.call(e,"callee")&&!Ml.call(e,"callee")},bp=il.isArray,wp=dr?N(dr):jr,kp=zl||zc,xp=hr?N(hr):Mr,Cp=vr?N(vr):Nr,Sp=mr?N(mr):Wr,Op=yr?N(yr):Lr,Ep=gr?N(gr):Fr,Tp=li(zr),Pp=li(function(e,t){return t>=e}),Ap=Go(function(e,t){if(Vi(t)||Xu(t))return Ho(t,Hs(t),e),oe;for(var n in t)_l.call(t,n)&&Dn(e,n,t[n])}),jp=Go(function(e,t){Ho(t,zs(t),e)}),Mp=Go(function(e,t,n,r){Ho(t,zs(t),e,r)}),Dp=Go(function(e,t,n,r){Ho(t,Hs(t),e,r)}),Rp=gi(Ln),Np=ao(function(e){return e.push(oe,jn),u(Mp,oe,e)}),Ip=ao(function(e){return e.push(oe,Gi),u(Bp,oe,e)}),Up=oi(function(e,t,n){e[t]=n},jc(Dc)),Wp=oi(function(e,t,n){_l.call(e,t)?e[t].push(n):e[t]=[n]},xi),Lp=ao(Pr),Fp=Go(function(e,t,n){$r(e,t,n)}),Bp=Go(function(e,t,n,r){$r(e,t,n,r)}),Vp=gi(function(e,t){var n={};if(null==e)return n;var r=!1;t=v(t,function(t){return t=To(t,e),r||(r=t.length>1),t}),Ho(e,bi(e),n),r&&(n=Bn(n,pe|de|he));for(var o=t.length;o--;)bo(n,t[o]);return n}),Hp=gi(function(e,t){return null==e?{}:Zr(e,t)}),zp=di(Hs),qp=di(zs),Kp=Zo(function(e,t,n){return t=t.toLowerCase(),e+(n?uc(t):t)}),Gp=Zo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),$p=Zo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Xp=Yo("toLowerCase"),Jp=Zo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Yp=Zo(function(e,t,n){return e+(n?" ":"")+Qp(t)}),Zp=Zo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Qp=Yo("toUpperCase"),ed=ao(function(e,t){try{return u(e,oe,t)}catch(e){return ns(e)?e:new ul(e)}}),td=gi(function(e,t){return c(t,function(t){t=na(t),Wn(e,t,cp(e[t],e))}),e}),nd=ni(),rd=ni(!0),od=ao(function(e,t){return function(n){return Pr(n,e,t)}}),id=ao(function(e,t){return function(n){return Pr(e,n,t)}}),ad=ai(v),ud=ai(f),sd=ai(_),cd=ci(),ld=ci(!0),fd=ii(function(e,t){return e+t},0),pd=pi("ceil"),dd=ii(function(e,t){return e/t},1),hd=pi("floor"),vd=ii(function(e,t){return e*t},1),md=pi("round"),yd=ii(function(e,t){return e-t},0);return n.after=Eu,n.ary=Tu,n.assign=Ap,n.assignIn=jp,n.assignInWith=Mp,n.assignWith=Dp,n.at=Rp,n.before=Pu,n.bind=cp,n.bindAll=td,n.bindKey=lp,n.castArray=Vu,n.chain=Qa,n.chunk=aa,n.compact=ua,n.concat=sa,n.cond=Pc,n.conforms=Ac,n.constant=jc,n.countBy=ep,n.create=js,n.curry=Au,n.curryRight=ju,n.debounce=Mu,n.defaults=Np,n.defaultsDeep=Ip,n.defer=fp,n.delay=pp,n.difference=If,n.differenceBy=Uf,n.differenceWith=Wf,n.drop=ca,n.dropRight=la,n.dropRightWhile=fa,n.dropWhile=pa,n.fill=da,n.filter=lu,n.flatMap=fu,n.flatMapDeep=pu,n.flatMapDepth=du,n.flatten=ma,n.flattenDeep=ya,n.flattenDepth=ga,n.flip=Du,n.flow=nd,n.flowRight=rd,n.fromPairs=_a,n.functions=Ws,n.functionsIn=Ls,n.groupBy=rp,n.initial=ka,n.intersection=Lf,n.intersectionBy=Ff,n.intersectionWith=Bf,n.invert=Up,n.invertBy=Wp,n.invokeMap=op,n.iteratee=Rc,n.keyBy=ip,n.keys=Hs,n.keysIn=zs,n.map=yu,n.mapKeys=qs,n.mapValues=Ks,n.matches=Nc,n.matchesProperty=Ic,n.memoize=Ru,n.merge=Fp,n.mergeWith=Bp,n.method=od,n.methodOf=id,n.mixin=Uc,n.negate=Nu,n.nthArg=Fc,n.omit=Vp,n.omitBy=Gs,n.once=Iu,n.orderBy=gu,n.over=ad,n.overArgs=dp,n.overEvery=ud,n.overSome=sd,n.partial=hp,n.partialRight=vp,n.partition=ap,n.pick=Hp,n.pickBy=$s,n.property=Bc,n.propertyOf=Vc,n.pull=Vf,n.pullAll=Ea,n.pullAllBy=Ta,n.pullAllWith=Pa,n.pullAt=Hf,n.range=cd,n.rangeRight=ld,n.rearg=mp,n.reject=wu,n.remove=Aa,n.rest=Uu,n.reverse=ja,n.sampleSize=xu,n.set=Js,n.setWith=Ys,n.shuffle=Cu,n.slice=Ma,n.sortBy=up,n.sortedUniq=La,n.sortedUniqBy=Fa,n.split=gc,n.spread=Wu,n.tail=Ba,n.take=Va,n.takeRight=Ha,n.takeRightWhile=za,n.takeWhile=qa,n.tap=eu,n.throttle=Lu,n.thru=tu,n.toArray=xs,n.toPairs=zp,n.toPairsIn=qp,n.toPath=Xc,n.toPlainObject=Ts,n.transform=Zs,n.unary=Fu,n.union=zf,n.unionBy=qf,n.unionWith=Kf,n.uniq=Ka,n.uniqBy=Ga,n.uniqWith=$a,n.unset=Qs,n.unzip=Xa,n.unzipWith=Ja,n.update=ec,n.updateWith=tc,n.values=nc,n.valuesIn=rc,n.without=Gf,n.words=Tc,n.wrap=Bu,n.xor=$f,n.xorBy=Xf,n.xorWith=Jf,n.zip=Yf,n.zipObject=Ya,n.zipObjectDeep=Za,n.zipWith=Zf,n.entries=zp,n.entriesIn=qp,n.extend=jp,n.extendWith=Mp,Uc(n,n),n.add=fd,n.attempt=ed,n.camelCase=Kp,n.capitalize=uc,n.ceil=pd,n.clamp=oc,n.clone=Hu,n.cloneDeep=qu,n.cloneDeepWith=Ku,n.cloneWith=zu,n.conformsTo=Gu,n.deburr=sc,n.defaultTo=Mc,n.divide=dd,n.endsWith=cc,n.eq=$u,n.escape=lc,n.escapeRegExp=fc,n.every=cu,n.find=tp,n.findIndex=ha,n.findKey=Ms,n.findLast=np,n.findLastIndex=va,n.findLastKey=Ds,n.floor=hd,n.forEach=hu,n.forEachRight=vu,n.forIn=Rs,n.forInRight=Ns,n.forOwn=Is,n.forOwnRight=Us,n.get=Fs,n.gt=yp,n.gte=gp,n.has=Bs,n.hasIn=Vs,n.head=ba,n.identity=Dc,n.includes=mu,n.indexOf=wa,n.inRange=ic,n.invoke=Lp,n.isArguments=_p,n.isArray=bp,n.isArrayBuffer=wp,n.isArrayLike=Xu,n.isArrayLikeObject=Ju,n.isBoolean=Yu,n.isBuffer=kp,n.isDate=xp,n.isElement=Zu,n.isEmpty=Qu,n.isEqual=es,n.isEqualWith=ts,n.isError=ns,n.isFinite=rs,n.isFunction=os,n.isInteger=is,n.isLength=as,n.isMap=Cp,n.isMatch=cs,n.isMatchWith=ls,n.isNaN=fs,n.isNative=ps,n.isNil=hs,n.isNull=ds,n.isNumber=vs,n.isObject=us,n.isObjectLike=ss,n.isPlainObject=ms,n.isRegExp=Sp,n.isSafeInteger=ys,n.isSet=Op,n.isString=gs,n.isSymbol=_s,n.isTypedArray=Ep,n.isUndefined=bs,n.isWeakMap=ws,n.isWeakSet=ks,n.join=xa,n.kebabCase=Gp,n.last=Ca,n.lastIndexOf=Sa,n.lowerCase=$p,n.lowerFirst=Xp,n.lt=Tp,n.lte=Pp,n.max=Yc,n.maxBy=Zc,n.mean=Qc,n.meanBy=el,n.min=tl,n.minBy=nl,n.stubArray=Hc,n.stubFalse=zc,n.stubObject=qc,n.stubString=Kc,n.stubTrue=Gc,n.multiply=vd,n.nth=Oa,n.noConflict=Wc,n.noop=Lc,n.now=sp,n.pad=pc,n.padEnd=dc,n.padStart=hc,n.parseInt=vc,n.random=ac,n.reduce=_u,n.reduceRight=bu,n.repeat=mc,n.replace=yc,n.result=Xs,n.round=md,n.runInContext=e,n.sample=ku,n.size=Su,n.snakeCase=Jp,n.some=Ou,n.sortedIndex=Da,n.sortedIndexBy=Ra,n.sortedIndexOf=Na,n.sortedLastIndex=Ia,n.sortedLastIndexBy=Ua,n.sortedLastIndexOf=Wa,n.startCase=Yp,n.startsWith=_c,n.subtract=yd,n.sum=rl,n.sumBy=ol,n.template=bc,n.times=$c,n.toFinite=Cs,n.toInteger=Ss,n.toLength=Os,n.toLower=wc,n.toNumber=Es,n.toSafeInteger=Ps,n.toString=As,n.toUpper=kc,n.trim=xc,n.trimEnd=Cc,n.trimStart=Sc,n.truncate=Oc,n.unescape=Ec,n.uniqueId=Jc,n.upperCase=Zp,n.upperFirst=Qp,n.each=hu,n.eachRight=vu,n.first=ba,Uc(n,function(){var e={};return ir(n,function(t,r){_l.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ie,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),c(["drop","take"],function(e,t){b.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new b(this);n=n===oe?1:$l(Ss(n),0);var o=this.clone();return r?o.__takeCount__=Xl(n,o.__takeCount__):o.__views__.push({size:Xl(n,We),type:e+(0>o.__dir__?"Right":"")}),o},b.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),c(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==je||n==De;b.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:xi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),c(["head","last"],function(e,t){var n="take"+(t?"Right":"");b.prototype[e]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");b.prototype[e]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Dc)},b.prototype.find=function(e){return this.filter(e).head()},b.prototype.findLast=function(e){return this.reverse().find(e)},b.prototype.invokeMap=ao(function(e,t){return"function"==typeof e?new b(this):this.map(function(n){return Pr(n,e,t)})}),b.prototype.reject=function(e){return this.filter(Nu(xi(e)))},b.prototype.slice=function(e,t){e=Ss(e);var n=this;return n.__filtered__&&(e>0||0>t)?new b(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==oe&&(t=Ss(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},b.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},b.prototype.toArray=function(){return this.take(We)},ir(b.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=n[i?"take"+("last"==t?"Right":""):t],u=i||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof b,l=s[0],f=c||bp(t),p=function(e){var t=a.apply(n,m([e],s));return i&&d?t[0]:t};f&&r&&"function"==typeof l&&1!=l.length&&(c=f=!1);var d=this.__chain__,h=!!this.__actions__.length,v=u&&!d,y=c&&!h;if(!u&&f){t=y?t:new b(this);var g=e.apply(t,s);return g.__actions__.push({func:tu,args:[p],thisArg:oe}),new o(g,d)}return v&&y?e.apply(this,s):(g=this.thru(p),v?i?g.value()[0]:g.value():g)})}),c(["pop","push","shift","sort","splice","unshift"],function(e){var t=hl[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var n=this.value();return t.apply(bp(n)?n:[],e)}return this[r](function(n){return t.apply(bp(n)?n:[],e)})}}),ir(b.prototype,function(e,t){var r=n[t];if(r){var o=r.name+"",i=sf[o]||(sf[o]=[]);i.push({name:t,func:r})}}),sf[ri(oe,ge).name]=[{name:"wrapper",func:oe}],b.prototype.clone=P,b.prototype.reverse=Y,b.prototype.value=te,n.prototype.at=Qf,n.prototype.chain=nu,n.prototype.commit=ru,n.prototype.next=ou,n.prototype.plant=au,n.prototype.reverse=uu,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=su,n.prototype.first=n.prototype.head,Nl&&(n.prototype[Nl]=iu),n},Cr=xr();ur._=Cr,r=function(){return Cr}.call(t,n,t,o),!(r!==oe&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(37)(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;var i=n(59),a=o(i),u=n(16),s=o(u),c=n(26),l=r(c),f=n(27),p=n(17),d=n(89),h=new a.default,v=function(){return s.default.getState()},m=function(){return l.captureSelector(v())},y=function(){return(0,p.mapKeys)(m(),function(e,t){return t+"Capture"})},g=s.default.subscribe.bind(s.default),_=(0,d.subcribeByWatching)(v,g),b=function(e,t){return function(n){n&&h.emit(e+t,m()[e])}},w=function(e,t){return function(n){return _((0,f.createValuesHashToValueSelector)(e,n),b(n,t))}},k=w(l.isThereAValidAndConfirmedCapture,"Capture");k("document"),k("face"),_(l.allCaptured,function(e){e&&h.emit("complete",y())}),_(function(e){return e.globals.authenticated},function(e){e&&h.emit("ready")}),h.getCaptures=y,t.default=h},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(e){o=!0,i=e}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(36),i=n(17),a=n(27),u=function(e){return e.captures},s=function(e){return(0,a.createSelectorWhichMapsToHash)(u,e)},c=(t.isThereAValidCapture=s(function(e){return e.some(function(e){return e.valid})}),t.isThereAValidAndConfirmedCapture=s(function(e){return e.some(function(e){return e.valid&&e.confirmed})})),l=t.validCaptures=s(function(e){return e.filter(function(e){return e.valid; +})});t.unprocessedCaptures=s(function(e){return e.filter(function(e){return!e.processed})}),t.hasUnprocessedCaptures=s(function(e){return e.some(function(e){return!e.processed})}),t.areAllCapturesInvalid=s(function(e){return e.length>0&&e.every(function(e){return e.processed&&!e.valid})}),t.allCaptured=(0,o.createSelector)(c,function(e){return(0,i.every)(e,function(e){return e})}),t.captureSelector=(0,o.createSelector)(l,function(e){return(0,i.mapValues)(e,function(e){var t=r(e,1),n=t[0];return n})})},function(e,t,n){"use strict";t.__esModule=!0,t.createValuesHashToValueSelector=t.createSelectorWhichMapsToHash=void 0;var r=n(17),o=n(36);t.createSelectorWhichMapsToHash=function(e,t){return(0,o.createSelector)(e,function(e){return(0,r.mapValues)(e,t)})},t.createValuesHashToValueSelector=function(e,t){return(0,o.createSelector)(e,function(e){return e[t]})}},function(e,t,n){!function(t,r){e.exports=r(n(2))}(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"),v=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){e.preventDefault(),e.stopPropagation();try{e.dataTransfer.dropEffect="copy"}catch(e){}return!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 e(){var e=this.props.onFileDialogCancel,t=this.fileInputEl,n=this.isFileDialogActive;e&&n&&setTimeout(function(){var r=t.files;r.length||(n=!1,e())},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,v=l.rejectStyle,m=l.style,y=o(l,["activeStyle","className","rejectStyle","style"]),g=this.state,_=g.isDragActive,b=g.isDragReject;p=p||"",_&&r&&(p+=" "+r),b&&c&&(p+=" "+c),p||m||f||v||(m={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},f={borderStyle:"solid",backgroundColor:"#eee"},v={borderStyle:"solid",backgroundColor:"#ffdddd"});var w=void 0;w=f&&_?s({},m,f):v&&b?s({},m,v):s({},m);var k={accept:n,type:"file",style:{display:"none"},multiple:h&&a,ref:function(t){return e.fileInputEl=t},onChange:this.onDrop};u&&u.length&&(k.name=u);var x=["acceptedFiles","disablePreview","disableClick","onDropAccepted","onDropRejected","onFileDialogCancel","maxSize","minSize"],C=s({},y);return x.forEach(function(e){return delete C[e]}),d.default.createElement("div",s({className:p,style:w},C,{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,k)))}}]),t}(d.default.Component);v.defaultProps={disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},v.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=v,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,v=e&c.P,m=h?r:e&c.S?r[t]||(r[t]={}):(r[t]||{})[u],y=h?o:o[t]||(o[t]={});h&&(n=t);for(l in n)f=!(e&c.F)&&m&&l in m,p=(f?m:n)[l],d=e&c.B&&f?s(p,r):v&&"function"==typeof p?s(Function.call,p):p,m&&!f&&a(m,l,p),y[l]!=p&&i(y,l,d),v&&((y[u]||(y[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(e){}}return!0}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){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";/*! * Adapted from jQuery UI core * * http://jqueryui.com @@ -17,13 +17,14 @@ function t(e,n){i(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).c * * http://api.jqueryui.com/category/ui-core/ */ -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(108),i=r(o),a=n(109),u=r(a);t.Provider=i.default,t.connect=u.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(2);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(e){}}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(){y===m&&(y=m.slice())}function i(){return v}function u(e){if("function"!=typeof e)throw Error("Expected listener to be a function.");var t=!0;return r(),y.push(e),function(){if(t){t=!1,r();var n=y.indexOf(e);y.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(g)throw Error("Reducers may not dispatch actions.");try{g=!0,v=h(v,e)}finally{g=!1}for(var t=m=y,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,v=t,m=[],y=m,g=!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(121),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(e){}}t.__esModule=!0,t.default=n},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){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},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(e){console.log(e)}}t.__esModule=!0,t.default=i;var a=n(36),u=r(a),s=n(11),c=n(43),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(95),s=o(u),c=n(17),l=o(c),f=n(6),p=r(f),d=n(11),h=n(113),v=o(h),m=d.actions.setWebSocketError,y=d.actions.setAuthenticated,g=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 v.default(r);o.onerror=function(e){l.default.emit("onError"),m(!0)},o.onopen=function(){t.socket=o,t.onMessage(),y(!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=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.subcribeByWatching=void 0;var o=n(114),i=r(o),a=n(61),u=r(a);t.subcribeByWatching=function(e,t){return function(n,r){var o=(0,i.default)(function(){return n(e())},null,u.default);t(o(r))}}},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(6),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(6),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,v=o.slice(0,f-1);return u([p].concat(i(v)));case l.CAPTURE_VALIDATE:var m=c({valid:n.valid,processed:!0});return u(m);case l.CAPTURE_CONFIRM:var y=c({confirmed:!0});return u(y);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(6),l=o(c),f=n(10),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(10),u=o(a),s=n(6),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(8),i=n(40),a=n(41),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,o,i;!function(a,u){o=[e,t,n(99),n(119)],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),i=o.default.config("https://6e3dc0335efc49889187ec90288a84fd@sentry.io/109946"),a="onfidojssdkwoopra",u=new window.WoopraTracker(a),s=function(){u.init(),u.config({domain:"onfido-js-sdk.com",cookie_name:"onfido-js-sdk-woopra",cookie_domain:location.hostname,referer:location.href}),o.default.TraceKit.collectWindowErrors=!0},c=function(){u.track(),i.install()};t.default={setUp:s,track:c},e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(56),n(54),n(48),n(49)],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(r),c=u(o),l=u(i),f=u(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,t){var r=t.type,o=t.options,i=p({},o,e);switch(r){case"document":return[(0,n.h)(c.default,p({method:"document"},i)),(0,n.h)(l.default,p({method:"document"},i,{autoCapture:!0}))];case"face":return(0,n.h)(l.default,p({method:"face"},i,{autoCapture:!1}));case"welcome":return(0,n.h)(s.default,i);case"complete":return(0,n.h)(f.default,i);default:return(0,n.h)("div",null,'Step "',r,'" does not exist')}},h=function(e){return{type:e}},v=function(e){return"object"==typeof e},m=function(e){return v(e)?e:h(e)},y=function(e,t){return d(e,m(t))},g=function(e){var t;return(t=[]).concat.apply(t,e)},_=function(e,t){return g(t.map(function(t){return y(e,t)}))};t.default={stepsToComponents:_},e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(9),n(8),n(27),n(7),n(45),n(52)],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 v({unprocessedCaptures:w(e),hasUnprocessedCaptures:y(e),areAllCapturesInvalid:g(e),isThereAValidCapture:_(e),validCaptures:b(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)),v=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},m=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=v({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"))},y=u.selectors.hasUnprocessedCaptures,g=u.selectors.areAllCapturesInvalid,_=u.selectors.isThereAValidCapture,b=u.selectors.validCaptures,w=u.selectors.unprocessedCaptures;t.default=(0,a.connect)(p,d)(m),e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(112),n(60),n(9),n(7),n(25),n(14),n(21),n(15),n(50),n(5),n(67)],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 v(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 g(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 _=v(o),b=v(i),w=(v(a),v(s)),k=v(p),x=v(h),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},S=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)(k.default,{ref:r}),(0,n.h)(l.FaceOverlay,null))}})},O=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})}})},E=function(e){var t=e.onUploadFallback;return(0,n.h)(w.default,{onDrop:function(e){var n=e[0];return t(n)},className:x.default.uploadFallback,multiple:!1},(0,n.h)("button",null," Having problems? Click here to upload a file"))},T=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:x.default["video-overlay"]},(0,n.h)(S,{method:t,countDownRef:a}),(0,n.h)(_.default,C({className:x.default.video,audio:!1},{onUserMedia:o,ref:u})),(0,n.h)(E,{onUploadFallback:r})),(0,n.h)(O,{method:t,faceCaptureClick:i}))},P=function(e){function t(){var r,o,i;m(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return r=o=y(this,e.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 b.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)(T,{method:t,onUserMedia:r,onUploadFallback:i,faceCaptureClick:o.capture.once,countDownRef:function(e){o.countdown=e},webcamRef:function(e){o.webcam=e}})},i=r,y(o,i)}return g(t,e),t.prototype.webcamMounted=function(){var e=this,t=this.props.autoCapture;t&&this.capture.start(),u.events.on("onBeforeClose",function(){e.capture.stop(),(0,r.route)("/",!0)})},t.prototype.webcamUnmounted=function(){this.capture.stop()},t.prototype.componentDidMount=function(){this.webcamMounted()},t.prototype.componentWillUnmount=function(){this.webcamUnmounted()},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(7),n(9),n(58),n(15),n(47),n(20),n(21),n(14),n(57),n(22),n(68),n(5)],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 v(e){return e&&e.__esModule?e:{default: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 _(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=v(o),w=v(i),k=v(u),x=v(s),C=v(f),S=v(p),O=v(d),E=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=function(e){function t(n){y(this,t);var r=g(this,e.call(this,n));return r.onUserMedia=function(){r.setState({hasWebcam:!0,hasWebcamPermission:!0,DetectRTCLoading:!1})},r.validateCapture=function(e,t){var n=r.props,o=n.actions,i=n.method;o.validateCapture({id:e,valid:t,method:i})},r.maxAutomaticCaptures=3,r.handleMessages=function(e){var t=e.is_document;r.validateCapture(e.id,t)},r.handleImage=function(e,t){if(!e)return void console.warn("Cannot handle a null image");var n=r.createPayload(t,e);(0,h.functionalSwitch)(r.props.method,{document:function(){return r.handleDocument(n)},face:function(){return r.handleFace(n)}})},r.createPayload=function(e,t){return{id:(0,w.default)(),messageType:r.method,image:e,imageLossy:t}},r.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})},r.onUploadFallback=function(e){r.setState({uploadFallback:!0}),r.deleteCaptures(),r.onImageFileSelected(e)},r.onImageFileSelected=function(e){(0,a.fileToBase64)(e,r.handleImage,r.handleImageError)},r.handleImageError=function(){r.setState({fileTypeError:!0})},r.deleteCaptures=function(){var e=r.props,t=e.method,n=e.actions.deleteCaptures;n({method:t})},r.errorType=function(e){var t=e.areAllCapturesInvalid,n=e.method;return r.state.fileTypeError?"INVALID_TYPE":t[n]?"INVALID_CAPTURE":null},r.state={hasWebcamPermission:!1,hasWebcam:S.default.hasWebcam,DetectRTCLoading:!0,uploadFallback:!1},r}return _(t,e),t.prototype.componentDidMount=function(){var e=this;r.events.on("onMessage",function(t){return e.handleMessages(t)}),this.checkWebcamSupport()},t.prototype.componentWillUnmount=function(){this.setState({uploadFallback:!1})},t.prototype.componentWillReceiveProps=function(e){var t=e.isThereAValidCapture,n=e.method,r=e.hasUnprocessedCaptures;t[n]&&this.setState({uploadFallback:!1}),r[n]&&this.setState({fileTypeError:!1})},t.prototype.checkWebcamSupport=function(){var e=this;S.default.load(function(t){e.setState({DetectRTCLoading:!1,hasWebcam:S.default.hasWebcam})})},t.prototype.supportsWebcam=function(){var e=S.default.isGetUserMediaSupported&&this.state.DetectRTCLoading;return e||this.state.hasWebcam},t.prototype.createCapture=function(e){var t=this.props,n=t.actions,r=t.method;n.createCapture({method:r,capture:e,maxCaptures:this.maxAutomaticCaptures})},t.prototype.handleDocument=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=E({},e,{documentType:o}),n.sendMessage(this.createSocketPayload(e)),void this.createCapture(e))},t.prototype.handleFace=function(e){this.createCapture(E({},e,{valid:!0}))},t.prototype.render=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()&&C.default,c=r[t];return(0,n.h)(j,E({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=T;var P=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})}})},A=(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)(P,{method:t,useCapture:r}),r?(0,n.h)(k.default,E({method:t},o)):(0,n.h)(a.Uploader,E({method:t},o)))}),j=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={},t[O.default.camera]=o&&!i,t[O.default.uploader]=!o&&!i,t))},i?(0,n.h)(x.default,E({method:r},a)):(0,n.h)(A,E({method:r,useCapture:o},a)))};T.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(3),n(4),n(69)],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(71)],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(3),n(73)],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=[{value:"identity",label:"Identity Card",icon:"icon-identity"},{value:"passport",label:"Passport",icon:"icon-passport"},{value:"license",label:"Driver's License",icon:"icon-license"}],f=function(e){function t(){var 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.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),t.prototype.render=function(){var e=this;return(0,n.h)("div",{class:c.default.selector},l.map(function(t){return e.renderOption(t)}))},t}(n.Component);t.default=f,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(74)],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(7),n(76),n(107),n(1),n(5)],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),v=u(o),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))},_=(d=p=function(e){function t(r){c(this,t);var o=l(this,e.call(this,r));return o.openModal=function(){n.events.emit("onBeforeOpen"),o.setState({isOpen:!0})},o.onAfterOpen=function(){return n.events.emit("onOpen")},o.onRequestClose=function(){console.log("onRequestClose"),n.events.emit("onBeforeClose"),o.setState({isOpen:!1})},o.onAfterClose=function(){return n.events.emit("onClose")},o.state={isOpen:!1},o}return f(t,e),t.prototype.componentDidMount=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")},t.prototype.componentWillUnmount=function(){var e=this.state.button;e&&e.removeEventListener("click",this.openModal)},t.prototype.render=function(){return(0,i.h)(v.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)(_,r,n):(0,i.h)(g,null,n)},w=function(e){function t(){var 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.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),t.prototype.componentDidMount=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(9),n(4),n(77),n(51),n(5)],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(78)],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(3),n(4),n(80)],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||w)/w,(c||k)/k);e>1&&(w*=e,k*=e)}function o(){var e=Math.min((a||w)/w,(u||k)/k);1>e&&(w*=e,k*=e)}t=t||{};var a,u,s,c,l,f,p,d,h,v,m,y=document.createElement("canvas"),g=e.getContext||i.hasCanvasOption(t)&&y.getContext,_=e.naturalWidth||e.width,b=e.naturalHeight||e.height,w=_,k=b;if(g&&(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=_-l-t.right)):l=_-p-(t.right||0),t.sourceHeight?(f=t.sourceHeight,void 0!==t.bottom&&void 0===t.top&&(d=b-f-t.bottom)):f=b-d-(t.bottom||0),w=l,k=f),a=t.maxWidth,u=t.maxHeight,s=t.minWidth,c=t.minHeight,g&&a&&u&&t.crop?(w=a,k=u,m=l/f-a/u,0>m?(f=u*l/a,void 0===t.top&&void 0===t.bottom&&(d=(b-f)/2)):m>0&&(l=a*f/u,void 0===t.left&&void 0===t.right&&(p=(_-l)/2))):((t.contain||t.cover)&&(s=a=a||s,c=u=u||c),t.cover?(o(),r()):(r(),o())),g){if(h=t.pixelRatio,h>1&&(y.style.width=w+"px",y.style.height=k+"px",w*=h,k*=h,y.getContext("2d").scale(h,h)),v=t.downsamplingRatio,v>0&&1>v&&l>w&&f>k)for(;l*v>w;)y.width=l*v,y.height=f*v,i.renderImageToCanvas(y,e,p,d,l,f,0,0,y.width,y.height),l=y.width,f=y.height,e=document.createElement("canvas"),e.width=l,e.height=f,i.renderImageToCanvas(e,y,0,0,l,f,0,0,l,f);return y.width=w,y.height=k,i.transformCoordinates(y,t),i.renderImageToCanvas(y,e,p,d,l,f,0,0,w,k)}return e.width=w,e.height=k,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){function r(e){return null===e||void 0===e}function o(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&"function"==typeof e.copy&&"function"==typeof e.slice&&(0>=e.length||"number"==typeof e[0])}function i(e,t,n){var i,l;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(s(e))return!!s(t)&&(e=a.call(e),t=a.call(t),c(e,t,n));if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(i=0;e.length>i;i++)if(e[i]!==t[i])return!1;return!0}try{var f=u(e),p=u(t)}catch(e){return!1}if(f.length!=p.length)return!1;for(f.sort(),p.sort(),i=f.length-1;i>=0;i--)if(f[i]!=p[i])return!1;for(i=f.length-1;i>=0;i--)if(l=f[i],!c(e[l],t[l],n))return!1;return typeof e==typeof t}var a=Array.prototype.slice,u=n(63),s=n(62),c=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:i(e,t,n))}},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=o?n:r,t.supported=n,t.unsupported=r},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},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(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),e.verboseMemoryLeak&&(this.verboseMemoryLeak=e.verboseMemoryLeak),this.wildcard&&(this.listenerTree={})):this._events.maxListeners=p}function u(e,t){var n="(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.";this.verboseMemoryLeak?(n+=" Event name: %s.",console.error(n,e,t)):console.error(n,e),console.trace&&console.trace()}function s(e){this._events={},this.newListener=!1,this.verboseMemoryLeak=!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],v=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&&"*"===v,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===v?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===v?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.call(this,i._listeners.length,a))):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.call(this,this._events[e].length,e))):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){var r;/*! +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(111),i=r(o),a=n(112),u=r(a);t.Provider=i.default,t.connect=u.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(2);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(e){}}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(){y===m&&(y=m.slice())}function i(){return v}function u(e){if("function"!=typeof e)throw Error("Expected listener to be a function.");var t=!0;return r(),y.push(e),function(){if(t){t=!1,r();var n=y.indexOf(e);y.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(g)throw Error("Reducers may not dispatch actions.");try{g=!0,v=h(v,e)}finally{g=!1}for(var t=m=y,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,v=t,m=[],y=m,g=!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(14),a=r(i),u=n(125),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(e){}}t.__esModule=!0,t.default=n},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){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(102),n(122)],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),i=o.default.config("https://6e3dc0335efc49889187ec90288a84fd@sentry.io/109946"),a="onfidojssdkwoopra",u=new window.WoopraTracker(a),s=function(){u.init(),u.config({domain:"onfido-js-sdk.com",cookie_name:"onfido-js-sdk-woopra",cookie_domain:location.hostname,referer:location.href}),o.default.TraceKit.collectWindowErrors=!0},c=function(){u.track(),i.install()};t.default={setUp:s,track:c},e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(50),n(48),n(42),n(43)],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(r),c=u(o),l=u(i),f=u(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,t){var r=t.type,o=t.options,i=p({},o,e);switch(r){case"document":return[(0,n.h)(c.default,p({method:"document"},i)),(0,n.h)(l.default,p({method:"document"},i,{autoCapture:!0}))];case"face":return(0,n.h)(l.default,p({method:"face"},i,{autoCapture:!1}));case"welcome":return(0,n.h)(s.default,i);case"complete":return(0,n.h)(f.default,i);default:return(0,n.h)("div",null,'Step "',r,'" does not exist')}},h=function(e){return{type:e}},v=function(e){return"object"==typeof e},m=function(e){return v(e)?e:h(e)},y=function(e,t){return d(e,m(t))},g=function(e){var t;return(t=[]).concat.apply(t,e)},_=function(e,t){return g(t.map(function(t){return y(e,t)}))};t.default={stepsToComponents:_},e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(9),n(8),n(30),n(7),n(39),n(46)],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 v({unprocessedCaptures:w(e),hasUnprocessedCaptures:y(e),areAllCapturesInvalid:g(e),isThereAValidCapture:_(e),validCaptures:b(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)),v=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},m=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=v({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"))},y=u.selectors.hasUnprocessedCaptures,g=u.selectors.areAllCapturesInvalid,_=u.selectors.isThereAValidCapture,b=u.selectors.validCaptures,w=u.selectors.unprocessedCaptures;t.default=(0,a.connect)(p,d)(m),e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(115),n(54),n(9),n(7),n(28),n(128),n(11),n(19),n(12),n(44),n(5),n(13),n(21),n(61)],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,v,m,y){"use strict";function g(e){return e&&e.__esModule?e:{default:e}}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(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 w(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 k=g(o),x=g(i),C=(g(a),g(s)),S=g(c),O=g(d),E=g(y),T=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},P=function(e){var t=e.method,r=e.countDownRef;return(0,h.functionalSwitch)(t,{document:function(){return(0,n.h)(l.DocumentOverlay,null)},face:function(){return(0,n.h)("div",null,(0,n.h)(O.default,{ref:r}),(0,n.h)(f.FaceOverlay,null))}})},A=function(e){var t=e.method,r=e.faceCaptureClick;return(0,h.functionalSwitch)(t,{document:function(){return(0,n.h)(l.DocumentInstructions,null)},face:function(){return(0,n.h)(f.FaceInstructions,{handeClick:r})}})},j=function(e){var t=e.onUploadFallback;return(0,n.h)(C.default,{onDrop:function(e){var n=e[0];return t(n)},className:E.default.uploadFallback,multiple:!1},(0,n.h)("button",null," Having problems? Click here to upload a file"))},M=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:E.default["video-overlay"]},(0,n.h)(P,{method:t,countDownRef:a}),(0,n.h)(k.default,T({className:E.default.video,audio:!1,width:960,height:720},{onUserMedia:o,ref:u})),(0,n.h)(j,{onUploadFallback:r})),(0,n.h)(A,{method:t,faceCaptureClick:i}))},D=function(e){function t(){var r,o,i;_(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return r=o=b(this,e.call.apply(e,[this].concat(u))),o.webcam=null,o.capture={start:function(){o.capture.stop(),o.interval=S.default.every(1e3,o.screenshot)},stop:function(){return S.default.stop(o.interval)},once:function(){var e={useEasing:!1,useGrouping:!1},t=new x.default(o.countdown,3,0,0,3,e);t.start(function(){return o.screenshot()})}},o.screenshot=function(){var e=o.props.onScreenshot,t=o.webcam.getCanvas();return t?void(0,m.asyncFunc)(v.cloneCanvas,[t],e):void console.error("webcam canvas is null")},o.render=function(e){var t=e.method,r=e.onUserMedia,i=e.onUploadFallback;return(0,n.h)(M,{method:t,onUserMedia:r,onUploadFallback:i,faceCaptureClick:o.capture.once,countDownRef:function(e){o.countdown=e},webcamRef:function(e){o.webcam=e}})},i=r,b(o,i)}return w(t,e),t.prototype.webcamMounted=function(){var e=this,t=this.props.autoCapture;t&&this.capture.start(),u.events.on("onBeforeClose",function(){e.capture.stop(),(0,r.route)("/",!0)})},t.prototype.webcamUnmounted=function(){this.capture.stop()},t.prototype.componentDidMount=function(){this.webcamMounted()},t.prototype.componentWillUnmount=function(){this.webcamUnmounted()},t}(n.Component);t.default=D,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(7),n(9),n(52),n(12),n(41),n(18),n(19),n(11),n(51),n(22),n(62),n(5),n(13),n(20)],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,v,m){"use strict";function y(e){return e&&e.__esModule?e:{default:e}}function g(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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(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 w(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 k=y(o),x=y(i),C=y(u),S=y(s),O=y(f),E=y(p),T=y(d),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},A=function(e){function t(n){_(this,t);var r=b(this,e.call(this,n));return r.onUserMedia=function(){r.setState({hasWebcam:!0,hasWebcamPermission:!0,DetectRTCLoading:!1})},r.validateCapture=function(e,t){var n=r.props,o=n.actions,i=n.method;o.validateCapture({id:e,valid:t,method:i})},r.maxAutomaticCaptures=3,r.handleMessages=function(e){var t=e.is_document;r.validateCapture(e.id,t)},r.handleImage=function(e,t,n){if(!t)return void console.warn("Cannot handle a null image");var o=r.createPayload(t,e,n);(0,h.functionalSwitch)(r.props.method,{document:function(){return r.handleDocument(o)},face:function(){return r.handleFace(o)}})},r.createPayload=function(e,t,n){return{id:(0,x.default)(),messageType:r.method,image:e,imageLossy:t,file:n}},r.createSocketPayload=function(e){var t=e.id,n=e.messageType,r=e.imageLossy,o=e.image,i=e.documentType;return JSON.stringify({id:t,messageType:n,image:r?r:o,documentType:i})},r.onUploadFallback=function(e){r.setState({uploadFallback:!0}),r.deleteCaptures(),r.onImageFileSelected(e)},r.onScreenshot=function(e){(0,v.canvasToBase64Images)(e,r.handleImage)},r.onImageFileSelected=function(e){if(!(0,m.isOfFileType)(["jpg","jpeg","png","pdf"],e))return void r.onFileTypeError();var t=function(t){var n=function(n){return r.handleImage(n,t,e)};(0,m.isOfFileType)(["jpg","jpeg","png"],e)?(0,m.fileToLossyBase64Image)(void 0,e,function(e){return n(e)},function(e){return n(void 0)}):n(void 0)};(0,m.fileToBase64)(e,t,r.onFileGeneralError)},r.onFileTypeError=function(){r.setState({fileError:"INVALID_TYPE"})},r.onFileGeneralError=function(){r.setState({fileError:"INVALID_CAPTURE"})},r.deleteCaptures=function(){var e=r.props,t=e.method,n=e.actions.deleteCaptures;n({method:t})},r.errorType=function(e){var t=e.areAllCapturesInvalid,n=e.method,o=r.state.fileError;return"INVALID_TYPE"===o?o:"INVALID_CAPTURE"===o?o:t[n]?"INVALID_CAPTURE":null},r.state={hasWebcamPermission:!1,hasWebcam:E.default.hasWebcam,DetectRTCLoading:!0,uploadFallback:!1},r}return w(t,e),t.prototype.componentDidMount=function(){var e=this;r.events.on("onMessage",function(t){return e.handleMessages(t)}),this.checkWebcamSupport()},t.prototype.componentWillUnmount=function(){this.setState({uploadFallback:!1})},t.prototype.componentWillReceiveProps=function(e){var t=e.isThereAValidCapture,n=e.method,r=e.hasUnprocessedCaptures;t[n]&&this.setState({uploadFallback:!1}),r[n]&&this.setState({fileError:!1})},t.prototype.checkWebcamSupport=function(){var e=this;E.default.load(function(t){e.setState({DetectRTCLoading:!1,hasWebcam:E.default.hasWebcam})})},t.prototype.supportsWebcam=function(){var e=E.default.isGetUserMediaSupported&&this.state.DetectRTCLoading;return e||this.state.hasWebcam},t.prototype.createCapture=function(e){var t=this.props,n=t.actions,r=t.method;n.createCapture({method:r,capture:e,maxCaptures:this.maxAutomaticCaptures})},t.prototype.handleDocument=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=P({},e,{documentType:o}),n.sendMessage(this.createSocketPayload(e)),void this.createCapture(e))},t.prototype.handleFace=function(e){this.createCapture(P({},e,{valid:!0}))},t.prototype.render=function(e){var t=e.method,r=e.isThereAValidCapture,o=e.useWebcam,i=e.hasUnprocessedCaptures,a=e.areAllCapturesInvalid,u=g(e,["method","isThereAValidCapture","useWebcam","hasUnprocessedCaptures","areAllCapturesInvalid"]),s=!this.state.uploadFallback&&o&&this.supportsWebcam()&&O.default,c=r[t];return(0,n.h)(D,P({method:t,useCapture:s,hasCaptured:c,onUserMedia:this.onUserMedia,onScreenshot:this.onScreenshot,onUploadFallback:this.onUploadFallback,onImageSelected:this.onImageFileSelected,uploading:i[t],error:this.errorType({areAllCapturesInvalid:a,method:t})},u))},t}(n.Component);t.default=A;var j=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=g(e,["method","useCapture"]);return(0,n.h)("div",null,(0,n.h)(j,{method:t,useCapture:r}),r?(0,n.h)(C.default,P({method:t},o)):(0,n.h)(a.Uploader,P({method:t},o)))}),D=function(e){var t,r=e.method,o=e.useCapture,i=e.hasCaptured,a=g(e,["method","useCapture","hasCaptured"]);return(0,n.h)("div",{className:(0,k.default)((t={},t[T.default.camera]=o&&!i,t[T.default.uploader]=!o&&!i,t))},i?(0,n.h)(S.default,P({method:r},a)):(0,n.h)(M,P({method:r,useCapture:o},a)))};A.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(3),n(4),n(63)],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(65)],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(3),n(67)],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=[{value:"passport",label:"Passport",icon:"icon-passport"},{value:"license",label:"Driver's License",icon:"icon-license"},{value:"identity",label:"Identity Card",icon:"icon-identity"}],f=function(e){function t(){var 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.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),t.prototype.render=function(){var e=this;return(0,n.h)("div",{class:c.default.selector},l.map(function(t){return e.renderOption(t)}))},t}(n.Component);t.default=f,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(68)],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(7),n(70),n(110),n(1),n(5)],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),v=u(o),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))},_=(d=p=function(e){function t(r){c(this,t);var o=l(this,e.call(this,r));return o.openModal=function(){n.events.emit("onBeforeOpen"),o.setState({isOpen:!0})},o.onAfterOpen=function(){return n.events.emit("onOpen")},o.onRequestClose=function(){console.log("onRequestClose"),n.events.emit("onBeforeClose"),o.setState({isOpen:!1})},o.onAfterClose=function(){return n.events.emit("onClose")},o.state={isOpen:!1},o}return f(t,e),t.prototype.componentDidMount=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")},t.prototype.componentWillUnmount=function(){var e=this.state.button;e&&e.removeEventListener("click",this.openModal)},t.prototype.render=function(){return(0,i.h)(v.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)(_,r,n):(0,i.h)(g,null,n)},w=function(e){function t(){var 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.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),t.prototype.componentDidMount=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(9),n(4),n(71),n(45),n(5)],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(72)],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(3),n(4),n(74)],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||w)/w,(c||k)/k);e>1&&(w*=e,k*=e)}function o(){var e=Math.min((a||w)/w,(u||k)/k);1>e&&(w*=e,k*=e)}t=t||{};var a,u,s,c,l,f,p,d,h,v,m,y=document.createElement("canvas"),g=e.getContext||i.hasCanvasOption(t)&&y.getContext,_=e.naturalWidth||e.width,b=e.naturalHeight||e.height,w=_,k=b;if(g&&(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=_-l-t.right)):l=_-p-(t.right||0),t.sourceHeight?(f=t.sourceHeight,void 0!==t.bottom&&void 0===t.top&&(d=b-f-t.bottom)):f=b-d-(t.bottom||0),w=l,k=f),a=t.maxWidth,u=t.maxHeight,s=t.minWidth,c=t.minHeight,g&&a&&u&&t.crop?(w=a,k=u,m=l/f-a/u,0>m?(f=u*l/a,void 0===t.top&&void 0===t.bottom&&(d=(b-f)/2)):m>0&&(l=a*f/u,void 0===t.left&&void 0===t.right&&(p=(_-l)/2))):((t.contain||t.cover)&&(s=a=a||s,c=u=u||c),t.cover?(o(),r()):(r(),o())),g){if(h=t.pixelRatio,h>1&&(y.style.width=w+"px",y.style.height=k+"px",w*=h,k*=h,y.getContext("2d").scale(h,h)),v=t.downsamplingRatio,v>0&&1>v&&l>w&&f>k)for(;l*v>w;)y.width=l*v,y.height=f*v,i.renderImageToCanvas(y,e,p,d,l,f,0,0,y.width,y.height),l=y.width,f=y.height,e=document.createElement("canvas"),e.width=l,e.height=f,i.renderImageToCanvas(e,y,0,0,l,f,0,0,l,f);return y.width=w,y.height=k,i.transformCoordinates(y,t),i.renderImageToCanvas(y,e,p,d,l,f,0,0,w,k)}return e.width=w,e.height=k,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){function r(e){return null===e||void 0===e}function o(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&"function"==typeof e.copy&&"function"==typeof e.slice&&(0>=e.length||"number"==typeof e[0])}function i(e,t,n){var i,l;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(s(e))return!!s(t)&&(e=a.call(e),t=a.call(t),c(e,t,n));if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(i=0;e.length>i;i++)if(e[i]!==t[i])return!1;return!0}try{var f=u(e),p=u(t)}catch(e){return!1}if(f.length!=p.length)return!1;for(f.sort(),p.sort(),i=f.length-1;i>=0;i--)if(f[i]!=p[i])return!1;for(i=f.length-1;i>=0;i--)if(l=f[i],!c(e[l],t[l],n))return!1;return typeof e==typeof t}var a=Array.prototype.slice,u=n(57),s=n(56),c=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:i(e,t,n))}},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=o?n:r,t.supported=n,t.unsupported=r},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},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(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),e.verboseMemoryLeak&&(this.verboseMemoryLeak=e.verboseMemoryLeak),this.wildcard&&(this.listenerTree={})):this._events.maxListeners=p}function u(e,t){var n="(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.";this.verboseMemoryLeak?(n+=" Event name: %s.",console.error(n,e,t)):console.error(n,e),console.trace&&console.trace()}function s(e){this._events={},this.newListener=!1,this.verboseMemoryLeak=!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],v=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&&"*"===v,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===v?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===v?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.call(this,i._listeners.length,a))):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.call(this,this._events[e].length,e))):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){var r;/*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. */ -!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){e.exports={"video-overlay":"onfido-sdk-ui-Camera-video-overlay",video:"onfido-sdk-ui-Camera-video",uploadFallback:"onfido-sdk-ui-Camera-uploadFallback"}},function(e,t){e.exports={camera:"onfido-sdk-ui-Capture-camera",uploader:"onfido-sdk-ui-Capture-uploader"}},function(e,t){e.exports={icon:"onfido-sdk-ui-Complete-icon"}},function(e,t){e.exports={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){e.exports={countdown:"onfido-sdk-ui-Countdown-countdown"}},function(e,t){e.exports={capture:"onfido-sdk-ui-Document-capture",rectangle:"onfido-sdk-ui-Document-rectangle"}},function(e,t){e.exports={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){e.exports={base:"onfido-sdk-ui-Error-base",hidden:"onfido-sdk-ui-Error-hidden"}},function(e,t){e.exports={circle:"onfido-sdk-ui-Face-circle",instructions:"onfido-sdk-ui-Face-instructions"}},function(e,t){e.exports={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){e.exports={methods:"onfido-sdk-ui-Select-methods",wrapper:"onfido-sdk-ui-Select-wrapper"}},function(e,t){e.exports={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){e.exports={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){e.exports={"mtop-large":"onfido-sdk-ui-Welcome-mtop-large"}},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(e){}}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){function n(e,t,n,o){return JSON.stringify(e,r(t,o),n)}function r(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"}),function(o,i){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,o):r.push(o),~n.indexOf(i)&&(i=t.call(this,o,i))}else n.push(i);return null==e?i:e.call(this,o,i)}}t=e.exports=n,t.getSerialize=r},function(e,t,n){function r(e){return null==e?void 0===e?s:u:(e=Object(e),c&&c in e?i(e):a(e))}var o=n(23),i=n(87),a=n(88),u="[object Null]",s="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t,n){var r=n(89),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=u.call(e);return r&&(t?e[s]=n:delete e[s]),o}var o=n(23),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,s=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){var r=n(85),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){var r,o,i;!function(n,a){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=a():(o=[],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i)))}(this,function(){"use strict";function e(e){if(!e)return!0;if(i(e)&&0===e.length)return!0;if(!r(e)){for(var t in e)if(f.call(e,t))return!1;return!0}return!1}function t(e){return l.call(e)}function n(e){return"number"==typeof e||"[object Number]"===t(e)}function r(e){return"string"==typeof e||"[object String]"===t(e)}function o(e){return"object"==typeof e&&"[object Object]"===t(e)}function i(e){return"object"==typeof e&&"number"==typeof e.length&&"[object Array]"===t(e)}function a(e){return"boolean"==typeof e||"[object Boolean]"===t(e)}function u(e){var t=parseInt(e);return""+t===e?t:e}function s(t,o,i,a){if(n(o)&&(o=[o]),e(o))return t;if(r(o))return s(t,o.split(".").map(u),i,a);var c=o[0];if(1===o.length){var l=t[c];return void 0!==l&&a||(t[c]=i),l}return void 0===t[c]&&(t[c]=n(o[1])?[]:{}),s(t[c],o.slice(1),i,a)}function c(t,o){if(n(o)&&(o=[o]),!e(t)){if(e(o))return t;if(r(o))return c(t,o.split("."));var a=u(o[0]),s=t[a];if(1===o.length)void 0!==s&&(i(t)?t.splice(a,1):delete t[a]);else if(void 0!==t[a])return c(t[a],o.slice(1));return t}}var l=Object.prototype.toString,f=Object.prototype.hasOwnProperty,p=function(e){return Object.keys(p).reduce(function(t,n){return"function"==typeof p[n]&&(t[n]=p[n].bind(p,e)),t},{})};return p.has=function(t,a){if(e(t))return!1;if(n(a)?a=[a]:r(a)&&(a=a.split(".")),e(a)||0===a.length)return!1;for(var u=0;a.length>u;u++){var s=a[u];if(!o(t)&&!i(t)||!f.call(t,s))return!1;t=t[s]}return!0},p.ensureExists=function(e,t,n){return s(e,t,n,!0)},p.set=function(e,t,n,r){return s(e,t,n,r)},p.insert=function(e,t,n,r){var o=p.get(e,t);r=~~r,i(o)||(o=[],p.set(e,t,o)),o.splice(r,0,n)},p.empty=function(t,u){if(e(u))return t;if(!e(t)){var s,c;if(!(s=p.get(t,u)))return t;if(r(s))return p.set(t,u,"");if(a(s))return p.set(t,u,!1);if(n(s))return p.set(t,u,0);if(i(s))s.length=0;else{if(!o(s))return p.set(t,u,null);for(c in s)f.call(s,c)&&delete s[c]}}},p.push=function(e,t){var n=p.get(e,t);i(n)||(n=[],p.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},p.coalesce=function(e,t,n){for(var r,o=0,i=t.length;i>o;o++)if(void 0!==(r=p.get(e,t[o])))return r;return n},p.get=function(t,o,i){if(n(o)&&(o=[o]),e(o))return t;if(e(t))return i;if(r(o))return p.get(t,o.split("."),i);var a=u(o[0]);return 1===o.length?void 0===t[a]?i:t[a]:p.get(t[a],o.slice(1),i)},p.del=function(e,t){return c(e,t)},p})},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&&(k&&e[k]||e[x]);if("function"==typeof t)return t}function r(e){function t(t,n,r,o,i,a){if(o=o||C,a=a||r,null==n[r]){var u=b[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=v(a);if(u!==e){var s=b[o],c=m(a);return Error("Invalid "+s+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return r(t)}function i(){return r(w.thatReturns(null))}function a(e){function t(t,n,r,o,i){var a=t[n];if(!Array.isArray(a)){var u=b[o],s=v(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(!_.isValidElement(e[t])){var i=b[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=b[o],u=e.name||C,s=y(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=b[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=v(a);if("object"!==u){var s=b[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=b[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=b[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=v(a);if("object"!==u){var s=b[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||_.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 v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function m(e){var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){return e.constructor&&e.constructor.name?e.constructor.name:C}var g="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,_={};_.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===g};var b={prop:"prop",context:"context",childContext:"child context"},w={thatReturns:function(e){return function(){return e}}},k="function"==typeof Symbol&&Symbol.iterator,x="@@iterator",C="<>",S={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=S})},function(e,t,n){"use strict";function r(e,t){return t.encode?t.strict?o(e):encodeURIComponent(e):e}var o=n(120),i=n(10);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";function n(e){this.name="RavenConfigError",this.message=e}n.prototype=Error(),n.prototype.constructor=n,e.exports=n},function(e,t){"use strict";var n=function(e,t,n){var r=e[t],o=e;if(t in e){var i="warn"===t?"warning":t;e[t]=function(){var e=[].slice.call(arguments),t=""+e.join(" "),a={level:i,logger:"console",extra:{arguments:e}};n&&n(t,a),r&&Function.prototype.apply.call(r,o,e)}}};e.exports={wrapMethod:n}},function(e,t,n){"use strict";function r(){return+new Date}function o(){this._hasJSON=!("object"!=typeof JSON||!JSON.stringify),this._hasDocument=!i(P),this._lastCapturedException=null,this._lastEventId=null,this._globalServer=null,this._globalKey=null,this._globalProject=null,this._globalContext={},this._globalOptions={logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],crossOrigin:"anonymous",collectWindowErrors:!0,maxMessageLength:0,stackTraceLimit:50,autoBreadcrumbs:!0},this._ignoreOnError=0,this._isRavenInstalled=!1,this._originalErrorStackTraceLimit=Error.stackTraceLimit,this._originalConsole=T.console||{},this._originalConsoleMethods={},this._plugins=[],this._startTime=r(),this._wrappedBuiltIns=[],this._breadcrumbs=[],this._lastCapturedEvent=null,this._location=T.location,this._lastHref=this._location&&this._location.href;for(var e in this._originalConsole)this._originalConsoleMethods[e]=this._originalConsole[e]}function i(e){return void 0===e}function a(e){return"function"==typeof e}function u(e){return"[object String]"===A.toString.call(e)}function s(e){return"object"==typeof e&&null!==e}function c(e){for(var t in e)return!1;return!0}function l(e){var t=A.toString.call(e);return s(e)&&"[object Error]"===t||"[object Exception]"===t||e instanceof Error}function f(e,t){var n,r;if(i(e.length))for(n in e)h(e,n)&&t.call(null,n,e[n]);else if(r=e.length)for(n=0;r>n;n++)t.call(null,n,e[n])}function p(e,t){return t?(f(t,function(t,n){e[t]=n}),e):e}function d(e,t){return t&&e.length>t?e.substr(0,t)+"…":e}function h(e,t){return A.hasOwnProperty.call(e,t)}function v(e){for(var t,n=[],r=0,o=e.length;o>r;r++)t=e[r],u(t)?n.push(t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):t&&t.source&&n.push(t.source);return RegExp(n.join("|"),"i")}function m(e){var t=[];return f(e,function(e,n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}),t.join("&")}function y(e){var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{protocol:t[2],host:t[4],path:t[5],relative:t[5]+n+r}}function g(){var e=window.crypto||window.msCrypto;if(!i(e)&&e.getRandomValues){var t=new Uint16Array(8);e.getRandomValues(t),t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;var n=function(e){for(var t=e.toString(16);4>t.length;)t="0"+t;return t};return n(t[0])+n(t[1])+n(t[2])+n(t[3])+n(t[4])+n(t[5])+n(t[6])+n(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)})}function _(e){for(var t,n=5,r=80,o=[],i=0,a=0,u=" > ",s=u.length;e&&i++=i||r>a+o.length*s+t.length));)o.push(t),a+=t.length,e=e.parentNode;return o.reverse().join(u)}function b(e){var t,n,r,o,i,a=[];if(!e||!e.tagName)return"";if(a.push(e.tagName.toLowerCase()),e.id&&a.push("#"+e.id),t=e.className,t&&u(t))for(n=t.split(" "),i=0;n.length>i;i++)a.push("."+n[i]);var s=["type","name","title","alt"];for(i=0;s.length>i;i++)r=s[i],o=e.getAttribute(r),o&&a.push("["+r+'="'+o+'"]');return a.join("")}function w(e,t,n,r){var o=e[t];e[t]=n(o),r&&r.push([e,t,o])}var k=n(100),x=n(96),C=n(83),S=n(97).wrapMethod,O="source protocol user pass host port path".split(" "),E=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/,T="undefined"!=typeof window?window:void 0,P=T&&T.document;o.prototype={VERSION:"3.8.1",debug:!1,TraceKit:k,config:function(e,t){var n=this;if(n._globalServer)return this._logDebug("error","Error: Raven has already been configured"),n;if(!e)return n;var r=n._globalOptions;t&&f(t,function(e,t){"tags"===e||"extra"===e?n._globalContext[e]=t:r[e]=t}),n.setDSN(e),r.ignoreErrors.push(/^Script error\.?$/),r.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),r.ignoreErrors=v(r.ignoreErrors),r.ignoreUrls=!!r.ignoreUrls.length&&v(r.ignoreUrls),r.whitelistUrls=!!r.whitelistUrls.length&&v(r.whitelistUrls),r.includePaths=v(r.includePaths),r.maxBreadcrumbs=Math.max(0,Math.min(r.maxBreadcrumbs||100,100));var o={xhr:!0,console:!0,dom:!0,location:!0},i=r.autoBreadcrumbs;return"[object Object]"==={}.toString.call(i)?i=p(o,i):i!==!1&&(i=o),r.autoBreadcrumbs=i,k.collectWindowErrors=!!r.collectWindowErrors,n},install:function(){var e=this;return e.isSetup()&&!e._isRavenInstalled&&(k.report.subscribe(function(){e._handleOnErrorStackInfo.apply(e,arguments)}),e._instrumentTryCatch(),e._globalOptions.autoBreadcrumbs&&e._instrumentBreadcrumbs(),e._drainPlugins(),e._isRavenInstalled=!0),Error.stackTraceLimit=e._globalOptions.stackTraceLimit,this},setDSN:function(e){var t=this,n=t._parseDSN(e),r=n.path.lastIndexOf("/"),o=n.path.substr(1,r);t._dsn=e,t._globalKey=n.user,t._globalSecret=n.pass&&n.pass.substr(1),t._globalProject=n.path.substr(r+1),t._globalServer=t._getGlobalServer(n),t._globalEndpoint=t._globalServer+"/"+o+"api/"+t._globalProject+"/store/"},context:function(e,t,n){return a(e)&&(n=t||[],t=e,e=void 0),this.wrap(e,t).apply(this,n)},wrap:function(e,t,n){function r(){var r=[],i=arguments.length,u=!e||e&&e.deep!==!1;for(n&&a(n)&&n.apply(this,arguments);i--;)r[i]=u?o.wrap(e,arguments[i]):arguments[i];try{return t.apply(this,r)}catch(t){throw o._ignoreNextOnError(),o.captureException(t,e),t}}var o=this;if(i(t)&&!a(e))return e;if(a(e)&&(t=e,e=void 0),!a(t))return t;try{if(t.__raven__)return t;if(t.__raven_wrapper__)return t.__raven_wrapper__}catch(e){return t}for(var u in t)h(t,u)&&(r[u]=t[u]);return r.prototype=t.prototype,t.__raven_wrapper__=r,r.__raven__=!0,r.__inner__=t,r},uninstall:function(){return k.report.uninstall(),this._restoreBuiltIns(),Error.stackTraceLimit=this._originalErrorStackTraceLimit,this._isRavenInstalled=!1,this},captureException:function(e,t){if(!l(e))return this.captureMessage(e,p({trimHeadFrames:1,stacktrace:!0},t));this._lastCapturedException=e;try{var n=k.computeStackTrace(e);this._handleStackInfo(n,t)}catch(t){if(e!==t)throw t}return this},captureMessage:function(e,t){if(!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(e)){var n=p({message:e+""},t);if(t&&t.stacktrace){var r;try{throw Error(e)}catch(e){r=e}r.name=null,t=p({fingerprint:e,trimHeadFrames:(t.trimHeadFrames||0)+1},t);var o=k.computeStackTrace(r),i=this._prepareFrames(o,t);n.stacktrace={frames:i.reverse()}}return this._send(n),this}},captureBreadcrumb:function(e){var t=p({timestamp:r()/1e3},e);return this._breadcrumbs.push(t),this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(e){var t=[].slice.call(arguments,1);return this._plugins.push([e,t]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(e){return this._globalContext.user=e,this},setExtraContext:function(e){return this._mergeContext("extra",e),this},setTagsContext:function(e){return this._mergeContext("tags",e),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(C(this._globalContext))},setEnvironment:function(e){return this._globalOptions.environment=e,this},setRelease:function(e){return this._globalOptions.release=e,this},setDataCallback:function(e){var t=this._globalOptions.dataCallback;return this._globalOptions.dataCallback=a(e)?function(n){return e(n,t)}:e,this},setShouldSendCallback:function(e){var t=this._globalOptions.shouldSendCallback;return this._globalOptions.shouldSendCallback=a(e)?function(n){return e(n,t)}:e,this},setTransport:function(e){return this._globalOptions.transport=e,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!(!this._hasJSON||!this._globalServer&&(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug("error","Error: Raven has not been configured.")),1))},afterLoad:function(){var e=T.RavenConfig;e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if(P){e=e||{};var t=e.eventId||this.lastEventId();if(!t)throw new x("Missing eventId");var n=e.dsn||this._dsn;if(!n)throw new x("Missing DSN");var r=encodeURIComponent,o="";o+="?eventId="+r(t),o+="&dsn="+r(n);var i=e.user||this._globalContext.user;i&&(i.name&&(o+="&name="+r(i.name)),i.email&&(o+="&email="+r(i.email)));var a=this._getGlobalServer(this._parseDSN(n)),u=P.createElement("script");u.async=!0,u.src=a+"/api/embed/error-page/"+o,(P.head||P.body).appendChild(u)}},_ignoreNextOnError:function(){var e=this;this._ignoreOnError+=1,setTimeout(function(){e._ignoreOnError-=1})},_triggerEvent:function(e,t){var n,r;if(this._hasDocument){t=t||{},e="raven"+e.substr(0,1).toUpperCase()+e.substr(1),P.createEvent?(n=P.createEvent("HTMLEvents"),n.initEvent(e,!0,!0)):(n=P.createEventObject(),n.eventType=e);for(r in t)h(t,r)&&(n[r]=t[r]);if(P.createEvent)P.dispatchEvent(n);else try{P.fireEvent("on"+n.eventType.toLowerCase(),n)}catch(e){}}},_breadcrumbEventHandler:function(e){var t=this;return function(n){if(t._keypressTimeout=null,t._lastCapturedEvent!==n){t._lastCapturedEvent=n;var r,o=n.target;try{r=_(o)}catch(e){r=""}t.captureBreadcrumb({category:"ui."+e,message:r})}}},_keypressEventHandler:function(){var e=this,t=1e3;return function(n){var r=n.target,o=r&&r.tagName;if(o&&("INPUT"===o||"TEXTAREA"===o||r.isContentEditable)){var i=e._keypressTimeout;i||e._breadcrumbEventHandler("input")(n),clearTimeout(i),e._keypressTimeout=setTimeout(function(){e._keypressTimeout=null},t)}}},_captureUrlChange:function(e,t){var n=y(this._location.href),r=y(t),o=y(e);this._lastHref=t,n.protocol===r.protocol&&n.host===r.host&&(t=r.relative),n.protocol===o.protocol&&n.host===o.host&&(e=o.relative),this.captureBreadcrumb({category:"navigation",data:{to:t,from:e}})},_instrumentTryCatch:function(){function e(e){return function(t,r){for(var o=Array(arguments.length),i=0;o.length>i;++i)o[i]=arguments[i];var u=o[0];return a(u)&&(o[0]=n.wrap(u)),e.apply?e.apply(this,o):e(o[0],o[1])}}function t(e){var t=T[e]&&T[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(w(t,"addEventListener",function(t){return function(r,i,a,u){try{i&&i.handleEvent&&(i.handleEvent=n.wrap(i.handleEvent))}catch(e){}var s;return o&&o.dom&&("EventTarget"===e||"Node"===e)&&("click"===r?s=n._breadcrumbEventHandler(r):"keypress"===r&&(s=n._keypressEventHandler())),t.call(this,r,n.wrap(i,void 0,s),a,u)}},r),w(t,"removeEventListener",function(e){return function(t,n,r,o){try{n=n&&(n.__raven_wrapper__?n.__raven_wrapper__:n)}catch(e){}return e.call(this,t,n,r,o)}},r))}var n=this,r=n._wrappedBuiltIns,o=this._globalOptions.autoBreadcrumbs;w(T,"setTimeout",e,r),w(T,"setInterval",e,r),T.requestAnimationFrame&&w(T,"requestAnimationFrame",function(e){return function(t){return e(n.wrap(t))}},r);for(var i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],u=0;i.length>u;u++)t(i[u]);var s=T.jQuery||T.$;s&&s.fn&&s.fn.ready&&w(s.fn,"ready",function(e){return function(t){return e.call(this,n.wrap(t))}},r)},_instrumentBreadcrumbs:function(){function e(e,n){e in n&&a(n[e])&&w(n,e,function(e){return t.wrap(e)})}var t=this,n=this._globalOptions.autoBreadcrumbs,r=t._wrappedBuiltIns;if(n.xhr&&"XMLHttpRequest"in T){var o=XMLHttpRequest.prototype;w(o,"open",function(e){return function(n,r){return u(r)&&r.indexOf(t._globalKey)===-1&&(this.__raven_xhr={method:n,url:r,status_code:null}),e.apply(this,arguments)}},r),w(o,"send",function(n){return function(r){function o(){if(i.__raven_xhr&&(1===i.readyState||4===i.readyState)){try{i.__raven_xhr.status_code=i.status}catch(e){}t.captureBreadcrumb({type:"http",category:"xhr",data:i.__raven_xhr})}}for(var i=this,u=["onload","onerror","onprogress"],s=0;u.length>s;s++)e(u[s],i);return"onreadystatechange"in i&&a(i.onreadystatechange)?w(i,"onreadystatechange",function(e){return t.wrap(e,void 0,o)}):i.onreadystatechange=o,n.apply(this,arguments)}},r)}n.xhr&&"fetch"in T&&w(T,"fetch",function(e){return function(n,r){for(var o=Array(arguments.length),i=0;o.length>i;++i)o[i]=arguments[i];var a="GET";o[1]&&o[1].method&&(a=o[1].method);var u={method:a,url:o[0],status_code:null};return t.captureBreadcrumb({type:"http",category:"fetch",data:u}),e.apply(this,o).then(function(e){return u.status_code=e.status,e})}},r),n.dom&&this._hasDocument&&(P.addEventListener?(P.addEventListener("click",t._breadcrumbEventHandler("click"),!1),P.addEventListener("keypress",t._keypressEventHandler(),!1)):(P.attachEvent("onclick",t._breadcrumbEventHandler("click")),P.attachEvent("onkeypress",t._keypressEventHandler())));var i=T.chrome,s=i&&i.app&&i.app.runtime,c=!s&&T.history&&history.pushState;if(n.location&&c){var l=T.onpopstate;T.onpopstate=function(){var e=t._location.href;if(t._captureUrlChange(t._lastHref,e),l)return l.apply(this,arguments)},w(history,"pushState",function(e){return function(){var n=arguments.length>2?arguments[2]:void 0;return n&&t._captureUrlChange(t._lastHref,n+""),e.apply(this,arguments)}},r)}if(n.console&&"console"in T&&console.log){var p=function(e,n){t.captureBreadcrumb({message:e,level:n.level,category:"console"})};f(["debug","info","warn","error","log"],function(e,t){S(console,t,p)})}},_restoreBuiltIns:function(){for(var e;this._wrappedBuiltIns.length;){e=this._wrappedBuiltIns.shift();var t=e[0],n=e[1],r=e[2];t[n]=r}},_drainPlugins:function(){var e=this;f(this._plugins,function(t,n){var r=n[0],o=n[1];r.apply(e,[e].concat(o))})},_parseDSN:function(e){var t=E.exec(e),n={},r=7;try{for(;r--;)n[O[r]]=t[r]||""}catch(t){throw new x("Invalid DSN: "+e)}if(n.pass&&!this._globalOptions.allowSecretKey)throw new x("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return n},_getGlobalServer:function(e){var t="//"+e.host+(e.port?":"+e.port:"");return e.protocol&&(t=e.protocol+":"+t),t},_handleOnErrorStackInfo:function(){this._ignoreOnError||this._handleStackInfo.apply(this,arguments)},_handleStackInfo:function(e,t){var n=this._prepareFrames(e,t);this._triggerEvent("handle",{stackInfo:e,options:t}),this._processException(e.name,e.message,e.url,e.lineno,n,t)},_prepareFrames:function(e,t){var n=this,r=[];if(e.stack&&e.stack.length&&(f(e.stack,function(e,t){var o=n._normalizeFrame(t);o&&r.push(o)}),t&&t.trimHeadFrames))for(var o=0;t.trimHeadFrames>o&&r.length>o;o++)r[o].in_app=!1;return r=r.slice(0,this._globalOptions.stackTraceLimit)},_normalizeFrame:function(e){if(e.url){var t={filename:e.url,lineno:e.line,colno:e.column,function:e.func||"?"};return t.in_app=!(this._globalOptions.includePaths.test&&!this._globalOptions.includePaths.test(t.filename)||/(Raven|TraceKit)\./.test(t.function)||/raven\.(min\.)?js$/.test(t.filename)),t}},_processException:function(e,t,n,r,o,i){var a;if((!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(t))&&(t+="",o&&o.length?(n=o[0].filename||n,o.reverse(),a={frames:o}):n&&(a={frames:[{filename:n,lineno:r,in_app:!0}]}),(!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(n))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(n)))){var u=p({exception:{values:[{type:e,value:t,stacktrace:a}]},culprit:n},i);this._send(u)}},_trimPacket:function(e){var t=this._globalOptions.maxMessageLength;if(e.message&&(e.message=d(e.message,t)),e.exception){var n=e.exception.values[0];n.value=d(n.value,t)}return e},_getHttpData:function(){if(this._hasDocument&&P.location&&P.location.href){var e={headers:{"User-Agent":navigator.userAgent}};return e.url=P.location.href,P.referrer&&(e.headers.Referer=P.referrer),e}},_send:function(e){var t=this._globalOptions,n={project:this._globalProject,logger:t.logger,platform:"javascript"},o=this._getHttpData();o&&(n.request=o),e.trimHeadFrames&&delete e.trimHeadFrames,e=p(n,e),e.tags=p(p({},this._globalContext.tags),e.tags),e.extra=p(p({},this._globalContext.extra),e.extra),e.extra["session:duration"]=r()-this._startTime,this._breadcrumbs&&this._breadcrumbs.length>0&&(e.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),c(e.tags)&&delete e.tags,this._globalContext.user&&(e.user=this._globalContext.user),t.environment&&(e.environment=t.environment),t.release&&(e.release=t.release),t.serverName&&(e.server_name=t.serverName),a(t.dataCallback)&&(e=t.dataCallback(e)||e),e&&!c(e)&&(a(t.shouldSendCallback)&&!t.shouldSendCallback(e)||this._sendProcessedPayload(e))},_getUuid:function(){return g()},_sendProcessedPayload:function(e,t){var n=this,r=this._globalOptions;if(this._lastEventId=e.event_id||(e.event_id=this._getUuid()),e=this._trimPacket(e),this._logDebug("debug","Raven about to send:",e),this.isSetup()){var o={sentry_version:"7",sentry_client:"raven-js/"+this.VERSION,sentry_key:this._globalKey};this._globalSecret&&(o.sentry_secret=this._globalSecret);var i=e.exception&&e.exception.values[0];this.captureBreadcrumb({category:"sentry",message:i?(i.type?i.type+": ":"")+i.value:e.message,event_id:e.event_id,level:e.level||"error"});var a=this._globalEndpoint;(r.transport||this._makeRequest).call(this,{url:a,auth:o,data:e,options:r,onSuccess:function(){n._triggerEvent("success",{data:e,src:a}),t&&t()},onError:function(r){n._triggerEvent("failure",{data:e,src:a}),r=r||Error("Raven send failed (no additional details provided)"),t&&t(r)}})}},_makeRequest:function(e){function t(){200===n.status?e.onSuccess&&e.onSuccess():e.onError&&e.onError(Error("Sentry error code: "+n.status))}var n=new XMLHttpRequest,r="withCredentials"in n||"undefined"!=typeof XDomainRequest;if(r){var o=e.url;"withCredentials"in n?n.onreadystatechange=function(){4===n.readyState&&t()}:(n=new XDomainRequest,o=o.replace(/^https?:/,""),n.onload=t),n.open("POST",o+"?"+m(e.auth)),n.send(C(e.data))}},_logDebug:function(e){this._originalConsoleMethods[e]&&this.debug&&Function.prototype.apply.call(this._originalConsoleMethods[e],this._originalConsole,[].slice.call(arguments,1))},_mergeContext:function(e,t){i(t)?delete this._globalContext[e]:this._globalContext[e]=p(this._globalContext[e]||{},t)}};var A=Object.prototype;"undefined"!=typeof __DEV__&&__DEV__&&(o.utils={isUndefined:i,isFunction:a,isString:u,isObject:s,isEmptyObject:c,isError:l,each:f,objectMerge:p,truncate:d,hasKey:h,joinRegExp:v,urlencode:m,uuid4:g,htmlTreeAsString:_,htmlElementAsString:b,parseUrl:y,fill:w}),o.prototype.setUser=o.prototype.setUserContext,o.prototype.setReleaseContext=o.prototype.setRelease,e.exports=o},function(e,t,n){"use strict";var r=n(98),o=window.Raven,i=new r;i.noConflict=function(){return window.Raven=o,i},i.afterLoad(),e.exports=i},function(e,t){"use strict";function n(){ -return"undefined"==typeof document?"":document.location.href}var r={collectWindowErrors:!0,debug:!1},o=[].slice,i="?",a=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;r.report=function(){function e(e){l(),m.push(e)}function t(e){for(var t=m.length-1;t>=0;--t)m[t]===e&&m.splice(t,1)}function u(){f(),m=[]}function s(e,t){var n=null;if(!t||r.collectWindowErrors){for(var i in m)if(m.hasOwnProperty(i))try{m[i].apply(null,[e].concat(o.call(arguments,2)))}catch(e){n=e}if(n)throw n}}function c(e,t,o,u,c){var l=null;if(_)r.computeStackTrace.augmentStackTraceWithInitialElement(_,t,o,e),p();else if(c)l=r.computeStackTrace(c),s(l,!0);else{var f,d={url:t,line:o,column:u},v=void 0,m=e;if("[object String]"==={}.toString.call(e)){var f=e.match(a);f&&(v=f[1],m=f[2])}d.func=i,l={name:v,message:m,url:n(),stack:[d]},s(l,!0)}return!!h&&h.apply(this,arguments)}function l(){v||(h=window.onerror,window.onerror=c,v=!0)}function f(){v&&(window.onerror=h,v=!1,h=void 0)}function p(){var e=_,t=y;y=null,_=null,g=null,s.apply(null,[e,!1].concat(t))}function d(e,t){var n=o.call(arguments,1);if(_){if(g===e)return;p()}var i=r.computeStackTrace(e);if(_=i,g=e,y=n,setTimeout(function(){g===e&&p()},i.incomplete?2e3:0),t!==!1)throw e}var h,v,m=[],y=null,g=null,_=null;return d.subscribe=e,d.unsubscribe=t,d.uninstall=u,d}(),r.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,r,o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=e.stack.split("\n"),c=[],l=(/^(.*) is undefined$/.exec(e.message),0),f=s.length;f>l;++l){if(t=o.exec(s[l])){var p=t[2]&&t[2].indexOf("native")!==-1;r={url:p?null:t[2],func:t[1]||i,args:p?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=u.exec(s[l]))r={url:t[2],func:t[1]||i,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=a.exec(s[l])))continue;r={url:t[3],func:t[1]||i,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}!r.func&&r.line&&(r.func=i),c.push(r)}return c.length?(c[0].column||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),{name:e.name,message:e.message,url:n(),stack:c}):null}}function t(e,t,n,r){var o={url:t,line:n};if(o.url&&o.line){if(e.incomplete=!1,o.func||(o.func=i),e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1;if(!e.stack[0].line&&e.stack[0].func===o.func)return e.stack[0].line=o.line,!1}return e.stack.unshift(o),e.partial=!0,!0}return e.incomplete=!0,!1}function o(e,u){for(var s,c,l=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,f=[],p={},d=!1,h=o.caller;h&&!d;h=h.caller)if(h!==a&&h!==r.report){if(c={url:null,func:i,line:null,column:null},h.name?c.func=h.name:(s=l.exec(""+h))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(e){}p[""+h]?d=!0:p[""+h]=!0,f.push(c)}u&&f.splice(0,u);var v={name:e.name,message:e.message,url:n(),stack:f};return t(v,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),v}function a(t,i){var a=null;i=null==i?0:+i;try{if(a=e(t))return a}catch(e){if(r.debug)throw e}try{if(a=o(t,i+1))return a}catch(e){if(r.debug)throw e}return{name:t.name,message:t.message,url:n()}}return a.augmentStackTraceWithInitialElement=t,a.computeStackTraceFromStackProp=e,a}(),e.exports=r},function(e,t){e.exports="(function(window, document) {\n 'use strict';\n\n var Woopra = {},\n _on,\n _handler = [],\n _download_tracking = false,\n _download_pause,\n _outgoing_tracking = false,\n _outgoing_pause,\n _auto_decorate,\n _outgoing_ignore_subdomain = true;\n\n /**\n * Constants\n */\n var VERSION = 11;\n var ENDPOINT = 'woopra.com/track/';\n var XDM_PARAM_NAME = '__woopraid';\n\n /**\n * addEventListener polyfill 1.0 / Eirik Backer / MIT Licence\n * https://gist.github.com/eirikbacker/2864711\n * removeEventListener from https://gist.github.com/jonathantneal/3748027\n */\n /*eslint-disable*/\n (function(win, doc){\n if (win.addEventListener) return;\t\t//No need to polyfill\n\n var listeners = [];\n\n function docHijack(p){var old = doc[p];doc[p] = function(v){return addListen(old(v))}}\n function addEvent(on, fn, self) {\n self = this;\n\n listeners.unshift([self, on, fn, function(e) {\n var e = e || win.event;\n e.preventDefault = e.preventDefault || function(){e.returnValue = false}\n e.stopPropagation = e.stopPropagation || function(){e.cancelBubble = true}\n e.currentTarget = self;\n e.target = e.srcElement || self;\n fn.call(self, e);\n }]);\n\n return this.attachEvent('on' + on, listeners[0][3])\n }\n\n function removeEvent(on, fn) {\n for (var index = 0, register; register = listeners[index]; ++index) {\n if (register[0] == this && register[1] == on && register[2] == fn) {\n return this.detachEvent(\"on\" + on, listeners.splice(index, 1)[0][3]);\n }\n }\n }\n\n function addListen(obj, i){\n if (obj && (i = obj.length)) {\n while(i--) {\n obj[i].addEventListener = addEvent;\n obj[i].removeEventListener = removeEvent;\n }\n }\n else if (obj) {\n obj.addEventListener = addEvent;\n obj.removeEventListener = removeEvent;\n }\n\n return obj;\n }\n\n addListen([doc, win]);\n if ('Element' in win) {\n // IE 8\n win.Element.prototype.addEventListener = addEvent;\n win.Element.prototype.removeEventListener = removeEvent;\n }\n else {\n // IE < 8\n //Make sure we also init at domReady\n doc.attachEvent('onreadystatechange', function(){addListen(doc.all)});\n docHijack('getElementsByTagName');\n docHijack('getElementById');\n docHijack('createElement');\n addListen(doc.all);\n }\n })(window, document);\n\n /**\n * Array.prototype.indexOf polyfill via\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf\n */\n if (!Array.prototype.indexOf) {\n Array.prototype.indexOf = function (searchElement, fromIndex) {\n if ( this === undefined || this === null ) {\n throw new TypeError( '\"this\" is null or not defined' );\n }\n\n var length = this.length >>> 0; // Hack to convert object.length to a UInt32\n\n fromIndex = +fromIndex || 0;\n\n if (Math.abs(fromIndex) === Infinity) {\n fromIndex = 0;\n }\n\n if (fromIndex < 0) {\n fromIndex += length;\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n for (;fromIndex < length; fromIndex++) {\n if (this[fromIndex] === searchElement) {\n return fromIndex;\n }\n }\n\n return -1;\n };\n }\n\n /**\n * Helper functions\n */\n Woopra.extend = function(o1, o2) {\n for (var key in o2) {\n o1[key] = o2[key];\n }\n };\n\n // https://code.google.com/p/form-serialize/\n // modified to return an object\n Woopra.serializeForm = function(form, options) {\n if (!form || form.nodeName !== \"FORM\") {\n return;\n }\n var _options = options || {};\n var _exclude = _options.exclude || [];\n var i, j, data = {};\n for (i = form.elements.length - 1; i >= 0; i = i - 1) {\n if (form.elements[i].name === \"\" || _exclude.indexOf(form.elements[i].name) > -1) {\n continue;\n }\n switch (form.elements[i].nodeName) {\n case 'INPUT':\n switch (form.elements[i].type) {\n case 'text':\n case 'hidden':\n case 'button':\n case 'reset':\n case 'submit':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n case 'checkbox':\n case 'radio':\n if (form.elements[i].checked) {\n data[form.elements[i].name] = form.elements[i].value;\n }\n break;\n case 'file':\n break;\n }\n break;\n case 'TEXTAREA':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n case 'SELECT':\n switch (form.elements[i].type) {\n case 'select-one':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n case 'select-multiple':\n for (j = form.elements[i].options.length - 1; j >= 0; j = j - 1) {\n if (form.elements[i].options[j].selected) {\n data[form.elements[i].name] = form.elements[i].options[j].value;\n }\n }\n break;\n }\n break;\n case 'BUTTON':\n switch (form.elements[i].type) {\n case 'reset':\n case 'submit':\n case 'button':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n }\n break;\n }\n }\n return data;\n };\n\n /*\\\n |*|\n |*| :: cookies.js ::\n |*|\n |*| A complete cookies reader/writer framework with full unicode support.\n |*|\n |*| Revision #1 - September 4, 2014\n |*|\n |*| https://developer.mozilla.org/en-US/docs/Web/API/document.cookie\n |*| https://developer.mozilla.org/User:fusionchess\n |*|\n |*| This framework is released under the GNU Public License, version 3 or later.\n |*| http://www.gnu.org/licenses/gpl-3.0-standalone.html\n |*|\n |*| Syntaxes:\n |*|\n |*| * docCookies.setItem(name, value[, end[, path[, domain[, secure]]]])\n |*| * docCookies.getItem(name)\n |*| * docCookies.removeItem(name[, path[, domain]])\n |*| * docCookies.hasItem(name)\n |*| * docCookies.keys()\n |*|\n \\*/\n var docCookies = {\n getItem: function (sKey) {\n if (!sKey) { return null; }\n return decodeURIComponent(document.cookie.replace(new RegExp(\"(?:(?:^|.*;)\\\\s*\" + encodeURIComponent(sKey).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") + \"\\\\s*\\\\=\\\\s*([^;]*).*$)|^.*$\"), \"$1\")) || null;\n },\n setItem: function (sKey, sValue, vEnd, sPath, sDomain, bSecure) {\n if (!sKey || /^(?:expires|max\\-age|path|domain|secure)$/i.test(sKey)) { return false; }\n var sExpires = \"\";\n if (vEnd) {\n switch (vEnd.constructor) {\n case Number:\n sExpires = vEnd === Infinity ? \"; expires=Fri, 31 Dec 9999 23:59:59 GMT\" : \"; max-age=\" + vEnd;\n break;\n case String:\n sExpires = \"; expires=\" + vEnd;\n break;\n case Date:\n sExpires = \"; expires=\" + vEnd.toUTCString();\n break;\n }\n }\n document.cookie = encodeURIComponent(sKey) + \"=\" + encodeURIComponent(sValue) + sExpires + (sDomain ? \"; domain=\" + sDomain : \"\") + (sPath ? \"; path=\" + sPath : \"\") + (bSecure ? \"; secure\" : \"\");\n return true;\n },\n removeItem: function (sKey, sPath, sDomain) {\n if (!this.hasItem(sKey)) { return false; }\n document.cookie = encodeURIComponent(sKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 GMT\" + (sDomain ? \"; domain=\" + sDomain : \"\") + (sPath ? \"; path=\" + sPath : \"\");\n return true;\n },\n hasItem: function (sKey) {\n if (!sKey) { return false; }\n return (new RegExp(\"(?:^|;\\\\s*)\" + encodeURIComponent(sKey).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") + \"\\\\s*\\\\=\")).test(document.cookie);\n },\n keys: function () {\n var aKeys = document.cookie.replace(/((?:^|\\s*;)[^\\=]+)(?=;|$)|^\\s*|\\s*(?:\\=[^;]*)?(?:\\1|$)/g, \"\").split(/\\s*(?:\\=[^;]*)?;\\s*/);\n for (var nLen = aKeys.length, nIdx = 0; nIdx < nLen; nIdx++) { aKeys[nIdx] = decodeURIComponent(aKeys[nIdx]); }\n return aKeys;\n }\n };\n\n Woopra.docCookies = docCookies;\n /*eslint-enable*/\n\n /**\n * Wrapper for window.location\n */\n Woopra.location = function(property, value) {\n // make sure property is valid\n if (typeof window.location[property] !== 'undefined') {\n if (typeof value !== 'undefined') {\n window.location[property] = value;\n }\n else {\n return window.location[property];\n }\n }\n };\n\n /**\n * Parses current URL for parameters that start with either `utm_` or `woo_`\n * and have the keys `source`, `medium`, `content`, `campaign`, `term`\n *\n * @return {Object} Returns an object with campaign keys as keys\n */\n Woopra.getCampaignData = function() {\n var vars = Woopra.getUrlParams(),\n campaign = {},\n campaignKeys = ['source', 'medium', 'content', 'campaign', 'term'],\n key,\n value;\n\n for (var i = 0; i < campaignKeys.length; i++) {\n key = campaignKeys[i];\n value = vars['utm_' + key] || vars['woo_' + key];\n\n if (typeof value !== 'undefined') {\n campaign['campaign_' + (key === 'campaign' ? 'name' : key)] = value;\n }\n }\n\n return campaign;\n };\n\n Woopra.mapQueryParams = function(mapping) {\n var vars = Woopra.getUrlParams(),\n params = {};\n\n for (var key in mapping) {\n var value = vars[key];\n if (typeof value !== 'undefined') {\n params[mapping[key]] = value;\n }\n }\n\n return params;\n }\n\n\n /**\n * Parses the URL parameters for data beginning with a certain prefix\n *\n * @param {Function} method The callback method for each key found matching `prefix`\n * @param {string} prefix The prefix that the parameter should start with\n */\n Woopra.getCustomData = function(method, prefix) {\n var vars = Woopra.getUrlParams(),\n i,\n _prefix = prefix || 'wv_',\n key,\n value;\n\n for (i in vars) {\n if (vars.hasOwnProperty(i)) {\n value = vars[i];\n\n if (i.substring(0, _prefix.length) === _prefix) {\n key = i.substring(_prefix.length);\n method.call(this, key, value);\n }\n }\n }\n };\n\n /**\n * Parses Visitor Data in the URL.\n *\n * Query params that start with 'wv_'\n */\n Woopra.getVisitorUrlData = function(context) {\n Woopra.getCustomData.call(context, context.identify, 'wv_');\n };\n\n\n /**\n * Hides any campaign data (query params: wv_, woo_, utm_) from the URL\n * by using pushState (if available)\n */\n Woopra.hideCampaignData = function() {\n return Woopra.hideUrlParams(['wv_', 'woo_', 'utm_']);\n };\n Woopra.hideCrossDomainId = function() {\n return Woopra.hideUrlParams([XDM_PARAM_NAME]);\n };\n\n /**\n * Hides any URL parameters by calling window.history.replaceState\n *\n * @param {Array} params A list of parameter prefixes that will be hidden\n * @return {String} Returns the new URL that will be used\n */\n Woopra.hideUrlParams = function(params) {\n var regex = new RegExp('[?&]+((?:' + params.join('|') + ')[^=&]*)=([^&#]*)', 'gi');\n var href = Woopra.location('href').replace(regex, '');\n\n if (window.history && window.history.replaceState) {\n window.history.replaceState(null, null, href);\n }\n\n return href;\n };\n\n /**\n * Retrieves the current URL parameters as an object\n *\n * @return {Object} An object for all of the URL parameters\n */\n Woopra.getUrlParams = function() {\n var vars = {};\n var href = Woopra.location('href');\n\n if (href) {\n href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m, key, value) {\n vars[key] = decodeURIComponent(value.split('+').join(' '));\n });\n }\n return vars;\n };\n\n Woopra.buildUrlParams = function(params, prefix) {\n var _prefix = prefix || '',\n key,\n p = [];\n\n if (typeof params === 'undefined') {\n return params;\n }\n\n for (key in params) {\n if (params.hasOwnProperty(key)) {\n if (params[key] !== 'undefined' &&\n params[key] !== 'null' &&\n typeof params[key] !== 'undefined') {\n p.push(_prefix + encodeURIComponent(key) + '=' + encodeURIComponent(params[key]));\n }\n }\n }\n return p.join('&');\n };\n\n /**\n * Generates a random 12 character string\n *\n * @return {String} Returns a random 12 character string\n */\n Woopra.randomString = function() {\n var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',\n i,\n rnum,\n s = '';\n\n for (i = 0; i < 12; i++) {\n rnum = Math.floor(Math.random() * chars.length);\n s += chars.substring(rnum, rnum + 1);\n }\n\n return s;\n };\n\n Woopra.loadScript = function(url, callback) {\n var ssc,\n _callback,\n script = document.createElement('script');\n\n script.type = 'text/javascript';\n script.async = true;\n\n if (callback && typeof callback === 'function') {\n _callback = callback;\n }\n\n if (typeof script.onreadystatechange !== 'undefined') {\n script.onreadystatechange = function() {\n if (this.readyState === 4 ||\n this.readyState === 'complete' ||\n this.readyState === 'loaded') {\n if (_callback) {\n _callback();\n }\n Woopra.removeScript(script);\n }\n };\n }\n else {\n script.onload = function() {\n if (_callback) {\n _callback();\n }\n Woopra.removeScript(script);\n };\n script.onerror = function() {\n Woopra.removeScript(script);\n };\n }\n\n script.src = url;\n\n ssc = document.getElementsByTagName('script')[0];\n ssc.parentNode.insertBefore(script, ssc);\n };\n\n Woopra.removeScript = function(script) {\n if (script && script.parentNode) {\n script.parentNode.removeChild(script);\n }\n };\n\n /**\n * Helper to either query an element by id, or return element if passed\n * through options\n *\n * Supports searching by ids and classnames (or querySelector if browser supported)\n */\n Woopra.getElement = function(selector, options) {\n var _options = typeof selector === 'string' ? options || {} : selector || {};\n var _selector = selector;\n\n if (_options.el) {\n return _options.el;\n }\n else if (typeof selector === 'string') {\n if (document.querySelectorAll) {\n return document.querySelectorAll(_selector);\n }\n else if (selector[0] === '#') {\n _selector = selector.substr(1);\n return document.getElementById(_selector);\n }\n else if (selector[0] === '.') {\n _selector = selector.substr(1);\n return document.getElementsByClassName(_selector);\n }\n }\n };\n\n /**\n * Retrieves the current client domain name using the hostname\n * and returning the last two tokens with a `.` separator (domain + tld).\n *\n * This can be an issue if there is a second level domain\n */\n Woopra.getDomain = function(hostname) {\n var _hostname = hostname || Woopra.location('hostname');\n var secondLevelTlds = {\n 'com.au': 1,\n 'net.au': 1,\n 'org.au': 1,\n 'co.hu': 1,\n 'com.ru': 1,\n 'ac.za': 1,\n 'net.za': 1,\n 'com.za': 1,\n 'co.za': 1,\n 'co.uk': 1,\n 'org.uk': 1,\n 'me.uk': 1,\n 'net.uk': 1\n };\n var domain = _hostname.substring(_hostname.lastIndexOf('.', _hostname.lastIndexOf('.') - 1) + 1);\n\n // check if domain is in list of second level domains, ignore if so\n if (secondLevelTlds[domain]) {\n domain = _hostname.substring(_hostname.lastIndexOf('.', _hostname.indexOf(domain) - 2) + 1);\n }\n\n return domain;\n };\n\n /**\n * Returns the current hostname with 'www' stripped out\n */\n Woopra.getHostnameNoWww = function() {\n var hostname = Woopra.location('hostname');\n\n if (hostname.indexOf('www.') === 0) {\n return hostname.replace('www.', '');\n }\n\n return hostname;\n };\n\n /**\n * Checks if string ends with suffix\n *\n * @param {string} str The haystack string\n * @param {string} suffix The needle\n * @return {boolean} True if needle was found in haystack\n */\n Woopra.endsWith = function(str, suffix) {\n return str.indexOf(suffix, str.length - suffix.length) !== -1;\n };\n\n /**\n * Checks if string starts with prefix\n *\n * @param {string} str The haystack string\n * @param {string} prefix The needle\n * @return {boolean} True if needle was found in haystack\n */\n Woopra.startsWith = function(str, prefix) {\n return str.indexOf(prefix) === 0;\n };\n\n _on = Woopra._on = function(parent, event, callback) {\n var id = parent.instanceName;\n\n if (!_handler[event]) {\n _handler[event] = {};\n }\n _handler[event][id] = parent;\n\n if (parent.__l) {\n if (!parent.__l[event]) {\n parent.__l[event] = [];\n }\n parent.__l[event].push(callback);\n }\n };\n\n Woopra._fire = function(event) {\n var handler;\n var _event = _handler[event];\n var _l;\n\n if (_event) {\n for (var id in _event) {\n if (_event.hasOwnProperty(id)) {\n handler = _event[id];\n _l = handler && handler.__l;\n if (_l && _l[event]) {\n for (var i = 0; i < _l[event].length; i++) {\n _l[event][i].apply(this, Array.prototype.slice.call(arguments, 1));\n }\n }\n\n }\n }\n }\n };\n\n Woopra.attachEvent = function(element, type, callback) {\n if (element.addEventListener) {\n element.addEventListener(type, callback);\n }\n else if (element.attachEvent) {\n /*eslint-disable*/\n element.attachEvent('on' + type, function(e) {\n var e = e || win.event;\n e.preventDefault = e.preventDefault || function() {e.returnValue = false};\n e.stopPropagation = e.stopPropagation || function() {e.cancelBubble = true};\n callback.call(self, e);\n });\n /*eslint-enable*/\n }\n };\n\n Woopra.leftClick = function(evt) {\n evt = evt || window.event;\n var button = (typeof evt.which !== 'undefined' && evt.which === 1) ||\n (typeof evt.button !== 'undefined' && evt.button === 0);\n return button && !evt.metaKey && !evt.altKey && !evt.ctrlKey && !evt.shiftKey;\n };\n\n Woopra.redirect = function(link) {\n Woopra.location('href', link);\n };\n\n /**\n * Determines if the current URL should be considered an outgoing URL\n */\n Woopra.isOutgoingLink = function(targetHostname) {\n var currentHostname = Woopra.location('hostname');\n var currentDomain = Woopra.getDomain(currentHostname);\n\n return targetHostname !== currentHostname &&\n targetHostname.replace(/^www\\./, '') !== currentHostname.replace(/^www\\./, '') &&\n (\n !_outgoing_ignore_subdomain ||\n currentDomain !== Woopra.getDomain(targetHostname)\n ) &&\n !Woopra.startsWith(targetHostname, 'javascript') &&\n targetHostname !== '' &&\n targetHostname !== '#';\n };\n\n // attaches any events\n // needs to be handled here, instead of in a tracking instance because\n // these events should only be fired once on a page\n (function(on, fire) {\n on(document, 'mousedown', function(e) {\n var cElem;\n\n fire('mousemove', e, new Date());\n\n if (_auto_decorate) {\n cElem = e.srcElement || e.target;\n while (typeof cElem !== 'undefined' && cElem !== null) {\n if (cElem.tagName && cElem.tagName.toLowerCase() === 'a') {\n break;\n }\n cElem = cElem.parentNode;\n }\n if (typeof cElem !== 'undefined' && cElem !== null) {\n fire('auto_decorate', cElem);\n }\n }\n });\n\n on(document, 'click', function(e) {\n var cElem,\n link,\n ignoreTarget = '_blank',\n _download;\n\n cElem = e.srcElement || e.target;\n\n if (Woopra.leftClick(e)) {\n fire('click', e, cElem);\n }\n\n if (_download_tracking || _outgoing_tracking) {\n\n // searches for an anchor element\n while (typeof cElem !== 'undefined' && cElem !== null) {\n if (cElem.tagName && cElem.tagName.toLowerCase() === 'a') {\n break;\n }\n cElem = cElem.parentNode;\n }\n\n if (typeof cElem !== 'undefined' && cElem !== null &&\n !cElem.getAttribute('data-woopra-tracked')) {\n link = cElem;\n _download = link.pathname.match(/(?:doc|dmg|eps|svg|xls|ppt|pdf|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3|mp4|m4v)($|\\&)/);\n\n if (_download_tracking && _download) {\n fire('download', link.href);\n\n if (link.target !== ignoreTarget && Woopra.leftClick(e)) {\n e.preventDefault();\n e.stopPropagation();\n\n link.setAttribute('data-woopra-tracked', true);\n window.setTimeout(function() {\n link.click();\n }, _download_pause);\n }\n }\n // Make sure\n // * outgoing tracking is enabled\n // * this URL does not match a download URL (doesn't end\n // in a binary file extension)\n // * not ignoring subdomains OR link hostname is not a partial\n // match of current hostname (to check for subdomains),\n // * hostname is not empty\n if (_outgoing_tracking &&\n !_download &&\n Woopra.isOutgoingLink(link.hostname)) {\n fire('outgoing', link.href);\n\n if (link.target !== ignoreTarget && Woopra.leftClick(e)) {\n e.preventDefault();\n e.stopPropagation();\n\n link.setAttribute('data-woopra-tracked', true);\n\n window.setTimeout(function() {\n link.click();\n }, _outgoing_pause);\n }\n }\n }\n }\n });\n\n on(document, 'mousemove', function(e) {\n fire('mousemove', e, new Date());\n });\n\n on(document, 'keydown', function() {\n fire('keydown');\n });\n })(Woopra.attachEvent, Woopra._fire);\n\n var Tracker = function(instanceName) {\n this.visitorData = {};\n this.sessionData = {};\n\n this.options = {\n app: 'js-client',\n use_cookies: true,\n ping: true,\n ping_interval: 12000,\n idle_timeout: 300000,\n idle_threshold: 10000,\n download_pause: _download_pause || 200,\n outgoing_pause: _outgoing_pause || 200,\n download_tracking: false,\n outgoing_tracking: false,\n outgoing_ignore_subdomain: true,\n hide_campaign: false,\n hide_xdm_data: false,\n campaign_once: false,\n third_party: false,\n save_url_hash: true,\n cross_domain: false,\n region: null,\n ignore_query_url: false,\n map_query_params: {},\n cookie_name: 'wooTracker',\n cookie_domain: '.' + Woopra.getHostnameNoWww(),\n cookie_path: '/',\n cookie_expire: new Date(new Date().setDate(new Date().getDate() + 730))\n };\n\n this.instanceName = instanceName || 'woopra';\n this.idle = 0;\n this.cookie = '';\n this.last_activity = new Date();\n this.loaded = false;\n this.dirtyCookie = false;\n this.sentCampaign = false;\n this.version = VERSION;\n\n if (instanceName && instanceName !== '') {\n window[instanceName] = this;\n }\n };\n\n Tracker.prototype = {\n docCookies: docCookies,\n init: function() {\n var callback,\n self = this;\n\n this.__l = {};\n this._processQueue('config');\n this._setupCookie();\n this._bindEvents();\n\n // Otherwise loading indicator gets stuck until the every response\n // in the queue has been received\n setTimeout(function() {\n self._processQueue();\n }, 1);\n\n this.loaded = true;\n\n callback = this.config('initialized');\n if (callback && typeof callback === 'function') {\n callback(this.instanceName);\n }\n\n // Safe to remove cross domain url parameter after setupCookie is called\n // Should only need to be called once on load\n if (this.config('hide_xdm_data')) {\n Woopra.hideCrossDomainId();\n }\n\n },\n\n /**\n * Processes the tracker queue in case user tries to push events\n * before tracker is ready.\n */\n _processQueue: function(type) {\n var i,\n action,\n events,\n _wpt;\n\n _wpt = window.__woo ? window.__woo[this.instanceName] : _wpt;\n _wpt = window._w ? window._w[this.instanceName] : _wpt;\n\n // if _wpt is undefined, means script was loaded asynchronously and\n // there is no queue\n\n if (_wpt && _wpt._e) {\n events = _wpt._e;\n for (i = 0; i < events.length; i++) {\n action = events[i];\n if (typeof action !== 'undefined' && this[action[0]] &&\n (typeof type === 'undefined' || type === action[0])) {\n this[action[0]].apply(this, Array.prototype.slice.call(action, 1));\n }\n }\n }\n },\n\n /**\n * Sets up the tracking cookie\n */\n _setupCookie: function() {\n var url_id = this.getUrlId();\n\n this.cookie = this.getCookie();\n\n // overwrite saved cookie if id is in url\n if (url_id) {\n this.cookie = url_id;\n }\n\n // Setup cookie\n if (!this.cookie || this.cookie.length < 1) {\n this.cookie = Woopra.randomString();\n }\n\n docCookies.setItem(\n this.config('cookie_name'),\n this.cookie,\n this.config('cookie_expire'),\n this.config('cookie_path'),\n this.config('cookie_domain')\n );\n\n this.dirtyCookie = true;\n },\n\n /**\n * Binds some events to measure mouse and keyboard events\n */\n _bindEvents: function() {\n var self = this;\n\n _on(this, 'mousemove', function() {\n self.moved.apply(self, arguments);\n });\n _on(this, 'keydown', function() {\n self.typed.apply(self, arguments);\n });\n _on(this, 'download', function() {\n self.downloaded.apply(self, arguments);\n });\n _on(this, 'outgoing', function() {\n self.outgoing.apply(self, arguments);\n });\n _on(this, 'auto_decorate', function() {\n self.autoDecorate.apply(self, arguments);\n });\n },\n\n /**\n * Sets/gets values from dataStore depending on arguments passed\n *\n * @param dataStore Object The tracker property to read/write\n * @param key String/Object Returns property object if key and value is undefined,\n * acts as a getter if only `key` is defined and a string, and\n * acts as a setter if `key` and `value` are defined OR if `key` is an object.\n */\n _dataSetter: function(dataStore, key, value) {\n var i;\n\n if (typeof key === 'undefined') {\n return dataStore;\n }\n\n if (typeof value === 'undefined') {\n if (typeof key === 'string') {\n return dataStore[key];\n }\n if (typeof key === 'object') {\n for (i in key) {\n if (key.hasOwnProperty(i)) {\n if (i.substring(0, 7) === 'cookie_') {\n this.dirtyCookie = true;\n }\n dataStore[i] = key[i];\n }\n }\n }\n }\n else {\n if (key.substring(0, 7) === 'cookie_') {\n this.dirtyCookie = true;\n }\n dataStore[key] = value;\n }\n\n return this;\n },\n\n /**\n * Builds the correct tracking Url and performs an HTTP request\n */\n _push: function(options) {\n var _options = options || {},\n random = 'ra=' + Woopra.randomString(),\n queryString,\n endpoint,\n urlParam,\n scriptUrl,\n types = [\n ['visitorData', 'cv_'],\n ['eventData', 'ce_'],\n ['sessionData', 'cs_']\n ],\n _type,\n i,\n data = [];\n\n endpoint = this.getEndpoint(_options.endpoint);\n\n // Load custom visitor params from url\n Woopra.getVisitorUrlData(this);\n\n if (this.config('hide_campaign')) {\n Woopra.hideCampaignData();\n }\n\n data.push(random);\n\n // push tracker config values\n data.push(Woopra.buildUrlParams(this.getOptionParams()));\n\n // push eventName if it exists\n if (_options.eventName) {\n data.push('event=' + _options.eventName);\n }\n\n for (i in types) {\n if (types.hasOwnProperty(i)) {\n _type = types[i];\n if (_options[_type[0]]) {\n urlParam = Woopra.buildUrlParams(_options[_type[0]], _type[1]);\n if (urlParam) {\n data.push(urlParam);\n }\n }\n }\n }\n\n queryString = '?' + data.join('&');\n\n scriptUrl = endpoint + queryString;\n Woopra.loadScript(scriptUrl, _options.callback);\n },\n\n /*\n * Returns the Woopra cookie string\n */\n getCookie: function() {\n return docCookies.getItem(this.config('cookie_name'));\n },\n\n /**\n * Generates a destination endpoint string to use depending on different\n * configuration options\n */\n getEndpoint: function(path) {\n var protocol = this.config('protocol');\n var _protocol = protocol && protocol !== '' ? protocol + ':' : '';\n var _path = path || '';\n var endpoint = _protocol + '//';\n var region = this.config('region');\n var thirdPartyPath;\n\n if (this.config('third_party') && !this.config('domain')) {\n throw new Error('Error: `domain` is not set.');\n }\n\n // create endpoint, default is www.woopra.com/track/\n // China region will be cn.t.woopra.com/track\n if (region) {\n endpoint += region + '.t.';\n }\n else {\n endpoint += 'www.';\n }\n\n thirdPartyPath = this.config('third_party') ? 'tp/' + this.config('domain') : '';\n\n if (_path && !Woopra.endsWith(_path, '/')) {\n _path += '/';\n }\n\n if (thirdPartyPath && !Woopra.startsWith(_path, '/')) {\n thirdPartyPath += '/';\n }\n\n endpoint += ENDPOINT + thirdPartyPath + _path;\n\n return endpoint;\n },\n\n /**\n * Sets configuration options\n */\n config: function(key, value) {\n var data = this._dataSetter(this.options, key, value);\n\n // dataSetter returns `this` when it is used as a setter\n if (data === this) {\n // do validation\n if (this.options.ping_interval < 6000) {\n this.options.ping_interval = 6000;\n }\n else if (this.options.ping_interval > 60000) {\n this.options.ping_interval = 60000;\n }\n\n // set script wide variables for events that are bound on script load\n // since we shouldn't bind per tracker instance\n _outgoing_tracking = this.options.outgoing_tracking;\n _outgoing_pause = this.options.outgoing_pause;\n _download_tracking = this.options.download_tracking;\n _download_pause = this.options.download_pause;\n _auto_decorate = typeof _auto_decorate === 'undefined' && this.options.cross_domain ? this.options.cross_domain : _auto_decorate;\n _outgoing_ignore_subdomain = this.options.outgoing_ignore_subdomain;\n\n if (this.dirtyCookie && this.loaded) {\n this._setupCookie();\n }\n }\n\n return data;\n },\n\n /**\n * Use to attach custom visit data that doesn't stick to visitor\n * ** Not in use yet\n */\n visit: function(key, value) {\n return this._dataSetter(this.sessionData, key, value);\n },\n\n /**\n * Attach custom visitor data\n */\n identify: function(key, value) {\n return this._dataSetter(this.visitorData, key, value);\n },\n\n /**\n * Generic method to call any tracker method\n */\n call: function(funcName) {\n if (this[funcName] && typeof this[funcName] === 'function') {\n this[funcName].apply(this, Array.prototype.slice.call(arguments, 1));\n }\n\n },\n\n /**\n * Send an event to tracking servr\n */\n track: function(name, options) {\n var event = {},\n eventName = '',\n cb,\n _hash,\n _cb = arguments[arguments.length - 1];\n\n // Load campaign params (load first to allow overrides)\n if (!this.config('campaign_once') || !this.sentCampaign) {\n Woopra.extend(event, Woopra.getCampaignData());\n this.sentCampaign = true;\n }\n\n // Load query params mapping into Woopra event\n Woopra.extend(event, Woopra.mapQueryParams(this.config('map_query_params')));\n\n\n if (typeof _cb === 'function') {\n cb = _cb;\n }\n // Track default: pageview\n if (typeof name === 'undefined' || name === cb) {\n eventName = 'pv';\n }\n // Track custom events\n else if (typeof options === 'undefined' || options === cb) {\n if (typeof name === 'string') {\n eventName = name;\n }\n if (typeof name === 'object') {\n if (name.name && name.name === 'pv') {\n eventName = 'pv';\n }\n\n this._dataSetter(event, name);\n }\n }\n // Track custom events in format of name,object\n else {\n this._dataSetter(event, options);\n eventName = name;\n }\n\n // Add some defaults for pageview\n if (eventName === 'pv') {\n event.url = event.url || this.getPageUrl();\n event.title = event.title || this.getPageTitle();\n event.domain = event.domain || this.getDomainName();\n event.uri = event.uri || this.getURI();\n\n if (this.config('save_url_hash')) {\n _hash = event.hash || this.getPageHash();\n if (_hash !== '') {\n event.hash = _hash;\n }\n }\n }\n\n this._push({\n endpoint: 'ce',\n visitorData: this.visitorData,\n sessionData: this.sessionData,\n eventName: eventName,\n eventData: event,\n callback: cb\n });\n\n this.startPing();\n },\n\n /**\n * Tracks a single form and then resubmits it\n */\n trackForm: function(eventName, selector, options) {\n var els;\n var _event = eventName || 'Tracked Form';\n var _options = typeof selector === 'string' ? options || {} : selector || {};\n var bindEl;\n var self = this;\n\n bindEl = function(el, ev, props, opts) {\n Woopra.attachEvent(el, 'submit', function(e) {\n self.trackFormHandler(e, el, ev, _options);\n });\n };\n\n if (_options.elements) {\n els = _options.elements;\n }\n else {\n els = Woopra.getElement(selector, _options);\n }\n\n // attach event if form was found\n if (els && els.length > 0) {\n for (var i in els) {\n bindEl(els[i], _event, _options);\n }\n }\n },\n\n trackFormHandler: function(e, el, eventName, options) {\n var data;\n var personData;\n var trackFinished = false;\n\n if (!el.getAttribute('data-tracked')) {\n data = Woopra.serializeForm(el, options);\n\n if (options.identify && typeof options.identify === 'function') {\n personData = options.identify(data) || {};\n if (personData) {\n this.identify(personData);\n }\n }\n\n if (options.noSubmit) {\n this.track(eventName, data, function() {\n if (typeof options.callback === 'function') {\n options.callback(data);\n }\n });\n }\n else {\n e.preventDefault();\n e.stopPropagation();\n\n el.setAttribute('data-tracked', 1);\n\n // submit the form if the reply takes less than 250ms\n this.track(eventName, data, function() {\n trackFinished = true;\n\n if (typeof options.callback === 'function') {\n options.callback(data);\n }\n\n el.submit();\n });\n\n // set timeout to resubmit to be a hard 250ms\n // so even if woopra does not reply it will still\n // submit the form\n setTimeout(function() {\n if (!trackFinished) {\n el.submit();\n }\n }, 250);\n }\n }\n },\n\n /**\n * Tracks clicks\n *\n * @param {String} eventName The name of the event to track\n * @param {String} selector The id of element to track\n * @param {Object} properties Any event properties to track with\n * @param {Object} options (Optional) Options object\n * @param {Array} options.elements Supports an array of elements (jQuery object)\n * @param {Boolean} options.noNav (Default: false) If true, will only perform the track event and let the click event bubble up\n */\n trackClick: function(eventName, selector, properties, options) {\n var els = [];\n var i;\n var _options = options || {};\n var _event = eventName || 'Item Clicked';\n var bindEl;\n var self = this;\n\n bindEl = function(el, ev, props, opts) {\n Woopra.attachEvent(el, 'click', function(e) {\n self.trackClickHandler(e, el, ev, props, opts);\n });\n };\n\n /**\n * Support an array of elements\n */\n if (_options.elements) {\n els = _options.elements;\n }\n else {\n els = Woopra.getElement(selector, _options);\n }\n\n if (els) {\n for (i = 0; i < els.length; i++) {\n bindEl(els[i], _event, properties, _options);\n }\n }\n },\n\n trackClickHandler: function(e, el, eventName, properties, options) {\n var trackFinished = false;\n\n if (!el.getAttribute('data-tracked')) {\n if (options.noNav) {\n this.track(eventName, properties);\n }\n else {\n e.preventDefault();\n\n el.setAttribute('data-tracked', 1);\n\n this.track(eventName, properties, function() {\n trackFinished = true;\n\n if (typeof options.callback === 'function') {\n options.callback();\n }\n\n el.click();\n });\n\n setTimeout(function() {\n if (!trackFinished) {\n el.click();\n }\n }, 250);\n }\n }\n },\n\n startPing: function() {\n var self = this;\n\n if (typeof this.pingInterval === 'undefined') {\n this.pingInterval = window.setInterval(function() {\n self.ping();\n }, this.config('ping_interval'));\n }\n },\n\n stopPing: function() {\n if (typeof this.pingInterval !== 'undefined') {\n window.clearInterval(this.pingInterval);\n delete this.pingInterval;\n }\n },\n\n /**\n * Pings tracker with visitor info\n */\n ping: function() {\n var now;\n\n if (this.config('ping') && this.idle < this.config('idle_timeout')) {\n this._push({\n endpoint: 'ping'\n });\n }\n else {\n this.stopPing();\n }\n\n now = new Date();\n if (now - this.last_activity > this.config('idle_threshold')) {\n this.idle = now - this.last_activity;\n }\n\n return this;\n },\n\n /**\n * Pushes visitor data to server without sending an event\n */\n push: function(cb) {\n this._push({\n endpoint: 'identify',\n visitorData: this.visitorData,\n sessionData: this.sessionData,\n callback: cb\n });\n return this;\n },\n\n /**\n * synchronous sleep\n */\n sleep: function() {\n },\n\n // User Action tracking and event handlers\n\n /**\n * Clicks\n */\n\n /**\n * Measure when the user last moved their mouse to update idle state\n */\n moved: function(e, last_activity) {\n this.last_activity = last_activity;\n this.idle = 0;\n },\n\n /**\n * Measure when user last typed\n */\n typed: function() {\n this.vs = 2;\n },\n\n downloaded: function(url) {\n this.track('download', {\n url: url\n });\n },\n\n outgoing: function(url) {\n this.track('outgoing', {\n url: url\n });\n },\n\n /**\n * Event handler for decorating an element with a URL (for now only\n * anchor tags)\n */\n autoDecorate: function(elem) {\n var decorated;\n var canDecorate;\n var xdm = this.config('cross_domain');\n\n if (xdm) {\n if (typeof xdm === 'string') {\n canDecorate = elem.href.indexOf(xdm) > -1;\n }\n else if (xdm.push) {\n canDecorate = xdm.indexOf(elem.hostname) > -1;\n }\n\n if (canDecorate) {\n decorated = this.decorate(elem);\n\n if (decorated) {\n elem.href = decorated;\n // bind an event handler on mouseup to remove the url\n }\n }\n }\n },\n\n /**\n * Resets cookie\n */\n reset: function() {\n docCookies.removeItem(\n this.config('cookie_name'),\n this.config('cookie_path'),\n this.config('cookie_domain')\n );\n this.cookie = null;\n this._setupCookie();\n },\n\n /**\n * Decorates a given URL with a __woopraid query param with value of\n * the current cookie\n */\n decorate: function(url) {\n var el;\n var query;\n var pathname;\n var host;\n\n if (typeof url === 'string') {\n el = document.createElement('a');\n el.href = url;\n query = el.search ? '&' : '?';\n }\n else if (url && url.href) {\n el = url;\n }\n\n if (el) {\n query = el.search ? '&' : '?';\n pathname = el.pathname && el.pathname.charAt(0) === '/' ? el.pathname : '/' + el.pathname;\n\n host = el.hostname + (el.port && el.port !== '' && el.port !== '80' && el.port !== '0' ? ':' + el.port : '');\n\n return el.protocol + '//' +\n host +\n pathname +\n el.search +\n query + XDM_PARAM_NAME + '=' + this.cookie +\n el.hash;\n }\n },\n\n /**\n * Undecorates a URL with __woopraid query param\n */\n undecorate: function(url) {\n var regex = new RegExp('[?&]+(?:' + XDM_PARAM_NAME + ')=([^&#]*)', 'gi');\n var _url = url;\n\n if (url && url.href) {\n _url = url.href;\n }\n\n if (_url) {\n return _url.replace(regex, '');\n }\n },\n\n getPageUrl: function() {\n if (this.options.ignore_query_url) {\n return Woopra.location('pathname');\n }\n else {\n return Woopra.location('pathname') + Woopra.location('search');\n }\n },\n\n getPageHash: function() {\n return Woopra.location('hash');\n },\n\n getPageTitle: function() {\n return (document.getElementsByTagName('title').length === 0) ? '' : document.getElementsByTagName('title')[0].innerHTML;\n },\n\n getDomainName: function() {\n return Woopra.location('hostname');\n },\n\n getURI: function() {\n return Woopra.location('href');\n },\n\n /**\n * Retrieves a Woopra unique id from a URL's query param (__woopraid)\n *\n * @param {String} href The full URL to extract from\n */\n getUrlId: function(href) {\n var _href = href || Woopra.location('href');\n var matches;\n var regex = new RegExp(XDM_PARAM_NAME + '=([^&#]+)');\n\n matches = _href.match(regex);\n\n if (matches && matches[1]) {\n return matches[1];\n }\n },\n\n getOptionParams: function() {\n // default params\n var o = {\n alias: this.config('domain') || Woopra.getHostnameNoWww(),\n instance: this.instanceName,\n ka: this.config('keep_alive') || this.config('ping_interval') * 2,\n meta: docCookies.getItem('wooMeta') || '',\n screen: window.screen.width + 'x' + window.screen.height,\n language: window.navigator.browserLanguage || window.navigator.language || '',\n app: this.config('app'),\n referer: this.config('referer') || document.referrer,\n idle: '' + parseInt(this.idle / 1000, 10),\n vs: 'i'\n };\n\n if (!this.config('domain')) {\n o._warn = 'no_domain';\n\n if (Woopra.getHostnameNoWww() !== Woopra.getDomain()) {\n o._warn += ',domain_mismatch';\n }\n }\n\n // set cookie if configured\n if (this.config('use_cookies')) {\n o.cookie = this.getCookie() || this.cookie;\n }\n\n // set ip if configured\n if (this.config('ip')) {\n o.ip = this.config('ip');\n }\n // this.vs is 2 after typing so 'writing'\n if (this.vs === 2) {\n o.vs = 'w';\n this.vs = 0;\n }\n else if (this.idle === 0) {\n o.vs = 'r';\n }\n\n return o;\n },\n\n /**\n * Stop ping timers and cleanup any globals. Shouldn't really\n * be needed by clients.\n */\n dispose: function() {\n this.stopPing();\n\n for (var id in this.__l) {\n if (this.__l.hasOwnProperty(id)) {\n _handler[id][this.instanceName] = null;\n }\n }\n this.__l = null;\n\n // cleanup global\n if (typeof window[this.instanceName] !== 'undefined') {\n try {\n delete window[this.instanceName];\n }\n catch(e) {\n window[this.instanceName] = undefined;\n }\n }\n }\n };\n\n window.WoopraTracker = Tracker;\n window.WoopraLoadScript = Woopra.loadScript;\n\n if (typeof window.exports !== 'undefined') {\n Woopra.Tracker = Tracker;\n window.exports.Woopra = Woopra;\n\n if (typeof window.woopraLoaded === 'function') {\n window.woopraLoaded();\n window.woopraLoaded = null;\n }\n }\n\n // Initialize instances & preloaded settings/events\n var _queue = window.__woo || window._w;\n if (typeof _queue !== 'undefined') {\n for (var name in _queue) {\n if (_queue.hasOwnProperty(name)) {\n var instance = new Tracker(name);\n instance.init();\n\n // DO NOT REMOVE\n // compatibility with old tracker and chat\n if (typeof window.woopraTracker === 'undefined') {\n window.woopraTracker = instance;\n }\n }\n }\n }\n\n})(window, document);\n"; -},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(2),i=n(2),a=n(66),u=o.createFactory(n(103)),s=n(104),c=n(64),l=n(2).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(2),i=o.DOM.div,a=n(105),u=n(106),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(102)},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(2),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(){return u.Children.only(this.props.children)},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(e){return E.value=e,E}}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=!!e,p=e||C,h=void 0;h="function"==typeof t?t:t?(0,y.default)(t):S;var m=n||O,g=r.pure,_=void 0===g||g,b=r.withRef,k=void 0!==b&&b,P=_&&m!==O,A=T++;return function(e){function t(e,t,n){var r=m(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=A,a.store=e.store||t.store,(0,x.default)(a.store,'Could not find "store" in either the context or '+('props of "'+n+'". ')+"Either wrap the root component in a , "+('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!_||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,v.default)(e,this.stateProps)||(this.stateProps=e,0))},u.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return!(this.dispatchProps&&(0,v.default)(e,this.dispatchProps)||(this.dispatchProps=e,0))},u.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&P&&(0,v.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){_&&(0,v.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(!_||t!==e){if(_&&!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,x.default)(k,"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;_&&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=k?(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,w.default)(r,e)}}t.__esModule=!0;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.default=c;var f=n(2),p=n(28),d=r(p),h=n(110),v=r(h),m=n(111),y=r(m),g=n(29),_=(r(g),n(16)),b=(r(_),n(81)),w=r(b),k=n(82),x=r(k),C=function(e){return{}},S=function(e){return{dispatch:e}},O=function(e,t,n){return l({},n,e,t)},E={value:null},T=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(8)},function(e,t,n){!function(t,r){e.exports=r(n(2),n(2))}(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);this.canvas||(this.canvas=document.createElement("canvas"));var t=this.canvas;this.ctx||(this.ctx=t.getContext("2d"));var n=this.ctx,r=e.videoWidth/e.videoHeight;return t.width=e.clientWidth,t.height=e.clientWidth/r,n.drawImage(e,0,0,t.width,t.height),t},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){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,n){"use strict";function r(e,t){return e===t}function o(e,t,n){n=n||r;var o=i(e(),t);return function(r){return function(){var a=i(e(),t);if(!n(o,a)){var u=o;o=a,r(a,u,t)}}}}var i=n(92).get;e.exports=o},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(e){u=e}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){e.exports=function(e){"undefined"!=typeof execScript?execScript(e):eval.call(null,e)}},function(e,t,n){n(118)(n(101))},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){e.exports=n(122)},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(123),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(34)(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}])}); +!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){e.exports={"video-overlay":"onfido-sdk-ui-Camera-video-overlay",video:"onfido-sdk-ui-Camera-video",uploadFallback:"onfido-sdk-ui-Camera-uploadFallback"}},function(e,t){e.exports={camera:"onfido-sdk-ui-Capture-camera",uploader:"onfido-sdk-ui-Capture-uploader"}},function(e,t){e.exports={icon:"onfido-sdk-ui-Complete-icon"}},function(e,t){e.exports={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",fileViewer:"onfido-sdk-ui-Confirm-fileViewer"}},function(e,t){e.exports={countdown:"onfido-sdk-ui-Countdown-countdown"}},function(e,t){e.exports={capture:"onfido-sdk-ui-Document-capture",rectangle:"onfido-sdk-ui-Document-rectangle"}},function(e,t){e.exports={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){e.exports={base:"onfido-sdk-ui-Error-base",hidden:"onfido-sdk-ui-Error-hidden"}},function(e,t){e.exports={circle:"onfido-sdk-ui-Face-circle",instructions:"onfido-sdk-ui-Face-instructions"}},function(e,t){e.exports={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){e.exports={methods:"onfido-sdk-ui-Select-methods",wrapper:"onfido-sdk-ui-Select-wrapper"}},function(e,t){e.exports={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){e.exports={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){e.exports={"mtop-large":"onfido-sdk-ui-Welcome-mtop-large"}},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(e){}}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){function n(e,t,n,o){return JSON.stringify(e,r(t,o),n)}function r(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"}),function(o,i){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,o):r.push(o),~n.indexOf(i)&&(i=t.call(this,o,i))}else n.push(i);return null==e?i:e.call(this,o,i)}}t=e.exports=n,t.getSerialize=r},function(e,t,n){function r(e){return null==e?void 0===e?s:u:(e=Object(e),c&&c in e?i(e):a(e))}var o=n(23),i=n(81),a=n(82),u="[object Null]",s="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t,n){var r=n(83),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=u.call(e);return r&&(t?e[s]=n:delete e[s]),o}var o=n(23),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,s=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){var r=n(79),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){var r,o,i;!function(n,a){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=a():(o=[],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i)))}(this,function(){"use strict";function e(e){if(!e)return!0;if(i(e)&&0===e.length)return!0;if(!r(e)){for(var t in e)if(f.call(e,t))return!1;return!0}return!1}function t(e){return l.call(e)}function n(e){return"number"==typeof e||"[object Number]"===t(e)}function r(e){return"string"==typeof e||"[object String]"===t(e)}function o(e){return"object"==typeof e&&"[object Object]"===t(e)}function i(e){return"object"==typeof e&&"number"==typeof e.length&&"[object Array]"===t(e)}function a(e){return"boolean"==typeof e||"[object Boolean]"===t(e)}function u(e){var t=parseInt(e);return""+t===e?t:e}function s(t,o,i,a){if(n(o)&&(o=[o]),e(o))return t;if(r(o))return s(t,o.split(".").map(u),i,a);var c=o[0];if(1===o.length){var l=t[c];return void 0!==l&&a||(t[c]=i),l}return void 0===t[c]&&(t[c]=n(o[1])?[]:{}),s(t[c],o.slice(1),i,a)}function c(t,o){if(n(o)&&(o=[o]),!e(t)){if(e(o))return t;if(r(o))return c(t,o.split("."));var a=u(o[0]),s=t[a];if(1===o.length)void 0!==s&&(i(t)?t.splice(a,1):delete t[a]);else if(void 0!==t[a])return c(t[a],o.slice(1));return t}}var l=Object.prototype.toString,f=Object.prototype.hasOwnProperty,p=function(e){return Object.keys(p).reduce(function(t,n){return"function"==typeof p[n]&&(t[n]=p[n].bind(p,e)),t},{})};return p.has=function(t,a){if(e(t))return!1;if(n(a)?a=[a]:r(a)&&(a=a.split(".")),e(a)||0===a.length)return!1;for(var u=0;a.length>u;u++){var s=a[u];if(!o(t)&&!i(t)||!f.call(t,s))return!1;t=t[s]}return!0},p.ensureExists=function(e,t,n){return s(e,t,n,!0)},p.set=function(e,t,n,r){return s(e,t,n,r)},p.insert=function(e,t,n,r){var o=p.get(e,t);r=~~r,i(o)||(o=[],p.set(e,t,o)),o.splice(r,0,n)},p.empty=function(t,u){if(e(u))return t;if(!e(t)){var s,c;if(!(s=p.get(t,u)))return t;if(r(s))return p.set(t,u,"");if(a(s))return p.set(t,u,!1);if(n(s))return p.set(t,u,0);if(i(s))s.length=0;else{if(!o(s))return p.set(t,u,null);for(c in s)f.call(s,c)&&delete s[c]}}},p.push=function(e,t){var n=p.get(e,t);i(n)||(n=[],p.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},p.coalesce=function(e,t,n){for(var r,o=0,i=t.length;i>o;o++)if(void 0!==(r=p.get(e,t[o])))return r;return n},p.get=function(t,o,i){if(n(o)&&(o=[o]),e(o))return t;if(e(t))return i;if(r(o))return p.get(t,o.split("."),i);var a=u(o[0]);return 1===o.length?void 0===t[a]?i:t[a]:p.get(t[a],o.slice(1),i)},p.del=function(e,t){return c(e,t)},p})},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(e){console.log(e)}}t.__esModule=!0,t.default=i;var a=n(88),u=r(a),s=n(15),c=n(95),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(98),s=o(u),c=n(25),l=o(c),f=n(6),p=r(f),d=n(15),h=n(116),v=o(h),m=d.actions.setWebSocketError,y=d.actions.setAuthenticated,g=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 v.default(r);o.onerror=function(e){l.default.emit("onError"),m(!0)},o.onopen=function(){t.socket=o,t.onMessage(),y(!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=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.subcribeByWatching=void 0;var o=n(117),i=r(o),a=n(55),u=r(a);t.subcribeByWatching=function(e,t){return function(n,r){var o=(0,i.default)(function(){return n(e())},null,u.default);t(o(r))}}},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(6),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(6),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,v=o.slice(0,f-1);return u([p].concat(i(v)));case l.CAPTURE_VALIDATE:var m=c({valid:n.valid,processed:!0});return u(m);case l.CAPTURE_CONFIRM:var y=c({confirmed:!0});return u(y);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(6),l=o(c),f=n(10),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(10),u=o(a),s=n(6),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(8),i=n(92),a=n(93),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){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&&(k&&e[k]||e[x]);if("function"==typeof t)return t}function r(e){function t(t,n,r,o,i,a){if(o=o||C,a=a||r,null==n[r]){var u=b[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=v(a);if(u!==e){var s=b[o],c=m(a);return Error("Invalid "+s+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return r(t)}function i(){return r(w.thatReturns(null))}function a(e){function t(t,n,r,o,i){var a=t[n];if(!Array.isArray(a)){var u=b[o],s=v(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(!_.isValidElement(e[t])){var i=b[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=b[o],u=e.name||C,s=y(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=b[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=v(a);if("object"!==u){var s=b[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=b[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=b[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=v(a);if("object"!==u){var s=b[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||_.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 v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function m(e){var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){return e.constructor&&e.constructor.name?e.constructor.name:C}var g="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,_={};_.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===g};var b={prop:"prop",context:"context",childContext:"child context"},w={thatReturns:function(e){return function(){return e}}},k="function"==typeof Symbol&&Symbol.iterator,x="@@iterator",C="<>",S={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=S})},function(e,t,n){"use strict";function r(e,t){return t.encode?t.strict?o(e):encodeURIComponent(e):e}var o=n(123),i=n(10);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";function n(e){this.name="RavenConfigError",this.message=e}n.prototype=Error(),n.prototype.constructor=n,e.exports=n},function(e,t){"use strict";var n=function(e,t,n){var r=e[t],o=e;if(t in e){var i="warn"===t?"warning":t;e[t]=function(){var e=[].slice.call(arguments),t=""+e.join(" "),a={level:i,logger:"console",extra:{arguments:e}};n&&n(t,a),r&&Function.prototype.apply.call(r,o,e)}}};e.exports={wrapMethod:n}},function(e,t,n){(function(t){"use strict";function r(){return+new Date}function o(){this._hasJSON=!("object"!=typeof JSON||!JSON.stringify),this._hasDocument=!i(P),this._lastCapturedException=null,this._lastEventId=null,this._globalServer=null,this._globalKey=null,this._globalProject=null,this._globalContext={},this._globalOptions={logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],crossOrigin:"anonymous",collectWindowErrors:!0,maxMessageLength:0,stackTraceLimit:50,autoBreadcrumbs:!0},this._ignoreOnError=0,this._isRavenInstalled=!1,this._originalErrorStackTraceLimit=Error.stackTraceLimit,this._originalConsole=T.console||{},this._originalConsoleMethods={},this._plugins=[],this._startTime=r(),this._wrappedBuiltIns=[],this._breadcrumbs=[],this._lastCapturedEvent=null,this._location=T.location,this._lastHref=this._location&&this._location.href;for(var e in this._originalConsole)this._originalConsoleMethods[e]=this._originalConsole[e]}function i(e){return void 0===e}function a(e){return"function"==typeof e}function u(e){return"[object String]"===A.toString.call(e)}function s(e){return"object"==typeof e&&null!==e}function c(e){for(var t in e)return!1;return!0}function l(e){var t=A.toString.call(e);return s(e)&&"[object Error]"===t||"[object Exception]"===t||e instanceof Error}function f(e,t){var n,r;if(i(e.length))for(n in e)h(e,n)&&t.call(null,n,e[n]);else if(r=e.length)for(n=0;r>n;n++)t.call(null,n,e[n])}function p(e,t){return t?(f(t,function(t,n){e[t]=n}),e):e}function d(e,t){return t&&e.length>t?e.substr(0,t)+"…":e}function h(e,t){return A.hasOwnProperty.call(e,t)}function v(e){for(var t,n=[],r=0,o=e.length;o>r;r++)t=e[r],u(t)?n.push(t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):t&&t.source&&n.push(t.source);return RegExp(n.join("|"),"i")}function m(e){var t=[];return f(e,function(e,n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}),t.join("&")}function y(e){var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{protocol:t[2],host:t[4],path:t[5],relative:t[5]+n+r}}function g(){var e=window.crypto||window.msCrypto;if(!i(e)&&e.getRandomValues){var t=new Uint16Array(8);e.getRandomValues(t),t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;var n=function(e){for(var t=e.toString(16);4>t.length;)t="0"+t;return t};return n(t[0])+n(t[1])+n(t[2])+n(t[3])+n(t[4])+n(t[5])+n(t[6])+n(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)})}function _(e){for(var t,n=5,r=80,o=[],i=0,a=0,u=" > ",s=u.length;e&&i++=i||r>a+o.length*s+t.length));)o.push(t),a+=t.length,e=e.parentNode;return o.reverse().join(u)}function b(e){var t,n,r,o,i,a=[];if(!e||!e.tagName)return"";if(a.push(e.tagName.toLowerCase()),e.id&&a.push("#"+e.id),t=e.className,t&&u(t))for(n=t.split(" "),i=0;n.length>i;i++)a.push("."+n[i]);var s=["type","name","title","alt"];for(i=0;s.length>i;i++)r=s[i],o=e.getAttribute(r),o&&a.push("["+r+'="'+o+'"]');return a.join("")}function w(e,t,n,r){var o=e[t];e[t]=n(o),r&&r.push([e,t,o])}var k=n(103),x=n(99),C=n(77),S=n(100).wrapMethod,O="source protocol user pass host port path".split(" "),E=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/,T="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},P=T.document;o.prototype={VERSION:"3.9.0",debug:!1,TraceKit:k,config:function(e,t){var n=this;if(n._globalServer)return this._logDebug("error","Error: Raven has already been configured"),n;if(!e)return n;var r=n._globalOptions;t&&f(t,function(e,t){"tags"===e||"extra"===e||"user"===e?n._globalContext[e]=t:r[e]=t}),n.setDSN(e),r.ignoreErrors.push(/^Script error\.?$/),r.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),r.ignoreErrors=v(r.ignoreErrors),r.ignoreUrls=!!r.ignoreUrls.length&&v(r.ignoreUrls),r.whitelistUrls=!!r.whitelistUrls.length&&v(r.whitelistUrls),r.includePaths=v(r.includePaths),r.maxBreadcrumbs=Math.max(0,Math.min(r.maxBreadcrumbs||100,100));var o={xhr:!0,console:!0,dom:!0,location:!0},i=r.autoBreadcrumbs;return"[object Object]"==={}.toString.call(i)?i=p(o,i):i!==!1&&(i=o),r.autoBreadcrumbs=i,k.collectWindowErrors=!!r.collectWindowErrors,n},install:function(){var e=this;return e.isSetup()&&!e._isRavenInstalled&&(k.report.subscribe(function(){e._handleOnErrorStackInfo.apply(e,arguments)}),e._instrumentTryCatch(),e._globalOptions.autoBreadcrumbs&&e._instrumentBreadcrumbs(),e._drainPlugins(),e._isRavenInstalled=!0),Error.stackTraceLimit=e._globalOptions.stackTraceLimit,this},setDSN:function(e){var t=this,n=t._parseDSN(e),r=n.path.lastIndexOf("/"),o=n.path.substr(1,r);t._dsn=e,t._globalKey=n.user,t._globalSecret=n.pass&&n.pass.substr(1),t._globalProject=n.path.substr(r+1),t._globalServer=t._getGlobalServer(n),t._globalEndpoint=t._globalServer+"/"+o+"api/"+t._globalProject+"/store/"},context:function(e,t,n){return a(e)&&(n=t||[],t=e,e=void 0),this.wrap(e,t).apply(this,n)},wrap:function(e,t,n){function r(){var r=[],i=arguments.length,u=!e||e&&e.deep!==!1;for(n&&a(n)&&n.apply(this,arguments);i--;)r[i]=u?o.wrap(e,arguments[i]):arguments[i];try{return t.apply(this,r)}catch(t){throw o._ignoreNextOnError(),o.captureException(t,e),t}}var o=this;if(i(t)&&!a(e))return e;if(a(e)&&(t=e,e=void 0),!a(t))return t;try{if(t.__raven__)return t;if(t.__raven_wrapper__)return t.__raven_wrapper__}catch(e){return t}for(var u in t)h(t,u)&&(r[u]=t[u]);return r.prototype=t.prototype,t.__raven_wrapper__=r,r.__raven__=!0,r.__inner__=t,r},uninstall:function(){return k.report.uninstall(),this._restoreBuiltIns(),Error.stackTraceLimit=this._originalErrorStackTraceLimit,this._isRavenInstalled=!1,this},captureException:function(e,t){if(!l(e))return this.captureMessage(e,p({trimHeadFrames:1,stacktrace:!0},t));this._lastCapturedException=e;try{var n=k.computeStackTrace(e);this._handleStackInfo(n,t)}catch(t){if(e!==t)throw t}return this},captureMessage:function(e,t){if(!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(e)){t=t||{};var n=p({message:e+""},t);if(this._globalOptions.stacktrace||t&&t.stacktrace){var r;try{throw Error(e)}catch(e){r=e}r.name=null,t=p({fingerprint:e,trimHeadFrames:(t.trimHeadFrames||0)+1},t);var o=k.computeStackTrace(r),i=this._prepareFrames(o,t);n.stacktrace={frames:i.reverse()}}return this._send(n),this}},captureBreadcrumb:function(e){var t=p({timestamp:r()/1e3},e);if(a(this._globalOptions.breadcrumbCallback)){var n=this._globalOptions.breadcrumbCallback(t);if(s(n)&&!c(n))t=n;else if(n===!1)return this}return this._breadcrumbs.push(t),this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(e){var t=[].slice.call(arguments,1);return this._plugins.push([e,t]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(e){return this._globalContext.user=e,this},setExtraContext:function(e){return this._mergeContext("extra",e),this},setTagsContext:function(e){return this._mergeContext("tags",e),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(C(this._globalContext))},setEnvironment:function(e){return this._globalOptions.environment=e,this},setRelease:function(e){return this._globalOptions.release=e,this},setDataCallback:function(e){var t=this._globalOptions.dataCallback;return this._globalOptions.dataCallback=a(e)?function(n){return e(n,t)}:e,this},setBreadcrumbCallback:function(e){var t=this._globalOptions.breadcrumbCallback;return this._globalOptions.breadcrumbCallback=a(e)?function(n){return e(n,t)}:e,this},setShouldSendCallback:function(e){var t=this._globalOptions.shouldSendCallback;return this._globalOptions.shouldSendCallback=a(e)?function(n){return e(n,t)}:e,this},setTransport:function(e){return this._globalOptions.transport=e,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!(!this._hasJSON||!this._globalServer&&(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug("error","Error: Raven has not been configured.")),1))},afterLoad:function(){var e=T.RavenConfig;e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if(P){e=e||{};var t=e.eventId||this.lastEventId();if(!t)throw new x("Missing eventId");var n=e.dsn||this._dsn;if(!n)throw new x("Missing DSN");var r=encodeURIComponent,o="";o+="?eventId="+r(t),o+="&dsn="+r(n);var i=e.user||this._globalContext.user;i&&(i.name&&(o+="&name="+r(i.name)),i.email&&(o+="&email="+r(i.email)));var a=this._getGlobalServer(this._parseDSN(n)),u=P.createElement("script");u.async=!0,u.src=a+"/api/embed/error-page/"+o,(P.head||P.body).appendChild(u)}},_ignoreNextOnError:function(){var e=this;this._ignoreOnError+=1,setTimeout(function(){e._ignoreOnError-=1})},_triggerEvent:function(e,t){var n,r;if(this._hasDocument){t=t||{},e="raven"+e.substr(0,1).toUpperCase()+e.substr(1),P.createEvent?(n=P.createEvent("HTMLEvents"),n.initEvent(e,!0,!0)):(n=P.createEventObject(),n.eventType=e);for(r in t)h(t,r)&&(n[r]=t[r]);if(P.createEvent)P.dispatchEvent(n);else try{P.fireEvent("on"+n.eventType.toLowerCase(),n)}catch(e){}}},_breadcrumbEventHandler:function(e){var t=this;return function(n){if(t._keypressTimeout=null,t._lastCapturedEvent!==n){t._lastCapturedEvent=n;var r,o=n.target;try{r=_(o)}catch(e){r=""}t.captureBreadcrumb({category:"ui."+e,message:r})}}},_keypressEventHandler:function(){var e=this,t=1e3;return function(n){var r=n.target,o=r&&r.tagName;if(o&&("INPUT"===o||"TEXTAREA"===o||r.isContentEditable)){var i=e._keypressTimeout;i||e._breadcrumbEventHandler("input")(n),clearTimeout(i),e._keypressTimeout=setTimeout(function(){e._keypressTimeout=null},t)}}},_captureUrlChange:function(e,t){var n=y(this._location.href),r=y(t),o=y(e);this._lastHref=t,n.protocol===r.protocol&&n.host===r.host&&(t=r.relative),n.protocol===o.protocol&&n.host===o.host&&(e=o.relative),this.captureBreadcrumb({category:"navigation",data:{to:t,from:e}})},_instrumentTryCatch:function(){function e(e){return function(t,r){for(var o=Array(arguments.length),i=0;o.length>i;++i)o[i]=arguments[i];var u=o[0];return a(u)&&(o[0]=n.wrap(u)),e.apply?e.apply(this,o):e(o[0],o[1])}}function t(e){var t=T[e]&&T[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(w(t,"addEventListener",function(t){return function(r,i,a,u){try{i&&i.handleEvent&&(i.handleEvent=n.wrap(i.handleEvent))}catch(e){}var s,c,l;return o&&o.dom&&("EventTarget"===e||"Node"===e)&&(c=n._breadcrumbEventHandler("click"),l=n._keypressEventHandler(),s=function(e){return"click"===e.type?c(e):"keypress"===e.type?l(e):void 0}),t.call(this,r,n.wrap(i,void 0,s),a,u)}},r),w(t,"removeEventListener",function(e){return function(t,n,r,o){try{n=n&&(n.__raven_wrapper__?n.__raven_wrapper__:n)}catch(e){}return e.call(this,t,n,r,o)}},r))}var n=this,r=n._wrappedBuiltIns,o=this._globalOptions.autoBreadcrumbs;w(T,"setTimeout",e,r),w(T,"setInterval",e,r),T.requestAnimationFrame&&w(T,"requestAnimationFrame",function(e){return function(t){return e(n.wrap(t))}},r);for(var i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],u=0;i.length>u;u++)t(i[u]);var s=T.jQuery||T.$;s&&s.fn&&s.fn.ready&&w(s.fn,"ready",function(e){return function(t){return e.call(this,n.wrap(t))}},r)},_instrumentBreadcrumbs:function(){function e(e,n){e in n&&a(n[e])&&w(n,e,function(e){return t.wrap(e)})}var t=this,n=this._globalOptions.autoBreadcrumbs,r=t._wrappedBuiltIns;if(n.xhr&&"XMLHttpRequest"in T){var o=XMLHttpRequest.prototype;w(o,"open",function(e){return function(n,r){return u(r)&&r.indexOf(t._globalKey)===-1&&(this.__raven_xhr={method:n,url:r,status_code:null}),e.apply(this,arguments)}},r),w(o,"send",function(n){return function(r){function o(){if(i.__raven_xhr&&(1===i.readyState||4===i.readyState)){try{i.__raven_xhr.status_code=i.status}catch(e){}t.captureBreadcrumb({type:"http",category:"xhr",data:i.__raven_xhr})}}for(var i=this,u=["onload","onerror","onprogress"],s=0;u.length>s;s++)e(u[s],i);return"onreadystatechange"in i&&a(i.onreadystatechange)?w(i,"onreadystatechange",function(e){return t.wrap(e,void 0,o)}):i.onreadystatechange=o,n.apply(this,arguments)}},r)}n.xhr&&"fetch"in T&&w(T,"fetch",function(e){return function(n,r){for(var o=Array(arguments.length),i=0;o.length>i;++i)o[i]=arguments[i]; +var a="GET";o[1]&&o[1].method&&(a=o[1].method);var u={method:a,url:o[0],status_code:null};return t.captureBreadcrumb({type:"http",category:"fetch",data:u}),e.apply(this,o).then(function(e){return u.status_code=e.status,e})}},r),n.dom&&this._hasDocument&&(P.addEventListener?(P.addEventListener("click",t._breadcrumbEventHandler("click"),!1),P.addEventListener("keypress",t._keypressEventHandler(),!1)):(P.attachEvent("onclick",t._breadcrumbEventHandler("click")),P.attachEvent("onkeypress",t._keypressEventHandler())));var i=T.chrome,s=i&&i.app&&i.app.runtime,c=!s&&T.history&&history.pushState;if(n.location&&c){var l=T.onpopstate;T.onpopstate=function(){var e=t._location.href;if(t._captureUrlChange(t._lastHref,e),l)return l.apply(this,arguments)},w(history,"pushState",function(e){return function(){var n=arguments.length>2?arguments[2]:void 0;return n&&t._captureUrlChange(t._lastHref,n+""),e.apply(this,arguments)}},r)}if(n.console&&"console"in T&&console.log){var p=function(e,n){t.captureBreadcrumb({message:e,level:n.level,category:"console"})};f(["debug","info","warn","error","log"],function(e,t){S(console,t,p)})}},_restoreBuiltIns:function(){for(var e;this._wrappedBuiltIns.length;){e=this._wrappedBuiltIns.shift();var t=e[0],n=e[1],r=e[2];t[n]=r}},_drainPlugins:function(){var e=this;f(this._plugins,function(t,n){var r=n[0],o=n[1];r.apply(e,[e].concat(o))})},_parseDSN:function(e){var t=E.exec(e),n={},r=7;try{for(;r--;)n[O[r]]=t[r]||""}catch(t){throw new x("Invalid DSN: "+e)}if(n.pass&&!this._globalOptions.allowSecretKey)throw new x("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return n},_getGlobalServer:function(e){var t="//"+e.host+(e.port?":"+e.port:"");return e.protocol&&(t=e.protocol+":"+t),t},_handleOnErrorStackInfo:function(){this._ignoreOnError||this._handleStackInfo.apply(this,arguments)},_handleStackInfo:function(e,t){var n=this._prepareFrames(e,t);this._triggerEvent("handle",{stackInfo:e,options:t}),this._processException(e.name,e.message,e.url,e.lineno,n,t)},_prepareFrames:function(e,t){var n=this,r=[];if(e.stack&&e.stack.length&&(f(e.stack,function(e,t){var o=n._normalizeFrame(t);o&&r.push(o)}),t&&t.trimHeadFrames))for(var o=0;t.trimHeadFrames>o&&r.length>o;o++)r[o].in_app=!1;return r=r.slice(0,this._globalOptions.stackTraceLimit)},_normalizeFrame:function(e){if(e.url){var t={filename:e.url,lineno:e.line,colno:e.column,function:e.func||"?"};return t.in_app=!(this._globalOptions.includePaths.test&&!this._globalOptions.includePaths.test(t.filename)||/(Raven|TraceKit)\./.test(t.function)||/raven\.(min\.)?js$/.test(t.filename)),t}},_processException:function(e,t,n,r,o,i){var a;if((!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(t))&&(t+="",o&&o.length?(n=o[0].filename||n,o.reverse(),a={frames:o}):n&&(a={frames:[{filename:n,lineno:r,in_app:!0}]}),(!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(n))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(n)))){var u=p({exception:{values:[{type:e,value:t,stacktrace:a}]},culprit:n},i);this._send(u)}},_trimPacket:function(e){var t=this._globalOptions.maxMessageLength;if(e.message&&(e.message=d(e.message,t)),e.exception){var n=e.exception.values[0];n.value=d(n.value,t)}return e},_getHttpData:function(){if(this._hasDocument&&P.location&&P.location.href){var e={headers:{"User-Agent":navigator.userAgent}};return e.url=P.location.href,P.referrer&&(e.headers.Referer=P.referrer),e}},_send:function(e){var t=this._globalOptions,n={project:this._globalProject,logger:t.logger,platform:"javascript"},o=this._getHttpData();o&&(n.request=o),e.trimHeadFrames&&delete e.trimHeadFrames,e=p(n,e),e.tags=p(p({},this._globalContext.tags),e.tags),e.extra=p(p({},this._globalContext.extra),e.extra),e.extra["session:duration"]=r()-this._startTime,this._breadcrumbs&&this._breadcrumbs.length>0&&(e.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),c(e.tags)&&delete e.tags,this._globalContext.user&&(e.user=this._globalContext.user),t.environment&&(e.environment=t.environment),t.release&&(e.release=t.release),t.serverName&&(e.server_name=t.serverName),a(t.dataCallback)&&(e=t.dataCallback(e)||e),e&&!c(e)&&(a(t.shouldSendCallback)&&!t.shouldSendCallback(e)||this._sendProcessedPayload(e))},_getUuid:function(){return g()},_sendProcessedPayload:function(e,t){var n=this,r=this._globalOptions;if(this._lastEventId=e.event_id||(e.event_id=this._getUuid()),e=this._trimPacket(e),this._logDebug("debug","Raven about to send:",e),this.isSetup()){var o={sentry_version:"7",sentry_client:"raven-js/"+this.VERSION,sentry_key:this._globalKey};this._globalSecret&&(o.sentry_secret=this._globalSecret);var i=e.exception&&e.exception.values[0];this.captureBreadcrumb({category:"sentry",message:i?(i.type?i.type+": ":"")+i.value:e.message,event_id:e.event_id,level:e.level||"error"});var a=this._globalEndpoint;(r.transport||this._makeRequest).call(this,{url:a,auth:o,data:e,options:r,onSuccess:function(){n._triggerEvent("success",{data:e,src:a}),t&&t()},onError:function(r){n._triggerEvent("failure",{data:e,src:a}),r=r||Error("Raven send failed (no additional details provided)"),t&&t(r)}})}},_makeRequest:function(e){function t(){200===n.status?e.onSuccess&&e.onSuccess():e.onError&&e.onError(Error("Sentry error code: "+n.status))}var n=new XMLHttpRequest,r="withCredentials"in n||"undefined"!=typeof XDomainRequest;if(r){var o=e.url;"withCredentials"in n?n.onreadystatechange=function(){4===n.readyState&&t()}:(n=new XDomainRequest,o=o.replace(/^https?:/,""),n.onload=t),n.open("POST",o+"?"+m(e.auth)),n.send(C(e.data))}},_logDebug:function(e){this._originalConsoleMethods[e]&&this.debug&&Function.prototype.apply.call(this._originalConsoleMethods[e],this._originalConsole,[].slice.call(arguments,1))},_mergeContext:function(e,t){i(t)?delete this._globalContext[e]:this._globalContext[e]=p(this._globalContext[e]||{},t)}};var A=Object.prototype;"undefined"!=typeof __DEV__&&__DEV__&&(o.utils={isUndefined:i,isFunction:a,isString:u,isObject:s,isEmptyObject:c,isError:l,each:f,objectMerge:p,truncate:d,hasKey:h,joinRegExp:v,urlencode:m,uuid4:g,htmlTreeAsString:_,htmlElementAsString:b,parseUrl:y,fill:w}),o.prototype.setUser=o.prototype.setUserContext,o.prototype.setReleaseContext=o.prototype.setRelease,e.exports=o}).call(t,function(){return this}())},function(e,t,n){(function(t){"use strict";var r=n(101),o="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i=o.Raven,a=new r;a.noConflict=function(){return o.Raven=i,a},a.afterLoad(),e.exports=a}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(){return"undefined"==typeof document?"":document.location.href}var r={collectWindowErrors:!0,debug:!1},o="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},i=[].slice,a="?",u=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;r.report=function(){function e(e){f(),y.push(e)}function t(e){for(var t=y.length-1;t>=0;--t)y[t]===e&&y.splice(t,1)}function s(){p(),y=[]}function c(e,t){var n=null;if(!t||r.collectWindowErrors){for(var o in y)if(y.hasOwnProperty(o))try{y[o].apply(null,[e].concat(i.call(arguments,2)))}catch(e){n=e}if(n)throw n}}function l(e,t,o,i,s){var l=null;if(b)r.computeStackTrace.augmentStackTraceWithInitialElement(b,t,o,e),d();else if(s)l=r.computeStackTrace(s),c(l,!0);else{var f,p={url:t,line:o,column:i},h=void 0,m=e;if("[object String]"==={}.toString.call(e)){var f=e.match(u);f&&(h=f[1],m=f[2])}p.func=a,l={name:h,message:m,url:n(),stack:[p]},c(l,!0)}return!!v&&v.apply(this,arguments)}function f(){m||(v=o.onerror,o.onerror=l,m=!0)}function p(){m&&(o.onerror=v,m=!1,v=void 0)}function d(){var e=b,t=g;g=null,b=null,_=null,c.apply(null,[e,!1].concat(t))}function h(e,t){var n=i.call(arguments,1);if(b){if(_===e)return;d()}var o=r.computeStackTrace(e);if(b=o,_=e,g=n,setTimeout(function(){_===e&&d()},o.incomplete?2e3:0),t!==!1)throw e}var v,m,y=[],g=null,_=null,b=null;return h.subscribe=e,h.unsubscribe=t,h.uninstall=s,h}(),r.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,r,o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=e.stack.split("\n"),c=[],l=(/^(.*) is undefined$/.exec(e.message),0),f=s.length;f>l;++l){if(t=o.exec(s[l])){var p=t[2]&&t[2].indexOf("native")!==-1;r={url:p?null:t[2],func:t[1]||a,args:p?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=u.exec(s[l]))r={url:t[2],func:t[1]||a,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=i.exec(s[l])))continue;r={url:t[3],func:t[1]||a,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}!r.func&&r.line&&(r.func=a),c.push(r)}return c.length?(c[0].column||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),{name:e.name,message:e.message,url:n(),stack:c}):null}}function t(e,t,n,r){var o={url:t,line:n};if(o.url&&o.line){if(e.incomplete=!1,o.func||(o.func=a),e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1;if(!e.stack[0].line&&e.stack[0].func===o.func)return e.stack[0].line=o.line,!1}return e.stack.unshift(o),e.partial=!0,!0}return e.incomplete=!0,!1}function o(e,u){for(var s,c,l=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,f=[],p={},d=!1,h=o.caller;h&&!d;h=h.caller)if(h!==i&&h!==r.report){if(c={url:null,func:a,line:null,column:null},h.name?c.func=h.name:(s=l.exec(""+h))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(e){}p[""+h]?d=!0:p[""+h]=!0,f.push(c)}u&&f.splice(0,u);var v={name:e.name,message:e.message,url:n(),stack:f};return t(v,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),v}function i(t,i){var a=null;i=null==i?0:+i;try{if(a=e(t))return a}catch(e){if(r.debug)throw e}try{if(a=o(t,i+1))return a}catch(e){if(r.debug)throw e}return{name:t.name,message:t.message,url:n()}}return i.augmentStackTraceWithInitialElement=t,i.computeStackTraceFromStackProp=e,i}(),e.exports=r}).call(t,function(){return this}())},function(e,t){e.exports="(function(window, document) {\n 'use strict';\n\n var Woopra = {},\n _on,\n _handler = [],\n _download_tracking = false,\n _download_pause,\n _outgoing_tracking = false,\n _outgoing_pause,\n _auto_decorate,\n _outgoing_ignore_subdomain = true;\n\n /**\n * Constants\n */\n var VERSION = 11;\n var ENDPOINT = 'woopra.com/track/';\n var XDM_PARAM_NAME = '__woopraid';\n\n /**\n * addEventListener polyfill 1.0 / Eirik Backer / MIT Licence\n * https://gist.github.com/eirikbacker/2864711\n * removeEventListener from https://gist.github.com/jonathantneal/3748027\n */\n /*eslint-disable*/\n (function(win, doc){\n if (win.addEventListener) return;\t\t//No need to polyfill\n\n var listeners = [];\n\n function docHijack(p){var old = doc[p];doc[p] = function(v){return addListen(old(v))}}\n function addEvent(on, fn, self) {\n self = this;\n\n listeners.unshift([self, on, fn, function(e) {\n var e = e || win.event;\n e.preventDefault = e.preventDefault || function(){e.returnValue = false}\n e.stopPropagation = e.stopPropagation || function(){e.cancelBubble = true}\n e.currentTarget = self;\n e.target = e.srcElement || self;\n fn.call(self, e);\n }]);\n\n return this.attachEvent('on' + on, listeners[0][3])\n }\n\n function removeEvent(on, fn) {\n for (var index = 0, register; register = listeners[index]; ++index) {\n if (register[0] == this && register[1] == on && register[2] == fn) {\n return this.detachEvent(\"on\" + on, listeners.splice(index, 1)[0][3]);\n }\n }\n }\n\n function addListen(obj, i){\n if (obj && (i = obj.length)) {\n while(i--) {\n obj[i].addEventListener = addEvent;\n obj[i].removeEventListener = removeEvent;\n }\n }\n else if (obj) {\n obj.addEventListener = addEvent;\n obj.removeEventListener = removeEvent;\n }\n\n return obj;\n }\n\n addListen([doc, win]);\n if ('Element' in win) {\n // IE 8\n win.Element.prototype.addEventListener = addEvent;\n win.Element.prototype.removeEventListener = removeEvent;\n }\n else {\n // IE < 8\n //Make sure we also init at domReady\n doc.attachEvent('onreadystatechange', function(){addListen(doc.all)});\n docHijack('getElementsByTagName');\n docHijack('getElementById');\n docHijack('createElement');\n addListen(doc.all);\n }\n })(window, document);\n\n /**\n * Array.prototype.indexOf polyfill via\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf\n */\n if (!Array.prototype.indexOf) {\n Array.prototype.indexOf = function (searchElement, fromIndex) {\n if ( this === undefined || this === null ) {\n throw new TypeError( '\"this\" is null or not defined' );\n }\n\n var length = this.length >>> 0; // Hack to convert object.length to a UInt32\n\n fromIndex = +fromIndex || 0;\n\n if (Math.abs(fromIndex) === Infinity) {\n fromIndex = 0;\n }\n\n if (fromIndex < 0) {\n fromIndex += length;\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n for (;fromIndex < length; fromIndex++) {\n if (this[fromIndex] === searchElement) {\n return fromIndex;\n }\n }\n\n return -1;\n };\n }\n\n /**\n * Helper functions\n */\n Woopra.extend = function(o1, o2) {\n for (var key in o2) {\n o1[key] = o2[key];\n }\n };\n\n // https://code.google.com/p/form-serialize/\n // modified to return an object\n Woopra.serializeForm = function(form, options) {\n if (!form || form.nodeName !== \"FORM\") {\n return;\n }\n var _options = options || {};\n var _exclude = _options.exclude || [];\n var i, j, data = {};\n for (i = form.elements.length - 1; i >= 0; i = i - 1) {\n if (form.elements[i].name === \"\" || _exclude.indexOf(form.elements[i].name) > -1) {\n continue;\n }\n switch (form.elements[i].nodeName) {\n case 'INPUT':\n switch (form.elements[i].type) {\n case 'text':\n case 'hidden':\n case 'button':\n case 'reset':\n case 'submit':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n case 'checkbox':\n case 'radio':\n if (form.elements[i].checked) {\n data[form.elements[i].name] = form.elements[i].value;\n }\n break;\n case 'file':\n break;\n }\n break;\n case 'TEXTAREA':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n case 'SELECT':\n switch (form.elements[i].type) {\n case 'select-one':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n case 'select-multiple':\n for (j = form.elements[i].options.length - 1; j >= 0; j = j - 1) {\n if (form.elements[i].options[j].selected) {\n data[form.elements[i].name] = form.elements[i].options[j].value;\n }\n }\n break;\n }\n break;\n case 'BUTTON':\n switch (form.elements[i].type) {\n case 'reset':\n case 'submit':\n case 'button':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n }\n break;\n }\n }\n return data;\n };\n\n /*\\\n |*|\n |*| :: cookies.js ::\n |*|\n |*| A complete cookies reader/writer framework with full unicode support.\n |*|\n |*| Revision #1 - September 4, 2014\n |*|\n |*| https://developer.mozilla.org/en-US/docs/Web/API/document.cookie\n |*| https://developer.mozilla.org/User:fusionchess\n |*|\n |*| This framework is released under the GNU Public License, version 3 or later.\n |*| http://www.gnu.org/licenses/gpl-3.0-standalone.html\n |*|\n |*| Syntaxes:\n |*|\n |*| * docCookies.setItem(name, value[, end[, path[, domain[, secure]]]])\n |*| * docCookies.getItem(name)\n |*| * docCookies.removeItem(name[, path[, domain]])\n |*| * docCookies.hasItem(name)\n |*| * docCookies.keys()\n |*|\n \\*/\n var docCookies = {\n getItem: function (sKey) {\n if (!sKey) { return null; }\n return decodeURIComponent(document.cookie.replace(new RegExp(\"(?:(?:^|.*;)\\\\s*\" + encodeURIComponent(sKey).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") + \"\\\\s*\\\\=\\\\s*([^;]*).*$)|^.*$\"), \"$1\")) || null;\n },\n setItem: function (sKey, sValue, vEnd, sPath, sDomain, bSecure) {\n if (!sKey || /^(?:expires|max\\-age|path|domain|secure)$/i.test(sKey)) { return false; }\n var sExpires = \"\";\n if (vEnd) {\n switch (vEnd.constructor) {\n case Number:\n sExpires = vEnd === Infinity ? \"; expires=Fri, 31 Dec 9999 23:59:59 GMT\" : \"; max-age=\" + vEnd;\n break;\n case String:\n sExpires = \"; expires=\" + vEnd;\n break;\n case Date:\n sExpires = \"; expires=\" + vEnd.toUTCString();\n break;\n }\n }\n document.cookie = encodeURIComponent(sKey) + \"=\" + encodeURIComponent(sValue) + sExpires + (sDomain ? \"; domain=\" + sDomain : \"\") + (sPath ? \"; path=\" + sPath : \"\") + (bSecure ? \"; secure\" : \"\");\n return true;\n },\n removeItem: function (sKey, sPath, sDomain) {\n if (!this.hasItem(sKey)) { return false; }\n document.cookie = encodeURIComponent(sKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 GMT\" + (sDomain ? \"; domain=\" + sDomain : \"\") + (sPath ? \"; path=\" + sPath : \"\");\n return true;\n },\n hasItem: function (sKey) {\n if (!sKey) { return false; }\n return (new RegExp(\"(?:^|;\\\\s*)\" + encodeURIComponent(sKey).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") + \"\\\\s*\\\\=\")).test(document.cookie);\n },\n keys: function () {\n var aKeys = document.cookie.replace(/((?:^|\\s*;)[^\\=]+)(?=;|$)|^\\s*|\\s*(?:\\=[^;]*)?(?:\\1|$)/g, \"\").split(/\\s*(?:\\=[^;]*)?;\\s*/);\n for (var nLen = aKeys.length, nIdx = 0; nIdx < nLen; nIdx++) { aKeys[nIdx] = decodeURIComponent(aKeys[nIdx]); }\n return aKeys;\n }\n };\n\n Woopra.docCookies = docCookies;\n /*eslint-enable*/\n\n /**\n * Wrapper for window.location\n */\n Woopra.location = function(property, value) {\n // make sure property is valid\n if (typeof window.location[property] !== 'undefined') {\n if (typeof value !== 'undefined') {\n window.location[property] = value;\n }\n else {\n return window.location[property];\n }\n }\n };\n\n /**\n * Parses current URL for parameters that start with either `utm_` or `woo_`\n * and have the keys `source`, `medium`, `content`, `campaign`, `term`\n *\n * @return {Object} Returns an object with campaign keys as keys\n */\n Woopra.getCampaignData = function() {\n var vars = Woopra.getUrlParams(),\n campaign = {},\n campaignKeys = ['source', 'medium', 'content', 'campaign', 'term'],\n key,\n value;\n\n for (var i = 0; i < campaignKeys.length; i++) {\n key = campaignKeys[i];\n value = vars['utm_' + key] || vars['woo_' + key];\n\n if (typeof value !== 'undefined') {\n campaign['campaign_' + (key === 'campaign' ? 'name' : key)] = value;\n }\n }\n\n return campaign;\n };\n\n Woopra.mapQueryParams = function(mapping) {\n var vars = Woopra.getUrlParams(),\n params = {};\n\n for (var key in mapping) {\n var value = vars[key];\n if (typeof value !== 'undefined') {\n params[mapping[key]] = value;\n }\n }\n\n return params;\n }\n\n\n /**\n * Parses the URL parameters for data beginning with a certain prefix\n *\n * @param {Function} method The callback method for each key found matching `prefix`\n * @param {string} prefix The prefix that the parameter should start with\n */\n Woopra.getCustomData = function(method, prefix) {\n var vars = Woopra.getUrlParams(),\n i,\n _prefix = prefix || 'wv_',\n key,\n value;\n\n for (i in vars) {\n if (vars.hasOwnProperty(i)) {\n value = vars[i];\n\n if (i.substring(0, _prefix.length) === _prefix) {\n key = i.substring(_prefix.length);\n method.call(this, key, value);\n }\n }\n }\n };\n\n /**\n * Parses Visitor Data in the URL.\n *\n * Query params that start with 'wv_'\n */\n Woopra.getVisitorUrlData = function(context) {\n Woopra.getCustomData.call(context, context.identify, 'wv_');\n };\n\n\n /**\n * Hides any campaign data (query params: wv_, woo_, utm_) from the URL\n * by using pushState (if available)\n */\n Woopra.hideCampaignData = function() {\n return Woopra.hideUrlParams(['wv_', 'woo_', 'utm_']);\n };\n Woopra.hideCrossDomainId = function() {\n return Woopra.hideUrlParams([XDM_PARAM_NAME]);\n };\n\n /**\n * Hides any URL parameters by calling window.history.replaceState\n *\n * @param {Array} params A list of parameter prefixes that will be hidden\n * @return {String} Returns the new URL that will be used\n */\n Woopra.hideUrlParams = function(params) {\n var regex = new RegExp('[?&]+((?:' + params.join('|') + ')[^=&]*)=([^&#]*)', 'gi');\n var href = Woopra.location('href').replace(regex, '');\n\n if (window.history && window.history.replaceState) {\n window.history.replaceState(null, null, href);\n }\n\n return href;\n };\n\n /**\n * Retrieves the current URL parameters as an object\n *\n * @return {Object} An object for all of the URL parameters\n */\n Woopra.getUrlParams = function() {\n var vars = {};\n var href = Woopra.location('href');\n\n if (href) {\n href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m, key, value) {\n vars[key] = decodeURIComponent(value.split('+').join(' '));\n });\n }\n return vars;\n };\n\n Woopra.buildUrlParams = function(params, prefix) {\n var _prefix = prefix || '',\n key,\n p = [];\n\n if (typeof params === 'undefined') {\n return params;\n }\n\n for (key in params) {\n if (params.hasOwnProperty(key)) {\n if (params[key] !== 'undefined' &&\n params[key] !== 'null' &&\n typeof params[key] !== 'undefined') {\n p.push(_prefix + encodeURIComponent(key) + '=' + encodeURIComponent(params[key]));\n }\n }\n }\n return p.join('&');\n };\n\n /**\n * Generates a random 12 character string\n *\n * @return {String} Returns a random 12 character string\n */\n Woopra.randomString = function() {\n var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',\n i,\n rnum,\n s = '';\n\n for (i = 0; i < 12; i++) {\n rnum = Math.floor(Math.random() * chars.length);\n s += chars.substring(rnum, rnum + 1);\n }\n\n return s;\n };\n\n Woopra.loadScript = function(url, callback) {\n var ssc,\n _callback,\n script = document.createElement('script');\n\n script.type = 'text/javascript';\n script.async = true;\n\n if (callback && typeof callback === 'function') {\n _callback = callback;\n }\n\n if (typeof script.onreadystatechange !== 'undefined') {\n script.onreadystatechange = function() {\n if (this.readyState === 4 ||\n this.readyState === 'complete' ||\n this.readyState === 'loaded') {\n if (_callback) {\n _callback();\n }\n Woopra.removeScript(script);\n }\n };\n }\n else {\n script.onload = function() {\n if (_callback) {\n _callback();\n }\n Woopra.removeScript(script);\n };\n script.onerror = function() {\n Woopra.removeScript(script);\n };\n }\n\n script.src = url;\n\n ssc = document.getElementsByTagName('script')[0];\n ssc.parentNode.insertBefore(script, ssc);\n };\n\n Woopra.removeScript = function(script) {\n if (script && script.parentNode) {\n script.parentNode.removeChild(script);\n }\n };\n\n /**\n * Helper to either query an element by id, or return element if passed\n * through options\n *\n * Supports searching by ids and classnames (or querySelector if browser supported)\n */\n Woopra.getElement = function(selector, options) {\n var _options = typeof selector === 'string' ? options || {} : selector || {};\n var _selector = selector;\n\n if (_options.el) {\n return _options.el;\n }\n else if (typeof selector === 'string') {\n if (document.querySelectorAll) {\n return document.querySelectorAll(_selector);\n }\n else if (selector[0] === '#') {\n _selector = selector.substr(1);\n return document.getElementById(_selector);\n }\n else if (selector[0] === '.') {\n _selector = selector.substr(1);\n return document.getElementsByClassName(_selector);\n }\n }\n };\n\n /**\n * Retrieves the current client domain name using the hostname\n * and returning the last two tokens with a `.` separator (domain + tld).\n *\n * This can be an issue if there is a second level domain\n */\n Woopra.getDomain = function(hostname) {\n var _hostname = hostname || Woopra.location('hostname');\n var secondLevelTlds = {\n 'com.au': 1,\n 'net.au': 1,\n 'org.au': 1,\n 'co.hu': 1,\n 'com.ru': 1,\n 'ac.za': 1,\n 'net.za': 1,\n 'com.za': 1,\n 'co.za': 1,\n 'co.uk': 1,\n 'org.uk': 1,\n 'me.uk': 1,\n 'net.uk': 1\n };\n var domain = _hostname.substring(_hostname.lastIndexOf('.', _hostname.lastIndexOf('.') - 1) + 1);\n\n // check if domain is in list of second level domains, ignore if so\n if (secondLevelTlds[domain]) {\n domain = _hostname.substring(_hostname.lastIndexOf('.', _hostname.indexOf(domain) - 2) + 1);\n }\n\n return domain;\n };\n\n /**\n * Returns the current hostname with 'www' stripped out\n */\n Woopra.getHostnameNoWww = function() {\n var hostname = Woopra.location('hostname');\n\n if (hostname.indexOf('www.') === 0) {\n return hostname.replace('www.', '');\n }\n\n return hostname;\n };\n\n /**\n * Checks if string ends with suffix\n *\n * @param {string} str The haystack string\n * @param {string} suffix The needle\n * @return {boolean} True if needle was found in haystack\n */\n Woopra.endsWith = function(str, suffix) {\n return str.indexOf(suffix, str.length - suffix.length) !== -1;\n };\n\n /**\n * Checks if string starts with prefix\n *\n * @param {string} str The haystack string\n * @param {string} prefix The needle\n * @return {boolean} True if needle was found in haystack\n */\n Woopra.startsWith = function(str, prefix) {\n return str.indexOf(prefix) === 0;\n };\n\n _on = Woopra._on = function(parent, event, callback) {\n var id = parent.instanceName;\n\n if (!_handler[event]) {\n _handler[event] = {};\n }\n _handler[event][id] = parent;\n\n if (parent.__l) {\n if (!parent.__l[event]) {\n parent.__l[event] = [];\n }\n parent.__l[event].push(callback);\n }\n };\n\n Woopra._fire = function(event) {\n var handler;\n var _event = _handler[event];\n var _l;\n\n if (_event) {\n for (var id in _event) {\n if (_event.hasOwnProperty(id)) {\n handler = _event[id];\n _l = handler && handler.__l;\n if (_l && _l[event]) {\n for (var i = 0; i < _l[event].length; i++) {\n _l[event][i].apply(this, Array.prototype.slice.call(arguments, 1));\n }\n }\n\n }\n }\n }\n };\n\n Woopra.attachEvent = function(element, type, callback) {\n if (element.addEventListener) {\n element.addEventListener(type, callback);\n }\n else if (element.attachEvent) {\n /*eslint-disable*/\n element.attachEvent('on' + type, function(e) {\n var e = e || win.event;\n e.preventDefault = e.preventDefault || function() {e.returnValue = false};\n e.stopPropagation = e.stopPropagation || function() {e.cancelBubble = true};\n callback.call(self, e);\n });\n /*eslint-enable*/\n }\n };\n\n Woopra.leftClick = function(evt) {\n evt = evt || window.event;\n var button = (typeof evt.which !== 'undefined' && evt.which === 1) ||\n (typeof evt.button !== 'undefined' && evt.button === 0);\n return button && !evt.metaKey && !evt.altKey && !evt.ctrlKey && !evt.shiftKey;\n };\n\n Woopra.redirect = function(link) {\n Woopra.location('href', link);\n };\n\n /**\n * Determines if the current URL should be considered an outgoing URL\n */\n Woopra.isOutgoingLink = function(targetHostname) {\n var currentHostname = Woopra.location('hostname');\n var currentDomain = Woopra.getDomain(currentHostname);\n\n return targetHostname !== currentHostname &&\n targetHostname.replace(/^www\\./, '') !== currentHostname.replace(/^www\\./, '') &&\n (\n !_outgoing_ignore_subdomain ||\n currentDomain !== Woopra.getDomain(targetHostname)\n ) &&\n !Woopra.startsWith(targetHostname, 'javascript') &&\n targetHostname !== '' &&\n targetHostname !== '#';\n };\n\n // attaches any events\n // needs to be handled here, instead of in a tracking instance because\n // these events should only be fired once on a page\n (function(on, fire) {\n on(document, 'mousedown', function(e) {\n var cElem;\n\n fire('mousemove', e, new Date());\n\n if (_auto_decorate) {\n cElem = e.srcElement || e.target;\n while (typeof cElem !== 'undefined' && cElem !== null) {\n if (cElem.tagName && cElem.tagName.toLowerCase() === 'a') {\n break;\n }\n cElem = cElem.parentNode;\n }\n if (typeof cElem !== 'undefined' && cElem !== null) {\n fire('auto_decorate', cElem);\n }\n }\n });\n\n on(document, 'click', function(e) {\n var cElem,\n link,\n ignoreTarget = '_blank',\n _download;\n\n cElem = e.srcElement || e.target;\n\n if (Woopra.leftClick(e)) {\n fire('click', e, cElem);\n }\n\n if (_download_tracking || _outgoing_tracking) {\n\n // searches for an anchor element\n while (typeof cElem !== 'undefined' && cElem !== null) {\n if (cElem.tagName && cElem.tagName.toLowerCase() === 'a') {\n break;\n }\n cElem = cElem.parentNode;\n }\n\n if (typeof cElem !== 'undefined' && cElem !== null &&\n !cElem.getAttribute('data-woopra-tracked')) {\n link = cElem;\n _download = link.pathname.match(/(?:doc|dmg|eps|svg|xls|ppt|pdf|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3|mp4|m4v)($|\\&)/);\n\n if (_download_tracking && _download) {\n fire('download', link.href);\n\n if (link.target !== ignoreTarget && Woopra.leftClick(e)) {\n e.preventDefault();\n e.stopPropagation();\n\n link.setAttribute('data-woopra-tracked', true);\n window.setTimeout(function() {\n link.click();\n }, _download_pause);\n }\n }\n // Make sure\n // * outgoing tracking is enabled\n // * this URL does not match a download URL (doesn't end\n // in a binary file extension)\n // * not ignoring subdomains OR link hostname is not a partial\n // match of current hostname (to check for subdomains),\n // * hostname is not empty\n if (_outgoing_tracking &&\n !_download &&\n Woopra.isOutgoingLink(link.hostname)) {\n fire('outgoing', link.href);\n\n if (link.target !== ignoreTarget && Woopra.leftClick(e)) {\n e.preventDefault();\n e.stopPropagation();\n\n link.setAttribute('data-woopra-tracked', true);\n\n window.setTimeout(function() {\n link.click();\n }, _outgoing_pause);\n }\n }\n }\n }\n });\n\n on(document, 'mousemove', function(e) {\n fire('mousemove', e, new Date());\n });\n\n on(document, 'keydown', function() {\n fire('keydown');\n });\n })(Woopra.attachEvent, Woopra._fire);\n\n var Tracker = function(instanceName) {\n this.visitorData = {};\n this.sessionData = {};\n\n this.options = {\n app: 'js-client',\n use_cookies: true,\n ping: true,\n ping_interval: 12000,\n idle_timeout: 300000,\n idle_threshold: 10000,\n download_pause: _download_pause || 200,\n outgoing_pause: _outgoing_pause || 200,\n download_tracking: false,\n outgoing_tracking: false,\n outgoing_ignore_subdomain: true,\n hide_campaign: false,\n hide_xdm_data: false,\n campaign_once: false,\n third_party: false,\n save_url_hash: true,\n cross_domain: false,\n region: null,\n ignore_query_url: false,\n map_query_params: {},\n cookie_name: 'wooTracker',\n cookie_domain: '.' + Woopra.getHostnameNoWww(),\n cookie_path: '/',\n cookie_expire: new Date(new Date().setDate(new Date().getDate() + 730))\n };\n\n this.instanceName = instanceName || 'woopra';\n this.idle = 0;\n this.cookie = '';\n this.last_activity = new Date();\n this.loaded = false;\n this.dirtyCookie = false;\n this.sentCampaign = false;\n this.version = VERSION;\n\n if (instanceName && instanceName !== '') {\n window[instanceName] = this;\n }\n };\n\n Tracker.prototype = {\n docCookies: docCookies,\n init: function() {\n var callback,\n self = this;\n\n this.__l = {};\n this._processQueue('config');\n this._setupCookie();\n this._bindEvents();\n\n // Otherwise loading indicator gets stuck until the every response\n // in the queue has been received\n setTimeout(function() {\n self._processQueue();\n }, 1);\n\n this.loaded = true;\n\n callback = this.config('initialized');\n if (callback && typeof callback === 'function') {\n callback(this.instanceName);\n }\n\n // Safe to remove cross domain url parameter after setupCookie is called\n // Should only need to be called once on load\n if (this.config('hide_xdm_data')) {\n Woopra.hideCrossDomainId();\n }\n\n },\n\n /**\n * Processes the tracker queue in case user tries to push events\n * before tracker is ready.\n */\n _processQueue: function(type) {\n var i,\n action,\n events,\n _wpt;\n\n _wpt = window.__woo ? window.__woo[this.instanceName] : _wpt;\n _wpt = window._w ? window._w[this.instanceName] : _wpt;\n\n // if _wpt is undefined, means script was loaded asynchronously and\n // there is no queue\n\n if (_wpt && _wpt._e) {\n events = _wpt._e;\n for (i = 0; i < events.length; i++) {\n action = events[i];\n if (typeof action !== 'undefined' && this[action[0]] &&\n (typeof type === 'undefined' || type === action[0])) {\n this[action[0]].apply(this, Array.prototype.slice.call(action, 1));\n }\n }\n }\n },\n\n /**\n * Sets up the tracking cookie\n */\n _setupCookie: function() {\n var url_id = this.getUrlId();\n\n this.cookie = this.getCookie();\n\n // overwrite saved cookie if id is in url\n if (url_id) {\n this.cookie = url_id;\n }\n\n // Setup cookie\n if (!this.cookie || this.cookie.length < 1) {\n this.cookie = Woopra.randomString();\n }\n\n docCookies.setItem(\n this.config('cookie_name'),\n this.cookie,\n this.config('cookie_expire'),\n this.config('cookie_path'),\n this.config('cookie_domain')\n );\n\n this.dirtyCookie = true;\n },\n\n /**\n * Binds some events to measure mouse and keyboard events\n */\n _bindEvents: function() {\n var self = this;\n\n _on(this, 'mousemove', function() {\n self.moved.apply(self, arguments);\n });\n _on(this, 'keydown', function() {\n self.typed.apply(self, arguments);\n });\n _on(this, 'download', function() {\n self.downloaded.apply(self, arguments);\n });\n _on(this, 'outgoing', function() {\n self.outgoing.apply(self, arguments);\n });\n _on(this, 'auto_decorate', function() {\n self.autoDecorate.apply(self, arguments);\n });\n },\n\n /**\n * Sets/gets values from dataStore depending on arguments passed\n *\n * @param dataStore Object The tracker property to read/write\n * @param key String/Object Returns property object if key and value is undefined,\n * acts as a getter if only `key` is defined and a string, and\n * acts as a setter if `key` and `value` are defined OR if `key` is an object.\n */\n _dataSetter: function(dataStore, key, value) {\n var i;\n\n if (typeof key === 'undefined') {\n return dataStore;\n }\n\n if (typeof value === 'undefined') {\n if (typeof key === 'string') {\n return dataStore[key];\n }\n if (typeof key === 'object') {\n for (i in key) {\n if (key.hasOwnProperty(i)) {\n if (i.substring(0, 7) === 'cookie_') {\n this.dirtyCookie = true;\n }\n dataStore[i] = key[i];\n }\n }\n }\n }\n else {\n if (key.substring(0, 7) === 'cookie_') {\n this.dirtyCookie = true;\n }\n dataStore[key] = value;\n }\n\n return this;\n },\n\n /**\n * Builds the correct tracking Url and performs an HTTP request\n */\n _push: function(options) {\n var _options = options || {},\n random = 'ra=' + Woopra.randomString(),\n queryString,\n endpoint,\n urlParam,\n scriptUrl,\n types = [\n ['visitorData', 'cv_'],\n ['eventData', 'ce_'],\n ['sessionData', 'cs_']\n ],\n _type,\n i,\n data = [];\n\n endpoint = this.getEndpoint(_options.endpoint);\n\n // Load custom visitor params from url\n Woopra.getVisitorUrlData(this);\n\n if (this.config('hide_campaign')) {\n Woopra.hideCampaignData();\n }\n\n data.push(random);\n\n // push tracker config values\n data.push(Woopra.buildUrlParams(this.getOptionParams()));\n\n // push eventName if it exists\n if (_options.eventName) {\n data.push('event=' + _options.eventName);\n }\n\n for (i in types) {\n if (types.hasOwnProperty(i)) {\n _type = types[i];\n if (_options[_type[0]]) {\n urlParam = Woopra.buildUrlParams(_options[_type[0]], _type[1]);\n if (urlParam) {\n data.push(urlParam);\n }\n }\n }\n }\n\n queryString = '?' + data.join('&');\n\n scriptUrl = endpoint + queryString;\n Woopra.loadScript(scriptUrl, _options.callback);\n },\n\n /*\n * Returns the Woopra cookie string\n */\n getCookie: function() {\n return docCookies.getItem(this.config('cookie_name'));\n },\n\n /**\n * Generates a destination endpoint string to use depending on different\n * configuration options\n */\n getEndpoint: function(path) {\n var protocol = this.config('protocol');\n var _protocol = protocol && protocol !== '' ? protocol + ':' : '';\n var _path = path || '';\n var endpoint = _protocol + '//';\n var region = this.config('region');\n var thirdPartyPath;\n\n if (this.config('third_party') && !this.config('domain')) {\n throw new Error('Error: `domain` is not set.');\n }\n\n // create endpoint, default is www.woopra.com/track/\n // China region will be cn.t.woopra.com/track\n if (region) {\n endpoint += region + '.t.';\n }\n else {\n endpoint += 'www.';\n }\n\n thirdPartyPath = this.config('third_party') ? 'tp/' + this.config('domain') : '';\n\n if (_path && !Woopra.endsWith(_path, '/')) {\n _path += '/';\n }\n\n if (thirdPartyPath && !Woopra.startsWith(_path, '/')) {\n thirdPartyPath += '/';\n }\n\n endpoint += ENDPOINT + thirdPartyPath + _path;\n\n return endpoint;\n },\n\n /**\n * Sets configuration options\n */\n config: function(key, value) {\n var data = this._dataSetter(this.options, key, value);\n\n // dataSetter returns `this` when it is used as a setter\n if (data === this) {\n // do validation\n if (this.options.ping_interval < 6000) {\n this.options.ping_interval = 6000;\n }\n else if (this.options.ping_interval > 60000) {\n this.options.ping_interval = 60000;\n }\n\n // set script wide variables for events that are bound on script load\n // since we shouldn't bind per tracker instance\n _outgoing_tracking = this.options.outgoing_tracking;\n _outgoing_pause = this.options.outgoing_pause;\n _download_tracking = this.options.download_tracking;\n _download_pause = this.options.download_pause;\n _auto_decorate = typeof _auto_decorate === 'undefined' && this.options.cross_domain ? this.options.cross_domain : _auto_decorate;\n _outgoing_ignore_subdomain = this.options.outgoing_ignore_subdomain;\n\n if (this.dirtyCookie && this.loaded) {\n this._setupCookie();\n }\n }\n\n return data;\n },\n\n /**\n * Use to attach custom visit data that doesn't stick to visitor\n * ** Not in use yet\n */\n visit: function(key, value) {\n return this._dataSetter(this.sessionData, key, value);\n },\n\n /**\n * Attach custom visitor data\n */\n identify: function(key, value) {\n return this._dataSetter(this.visitorData, key, value);\n },\n\n /**\n * Generic method to call any tracker method\n */\n call: function(funcName) {\n if (this[funcName] && typeof this[funcName] === 'function') {\n this[funcName].apply(this, Array.prototype.slice.call(arguments, 1));\n }\n\n },\n\n /**\n * Send an event to tracking servr\n */\n track: function(name, options) {\n var event = {},\n eventName = '',\n cb,\n _hash,\n _cb = arguments[arguments.length - 1];\n\n // Load campaign params (load first to allow overrides)\n if (!this.config('campaign_once') || !this.sentCampaign) {\n Woopra.extend(event, Woopra.getCampaignData());\n this.sentCampaign = true;\n }\n\n // Load query params mapping into Woopra event\n Woopra.extend(event, Woopra.mapQueryParams(this.config('map_query_params')));\n\n\n if (typeof _cb === 'function') {\n cb = _cb;\n }\n // Track default: pageview\n if (typeof name === 'undefined' || name === cb) {\n eventName = 'pv';\n }\n // Track custom events\n else if (typeof options === 'undefined' || options === cb) {\n if (typeof name === 'string') {\n eventName = name;\n }\n if (typeof name === 'object') {\n if (name.name && name.name === 'pv') {\n eventName = 'pv';\n }\n\n this._dataSetter(event, name);\n }\n }\n // Track custom events in format of name,object\n else {\n this._dataSetter(event, options);\n eventName = name;\n }\n\n // Add some defaults for pageview\n if (eventName === 'pv') {\n event.url = event.url || this.getPageUrl();\n event.title = event.title || this.getPageTitle();\n event.domain = event.domain || this.getDomainName();\n event.uri = event.uri || this.getURI();\n\n if (this.config('save_url_hash')) {\n _hash = event.hash || this.getPageHash();\n if (_hash !== '') {\n event.hash = _hash;\n }\n }\n }\n\n this._push({\n endpoint: 'ce',\n visitorData: this.visitorData,\n sessionData: this.sessionData,\n eventName: eventName,\n eventData: event,\n callback: cb\n });\n\n this.startPing();\n },\n\n /**\n * Tracks a single form and then resubmits it\n */\n trackForm: function(eventName, selector, options) {\n var els;\n var _event = eventName || 'Tracked Form';\n var _options = typeof selector === 'string' ? options || {} : selector || {};\n var bindEl;\n var self = this;\n\n bindEl = function(el, ev, props, opts) {\n Woopra.attachEvent(el, 'submit', function(e) {\n self.trackFormHandler(e, el, ev, _options);\n });\n };\n\n if (_options.elements) {\n els = _options.elements;\n }\n else {\n els = Woopra.getElement(selector, _options);\n }\n\n // attach event if form was found\n if (els && els.length > 0) {\n for (var i in els) {\n bindEl(els[i], _event, _options);\n }\n }\n },\n\n trackFormHandler: function(e, el, eventName, options) {\n var data;\n var personData;\n var trackFinished = false;\n\n if (!el.getAttribute('data-tracked')) {\n data = Woopra.serializeForm(el, options);\n\n if (options.identify && typeof options.identify === 'function') {\n personData = options.identify(data) || {};\n if (personData) {\n this.identify(personData);\n }\n }\n\n if (options.noSubmit) {\n this.track(eventName, data, function() {\n if (typeof options.callback === 'function') {\n options.callback(data);\n }\n });\n }\n else {\n e.preventDefault();\n e.stopPropagation();\n\n el.setAttribute('data-tracked', 1);\n\n // submit the form if the reply takes less than 250ms\n this.track(eventName, data, function() {\n trackFinished = true;\n\n if (typeof options.callback === 'function') {\n options.callback(data);\n }\n\n el.submit();\n });\n\n // set timeout to resubmit to be a hard 250ms\n // so even if woopra does not reply it will still\n // submit the form\n setTimeout(function() {\n if (!trackFinished) {\n el.submit();\n }\n }, 250);\n }\n }\n },\n\n /**\n * Tracks clicks\n *\n * @param {String} eventName The name of the event to track\n * @param {String} selector The id of element to track\n * @param {Object} properties Any event properties to track with\n * @param {Object} options (Optional) Options object\n * @param {Array} options.elements Supports an array of elements (jQuery object)\n * @param {Boolean} options.noNav (Default: false) If true, will only perform the track event and let the click event bubble up\n */\n trackClick: function(eventName, selector, properties, options) {\n var els = [];\n var i;\n var _options = options || {};\n var _event = eventName || 'Item Clicked';\n var bindEl;\n var self = this;\n\n bindEl = function(el, ev, props, opts) {\n Woopra.attachEvent(el, 'click', function(e) {\n self.trackClickHandler(e, el, ev, props, opts);\n });\n };\n\n /**\n * Support an array of elements\n */\n if (_options.elements) {\n els = _options.elements;\n }\n else {\n els = Woopra.getElement(selector, _options);\n }\n\n if (els) {\n for (i = 0; i < els.length; i++) {\n bindEl(els[i], _event, properties, _options);\n }\n }\n },\n\n trackClickHandler: function(e, el, eventName, properties, options) {\n var trackFinished = false;\n\n if (!el.getAttribute('data-tracked')) {\n if (options.noNav) {\n this.track(eventName, properties);\n }\n else {\n e.preventDefault();\n\n el.setAttribute('data-tracked', 1);\n\n this.track(eventName, properties, function() {\n trackFinished = true;\n\n if (typeof options.callback === 'function') {\n options.callback();\n }\n\n el.click();\n });\n\n setTimeout(function() {\n if (!trackFinished) {\n el.click();\n }\n }, 250);\n }\n }\n },\n\n startPing: function() {\n var self = this;\n\n if (typeof this.pingInterval === 'undefined') {\n this.pingInterval = window.setInterval(function() {\n self.ping();\n }, this.config('ping_interval'));\n }\n },\n\n stopPing: function() {\n if (typeof this.pingInterval !== 'undefined') {\n window.clearInterval(this.pingInterval);\n delete this.pingInterval;\n }\n },\n\n /**\n * Pings tracker with visitor info\n */\n ping: function() {\n var now;\n\n if (this.config('ping') && this.idle < this.config('idle_timeout')) {\n this._push({\n endpoint: 'ping'\n });\n }\n else {\n this.stopPing();\n }\n\n now = new Date();\n if (now - this.last_activity > this.config('idle_threshold')) {\n this.idle = now - this.last_activity;\n }\n\n return this;\n },\n\n /**\n * Pushes visitor data to server without sending an event\n */\n push: function(cb) {\n this._push({\n endpoint: 'identify',\n visitorData: this.visitorData,\n sessionData: this.sessionData,\n callback: cb\n });\n return this;\n },\n\n /**\n * synchronous sleep\n */\n sleep: function() {\n },\n\n // User Action tracking and event handlers\n\n /**\n * Clicks\n */\n\n /**\n * Measure when the user last moved their mouse to update idle state\n */\n moved: function(e, last_activity) {\n this.last_activity = last_activity;\n this.idle = 0;\n },\n\n /**\n * Measure when user last typed\n */\n typed: function() {\n this.vs = 2;\n },\n\n downloaded: function(url) {\n this.track('download', {\n url: url\n });\n },\n\n outgoing: function(url) {\n this.track('outgoing', {\n url: url\n });\n },\n\n /**\n * Event handler for decorating an element with a URL (for now only\n * anchor tags)\n */\n autoDecorate: function(elem) {\n var decorated;\n var canDecorate;\n var xdm = this.config('cross_domain');\n\n if (xdm) {\n if (typeof xdm === 'string') {\n canDecorate = elem.href.indexOf(xdm) > -1;\n }\n else if (xdm.push) {\n canDecorate = xdm.indexOf(elem.hostname) > -1;\n }\n\n if (canDecorate) {\n decorated = this.decorate(elem);\n\n if (decorated) {\n elem.href = decorated;\n // bind an event handler on mouseup to remove the url\n }\n }\n }\n },\n\n /**\n * Resets cookie\n */\n reset: function() {\n docCookies.removeItem(\n this.config('cookie_name'),\n this.config('cookie_path'),\n this.config('cookie_domain')\n );\n this.cookie = null;\n this._setupCookie();\n },\n\n /**\n * Decorates a given URL with a __woopraid query param with value of\n * the current cookie\n */\n decorate: function(url) {\n var el;\n var query;\n var pathname;\n var host;\n\n if (typeof url === 'string') {\n el = document.createElement('a');\n el.href = url;\n query = el.search ? '&' : '?';\n }\n else if (url && url.href) {\n el = url;\n }\n\n if (el) {\n query = el.search ? '&' : '?';\n pathname = el.pathname && el.pathname.charAt(0) === '/' ? el.pathname : '/' + el.pathname;\n\n host = el.hostname + (el.port && el.port !== '' && el.port !== '80' && el.port !== '0' ? ':' + el.port : '');\n\n return el.protocol + '//' +\n host +\n pathname +\n el.search +\n query + XDM_PARAM_NAME + '=' + this.cookie +\n el.hash;\n }\n },\n\n /**\n * Undecorates a URL with __woopraid query param\n */\n undecorate: function(url) {\n var regex = new RegExp('[?&]+(?:' + XDM_PARAM_NAME + ')=([^&#]*)', 'gi');\n var _url = url;\n\n if (url && url.href) {\n _url = url.href;\n }\n\n if (_url) {\n return _url.replace(regex, '');\n }\n },\n\n getPageUrl: function() {\n if (this.options.ignore_query_url) {\n return Woopra.location('pathname');\n }\n else {\n return Woopra.location('pathname') + Woopra.location('search');\n }\n },\n\n getPageHash: function() {\n return Woopra.location('hash');\n },\n\n getPageTitle: function() {\n return (document.getElementsByTagName('title').length === 0) ? '' : document.getElementsByTagName('title')[0].innerHTML;\n },\n\n getDomainName: function() {\n return Woopra.location('hostname');\n },\n\n getURI: function() {\n return Woopra.location('href');\n },\n\n /**\n * Retrieves a Woopra unique id from a URL's query param (__woopraid)\n *\n * @param {String} href The full URL to extract from\n */\n getUrlId: function(href) {\n var _href = href || Woopra.location('href');\n var matches;\n var regex = new RegExp(XDM_PARAM_NAME + '=([^&#]+)');\n\n matches = _href.match(regex);\n\n if (matches && matches[1]) {\n return matches[1];\n }\n },\n\n getOptionParams: function() {\n // default params\n var o = {\n alias: this.config('domain') || Woopra.getHostnameNoWww(),\n instance: this.instanceName,\n ka: this.config('keep_alive') || this.config('ping_interval') * 2,\n meta: docCookies.getItem('wooMeta') || '',\n screen: window.screen.width + 'x' + window.screen.height,\n language: window.navigator.browserLanguage || window.navigator.language || '',\n app: this.config('app'),\n referer: this.config('referer') || document.referrer,\n idle: '' + parseInt(this.idle / 1000, 10),\n vs: 'i'\n };\n\n if (!this.config('domain')) {\n o._warn = 'no_domain';\n\n if (Woopra.getHostnameNoWww() !== Woopra.getDomain()) {\n o._warn += ',domain_mismatch';\n }\n }\n\n // set cookie if configured\n if (this.config('use_cookies')) {\n o.cookie = this.getCookie() || this.cookie;\n }\n\n // set ip if configured\n if (this.config('ip')) {\n o.ip = this.config('ip');\n }\n // this.vs is 2 after typing so 'writing'\n if (this.vs === 2) {\n o.vs = 'w';\n this.vs = 0;\n }\n else if (this.idle === 0) {\n o.vs = 'r';\n }\n\n return o;\n },\n\n /**\n * Stop ping timers and cleanup any globals. Shouldn't really\n * be needed by clients.\n */\n dispose: function() {\n this.stopPing();\n\n for (var id in this.__l) {\n if (this.__l.hasOwnProperty(id)) {\n _handler[id][this.instanceName] = null;\n }\n }\n this.__l = null;\n\n // cleanup global\n if (typeof window[this.instanceName] !== 'undefined') {\n try {\n delete window[this.instanceName];\n }\n catch(e) {\n window[this.instanceName] = undefined;\n }\n }\n }\n };\n\n window.WoopraTracker = Tracker;\n window.WoopraLoadScript = Woopra.loadScript;\n\n if (typeof window.exports !== 'undefined') {\n Woopra.Tracker = Tracker;\n window.exports.Woopra = Woopra;\n\n if (typeof window.woopraLoaded === 'function') {\n window.woopraLoaded();\n window.woopraLoaded = null;\n }\n }\n\n // Initialize instances & preloaded settings/events\n var _queue = window.__woo || window._w;\n if (typeof _queue !== 'undefined') {\n for (var name in _queue) {\n if (_queue.hasOwnProperty(name)) {\n var instance = new Tracker(name);\n instance.init();\n\n // DO NOT REMOVE\n // compatibility with old tracker and chat\n if (typeof window.woopraTracker === 'undefined') {\n window.woopraTracker = instance;\n }\n }\n }\n }\n\n})(window, document);\n"; +},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(2),i=n(2),a=n(60),u=o.createFactory(n(106)),s=n(107),c=n(58),l=n(2).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(2),i=o.DOM.div,a=n(108),u=n(109),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(29),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(29);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(105)},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(2),s=n(31),c=r(s),l=n(32),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(){return u.Children.only(this.props.children)},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(e){return E.value=e,E}}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=!!e,p=e||C,h=void 0;h="function"==typeof t?t:t?(0,y.default)(t):S;var m=n||O,g=r.pure,_=void 0===g||g,b=r.withRef,k=void 0!==b&&b,P=_&&m!==O,A=T++;return function(e){function t(e,t,n){var r=m(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=A,a.store=e.store||t.store,(0,x.default)(a.store,'Could not find "store" in either the context or '+('props of "'+n+'". ')+"Either wrap the root component in a , "+('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!_||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,v.default)(e,this.stateProps)||(this.stateProps=e,0))},u.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return!(this.dispatchProps&&(0,v.default)(e,this.dispatchProps)||(this.dispatchProps=e,0))},u.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&P&&(0,v.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){_&&(0,v.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(!_||t!==e){if(_&&!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,x.default)(k,"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;_&&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=k?(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,w.default)(r,e)}}t.__esModule=!0;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.default=c;var f=n(2),p=n(31),d=r(p),h=n(113),v=r(h),m=n(114),y=r(m),g=n(32),_=(r(g),n(14)),b=(r(_),n(75)),w=r(b),k=n(76),x=r(k),C=function(e){return{}},S=function(e){return{dispatch:e}},O=function(e,t,n){return l({},n,e,t)},E={value:null},T=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(8)},function(e,t,n){!function(t,r){e.exports=r(n(2),n(2))}(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=e.props,i=o.width,a=o.height,u={video:{sourceId:r,width:{exact:i},height:{exact:a}}};e.props.audio&&(u.audio={sourceId:n});var s=function(e){return console.log("error",e,typeof e)},c=function(e){t.mountedInstances.forEach(function(t){return t.handleUserMedia(null,e)})},l=function(e){s(e),t.mountedInstances.forEach(function(t){return t.handleUserMedia(e)})},f=function(e,t){navigator.getUserMedia(e,c,t)};f(u,function(e){s(e),"ConstraintNotSatisfiedError"===e.name?(u.video={sourceId:r,width:i,height:a},f(u,l)):l(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);this.canvas||(this.canvas=document.createElement("canvas"));var t=this.canvas;this.ctx||(this.ctx=t.getContext("2d"));var n=this.ctx;return t.width=e.videoWidth,t.height=e.videoHeight,n.drawImage(e,0,0,t.width,t.height),t},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){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,n){"use strict";function r(e,t){return e===t}function o(e,t,n){n=n||r;var o=i(e(),t);return function(r){return function(){var a=i(e(),t);if(!n(o,a)){var u=o;o=a,r(a,u,t)}}}}var i=n(86).get;e.exports=o},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(33),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(e){u=e}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(34),s=n(14),c=(r(s),n(35));r(c)},function(e,t){e.exports=function(e){"undefined"!=typeof execScript?execScript(e):eval.call(null,e)}},function(e,t,n){n(121)(n(104))},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){/*! npm.im/supports-webp */ +"use strict";var n=document.createElement("canvas");n.width=n.height=1;var r=n.toDataURL&&0===n.toDataURL("image/webp").indexOf("data:image/webp");e.exports=r},function(e,t,n){e.exports=n(126)},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(127),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(37)(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},function(e,t,n){e.exports=n(130)},function(e,t){!function(t){"use strict";var n=-1,r={onVisible:function(e){var t=r.isSupported();if(!t||!r.hidden())return e(),t;var n=r.change(function(t,o){r.hidden()||(r.unbind(n),e())});return n},change:function(e){if(!r.isSupported())return!1;n+=1;var t=n;return r._callbacks[t]=e,r._listen(),t},unbind:function(e){delete r._callbacks[e]},afterPrerendering:function(e){var t=r.isSupported(),n="prerender";if(!t||n!=r.state())return e(),t;var o=r.change(function(t,i){n!=i&&(r.unbind(o),e())});return o},hidden:function(){return!(!r._doc.hidden&&!r._doc.webkitHidden)},state:function(){return r._doc.visibilityState||r._doc.webkitVisibilityState||"visible"},isSupported:function(){return!(!r._doc.visibilityState&&!r._doc.webkitVisibilityState)},_doc:document||{},_callbacks:{},_change:function(e){var t=r.state();for(var n in r._callbacks)r._callbacks[n].call(r._doc,e,t)},_listen:function(){if(!r._init){var e="visibilitychange";r._doc.webkitVisibilityState&&(e="webkit"+e);var t=function(){r._change.apply(r,arguments)};r._doc.addEventListener?r._doc.addEventListener(e,t):r._doc.attachEvent(e,t),r._init=!0}}};void 0!==e&&e.exports?e.exports=r:t.Visibility=r}(this)},function(e,t,n){!function(t){"use strict";var r=-1,o=function(e){return e.every=function(t,n,o){e._time(),o||(o=n,n=null),r+=1;var i=r;return e._timers[i]={visible:t,hidden:n,callback:o},e._run(i,!1),e.isSupported()&&e._listen(),i},e.stop=function(t){return!!e._timers[t]&&(e._stop(t),delete e._timers[t],!0)},e._timers={},e._time=function(){e._timed||(e._timed=!0,e._wasHidden=e.hidden(),e.change(function(){e._stopRun(),e._wasHidden=e.hidden()}))},e._run=function(n,r){var o,i=e._timers[n];if(e.hidden()){if(null===i.hidden)return;o=i.hidden}else o=i.visible;var a=function(){i.last=new Date,i.callback.call(t)};if(r){var u=new Date,s=u-i.last;o>s?i.delay=setTimeout(function(){i.id=setInterval(a,o),a()},o-s):(i.id=setInterval(a,o),a())}else i.id=setInterval(a,o)},e._stop=function(t){var n=e._timers[t];clearInterval(n.id),clearTimeout(n.delay),delete n.id,delete n.delay},e._stopRun=function(t){var n=e.hidden(),r=e._wasHidden;if(n&&!r||!n&&r)for(var o in e._timers)e._stop(o),e._run(o,!n)},e};void 0!==e&&e.exports?e.exports=o(n(129)):o(t.Visibility)}(window)}])}); //# sourceMappingURL=onfido.min.js.map \ No newline at end of file diff --git a/dist/style.css b/dist/style.css index 1a0e5fca0f..0415f91040 100644 --- a/dist/style.css +++ b/dist/style.css @@ -1,2 +1,2 @@ -.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}}.onfido-sdk-ui-Welcome-mtop-large{margin-top:4rem}@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}.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%}.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%}.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}.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}}.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)}.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}.onfido-sdk-ui-Capture-camera,.onfido-sdk-ui-Capture-uploader{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}.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}.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}.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}.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}.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} +.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}}.onfido-sdk-ui-Welcome-mtop-large{margin-top:4rem}@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}.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%}.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%}.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}.onfido-sdk-ui-Confirm-fileViewer{width:92%;height:290px;max-height:70vh;border:0}.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}}.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)}.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}.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}.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}.onfido-sdk-ui-Capture-camera,.onfido-sdk-ui-Capture-uploader{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}.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}.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}.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} /*# sourceMappingURL=style.css.map*/ \ No newline at end of file diff --git a/package.json b/package.json index 3841231c77..2541df529b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "onfido-sdk-ui", - "version": "0.9.0", + "version": "0.10.0", "description": "JavaScript SDK view layer for Onfido identity verification", "scripts": { "predev": "npm run build",