onfido-sdk-ui
Version:
JavaScript SDK view layer for Onfido identity verification
2 lines • 42.1 kB
JavaScript
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Onfido=n():t.Onfido=n()}(window,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="https://assets.onfido.com/web-sdk-releases/5.2.3/",e(e.s=514)}([function(t,n,e){"use strict";e.r(n),e.d(n,"h",function(){return c}),e.d(n,"createElement",function(){return c}),e.d(n,"cloneElement",function(){return p}),e.d(n,"createRef",function(){return F}),e.d(n,"Component",function(){return D}),e.d(n,"render",function(){return R}),e.d(n,"rerender",function(){return y}),e.d(n,"options",function(){return o});var r=function(){},o={},i=[],u=[];function c(t,n){var e,c,a,f,s=u;for(f=arguments.length;f-- >2;)i.push(arguments[f]);for(n&&null!=n.children&&(i.length||i.push(n.children),delete n.children);i.length;)if((c=i.pop())&&void 0!==c.pop)for(f=c.length;f--;)i.push(c[f]);else"boolean"==typeof c&&(c=null),(a="function"!=typeof t)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(a=!1)),a&&e?s[s.length-1]+=c:s===u?s=[c]:s.push(c),e=a;var p=new r;return p.nodeName=t,p.children=s,p.attributes=null==n?void 0:n,p.key=null==n?void 0:n.key,void 0!==o.vnode&&o.vnode(p),p}function a(t,n){for(var e in n)t[e]=n[e];return t}function f(t,n){null!=t&&("function"==typeof t?t(n):t.current=n)}var s="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function p(t,n){return c(t.nodeName,a(a({},t.attributes),n),arguments.length>2?[].slice.call(arguments,2):t.children)}var l=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,d=[];function v(t){!t._dirty&&(t._dirty=!0)&&1==d.push(t)&&(o.debounceRendering||s)(y)}function y(){for(var t;t=d.pop();)t._dirty&&L(t)}function h(t,n){return t.normalizedNodeName===n||t.nodeName.toLowerCase()===n.toLowerCase()}function m(t){var n=a({},t.attributes);n.children=t.children;var e=t.nodeName.defaultProps;if(void 0!==e)for(var r in e)void 0===n[r]&&(n[r]=e[r]);return n}function b(t){var n=t.parentNode;n&&n.removeChild(t)}function g(t,n,e,r,o){if("className"===n&&(n="class"),"key"===n);else if("ref"===n)f(e,null),f(r,t);else if("class"!==n||o)if("style"===n){if(r&&"string"!=typeof r&&"string"!=typeof e||(t.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof e)for(var i in e)i in r||(t.style[i]="");for(var i in r)t.style[i]="number"==typeof r[i]&&!1===l.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===n)r&&(t.innerHTML=r.__html||"");else if("o"==n[0]&&"n"==n[1]){var u=n!==(n=n.replace(/Capture$/,""));n=n.toLowerCase().substring(2),r?e||t.addEventListener(n,x,u):t.removeEventListener(n,x,u),(t._listeners||(t._listeners={}))[n]=r}else if("list"!==n&&"type"!==n&&!o&&n in t){try{t[n]=null==r?"":r}catch(t){}null!=r&&!1!==r||"spellcheck"==n||t.removeAttribute(n)}else{var c=o&&n!==(n=n.replace(/^xlink:?/,""));null==r||!1===r?c?t.removeAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase()):t.removeAttribute(n):"function"!=typeof r&&(c?t.setAttributeNS("http://www.w3.org/1999/xlink",n.toLowerCase(),r):t.setAttribute(n,r))}else t.className=r||""}function x(t){return this._listeners[t.type](o.event&&o.event(t)||t)}var _=[],w=0,S=!1,O=!1;function j(){for(var t;t=_.shift();)o.afterMount&&o.afterMount(t),t.componentDidMount&&t.componentDidMount()}function k(t,n,e,r,o,i){w++||(S=null!=o&&void 0!==o.ownerSVGElement,O=null!=t&&!("__preactattr_"in t));var u=C(t,n,e,r,i);return o&&u.parentNode!==o&&o.appendChild(u),--w||(O=!1,i||j()),u}function C(t,n,e,r,o){var i=t,u=S;if(null!=n&&"boolean"!=typeof n||(n=""),"string"==typeof n||"number"==typeof n)return t&&void 0!==t.splitText&&t.parentNode&&(!t._component||o)?t.nodeValue!=n&&(t.nodeValue=n):(i=document.createTextNode(n),t&&(t.parentNode&&t.parentNode.replaceChild(i,t),P(t,!0))),i.__preactattr_=!0,i;var c,a,f=n.nodeName;if("function"==typeof f)return function(t,n,e,r){var o=t&&t._component,i=o,u=t,c=o&&t._componentConstructor===n.nodeName,a=c,f=m(n);for(;o&&!a&&(o=o._parentComponent);)a=o.constructor===n.nodeName;o&&a&&(!r||o._component)?(E(o,f,3,e,r),t=o.base):(i&&!c&&(I(i),t=u=null),o=N(n.nodeName,f,e),t&&!o.nextBase&&(o.nextBase=t,u=null),E(o,f,1,e,r),t=o.base,u&&t!==u&&(u._component=null,P(u,!1)));return t}(t,n,e,r);if(S="svg"===f||"foreignObject"!==f&&S,f=String(f),(!t||!h(t,f))&&(c=f,(a=S?document.createElementNS("http://www.w3.org/2000/svg",c):document.createElement(c)).normalizedNodeName=c,i=a,t)){for(;t.firstChild;)i.appendChild(t.firstChild);t.parentNode&&t.parentNode.replaceChild(i,t),P(t,!0)}var s=i.firstChild,p=i.__preactattr_,l=n.children;if(null==p){p=i.__preactattr_={};for(var d=i.attributes,v=d.length;v--;)p[d[v].name]=d[v].value}return!O&&l&&1===l.length&&"string"==typeof l[0]&&null!=s&&void 0!==s.splitText&&null==s.nextSibling?s.nodeValue!=l[0]&&(s.nodeValue=l[0]):(l&&l.length||null!=s)&&function(t,n,e,r,o){var i,u,c,a,f,s=t.childNodes,p=[],l={},d=0,v=0,y=s.length,m=0,g=n?n.length:0;if(0!==y)for(var x=0;x<y;x++){var _=s[x],w=_.__preactattr_,S=g&&w?_._component?_._component.__key:w.key:null;null!=S?(d++,l[S]=_):(w||(void 0!==_.splitText?!o||_.nodeValue.trim():o))&&(p[m++]=_)}if(0!==g)for(var x=0;x<g;x++){a=n[x],f=null;var S=a.key;if(null!=S)d&&void 0!==l[S]&&(f=l[S],l[S]=void 0,d--);else if(v<m)for(i=v;i<m;i++)if(void 0!==p[i]&&(O=u=p[i],k=o,"string"==typeof(j=a)||"number"==typeof j?void 0!==O.splitText:"string"==typeof j.nodeName?!O._componentConstructor&&h(O,j.nodeName):k||O._componentConstructor===j.nodeName)){f=u,p[i]=void 0,i===m-1&&m--,i===v&&v++;break}f=C(f,a,e,r),c=s[x],f&&f!==t&&f!==c&&(null==c?t.appendChild(f):f===c.nextSibling?b(c):t.insertBefore(f,c))}var O,j,k;if(d)for(var x in l)void 0!==l[x]&&P(l[x],!1);for(;v<=m;)void 0!==(f=p[m--])&&P(f,!1)}(i,l,e,r,O||null!=p.dangerouslySetInnerHTML),function(t,n,e){var r;for(r in e)n&&null!=n[r]||null==e[r]||g(t,r,e[r],e[r]=void 0,S);for(r in n)"children"===r||"innerHTML"===r||r in e&&n[r]===("value"===r||"checked"===r?t[r]:e[r])||g(t,r,e[r],e[r]=n[r],S)}(i,n.attributes,p),S=u,i}function P(t,n){var e=t._component;e?I(e):(null!=t.__preactattr_&&f(t.__preactattr_.ref,null),!1!==n&&null!=t.__preactattr_||b(t),A(t))}function A(t){for(t=t.lastChild;t;){var n=t.previousSibling;P(t,!0),t=n}}var T=[];function N(t,n,e){var r,o=T.length;for(t.prototype&&t.prototype.render?(r=new t(n,e),D.call(r,n,e)):((r=new D(n,e)).constructor=t,r.render=M);o--;)if(T[o].constructor===t)return r.nextBase=T[o].nextBase,T.splice(o,1),r;return r}function M(t,n,e){return this.constructor(t,e)}function E(t,n,e,r,i){t._disable||(t._disable=!0,t.__ref=n.ref,t.__key=n.key,delete n.ref,delete n.key,void 0===t.constructor.getDerivedStateFromProps&&(!t.base||i?t.componentWillMount&&t.componentWillMount():t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r)),r&&r!==t.context&&(t.prevContext||(t.prevContext=t.context),t.context=r),t.prevProps||(t.prevProps=t.props),t.props=n,t._disable=!1,0!==e&&(1!==e&&!1===o.syncComponentUpdates&&t.base?v(t):L(t,1,i)),f(t.__ref,t))}function L(t,n,e,r){if(!t._disable){var i,u,c,f=t.props,s=t.state,p=t.context,l=t.prevProps||f,d=t.prevState||s,v=t.prevContext||p,y=t.base,h=t.nextBase,b=y||h,g=t._component,x=!1,S=v;if(t.constructor.getDerivedStateFromProps&&(s=a(a({},s),t.constructor.getDerivedStateFromProps(f,s)),t.state=s),y&&(t.props=l,t.state=d,t.context=v,2!==n&&t.shouldComponentUpdate&&!1===t.shouldComponentUpdate(f,s,p)?x=!0:t.componentWillUpdate&&t.componentWillUpdate(f,s,p),t.props=f,t.state=s,t.context=p),t.prevProps=t.prevState=t.prevContext=t.nextBase=null,t._dirty=!1,!x){i=t.render(f,s,p),t.getChildContext&&(p=a(a({},p),t.getChildContext())),y&&t.getSnapshotBeforeUpdate&&(S=t.getSnapshotBeforeUpdate(l,d));var O,C,A=i&&i.nodeName;if("function"==typeof A){var T=m(i);(u=g)&&u.constructor===A&&T.key==u.__key?E(u,T,1,p,!1):(O=u,t._component=u=N(A,T,p),u.nextBase=u.nextBase||h,u._parentComponent=t,E(u,T,0,p,!1),L(u,1,e,!0)),C=u.base}else c=b,(O=g)&&(c=t._component=null),(b||1===n)&&(c&&(c._component=null),C=k(c,i,p,e||!y,b&&b.parentNode,!0));if(b&&C!==b&&u!==g){var M=b.parentNode;M&&C!==M&&(M.replaceChild(C,b),O||(b._component=null,P(b,!1)))}if(O&&I(O),t.base=C,C&&!r){for(var D=t,R=t;R=R._parentComponent;)(D=R).base=C;C._component=D,C._componentConstructor=D.constructor}}for(!y||e?_.push(t):x||(t.componentDidUpdate&&t.componentDidUpdate(l,d,S),o.afterUpdate&&o.afterUpdate(t));t._renderCallbacks.length;)t._renderCallbacks.pop().call(t);w||r||j()}}function I(t){o.beforeUnmount&&o.beforeUnmount(t);var n=t.base;t._disable=!0,t.componentWillUnmount&&t.componentWillUnmount(),t.base=null;var e=t._component;e?I(e):n&&(null!=n.__preactattr_&&f(n.__preactattr_.ref,null),t.nextBase=n,b(n),T.push(t),A(n)),f(t.__ref,null)}function D(t,n){this._dirty=!0,this.context=n,this.props=t,this.state=this.state||{},this._renderCallbacks=[]}function R(t,n,e){return k(e,t,{},!1,n,!1)}function F(){return{}}a(D.prototype,{setState:function(t,n){this.prevState||(this.prevState=this.state),this.state=a(a({},this.state),"function"==typeof t?t(this.state,this.props):t),n&&this._renderCallbacks.push(n),v(this)},forceUpdate:function(t){t&&this._renderCallbacks.push(t),L(this,2)},render:function(){}});var U={h:c,createElement:c,cloneElement:p,createRef:F,Component:D,render:R,rerender:y,options:o};n.default=U},function(t,n,e){var r=e(125);t.exports=function(t,n,e){return n in t?r(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}},function(t,n){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,n,e){t.exports=e(215)},function(t,n,e){var r=e(63),o=e(2);t.exports=function(t,n){return!n||"object"!==r(n)&&"function"!=typeof n?o(t):n}},function(t,n){t.exports=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){var r=e(216),o=e(128);function i(n){return t.exports=i=o?r:function(t){return t.__proto__||r(t)},i(n)}t.exports=i},function(t,n,e){var r=e(223),o=e(227);t.exports=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=r(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&o(t,n)}},,function(t,n,e){var r=e(125);function o(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),r(t,o.key,o)}}t.exports=function(t,n,e){return n&&o(t.prototype,n),e&&o(t,e),t}},,,function(t,n,e){var r=e(165),o=e(171),i=e(175),u=e(179),c=e(141),a=e(142),f=e(1);t.exports=function(t){for(var n=1;n<arguments.length;n++){var e,s=null!=arguments[n]?arguments[n]:{},p=a(s);"function"==typeof c&&(p=u(p).call(p,i(e=c(s)).call(e,function(t){return o(s,t).enumerable}))),r(p).call(p,function(n){f(t,n,s[n])})}return t}},,function(t,n,e){"use strict";var r=e(18),o=e(80).f,i=e(138),u=e(16),c=e(69),a=e(28),f=e(32),s=function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n};t.exports=function(t,n){var e,p,l,d,v,y,h,m,b=t.target,g=t.global,x=t.stat,_=t.proto,w=g?r:x?r[b]:(r[b]||{}).prototype,S=g?u:u[b]||(u[b]={}),O=S.prototype;for(l in n)e=!i(g?l:b+(x?".":"#")+l,t.forced)&&w&&f(w,l),v=S[l],e&&(y=t.noTargetGet?(m=o(w,l))&&m.value:w[l]),d=e&&y?y:n[l],e&&typeof v==typeof d||(h=t.bind&&e?c(d,r):t.wrap&&e?s(d):_&&"function"==typeof d?c(Function.call,d):d,(t.sham||d&&d.sham||v&&v.sham)&&a(h,"sham",!0),S[l]=h,_&&(f(u,p=b+"Prototype")||a(u,p,{}),u[p][l]=d,t.real&&O&&!O[l]&&a(O,l,d)))}},,function(t,n){t.exports={}},function(t,n,e){var r=e(16),o=e(32),i=e(92),u=e(34).f;t.exports=function(t){var n=r.Symbol||(r.Symbol={});o(n,t)||u(n,t,{value:i.f(t)})}},function(t,n,e){(function(n){var e="object",r=function(t){return t&&t.Math==Math&&t};t.exports=r(typeof globalThis==e&&globalThis)||r(typeof window==e&&window)||r(typeof self==e&&self)||r(typeof n==e&&n)||Function("return this")()}).call(this,e(27))},function(t,n,e){var r=e(18),o=e(72),i=e(82),u=e(116),c=r.Symbol,a=o("wks");t.exports=function(t){return a[t]||(a[t]=u&&c[t]||(u?c:i)("Symbol."+t))}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},,,,,function(t,n,e){var r=e(20);t.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(25),o=e(34),i=e(48);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(16);t.exports=function(t){return r[t+"Prototype"]}},,,function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},,function(t,n,e){var r=e(25),o=e(113),i=e(40),u=e(68),c=Object.defineProperty;n.f=r?c:function(t,n,e){if(i(t),n=u(n,!0),i(e),o)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=e(233)},,function(t,n,e){var r=e(59);t.exports=function(t){return Object(r(t))}},,function(t,n,e){var r=e(81),o=e(59);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(26);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},,,,,function(t,n,e){var r=e(84),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(34).f,o=e(28),i=e(32),u=e(160),c=e(19)("toStringTag"),a=u!=={}.toString;t.exports=function(t,n,e,f){if(t){var s=e?t:t.prototype;i(s,c)||r(s,c,{configurable:!0,value:n}),f&&a&&o(s,"toString",u)}}},,function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){t.exports={}},function(t,n,e){t.exports=e(229)},,function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,e){var r=e(117),o=e(90);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(69),o=e(81),i=e(37),u=e(45),c=e(102);t.exports=function(t,n){var e=1==t,a=2==t,f=3==t,s=4==t,p=6==t,l=5==t||p,d=n||c;return function(n,c,v){for(var y,h,m=i(n),b=o(m),g=r(c,v,3),x=u(b.length),_=0,w=e?d(n,x):a?d(n,0):void 0;x>_;_++)if((l||_ in b)&&(h=g(y=b[_],_,m),t))if(e)w[_]=h;else if(h)switch(t){case 3:return!0;case 5:return y;case 6:return _;case 2:w.push(y)}else if(s)return!1;return p?-1:f||s?s:w}}},,,,function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r,o,i,u=e(155),c=e(18),a=e(26),f=e(28),s=e(32),p=e(73),l=e(62),d=c.WeakMap;if(u){var v=new d,y=v.get,h=v.has,m=v.set;r=function(t,n){return m.call(v,t,n),n},o=function(t){return y.call(v,t)||{}},i=function(t){return h.call(v,t)}}else{var b=p("state");l[b]=!0,r=function(t,n){return f(t,b,n),n},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!a(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n){t.exports=!0},function(t,n){t.exports={}},function(t,n,e){var r=e(190),o=e(193);function i(t){return(i="function"==typeof o&&"symbol"==typeof r?function(t){return typeof t}:function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":typeof t})(t)}function u(n){return"function"==typeof o&&"symbol"===i(r)?t.exports=u=function(t){return i(t)}:t.exports=u=function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":i(t)},u(n)}t.exports=u},,,,function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(26);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(53);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(52);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){e(154);var r=e(162),o=e(18),i=e(28),u=e(49),c=e(19)("toStringTag");for(var a in r){var f=o[a],s=f&&f.prototype;s&&!s[c]&&i(s,c,a),u[a]=u.Array}},function(t,n,e){var r=e(18),o=e(157),i=e(61),u=r["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,n){return u[t]||(u[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.1.3",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(72),o=e(82),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n,e){var r=e(40),o=e(159),i=e(90),u=e(62),c=e(139),a=e(97),f=e(73)("IE_PROTO"),s=function(){},p=function(){var t,n=a("iframe"),e=i.length;for(n.style.display="none",c.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),p=t.F;e--;)delete p.prototype[i[e]];return p()};t.exports=Object.create||function(t,n){var e;return null!==t?(s.prototype=r(t),e=new s,s.prototype=null,e[f]=t):e=p(),void 0===n?e:o(e,n)},u[f]=!0},function(t,n,e){"use strict";var r=e(20);t.exports=function(t,n){var e=[][t];return!e||!r(function(){e.call(null,n||function(){throw 1},1)})}},,,,,function(t,n,e){var r=e(25),o=e(67),i=e(48),u=e(39),c=e(68),a=e(32),f=e(113),s=Object.getOwnPropertyDescriptor;n.f=r?s:function(t,n){if(t=u(t),n=c(n,!0),f)try{return s(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,e){var r=e(20),o=e(52),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){var r=e(32),o=e(37),i=e(73),u=e(115),c=i("IE_PROTO"),a=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){"use strict";var r=e(163),o=e(60),i=e(99),u=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){u(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,n=c(this),e=n.string,o=n.index;return o>=e.length?{value:void 0,done:!0}:(t=r(e,o,!0),n.index+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(20),o=e(19)("species");t.exports=function(t){return!r(function(){var n=[];return(n.constructor={})[o]=function(){return{foo:1}},1!==n[t](Boolean).foo})}},,,,function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r=e(52),o=e(19)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){n.f=e(19)},,,,,function(t,n,e){var r=e(18),o=e(26),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,n){t.exports=function(){}},function(t,n,e){"use strict";var r=e(14),o=e(158),i=e(83),u=e(100),c=e(46),a=e(28),f=e(101),s=e(19),p=e(61),l=e(49),d=e(114),v=d.IteratorPrototype,y=d.BUGGY_SAFARI_ITERATORS,h=s("iterator"),m=function(){return this};t.exports=function(t,n,e,s,d,b,g){o(e,n,s);var x,_,w,S=function(t){if(t===d&&P)return P;if(!y&&t in k)return k[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},O=n+" Iterator",j=!1,k=t.prototype,C=k[h]||k["@@iterator"]||d&&k[d],P=!y&&C||S(d),A="Array"==n&&k.entries||C;if(A&&(x=i(A.call(new t)),v!==Object.prototype&&x.next&&(p||i(x)===v||(u?u(x,v):"function"!=typeof x[h]&&a(x,h,m)),c(x,O,!0,!0),p&&(l[O]=m))),"values"==d&&C&&"values"!==C.name&&(j=!0,P=function(){return C.call(this)}),p&&!g||k[h]===P||a(k,h,P),l[n]=P,d)if(_={values:S("values"),keys:b?P:S("keys"),entries:S("entries")},g)for(w in _)!y&&!j&&w in k||f(k,w,_[w]);else r({target:n,proto:!0,forced:y||j},_);return _}},function(t,n,e){var r=e(161);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(t){}return function(e,o){return r(e,o),n?t.call(e,o):e.__proto__=o,e}}():void 0)},function(t,n,e){var r=e(28);t.exports=function(t,n,e,o){o&&o.enumerable?t[n]=e:r(t,n,e)}},function(t,n,e){var r=e(26),o=e(70),i=e(19)("species");t.exports=function(t,n){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?r(e)&&null===(e=e[i])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}},function(t,n,e){"use strict";var r=e(68),o=e(34),i=e(48);t.exports=function(t,n,e){var u=r(n);u in t?o.f(t,u,i(0,e)):t[u]=e}},function(t,n){n.f=Object.getOwnPropertySymbols},,,,,,,,,function(t,n,e){var r=e(25),o=e(20),i=e(97);t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){"use strict";var r,o,i,u=e(83),c=e(28),a=e(32),f=e(19),s=e(61),p=f("iterator"),l=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):l=!0),null==r&&(r={}),s||a(r,p)||c(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:l}},function(t,n,e){var r=e(20);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},function(t,n,e){var r=e(20);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(t,n,e){var r=e(32),o=e(39),i=e(118),u=e(62),c=i(!1);t.exports=function(t,n){var e,i=o(t),a=0,f=[];for(e in i)!r(u,e)&&r(i,e)&&f.push(e);for(;n.length>a;)r(i,e=n[a++])&&(~c(f,e)||f.push(e));return f}},function(t,n,e){var r=e(39),o=e(45),i=e(119);t.exports=function(t){return function(n,e,u){var c,a=r(n),f=o(a.length),s=i(u,f);if(t&&e!=e){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}}},function(t,n,e){var r=e(84),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n,e){var r=e(177),o=Array.prototype;t.exports=function(t){var n=t.filter;return t===o||t instanceof Array&&n===o.filter?r:n}},function(t,n,e){var r=e(181),o=Array.prototype;t.exports=function(t){var n=t.concat;return t===o||t instanceof Array&&n===o.concat?r:n}},function(t,n,e){"use strict";var r=e(14),o=e(20),i=e(70),u=e(26),c=e(37),a=e(45),f=e(103),s=e(102),p=e(86),l=e(19)("isConcatSpreadable"),d=!o(function(){var t=[];return t[l]=!1,t.concat()[0]!==t}),v=p("concat"),y=function(t){if(!u(t))return!1;var n=t[l];return void 0!==n?!!n:i(t)};r({target:"Array",proto:!0,forced:!d||!v},{concat:function(t){var n,e,r,o,i,u=c(this),p=s(u,0),l=0;for(n=-1,r=arguments.length;n<r;n++)if(i=-1===n?u:arguments[n],y(i)){if(l+(o=a(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,l++)e in i&&f(p,l,i[e])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");f(p,l++,i)}return p.length=l,p}})},function(t,n,e){"use strict";var r=e(14),o=e(18),i=e(32),u=e(116),c=e(25),a=e(61),f=e(101),s=e(62),p=e(20),l=e(72),d=e(46),v=e(82),y=e(19),h=e(92),m=e(17),b=e(184),g=e(70),x=e(40),_=e(26),w=e(37),S=e(39),O=e(68),j=e(48),k=e(74),C=e(124),P=e(185),A=e(80),T=e(34),N=e(67),M=e(28),E=e(54),L=e(104),I=e(73),D=e(60),R=I("hidden"),F=D.set,U=D.getterFor("Symbol"),B=A.f,W=T.f,V=P.f,G=o.Symbol,H=o.JSON,z=H&&H.stringify,q=y("toPrimitive"),J=N.f,Y=l("symbol-registry"),$=l("symbols"),K=l("op-symbols"),X=l("wks"),Q=Object.prototype,Z=o.QObject,tt=!Z||!Z.prototype||!Z.prototype.findChild,nt=c&&p(function(){return 7!=k(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=B(Q,n);r&&delete Q[n],W(t,n,e),r&&t!==Q&&W(Q,n,r)}:W,et=function(t,n){var e=$[t]=k(G.prototype);return F(e,{type:"Symbol",tag:t,description:n}),c||(e.description=n),e},rt=u&&"symbol"==typeof G.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof G},ot=function(t,n,e){return t===Q&&ot(K,n,e),x(t),n=O(n,!0),x(e),i($,n)?(e.enumerable?(i(t,R)&&t[R][n]&&(t[R][n]=!1),e=k(e,{enumerable:j(0,!1)})):(i(t,R)||W(t,R,j(1,{})),t[R][n]=!0),nt(t,n,e)):W(t,n,e)},it=function(t,n){x(t);for(var e,r=b(n=S(n)),o=0,i=r.length;i>o;)ot(t,e=r[o++],n[e]);return t},ut=function(t){var n=J.call(this,t=O(t,!0));return!(this===Q&&i($,t)&&!i(K,t))&&(!(n||!i(this,t)||!i($,t)||i(this,R)&&this[R][t])||n)},ct=function(t,n){if(t=S(t),n=O(n,!0),t!==Q||!i($,n)||i(K,n)){var e=B(t,n);return!e||!i($,n)||i(t,R)&&t[R][n]||(e.enumerable=!0),e}},at=function(t){for(var n,e=V(S(t)),r=[],o=0;e.length>o;)i($,n=e[o++])||i(s,n)||r.push(n);return r},ft=function(t){for(var n,e=t===Q,r=V(e?K:S(t)),o=[],u=0;r.length>u;)!i($,n=r[u++])||e&&!i(Q,n)||o.push($[n]);return o};u||(f((G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var t=void 0===arguments[0]?void 0:String(arguments[0]),n=v(t),e=function(t){this===Q&&e.call(K,t),i(this,R)&&i(this[R],n)&&(this[R][n]=!1),nt(this,n,j(1,t))};return c&&tt&&nt(Q,n,{configurable:!0,set:e}),et(n,t)}).prototype,"toString",function(){return U(this).tag}),N.f=ut,T.f=ot,A.f=ct,C.f=P.f=at,L.f=ft,c&&(W(G.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||f(Q,"propertyIsEnumerable",ut,{unsafe:!0})),h.f=function(t){return et(y(t),t)}),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G});for(var st=E(X),pt=0;st.length>pt;)m(st[pt++]);r({target:"Symbol",stat:!0,forced:!u},{for:function(t){return i(Y,t+="")?Y[t]:Y[t]=G(t)},keyFor:function(t){if(!rt(t))throw TypeError(t+" is not a symbol");for(var n in Y)if(Y[n]===t)return n},useSetter:function(){tt=!0},useSimple:function(){tt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,n){return void 0===n?k(t):it(k(t),n)},defineProperty:ot,defineProperties:it,getOwnPropertyDescriptor:ct}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:at,getOwnPropertySymbols:ft}),r({target:"Object",stat:!0,forced:p(function(){L.f(1)})},{getOwnPropertySymbols:function(t){return L.f(w(t))}}),H&&r({target:"JSON",stat:!0,forced:!u||p(function(){var t=G();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))})},{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(_(n)||void 0!==t)&&!rt(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!rt(n))return n}),r[1]=n,z.apply(H,r)}}),G.prototype[q]||M(G.prototype,q,G.prototype.valueOf),d(G,"Symbol"),s[R]=!0},function(t,n,e){var r=e(117),o=e(90).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){t.exports=e(188)},function(t,n,e){e(17)("iterator")},function(t,n){},function(t,n,e){t.exports=e(220)},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},,,,,,,,,function(t,n,e){var r=e(20),o=/#|\.prototype\./,i=function(t,n){var e=c[u(t)];return e==f||e!=a&&("function"==typeof n?r(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,e){var r=e(18).document;t.exports=r&&r.documentElement},function(t,n,e){e(71);var r=e(167),o=e(91),i=Array.prototype,u={DOMTokenList:!0,NodeList:!0};t.exports=function(t){var n=t.forEach;return t===i||t instanceof Array&&n===i.forEach||u.hasOwnProperty(o(t))?r:n}},function(t,n,e){t.exports=e(182)},function(t,n,e){t.exports=e(186)},function(t,n,e){e(187);var r=e(16);t.exports=r.Object.keys},function(t,n,e){e(189);var r=e(16).Object,o=t.exports=function(t,n,e){return r.defineProperty(t,n,e)};r.defineProperty.sham&&(o.sham=!0)},function(t,n,e){var r=e(53),o=e(37),i=e(81),u=e(45);t.exports=function(t,n,e,c,a){r(n);var f=o(t),s=i(f),p=u(f.length),l=a?p-1:0,d=a?-1:1;if(e<2)for(;;){if(l in s){c=s[l],l+=d;break}if(l+=d,a?l<0:p<=l)throw TypeError("Reduce of empty array with no initial value")}for(;a?l>=0:p>l;l+=d)l in s&&(c=n(c,s[l],l,f));return c}},,,,function(t,n,e){t.exports=e(243)},,,,,function(t,n,e){"use strict";var r=e(39),o=e(98),i=e(49),u=e(60),c=e(99),a=u.set,f=u.getterFor("Array Iterator");t.exports=c(Array,"Array",function(t,n){a(this,{type:"Array Iterator",target:r(t),index:0,kind:n})},function(){var t=f(this),n=t.target,e=t.kind,r=t.index++;return!n||r>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:r,done:!1}:"values"==e?{value:n[r],done:!1}:{value:[r,n[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,e){var r=e(18),o=e(156),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,n,e){var r=e(72);t.exports=r("native-function-to-string",Function.toString)},function(t,n,e){var r=e(18),o=e(28);t.exports=function(t,n){try{o(r,t,n)}catch(e){r[t]=n}return n}},function(t,n,e){"use strict";var r=e(114).IteratorPrototype,o=e(74),i=e(48),u=e(46),c=e(49),a=function(){return this};t.exports=function(t,n,e){var f=n+" Iterator";return t.prototype=o(r,{next:i(1,e)}),u(t,f,!1,!0),c[f]=a,t}},function(t,n,e){var r=e(25),o=e(34),i=e(40),u=e(54);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=u(n),c=r.length,a=0;c>a;)o.f(t,e=r[a++],n[e]);return t}},function(t,n,e){"use strict";var r=e(91),o={};o[e(19)("toStringTag")]="z",t.exports="[object z]"!==String(o)?function(){return"[object "+r(this)+"]"}:o.toString},function(t,n,e){var r=e(26),o=e(40);t.exports=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError("Can't set "+String(n)+" as a prototype")}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,e){var r=e(84),o=e(59);t.exports=function(t,n,e){var i,u,c=String(o(t)),a=r(n),f=c.length;return a<0||a>=f?e?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?e?c.charAt(a):i:e?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}},,function(t,n,e){t.exports=e(166)},function(t,n,e){t.exports=e(140)},function(t,n,e){t.exports=e(168)},function(t,n,e){e(169);var r=e(29);t.exports=r("Array").forEach},function(t,n,e){"use strict";var r=e(14),o=e(170);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,e){"use strict";var r=e(55),o=e(75),i=r(0),u=o("forEach");t.exports=u?function(t){return i(this,t,arguments[1])}:[].forEach},function(t,n,e){t.exports=e(172)},function(t,n,e){t.exports=e(173)},function(t,n,e){e(174);var r=e(16).Object,o=t.exports=function(t,n){return r.getOwnPropertyDescriptor(t,n)};r.getOwnPropertyDescriptor.sham&&(o.sham=!0)},function(t,n,e){var r=e(14),o=e(20),i=e(39),u=e(80).f,c=e(25),a=o(function(){u(1)});r({target:"Object",stat:!0,forced:!c||a,sham:!c},{getOwnPropertyDescriptor:function(t,n){return u(i(t),n)}})},function(t,n,e){t.exports=e(176)},function(t,n,e){t.exports=e(120)},function(t,n,e){e(178);var r=e(29);t.exports=r("Array").filter},function(t,n,e){"use strict";var r=e(14),o=e(55),i=e(86),u=o(2);r({target:"Array",proto:!0,forced:!i("filter")},{filter:function(t){return u(this,t,arguments[1])}})},function(t,n,e){t.exports=e(180)},function(t,n,e){t.exports=e(121)},function(t,n,e){e(122);var r=e(29);t.exports=r("Array").concat},function(t,n,e){t.exports=e(183)},function(t,n,e){e(123);var r=e(16);t.exports=r.Object.getOwnPropertySymbols},function(t,n,e){var r=e(54),o=e(104),i=e(67);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),a=i.f,f=0;c.length>f;)a.call(t,u=c[f++])&&n.push(u);return n}},function(t,n,e){var r=e(39),o=e(124).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,n,e){t.exports=e(143)},function(t,n,e){var r=e(14),o=e(37),i=e(54);r({target:"Object",stat:!0,forced:e(20)(function(){i(1)})},{keys:function(t){return i(o(t))}})},function(t,n,e){t.exports=e(144)},function(t,n,e){var r=e(14),o=e(25);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:e(34).f})},function(t,n,e){t.exports=e(191)},function(t,n,e){t.exports=e(192)},function(t,n,e){e(126),e(85),e(71);var r=e(92);t.exports=r.f("iterator")},function(t,n,e){t.exports=e(194)},function(t,n,e){t.exports=e(195),e(211),e(212),e(213),e(214)},function(t,n,e){e(122),e(127),e(123),e(196),e(197),e(198),e(199),e(126),e(200),e(201),e(202),e(203),e(204),e(205),e(206),e(207),e(208),e(209),e(210);var r=e(16);t.exports=r.Symbol},function(t,n,e){e(17)("asyncIterator")},function(t,n){},function(t,n,e){e(17)("hasInstance")},function(t,n,e){e(17)("isConcatSpreadable")},function(t,n,e){e(17)("match")},function(t,n,e){e(17)("matchAll")},function(t,n,e){e(17)("replace")},function(t,n,e){e(17)("search")},function(t,n,e){e(17)("species")},function(t,n,e){e(17)("split")},function(t,n,e){e(17)("toPrimitive")},function(t,n,e){e(17)("toStringTag")},function(t,n,e){e(17)("unscopables")},function(t,n,e){e(46)(Math,"Math",!0)},function(t,n,e){var r=e(18);e(46)(r.JSON,"JSON",!0)},function(t,n,e){e(17)("dispose")},function(t,n,e){e(17)("observable")},function(t,n,e){e(17)("patternMatch")},function(t,n,e){e(17)("replaceAll")},function(t,n,e){t.exports=e(121)},function(t,n,e){t.exports=e(217)},function(t,n,e){t.exports=e(218)},function(t,n,e){e(219);var r=e(16);t.exports=r.Object.getPrototypeOf},function(t,n,e){var r=e(14),o=e(20),i=e(37),u=e(83),c=e(115);r({target:"Object",stat:!0,forced:o(function(){u(1)}),sham:!c},{getPrototypeOf:function(t){return u(i(t))}})},function(t,n,e){t.exports=e(221)},function(t,n,e){e(222);var r=e(16);t.exports=r.Object.setPrototypeOf},function(t,n,e){e(14)({target:"Object",stat:!0},{setPrototypeOf:e(100)})},function(t,n,e){t.exports=e(224)},function(t,n,e){t.exports=e(225)},function(t,n,e){e(226);var r=e(16).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){e(14)({target:"Object",stat:!0,sham:!e(25)},{create:e(74)})},function(t,n,e){var r=e(128);function o(n,e){return t.exports=o=r||function(t,n){return t.__proto__=n,t},o(n,e)}t.exports=o},,function(t,n,e){t.exports=e(230)},function(t,n,e){var r=e(231),o=Array.prototype;t.exports=function(t){var n=t.reduce;return t===o||t instanceof Array&&n===o.reduce?r:n}},function(t,n,e){e(232);var r=e(29);t.exports=r("Array").reduce},function(t,n,e){"use strict";var r=e(14),o=e(145);r({target:"Array",proto:!0,forced:e(75)("reduce")},{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,n,e){t.exports=e(120)},,,,,,,,,,function(t,n,e){t.exports=e(244)},function(t,n,e){e(245);var r=e(16);t.exports=r.parseInt},function(t,n,e){var r=e(14),o=e(246);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(t,n,e){var r=e(18),o=e(247),i=e(129),u=r.parseInt,c=/^[+-]?0[Xx]/,a=8!==u(i+"08")||22!==u(i+"0x16");t.exports=a?function(t,n){var e=o(String(t),3);return u(e,n>>>0||(c.test(e)?16:10))}:u},function(t,n,e){var r=e(59),o="["+e(129)+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$");t.exports=function(t,n){return t=String(r(t)),1&n&&(t=t.replace(i,"")),2&n&&(t=t.replace(u,"")),t}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){t.exports=e(515)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n);var r,o,i,u=e(12),c=e.n(u),a=e(3),f=e.n(a),s=e(5),p=e.n(s),l=e(9),d=e.n(l),v=e(4),y=e.n(v),h=e(6),m=e.n(h),b=e(2),g=e.n(b),x=e(7),_=e.n(x),w=e(1),S=e.n(w),O=e(149),j=e.n(O),k=e(35),C=e.n(k),P=e(333),A=e.n(P),T=e(50),N=e.n(T),M=e(0);console.log("demo.js");var E=window.Onfido,L=N()(r=A()(o=window.location.search).call(o,1).split("&")).call(r,function(t,n){return t[(n=n.split("="))[0]]=decodeURIComponent(n[1]),t},{}),I="true"===L.useModal,D="true"===L.oneDoc?{passport:!0}:{},R=C()(i=["welcome","true"===L.poa?{type:"poa"}:void 0,{type:"document",options:{useWebcam:"true"===L.useWebcam,documentTypes:D,forceCrossDevice:"true"===L.forceCrossDevice}},{type:"face",options:{requestedVariant:"true"===L.liveness?"video":"standard",useWebcam:"false"!==L.useWebcam,uploadFallback:"false"!==L.uploadFallback,useMultipleSelfieCapture:"true"===L.useMultipleSelfieCapture,snapshotInterval:L.snapshotInterval?j()(L.snapshotInterval,10):1e3}},"complete"]).call(i,function(t){return t}),F="customTranslations"===L.language?{locale:"fr",phrases:{"welcome.title":"Ouvrez votre nouveau compte bancaire"}}:L.language,U=L.countryCode?{smsNumberCountryCode:L.countryCode}:{},B=function(t){var n=new XMLHttpRequest;n.open("GET","https://token-factory.onfido.com/sdk_token",!0),n.onload=function(){if(n.status>=200&&n.status<400){var e=JSON.parse(n.responseText);console.log("Applicant ID: "+e.applicant_id),t(e.message)}},n.send()},W=function(t){function n(){var t,e,r;p()(this,n);for(var o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];return r=y()(this,(t=m()(n)).call.apply(t,f()(e=[this]).call(e,i))),S()(g()(r),"initSDK",function(t){var n=E.init(t);r.setState({onfidoSdk:n}),window.onfidoSdkHandle=n}),S()(g()(r),"render",function(){return Object(M.h)("div",{id:"onfido-mount"})}),r}return _()(n,t),d()(n,[{key:"componentDidMount",value:function(){this.initSDK(this.props.options)}},{key:"componentWillReceiveProps",value:function(t){var n=t.options;this.state.onfidoSdk&&(this.state.onfidoSdk.setOptions(n),n.tearDown&&this.state.onfidoSdk.tearDown())}},{key:"componentWillUnmount",value:function(){this.state.onfidoSdk&&this.state.onfidoSdk.tearDown()}},{key:"shouldComponentUpdate",value:function(){return!1}}]),n}(M.Component),V=function(t){function n(t){var e;return p()(this,n),e=y()(this,m()(n).call(this,t)),S()(g()(e),"state",{token:null,isModalOpen:!1}),S()(g()(e),"sdkOptions",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c()({},L.link_id?{mobileFlow:!0,roomId:L.link_id.substring(2)}:c()({token:e.state.token,useModal:I,onComplete:function(t){console.log("everything is complete",t)},isModalOpen:e.state.isModalOpen,language:F,steps:R,mobileFlow:!!L.link_id,userDetails:{smsNumber:L.smsNumber},onModalRequestClose:function(){e.setState({isModalOpen:!1})}},U,t))}),B(function(t){e.setState({token:t})}),e}return _()(n,t),d()(n,[{key:"render",value:function(){var t=this;return Object(M.h)("div",{class:"container"},I&&Object(M.h)("button",{id:"button",type:"button",onClick:function(){return t.setState({isModalOpen:!0})}},"Verify identity"),"false"===L.async&&null===this.state.token?null:Object(M.h)(W,{options:this.sdkOptions(this.props.options)}))}}]),n}(M.Component),G=Object(M.render)(Object(M.h)(V,null),document.getElementById("demo-app"));window.updateOptions=function(t){Object(M.render)(Object(M.h)(V,{options:t}),document.getElementById("demo-app"),G)}},function(t,n,e){t.exports=e(516)},function(t,n,e){var r=e(517),o=Array.prototype;t.exports=function(t){var n=t.slice;return t===o||t instanceof Array&&n===o.slice?r:n}},function(t,n,e){e(518);var r=e(29);t.exports=r("Array").slice},function(t,n,e){"use strict";var r=e(14),o=e(26),i=e(70),u=e(119),c=e(45),a=e(39),f=e(103),s=e(86),p=e(19)("species"),l=[].slice,d=Math.max;r({target:"Array",proto:!0,forced:!s("slice")},{slice:function(t,n){var e,r,s,v=a(this),y=c(v.length),h=u(t,y),m=u(void 0===n?y:n,y);if(i(v)&&("function"!=typeof(e=v.constructor)||e!==Array&&!i(e.prototype)?o(e)&&null===(e=e[p])&&(e=void 0):e=void 0,e===Array||void 0===e))return l.call(v,h,m);for(r=new(void 0===e?Array:e)(d(m-h,0)),s=0;h<m;h++,s++)h in v&&f(r,s,v[h]);return r.length=s,r}})}])});
//# sourceMappingURL=demo.min.js.map